Formula
The capacity πΆ of a discrete channel is given by:
- πΆ = ππππββ[ ππππ(π) / π ]
where:
- π(π) - is the number of allowed signals of duration π
Info
It can be shown that the limit will exist as a finite number in most cases
[!info]πΆ = ππππββ[ πππ2π(π) / π ] measures capacity in binary digits (bits)
πΆ = ππππββ[ πππ10π(π) / π ] measures capacity in decimal digits
Solving π(π) for Large π
SupposeΒ all sequences of symbols {π1, π2, β¦, ππ} are allowed and these symbols have duration {π‘1, π‘2, β¦, π‘π}. What is the channel capacity? If π(π‘) represents the number of sequences of duration π‘ we have:
- π(π‘) = π(π‘1) + π(π‘2) + β¦ + π(π‘π)
The total number is equal to the sum of the number of sequences ending in π1, π2, β¦, ππ and these areΒ π(π‘ - π‘1), π(π‘ - π‘2), β¦, π(π‘ - π‘π) respectively. According to a well-known result in finite differences, π(π‘) is then asymptotic for large π‘ to (π’π)π‘ where π’π is the largest real solution of the characteristic equation:
- π’-π‘β+ π’-π‘β+ β¦ + π’-π‘β= 1
Thus
- πΆ = πππ(π’π)
Calculating Channel Capacity Examples
teletype example
Assume in a communications system:
- there are 32 distinct symbols (thus, each symbol represents 5 bits of information)
- each symbol have the same duration of (1/π), in other words, the system transmits π symbols per unit-time
- a signal is allowed to have any permutation of symbols
Intuitively, the channel capacity is 5π bits per unit-time.
When solving it via the formula we should get the same result
- πΆ = ππππββ[ πππ2π(π) / π ]
- πΆ = ππππββ[ πππ2(number-of-symbols^(π/symbol-duration)) / π ]
- πΆ = ππππββ[ πππ2(32^(ππ)) / π ]
- πΆ = ππππββ[ (ππ) * πππ2(32) / π ]
- πΆ = ππππββ[Β π * πππ2(32) ]
- πΆ = ππππββ[Β π * πππ2(32) ]
- πΆ = ππππββ[Β π5 ]
- πΆ = π5
- πΆ = ππππββ[ πππ2π(π) / π ]
- π(π) = π(π - π‘1) + π(π - π‘2) + β¦ + π(π - π‘32)
- π’-π‘β+ π’-π‘β+ β¦ + π’-π‘ββ = 1
- π’-(1/π)+ π’-(1/π)+ β¦ + π’-(1/π)Β = 1
- 32π’-(1/π)= 1
- π’-(1/π)= 1/32
- π’(1/π)= 32
- π’= 32π
- thus, π(π) = (32π)π
- πΆ = ππππββ[ πππ2[(32π)πΒ ] / π ]
- πΆ = ππππββ[ ππ πππ2[32] / π ]
- πΆ = ππππββ[ π5 ]
- πΆ = π5
Thus, channel capacity is 5π bits per unit-time
telegraphy example
Assume in a communications system:
- allowed symbols:
- a dot - consisting of a unit-time closure followed by a unit-time open
- a dash - consisting of 3 unit-time closure followed by a unit-time open
- a letter space - consisting of 3 unit-time open
- a word space - consisting of 6 unit-time open
- allowable sequences:
- no spaces follow each other
When solving it via the formula
- πΆ = ππππββ[ πππ2π(π) / π ]
- π(π‘) = π(π‘ - dot-duration) + π(π‘ - dash-duration) + π(π‘ - dot-letter-space-duration) + π(π‘ - dash-letter-space-duration) + π(π‘ - dot-word-space-duration) + π(π‘ - dash-word-space-duration)
- π(π‘) = π(π‘ - 2) + π(π‘ - 4) + π(π‘ - 5) + π(π‘ - 7) + π(π‘ - 8) + π(π‘ - 10)
- π’-2+ π’-4+ π’-5+ π’-7+ π’-8 + π’-10= 1
- the roots of the characteristic equation above are:
- π’ β -1.15909
- π’ β 1.4529
- we choose the largest root
- π’ β 1.4529
- π(π) = (1.4529)π
- πΆ = ππππββ[ πππ2[(1.4529)π] / π ]
- πΆ = ππππββ[ π πππ2[1.4529] / π ]
- πΆ = ππππββ[ πππ2[1.4529] ]
- πΆ = πππ2[1.4529]
- πΆ = 0.53893541
Thus, channel capacity is 0.53893541 bits per unit-time