LM 2893
LM 2893
LM 2893
April 1995
Output power easily boosted 10-fold 50 to 300 kHz carrier frequency choice TTL and MOS compatible digital levels Regulated voltage to power logic Drives all conventional power lines
Applications
Y Y Y
Y Y Y Y Y
Typical Application
O
TL H 6750 1
FIGURE 1 Block diagram of carrier current chip with a complement of discrete components making a complete FO e 125 kHz fDATA e 360 Baud transceiver Use caution with this circuit dangerous line voltage is present
BI-LINETM and COPSTM are trademarks of National Semiconductor Corp Carrier-Current Transceivers are also called Power Line Carrier (PLC) transceivers C1995 National Semiconductor Corporation
bs ol
TL H 6750 RRD-B30M115 Printed in U S A
et
Noise resistant FSK modulation User-selected impulse noise filtering Up to 4 8 kBaud data transmission rate Strings of 0s or 1s in data allowed Sinusoidal line drive for low RFI
Y Y Y Y
Features
Energy management systems Home convenience control Inter-office communication Appliance control Fire alarm systems Security systems Telemetry Computer terminal interface
Time to develop 63% of full current drive thru pin 10 1 bit time TB e 1 (2FDATA) Time TTR is user controlled with CM see Apps Info TX mode RO e 6 65 kX CO e 560 pF F0 e (F1 a F2) 2 TX or RX mode b 40 s TJ s TJMAX
bs ol
2 125 113 137 TX or RX mode (FOMAX b FOMIN) (TJMAX b TJMIN)
b 100
g2 0
(Note 3) The test conditions are V a e 18 V and FO e 125 kHz unless otherwise noted The transmit center frequency is FO FSK low is F1 and FSK high is F2
Parameter 15 Conditions Typical 13 40 52 Test Limit (Note 4) 14 24 Design Limit (Note 5) 15 23 Limit Units V min V max mA max
Meets test 17 spec at TJ e 25 C and l(F1 14V bF1 18V ) F1 18V l k0 01 l(F1 24V bF1 18V ) F1 18V l k0 01
16
O
17 18 19 20 21 22 23 24 Carrier I O output current IO Carrier I O lower swing limit VALC THD of IO (Note 6) FSK deviation F2 b F1 Data In low input voltage VIL Data In high input voltage VIH Data In low input current IIL Data In high input current IIH
Pin 15 Pin 12 high IQT is IQ through pin 15 and the average current IODC of the Carrier I O through pin 10 100X load on pin 10 Pin 10 Set internally be ALC 2N2222 diode pin 8 to 9 Q of 10 tank driving 10X line 100X load no tank
et
18 22 08 28 1
b2 b 20 b1
10 b 4
e
44 20 41 50 V min V max X V max V min mA min mA max 0 10 b 4 10 10 mA min mA max ms bit kHz min kHz max PPM C
g5 0
% max
79
70 47 06 55 44 17 21
b1
45 40 57 50 9 37 52 08 28
b 10
mApp min V min V max % max % max % min % max V max V min mA min mA max 0 mA min mA max
1
b1
10
Receiver Electrical Characteristics (Note 3) The test conditions are V a e 18 V FO e 125 kHz g 2 2% deviation FSK FDATA e 2 4 kHz VIN e 100 mVpp in the receive mode unless otherwise noted
Parameter 25 26 27 28 Supply voltage V a range Supply current IQT Carrier I O input resistance R10 Max data rate FMD Conditions Functional receiver (Note 7) IQT is pin 15 (V a ) plus pin 10 (Carrier I O) current 2 4 kX Pin 13 to GND Pin 10 Functional receiver (Note 7) CF e 100 pF RF e 0X no tank 2 4 kHz e 4 8 kBaud CF e 100 pF RF e 0 X CF e 100 pF RF e 0 X For a functional receiver (Note 8) Referred to chip side (pin 10) of the line-coupling XFMR FO e 50 kHz FO e 300 kHz Referred to line side of XFMR (assuming a 7 07 1 XFMR) FO e 50 kHz FO e 300 kHz Pin 10 lower than pin 15 by VINDC Pin 12 leakage I s 20 mA Pin 12 sat voltage at IOL e 2 mA Pin 13 charge and discharge current Pin 6 Typical 12 37 11 19 5 10 Test Limit (Note 4) 13 30 5 14 14 30 48 24 Design Limit (Note 5) 13 5 28 Limit Units V min V max mA min mA max kX min kX max kBaud
29 30 31
PLL capture range FC PLL lock range FL Receiver input sensitivity SIN
g 40 g 45
g 15 g 15
g 10
% min % min
32 33 34 35 36 37 38 39 40 41 42 43
Tolerable input dc voltage offset range VINDC Data Out breakdown voltage Data Out low output VOL Impulse noise filter current II Offset hold cap bias voltage VCM Offset hold capacitor max drive current IMCM Offset hold bias current IOHB Phase comparator current IPC
et
g 55 g 45 g 85
Pin 6 V(pin 3) b V(pin 4) e g 250 mV Pin 6 TX mode Bias pin 6 as it selfbiased during test 31 Bias pins 3 and 4 at 8 5 V IPC e I(pin 3) a I(pin 4) TX mode
bs ol
100 10 Pins 3 and 4 RPD e (V 100mA b V 50mA) (50mA) Pin 3 to 4 measured after filtering out the 2FO component 100 VPIN3 b VPIN4 e g VWINDOW a DC offset Drive for g 1 mA pin 6 current CL e 0 1 mF PSRR e CMRR 120 Hz 0 95 80
Fast offset cancel voltage window -to-VPD ratio VW VPD Power supply rejection PSRR
Note 1 More accurately the maximum voltage allowed on pin 10 is VOC and VOC ranges from 41 to 50V Also transients may reach above 60V see the transient peak voltage characteristic curve Note 2 The maximum power dissipation rating should be derated for device operation above 25 C to insure that the junction temperature remains below the maximum rating Use a iJA of 75 C W for the N package using a socket in still air (which is the worst case) Consult the Application Information section for more detail Note 3 The boldface values apply over the full junction temperature range for the specified supply voltage range All other numbers apply at TA e TJ e 25 C Pin numbers refer to LM1893 LM2893 tested by shorting Carrier In to Carrier Out and testing it as an LM1893
Note 4 Guaranteed and 100% production tested Note 5 Guaranteed (but not 100% production tested) over the temperature and supply voltage ranges These limits are not used to calculate outgoing quality levels Note 6 Total harmonic distortion is measured using THD e IRMS (all components at or above 2FO) IRMS (fundamental)
Note 7 Receiver function is defined as the error-free passage of 1 cycle of 50% duty-cycle 2 4 kHz square-wave data (2 sequential 208 mS bits) with the first bit being a 1 All of the data transitions (edges) must fall within g 10% ( g 20 8 ms) of their noise-free positions RX time delay is minimized by using no impulse noise filter cap CI for this test
Note 8 During the sensitivity check note 7 requirements are followed with these exceptions (1) data rate FDATA e 1 2 kHz (2) all of the data transitions must fall bit or 208 ms (CI is within g 20% ( g 41 6 ms) of their noise-free positions and (3) a time-domain filter capacitor (CI) is used The time delay of CI is approximately 6200 pF) Note 9 For TTL compatibility use a pull-up resistor to increase min VOH to above 2 8 V
e
2 01 55 70 0 15 04 20 13 35
g 55 g 25 g 80
18 20 14 0 26 0 29 0 20
10
12
V max
mA min mA max V min V max mA min mA max nA min nA max mA min mA max kX min kX max mVpp min mVpp max V V min V V max dB min
b0 5
b 20
b 40
40
50 200 6 18 60 180 0 70 1 20
O
ALC Voltage vs Junction Temperature
bs ol
Transmitter AC Output Current vs Junction Temperature ICO Frequency vs Junction Temperature 4
et
Transmitter Sinusoid THD vs Junction Temperature Transmitter FSK Deviation vs Junction Temperature
TL H 6750 38
(Continued)
bs ol
Impulse Noise Filter Current vs Junction Temperature Phase Detector Output Voltage vs Junction Temperature Offset Hold Cap Bias Current vs Junction Temperature Data Out Low Voltage vs Pull Down Current 5
et
Offset Hold Cap Charge Currents vs Junction Temperature Pin 7 Bias Voltage vs Junction Temperature
TL H 6750 39
Application Information
THE DATA PATH The BI-LINETM chip serves as a power line interface in the carrier-current transceiver (CCT) system of Figure 3 Figure 4 shows the interface circuit now discussed The controller may select either the transmit (TX) or receive (RX) mode Serial data from the controller is used to generate a FSKmodulated 50 to 300 kHz carrier on the line in the TX mode In the RX mode line signal passes through the coupling transformer into the PLL-based receiver The recreated serial bit stream drives the controller With the IC in the TX mode (pin 5 a logic high) baseband data to 5 kHz drive the modulators Data In pin to generate a switched 0 978I 1 022I control current to drive the low TC triangle-wave current-controlled oscillator to g 2 2% deviation The tri-wave passes through a differential attenuator and sine shaper which deliver a current sinusoid through an automatic level control (ALC) circuit to the gain of 200 current output amplifier Drive current from the Carrier I O develops a voltage swing on T1s (Figure 4 ) resonant tank proportional to line impedance then passes through the step-down transformer and coupling capacitor CC onto the line Progressively smaller line impedances cause reduced signal swing but never clipping-thus avoiding potential radio frequency interference When large line impedances threaten to allow excessive output swing on pin 10 the ALC shunts current away from the output amplifier holding the voltage swing constant and within the amps compliance limit The amplifier is stable with a load of any magnitude or phase angle In the RX mode (pin 5 a logic low) the TX sections on the chip are disabled Carrier signal broad-band noise transient spikes and power line component impinge of the receivers input highpass filter made up of CC and T1 and the tank bandpass filter In-band carrier signal band-limited noise heavily attenuated line frequency component and attenuated transient energy pass through to produce voltage swing on the tank swinging about the positive supply to drive the Carrier I O receiver input The balanced Norton-input limiter amplifier removes DC offsets attenuates line frequency performs as a bandpass filter and limits the signal to drive the PLL phase detector differentially The differential demodulated output signal from the phase detector containing AC and DC data signal noise system DC offsets and a large twice-the-carrier-frequency component passes through a 3-stage RC lowpass filter to drive the offset cancel circuit differentially The offset cancelling circuit works by insuring that the (fixed) g 50 mV signal delivered to the data squaring (slicing) comparator is centered around the 0 mV comparator switch point Whenever the comparator signal plus DC offset and noise moves outside the carefully matched g 50 mV voltage window of the offset cancel circuit it adjusts its DC correction voltage in series with the differential signal to force the signal back into the window While the signal is within the g 50 mV window the DC offset is stored on capacitor CM By grace of the highly non-linear offset hold capacitor charging during offset cancelling the DC cancellation is done much more quickly than with an AC coupling capacitor normally used in place of the offset cancel circuit Since impulse noise spikes normally ring the signal symmetrically around 0 V the fully bilateral offset cancel topology affords excellent noise rejection The switched current output of the comparator drives the impulse noise filter integrator capacitor that rejects all data pulses of less than the integrator charge time Noise appears as duty-cycle jitter at the open collector serial data output
Dual-In-Line Package
Top View Order Number LM1893N See NS Package Number N18A Small Outline
TL H 6750 2
Dual-In-Line Package
bs ol
Top View 6
et
Order Number LM2893M or LM2893N See NS Package Number M20B or N20A FIGURE 2 Connection Diagrams FIGURE 3 The block diagram of a carrier-current system using the Bi-Line chip to interface digital controllers via the power line
Unless otherwise noted all pin references refer to LM1893 but hold true for equivalent LM2893 pin
e
TL H 6750 41 TL H 6750 3
O
Application Information (Continued)
bs ol et e
TL H 6750 4
FIGURE 4 Block diagram of a CCT system with the boost and 5V supply options shown in dashed boxes
Notes
Depending on RF value and FO PLL unstable with large CF See Apps Info CF and RF values not critical
t 250 V non-polar Use 2CC on hot and neutral for max line isolation safety
100 V nonpolar low TC g 10% High large-signal Q needed Optimize for low FO line pull with control of FO TC and Q RA optional ALC stable for CAt100 pF
Rejects short pulses Less impulse reject less like impulse noise delay more pulse jitter Open-col pull-up 5 6 V Zener bias Transient clamp Less available sink I Larger shunt current more chip dissipation
FIGURE 5 A quick explanation of the external component function using the circuit of Figure 4 Values given are for V a e 18 V FO e 125 kHz fDATA e 360 Baud (180 Hz) using a 115 V 60 Hz power line
O
Component Selection
Assuming the circuit of Figure 4 is used with something other than the nominal 125 kHz carrier frequency 180 Hz data rate 18V supply voltage etcetera the component values listed in Figure 5 will need changing This section will help direct the CCT designer in finding the required component values with emphasis placed on look-up tables and charts It is assumed that the designer has selected values for carrier center frequency FO data rate fDATA supply voltage V a power line voltage VL and power line frequency FL If one or more of those parameters is not defined one may read the data sheet and make an educated guess Maxims to keep in mind based on CCT electrical perform8
bs ol
Transient I limit Over-drive Clamp ZT failure higher series R-excess peak V Zener and chip damage less ruggedness Damage ZT pull up V a Failure on Transient ZT costly lower series R gives enhanced transient clamp more ruggedness Excessive TX attenuation Costly Base bleed Boost gain device Current setting R Faster lower THD IO Excessive TJ and VSAT More IO need higher hfe Inadequate turn-off speed More rugged but costly Less IO lower min hfe Less supply spike ALC RX charging not inhibited over TJ Supply bypass Transients destroy chip Stop ALC charge in RX mode Excess ALC current flow THE TRANSMITTER CO
et
Less available source I RCt1 5 kX on 5 6 V Smaller shunt current less V a current draw Recommend Zener rated for t500 W for 1 ms V a never over abs max ZA optional - 5 1V g 20% low leakage type
Less noise immune shorter More noise immune longer Low leakage g 20% cap VOS hold faster VOS aqui- VOS hold slower VOS aqui- Scale with fDATA sition shorter preamble sition longer preamble
More impulse reject more CI charge time bit nom delay less pulse jitter Must be k1 bit worst-case 1kIZk30 mA recommended (Chip power-up needs 5 6 V)
ance considerations only are 1) the higher the FO the better 2) the lower the maximum data rate the better and 3) the more time and frequency filtering the better Use Figure 5 as a quick reference to the external component function
Central to chip operation is the low TC of FO emitter-coupled oscillator With proper CO the FO of the 2VBE amplitude triangle-wave oscillator output may vary from near DC to above 300 kHz While CO may have any value CO should
e
Any reasonably low TC cap 300 pF guarantees stability Carbon comp recommended IRF 11DQ05 or 1N5819 Boost optional QB F(b3 dB) of l200 MHz RB l 24 Ohm IO e 70 (10 a RG) RG mApp
bs ol
TL H 6750 5
et
TL H 6750 8
O
Bottom View
TL H 67506 TL H 6750 7 TL H 6750 9
FIGURE 7 The recommended T1 transformers available through Toko America 1250 Feehanville Drive Mount Prospect IL 60056 (312) 297-0070
e
FIGURE 8 Find COs value given FO
300 kHz Toko 161XN-A207YUK
TL H 6750 10
TL H 6750 12
FIGURE 9 CCs impedance should be as a rule-of-thumb smaller than the lowest expected line impedance RG
O
QB ZT
This resistor in parallel with the internal 10X resistor fixes the current gain of the output amplifier and so the output current amplitude Figure 11 gives output current and minimum AC current gain hfe for QB when RG is used to boost output current
bs ol
TL H 675011
The boost gain transistor QB must be fast Double-diffused devices with 50 MHz FTs work slower transistors (epi-base types) do not preserve a sinusoidal waveform when FO is high or will cause the output amp to oscillate QB must have a certain minimum hfe for given boost levels as shown in Figure 11 Figure 12 shows the power QB must dissipate continuously operating with a shorted output BVCER (R e RB) must be 60V or greater and QB must have adequate SOA for transient survival Unfortunately potentially damaging transient energy passes through transformer T1 onto the Carrier I O pin (instanta10
et
FIGURE 11 Output amplifier current and required min QB hfe versus gain-setting resistor RG
FIGURE 12 Boost transistor power dissipation versus amplifier output current ZT must be used unless some precaution is taken to protect the Carrier I O pin from line transients or transients caused when stored line energy in CC is discharged by the random phase of power line connection and disconnection Worst case CC may discharge a full peak-to-peak line voltage into the tuned circuit Another way to reduce the need for ZT is by placing another magnetic circuit in the signal path that relies on a high but easily saturated permeability to couple a primary and secondary winding - a toroidal transformer for example Toroids cost more than ZT Use an avalanche diode designed specifically for transient suppression they have orders of magnitude higher pulse
e
TL H 6750 13 TL H 6750 14
bs ol
11
This Schottky diode is placed in parallel with the CCT chips substrate diode to pass the majority of the current drawn from ground when the Carrier Input or Carrier Output is pulled below ground by a larger-than-twice-the supply-swing on the tank Note that ZT is in parallel with the substrate diode but is ineffective due to its high forward voltage drop and high diffusion capacitance caused by its low forward speed Tests proved that a 1N5818 kept a receive-path functional with a 20X boost transmitter with a 7 1 transformer attempted to swing the receivers Carrier I O to g 100V (300 mA peak ground current in the receiver) Without DT the receiver momentarily stops functioning at a 100 times lower ground current This diode is not needed if the Carrier I O never swings below ground If your CCT systems all run on the same regulated voltage with all matched transformers and turns ratios it is not needed Otherwise it is THE RECEIVER The receiver and transmitter share components CC T1 CQ RT ZT CO RO and peripheral supply and bias components that are not in need of change for RX mode operation Values for the balance of the components are now found
et
FIGURE 14 The 60 Hz line rejection of the highpass filter made up of CC and T1s line-side winding (neglecting capacitive coupling)
Line-Frequency Rejection To use the ultimate sensitivity of the device fully 110 dB of 115 V 60 Hz attenuation is required between the line and the limiter amplifier output Using the circuit topology of Figure 4 the combined attenuation of the CC T1 highpass the tuned transformer and the bandpass filter attenuation of the limiter amplifier give far more line rejection than the above-stated minimum However if some other CCT line coupling circuit is used line rejection will become important to the system designer Receiver input power supply rejection (PSRR) and commonmode rejection (CMRR) are one-in-the-same using the supply-referenced signal input of Figure 4 Ripple swings both
FIGURE 15 Given FO CL is found Also shown is the input amplifiers small signal amplitude response
TL H 6750 15
TL H 6750 16
TL H 6750 17
TL H 675018
TL H 675019
No CF and RF give the most stable PLL with the fastest response Large CFs with a too-small RF cause PLL loop instability leading to poor capture range and poor step response or oscillation Calculation of CF and RF is quite difficult involving not only the 2nd-order loop step response but also the PLL nondominant poles the tuned transformer stepped-frequency response and the RC lowpass step response (for data rates approaching 1 kHz) CF and RF values are best found empirically Tolerance is not critical Component values are selected to give the best possible impulse noise rejection while preserving a g 20% capture range and wide stability margin Figures 17 and 18 give CF and RF values versus FO where fDATA kk MAX DATA RATE means that fDATA should be less than the maximum data rate in kHz from Figure 19 divided by 10 Note that CF and RF are a function of data rate only for high data rates and are not plotted against data rate - as one might expect The reason for this is important to understand if the CCT system designer wishes to find CF and RF empirically Data signal is loosely speaking passed through the PLL loop and is therefore potentially attenuated if the loop bandwidth is on the order of the 3rd harmonic of the data rate or less Overall loop bandwidth is held as low as possible for maximum noise rejection while passing the data Loop bandwidth is roughly proportional to the geometric mean of the unfiltered loop bandwidth and the filter pole set by CF Therefore CF is related to data rate Unfortunately the loop capture range falls to critically low values when large enough values of CF are used to reduce loop bandwidth down to the 100s of Hz range for low data rates The
bs ol
12
Capacitor CM stores a voltage corresponding to a correction factor required to cancel the phase detector differential output DC offsets The stored voltage is of the DC offset plus some bias level of about 2 2 V A large CM value increases the time required to bias-up the receive path at the beginning of transmission A large CM does filter well and store its bias voltage long Because of the initial random charge of CM the receiver must be given a data transition to charge to the proper bias voltage Therefore reducing CMs value to one that may be charged in less than 2 bit-times will not save biasing time and is not recommended
et
FIGURE 19 The maximum data rate versus FO using loop filter components optimized for max noise performance while retaining a min g 20% capture range (large signal) Use Figure 20 to find CMs value knowing fDATA assuming the standard 2 bit receive charge time is desired The cap value and TC are not critical but the capacitor should have low leakage
e
TL H 6750 20 TL H 6750 21
FIGURE 16 The Norton-input limiter amplifier bandpass filter line-frequency signal attenuation given CL
TL H 6750 22
FIGURE 20 Size CM assuming a 2 bit-time receive bias time CI The impulse noise filter integrator capacitor CI is used to disallow the passage of any pulse shorter than the integrator charge time That charge time set to a nominal bit time is the time required for a g 50 mA charge current to swing CI over a 2 VBE range Charge time under worst case conditions must never be greater than a bit time since no signal could then pass Using a g 10% capacitor full junction temperature range and full specified current range a maximum nominal charge time of bit is recommended Figure 21 gives CI versus data rate under those conditions RC The collector pull-up resistor is sized to supply adequate pull-up current drive and speed while preserving adequate output low current drive
FIGURE 21 Impulse noise filter cap CI versus FDATA where the charge time is bit time
O
TL H 6750 25
FIGURE 22 Circuit to view the differential demodulated data signal minus the noise and 2FO components conveniently with a single-ended gain-of-one output
bs ol
TL H 6750 24
et
Breadboarding Tips
13
During CCT system evaluation some techniques listed below will simplify certain measurements Use caution when working on this circuit - dangerous line voltages may be present When evaluating PLL operation offset cancel circuit operation and loop filter values use the filter of Figure 22 to view the demodulated signal minus the 2FO and noise components This filter models the RC lowpass filter on chip
TL H 6750 26
Figure 24 shows some typical signals beginning with serial data transmitted to received signal
Thermal Considerations
It is desirable to place the largest possible signal on the power line for maximum range limited only by the chip power dissipation and maximum junction temperature TJ The falling output power at elevated TJ allows a more optimal power output - high power at low TJ and lower power at high TJ for chip self-protection However it is still possible to exceed the maximum TJ within the specified ambient temperature limit (TA e 85 C) under worst case conditions of 100% TX duty cyle high supply shorted load poor PC board layout (with small copper foil area) and an above nominal current part Under those conditions a part may dissipate 2140 mW reaching a TJ e 170 C worst-case (admittedly a rare occurrence) Proper system design includes the measurement or calculation of TJ max to guarantee function under worst-case operation Like all devices with failure modes modeled by the Arrhenius model the high chip reliability is further enhanced by keeping the die temperature mercifully below the absolute maximum rating A direct method of measuring operating junction temperature is to measure the VBE voltage on pin 18 which is always available under all operating modes The graph of Figure 25 may be used to find TJ knowing VBE at the operating point in question and VBE at TA e TJ e 25 C VBE is found by powering up a chip (in RX mode) that has been dissipating zero power at some TA for some time and measuring VBE in less than 1 s (for better than 5 C accuracy) Alternately TJ may be calculated using (1) TJ e TA a iJAPD where iJA is 75 C W for the plastic (N) package using a socket That iJA value is for a high confidence level nomi-
Tuning Procedure
This procedure applies to circuits similar to Figure 4 LM1893 or LM2893 circuit First trim FO by putting the chip in the TX mode setting a logical high data input and measuring the TX high frequency 1 022 FO on the Carrier I O using these steps 1 Take pin 17 to a logic low 2 Take pin 5 to a logic high 3 Place a counter on pin 10 4 Adjust RO on pin 18 for F e 1 022FO Second the line transformer is tuned The chip is placed in the TX mode a resistive line load is connected to disable the ALC by reducing tank voltage swing below its limit FSK data is then passed through the tank so that the tank envelope may be adjusted for equal amplitude for high and low data frequency 1 Take pin 5 to a logic high 2 Place a logic-level square wave at or below the receivers maximum data rate on pin 17 3 Temporarily place a 330 X resistor across the tank 4 Place a scope on pin 10 5 Adjust the transformer slug for the least envelope modulation In lieu of the 330 X resistive load T1 may be coupled to the power line to better simulate actual load and tank pull conditions during tank tuning Alternatively a passive network
O
TL H 6750 23
FIGURE 24 Oscillogram revealing signals at several important nodes under weak signal (0 5 mVRMS) conditions with SCR spikes on an otherwise quiet 115 V 60 Hz power line The signals are 1) transmitted data 2) RX carrier on the tuned transformer 3) demodulated signal from the PLL after passing thru circuit of Figure 22 4) signal after RC lowpass 5) data at impulse noise filter integrator and 6) received data Horizontal scale is 10 ms per div
bs ol
14
et
Thermal Considerations (Continued) nal iJA for an N package is 60 C W lower with good PC board layout Since PD is a relatively strong function of TJ an iterative solution process starting with an initial guess for TJ is used With the estimated TJ find the total supply current found in the typical performance characteristics
TL H 6750 27
FIGURE 25 TJ may be found by using the temperature coefficient of pin 18 VBE if VBE is known at 25 C
O
decay time e
An important figure-of-merit for a half-duplex CCT link affecting effective data rate is the TX-to-RX switch time TTR Using the recommended component values gives this part a nominal 2 bit-time (1 bit time e 1 2fDATA ) over a wide range of operating conditions where the receiver requires 1 data transition TTR cannot be decreased significantly but does increase as noise filtering especially via CM is increased Impulse noise at switch signals near the limiting sensitivity poor FO match between receiver and transmitter because of poor trim or worst-case conditions and the statistical nature of PLL signal acquisition may all contribute to increase TTR to possibly 4 bit-times TTR is lower when a pair of LM1893s handshake rapidly The receiver was designed to remember the RX-mode DC operating points on CM and CF while in the TX mode Under noisy worst case conditions CM will discharge to the point of false operation after 35 bit-times in the TX mode (1400 bit times with no noise and a nominal part fDATA e 180 Hz) TTR is about 0 8 ms (proportional to the selected FO) plus bit-time The major components of TTR are described below for a nominal 125 kHz FO 180 Hz fDATA lightly-loaded tank with a Q of 20 and the circuit of Figure 4 The remote CCT has been operating in the TX mode with a 26 6 VPP tank swing and is now selected as a receiver An incoming signal requiring the ultimate receiver sensitivity immediately is placed on the line First the tank stored energy at the transmit frequency must decay to a level below the 2 8 mVPP swing caused by the 0 14 mVRMS incoming line signal containing the information to be received
qc
That is 0 47 ms of delay (proportional to I FO and Q) Second the PLL must acquire the signal it must lock and settle Acquisition time is statistical and may take any length of time but average acquisition time depends on the loop filter components CF and RF and the difference in center frequencies DFO of the TX RX pair Using the recom15
bs ol
qFO
ln V1
e
O
e 0 466 ms
et
Power Line Impedance
(2)
Assume the chip has been in the RX mode and the TX mode is now selected In less than 10 ms full output current is exponentially building tank swing 50% of full swing is achieved in less than 10 cycles - or under 80 ms at 125 kHz In the same 10 ms that the output amp went on the phase detector and loop filter are disconnected and the modulator input is enabled FSK modulation is produced in 10 ms after switching to TX mode
Irrespective of how wide the limits on power line impedance ZL are placed there are no guarantees However since the CCT design requires an estimate of the lowest expected line impedance ZLN encountered for the most efficient transmitter-to-line coupling line impedance should be measured and ZL limits fixed to a given confidence level Reasonable values for T1 turns ratio loaded Q and tank resonant frequency pull FQ may be found to enable a CCT system design that functions with the overwhelming majority of power lines A limited sampling of ZL was made during the LM1893 design of residential and commercial 115V 60 Hz power line Data was also drawn from the research of Nicholson and Malack (reference 1) among others to produce Figures 26 and 27 All measured impedances are contained within the shaded portions of Figure 27 A nominal 3 5 7 0 and 14 X ZLN is used throughout the application information with a nominal 45 phase angle (0 is sometimes used for simplicity)
FIGURE 26 Measured line impedance range for residential and commercial 115V 60 Hz lines
mended CF and RF (47 nF and 6 2 kX) with a g 4 4% DFO (a g 100 mV DC offset on CF and RF) lock was measured to take less than 50 cycles of FO That is a 0 40 ms delay (proportional to 1 FO) Acquisition is incomplete until the second order PLL loop settles For the above-mentioned CF and RF the loop natural frequency FN and damping factor are found to be 2 3 kHz and 1 0 respectively Settling to within g 25 mV of the g 100 mV DC offset change requires 2 7 periods of FN or 1 2 ms (a function of CF and RF) Third the RC lowpass filter introduces a 0 12 ms delay Fourth CM must charge up to g ( )100 e 83 mV depending on the polarity of FO Borderline data squaring with zero noise immunity is possible with only g ( ) 50 mV of charging CM charge current is an asymptotic function approximated by assuming a 50 mA charge current and the full 83 mV charge voltage CM charge time is then 1 7 ms (proportional to 1 fDATA) Fifth the impulse noise filter adds a bit-time delay Total TTR is 3 9 ms plus bit-time for a total of 1 9 bit-times at 360 Baud
TL H 6750 28
TL H 675029
TL H 6750 30
TL H 6750 31
O
The Coupling Transformer
FIGURE 28 An isolation network to prevent 1) noise from some device from polluting the AC line and 2) to stop some low impedance device (measured at Fo) from shorting carrier signal Component values given as an example for Fo e 125 kHz on residential power lines
The design arrived at for T1 is the result of an unhappy compromise - but a workable one The goals of 1) building
bs ol
TL H 675040
16
et
FIGURE 29 Impressed line voltage for a given ZL for each of the 3 taps available on the recommended transformers PO e IOVO e IOPP 2(bVALC a V a ) (b4 7 a V a )IO e (5) 2 02 2 02 4 where IO is in amps peak-to-peak at an elevated TJ (18 b 4 7) 0 06 e 0 200 W PO e (6) 4 VO2 (bVALC a V a )02 e e 442 X (7) RQ ll lZLNl e PO IO RQ is found using ZLN and the value for N found when assuming QU e 35 (8) lZLNl e N2 ZLN e (7 07)2 13 9 e 695 X 1 1 e e 1210 X (9) RQ e 1 1 1 1 b b RQ ll lZLNl lZLNl 442 695 RQ 1210 e e1X RQS e (10) 1 a QU2 1 a 352 Only QL remains to be found to calculate L1 QL is related to the b3 dB (half-power) bandwidth by 1 (11) QL e BW (% of FO) An iterative solution is forced where line pull DFQ must be guessed to find QL and L1 L1 is then used to check the line pull guess a large error requires a new guess Try a BW of 8 7% - that is 4 4% for deviation 1% for TC of FO and 3 3% for DFQ - giving QL e 11 5 442 e 49 0 mH (12) L1 e 2q c 125 000 c 11 5 Knowing the core inductance per turn L and L1 the number of turns is found T1 e
O
0 L 020 nH T
L1
e
T is normally an integer but these transformers require so few turns that half-turns are specified remembering that the remaining turn is completed on the P C board and is loosely coupled The secondary turns are calculated
T1 49 5 e e 7 00 e 7 turns T2 e (15) N 7 07 giving an L2 of 0 98 mH Note that the recommended 125 kHz transformer mirrors these specifications The resonating capacitor is CQ e 1 e 33 1 c 10 b 9 e 33 nF (2qFQ)2 L1 (16)
bs ol
49 0 mH
e 49
turns
et
Audio Transmission
(13)
The LM1893 is designed to allow analog data transmission and reception Base-band audio-bandwidth signals FM modulate the carrier passing through the tuned transformer (placing a limit on the usable percent modulation) onto the power line to be linearly demodulated by the receiver PLL Because the receiver data path beyond the phase detector will pass only digital signal external audio filtering and amplification is required Figure 31 shows a simple audio transmitter and receiver circuit utilizing a carrier detection mute circuit A single LM339 quad comparator may be used to build the carrier detect and mute Filter bandwidth is held to a minimum to minimize noise especially line-related correlated noise
17
While the addition of a carrier detection circuit (for a mute or squelch function) will only decrease receiver ultimate sensitivity there is sometimes good reason to employ it to free the controller from watching for RX signal when no carrier is incoming or to employ it to reduce the probability of line collisions (when multiple transmitters operate simultaneously to cause one or more transmissions to fail) Unless the detector is heavily filtered or uses a high carrier amplitude threshold there will be false outputs that force the controller to have Data Out data checking capability just as is required when using no carrier detector If false triggering is minimized the probability of line collisions is increased due to the inability to sense low carrier amplitudes and because of sense delay The property of the LM1893 to change output state infrequently (although the polarity is undefined) when in the RX mode with no incoming carrier reduces the desire to implement carrier detection and preserves the full ultimate sensitivity Also many impulse-noise insensitive transmission schemes like handshaking are easily modified to recover from line collisions Regarding this it should be stated that for very complicated industrial systems with long signal runs and high line noise levels it is probably wise to use a protocol which is inherently collision free so that no carrier detect hardware or software is needed A token passing protocol is an example of such a system
FIGURE 30 A simple carrier amplitude detector with output low when carrier is detected
bs ol
18
FIGURE 31 A simple linear analog audio transmitter and receiver are shown The carrier and 1 6V inputs are derived from the carrier detector of Figure 30 The remaining 2 LM339 comparators may be used to build the carrier detector circuit
sion in a system Its first purpose is to put data in a baseband digital form that is more easily recognized as a real message at the receive end Secondly it incorporates encoding techniques to ensure that noise induced errors do not easily occur and when they do they can always be detected Lastly the software algorithms that are used on the receive end to decode incoming data prevent the reception of noise induced phantom messages and insure the recovery of real messages from an incoming bit stream that has been altered by noise 2 System protocol the manner in which messages are coordinated between nodes in a system Its first purpose is to
et
TL H 6750 34
ensure message retransmission to correct errors (handshake) Secondly it coordinates messages for maximum utilization and efficiency on the network Lastly it ensures that messages do not collide on the network Common system protocols include master-slave carrier detect multiple access and token passing Token passing and master slave have been found to be the most useful since they are inherently collision free Both protocols usually reside as software in a single microcontroller that is connected to the LM1893 2893 I O In any case some sort of intelligence is needed to process incoming and outgoing messages UARTs have no usefulness in
e
TL H 6750 33
transmission using a random number of bits delay or a delay based on each transmitters address since each transceiver has a unique address An example of a simple transmission data packet is shown in Figure 32 The 8 bit 50% duty-cycle preamble is long enough to allow receiver biasing with enough bits left over to allow the receiver controller to detect the square-wave that signals the start of a transmission If there had been no transmission for some time the receiver would simply need to note that a data transition had occurred and begin its watch for a square-wave If the receive controller detected the alternating-polarity data square-wave it would then use the sync bit to signal that the address and data were immediately following The address data would then be loaded assuming the fixed format and tested against its own If the address was correct the receiver would then load and store the data If the address was not correct either the transmission was not meant for this receiver or noise has fooled the receiver In the former case when the transmission was not meant for the receiver the controller should immediately return to watching the incoming data for its address If the later case were true then the receive controller would continue to detect edges tieing itself up by loading false data and being forced to handshake The square-wave detection and address load and check routines should be fast to minimize the time spent in loops after being false-triggered by noise If the controller detects an error (a received data bit that does not conform to the pre-defined encoding format) it should immediately resume watching the LM1893s Data Out for transmissions the next bit would be shifted in and the process repeated A line-synchronous CCT system passing 3 bits per half-cycle may replace the long 8 bit preamble and sync pulse with a 2 bit start-of-transmission bias preamble The receive controller might then assume that preamble always starts after bit 1 (the first bit after zero-crossing) so that any data transition at a zero crossing must be the start of the address bits and is tested as such The line synchronous receiver operates with a simpler controller than an asynchronous system Discussion has assumed that the controller has always known when the Data Out is high or low The controller must sample at the proper time to check the Data Out state Since noise shows itself as pulse width jitter symmetrically placed about the no-noise switch-points optimum Data Out sampling is done in the center of the received data pulse The receive data path has a time delay that at low data rates is dominated by the impulse noise filter integrator and is nominally bit At a 2 kHz data rate an additional delay of approximately bit is added because of the cumulative delay of the remainder of the receiver Figure 33 shows that Data Out sampling occurs conveniently at the transmitted
O
19
bs ol
Basic Data Encoding (please refer to the previously mentioned publications for advanced techniques) At the beginning of a received transmission the first 0 to 2 bits may be lost while the chips receiver settles to the DC bias point required for the given transmitter receiver pair carrier frequency offset With proper data encoding dropped start bits can be tolerated and correct communication can take place One simple data encoding scheme is now discussed Generally a CCT system consists of many transceivers that normally listen to the line at all times (or during predetermined time windows) waiting for a transmission that directs one or more of the receivers to operate If any receiver finds its address in the transmitted data packet further action such as handshaking with the transmitter is initiated The receiver might tell the transmitter via retransmission that it received this data waiting for acknowledgement before acting on the received command Error detecting and correcting codes may be employed throughout The transmitter must have the capability to retransmit after a time if no response from the receiver is heard - under the assumption that the receiver didnt detect its address because of noise or that the response was missed because of noise or a line collision (A line collision happens when more than 1 transmitter operates at one time - causing one or more of the communications to fail) After many re-transmissions the transmitter might choose to give up Collision recovery is achieved by waiting some variable amount of time before re-
FIGURE 32 A simple encoded data packet generated by the transmit controller is shown The horizontal axis is time where 1 bit time is 1 (2fDATA)
et
TL H 6750 35
TL H 675036
FIGURE 33 Operating waveforms of a linesynchronized transceiver pair are shown The diagram shows how the transmitted data transitions may be used as received data sampling points data edges for the line synchronous data transmission scheme mentioned in the previous paragraph With the asynchronous system suggested the receive controller must sample the Data Out pin often to determine with several bits of accuracy where the square-wave data transitions take place average their positions assuming a known data rate and calculate where the center of the data bits are and will continue to be as the address and data are read A long preamble is helpful Software that continuously updates the center-of-bit time estimate as address and data are received works even better Alternatively a coding scheme employing an embedded clock can be used
bs ol
20
et
Because the coupling transformer is used as a filter the LM1893 circuit is susceptible to pulling of the center frequency under conditions of changing line impedances or when several LM1893 circuits are close in proximity on the AC line Because the tuned transformer has a high value of Q ringing also occurs in the presence of impulsive noise This ringing occurs at the center frequency and increases the error rate of transmissions especially at relatively high data rates (l2000 baud) Because it is the only tuned circuit in the system the selectivity characteristics leave a lot to be desired The LM2893 having separate receive input and transmit output pins removes the limitations on coupling transformer design allowing the design of circuits devoid of the previous limitations The first enhancement that can be made with the LM2893 circuit is the use of a high permeability ferrite toroid for line coupling along with a separate filter The transformer would be of broadband design (untuned) with two secondaries one for coupling to the transmit output and one for coupling to the receive input This allows impedance matching of both the transmitter and receiver with the result of quite a bit more receive sensitivity Because of the increased signal and separate receive signal path a 3 or 6 db pad can be used before the selective stages to eliminate pulling of the center frequency due to changes in line impedance Another advantage of the toroidal transformer is that it can be designed for use at very low line impedances due to its inherent tight coupling SEPARATE FILTER Because of the separate receive path of the LM2893 a relatively high quality bandpass filter can be used for selectivity Inexpensive ceramic filters are available that have bandpass and center frequency characteristics compatible with carrier current operation Futhermore the use of these filters allows multichannel operation previously made difficult by the single tuned network of the LM1893 These filters are easily cascaded for even more off-frequency rejection If the pad is added before the filter there will be negligible pulling due to changes in line impedance reflected through the coupling transformer Alternatively a Butterworth Chebyshev bandpass LC filter or an active filter can be used in place of the ceramic filter IMPULSE NOISE BLANKER Although the LM2893 has adequate impulse noise rejection for most applications there is reason to employ impulse blanking to improve error rates in severe AC line environments Typically errors occur due to pulse jitter in the LM1893 2893 data output that originates when the internal time domain filter smooths out an incoming noise pulse The solution involves removing the impulse completely and not simply trying to filter it Moreover the pulse should be removed in the receive signal path before the selective portions of the circuit to eliminate ringing This also allows the receiver filter to smooth out the blanks that also occur in the desired incoming carrier signal If a carrier detect circuit is desired in conjunction with the LM2893 it can be located after the filter and impulse blanker Because impulse noise is removed the false triggering that plagues these circuits will be greatly reduced
Simplified Schematic
bs ol
21
et
TL H 6750 37
References 1 Nicholson J R and J A Malack RF Impedance of Power Lines and Line Impedance Stabilization Network in Conducted Interference Measurements IEEE Transactions on Electromagnetic Compatibility May 1973 (line impedance data) 2 Southwick R A Impedance Characteristics of SinglePhase Power Lines Conference Rec 1973 IEEE Int Symp on Electromagnetic Compatibility (line impedance data) 3 Hayt William H Jr and Jack E Kemmerly Engineering Circuit Analysis McGraw-Hill Books 1971 pp 447 453 (linear transformer reflected impedance)
4 FCC Notice of Proposed Rule Making Docket 20780 adopted Apr 14 1976 (Proposed regulation) 5 Monticelli Dennis M and Michael E Wright A Carrier Current Transceiver IC for Data Transmission Over the AC Power Lines IEEE J Solid-State Circuits vol SC-17 Dec 1982 pp 1158-1165 (LM1893 circuit description) 6 Lee Mitchell A New Carrier Current Transceiver IC IEEE Trans on Consumer Electronics vol CE-28 Aug 1982 pp 409 414 (Application of LM1893)
O
22
bs ol
et
Molded Small Outline Package (M) Order Part LM2893M NS Package Number M20B
O
Molded Dual-In-Line Package (N) Order Part LM1893N NS Package Number N18A 23
bs ol
et
Lit
107664
O
National Semiconductor Corporation 1111 West Bardin Road Arlington TX 76017 Tel 1(800) 272-9959 Fax 1(800) 737-7018
NATIONALS PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF NATIONAL SEMICONDUCTOR CORPORATION As used herein 1 Life support devices or systems are devices or systems which (a) are intended for surgical implant into the body or (b) support or sustain life and whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected to result in a significant injury to the user 2 A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness
bs ol
National Semiconductor Europe Fax (a49) 0-180-530 85 86 Email cnjwge tevm2 nsc com Deutsch Tel (a49) 0-180-530 85 85 English Tel (a49) 0-180-532 78 32 Fran ais Tel (a49) 0-180-532 93 58 Italiano Tel (a49) 0-180-534 16 80 National Semiconductor Hong Kong Ltd 13th Floor Straight Block Ocean Centre 5 Canton Rd Tsimshatsui Kowloon Hong Kong Tel (852) 2737-1600 Fax (852) 2736-9960
National does not assume any responsibility for use of any circuitry described no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications
et
National Semiconductor Japan Ltd Tel 81-043-299-2309 Fax 81-043-299-2408
Molded Dual-In-Line Package (N) Order Part LM2893N NS Package Number N20A
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are sold subject to TIs terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TIs standard warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where mandated by government requirements, testing of all parameters of each product is not necessarily performed. TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and applications using TI components. To minimize the risks associated with customer products and applications, customers should provide adequate design and operating safeguards. TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not responsible or liable for any such statements. TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in such safety-critical applications. TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated products in automotive applications, TI will not be responsible for any failure to meet such requirements. Following are URLs where you can obtain information on other Texas Instruments products and application solutions: Products Audio Amplifiers Data Converters DLP Products DSP Clocks and Timers Interface Logic Power Mgmt Microcontrollers RFID OMAP Mobile Processors Wireless Connectivity www.ti.com/audio amplifier.ti.com dataconverter.ti.com www.dlp.com dsp.ti.com www.ti.com/clocks interface.ti.com logic.ti.com power.ti.com microcontroller.ti.com www.ti-rfid.com www.ti.com/omap www.ti.com/wirelessconnectivity TI E2E Community Home Page e2e.ti.com Applications Communications and Telecom www.ti.com/communications Computers and Peripherals Consumer Electronics Energy and Lighting Industrial Medical Security Space, Avionics and Defense Video and Imaging www.ti.com/computers www.ti.com/consumer-apps www.ti.com/energy www.ti.com/industrial www.ti.com/medical www.ti.com/security www.ti.com/space-avionics-defense www.ti.com/video
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright 2011, Texas Instruments Incorporated