AN98080 - Devices Based in HTRC110
AN98080 - Devices Based in HTRC110
AN98080 - Devices Based in HTRC110
Document information Info Keywords Abstract Content Basestation, Reader, HTRC110, HITAG, Antenna Design, RF-Identification Designing read/write device (RWD) units for industrial RF-Identification applications is strongly facilitated by the NXP Semiconductors HITAG Reader Chip HTRC110. All needed function blocks, like the antenna driver, modulator demodulator and antenna diagnosis unit, are integrated in the HTRC110. Therefore only a minimum number of additional passive components are required for a complete RWD. This Application Note describes how to design an industrial RF-Identification system with the HTRC110. The major focus is dimensioning of the antenna, all other external components including clock and power supply, as well as the demodulation principle and its implementation. All presented numeric parameters base on the HTRC110 HITAG Reader Chip data sheet [1].
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
The format of this application note has been redesigned to comply with the new identity guidelines of NXP Semiconductors. Legal texts have been adapted to the new company name where appropriate.
1.2
September 1998
Contact information
For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: [email protected]
AN98080_30 All information provided in this document is subject to legal disclaimers. NXP B.V. 2010. All rights reserved.
2 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
1. Introduction
With the HITAG Reader Chip, HTRC110 a highly integrated RWD with a powerful circuit implementation is available. The HTRC110 is ideally suited to design an advanced RWD for industrial applications. The device incorporates all necessary functions to facilitate reading and writing to an external transponder. It makes use of a unique demodulation technique that extends the system operation range compared with first generation envelope detection based systems. The HTRC110 is optimized to operate with the NXP Semiconductors transponder family HITAG, HITAG 2, HITAG S and HITAG . Device characteristics, like receiver gain and bandwidth, or transmit timing, are widely programmable, in order to match the RWD to the applied transponder. For the purpose of system diagnostics, the HTRC110 provides antenna failure detection. Designed for low power consumption employing CMOS technology, the device supports IDLE and POWER-DOWN modes. Requiring only few external components and coming in the compact SO14 plastic package the HTRC110 guarantees a minimized overall size.
AN98080_30
3 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
VDD
XTAL1
programmable
divider
oscillator XTAL2
DOUT RX EMI filter demodulator bandpass filter amplifier dynamic control digitizer phase measurement serial interface digital glitch filters DIN SCLK
control registers
QGND
CEXT
VSS
MODE
Fig 1.
AN98080_30
4 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
2. Power supply
The supply current of the HTRC110 consists of two components:
10 mADC maximum for the supply of the IC with its internal function blocks the current driven into the antenna resonance circuit
As the antenna current is nearly sine shaped, the average DC-current component can be calculated by: I ant 2 - I = - ant (1)
DC
where ant describes the antenna current amplitude. With ant = 200 mA the maximum overall supply current results in 10 mA + 2/ * 200 mA = 137 mA. Using the burst mode, where ant = 400 mA is allowed for ton < 400 ms at a pulse/pause ratio of 1:4, IantDC = 265 mA respectively. When switching on the power supply, the HTRC110 performs an internal power-on reset, where all internal registers (e.g. the configuration pages) are reset to their initial settings (see Ref. 1).
AN98080_30
5 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
These effects caused by insufficient bypassing can lead to spikes on the supply, that may disturb e.g. Ps connected to the same supply or even cause hardware damage to sensible components of the system.
The other bits in the configuration page 1 dont affect this mode. The drivers are reactivated by resetting the TXDIS bit.
AN98080_30
6 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
4. Clock
The HTRC110 contains an internal clock oscillator being capable to operate with an external quartz or ceramic resonator for frequency stabilization. It is also possible to use this oscillator for clocking a connected microcontroller. Further, the HTRC110 can be clocked by e.g. a microcontroller (see Figure 2).
HTRC110 in out in
C
out
XTAL1 XTAL2
HTRC110 in out in
C
out
XTAL1 XTAL2
HTRC110 in out in
C
out
XTAL1 XTAL2
XTAL1 XTAL2
XTAL1 XTAL2
XTAL1 XTAL2
Fig 2.
HTRC110 clock
The internal oscillator is well suited for standard parallel resonance quartz crystals. The capacitors to VSS should be chosen according to the quartz manufacturer specification. With ceramic resonators, the capacitors are often included internally in the resonator package. Ceramic resonators have a higher tolerance than quartz crystals (e.g. 0.5%-1%). This tolerance adds to the resonance frequency tolerances of the basestation antenna as well as on the transponder tolerance. That means a system frequency shift caused by oscillator tolerances causes a relative shift versus transponder and basestation centre frequency. Systems with relatively high coupling factor and high field strength at the transponder location naturally have a large safe operation tolerance area. In this cases the additional transponder oscillator tolerance does not cause problems. In more critical systems, where the safe operating area regarding frequency tolerance is small because of a low coupling factor or a low field strength at the transponder, we recommend to use a quartz crystal.
AN98080_30
7 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
In applications, where the HTRC110 is mounted together with the C on the same PCB, only one clock oscillator is needed, resulting in saving e.g. one quartz crystal which is a relatively expensive component. The HTRC110 oscillator output XTAL2 can be directly connected to most microcontroller clock inputs. It is also possible to use the microcontroller oscillator to clock the HTRC110 via XTAL1. Jitter on the HTRC110 clock is transferred directly into demodulator noise depending on the sampling phase. Therefore, supplying the HTRC110 with an external high jitter oscillator may strongly reduce the system performance. Special care has been taken at the internal HTRC110 oscillator design to avoid jitter and also to guarantee a fast power on oscillator settling. Therefore, if there are doubts about the quality of the C-oscillator, its a good idea to supply the C with the HTRC110 clock. Some Ps apply clock frequency doublers or PLL clock multipliers. Those devices are especially critical according to jitter considerations. When supplying the C with the HTRC110 clock, it is important not to use the power-down mode, because in this case the oscillator is switched off, also stopping the C. The idle mode is recommended for that case. Special care has to be taken in systems, that are permanently connected to the battery power supply and where the P is clocked by the HTRC110 oscillator. If the HTRC110 is put into PD-mode, by a transmission error or a software bug, the clock is switched off for both, the HTRC110 and the P. The only possibility to recover the system from this deadlock is disconnecting the power supply or issuing the oscillator start condition. Hum picked up by EMI or capacitive feed through on the PCB into the clock connection between HTRC110 and C can also cause clock jitter. Therefore a short lead length of this interconnection is recommended. The HTRC110 oscillator works at 4, 8, 12 and 16 MHz quartz crystals. Also external clock signals at the same frequencies can be supplied into XTAL1. The system frequency of 125kHz is generated internally from this clock via a software programmable frequency divider. The division factor should be set during the HTRC110 initialization phase after power-up by configuring the bits FSEL0 and FSEL1 if the clock frequency is different to the initial value of 4 MHz. This is done via the command SET_CONFIG_PAGE 3. E.g. adjusting to a clock frequency of 12 MHz is done by the command: SET_CONFIG_PAGE 3, xx10b
AN98080_30
8 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
5. MODE-pin
MODE is a multi-function pin. In normal operation, it is used for switching on and off the internal digital glitch filters on DIN and SCLK. If MODE is permanently connected to VSS, the glitch filters are in off-state and the serial interface can be used at high data rates only limited by the specified setup and hold times (see Ref. 1 Data sheet HTRC110).
SCLK
DIN
data bit
data bit
>16s
>16s
>8s >8s
>16s 16-24s
>8s >8s
Fig 3.
Serial interface reset and data transfer to the HTRC110 with glitch filters on
AN98080_30
9 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
SCLK
DIN
data bit
data bit
16-24s
>16s
>16s
Fig 4.
Figure 4 depicts the data transfer timing from the HTRC110 to the C. This timing can be used, if DIN and DOUT are not connected to each other. If DIN and DOUT are connected to each other to from a two wire interface, it is essential to consider the DOUT delay to avoid producing an interface reset condition by the data coming out of DOUT and being fed into DIN. That means, SCLK has to be kept low for at least 24 s in all cases, when data is coming out of DOUT (see Figure 5).
SCLK
DIN
data bit
data bit
16-24s
>16s
>24s
reset condition, not possible even if DIN and DOUT are connected
Fig 5.
From the above figures follows, that for writing data to the HTRC110 and reading data from the HTRC110 with a 3-wire interface, the minimum transmission time for one bit is 4 * 8s = 32s resulting in a transfer rate of 31.25 kBps. For reading data from the HTRC110 with a two wire interface, the minimum transmission time for one bit is 5 * 8s = 40s resulting in a transfer rate of 25 kBps. In practice a safety margin should be provided, e.g. in a way to assume not 8 s but 9 s sampling intervals. By this, the transmission time for one bit results in 4 * 9 s = 36 s (27.8 kbit/s). For reading data from the HTRC110 with a two wire interface, the transmission time for one bit is calculated by 5 * 9 s = 45 s (22.2 kbit/s).
AN98080_30
10 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
6. Antenna design
Most important for a good system performance and large safety margins in wireless identification applications is a proper design of the antenna. This means a good mechanical design for achieving a long operation distance and a high coupling factor as well as the proper dimensioning of the electrical parameters of the antenna components. The RWD antenna consists of a RLC series resonance circuitry. The antenna coil can be e.g. either circular or rectangular shaped. The coil dimension depends on the application, especially on the required operation distance. The major boundary conditions for the antenna design are:
the maximum antenna current provided by the RWD antenna drivers the maximum quality factor related to the required data bandwidth the maximum antenna inductance resulting from the antenna current and the quality
factor
AN98080_30
11 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
the minimum coupling factor required for properly demodulating the data sent to the
RWD
r opt 3
(2)
(3)
It can be further shown, that the herewith achieved distance from the antenna plane to the transponder on the coil centre axis equals the optimized coil radius ropt. The optimization which was discussed so far considered only the tags power requirements and supply. If the operation distance is limited by the data transmission channel, a smaller antenna radius may give better results.
AN98080_30
12 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
The voltage across the antenna coil and the transponder coil should be measured via high impedance probes or by a proper volt-meter, that is capable to handle 125 kHz correctly. It is important not to apply high resistive or capacitive loads to the relatively high impedance transponder coil by the measurement equipment for measuring the real open circuit voltage. If the HTRC110 is used for exciting the antenna, potential-free scopes or meters should be used because of the full bridge drivers. Alternatively the voltage from the antenna tap point (coil-capacitor connection) can be measured against ground via an ordinary scope or meter. The coupling factor k results from: U transponder coil L antenna - -------------------------------------k = --------------------------------------U antenna L transponder coil (4)
TX1 Ra La Ca TX2
tap point
Rv RX
Fig 6.
AN98080_30
13 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
Rl
TX1 Ra La Cs
TX2
tap point
Rv
Ca
RX
Fig 7.
By the capacitive decoupling of the antenna coil connections, both drivers are protected against connecting to GND or to 12 V or 24 V. It is recommended not to symmetrically divide the resonance capacitor into two components, but to use a small, low tolerance (e.g. NP0) capacitor for Ca and a large, higher tolerance capacitor for Cs (e.g. 100 nF). Applying the resistor Rl is strongly recommended for avoiding influence of low frequency EMI. It provides a low impedance GND-connection for low frequency signals, strayed capacitively into the antenna. Recommended values are: Cs = 100 nF, Rl =1k The RX-input is protected via Rv because, even in normal operation, voltages up to 140 V are present at the antenna tap point between La and Ca.
AN98080_30
14 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
TX1
68pF
tap point
Rv
RX
Fig 8.
Additional EMI-protection
The filter capacitances and inductances should be optimized for achieving the best EMI performance for the special application. Also different EMI-filter topographies may be used, e.g. for avoiding the 10 H coils.
Rdriver
Ra
Rcopper
Rrf
La
TX1
ideal drivers
Udr
Ca
TX2
Fig 9.
Rdriver stands for the driver resistance, Ra for the current adapting resistor, Rcopper for the winding resistance of the antenna coil including the resistance of the antenna connection and the leads on the PCB. Rrf is caused by eddy current losses in metal parts, that might be placed in the direct vicinity of the antenna.
AN98080_30 All information provided in this document is subject to legal disclaimers. NXP B.V. 2010. All rights reserved.
15 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
Antenna current adapting resistor The real part of the antenna impedance is: R ant = R driver + R a + R copper + R rf The maximum antenna current is flowing in optimum tuned case. It equals: U dr I antmax = --------R ant V DD 4 --------= -- R ant (5)
(6)
The term 4/ transforms the amplitude of the rectangular driver voltage to the equivalent sine voltage, which is the fundamental of the rectangular signal. For VDD = 5V and Iantmax = 200 mA, Rant = 31.8 . If the HTRC110 is used in the burst mode with Iantmax = 400 mA, Rant = 15.9 . For long range systems, external power MOSFET-transistor pairs can be connected to TX1 and TX2 to allow for even higher currents. In this case, Rant shall be further reduced. For systems with high coupling factors, where the maximum achievable field strength in not needed, Rant can be increased to reduce the antenna current and therefore the system power consumption. For calculating Ra, the other components of Rant have to be known. Rdriver can be set to 3.5 . Rcopper can be measured with a multimeter. The sum of Rrf and Rcopper can be measured with a network analyzer at 125 kHz. An easier method determining Ra is first setting Ra to 20 and running the system with this configuration (with tuned antenna). By monitoring the voltage across La with a potential-free scope, an ordinary scope with differential probe or a battery powered multimeter (capable to handle 125 kHz) the current can be measured by calculating: U La I ant = ---------------2 f0 La
(7)
where f0 is the operating frequency of 125 kHz. Alternatively the voltage from the antenna tap point (coil-capacitor connection) can be measured to ground via an ordinary scope or meter. By increasing or decreasing Ra, the current can be adapted to the desired antenna current. In systems, where Rcopper is not small compared to the other Rant-components, the temperature dependence of the copper resistance has to be taken into account. The highest antenna current flows at the lowest Rcopper. This is reached at the lowest temperature in the allowed temperature range. This temperature dependence can be calculated from the room temperature resistance via the temperature coefficient of copper or measured in a climate camber. At the highest temperature in the allowed temperature
AN98080_30
16 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
range, Rcopper is the largest. Therefore the lowest antenna current flows, resulting in the lowest field strength. This has to be taken into account when measuring or simulating the system safe operation margins. Antenna qualify factor The antenna quality factor Q is determined by the inductance and the resistance by: 2 f0 La Q a = ---------------R ant (8)
With increasing Q, the data transfer bandwidth reduces. By this, an upper limit for the antenna quality factor exists. Using the HITAG-transponder family, an upper Q-limit of 20 is recommended. Smaller Qs are generally uncritical. Higher Qs can lead to reduced modulation amplitude in READ-direction and to a WRITE-pulse spreading and delay in WRITE-direction (see Section 10.2 Driver-off period width and position). When sending data to the transponder, the field is switched off for a short time (e.g. 7 carrier periods), for modulating data onto the carrier. After switching the drivers on again, it takes some time to build up the field again. This rise time is increased with increased Q. By this, short pulses are spread. Therefore, when using high Q antennas, it is important to look at the field gap, produced by the WRITE-pulses, and to compare this to the transponders maximum pulse width specification. Also the READ-data rate has to be taken into consideration. Antenna inductance Choosing the antenna inductance La is relatively uncritical. From the formula given in the section above, the maximum antenna inductance can be directly calculated from Rant and Q. From this results La 800 H when operating the HTRC110 in normal mode at antmax = 200 mA and La 400 H for the burst mode at antmax = 400 mA respectively. If using an external antenna current boost stage, even lower inductances are required. In short range systems with high coupling factors, the antenna current can be reduced by increasing Ra. In this case, the inductance should be also increased for achieving the optimum system performance. Antenna capacitance The antenna capacitance can be calculated for the minimum antenna shown in Figure 6 by the following formula: 1 f r = ----------------------2 La Ca For the standard antenna shown in Figure 7 it is calculated by: 1 f r = ----------------------------La 2 -----------------1 1 ----- + ----Cs Ca (10) (9)
AN98080_30
17 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
In systems with low coupling factors resulting in a small tolerance range, applying a low tolerance NP0-capacitor for Ca is recommended. In practice determining Ca can be easily done like follows:
calculate Ca with the above formulas and choose the closest available value, tune the antenna by changing the number of antenna coil windings or changing the
capacitor value. Tuning measurement methods are described in section Figure 7. Optimizing the demodulator input resistor The demodulator input resistor Rv, being part of the demodulator input voltage divider, should be optimized in a way, that at optimum tuning (maximum voltage at the antenna tap point) the amplitude at the RX-pin is RXmax = 7 V - 8 V relative to QGND. By this, the maximum signal-to-noise-ratio is reached. The maximum tap point voltage is: U tap max = 2 f 0 L a I ant max (11)
The RX-pin is internally connected to QGND (~2V) via the resistor Rdemin (see Ref. 1). Therefore Rv and this internal resistor form a voltage divider. By this, Rv can be calculated by: U tap max R v = R demin ---------------- 1 U RX max
(12)
When the voltage at RX in respect to QGND becomes larger than 8 V, clipping will occur. By this, demodulation of the signal can be strongly disturbed. Therefore it is important not to apply a too small Rv. The temperature dependence of Rant, antmax and tapmax must be considered. The maximum value of Rdemin according to the data sheet should be used for calculating Rv. Another possibility for providing a safety margin is calculating Rv for RXmax= 7.0 V to 7.5 V instead of 8 V. For guaranteeing the antenna diagnosis functionality, Rv shall be larger than 80 k. Normally it is in the range of 100 k to 400 k. It is extraordinary important to place Rv as close as possible to the RX-pin for optimum EMI-performance. The best is, to apply a SMD-resistor placed directly at the pin with minimum (nearly zero) lead length because the path between Rv and the RX-pin is EMI-sensitive because of its relatively high impedance. A close placement of Rv nearly completely avoids capacitive strew in. In some applications it may be possible to increase the EMI performance by placing a small capacitor (in the order of 10 pF) from the RX-pin to VSS or QGND. Also this component must be close to the RX-pin. Whether it is better to connect this capacitor to VSS or to QGND should be determined by practical tests.
AN98080_30
18 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
Values for C1 and C2 can be found by the matched condition: 1 ------------ ( j L A + R A ) j C2 1 = ------------ + ----------------------------------------------j C1 1 j L + + R -----------A A j C2
R IN
(13)
Equating real and imaginary parts and combining these expressions leads to the final equations for designing the matching network: 1 C 1 = ---------------------------------------------------------------------------2 2 LA R IN R A R IN + ---------------- RA R IN R A C 2 = ------------------------------------------RA 2 L A R IN + ----C1 (14)
(15)
RIN stands for the desired input resistance at the resonance frequency of the antenna.
AN98080_30
19 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
Example: A PCB antenna has the following parameters: RA = 2 , LA = 20 H. The carrier frequency of the system is 125 kHz. The input resistance RIN (limited by the maximal driver current of the HTRC110) has to be 32 . Using the derived formulas, the calculated values of the elements of the matching circuitry are: C1 = 23.3 nF and C2 = 62.4 nF. The figure below illustrates the advantage of the matching circuitry compared to a solution with external resistor to limit the driver current for the given example.
It can be seen, how the external resistor decreases the quality factor of antenna, whereas the matching network has no influence on the quality factor. Thus, the maximal transmission range of antenna can be achieved. The proposed matching network consists of two capacitors. That means, that the driver current has a peak at the moment the driver switches. The maximum current is only limited by the drivers output resistors (Rdr,typ = 2.5 ). That would result in a peak current of 2 A. For burst mode a maximum driver current Idr,max of 400 mA is specified in the data sheet. Therefore, in applications using matching networks a resistor in series (Rs) to the driver outputs should be inserted, to limit the current peak to the maximum allowed value of 400 mA. The following equation shows the calculation of RS: U0 5V R S, min = ---------------- R dr = ---------------- 2,5 = 10 I dr, max 400mA The desired input resistance of the matching network RIN is calculated as follows: 4 U0 4 5V R IN = ------------- R dr R s = ------------- 12,5 I dr I dr (17) (16)
AN98080_30
20 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
The disadvantage of this modified matched network is, that the quality factor of antenna is changed by Rs. For the example above, the quality factor of the matched antenna Q is 1.26. For a circuit without matching network and an antenna resistor of 32 (to limit the driver current to 200 mA), the quality factor drops to 0.5. Therefore, the modified matching network can still be interesting for applications using PCB antennas. Design flow for modified matching networks 1. Use a serial resistor Rs of 10 to limit the peaks in driver current to the maximum allowed value of 400 mA 2. Calculate the effective input resistance of the matching network RIN 3. Design the matching network consisting of C1 and C2 using the given equations
Therefore the voltage amplitudes of the particular spectral components are determined by the following equation: 4 - U0 U AN = ---------N Since this fourier series has only sine-terms, N can only be odd (1,3,5...). Inserting the amplitudes found by fourier series evaluation into the complex formula for antenna current, leads to the final formula to calculate the magnitude of antenna current for a certain harmonic: (20)
AN98080_30
21 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110 4 -- U 0 CA 0 = --------------------------------------------------------------------------------------------------------------2 2 2 2 ( N 0 CA RA ) + ( N 0 CA LA 1 )
I AN
(21)
If the antenna is optimally tuned the current of the first harmonic would be maximum and the formula simplifies to the expression as explained in Section 6.2.4 Dimensioning of the antenna components 4 --U 0 = -------------RA
I A1, Max
(22)
Example: An antenna consist of the following elements: CA = 4.7 nF, LA = 400 H and RA = 24 Ohms. The magnitude of the rectangular voltage is U0 = 5 V and its frequency f0 = 125 kHz. Using the equation above, the current magnitudes of the first harmonics are: IA1 = 129 mA, IA3 = 2.5 mA, IA5 = 0.85 mA. Remark: The antenna resistor RA is assumed to be constant in these calculations. In practice, the skin-effect increases the effective antenna resistor and damps the current of higher harmonics. Thus, the calculated currents of higher harmonics can be seen as worst case.
AN98080_30
22 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
The filter is built of RF, LF and CF. Every element is split into two parts to design a symmetric filter with respect to ground. This is done to filter the voltage at the TAP-point with respect to both driver outputs. For filter implementation a standard Butterworth approximation is used. This approach has the advantage, that no ripple in passband can disturb the antenna. The proposed circuit forms a 2nd order low pass filter. To simplify the implementation, the filter is designed without taking the antenna load into account. This assumption is a good approximation for higher harmonics. For exact filter approximation the load has to be decoupled from the filter by an op-amp. The filters cut-off frequency fC should be far below the higher harmonics but above the fundamental. For best filter performance, the cut-off frequency of the EMI filter should be set to about 200 kHz (for a 125 kHz system). Analyzing the filter gives the transfer function. Matching this transfer function to the Butterworth coefficients for 2nd order filters leads to the final equations for calculating the filter elements: 1,414 C F = -----------------------------2 fC RF 1 L F = -------------------------------------2 ( 2 fC ) CF Design flow 1. Design of the antenna as explained in this application note (LA, CA, RA) independently of the filter 2. Use RF for EMI filter design and set the cut-off frequency to 200 kHz 3. Find LF and CF by Butterworth approximation using the given equations Example of an EMI filter This example illustrates the complete design flow including antenna and EMI filter design. (23) (24)
AN98080_30
23 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
(25)
For U0 = 5V and Iantm a x = 200 mA, Rant = 31.8 . Choosing an inductance of 400 H gives an antenna quality factor of about 10. To get the desired resonance frequency of 125 kHz, the antenna capacitance has to be 4.06 nF. Now the antenna design is done. For the proposed filter only a part of Rant can be used for filter implementation. R F = R ant R copper R rf (26)
Here Rcopper + Rrf is assumed to be 6 . So the usable resistance RF for the filter circuit is 25.8 . This value includes the driver resistance and the copper resistance of the filter inductance. Inserting RF = 25.8 and fc = 200 kHz into the implementation formulas the values for the filter components were calculated: CF = 43.6 nF and LF = 14.5 H. Therefore the values of the symmetric filter are LF1 = LF2 = LF/2 and CF1 = CF2 = 2 CF. The figure below shows the entire circuit.
To illustrate the effect of the designed filter for the higher harmonics, an interesting part of the simulated spectrum of antenna current for AC excitation is displayed below.
AN98080_30
24 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
Another advantage of the proposed filter is, that the resonance frequency of the antenna is almost not influenced, however the antenna should tuned including the filter as described in this application note. When using EMI filter, the offset compensation constant should be readjusted (see Section 9.2.4 Determining the offset compensation constant for a specific system). Moreover, there are no additional resonance frequencies generated by the filter (Butterworth approach).
There are other filtering solutions possible too. In case of higher order passive filters, care should be taken of the losses in the filter elements at resonance frequency. Active filters need power op-amps (at least for the last stage) to produce the antenna current instead of the HTRC110 and have to be very linear too, otherwise the amplifier generates higher harmonics itself (harmonc distortion).
AN98080_30
25 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
Hints for selecting appropriate filter components For best filter performance narrow tolerated filter components should be used. Elements with tolerances of 10 % for LF and 5 % for CF are available. Since the filter does not form a resonance circuit, the maximal voltages across the elements do not exceed the input voltage (Note: at antenna elements the voltage exceeds the input voltage by the factor Q). Moreover, the maximal nominal current of LF must stand the driver current. There are small SMD inductors available, which meet the requirements. Depending on the desired temperature range, the temperature coefficients of the elements should be as low as possible. For capacitors, components having 200 ppm/K are available (e.g. Polypropylen or MKP capacitors).
As longer the cable as lower its resonance frequency. Thus, when using long cables from driver to antenna, the cable resonance frequency has to be considered. If the cable resonance frequency is near the antenna resonance frequency, the antenna will be strongly detuned by the cable. In this case, the antenna current and system performance decrease. The cable may also increase the magnitude of higher harmonics in antenna current. This is caused by resonance effects at higher harmonics of the 125 kHz carrier signal (375 kHz, 625 kHz...). As cable and antenna are not decoupled, the resulting resonance frequencies are not easy to calculate. The best way is to measure the current of the higher harmonics in the antenna including the entire antenna cable. Example: For a 125 kHz system the distance between driver and antenna is lc = 55 m. The cable has the parameters: C = 100 pF/m and L = 0.6 H/m. The calculated resonance frequency of cable is therefore: fc = 374 kHz. This value is close to the third harmonic of the 125 kHz signal. But the resulting resonance frequency of antenna and cable is near to 625 kHz, which is another higher harmonic. This can cause EMR (electromagnetic radiation) problems. In a simulation, it can be shown, that the current at this frequency is about 10 times higher than in a system with a very short cable.
AN98080_30
26 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
Therefore, using an EMI filter can also be very helpful in systems with long cables. The design of such filters is described in detail in Section 6.3.2 Design of EMI filters. The filter is placed between cable and antenna. For the given example, the damping characteristic of this EMI filter for the third and fifth harmonic is shown below.
In practice, the loss of longer cables must be taken into account too.
7. Antenna tuning
7.1 Tuning with network analyzer
The antenna including all frequency determining components is disconnected at TX1, TX2 and RX. The TX1 and TX2 antenna terminals are connected to a network analyser measuring the resonance frequency. By changing La and/or Ca, the antenna can be tuned. The result should be checked as described in the following section.
AN98080_30
27 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
8. Antenna Diagnosis
8.1 Antenna fail detection
In some applications detection of antenna short or antenna rupture is required. The HTRC110 employs a special detection unit for these states. It is based on measuring the maximum negative voltage difference between RX and QGND. All considerations base on the standard antenna configuration according to Figure 7. The following tap point voltages result from different antenna problems:
antenna connections shorted to each other: Utap = 2.5 V antenna or antenna-connection broken: Utap = UQGND 2.5 V tap point antenna connection shorted to VSS or +24 V:Utap 0 V
The lowest possible tap point voltage of 2.5 V results from the above. The voltage at RX relative to QGND (~2 V) is: R demin U RX U QGND = ( U tap U QGND ) --------------------------R v + R demin (28)
Assuming a minimum Rv = 160 k, UQGND = 2V, Rdemin = 33 k and the most negative possible error case voltage Utap = -2.5V, the most negative, possible URX relative to QGND therefore is: R demin U RXmin U QGND = ( 2, 5V 2V ) -------------------------------------err 160k + R demin = 0,77V In normal operation, with properly connected antenna, amplitudes of 40 V up to 140 V exist at the antenna tap point in respect to VSS. This voltage is divided by Rv and the internal Rdemin resistor connected to QGND (~2V). With Rv optimized according to the above section the amplitude at RX is <8V with tuned antenna. When the antenna is mistuned, the amplitude at RX will be smaller, e.g. by a factor of two or three. Assuming a maximum tap voltage amplitude of 80V that is diminished to 20 V by strong mistuning. Rdemin = 17 k is inserted to come out with the minimum voltage. The resulting minimum negative RX relative to QGND therefore is: U RXmin R demin U QGND = ( 20 V 2V ) -------------------------------------160k + R demin = 2, 1V which is sufficiently below the resulting most negative voltage in error case. The HTRC110 tests in every carrier cycle, whether URX becomes more negative, than the diagnosis level of normally DLEV = 1.15V relative to QGND. By this, antenna problems are monitored instantly.
(29)
norm
(30)
AN98080_30
28 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
If the diagnosis level is not crossed by URX for at least one period, the ANTFAIL-bit will be set. It is automatically reset at the next crossing of the diagnosis level, e.g. when the error condition disappeared. It can be read by issuing the command GET_CONFIG_PAGE 2 or GET_CONFIG_PAGE 3. The HTRC110 does not automatically switch off the antenna drivers or invoke a power down mode when an antenna fail condition is detected (this function would strongly complicate the system development phase). Therefore, if switching off the antenna drivers at an error condition is intended, the C can monitor the ANTFAIL-bit and switch the drivers off, if the bit is set. If the field is not constant, e.g. in power-down modes, WRITE pulses and in settling phases, the ANTFAIL-bit is also set or is undefined. Therefore testing this bit should be done during the field is at its normal constant level. A special case is a short connection of the Ra antenna connection to VSS or +24 V. In this case, the antenna is driven in single ended mode by the driver TX2. Only half of the normal antenna current is flowing. Depending on the system safety margin, it may still work correctly. The tap point voltage strongly depends on the kind of short circuit, the antenna quality factor and other system parameters. Therefore, the output of the diagnosis circuitry is system dependent for that special case.
AN98080_30
29 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
demodulator
tap point
Ib
energy
It Ut
data
data
Ub
9V
3V
From Figure 17, on the first look, one would expect a (pure) amplitude modulation of the basestation antenna current as shown in Figure 18.
1 0.5 0 -0.5 -1 0
20
40
60
80
100
This amplitude modulation can be detected by a very basic and simple kind of demodulator, the so called envelope demodulator:
AN98080_30
30 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
antenna voltage
This amplitude demodulator principle has been applied in many of the first generation immobilizer and identification systems. Unfortunately only at optimum tuning of both, basestation and transponder antennas, relative to the oscillator frequency (125 kHz), a pure amplitude modulation of the basestation antenna current occurs. When mistuning one or both resonance circuitries, the modulation changes into a mixture of amplitude and phase modulation. At special combinations of the three frequencies, a pure phase modulation occurs.
1 0.5 0 -0.5 -1 0
1 0.5 0 -0.5 -1 0
20
40
60
80
100
20
40
60
80
100
It can be easily seen, that at pure phase modulation, no output will be achieved with the envelope demodulator. That means absolute system failure in this case. Occurrence of pure phase modulation depends on several parameters as e.g. tuning and quality factor of both the basestation and the transponder antenna and also the coupling factor of the coils to each other. These parameters underlie fluctuations with temperature and production tolerance. The position of the pure phase modulation inside the tolerance field can be calculated and depicted in so called tolerance field diagrams. An example is shown in Figure 21. The contour lines show the demodulator output signal strength. As expected, it is strongest in the center of the tolerance field at zero tolerance. Moving along the transponder tolerance lines, crossing of the zero lines at around 6% basestation tolerance can be seen. As the demodulator output voltage becomes small and disturbed close to zero lines, the safe operating area of this example system is limited to about 5 to 6% basestation antenna tolerance. This tight antenna tolerance is not easy to achieve in production. Using low tolerance NP0 capacitors and low tolerance antenna coils increases the basestation system costs.
AN98080_30
31 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
10 8 6 -50 4 2.5% 2
-50
0 0 -2 -2.5% -4 0 -6 -50 -8 -10 -10 0 -6.5% -8 -6 -4 -2 0 2 4 antenna resonant frequency tolerance 5.7% 6 8 10 100
antenna voltage
The voltage at the antenna tap point (sine wave with 125 kHz) is sampled at a specific phase relative to the antenna driver signal. In the following, the sampling phase is always considered relative to the falling edge of the antenna driver signal at TX1. Figure 23 shows the dependencies between driver voltage and antenna tap point voltage if the antenna is exactly tuned. In this example, the sampling phase has been chosen to
AN98080_30
32 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
180 deg. The sampled voltage is held in the capacitor while the switch is open. Mathematically, this sampling of the carrier is a multiplication with an equal frequency signal. By this, the carrier is removed leaving the base band as remaining signal.
driver voltage TX1 driver voltage TX2 switch closed when high antenna tap point voltage
0deg 0
Employing a synchronous demodulator, the position of the zero lines in the tolerance field additionally depends on the sampling phase. Figure 24 and Figure 25 show the zero lines with two different sampling phases at 0 deg or 180 deg and 90 deg.
AN98080_30
33 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
tra n sp o n d e r re so n a n t fre q u e n cy to le ra n ce
Fig 24. Example tolerance field with sampling demodulator at sample phase of 0 deg or 180 deg.
AN98080_30
34 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
10 0 8 0 transponder resonant frequency tolerance 6 4 2.5% 2 0 -2 -2.5% -4 -6 0 -8 -10 -10 0 0.1%-0.1% -8 -6 -4 -2 0 2 4 antenna resonant frequency tolerance 6 8 1 0
Fig 25. Example tolerance field with sampling demodulator at sample phase of 90 deg.
Due to the different zero line positions, demodulation will always be possible either with the first or second sampling phase. If a system can utilize two sampling phases (parallel or one after the other), due to the overlap of the two safe operating areas with the 90 deg. different sampling phases, the resulting safe operating area covers the full range. This holds not only for 0 deg. and 90 deg. but also for arbitrary pairs of sampling phases, that have 90 deg. difference. In general, it can be shown mathematically, that the following is true for all pairs of sampling phases, that are 90 deg. different for arbitrary mistunings of the two resonance circuitries:
If one of the two sampling phases results in zero demodulator output, the other
sampling phase always results in a maximum demodulator output and vice versa.
AN98080_30
35 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
inverted output. In the complete sampling phase range of 360 deg. exist two phases with maximum output and two phases with zero output. Zeros and maxima are 90 deg. apart from each other.
ts = sampling time, tant = time delay of antenna zero crossing, T0 = 1/125 kHz Adding or subtracting T0/2 results in a second optimum but with inverted signal polarity. The following picture shows the effect of the AST-principle on the zero-lines. They are typically moved outside the maximum transponder tolerances, if the coupling factor and field strength are high enough. The exact zero line position depends on several parameters, e.g. coupling factor, field strength, transponder type etc. Therefore exact measurements (see Section 13 Tolerance field verification) and/or system simulations should be done during the system design phase.
AN98080_30
36 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
10 0 8 6 4 0 2.5%
2 0 -2
-2.5%
-4 -6 -8 -10 -10
-8
-6
10
tranponder data
AN98080_30
37 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
The phase respective time measurement is done by a special circuitry in the HTRC110. This measurement unit is always active. Its output is always valid if the clock oscillator (internal or external) and the antenna field are in complete settled state (see also Section 11.1 Oscillator settling and Section 11.2 Field settling). The most recent measurement result can be read out by the C issuing the command READ_PHASE. After calculating the optimized sampling time, the C writes this time into a second register in the HTRC110.
driver voltage TX1 measured time tm zero crossing detector measurement offset toffs antenna tap point signal 0
Fig 28. Phase measurement
Under optimum tuned condition, the phase between TX1 and the zero crossing detector is -90 deg. This phase is represented as 2 s time interval which is 16 * 125 ns = 10h * 125 ns. If the antenna is mistuned the measured phase is determined by the following formula:
AN98080_30
38 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
where Q is the antenna quality factor and represents the relative antenna mistuning. In practice, the time delays in the IC-internal input filter of the RX-signal and the zero crossing detector result in an measurement offset added on this time. Also signal delays from the antenna tap point to the RX-input caused by parasitic capacitors on the PCB can cause small measurement offsets. From this results for the measured time: t m = t ant + t offs (36)
tm = measured time; tant = time between negative transition of TX1 and negative zero transition of the antenna tap point signal, toffs = measurement offset In the exactly tuned state, the measured time is e.g. 10h + 3hoffset = 13h. If the phase measurement unit is used for advanced antenna diagnosis as described in Section 8.2 Antenna detuning detection, the measurement offset has to be taken into consideration.
toc = offset compensation constant (due to internal compensation methods not equal to -2toffs); By this method, the system is adjusted for offset compensation. Determining the offset compensation constant is described in Section 9.2.4 Determining the offset compensation constant for a specific system.
SET_SAMPLING_TIME(t_ant);set the sampling time The imaginary routines READ_PHASE() and SET_SAMPLING_TIME(t_ant) implement reading respectively writing the 6-bit values. Running this algorithm should be done after power on and settling of the quartz oscillator and the antenna field, but before the transponder has started to send data (see also Section 11 Setting. This allows to even demodulate the first data bits from the transponder correctly (see also Section 12 Power-on sequence).
AN98080_30 All information provided in this document is subject to legal disclaimers. NXP B.V. 2010. All rights reserved.
39 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
After changing the sampling phase, the demodulator has to settle, which should be accelerated by a special settling procedure described in Section 11.4 General settling sequence. In immobilizer applications, it is normally sufficient to run the AST-procedure once after power-up. However, the AST-optimization can be repeated at any time, even if the transponder sends data. If the AST-procedure is executed during time intervals when the transponder doesnt send data, data losses can be avoided.
40 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
the optimum frequency of 125 kHz. It is also possible to use a tuneable transponder. This tuneable transponder is normally build from a so called moulded coil. A moulded coil is a transponder coil in the typical transponder package with external wires connected. This moulded coil is connected in parallel to a tuneable resonance capacitor and a transponder IC in a standard (DIL) package (see also Section 13.1 Tolerance field measurement setup). Further a possibility to estimate the demodulator output signal quality is needed. The easiest way is to switch the HTRC110 into the TEST-mode ANAOUT. By this, the demodulator output can be monitored directly on the scope. With this analog signal, it is easy to find maxima and minima. If the analog signal is not available, the digital output signal can be monitored instead. It is also possible to look at the result of the transponder reading software. Looking at the digital output or at the software reaction, it is only possible to find minima/zero lines of the demodulator output because in this case the digital output signal is corrupted and the software is not able to decode the transponder data. Using this set up, the AST-algorithm should be repeated for all 64 possible offset compensation constants step by step. That means the sampling phase is varied across the whole range of 360 deg. Covering this range, two offset compensation constants with minimum demodulator analog output amplitude or totally corrupted digital data will be found. Looking at the analog output, also two maxima should be found. The minima and maxima are exactly 90 deg. ~ 2 s ~ 10h apart from each other. In practice, its easier to exactly determine the minima. The maxima can be calculated by adding 10h to the found minima. Here a typical example: Minimum analog output amplitude or worst digital signal is detected at toc ~ 2Eh and 0Eh. Because a maximum is always 90 deg. ~ 10h apart from the minimum, a maximum at 3Eh and 1Eh should be seen. After this, the offset compensation constant related to one maximum is chosen for implementation in the system software. We recommend choosing the maximum in the interval 30h - 0 - 10h. In the example this is 3Eh.
9.3.1 Principle
The AST-method is used for optimizing the sampling phase, based on the knowledge of the current tuning of the basestation only. The basic equation for AST is: s = 2 ant + offs (38)
The influence of the detuning by the transponder resonance frequency and coupling factor is not taken into account by AST. However, to achieve maximum demodulator amplitude, the optimum sampling phase must be found. The HTRC110 provides the necessary circuitry.
AN98080_30
41 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
The idea behind this method is, to vary the sampling phase s and measure the corresponding amplitudes of the demodulated analog signal. The optimum sampling phase gives the maximum demodulator signal. In order to find the maximum demodulator signal, the internal comparator of the HTRC110 can be used. The block diagram of this unit is shown below:
Rectifier
Comparator
V dem
V dem=
AMPCOMP Cs
ACQAMP
Fig 29. Block diagram internal comparator of the HTRC110
When the ACQAMP control bit is set by a SET_CONFIG_PAGE command, the actual demodulator signal amplitude Vdem= is stored in the capacitor Cs. After resetting the ACQAMP bit, the status bit AMPCOMP is set, when the actual signal amplitude is larger than the stored reference otherwise it is cleared.
9.3.2 Algorithm
The proposed algorithm for sampling time optimization has to be implemented in the controller software for the HTRC110. Varying the compensation constant offs for AST has the same effect as varying the sampling phase s. Therefore, this method can be implemented as an extension of the AST-algorithm to find its optimum offs. For practical application, it is important to choose compensation constants, which correspond to the maximum demodulator signal in all possible combinations of transponder and basestation detuning. According to the theory, a maximum of the demodulator voltage must be in this range of 90 deg. Therefore, the algorithm changes offs in the range of 37h to 07h. The number of compensation constants taken for sampling time optimization has a huge influence on the computation time this algorithm needs. Taking all 16 compensation constants within the range (step-width of 5.625 deg) would require much time, because many read/compare operations would be necessary. A much faster approach applies only 37h, 3Fh and 07h as compensation constants. The step-width would be 45 deg in this case. Using the built-in comparator of the HTRC110, the algorithm works as shown below:
AN98080_30
42 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
Start
yes(V
AMPCOMP set ?
no(V
AMPCOMP set ?
yes(V no(V
37h 37h
AMPCOMP set ?
>V 3Fh ) no(V
37h
<V 07h )
yes(V
37h
>V 07h )
<V 3Fh )
t offs,opt =07h
t offs,opt =37h
t offs,opt =3Fh
End
Fig 30. Algortihm sampling time optimization
The voltage Vxyh denotes the measured demodulator voltage using a compensation constant of xyh. At the end of this algorithm, the optimized compensation constant toffs,opt is found. The number of compensation constants should be chosen in order to get a good compromise between computation speed and maximum deviation from the optimum compensation constant (e.g. n = 5,7...).
AN98080_30
43 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
Vcc
HTRC110
MODE
Fig 31. External circuitry for analog signal monitoring and unlocking test-mode prohibition
The HTRC110 MODE-pin is a combined input and output. For using as analog output, it has to be pulled down to VSS as shown in Figure 31. For unlocking the test-mode lock of the HTRC110, a positive pulse shall be applied once at the MODE-pin. This can be achieved by closing the switch for a period of time. After releasing the switch, the test mode can be activated by a special command: TEST_ANAOUT: 00100001b This command is send via the serial interface. Before sending it, an interface RESET-condition shall be issued as normal before all commands. It is possible to switch the analog output off by the command: TEST_OFF: 00100000b
AN98080_30
44 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
Switching off the power supply of the HTRC110 also leaves the test mode. To reactivate it after power-up, the positive pulse has to be applied to MODE and the TEST_ANAOUT command shall be sent.
9.6 Adapting the demodulator to different transponders and applications by register settings
The HTRC110 demodulator can be adapted to various transponder types and basestation applications by special register settings.
For adapting to other transponder types, also the remaining two combinations of filter settings: FILTERH, FILTERL=10b, 01b are allowed. It can also be a help to look at the analog demodulator output signal, when adapting to special transponder types, that are not described here. In general, resulting from signal theory, the demodulator passband spectrum should be adapted as close as possible to the transponder data signal spectrum. It is also possible to switch off the primary low pass filter completely by setting the DISLP1-bit in the configuration page 3 (SET_CONFIG_PAGE 3, 1xxxb). In this case the bandwidth is limited by a secondary low pass filter with an edge frequency of 15 kHz. Only special applications requiring a very high bandwidth (transponders with specially high data rate) but guaranteeing a high signal amplitude may be improved by switching this filter off. Normally it should be always on. Monitoring the analog demodulator signal is very important during the system development phase when intending to switch off this filter.
45 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
The optimum gain setting depends on the modulation amplitude at RX. In general, the gain setting is relatively uncritical because the HTRC110 demodulator is tolerant against signal clipping and in normal configuration, nearly no digitizer hysteresis is existent. During system development we recommend to start with a gain of 500. It may be possible to increase the system tolerance range by increasing or decreasing the gain. This can only be found out by tolerance field measurements (Section 13 Tolerance field verification). Monitoring the analog demodulator output signal together with the digitized data output is very important for successful gain optimization.
AN98080_30
46 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
Fig 32. Typical field gap for sending data to the transponder
AN98080_30
47 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
-If the transponder demodulator output is not available, the optimum driver-off period should be determined empirically by varying the driver-off period until failure. This method is sufficient for nearly all applications. The optimum Write-pulse positions relative to the demodulated data are dependent on the demodulator delay and also on the delay of the basestation and transponder antenna resonant circuitries. One way for software optimization of the pulse position is empirically changing the relative delay in the software and by this finding the limits accepted by the transponder. If the transponder modulator and demodulator outputs are available in a bond-out version, the relative position of the WRITE-pulses in respect to the data sent from the transponder can be measured directly. This relatively complicated method is normally not needed. It may also be a help to directly monitor the field and field modulation close to the transponder. This can be done by winding some turns of thin wire around the transponder and monitoring the induced voltage on the scope together with the digital and analog basestation signals.
AN98080_30
48 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
command has been transmitted before after power-up, the initial setting N3N2N1N0 = 0000b is used, invoking the transparent mode. For using non transparent timing with the WRITE_TAG command, at least one WRITE_TAG_N command has to be issued before.
11. Setting
11.1 Oscillator settling
After switching on the power supply of the HTRC110 or leaving the power-down mode (oscillator off), first the HTRC110 quartz oscillator has to settle. A time interval of 10 ms should be allowed for this settling. Depending on the quartz crystal, this time may be minimized during system optimization. If the HTRC110 is clocked externally e.g. by the C, the settling time depends on the specification of this external oscillator. If the external oscillator is running during the HTRC110 is in power-down mode, no oscillator settling time is required.
THRESET=1 switches the threshold generator to a mode, where the threshold immediately follows the demodulator output without delays. This is used to enforce a defined and sensitive start condition for the threshold.
AN98080_30
49 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
The given times are a safe basis for starting the system design. Normally, it should be possible to decrease the times if needed, without running into problems.
Other transponder families allow longer settling times. In this case, we recommend to increase the settling time intervals in percentage terms e.g. by a factor two or more. Optimizing the demodulator settling (if needed in special applications) is facilitated by analyzing the analog demodulator output signal at MODE.
AN98080_30
50 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
0 ms
switching power supply on initializing C (registers, ports etc.) writing HTRC110 Configuration Pages
10 ms
reading phase from HTRC110 calculating sampling phase setting sampling phase running general settling procedure ready for reading data from the transponder
16.5 ms
AN98080_30
51 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
La
Ca0
Ctm
Rv RX
With this setup, both the transponder and the basestation resonance frequencies can be adjusted. The capacitor banks should be dimensioned in a way, that resonance frequencies in a range of e.g. f0 15 % can be achieved. The capacitor banks can be build up using DIP-switches together with SMD-capacitors. Especially for the transponder tuning capacitor bank, normally small capacitors down to 1 pf to 10 pf are needed. Therefore the stray capacitances should be taken into consideration. Alternatively variable capacitors (trimmers) can be used to detune the transponder resonance frequency (Figure 35), but with the disadvantage of not having exactly reproducible settings.
Lt Ct0
Ctv1 Ctv2
52 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
The tuned basestation antenna resonance frequency should be cross checked with a network analyser. The transponder resonance frequency can be measured by inductively coupling the moulded coil with a core-less solenoid, connected to a network analyser. By monitoring the impedance and phase versus frequency, the resonance frequency can be found exactly, looking at the phase measurement negative peak. The windings number of the solenoid coil is uncritical.
coil (solenoid) with homogenous field inside and resonance frequency > 1MHz
Network analyzer
Transponder (bondout version)
AN98080_30
53 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
10 0 8 6
4
0 2.5%
-8
-6
10
Fig 37. Matrix tolerance field measurement (gray: go, transparent nogo)
Even more precision can be gained, if not only the go/nogo-information is taken. At each matrix point, the maximum possible key distance from the home position can be measured that does not lead to a system failure. The measured distances can be plotted into a three dimensional graphics for visualization.
AN98080_30
54 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
14. Abbreviations
Table 2. Acronym EMI EMS Abbreviations Description Electromagnetic Interference Electromagnetic Susceptibility
15. References
[1] [2] Data sheet HTRC110 HITAG reader chip, document number: 0370**1 EN 300 330 Short Range Devices (SRD); Technical characteristics and test methods for radio equipment in the frequency range 9 kHz to 25 MHz and inductive loop systems in the frequency range 9 kHz to 30 MHz Code of federal regulations Title 47: Telecommunication Chapter 1, part 15 Radio Frequency Devices. Japan: Regulation for inductive communication equipment.
[3] [4]
1.
AN98080_30
55 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
16.2 Disclaimers
Limited warranty and liability Information in this document is believed to be accurate and reliable. However, NXP Semiconductors does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such information. In no event shall NXP Semiconductors be liable for any indirect, incidental, punitive, special or consequential damages (including - without limitation - lost profits, lost savings, business interruption, costs related to the removal or replacement of any products or rework charges) whether or not such damages are based on tort (including negligence), warranty, breach of contract or any other legal theory. Notwithstanding any damages that customer might incur for any reason whatsoever, NXP Semiconductors aggregate and cumulative liability towards customer for the products described herein shall be limited in accordance with the Terms and conditions of commercial sale of NXP Semiconductors. Right to make changes NXP Semiconductors reserves the right to make changes to information published in this document, including without limitation specifications and product descriptions, at any time and without notice. This document supersedes and replaces all information supplied prior to the publication hereof. Suitability for use NXP Semiconductors products are not designed, authorized or warranted to be suitable for use in medical, military, aircraft, space or life support equipment, nor in applications where failure or malfunction of an NXP Semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental
16.3 Licenses
ICs with HITAG functionality NXP Semiconductors owns a worldwide perpetual license for the patents US 5214409, US 5499017, US 5235326 and for any foreign counterparts or equivalents of these patents. The license is granted for the Field-of-Use covering: (a) all non-animal applications, and (b) any application for animals raised for human consumption (including but not limited to dairy animals), including without limitation livestock and fish. Please note that the license does not include rights outside the specified Field-of-Use, and that NXP Semiconductors does not provide indemnity for the foregoing patents outside the Field-of-Use.
16.4 Trademarks
Notice: All referenced brands, product names, service names and trademarks are the property of their respective owners. HITAG is a trademark of NXP B.V.
AN98080_30
56 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
17. Contents
1 2 2.1 2.2 2.3 2.3.1 2.3.2 2.3.3 3 4 5 5.1 5.1.1 5.2 6 6.1 6.2 6.2.1 6.2.2 6.2.3 6.2.4 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Supply regulation and ripple criteria . . . . . . . . . 5 Bypass capacitors. . . . . . . . . . . . . . . . . . . . . . . 5 Power-down modes . . . . . . . . . . . . . . . . . . . . . 6 Driver-off mode . . . . . . . . . . . . . . . . . . . . . . . . . 6 Idle mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Power-down mode . . . . . . . . . . . . . . . . . . . . . . 6 External filtering capacitors . . . . . . . . . . . . . . . 7 Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 MODE-pin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Glitch filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Data transfer error considerations . . . . . . . . . 11 Test output . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Antenna design . . . . . . . . . . . . . . . . . . . . . . . . 11 Measuring the coupling factor . . . . . . . . . . . . 12 Electrical antenna parameters . . . . . . . . . . . . 13 Minimum antenna circuitry . . . . . . . . . . . . . . . 13 Antenna circuitry with driver short circuit protection . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Adding additional EMI-immunity to the system 15 Dimensioning of the antenna components . . . 15 Antenna current adapting resistor . . . . . . . . . .16 Antenna qualify factor . . . . . . . . . . . . . . . . . . . .17 Antenna inductance . . . . . . . . . . . . . . . . . . . . .17 Antenna capacitance . . . . . . . . . . . . . . . . . . . .17 Optimizing the demodulator input resistor . . . .18 Matching circuitry for PCB antennas . . . . . . . 19 Example:. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .20 Design flow for modified matching networks . .21 EMI considerations in antenna design . . . . . . 21 Antenna current of higher harmonics without filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Example:. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .22 Design of EMI filters . . . . . . . . . . . . . . . . . . . . 22 Design flow . . . . . . . . . . . . . . . . . . . . . . . . . . . .23 Example of an EMI filter . . . . . . . . . . . . . . . . . .23 Hints for selecting appropriate filter components . . . . . . . . . . . . . . . . . . . . . . . . . . .26 Influence of cable resonances on antenna characteristic . . . . . . . . . . . . . . . . . . . . . . . . . 26 Example:. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 Antenna tuning. . . . . . . . . . . . . . . . . . . . . . . . . 27 Tuning with network analyzer . . . . . . . . . . . . . 27 In-system tuning . . . . . . . . . . . . . . . . . . . . . . . 27 Antenna Diagnosis . . . . . . . . . . . . . . . . . . . . . 28 8.1 8.2 9 9.1 9.1.1 9.1.2 9.2 9.2.1 9.2.2 9.2.3 9.2.4 Antenna fail detection . . . . . . . . . . . . . . . . . . 28 Antenna detuning detection . . . . . . . . . . . . . . 29 Reading data from the transponder . . . . . . . 29 Theoretical background . . . . . . . . . . . . . . . . . 29 Sampling demodulator principle. . . . . . . . . . . 32 Adaptive-Sampling-Time (AST) principle . . . . 36 Implementation of the AST-method employing the HTRC110 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Phase shift measurement system . . . . . . . . . 38 Calculating and setting the sampling time . . . 39 Software implementation . . . . . . . . . . . . . . . . 39 Determining the offset compensation constant for a specific system . . . . . . . . . . . . . . . . . . . . . . 40 Typical values . . . . . . . . . . . . . . . . . . . . . . . . . 40 Exact determination of the offset compensation constant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Sampling time optimization . . . . . . . . . . . . . . 41 Principle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Additional safety backup for defect transponders or basestation antennas. . . . . . . . . . . . . . . . . 44 Monitoring the analog demodulator output signal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Adapting the demodulator to different transponders and applications by register settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Demodulator bandwidth . . . . . . . . . . . . . . . . . 45 Demodulator gain. . . . . . . . . . . . . . . . . . . . . . 45 Digitizer hysteresis. . . . . . . . . . . . . . . . . . . . . 46 Reading out the digital data . . . . . . . . . . . . . . 46 Sending data to the transponder . . . . . . . . . . 47 Modulation principle . . . . . . . . . . . . . . . . . . . . 47 Driver-off period width and position . . . . . . . . 47 Sending data via the digital interface . . . . . . . 48 Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Oscillator settling . . . . . . . . . . . . . . . . . . . . . . 49 Field settling. . . . . . . . . . . . . . . . . . . . . . . . . . 49 Demodulator settling . . . . . . . . . . . . . . . . . . . 49 General settling sequence . . . . . . . . . . . . . . . 50 Fast settling sequence . . . . . . . . . . . . . . . . . . 50 Power-on sequence . . . . . . . . . . . . . . . . . . . . 51 Tolerance field verification . . . . . . . . . . . . . . . 51 Tolerance field measurement setup . . . . . . . . 51 Tolerance field matrix measurement . . . . . . . 53 Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . 55 References. . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
6.2.5
6.3 6.3.1
6.3.2
6.3.3
7 7.1 7.2 8
9.6.1 9.6.2 9.6.3 9.7 10 10.1 10.2 10.3 11 11.1 11.2 11.3 11.4 11.5 12 13 13.1 13.2 14 15
continued >>
AN98080_30
57 of 58
NXP Semiconductors
AN98080
Read/write devices based on the HITAG read/write IC HTRC110
56 56 56 56 56 57
Please be aware that important notices concerning this document and the product(s) described herein, have been included in section Legal information.
For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: [email protected] Date of release: 23 March 2010 035530