Professional Documents
Culture Documents
Radoslaw R. Zakrzewski
Goodrich Fuels and Utility Systems
Vergennes, VT 05491
802-877-4757
Radek.Zakrzewski@Goodrich.com
Abstract—Wire has been a necessary evil1 for aviation a binary phase shift keying (BPSK) and the use of BCH
platform. Wire is heavy, difficult to trouble-shoot when it codes. We estimate the Pareto optimal bound of the
ages, and time consuming to install. Recent technological allocation of chipping codes (N chips per symbol) and a N
advancement in wireless communication and the world wide bit per K symbol BCH code using soft decision method for
acceptance of the industrial, scientific and medical (ISM) various SNR with a (128 bit) word error rate (WER) of less
band allows the Aviation community to rethink how than 10-6. A link budget example is then provided using this
information within the aircraft is integrated. process and coding gain.
As noted, we will assume that the radio uses BPSK For a DSSS radio such as ZigBee® with 8 chips per bit, the
modulation. PG is 9 dB, which s WCDMA system used 256 chips per
bit, with a PG of 24 dB, and GPS, which uses 1023 chips
per bit has a PG of 30 dB.
2. MODELING RADIO PERFORMANCE BCH Error Correcting
Given a BPSK modulation technique and assuming an Codes BCH codes are a special case of cyclic codes. Cyclic
additive white Gaussian noise channel, it can be shown (ref codes can be implemented using a high-speed shift register
[1]) that the radio’s Bit Error Rate is: based encoder and decoder. This has practical attraction in
that they are relatively simple to implement in firmware.
While BCH codes are not maximum distance separable, they
P Q 2E b N o (1)
are arguable one of the most powerful block codes. BCH
codes have frequent applications in military and commercial
where Eb is the energy per bit, No is the energy of the noise satellites. They are considered the best of the binary block
and Q is the Q-function. The Q-function is one minus the codes because of their simplicity in implementation and
cumulative distribution function of the standardized normal error correcting/detecting performance (ref [2]).
random variable. The signal to noise ratio (SNR) is then:
A BCH code of length n that can correct t errors is
E b No 10SNR /10 (2) constructed by:
1141
1. Find a primitive nth root of unity in a Galios 7 errors on the 63 transmitted bit). This means that if the
Field GF(qm), where m is minimal SNR of the signal at the receiver is such that the probability
2. Select ( -1) = 2t consecutive power of , starting of 7 or less errors are transmitted in 63 trails is small, the
with b for some non negative integer b. message has zero errors. Thus, the probability of error of the
3. Let g(x) be the least common multiple of the BCH code is tied to the one minus the cumulative binomial
minimal polynomial for the selected power of distribution for 7 or less errors in 63 tails, where each trail
with respect to GF(q). has a probability of failure equal to the BER.
For a more detailed discussion, see Ref 2, page 180. The Alternatively, consider the case where there are 8 bit errors
resulting codes may be constructed with the parameters: in the 63 symbols. The probability of error for correctly
decoding the message is close to 1. Through simulation, it
was found that with 8 errors, the WER was 0.984, and with
n 2m 1
9 errors, the WER was 0.992. Clearly, this discontinuity is
n k mt (5) not captured in equation 7.
dmin 2t 1
Further, the estimate of dmin from equation 5 was found to be
a rather loose bound. Ref [1] gives a tighter lower bound
For example, with m = 3, n = 7, k = 4, t = 1, and dmin = 3. with is asymptotic at n as:
A note on the weight of the code, and the minimum distance
dmin
of the code, dmin. The weight of a code word is the number
n 2A 1 A (8)
of nonzero coordinated in the code word. The distance
between two code words is the number of coordinates in where the parameter A is related to the code rate through:
which the two blocks differ (e.g. the Hamming distance).
Thus, the minimum distance of a code is the minimum
Hamming distance between all distinct pair of code word.
Rc 1 Alog2 A 1 A log2 1 A ,
(10)
For any BCH code, a transmitted code word is guaranteed to 0 A 12
differ in a least dmin coordinated from any other code word.
From this, one can conclude that a code with a minimum An exact value for dmin for each code would allow an exact
distance dmin can detect all error of weight less than or equal CG for each BCH code. This in turn will allow the engineer
to dmin - 1. to design a radio to achieve any desired WER.
However, a given code can detect a large number of error of Binomial Probability Density Function for Minimum
weight w greater than dmin . This means that dmin provides a
limit on the weight for which one can detect all error Distance
patterns. In sending a sequence of n bits, one can assume that each bit
consists of an identical and independent trail. By definition,
The code redundancy, Rc, is n/k, which is equivalent to the there are two outcomes. This suggests that one can treat a
bandwidth expansion. The reciprocal of the code stream of bit data as a binomial experiment. Formally, a
redundancy is the code rate R. The coding gain is then: binomial experiment is one in which:
1141
minus the binomial cumulative distribution function: for each k length code. Referring back to the (63,7) code.
On average the 63 bit sequence would be sent 18.3 times.
t 1 t 1 n y
The bandwidth expansion is 9 (Rc = 0.111). Each packet of
EY 1 py 1 p (11) 63 bits requires (from equation 13) a probability of error
y 0 y less than 5.469 x 10-8. From equation (3), each bit requires
a SNR of 11.49 dB. However because the code can correct
where t is again the number of errors that can be corrected in up to 15 errors, one would require 16 or more errors in 63
the code. bits for a packet error. Using equation (11) with WER =
5.469 x 10-8 one derives a p (BER) of 0.0498. Again, using
Equation 11 gives the relationship between a BER and WER equation 3, one finds the required SNR of 1.32 db. The CG
where the word length is k symbols. If one assigned a WER is then found to be: 12.04dB – 1.32dB = 10.71dB. We can
of some small value, say 10-6, then searched for a p that compare this to the PG with B = 9, which is 9.54, and one
satisfied the WER, using equation 3 one could find the sees that the BCH code is more efficient by 1.2 dB.
required SNR for p. Finally, given the SNR required to
achieve the WER without coding, we have an exact measure Algorithm to find CG:
of the coding gain. The solution to p is not closed form, but 1. Calculate BER for a given WER and word length:
is easily calculated using optimization algorithm, such as a equation (12)
Newton-Raphson method, to minimize a function such as: 2. Calculate the power required to achieve BER
(PSNR) using equation (3)
2 3. Select t, n, and k BCH code
t 1 t 1 y n y
x 1 p 1 p WER (11) 4. Derive the average number of messages required
y 0 y for the work length, and use equation (13) to get
the probability of error for each n length packet.
The optimization algorithm will force x to zero as p 5. Using equation (11), find the coded BER
approaches the correct BER. This function is raised to the 6. Equation (3) gives the required SNR (CGSNR).
power so that it has a continuous derivative, with is required Calculate the CG by subtracting CGSNR from
by Newton-Raphson. PSNR.
7. Calculate dmin and from equation (5) and the
Normalized Word Error Rate realized dmin from equation (6)
In order to evaluate both PG and CG performance, a Table 1. (63,K) BCH code Example.
benchmark is needed. For example, in the BCH code where
m = 5, n = 63, there are 15 possible codes where k ranges
from 57 to 7 bits. The benchmark could be the CG in which Equivalent BCH
128 information bits is sent. Under this scenario, a k = 57 BCH DSSS Coding dmin Calculated
code would have to be sent 2.25 times, while the k = 7 code Code Process Gain (2t-1) dmin
would be sent 18.3 times. While it is evident that the CG for Gain (dB) (dB)
the (63,7) code is greater than the CG of a (63,57) code, (63,57) 0.43 3.19 1 3.52
because it must be sent 8 times as often, the realized gain (63,51) 0.92 4.40 3 5.44
will not be as great. (63,45) 1.46 5.44 5 7.61
(63,39) 2.08 6.22 7 10.05
Let one consider that a word is 128 bits of information. We (63,36) 2.43 6.89 9 12.06
with the system performance to have a WER of 10 -6. If we
(63,30) 3.22 7.45 11 15.64
sent a sequence of 128 bits, for a given BER the WER
(63,24) 4.19 7.94 13 20.83
would be:
(63,18) 5.44 9.25 19 32.38
128 (63,16) 5.95 9.64 21 37.94
WER 1 1 BER (12)
(63,10) 7.99 10.32 25 65.00
(63,7) 9.54 10.98 29 98.82
Taking the inverse operation, we have:
BER 1 10 log10 1 WER 128 (13) From this discussion, some interesting observations are
made. As noted, CG = Rcdmin, which allows an explicit
For a WER of 10-6, the BER would be 7.8125 x 10-9. We calculation for dmin (see table 1). Additionally, the worst-
can now calculate the base energy required to send this word case performance of the code can detect 2*t-1, or 29 errors
in a BPSK modulation using equation (3), or 12.04 dB SNR. in this example. This bound is used to calculate the
In a similar manner we can derive the equivalent error rate probability of not detecting an error (using equation 11). In
this example the BER is 0.0498; the probability of not
1141
detecting an error is 1.0103 x 10-14. This information is
valuable in the certification process, which measures
performance in undetected errors.
1141
4. DESIGN OF A RADIO SYSTEM that some type of conformal, broad side radiating antenna is
used, with a gain (GA) of 2.1 dB. From on aircraft testing it
In a software controlled radio one would have to option of was found that fading (F) was Rayleigh distributed with 19
changing BCH code, PN sequence, and modulation rate for dB loss. The transmitter is lower power (Pt), 0.001 W or
a given application. The design of such a system would 0bBm. Given this: Signal Excess = Pr + GA + GA + Lp +
require knowledge of the anticipated range, in band Pt + F , or 4.3
interference, multipath effect, antenna design, power output
and receiver sensitivity. A modest microprocessor will be used, such as an (127,8)
BCH code is used with a CG of 12.5 dB, but a required SNR
Example: Design of a Wireless Accelerometer of -0.45. In this system we have 4.75 dB of signal excess,
with an information bit rate of 125Kb/s (assuming a
Consider a Health and Usage Monitoring System (HUMS) bandwidth expansion of 127/8 = 15.875, and 2Mb/s bits).
which is dependent on a number of drive train
accelerometers to measured drive train vibration on a However, one should assume the presence of some in band
helicopter. Such a system might have 15 to 18 drive train interference, such as WiFi. The interferer will be allowed
accelerometers. The work in process for installation, the no closer than 3 m to the receiver, and 0dBm output. This
weight, the parts count in terms of harnesses and drawings system, because it is closer, adds 18.2 dBm, resulting in a
all add system cost. A wireless accelerometer would make SNR of -13.9, or 13.45dB signal deficit. In this case, a 32
HUMS more attractive to operators precisely because the bit chipping code, concatenated to the BCH, will give 1.6
reduce weight, installation, parts count, etc. dB of signal excess (a rather tight margin). The information
rate will now be (2Mb/s) / (32*127/8) = 4Kb/s, but with
Take for example an accelerometer located at the tail rotor significant error detection capability.
intermediate gear box. This location is at the end of the tail
boom, a distance of 12.2m to the equipment bay on a utility Realistically, this bandwidth could not support a wireless
helicopter. accelerometer at this range, or with this level of interference.
The system engineer would recommend a wireless remote
We will assume a bandwidth of 5 MHz. From this, we can data concentrator (RDC), perhaps located at the tail takeoff,
calculate the noise power as: to gather and relay accelerometer data from the tail section.
1141
improves relative to BCH codes as the bandwidth expansion
increases.
REFERENCES
5. CONCLUSIONS
1141
1141