Professional Documents
Culture Documents
+ =
+ =
=
) sin sgn(
) cos sgn(
) (
) (
k
k
Q
k
k
I
n A x
n A x
x
k
(5)
The phase indicates the phase error between the reference
L LL L
f ff f
s ss s
r rr rn nn n( (( (k kk k) )) )
L LL L
G GG G( (( (s ss s) )) )
LoopFilter LoopFilter LoopFilter LoopFilter
NCO NCO NCO NCO
e ee ek kk k
I II Ik kk k
Q QQ Qk kk k
I II In nn n
Q QQ Qn nn n
Decimator Decimator Decimator Decimator
Accumulator Accumulator Accumulator Accumulator
x xx xQ QQ Q( (( (k kk k) )) )
x xx xI II I( (( (k kk k) )) )
Sgn Sgn Sgn Sgn( (( (Sin Sin Sin Sin(.)) (.)) (.)) (.))
Sgn Sgn Sgn Sgn( (( (Cos Cos Cos Cos(.)) (.)) (.)) (.))
BPF BPF BPF BPF
Limiting Limiting Limiting Limiting
Amplifier Amplifier Amplifier Amplifier
XNOR XNOR XNOR XNOR
Q QQ Q
in in in in
Out Out Out Out
r rr r
n nn n
( (( (t tt t) )) )
Fig. 5. A low power implementation of digital PSK (Costas loop for BPSK).
signals and the incoming signal. When the loop recovers the
phase precisely, =0. The accumulators outputs are given by
) ( ) (
0
k k
K
k
I n
x I
=
= and
=
=
K
k
n
k k Q
Q
x
0
) ( ) ( (6)
where K=f
s
T/L, the number of samples at the accumulators in
the symbol duration T, and L is the decimator rate. To find the
BER of this demodulator we will use the technique given in
[17]. The outputs of the accumulators I
n
and Q
n
are the
binomial probability mass functions obtained from samples
x
I
(k) and x
Q
(k). The output signal is taken from the in-phase
path. Note that half of the total samples will pass on each path.
Thus the probability error of the demodulator Pe=P{I
n
0?} is
|
|
\
|
=
=
2 /
0
2 /
) 1 (
2 /
K
k
k K k
p p
k
K
e
P (7)
where p is the probability of each sample in (5) and given by p
=
) / ( Acos Q
and the noise variance
n
2=N
0
B. The SNR
degradation to digitize the demodulator is approximately 2 dB
[17]. The BER performance of this digital Costas loop will be
plotted later.
Costas loop is a class of phase-locked loops (PLLs) and its
stability condition has to be evaluated. Since the Costas loop
in Fig. 5 is realized digitally, z-domain technique would be
more accurate to analyze its behavior [7]. So far it has been
analyzed in continuous domain in literature [13][14]. The
discrete model of the Costas loop is depicted in Fig. 6.
Accumulator together with decimator can be designed with a
counter. Its output is an average of samples at the output of the
multiplication and its transfer function, H
AD
(z), is defined as
1
3 2 1
1
1
.......) 1 ( ) (
+ + + =
z
z z z z
AD
H (8)
A digital loop filter that contains proportional and integral
(PI) terms can easily be implemented. The transfer function of
the all-digital loop filter is given by [16]
1
2
1
1
) (
+ =
z
z H
L
(9)
We have two multipliers in the loop. The first one is a simple
XNOR and is represented with a constant K
p1
. The second one
is the phase detector (PD) whose output is given by [13]
= I
n
.Q
n
sgn(sin (2)) (10)
where is the loop phase errors. Assume this PD is
represented with a gain K
p2
. The closed loop transfer function
of all digital Costas loop is given in (11).
D i g i t a l L o o p D i g i t a l L o o p D i g i t a l L o o p D i g i t a l L o o p
F i l t e r F i l t e r F i l t e r F i l t e r
( (( ( z zz z ) )) )
A c cu m A c cu m A c cu m A c cu m . / . / . / . / D e c i m D e c i m D e c i m D e c i m . . . .
C o u n t e r C o u n t e r C o u n t e r C o u n t e r
1 1 1 1 z z z z
- -- - 1 11 1
1 11 1
1 1 1 1 z z z z
- -- - 1 11 1
2 22 2
1 11 1
+ ++ +
i ii i
o u t o u t o u t o u t
( (( ( z zz z ) )) )
- -- -
+ ++ +
K KK K NC O NC O NC O NC O
1 1 1 1 z z z z
- -- - 1 11 1
N C O N C O N C O N C O
n
I
n
Q
K KK K p pp p 2 22 2
K KK K = == = K KK K p pp p 1 11 1 . .. . K KK K p pp p 2 22 2 K KK K N CO N CO N CO N CO
K KK K p pp p 1 11 1
X N O R X N O R X N O R X N O R
Fig. 6. Discrete time model of all digital Costas loop
1
Limiter amplifier is also known as hard-limiter since it is a one bit process[17].
3 2
3
1
)
2 1
(
1
1 2 1
) (
) (
) 3 ( 1
) ) ((
) (
1
+ + +
+
= =
z z z
z
H
K K
K
z
z
i
z
out
(11)
where K = K
p1
. K
p2
. K
NCO
is the total gain in the loop. The
stability condition for a discretetime system is that the poles
of the transfer function must be within the unit circuit,
r=|z|=1,in Z-domain. Stability is mandatory for a closed loop
system. Normally when Costas loop is implemented,
numerical coefficients, K,
1
and
2
should be selected such
that the poles of (11) are in unit circle. Due to page limitation,
frther loop analysis of digital Costas loop is omitted in this
paper.
Non-coherent scheme of PSK is called differential PSK
(DPSK). A digital DPSK using limiter amplifier with
sampling is shown in Fig 7 In DPSK systems, the binary
sequence is first differentially encoded and then modulated
with a carrier. The demodulator in Fig.7 does not need the
frequency and the phase information of the input signal. The
reference signal is taken from adjacent symbols. This reduces
the system complexity dramatically; it does not need the
carrier frequency and phase synchronizations. A timing
diagram of demodulation process of a hard limited DPSK
signal is depicted in Figure 8. The binary data a
k
is differen-
tially encoded before transmission. After the limiter amplifier
and sampling, the samples of two adjacent symbols are
compared within a symbol duration using a simple XNOR
gates.
Sampling Sampling Sampling Sampling
L LL L
f ff f
s ss s
I II I
n nn n
Decimator Decimator Decimator Decimator
Accumulator Accumulator Accumulator Accumulator
x xx x( (( (k kk k) )) )
Signalin Signalin Signalin Signalin
BPF BPF BPF BPF
Limiting Limiting Limiting Limiting
Amplifier Amplifier Amplifier Amplifier
XNOR XNOR XNOR XNOR
T TT T
r rr r
n nn n
r rr r
n nn n- -- -1 11 1
sg sg sg sg
n nn n
Decision Decision Decision Decision
Block Block Block Block
J JJ J
n nn n
I II I
n nn n
Q QQ Q
in in in in
s mT T =
r rr r
fs
FF FF
m 1
n nn n- -- -1 11 1 r rr r
n nn n
Diff Diff Diff Diff. . . .
Decoder Decoder Decoder Decoder
Fig. 7. Digital demodulation of DPSK with implementation detail
The received signal r
n
and its one symbol delay version r
n-1
is
multiplied using XOR or XNOR gate (depending upon the one
used in the transmitter) to obtain x(k). The demodulated
signal is given by
(
(
=
= =
K
k
J k
I n n
x I
0
sgn ) (
and ) ( cos sgn ) (
2
N A k
I
x + = (12)
Where N is the total noise at the output of the differential
decoder in Fig.7. It consist of noisxnoise and noisexsignal
terms. It is zero mean Gaussian random variable with variance
2
n
2
for dominant terms [10]. BER plots of demodulators in
Fig.6 and 7 is shown in Fig8. The BER performance of these
demodulators are approximately 2 dB lower SNR comparing
to that of an ideal analog demodulation in case of perfect
phase recovery. The loss resulting from the hard limiting the
input signal is about 2[17].
Fig. 8. Timing diagram of digital one bit detection of DPSK Demodulator.
For the recevers given in Fig. 5. and Figure 7 , a sampling
frequency, f
s
is needed in order to sample the input signal..
There are many ways to generate the sampling clock at the
receiver locally. For low power purpose, the most general way
is using ring oscillators [9], as swhown in Fig.9. However, for
high speed aplications, a high sampling frequency might be
needed (f
s
>50 MHz). Using a ring oscilator itself would not
be an efficient method to generate such a high sampling clock.
Thus, for high speed applications, the sampling cock can be
generated from a ring oscilator together using an all-digital
PLL based clock multiplier, illustrated in Fig. 9-(b). This sytem
is one of the most efficient and simple way for sampling clock
generation in wireless receivers.
l
N N N N
PD PD PD PD
Ref Ref Ref Ref. . . .
Clock Clock Clock Clock
Filter Filter Filter Filter
fs
N
Freq Freq Freq Freq. .. .
Divider Divider Divider Divider
NCO NCO NCO NCO
f ff f
ref ref ref ref
f ff fs ss s= = = =f ff fref ref ref refxN xN xN xN
b bb b) )) )
a aa a) )) )
k
I k x
fclk(referenceclock)
D DD D
Comp.
0 0 0 0? ?? ?
0 0 0 0? ?? ?
I
k
=
0,otherwise
Clk
Q QQ Q
Clk Clk Clk Clk
Q QQ Q D DD D
Clk
Q QQ Q D DD D
x
I
(k)
x
Q
(k)
Fig. 11. Enhancing performance of Vances demodulator. The digitized in-
phase (XI) and quadrature (XQ) signals are obtained at the output of the limiter
amplifiers shown in Fig.1.
I II I
k kk k
X X X XI I I I( (( (k kk k) )) )
Q QQ Q
k kk k
f ff f
clk clk clk clk
( (( (referenceclock referenceclock referenceclock referenceclock) )) )
Demod Demod Demod Demod. .. .
signal signal signal signal
Noisy Noisy Noisy Noisy
in in in in- -- -phase phase phase phase
signal signal signal signal, ,, ,
TI
Figure 12. Signal waveforms of the digital demodulator.
The detailed waveforms of the digital demodulator are
depicted in Fig. 5. The sinusoidal quadrature components I
and Q are converted to the digital domain by two limiter
amplifiers. These signals are, then, sampled by a reference
clock. Then, the digital comparator compares the total number
of samples and decides whether it is less or bigger than zero.
Thus, the errors in the X
I
and X
Q
are eliminated. The output of
the comparator is either 1 or 0 within pulse duration T
I
, as
indicated in Fig. 12. The circuits corresponding to both
approaches were simulated in Matlab to compare the BER
performances. The BER plots are shown in Figure 13. For low
SNR values this preprocessing approach outperforms the only
D-Flipflop case.
IV. CONCLUSION
Some all-digital demodulators have been presented for short
range applications. The significance of those are low-power
extremely low-size and offers the design of low-cost in
integrated circuit(IC) technology. Many of these demodulators
are made non-coherent and do not require carrier clock
recovery due to simplicity. A symbol timing recovery on the
other hand is necessary and can easily be designed using an all
digital PLL. The detailed implementation design issues have
been addressed. These receiver architectures can be employed
in the applications where the receiver power consumption is
more crucial. We also analyzed the loop behavior of a Costas
loop PLL using discrete model in this paper.
REFERENCES
[1] J. G. Webster, Medical Instrumentation Application and Design John
Wiley & Sons, Inc. 1998.
[2] FCC Rules and Regulations, Table of Frequency Allocations, Part 2.106,
Nov. 2002 (online: http://wireless.fcc.gov/services/).
[3] K. Finkenzeller, RFID Handbook, Wiley& Sons, Ltd. 2003.
[4] W. Liu, et al., A neuro-stimulus chip with telemetry unit for retinal
prosthetic device, IEEE J. Solid State Circuits, vol. 35, pp. 1487-1497,
Oct. 2001.
[5] M. Ghovanloo, K. Beach, K. D. Wise, K. Najafi, A BiCMOS wireless
interface chip for micromachined stimulating microprobes, 2nd IEEE-
EMB Microtechnologies in Medicine & Biology, pp.277 282, May
2002.
[6] M. Ghovanloo and K. Najafi, A wideband frequency shift keying
wireless link for biomedical implants, IEEE Trans. Circuits Syst. II,
vol. 51, pp. 2374- 2383, Dec. 2004.
[7] I. A. W. Vance, An integrated circcuit v.h.f radio receiver, The Radio
and Electronic Engineer, vol. 50,no.4,pp. 158-164, April 1980.
[8] W. Liu, M. S. Humayun, Retinal prosthesis, IEEE ISSCC, pp. 218-
219, 15-19 Feb. 2004.
[9] B. Razavi, RF microelectronics, Prentice Hall, 1998.
[10] J. G. Proakis, Digital Communications. 4
nd
Edition, McGraw-Hill Book
Company. 2001.
[11] Australian Communications Authority, Radio Frequency Planning
Group, Planning for Medical Implant Communications Systems &
Related Devices, Proposals Paper, Oct. 2003.
[12] J. P. Hein and J. Scott, z-domain model for discrete-time PLLs, IEEE
Trans. Circuits and Systems, vol. 35, November 1988.
[13] M. K. Simon, Tracking performance of Costas Loops with Hard-limited
in-phase channel, IEEE Trans. Commun., vol. 26, April 1978.
[14] H. K. Philipp et al. Costas loop experiments for a 10.6 um
communications receivers. IEEE Trans. Commun., vol. 31, August
1983.
[15] H. O. Elwan, M. I. Younus, H. A. Alzaher, and M. Ismail, A buffer-
based baseband analog front-end for CMOS Bluetooth receivers, IEEE
Trans. Circuit and Systems-II, vol.49,no.8, pp. 545-554, August 2002.
[16] R. E. Best, Phase-Locked Loops: Theory, Design, and Applications.
McGraw-Hill Inc., 2003.
[17] P. H. Wu, The optimal BPSK demodulator with a 1-bit A/D front-end
in Proc. MILCOM98, vol.3.3, 1998, pages 730-735.
-5 0 5 10 15 20 25
10
-3
10
-2
10
-1
10
0
SNR [dB]
B
E
R
Vance Demodulator
Our Approach
Fig. 13. BER performances of modified Vances demodulator.