ONSEMI NCN49597

NCN49597
Product Preview
Power Line Carrier Modem
ON Semiconductor’s NCN49597 is an IEC 61334−5−1 compliant
power line carrier modem using spread−FSK (S−FSK) modulation for
robust low data rate communication over power lines. NCN49597 is
built around an ARM processor core, and includes the MAC layer.
With this robust modulation technique, signals on the power lines can
pass long distances. The half−duplex operation is automatically
synchronized to the mains, and can be up to 4800 bits/sec.
The product configuration is done via its serial interface, which
allows the user to concentrate on the development of the application.
The NCN49597 is implemented in ON Semiconductor mixed signal
technology, combining both analog circuitry and digital functionality
on the same IC.
http://onsemi.com
1
QFN52 8x8, 0.5P
CASE 485M
Features
•
•
•
•
•
•
•
•
•
•
•
•
•
Power Line Carrier Modem for 50 and 60 Hz Mains
Fully compliant to IEC 61334−5−1 and CENELEC EN 50065−1
Complete Handling of Protocol Layers Physical to MAC
Programmable Carrier Frequencies in CENELEC A-Band from 9 to
95 kHz; B−Band from 95 to 125 kHz, in 10 Hz Steps
Half Duplex
Data Rate Selectable:
300 – 600 – 1200 − 2400 – 4800 baud (@ 50 Hz)
360 – 720 – 1440 − 2880 – 5760 baud (@ 60 Hz)
Synchronization on Mains
Repetition Algorithm Boost the Robustness of Communication
SCI Port to Application Microcontroller
SCI Baudrate Selectable: 9.6 – 19.2 – 38.4 − 115.2 kb
Power Supply 3.3 V
Ambient Temperature Range: −40°C to +80°C
These Devices are Pb−Free and are RoHS Compliant*
MARKING DIAGRAMS
52
1
ON
ARM
XXXXYZZ
NCN 49597
C597−901
XXXX
Y
ZZ
e3
= Date Code
= Plant Identifier
= Traceability Code
ORDERING INFORMATION
See detailed ordering and shipping information in the package
dimensions section on page 27 of this data sheet.
Typical Applications
•
•
•
•
52
ARM: Automated Remote Meter Reading
Remote Security Control
Streetlight Control
Transmission of Alerts (Fire, Gas Leak, Water Leak)
*For additional information on our Pb−Free strategy and soldering details, please
download the ON Semiconductor Soldering and Mounting Techniques
Reference Manual, SOLDERRM/D.
This document contains information on a product under development. ON Semiconductor
reserves the right to change or discontinue this product without notice.
© Semiconductor Components Industries, LLC, 2011
December, 2011 − Rev. P0
1
Publication Order Number:
NCN49597/D
NCN49597
APPLICATION
Application Example
R8
3V3_A
R6
R7
12V
C7
VDDA
C6
C9
3V3_D
C17
C16
3V3_D
VDD
C8
U1
R12
12V
VCC
D1
Vuc
−B
6
MAINS
R10
12
7
5
RXD
VEE
1
13
Enable
+A
11
+B
2
20
14
BR0
15
Vcom
Rlim
GNDuC
Vwarn
RESB
R14
Tr
R2
C2
R3
D3
PC201 11120 .1
NCN49597
TX_ENB
D4
Appli
&
Metering
mC
BR1
3V3_D
R9
C5
1:2
TXD
TX_OUT
C4
3
10
C10
C11
C3
−A
9
D2
R4
R5
4
NCS5650
OutB 8
T_REQ
U2
OutA
19
RX_OUT
C1
VDD1V8
RX_IN
R1
3V3_A
SEN
REF_OUT
C15
CDREF
D5
EXT_CLK_E
Y1
C13
VSS
VSSA
C12
XTAL_OUT
ZC_IN
XTAL_I N
R11
C14
Figure 1. Typical Application for the NCN49597S−FSK Modem
Figure 1 shows an S−FSK PLC modem build around
NCN49597. For synchronization the line frequency is
coupled in via a 1 MW resistor. The Schottky diode pair D5
clamps the voltage within the input range of the zero cross
detector. In the receive path a 2nd order high pass filter
blocks the mains frequency. The corner point defined by C1,
C2, R1 and R2 is designed at 10 kHz. In the transmit path a
3th order low pass filter build around the NCS5650 power
operational amplifier suppresses the 2nd and 3rd harmonics
to be in line with the CENELEC EN 50065−1 specification.
The filter components are tuned for a space and mark
frequency of 63.3 and 74 kHz respectively. The output of the
amplifier is coupled via a DC blocking capacitor C10 to a 2:1
pulse transformer Tr. The secondary of this transformer is
coupled to the mains via a high voltage capacitor C11. High
energetic transients from the mains are clamped by the
protection diode combination D3, D4 together with D1, D2.
Because the mains is not galvanic isolated care needs to be
taken when interfacing to a microcontroller or a PC!
Table 1. EXTERNAL COMPONENTS LIST AND DESCRIPTION
Component
C1, C2
C5, CDREF
Function − Remark
High pass receive filter
VREF_OUT ; VREF_OUT decoupling cap − ceramic
Typ Value
Tolerance
Unit
1.5
±10%
nF
1
−20 +80%
mF
C7, C9, C16, C17
Decoupling block capacitor
100
−20 +80%
nF
C3
TX_OUT coupling capacitor
470
±20%
nF
C4
Low pass transmit filter
470
±10%
pF
C6
Low pass transmit filter
68
±10%
pF
C8
Low pass transmit filter
3
±10%
pF
C10
TX coupling cap; 1 A rms ripple @ 70 kHz
10
±20%
mF
http://onsemi.com
2
NCN49597
Table 1. EXTERNAL COMPONENTS LIST AND DESCRIPTION
Component
Typ Value
Tolerance
Unit
C11
High Voltage coupling capacitor; 630 V
220
±20%
nF
C12
Zero Cross noise suppression
100
±20%
pF
X−tal load capacitor
22
±20%
pF
C15
Decoupling block capacitor 1.8 V internal supply
1
−20 +80%
mF
R1
High pass receive filter
22
±1%
kW
R2
High pass receive filter
11
±1%
kW
High pass receive filter; Alarm current ; Pull up
10
±1%
kW
R4
Low pass transmit filter
3,3
±1%
kW
R5
Low pass transmit filter
10
±1%
kW
R6
Low pass transmit filter
8,2
±1%
kW
R7
Low pass transmit filter
500
±1%
W
C13, C14
R3, R9, R12, R13
Function − Remark
R8
Low pass transmit filter
R10
TX Coupling resistor ; 0.5 W
R11
Zero Cross coupling HiV
D1, D2
High current Schottky Clamp diodes
D3, D4
TVS diodes
3
±1%
kW
0,47
±1%
W
1
±5%
MW
MBRA430
P6SMB6.8AT3G
D5
Double low current Schottky clamp diode
Y1
X−tal
Tr
2:1 Pulse transformer
U1
PLC modem
U2
Power Operational Amplifier
BAS70−04
48 MHz
NCN49597
NCS5650
Table 2. ABSOLUTE MAXIMUM RATINGS
Rating
Symbol
Min
Max
Unit
Absolute max. digital power supply
VDD_ABSM
VSS − 0.3
3.9
V
Absolute max. analog power supply
VDDA_ABSM
VSSA −
0.3
3.9
V
Absolute max. difference between digital and analog power supply
VDD − VDDA_ABSM
−0.3
0.3
V
Absolute max. difference between digital and analog ground
VSS − VSSA_ABSM
−0.3
0.3
V
ABSOLUTE MAXIMUM RATINGS SUPPLY
Power Supply Pins VDD, VDDA, VSS, VSSA
ABSOLUTE MAXIMUM RATINGS NON 5V SAFE PINS
Non 5V Safe Pins: TX_OUT, ALC_IN, RX_IN, RX_OUT, REF_OUT, ZC_IN, XIN, XOUT, TDO, TDI, TCK, TMS, TRSTB, TEST
Absolute maximum input for normal digital inputs and analog inputs
VIN_ABSM
VSS − 0.3
VDD + 0.3
V
VOUT_ABSM
VSS − 0.3
VDD + 0.3
V
Absolute maximum input for digital 5V safe inputs
V5VS_ABSM
VSS − 0.3
6.0
V
Absolute maximum voltage at 5V safe output pin
VOUT5V_ABSM
VSS − 0.3
3.9
V
Absolute maximum voltage at any output pin
ABSOLUTE MAXIMUM RATINGS 5V SAFE PINS
5V Safe Pins: TX_ENB, TXD, RXD, BR0, BR1, IO3 .. IO11, RESB
Stresses exceeding Maximum Ratings may damage the device. Maximum Ratings are stress ratings only. Functional operation above the
Recommended Operating Conditions is not implied. Extended exposure to stresses above the Recommended Operating Conditions may affect
device reliability.
http://onsemi.com
3
NCN49597
Normal Operating Conditions
Operating ranges define the limits for functional operation and parametric characteristics of the device as described in the
Normal Operating Conditions section and for the reliability specifications as listed in Detailed Hardware Description section.
Functionality outside these limits is not implied.
Total cumulative dwell time outside the normal power supply voltage range or the ambient temperature under bias, must be
less than 0.1% of the useful life as defined in Detailed Hardware Description section.
Table 3. OPERATING RANGES
Rating
Symbol
Min
Max
Unit
VDD
3.0
3.6
V
Ambient Temperature
TA
−25
80
°C
Extended Ambient Temperature on special request
TA
−40
80
°C
Power supply voltage range
PIN DESCRIPTION
QFN Packaging
NC
NC
TX_OUT
ALC_IN
NC
NC
VDDA
VSSA
RX_OUT
RX_IN
NC
REF_OUT
NC
40
41
42
43
44
45
46
47
48
49
50
51
52
M50Hz_IN
NC
IO3
IO4
IO5
IO0/RX_DATA
TDO
TDI
TCK
TMS
TRST
IO6
IO7
1
39
2
38
3
37
4
36
5
35
6
34
AMIS49597
7
8
33
32
9
31
10
30
11
29
12
28
13
27
NC
NC
TX_EN
TEST
RES
IO11
CRC
BR0
BR1
SEN
T_REQ
CSB
SDO
26
25
24
23
22
21
20
19
18
17
16
15
14
SDI
SCK
RXD
IO10
TXD
VDD
VSS
VDD1V8
XOUT
XIN
TXD/PRES
IO9
IO8
Figure 2. QFN Pin−out of NCN49597 (Top view)
Table 4. NCN49597QFN PIN FUNCTION DESCRIPTION
Pin No.
Pin Name
I/O
Type
Description
1
ZC_IN
In
A
3..5, 12..15,
23, 34
IO3 .. IO11
In/Out
D, 5V Safe
General Purpose I/O
6
RX_DATA
Out
D, 5V Safe
Data reception indication (open drain output)
7
TDO
Out
D, 5V Safe
Test data output
8
TDI
In
D, 5V Safe
Test data input (internal pull down)
9
TCK
In
D, 5V Safe
Test clock (internal pull down)
10
TMS
In
D, 5V Safe
Test mode select (internal pull down)
11
TRSTB
In
D, 5V Safe
Test reset bar (internal pull down, active low)
50/60 Hz input for mains zero cross detection
http://onsemi.com
4
NCN49597
Table 4. NCN49597QFN PIN FUNCTION DESCRIPTION
Pin No.
Pin Name
I/O
Type
16
TXD/PRES
Out
D, 5V Safe
Description
Output of transmitted data (TXD) or PRE_SLOT signal
(PRES)
17
XIN
In
A
Xtal input (can be driven by an internal clock)
18
XOUT
Out
A
Xtal output (output floating when XIN driven by external
clock)
19
VDD1V8
P
1V8 regulator output. Foresee a decoupling capacitor
20
VSS
P
Digital ground
21
VDD
P
3.3V digital supply
22
TXD
Out
D, 5V Safe
SCI transmit output (open drain)
24
RXD
In
D, 5V Safe
SCI receive input (Schmitt trigger output)
25
SCK
Out
D
SPI interface external Flash
26
SDI
In
D
SPI interface external Flash
27
SDO
Out
D
SPI interface external Flash
28
CSB
In
D
SPI interface external Flash
29
T_REQ
In
D, 5V Safe
30
SEN
In
D
31
BR1
In
D, 5V Safe
SCI baud rate selection
32
BR0
In
D, 5V Safe
SCI baud rate selection
33
CRC
Out
D, 5V Safe
Correct frame CRC indication (open drain output)
35
RESB
In
D, 5V Safe
Master reset bar (Schmitt trigger input, active low)
36
TEST
In
D
37
TX_ENB
Out
D, 5V Safe
42
TX_OUT
Out
A
Transmitter output
43
ALC_IN
In
A
Automatic level control input
46
VDDA
P
3.3V analog supply
47
VSSA
P
Analog ground
48
RX_OUT
Out
A
Output of receiver low noise operational amplifier
49
RX_IN
In
A
Positive input of receiver low noise operational amplifier
51
REF_OUT
Out
A
Reference output for stabilization
2, 38..41, 44,
45,50, 52
NC
P:
Transmit Request input
Boot option
Hardware Test enable (internal pull down)
TX enable bar (open drain)
Pins 2, 38..41, 44, 45, 50, 52 are not connected. These
pins need to be left open or connected to the GND plane.
Power pin
5V Safe:
A:
Analog pin
Out:
D:
Digital pin
In:
IO that support the presence of 5V on bus line
Output signal
Input signal
Detailed Pin Description
VDDA
REF_OUT
VDDA is the positive analog supply pin. Nominal voltage
is 3.3 V. A ceramic decoupling capacitor CDA = 100 nF must
be placed between this pin and the VSSA. Connection path
of this capacitance to the VSSA on the PCB should be kept
as short as possible in order to minimize the serial resistance.
REF_OUT is the analog output pin which provides the
voltage reference used by the A/D converter. This pin must
be decoupled to the analog ground by a 1 mF ceramic
capacitance CDREF. The connection path of this capacitor to
http://onsemi.com
5
NCN49597
the VSSA on the PCB should be kept as short as possible in
order to minimize the serial resistance.
This information is used, after filtering with the internal
PLL, to synchronize frames with the mains frequency. In
case of direct connection to the mains it is advised to use a
series resistor of 1 MW in combination with two external
clamp diodes in order to limit the current flowing through
the internal protection diodes.
VSSA
VSSA is the analog ground supply pin.
VDD
VDD is the 3.3 V digital supply pin. A ceramic decoupling
capacitor CDD = 100 nF must be placed between this pin and
the VSS. Connection path of this capacitance to the VSS on
the PCB should be kept as short as possible in order to
minimize the serial resistance.
RX_DATA
RX_DATA is a 5 V compliant open drain output. An
external pull−up resistor defines the logic high level as
illustrated in Figure 4. A typical value for the pull−up
resistance “R” is 10 kW. The signal on this output depends
on the status of the data reception. If NCN49597waits for
configuration RX_DATA outputs a pulse train with a 10 Hz
frequency. After Synchronization Confirm Time out
RX_DATA = 0. If NCN49597is searching for
synchronization RX_DATA = 1.
VSS
VSS is the digital ground supply pin.
+5V
R
Output
VSSD
PC20090722. 2
Figure 3: Recommended Layout of the Placement of
Decoupling Capacitors
Figure 4. Representation of 5V Safe Output
TDO, TDI, TCK, TMS, and TRSTB
VDD1V8
All these pins are part of the JTAG bus interface. The
JTAG interface is used during production test of the IC and
will not be described here. Input pins (TDI, TCK, TMS, and
TRSTB) contain internal pull−down resistance. TDO is an
output. When not used, the JTAG interface pins may be left
floating.
This is an additional power supply pin to decouple an
internal LDO regulator. The decoupling capacitor should be
placed as close as possible to this output pin as illustrated in
Figure 4.
RX_OUT
RX_OUT is the output analog pin of the receiver low
noise input op−amp. This op−amp is in a negative feedback
configuration.
TXD/PRES
TXD/PRES is the output for either the transmitting data
(TX_DATA) or a synchronization signal with the time−slots
(PRE_SLOT). TXD/PRES. More information can be found
in paragraph Local Port.
RX_IN
RX_IN is the positive analog input pin of the receiver low
noise input op−amp. Together with RX_OUT and
REF_OUT, an active high pass filter is realized. This filter
removes the main frequency (50 or 60 Hz) from the received
signal. The filter characteristics are determined by external
capacitors and resistors. A typical application schematic can
be found in paragraph 50/60 Hz Suppression Filter.
XIN
XIN is the analog input pin of the oscillator. It is connected
to the interval oscillator inverter gain stage. The clock signal
can be created either internally with the external crystal and
two capacitors or by connecting an external clock signal to
XIN. For the internal generation case, the two external
capacitors and crystal are placed as shown in Figure 5. For
the external clock connection, the signal is connected to XIN
and XOUT is left unused.
ZC_IN
ZC_IN is the mains frequency analog input pin. The signal
is used to detect the zero cross of the 50 or 60 Hz sine wave.
http://onsemi.com
6
NCN49597
account after a reset, hardware or software. Modification of
the baud rate during function is not possible. BR0 and BR1
are 5 V safe.
XTAL_IN
XTAL_OUT
CRC
PC20111118.1
CRC is a 5 V compliant open drain output. An external
pull−up resistor defines the logic high level as illustrated in
Figure 4. A typical value for this pull−up resistance “R” is
10 kW. The signal on this output depends on the cyclic
redundancy code result of the received frame. If the cyclic
redundancy code is correct CRC = H during the pause
between two time slots.
48 MHz
CX
CX
VSSA
Figure 5. Placement of the Capacitors and Crystal
with Clock Signal Generated Internally
RESB
RESB is a digital input pin. It is used to perform a
hardware reset of the NCN49597. This pin supports a 5 V
voltage level. The reset is active when the signal is low
(0 V).
The crystal is a classical parallel resonance crystal of
48 MHz. The values of the capacitors CX are given by the
manufacturer of the crystal. A typical value is 36 pF. The
crystal has to fulfill impedance characteristics specified in
the NCN49597data sheet. As an oscillator is sensitive and
precise, it is advised to put the crystal as close as possible on
the board and to ground the case.
TEST
TEST is a digital input pin with internal pull down resistor
used to enable the Hardware Test Mode of the chip. When
TEST is left open or forced to ground Normal Mode is
enabled. When TEST is forced to VDD the Hardware Test
Mode is enabled. This mode is used during production test
of the IC and will not be described here. TEST pin is not 5 V
safe.
XOUT
XOUT is the analog output pin of the oscillator. When the
clock signal is provided from an external generator, this
output must be floating. When working with a crystal, this
pin cannot be used directly as clock output because no
additional loading is allowed on the pin (limited voltage
swing).
TX_ENB
TX_ENB is a digital output pin. It is low when the
transmitter is activated. The signal is available to turn on the
line driver. TX_ENB is a 5 V safe with open drain output,
hence a pull−up resistance is necessary achieve the
requested voltage level associated with a logical one. See
also Figure 4 for reference.
TXD
TXD is the digital output of the asynchronous serial
communication (SCI) unit. Only half−duplex transmission
is supported. It is used to realize the communication between
the NCN49597and the application microcontroller. The
TXD is an open drain IO (5 V safe). External pull−up
resistances (typically 10 kW) are necessary to generate the
5 V level. See Figure 4 for the circuit schematic.
TX_OUT
TX_OUT is the analog output pin of the transmitter. The
provided signal is the S−FSK modulated frames. A filtering
operation must be performed to reduce the second and third
order harmonic distortion. For this purpose an active filter
is suggested. See also paragraph Transmitter Output
TX_OUT.
RXD
This is the digital input of the asynchronous SCI unit.
Only half−duplex transmission is supported. This pin
supports a 5 V level. It is used to realize the communication
between the NCN49597and the application microcontroller.
RXD is a 5 V safe input.
ALC_IN
ALC_IN is the automatic level control analog input pin.
The signal is used to adjust the level of the transmitted
signal. The signal level adaptation is based on the AC
component. The DC level on the ALC_IN pin is fixed
internally to 1.65 V. Comparing the peak voltage of the AC
signal with two internal thresholds does the adaptation of the
gain. Low threshold is fixed to 0.4 V. A value under this
threshold will result in an increase of the gain. The high
threshold is fixed to 0.6 V. A value over this threshold will
result in a decrease of the gain. A serial capacitance is used
to block the DC components. The level adaptation is
performed during the transmission of the first two bits of a
new frame. Eight successive adaptations are performed. See
T_REQ
T_REQ is the transmission request input of the Serial
Communication Interface. When pulled low its initiate a
local communication from the application micro controller
to NCN49597. T_REQ is a 5 V safe input. See also
paragraph Error! Reference source not found..
BR1, BR0
BR0 and BR1 are digital input pins. They are used to select
the baud rate (bits/second) of the Serial Communication
Interface unit. The rate is defined according to Error!
Reference source not found.. The values are taken into
http://onsemi.com
7
NCN49597
SCK, SDI, SDO, CSB
also paragraph Amplifier with Automatic Level Control
(ALC).
These signals from the SPI interface to an optional
external Flash. See Reference 1.
ELECTRICAL CHARACTERISTICS
DC and AC Characteristics
Oscillator: Pin XIN, XOUT
In production the actual oscillation of the oscillator and duty cycle will not be tested. The production test will be based on
the static parameters and the inversion from XIN to XOUT in order to guarantee the functionality of the oscillator.
Table 5. OSCILLATOR
Parameter
Test Conditions
Symbol
Min
Typ
Max
Unit
Crystal frequency
(Note 1)
fCLK
−100 ppm
48
+100 ppm
MHz
Duty cycle with quartz connected
(Note 1)
60
%
Start−up time
(Note 1)
Tstartup
50
ms
Load capacitance external crystal
(Note 1)
CL
Series resistance external crystal
(Note 1)
RS
Maximum Capacitive load on
XOUT
XIN used as clock input
CLXOUT
Low input threshold voltage
XIN used as clock input
VILXOUT
High input threshold voltage
XIN used as clock input
VIHXOUT
0.7 VDD
V
Low output voltage
XIN used as clock input,
XOUT = 2 mA
VOLXOUT
0.3
V
High input voltage
XIN used as clock input
VOHXOUT
VDD − 0.3
V
40
1. Guaranteed by design. Maximum allowed series loss resistance is 80 W
http://onsemi.com
8
18
20
40
pF
80
W
50
pF
0.3 VDD
V
NCN49597
Zero Cross Detector and 50/60 Hz PLL: Pin ZC_IN
Table 6. ZERO CROSS DETECTOR AND 50/60 HZ PLL
Parameter
Test Conditions
Symbol
Min
Max
Unit
ImpZC_IN
−20
20
mA
During 1 ms
ImavgZC_IN
−2
2
mA
With protection resistor at
ZC_IN
VMAINS
90
550
V
Rising threshold level
(Note 2)
VIRZC_IN
1.9
V
Falling threshold level
(Note 2)
VIFZC_IN
0.9
V
Hysteresis
(Note 2)
VHYZC_IN
0.4
V
Lock range for 50 Hz (Note 3)
MAINS_FREQ = 0 (50 Hz)
Flock50Hz
45
55
Hz
Lock range for 60 Hz (Note 3)
MAINS_FREQ = 0 (60 Hz)
Flock60Hz
54
66
Hz
Lock time (Note 3)
MAINS_FREQ = 0 (50 Hz)
Tlock50Hz
15
s
Lock time (Note 3)
MAINS_FREQ = 0 (60 Hz)
Tlock60Hz
20
s
Frequency variation without going
out of lock (Note 3)
MAINS_FREQ = 0 (50 Hz)
DF60Hz
0.1
Hz/s
Frequency variation without going
out of lock (Note 3)
MAINS_FREQ = 0 (60 Hz)
DF50Hz
0.1
Hz/s
25
ms
Maximum peak input current
Maximum average input current
Mains voltage (ms) range
Jitter of CHIP_CLK (Note 3)
JitterCHIP_CLK
−25
Typ
2. Measured relative to VSS
3. These parameters will not be measured in production since the performance is totally dependent of a digital circuit which will be guaranteed
by the digital test patterns.
http://onsemi.com
9
NCN49597
Transmitter External Parameters: Pin TX_OUT, ALC_IN, TX_ENB
To guarantee the transmitter external specifications the TX_CLK frequency must be 12 MHz ± 100 ppm.
Table 7. TRANSMITTER EXTERNAL PARAMETERS
Parameter
Test Conditions
Symbol
Min
Maximum peak output level
fTX_OUT = 23 – 75 kHz
fTX_OUT = 95 kHz
Level control at max. output
VTX_OUT
0.85
0.76
Second order harmonic distortion
fTX_OUT = 95 kHz
Level control at max. output
Third order harmonic distortion
Max
Unit
1.15
1.22
Vp
HD2
−54
dB
fTX_OUT = 95 kHz
Level control at max. output
HD3
−53
dB
(Notes 4 and 6)
DfTX_OUT
30
Hz
(Note 4)
CLTX_OUT
20
pF
Frequency accuracy of the generated sine wave
Capacitive output load at pin
TX_OUT
Resistive output load at pin
TX_OUT
Typ
RLTX_OUT
5
TdTX_ENB
0.25
0.5
ms
Automatic level control attenuation
step
ALCstep
2.9
3.1
dB
Maximum attenuation
ALCrange
20.3
21.7
dB
Low threshold level on ALC_IN
VTLALC_IN
−0.46
−0.36
V
High threshold level on ALC_IN
VTHALC_IN
−0.68
−0.54
V
Input impedance of ALC_IN pin
RALC_IN
111
189
kW
PSRRTX_OUT
10
(Note 7)
35
(Note 8)
dB
Turn off delay of TX_ENB output
(Note 5)
Power supply rejection ration of the
transmitter section
kW
4.
5.
6.
7.
This parameter will not be tested in production.
This delay corresponds to the internal transmit path delay and will be defined during design.
Taking into account the resolution of the DDS and an accuracy of 100ppm of the crystal.
A sinusoidal signal of 10 kHz and 100 mVpp is injected between VDDA and VSSA. The digital AD converter generates an idle pattern. The
signal level at TX_OUT is measured to determine the parameter.
8. A sinusoidal signal of 50 Hz and 100 mVpp is injected between VDDA and VSSA. The digital AD converter generates an idle pattern. The
signal level at TX_OUT is measured to determine the parameter.
The LPF filter + amplifier must have a frequency characteristic between the limits listed below. The absolute output level
depends on the operating condition. In production the measurement will be done for relative output levels where the 0 dB
reference value is measured at 50 kHz with a signal amplitude of 100 mV.
Table 8. TRANSMITTER FREQUENCY CHARACTERISTICS
Attenuation
Frequency (kHz)
Min
Max
Unit
10
−0.5
0.5
dB
95
−1.3
0.5
dB
130
−4.5
−2.0
dB
165
−3.0
dB
330
−18.0
dB
660
−36.0
dB
1000
−50
dB
2000
−50
dB
http://onsemi.com
10
NCN49597
Receiver External Parameters: Pin RX_IN, RX_OUT, REF_OUT
Table 9. RECEIVER EXTERNAL PARAMETERS
Parameter
Test Conditions
Symbol
Input offset voltage 42 dB
AGC gain = 42 dB
Input offset voltage 0 dB
Max
Unit
VOFFS_RX_IN
5
mV
AGC gain = 0 dB
VOFFS_RX_IN
50
mV
Max. peak input voltage (corresponding to 62.5% of the SD full
scale)
AGC gain = 0 dB (Note 9)
VMAX_RX_IN
1.15
Vp
Input referred noise of the analog
receiver path
AGC gain = 42 dB
(Notes 9 and 10)
NFRX_IN
150
nV/ǠHz
Input leakage current of receiver
input
Max. current delivered by
REF_OUT
Power supply rejection ratio of the
receiver input section
AGC gain = 42 dB (Note 11)
Min
Typ
0.85
ILE_RX_IN
−1
1
mA
IMax_REF_OUT
−300
300
mA
PSRRLPF_OUT
10
AGC gain = 42 dB (Note 12)
dB
35
AGC gain step
AGCstep
5.7
6.3
dB
AGC range
AGCrange
39.9
44.1
dB
Analog ground reference output
voltage
VREF_OUT
1.52
1.78
V
SNAD_OUT
54
VCLIP_AGC_IN
1.15
Signal to noise ratio at 62.5 % of
the SD full scale
(Notes 9 and 13)
Clipping level at the output of the
gain stage (RX_OUT)
dB
1.65
Vp
9. Input at RX_IN, no other external components.
10. Characterization data only. Not tested in production.
11. A sinusoidal signal of 10 kHz and 100 mVpp is injected between VDDA and VSSA. The signal level at the differential LPF_OUT and
REF_OUT output is measured to determine the parameter.
12. A sinusoidal signal of 50 Hz and 100 mVpp is injected between VDDA and VSSA. The signal level at the differential LPF_OUT output is
measured to determine the parameter.
13. These parameters will be tested in production with an input signal of 95 kHz and 1 Vp by reading out the digital samples at the point AD_OUT
with the default settings of T_RX_MOD[7], SDMOD_TYP, DEC_TYP, and COR_F_ENA. The AGC gain is switched to 0 dB.
The receive LPF filter + AGC + low noise amplifier must have a frequency characteristic between the limits listed below.
The absolute output level depends on the operating condition.
Table 10. RECEIVER FREQUENCY CHARACTERISTICS
Attenuation
Frequency (kHz)
Min
Max
Unit
10
−0.5
0.5
dB
95
−1.3
0.5
dB
130
−4.5
−2.0
dB
165
−3.0
dB
330
−18.0
dB
660
−36.0
dB
1000
−50
dB
2000
−55
dB
http://onsemi.com
11
NCN49597
Power−on−Reset (POR)
Table 11. POWER−ON−RESET
Parameter
Test Conditions
POR threshold
Power supply rise time
0 to 3V
Symbol
Min
VPOR
1.7
TRPOR
1
Min
Typ
Max
Unit
2.7
V
ms
Digital Outputs: TDO, CLK_OUT
Table 12. DIGITAL OUTPUTS: TDO, CLK_OUT
Test Conditions
Symbol
Low output voltage
Parameter
IXOUT = 4 mA
VOL
High output voltage
IXOUT = −4 mA
VOH
Typ
Max
Unit
0.4
V
0.85 VDD
V
Digital Outputs with Open Drain: TX_ENB, TXD
Table 13. DIGITAL OUTPUTS WITH OPEN DRAIN: TX_ENB, TXD, RX_DATA, CRC, T_REQ
Parameter
Low output voltage
Test Conditions
Symbol
IXOUT = 4 mA
VOL
Test Conditions
Symbol
Min
Typ
Max
Unit
0.4
V
Max
Unit
0.2 VDD
V
Digital Inputs: BR0, BR1
Table 14. DIGITAL INPUTS: BR0, BR1
Parameter
Low input level
High input level
Min
Typ
VIL
0 to 3 V
Input leakage current
VIH
0.8 VDD
ILEAK
−10
V
10
mA
Max
Unit
0.2 VDD
V
Digital Inputs with Pull Down: TDI, TMS, TCK, TRSTB, TEST
Table 15. DIGITAL INPUTS WITH PULL DOWN: TDI, TMS, TCK, TRSTB, TEST
Parameter
Test Conditions
Symbol
Min
Low input level
VIL
High input level
VIH
0.8 VDD
RPU
7
Symbol
Min
Pull down resistor
(Note 14)
Typ
V
50
kW
Max
Unit
0.80 VDD
V
10
mA
14. Measured around a bias point of VDD/2.
Digital Schmitt Trigger Inputs: RXD, RESB
Table 16. DIGITAL SCHMITT TRIGGER INPUTS: RXD, RESB
Parameter
Test Conditions
Rising threshold level
VT+
Falling threshold level
VT−
0.2 VDD
Input leakage current
ILEAK
−10
http://onsemi.com
12
Typ
V
NCN49597
Current Consumption
Table 17. CURRENT CONSUMPTION
Parameter
Test Conditions
Symbol
Min
Current consumption in receive
mode
Current through VDD and VDDA
(Note 15)
IRX
Current consumption in transmit
mode
Current through VDD and VDDA
(Note 15)
ITX
Current consumption when RESB
=0
Current through VDD and VDDA
(Note 15)
IRESET
Typ
Max
Unit
60
80
mA
60
80
mA
4
mA
15. fCLK = 48 MHz.
INTRODUCTION
General Description
The NCN49597 is a single chip half duplex S−FSK
modem dedicated to power line carrier (PLC) data
transmission on low− or medium−voltage power lines. The
device offers complete handling of the protocol layers from
the physical up to the MAC. NCN49597 complies with the
CENELEC EMC standard EN 50065−1 and the
IEC 61334−5−1 standards. It operates from a single 3.3 V
power supply and is interfaced to the power line by an
external power driver and transformer. An internal PLL is
locked to the mains frequency and is used to synchronize the
data transmission at data rates of 300, 600, 1200, 2400 and
4800 baud for a 50 Hz mains frequency, or 360, 720, 1440,
2880 and 5760 baud for a 60 Hz mains frequency. In both
cases this corresponds to 3, 6, 12 or 24 data bits per half cycle
of the mains period.
S−FSK is a modulation and demodulation technique that
combines some of the advantages of a classical spread
spectrum system (e.g. immunity against narrow band
interferers) with the advantages of the classical FSK system
(low complexity). The transmitter assigns the space
frequency fS to “data 0” and the mark frequency fM to
“data 1”. The difference between S−FSK and the classical
FSK lies in the fact that fS and fM are now placed far from
each other, making their transmission quality independent
from each other (the strengths of the small interferences and
the signal attenuation are both independent at the two
frequencies). The frequency pairs supported by the
NCN49597 are in the range of 9 − 150 kHz with a typical
separation of 10 kHz.
The conditioning and conversion of the signal is
performed at the analog front−end of the circuit. The further
processing of the signal and the handling of the protocol is
digital. At the back−end side, the interface to the application
is done through a serial interface. The digital processing of
the signal is partitioned between hardwired blocks and a
microprocessor block. The microprocessor is controlled by
firmware. Where timing is most critical, the functions are
implemented with dedicated hardware. For the functions
where the timing is less critical, typically the higher level
functions, the circuit makes use of the ARM microprocessor
core.
The processor runs DSP algorithms and, at the same time,
handles the communication protocol. The communication
protocol, in this application, contains the MAC = Medium
Access Control Layer. The program running on the
microprocessor is stored into ROM. The working data
necessary for the processing is stored in an internal RAM. At
the back−end side the link to the application hardware is
provided by a Serial Communication Interface (SCI). The
SCI is an easy to use serial interface, which allows
communication between an external processor used for the
application software and the NCN49597 modem. The SCI
works on two wires: TXD and RXD. Baud rate is
programmed by setting 2 bits (BR0, BR1).
Because the low protocol layers are handled in the circuit,
the NCN49597 provides an innovative architectural split.
Thanks to this, the user has the benefit of a higher level
interface of the link to the PLC medium. Compared to an
interface at the physical level, the NCN49597 allows faster
development of applications. The user just needs to send the
raw data to the NCN49597 and no longer has to take care of
the protocol detail of the transmission over the specific
medium. This last part represents usually 50% of the
software development costs.
http://onsemi.com
13
NCN49597
CLIENT
Application
SERVER
Application
SERVER
Application
SPY
Application
TEST
Application
NCN49597 in
MASTER mode
NCN49597 in
SLAVE mode
NCN49597 in
SLAVE mode
NCN49597 in
MONITOR mode
NCN49597 in
TEST mode
Major User Type
Minor User Type
PC201111 12.2
Figure 6. Application Examples
• Minor type:
NCN49597 is intended to connect equipment using
Distribution Line Carrier (DLC) communication. It serves
two major and two minor types of applications:
• Major types:
♦ Master or Client:
A Master is a client to the data served by one or
many slaves on the power line. It collects data from
and controls the slave devices. A typical application
is a concentrator system
♦ Slave or Server:
A Slave is a server of the data to the Master. A
typical application is an electricity meter equipped
with a PLC modem.
♦
♦
Spy or Monitor:
Spy or Monitor mode is used to only listen to the
data that comes across the power line. Only the
physical layer frame correctness is checked. When
the frame is correct, it is passed to the external
processor.
Test Mode:
The Software Test Mode is used to test the
compliance of a PLC modem conforms to
CENELEC. EN 50065−1 by a continuous broadcast
of fS or fM.
http://onsemi.com
14
NCN49597
Functional Description
The block diagram below represents the main functional units of the NCN49597:
VDD1V8
Transmitter (S−FSK Modulator)
Communication Controller
TX_ENB
TO Power Amplifier
LP
Filter
TX_OUT
Transmit Data
& Sine Synthesizer
D/A
TxD
RxD
T_REQ
BR0
Serial
Comm.
Interface
ALC_IN
BR1
5
IO[9:3]
RX_DATA
CRC
TX_DATA / PRE_SLOT
5
JTAG I /F
TEST
Receiver (S−FSK Demodulator)
RX_OUT
FROM Line Coupler
RX_IN
AAF
AGC
A/D
Local Port
ARM
Risc
Core
S−FSK
Demodulator
Test
Control
REF
REF_OUT
RESB
POR
Watchdog
Timer 1 & 2
Clock and Control
M50Hz_IN
TO Application
Micro Controller
Zero
crossing
Clock Generator
& Timer
PLL
Data
RAM
NCN49597
VDDA
VSSA
SPI
OSC
VDDD
VSSD
XIN
Program
ROM
XOUT
5
SPI I/F
Interrupt
Control
PC20111019.2
Figure 7. S−FSK Modem NCN49597 Block Diagram
Transmitter
Clock and Control
The NCN49597 Transmitter function block prepares the
communication signal which will be sent on the
transmission channel during the transmitting phase. This
block is connected to a power amplifier which injects the
output signal on the mains through a line−coupler.
According to the IEC 61334−5−1 standard, the frame data
is transmitted at the zero cross of the mains voltage. In order
to recover the information at the zero cross, a zero cross
detection of the mains is performed. A phase−locked loop
(PLL) structure is used in order to allow a more reliable
reconstruction of the synchronization. This PLL permits as
well a safer implementation of the ”repetition with credit”
function (also known as chorus transmission). The clock
generator makes use of a precise quartz oscillator master.
The clock signals are then obtained by the use of a
programmed division scheme. The support circuits are also
contained in this block. The support circuits include the
necessary blocks to supply the references voltages for the
AD and DA converters, the biasing currents and power
supply sense cells to generate the right power off and startup
conditions.
Receiver
The analog signal coming from the line−coupler is low
pass filtered in order to avoid aliasing during the conversion.
Then the level of the signal is automatically adapted by an
automatic gain control (AGC) block. This operation
maximizes the dynamic range of the incoming signal. The
signal is then converted to its digital representation using
sigma delta modulation. From then on, the processing of the
data is done in a digital way. By using dedicated hardware,
a direct quadrature demodulation is performed. The signal
demodulated in the base band is then low pass filtered to
reduce the noise and reject the image spectrum.
http://onsemi.com
15
NCN49597
t
48 bit @ 2400 baud
20 ms
PC20100609.1
Figure 8. Data Stream is in Sync with Zero Cross of the Mains (example for 50 Hz)
Communication Controller
Local Port
The Communication Controller block includes the
micro−processor, its peripherals: RAM, ROM, UART,
TIMER, and the Power on reset. The processor uses the
ARM Reduced Instruction Set Computer (RISC)
architecture optimized for IO handling. For most of the
instructions, the machine is able to perform one instruction
per clock cycle. The microcontroller contains the necessary
hardware to implement interrupt mechanisms, timers and is
able to perform byte multiplication over one instruction
cycle. The microcontroller is programmed to handle the
physical layer (chip synchronization), and the MAC layer
conform to IEC 61334−5−1. The program is stored in a
masked ROM. The RAM contains the necessary space to
store the working data. The back−end interface is done
through the Serial Communication Interface block. This
back−end is used for data transmission with the application
micro controller (containing the application layer for
concentrator, power meter, or other functions) and for the
definition of the modem configuration.
The controller uses 3 output ports to inform about the
actual status of the PLC communication. RX_DATA
indicates if Receiving is in progress, or if NCN49597 is
waiting for synchronization, or of it configures. CRC
indicates if the received frames are valid (CRC = OK).
TXD/PRES is the output for either the transmitting data
(TX_DATA) or a synchronization signal with the time−slots
(PRE_SLOT).
Serial Communication Interface
The local communication is a half duplex asynchronous
serial link using a receiving input (RxD) and a transmitting
output (TxD). The input port T_REQ is used to manage the
local communication with the application micro controller
and the baud rate can be selected depending on the status of
two inputs BR0, BR1. These two inputs are taken in account
after an NCN49597 reset. Thus when the application micro
controller wants to change the baud rate, it has to set the two
inputs and then provoke a reset.
DETAILED HARDWARE DESCRIPTION
Clock and Control
According to the IEC 61334−5−1 standard, the frame data
is transmitted at the zero cross of the mains voltage. In order
to recover the information at the zero cross, a zero cross
detection of the mains is performed. A phase−locked loop
(PLL) structure is used in order to allow a more reliable
reconstruction of the synchronization. The output of this
block is the clock signal CHIP_CLK, 8 times over sampled
with the bit rate. The oscillator makes use of precise 48 MHz
quartz. This clock signal together with CHIP_CLK is fed
into the Clock Generator and time block. Here several
internal clock signals and timings are obtained by the use of
a programmed division scheme.
http://onsemi.com
16
Zero
crossing
ZC_IN
PLL
CHIP_CLK
PRE_SLOT
PRE_F RAME_CLK
FRAME_CLK
BYTE_CLK
BIT_CLK
Clock and Control
PRE_BYTE_CLK
NCN49597
Clock Generator
& Timer
OSC
XIN
PC20090619.4
XOUT
Figure 9. Clock and Control Block
Zero Cross Detector
case of direct connection to the mains it is advised to use a
series resistor of 1 MW in combination with two external
Schottky clamp diodes in order to limit the current flowing
through the internal protection diodes.
ZC_IN is the mains frequency analog input pin. The signal
is used to detect the zero cross of the 50 or 60 Hz sine wave.
This information is used, after filtering with the internal
PLL, to synchronize frames with the mains frequency. In
Clock & Control
3V3_A
FROM
MAINS
BAS70−04
1 MW
ZC_IN
Debounce
Filter
100 pF
ZeroCross
PLL
CHIP_CLK
PC20100608.1
Figure 10. Zero Cross Detector with Falling Edge De−bounce Filter
The zero cross detector output is logic zero when the input
is lower than the falling threshold level and a logic one when
the input is higher than the rising threshold level. The falling
edges of the output of the zero cross detector are de−bounced
by a period between 0.5 ms and 1 ms. The Rising edges are
not de−bounced.
http://onsemi.com
17
NCN49597
VMAINS
VIRZC _IN
VIFZC _IN
t
ZeroCross
tZCD
tDEBOUNCE = 0,5 .. 1 ms
10 ms
PC20090620 .1
Figure 11. Zero Cross Detector Signals and Timing (example for 50 Hz)
50/60 Hz PLL
crossings. The PLL locks on the zero cross from negative to
positive phase. The bit rate is always an even multiple of the
mains frequency, so following combinations are possible:
The output of the zero cross detector is used as an input for
a PLL. The PLL generates the clock CHIP_CLK which is 8
times the bit rate and which is in phase with the rising edge
Table 18. CHIP_CLK IN FUNCTION OF SELECTED BAUD RATE AND MAINS FREQUENCY
BAUD[1:0]
Baudrate
CHIP_CLK
00
300
2400 Hz
01
600
4800 Hz
1200
9600 Hz
11
2400
19200 Hz
00
360
2880 Hz
720
5760 Hz
10
01
10
MAINS_FREQ
50 Hz
60 Hz
11
1440
11520 Hz
2880
23040 Hz
In case no zero crossings are detected the PLL freezes its internal timers in order to maintain the CHIP_CLK timing.
http://onsemi.com
18
NCN49597
V MAINS
VIR ZC _IN
t
6 bit @ 300 baud
ZeroCross
tZCD
PLL in lock
CHIP _CLK
Start of Physical PreFrame
10 ms
(*)
PC 20090 619 .3
*The start of the Physical Subframe is shifted back with R_ZC_ADJUST[7:0] x 26 mS = tZCD to compensate for the zero cross delay.
Figure 12. Zero Cross Adjustment to Compensate for Zero Cross Delay (example for 50 Hz)
a number value stored in register R_ZC_ADJUST[7:0]. The
adjustment period or granularity is 26 ms. The maximum
adjustment is 255 x 26 ms = 6.6 ms which corresponds with
1/3rd of the 50 Hz mains sine period.
The phase difference between the zero cross of the mains
and CHIP_CLK can be tuned. This opens the possibility to
compensate for external delay tZCD (e.g. opto coupler) and
for the 1.9 V positive threshold VIRZC_IN of the zero cross
detector. This is done by pre−loading the PLL counter with
Table 19. ZERO CROSS DELAY COMPENSATION
R_ZC_ADJUST[7:0]
Compensation
0000 0000
0 ms
0000 0001
26 ms
0000 0010
52 ms
0000 0011
78 ms
…
…
1111 1101
6589 ms
1111 1110
6615 ms
1111 1111
6641 ms
Oscillator
The oscillator works with a standard parallel resonance
crystal of 48 MHz. XIN is the input to the oscillator inverter
gain stage and XOUT is the output.
http://onsemi.com
19
NCN49597
XTAL_IN
XTAL_OUT
The oscillator output fCLK = 48 MHz is the base frequency
for the complete IC. The clock frequency for the ARM fARM
= fCLK. The clock for the transmitter, fTX_CLK is equal to
fCLK / 4 or 12 MHz. All the transmitter internal clock signals
will be derived from fTX_CLK. The clock for the receiver,
fRX_CLK is equal to fCLK / 8 or 6 MHz. All the receiver
internal clock signals will be derived from fRX_CLK.
PC20111118.1
48 MHz
CX
Clock Generator and Timer
CX
The CHIP_CLK and fCLK are used to generate a number
of timing signals used for the synchronization and interrupt
generation. The timing generation has a fixed repetition rate
which corresponds to the length of a physical subframe. (see
paragraph Error! Reference source not found.)
The timing generator is the same for transmit and receive
mode. When NCN49597 switches from receive to transmit
and back from transmit to receive, the R_CHIP_CNT
counter value is maintained. As a result all timing signals for
receive and transmit have the same relative timing. The
following timing signals are defined as:
VSSA
Figure 13. Placement of the Capacitors and Crystal
with Clock Signal Generated Internally
For correct functionality the external circuit illustrated in
Figure 13 must be connected to the oscillator pins. For a
crystal requiring a parallel capacitance of 18 pF CX must be
around 36 pF. (Values of capacitors are indicative only and
are given by the crystal manufacturer). To guarantee startup
the series loss resistance of the crystal must be smaller than
60 W.
Start of the physical subframe
R_CHIP_CNT
2871 2872
2879
0
1
2
3
4
5
6
7
8
9
63
64
65
CHIP_CLK
BIT_CLK
BYTE_CLK
FRAME_CLK
PRE_BYTE_CLK
PRE_FRAME_CLK
PRE_SLOT
PC20090619.1
Figure 14. Timing Signals
BYTE_CLK: is active at counter values 0, 64, 128, .. 2816
and inactive at all other counter values. This signal is used
to indicate the transmission of a new byte.
CHIP_CLK: is the output of the PLL and 8 times the bit rate
on the physical interface. See also paragraph 50/60 Hz PLL.
BIT_CLK: is active at counter values 0, 8, 16, .. 2872 and
inactive at all other counter values. This signal is used to
indicate the transmission of a new bit.
http://onsemi.com
20
NCN49597
FRAME_CLK: is active at counter values 0 and inactive at
all other counter values. This signal is used to indicate the
transmission or reception of a new frame.
PRE_BYTE_CLK is a signal which is 8 CHIP_CLK
sooner than BYTE_CLK. This signal is used as an interrupt
for the internal microcontroller and indicates that a new byte
for transmission must be generated.
PRE_FRAME_CLK is a signal which is 8 CHIP_CLK
sooner than FRAME_CLK. This signal is used as an
interrupt for the internal microcontroller and indicates that
a new frame will start at the next FRAME_CLK.
PRE_SLOT is logic 1 between the rising edge of
PRE_FRAME_CLK and the rising edge of FRAME_CLK.
This signal can be provided at the digital output pin
TXD/PRES when R_CONF[7] = 0 (See paragraph Local
Port and Error! Reference source not found., field
R_CONF_TXD_PRES_SEL) and can be used by the external
host controller to synchronize its software with the
FRAME_CLK of NCN49597.
Transmitter Path Description (S−FSK Modulator)
For the generation of the space and mark frequencies, the
direct digital synthesis (DDS) of the sine wave signals is
performed under the control of the microprocessor. After a
signal conditioning step, a digital to analog conversion is
performed. As for the receive path, a sigma delta modulation
technique is used. In the analog domain, the signal is low
pass filtered, in order to remove the high frequency
quantization noise, and passed to the automatic level
controller (ALC) block, where the level of the transmitted
signal can be adjusted. The determination of the signal level
is done through the sense circuitry.
Transmitter(S−FSK Modulator)
TX_EN
ALC_IN
ALC
control
TX_OUT
LP
Filter
ARM
Interface
&
Control
D/A
Transmit Data
& Sine Synthesizer
fMI
f MQ
fSI
fSQ
TO RECEIVER
PC20091019.1
Figure 15. Transmitter Block Diagram
ARM Interface and Control
Sine Wave Generator
The interface with the ARM consists in a 8−bit data
registers R_TX_DATA, 2 control registers R_TX_CTRL
and R_ALC_CTRL, a flag TX_RXB defining transmit and
receive and 2 16−bit wide frequency step registers R_FM
and R_FS defining fM (mark frequency = data 1) and fS
(space frequency = data 0). All these registers are memory
mapped. Some of them are for internal use only and cannot
be accessed by the user.
Processing of the physical frame (preamble, MAC
address, CRC) is done by the ARM.
A sine wave is generated with a direct digital synthesizer
DDS. The synthesizer generates in transmission mode a sine
wave either for the space frequency (fS, data 0) or for the
mark frequency (fM, data1). In reception the synthesizer
generates the sine and cosine waves for the mixing process,
fSI, fSQ, fMI, fMQ (space and mark signals in phase and
quadrature). The space and mark frequencies are defined in
an individual step 16 bit wide register.
Table 20. FS AND FM STEP REGISTERS
ARM Register
Hard Reset
Soft Reset
Description
R_FS[15:0]
0000h
0000h
Step register for the space frequency fS
R_FM[15:0]
0000h
0000h
Step register for the mark frequency fM
http://onsemi.com
21
NCN49597
When NCN49597 goes into receive mode (when
TX_RXB goes from 1 to 0) the sine wave generator must
make sure to complete the active sine period.
The control logic for the transmitter generates a signal
TX_ENB to enable the external power amplifier. TX_ENB
is 1 when the NCN49597 is in receive mode. TX_ENB is 0
when NCN49597is in transmit mode. When going from
transmit to receive mode (TX_RXB goes from 1 to 0) the
TX_ENB signal is kept active for a short period of tdTX_ENB.
The control logic for the transmitter generates a signal
TX_DATA which corresponds to the transmitted S−FSK
signal. When transmitting fM TX_DATA is logic 1. When
transmitting fS TX_DATA is logic 0. When the transmitter
is not enabled (TX_RXB = 0) TX_DATA goes to logic 1 at
the next BIT_CLK.
The space and mark frequency can be calculated as:
• fS = R_FS[15:0]_dec x fDDS/218
• fM = R_FM[15:0]_dec x fDDS/218
Or the content of both R_FS[15:0] and R_FM[15:0] are
defined as:
• R_FS[15:0]_dec = Round(218 x fS/fDDS)
• R_FM[15:0]_dec = Round(218 x fM/fDDS)
♦ Where fDDS = 3 MHz is the direct digital
synthesizer clock frequency.
After a hard or soft reset or at the start of the transmission
(when TX_RXB goes from 0 to 1) the phase accumulator
must start at it’s 0 phase position, corresponding with a 0 V
output level. When switching between fM and fS the phase
accumulator must give a continuous phase and not restart
from phase 0
BIT_CLK
TX_DATA
TX_RXB
TX_ENB
TX_OUT
tdTX_ENB
PC200 90610.1
Figure 16. TX_ENB Timing
DA Converter
detection is used to control the setting of the level of
TX_OUT. The level of TX_OUT can be attenuated in 8 steps
of 3 dB typical.
After hard or soft reset the level is set at minimum level
(maximum attenuation) When going to reception mode
(when TX_RXB goes from 1 to 0) the level is kept in
memory so that the next transmit frame starts with the old
level. The evaluation of the level is done during 1
CHIP_CLK period.
Depending on the value of peak level on ALC_IN the
attenuation is updated:
• VpALC_IN < VTLALC: increase the level with one 6 dB
step
• VTLALC ≤ VpALC_IN ≤ VTHALC: don’t change the
level
• VpALC_IN > VTHALC: decrease the level with one 6 dB
step
A digital to analog SD converter converts the sine wave
digital word to a pulse density modulated (PDM) signal. The
PDM signal is converted to an analog signal with a first order
switched capacitor filter.
Low Pass Filter
A 3rd order continuous time low pass filter in the transmit
path filters the quantization noise and noise generated by the
ΣΔ DA converter. The typical corner frequency f−3dB = 138
kHz and is internally trimmed to compensate for process
variation. This filter can be tuned to f−3dB = 1508 kHz as
described in reference [1].
Amplifier with Automatic Level Control (ALC)
The pin ALC_IN is used for level control of the
transmitter output level. First peak detection is done. The
peak value is compared to two thresholds levels:
VTLALC_IN and VTHALC_IN. The result of the peak
http://onsemi.com
22
NCN49597
The automatic level control can be disabled by setting
register R_ALC_CTRL[3] = 1. In this case the transmitter
output level is fixed to the programmed level in the register
R_ALC_CTRL[2:0]. See Reference 1.
The gain changes in the next CHIP_CLK period.
An evaluation phase and a level adjustment take 2
CHIP_CLK periods. ALC operation is enabled only during
the first 16 CHIP_CLK cycles after a hard or soft reset or
after going into transmit mode.
Table 21. FIXED TRANSMITTER OUTPUT ATTENUATION
ALC_CTRL[2:0]
Attenuation
000
0 dB
001
−3 dB
010
−6 dB
011
−9 dB
100
−12 dB
101
−15 dB
110
−18 dB
111
−21 dB
Remark:
Transmitter Output TX_OUT
external circuitry working with another ground. To suppress
the second and third order harmonic of the generated S−FSK
signal it is recommended to use a 2nd or 4th order low pass
filter. In Figure 17 a MFB topology of a 2nd order filter is
illustrated.
The transmitter output is DC coupled to the TX_OUT pin.
Because the complete analog part of NCN49597 is
referenced to the analogue ground REF_OUT, a decoupling
capacitor C1 is needed when connecting NCN49597 to
Transmitter (S−FSK Modulator )
C4
FROM LINE
DRIVER
ALC
control
ALC _IN
R3
C3
R2
R1
C2
TO TX POWER
OUTPUT STAGE
C1
LP
Filter
TX_OUT
ARM
Interface
&
Control
TX_EN
VSSA
R4
PC 20091216.1
Figure 17. TX_OUT Filter
Receiver Path Description
pass active filter to attenuate the mains frequency. This high
pass filter output is followed by a gain stage which is used
in an automatic gain control loop. This block also performs
a single ended input to differential output conversion. This
gain stage is followed by a continuous time low pass filter
to limit the bandwidth. A 4th order sigma delta converter
converts the analog signal to digital samples. A quadrature
demodulation for fS and fM is than performed by an internal
DSP, as well the handling of the bits and the frames.
Receiver Block Diagram
The receiver takes in the analog signal from the line
coupler, conditions it and demodulates it in a data−stream to
the communication controller. The operation mode and the
baud rate are made according to the setting in R_CONF,
R_FS and R_FM. The receive signal is applied first to a high
pass filter. Therefore NCN49597 has a low noise operational
amplifier at the input stage which can be used to make a high
http://onsemi.com
23
NCN49597
RX_OUT
Receiver (Analog Path)
FROM
DIGITAL
LOW NOISE
OPAMP
RX_IN
4th
order
SD AD
LPF
Gain
REF_OUT
TO
DIGITAL
REF
1,65 V
PC20090610.2
Figure 18. Analog Path of the Receiver
FROM TRANSMITTER
Receiver (Digital Path)
fMI
f MQ f SI
Quadrature Demodulator
fSQ
nd
FROM
ANALOG
2
Noise
Shaper
1st
Decimator
Decimator
fMQ
Compen−
sator
nd
2
nd
2
Abs
value
accu
AGC
Control
Sliding
Filter
IS
Sliding
Filter
Decimator
f SQ
nd
2
Decimator
Sliding
Filter
QM
Decimator
fSI
TO
GAIN
IM
QS
fM
fS
Sliding
Filter
PC20110610.3
Figure 19. Digital Path of the Receiver ADC and Quadrature Demodulation
50/60 Hz Suppression Filter
noise operational amplifier. REF_OUT is the analog output
pin which provides the voltage reference (1.65 V) used by
the A/D converter. This pin must be decoupled from the
analog ground by a 1 mF ceramic capacitance (CDREF). It is
not allowed to load this pin.
NCN49597 receiver input provides a low noise input
operational amplifier in a follower configuration which can
be used to make a 50/60 Hz suppression filter with a
minimum number of external components. Pin RX_IN is the
positive input and RX_OUT is the output of the input low
R2
Received
Signal
VIN
C2
C1
RX_OUT
RX_IN
2
3
Receiver (S−FSK Demodulator)
LOW NOISE
OPAMP
TO AGC
R1
REF_OUT 4
1,65 V
CDREF
REF
VSSA
PC20090722.1
Figure 20. External Component Connection for 50/60 Hz Suppression Filter
values and after this filter, a typical attenuation of 85 dB at
50 Hz is obtained. Figure 21 represents external
components connection. In a typical application the
coupling transformer in combination with a parallel
capacitance forms a high pass filter with a typical
attenuation of 60 dB. The combined effect of the two filters
RX_IN is the positive analog input pin of the receiver low
noise input op−amp. Together with the output RX_OUT an
active high pass filter is realized. This filter removes the
main frequency (50 or 60 Hz) from the received signal. The
filter characteristics are determined by external capacitors
and resistors. Typical values are given in Table 27. For these
http://onsemi.com
24
NCN49597
decreases the voltage level of 230 Vrms at the mains
frequency well below the sensitivity of the NCN49597.
T
20
Vin/Vrx_out (dB)
−20
−60
−100
−140
10
100
1k
Frequency (Hz)
10k
100k
Figure 21. Transfer Function of 50 Hz Suppression Circuit
Table 22. VALUE OF THE RESISTORS AND CAPACITORS
Component
Value
Unit
C1
1.5
nF
C2
1.5
nF
CDREF
1
mF
R1
22
kW
R2
11
kW
NCN49597works in half duplex mode. The typical corner
frequency f−3dB = 138 kHz and is internally trimmed to
compensate for process variation.
Remark: The analog part of NCN49597 is referenced to the
internal analog ground REF_OUT = 1.65 V (typical value).
If the external circuitry works with a different analogue
reference level one must be sure to place a decoupling
capacitor.
A/D Converter
The output of the low pass filter is input for an analog 4th
order sigma−delta converter. The DAC reference levels are
supplied from the reference block. The digital output of the
converter is fed into a noise shaping circuit blocking the
quantization noise from the band of interest, followed by a
decimation and a compensation step.
Auto Gain Control (AGC)
The receiver path has a gain stage which is used for
automatic gain control. The gain can be changed in 8 steps
of 6 dB. The control of the AGC is done by a digital circuit
which measures the signal level after the AD converter, and
regulates the average signal in a window around a
percentage of the full scale. The AGC works in 2 cycles: a
measurement cycle at the rising edge of the CHIP_CLK and
an update cycle starting at the next CHIP_CLK.
Quadrature Demodulator
The quadrature demodulation block takes the AD signal
and mixes it with the in−phase and quadrature phase of the
fS and fM carrier frequencies. After a low pass filter and
rectification the mixer output signals are further processed
in software. There the accumulation over a period of
CHIP_CLK is done which results in the discrimination of
data 0 and data 1.
Low Noise Anti Aliasing Filter
The receiver has a 3rd order continuous time low pass filter
in the signal path. This filter is in fact the same block as in
the transmit path which can be shared because
http://onsemi.com
25
NCN49597
Bit Sync
cross detector and loop delay in the Rx−filter circuitry will
cause a shift between the physical transmitted bit and the
received S−FSK signal as illustrated in Figure 23.
At the transmit side the data−stream is in sync and in phase
with the zero crossing of the mains. The complex impedance
of the power line together with propagation delay in the zero
Mains
t
Transmitted
bit stream
Bit 0
Bit1
Bit 2
Bit 3
Bit 4
Bit 5
Bit 6
Bit 7
Bit 8
Modulation
Transmission over the Power Line
PC20101119 .1
Bit delay
Figure 22. Bit Delay Cause by Transmission Over a Power Line
Communication Controller
The Communication Controller block includes the ARM
CORTEX M0 32 bit RISC processor, its peripherals: Data
RAM, Program ROM, TIMERS 1 and 2, Interrupt Control,
TEST−Control, Watchdog and Power On Reset (POR), I/O
ports and the Serial Communication Interface (SCI). The
micro−processor is programmed to handle the physical layer
(chip synchronization), and the MAC layer conform to
IEC 61334−5−1. The program is stored in a masked ROM.
The RAM contains the necessary space to store the working
data. The back−end interface is done through the Local Port
and Serial Communication Interface block. This back−end
is used for data transmission with the application micro
controller (containing the application layer for concentrator,
power meter, or other functions) and for the definition of the
modem configuration.
More details can be found in Reference 1.
To compensate for this delay between physical and
demodulated bit a synchro bit value is introduced. It shifts
forward the Hardware Demodulating process up to 7 chip
clocks. See Figure 24.
CHIP_CLK
SBV[2:0] = 0
Bit 0
SBV[2:0] = 3
Bit1
Bit 2
PC20101119 .2
Figure 23. Compensation for Bit Delay by Shifting
Forward the Start of the Demodulating Process
The synchro bit value can be set using register SBV [2:0].
Table 23. SYNCHRO BIT VALUE
SBV[2:0]
Bit Delay
000
0 CHIP_CLK
001
1 CHIP_CLK
010
2 CHIP_CLK
011
3 CHIP_CLK
100
4 CHIP_CLK
101
5 CHIP_CLK
110
6 CHIP_CLK
111
7 CHIP_CLK
http://onsemi.com
26
NCN49597
TX _ENB
Communication Controller
Data
RAM
Serial
Comm.
Interface
Program
ROM
TxD
RxD
T _ REQ
BR 0
BR 1
ARM
Risc
Core
Local Port
Timer 1 & 2
POR
TO
TRANSMIT
FROM
RECEIVER
RX _DATA
CRC
TXD /PRES
RESB
Watchdog
Test
Control
Interrupt
Control
TRSTB
TCK
TMS
TDO
TDI
PC20091111.1
TEST
Figure 24. Communication Controller
REFERENCE
In this document references are made to:
1. Design Manual NCN49597
http://www.onsemi.com
2. EN 50065−1: Signaling on low−voltage electrical
installations in the frequency range 3 kHz to
148.5 kHz
http://connect.nen.nl/~/Preview.aspx?artfile=4257
28&RNR=66840
3. [3] ERDF−CPT−Linky−SPEC−FONC−CPL
version V1.0 Linky PLC profile functional
specification
http://www.erdfdistribution.fr/medias/Linky/ERD
F−CPT−Linky−SPEC−FONC−CPL.pdf
4. DLMS UA 1000−2 Ed. 7.0 DLMS/COSEM
Architecture and Protocols
http://www.dlms.com/documentation/dlmsuacolou
redbookspasswordprotectedarea/index.html
5. IEC 61334−5−1 Lower layer S−FSK Profile.
http://webstore.iec.ch/preview/info_iec61334−5−1
%7Bed2.0%7Db.pdf
6. IEC 61334−5−1 Lower layer S−FSK Profile.
http://webstore.iec.ch/preview/info_iec61334−5−1
%7Bed2.0%7Db.pdf
Table 24. ORDERING INFORMATION
Temperature Range
Package
Shipping†
NCN49597C5972G
−25°C – 80°C
QFN−52
(Pb−Free)
Tube
NCN49597C5972RG
−25°C – 80°C
QFN−52
(Pb−Free)
Tape & Reel
Device
†For information on tape and reel specifications, including part orientation and tape sizes, please refer to our Tape and Reel Packaging
Specification Brochure, BRD8011/D.
http://onsemi.com
27
NCN49597
PACKAGE DIMENSIONS
QFN52 8x8, 0.5P
CASE 485M−01
ISSUE C
D
ÉÉÉÉ
ÉÉÉÉ
ÉÉÉÉ
ÉÉÉÉ
PIN ONE
REFERENCE
NOTES:
1. DIMENSIONING AND TOLERANCING PER
ASME Y14.5M, 1994.
2. CONTROLLING DIMENSION: MILLIMETERS
3. DIMENSION b APPLIES TO PLATED TERMINAL
AND IS MEASURED BETWEEN 0.25 AND 0.30
MM FROM TERMINAL.
4. COPLANARITY APPLIES TO THE EXPOSED
PAD AS WELL AS THE TERMINALS.
A
B
DIM
A
A1
A2
A3
b
D
D2
E
E2
e
K
L
E
2X
0.15 C
2X
0.15 C
A2
MILLIMETERS
MIN
MAX
0.80
1.00
0.00
0.05
0.60
0.80
0.20 REF
0.18
0.30
8.00 BSC
6.50
6.80
8.00 BSC
6.50
6.80
0.50 BSC
0.20
--0.30
0.50
0.10 C
A
0.08 C
SEATING PLANE
A3
A1
RECOMMENDED
SOLDERING FOOTPRINT
REF
8.30
C
D2
14
52 X
L
52X
0.62
6.75
26
27
13
E2
K
8.30
39
1
52 X
6.75
52
40
e
52 X
b
PKG
OUTLINE
NOTE 3
0.10 C A B
0.50
PITCH
52X
0.30
DIMENSIONS: MILLIMETERS
0.05 C
ON Semiconductor and
are registered trademarks of Semiconductor Components Industries, LLC (SCILLC). SCILLC reserves the right to make changes without further notice
to any products herein. SCILLC makes no warranty, representation or guarantee regarding the suitability of its products for any particular purpose, nor does SCILLC assume any liability
arising out of the application or use of any product or circuit, and specifically disclaims any and all liability, including without limitation special, consequential or incidental damages.
“Typical” parameters which may be provided in SCILLC data sheets and/or specifications can and do vary in different applications and actual performance may vary over time. All
operating parameters, including “Typicals” must be validated for each customer application by customer’s technical experts. SCILLC does not convey any license under its patent rights
nor the rights of others. SCILLC products are not designed, intended, or authorized for use as components in systems intended for surgical implant into the body, or other applications
intended to support or sustain life, or for any other application in which the failure of the SCILLC product could create a situation where personal injury or death may occur. Should
Buyer purchase or use SCILLC products for any such unintended or unauthorized application, Buyer shall indemnify and hold SCILLC and its officers, employees, subsidiaries, affiliates,
and distributors harmless against all claims, costs, damages, and expenses, and reasonable attorney fees arising out of, directly or indirectly, any claim of personal injury or death
associated with such unintended or unauthorized use, even if such claim alleges that SCILLC was negligent regarding the design or manufacture of the part. SCILLC is an Equal
Opportunity/Affirmative Action Employer. This literature is subject to all applicable copyright laws and is not for resale in any manner.
PUBLICATION ORDERING INFORMATION
LITERATURE FULFILLMENT:
Literature Distribution Center for ON Semiconductor
P.O. Box 5163, Denver, Colorado 80217 USA
Phone: 303−675−2175 or 800−344−3860 Toll Free USA/Canada
Fax: 303−675−2176 or 800−344−3867 Toll Free USA/Canada
Email: [email protected]
N. American Technical Support: 800−282−9855 Toll Free
USA/Canada
Europe, Middle East and Africa Technical Support:
Phone: 421 33 790 2910
Japan Customer Focus Center
Phone: 81−3−5817−1050
http://onsemi.com
28
ON Semiconductor Website: www.onsemi.com
Order Literature: http://www.onsemi.com/orderlit
For additional information, please contact your local
Sales Representative
NCN49597/D