SAMES PM2002

Application Note:
Energy Meter Evaluation Module
sames
PM2002DP
INTRODUCTION
CONNECTORS ON MODULE
This application note describes the functionality of the
SA2002D metering integrated circuit using the PM2002DP
evaluation module.
The PM2002DP module connects directly to live and neutral
on SCK1. The module is referenced to live and should be kept
in mind when connecting test equipment to the module. The
current is measured by the shunt on the top of the PCB. The left
terminal of the shunt is connected to live. The live out will be
connected to the right terminal of the shunt.
The SA2002 enables the meter manufacturer to build a meter
that measures the energy consumption, and records it to a
mechanical counter. Energy flow direction as well as energy
metering activity is indicated by means of LEDs. This
application note will focus on the practical use of the SA2002D,
more detailed information specific to the SA2002D can be
found in the applicable datasheet.
Name Function Description
SCK1 Mains connector for module power and voltage
sense
JP2 Optional current transformer connector.
(Underneath shunt resistor)
THE SA2002D PIN PROGRAMMABLE MONOCHIP
METER
JP3 Optional Stepper motor connector. (Remove jumper
J6 to disconnect impulse counter)
Setting
Calibrated
Pin Status
LED imp/kWh
Table 2: Connector descriptions
6A / 220V
6400
R0 = 0, R1 = 0, R2 = 1
10A / 220V
6400
R0 = 0, R1 = 0, R2 = 0
20A / 220V
3200
R0 = 1, R1 = 0, R2 = 0
30A / 220V
3200
R0 = 1, R1 = 0, R2 = 1
40A / 220V
1600
R0 = 0, R1 = 1, R2 = 0
60A / 220V
1600
R0 = 0, R1 = 1, R2 = 1
80A / 220V
800
R0 = 1, R1 = 1, R2 = 0
Table 1: A summary of the pin settings possible with the
SA2002D. Pin status 0 indicates connection to VSS and 1
indicates connection to VDD.
Live In
Live Out
Neutral
Figure 1: Connection and jumper settings for 80A / 220V bi-directional meter module
SPEC-0088 (REV. 1)
1/10
08-11-00
sames
PM2002DP
MODULE SETUP
The PM2002DP module is setup for use with the SA2002D integrated circuit. Resistor values used on the module are calculated for
rated conditions of 80A/220V.
Vdd
Vss
J11
Vdd
Vss
J12
Vdd
Vss
J13
Vdd
Vdd
IVP
DIRI
P18
P4
R2
DIRO
P17
P5
R1
NC
P16
P6
R0
MON
P15
P7
FAST
Vss
P14
P8
Vdd
LED
P13
MOP
P12
NC
P11
P9
CNF
P10
NC
Vss
J15
AGND
IIP
Vref
Vss
J14
IIN
SA2002D
J3
Vdd
Vss
J2
J1
JP3
1
2
Vss
J6
654321.1
J4
Figure 2: Jumper schematic, digital IO’s
Name
Function Description
J1
J1 is used to select the energy direction ( DIRI pin). The three options available are:
P18 connected to Vdd - Negative energy measurement
P18 connected to Vss - Positive energy measurement
P18 connected to J2 (P17) - Bi-directional energy measurement
P18 should not be left floating and must be connected to one of the options described above.
J2
J2 is only used to select bi-directional energy measurement when connected to P18
J3 and J4
These are test points placed next to the digital pins of the SA2002E
J5
Not fitted This is the current sense input ground. If a current transformer is used for current sensing the two
pins of J5 must be connected.
J6
Connects the impulse to VSS. If a stepper motor is connected to JP3 then J6 should be left open.
J7
Analog ground test point (see figure 1)
J8
Positive supply test point (Vdd) (see figure 1)
J9
Negative supply test point (Vss) (see figure 1)
J11, J12
and J13
Used to select the R2, R1 and R0 pins of the SA2002D for the various rated conditions. Refer to table 1 for the
possible settings
J14
Used to select fast calibration mode. Connecting P7 to Vdd selects fast calibration mode. For normal operation
P7 must be connected to Vss
J15
Used to select between normal and configure / test modes. For normal operation connect P9 to Vss.
J16
Used to select between 220V and 110V mains systems (See figure 3). Leave open for 220V mains.
Table 3: Jumper settings for various device options
http://www.sames.co.za
2/10
sames
PM2002DP
ANALOG SECTION
The analog (metering) interface described in this section is
designed for measuring 220V/80A with precision better than
Class 1.
The most important external components for the SA2002D
integrated circuit are the current sense resistors, the voltage
sense resistors and the bias setting resistor. The resistors
used in the metering section should be of the same type so
temperature effects are minimized.
Voltage Input IVP
The voltage input of the SA2002D (IVP) is driven with a current
of 14µA at nominal mains voltage. This voltage input saturates
at approximately 17µA. At a nominal voltage current of 14µA
allows for 20% overdriving. The mains voltage is divided with a
voltage divider to 14V that is fed to the voltage input pins via a
1MW resistor
Voltage Divider
The voltage divider is (Figure 3) calculated for a voltage drop of
14V. Treat C7 as a short circuit and ignore J16. Equations for
the voltage divider in figure 3 are:
Standard resistor values of R1, R2, R3 and R15 are chosen to
be 47kW, 150kW, 47kW and 150kW. The resistor RA is divided
so that the voltage drop across one resistor is within the
specified limits of the resistor type that is used, usually
200VDC. The resistor value ratios are chosen so that shorting
J16 the module could be used on a 110VAC mains system.
CURRENT SENSOR INPUT RESISTORS FIGURE 4 (USING
A SHUNT RESISTOR)
The resistors R6, R7 define the current level into the current
sense inputs the device. The voltage drop across the shunt
should be at least 20mV at rated conditions. A shunt resistor
with a value of 50mV @80A was chosen for the application
module for its ease of use. The resistor values are calculated
for an input current of 16µA on the current inputs at rated
conditions. For a 80A meter the resistor values are calculated
as follows:
R6 = R7 = (IL / 16µA) x RSH / 2
= 80A / 16µA x 625uW / 2
= 1.5625kW
IL = Line current
A standard value of 1.6kW is chosen.
RB = R1 + R2 + R3 + R15 + R10
RB = R12 || ( R11 + P1 / 2)
LIVE IN
Combining the two equations gives:
(RA + RB) / 220V = RB / 14V
R14
L
R6
R7
Values for resistors R10 = 47W, R11 = 22kW, P1=10kW and
R12 = 1MW is chosen.
LIVE OUT
Substituting the values result in:
RB = 26.29kW
RA = RB x (220V / 14V - 1)
RA = 386.84kW
Figure 4: Current input configuration
J16
NEUTRAL
R10
R1
R2
R3
C7
R15
R11
P1
LIVE IN
Figure 3: Mains voltage divider
http://www.sames.co.za
3/10
R12
sames
PM2002DP
CT TERMINATION RESISTOR
Provision is made for the use of a current transformer on the
module. The existing shunt needs to be removed and the
current sense resistors will have to be recalculated for the
specific current transformer. The voltage drop across the CT
termination resistor at rated current should be at least 20mV.
The CT's used should have a low phase shift and a ratio of
1:2500.The CT is terminated with a 2.7W resistor giving a
voltage drop of 864mV across the termination resistor at rated
conditions
CURRENT SENSOR INPUT RESISTORS FIGURE 5 (USING
A CURRENT TRANSFORMER)
The resistors R6, R7 define the current level into the current
sense inputs the device. The resistor values are selected for
an input current of 16µA on the current inputs at rated
conditions. For an 80A-rated meter the resistor values are
calculated as follows:
R6 = R7 = (IL / 16µA) x RSH / 2
= 80A / 16µA x 2.7W / 2
= 2.7kW
Phase Compensation (When using a current transformer)
Phase shift caused by the current transformer may be
corrected by inserting a capacitor in the voltage divider circuit.
See Figure 6, Capacitor C7. To compensate for a phase shift of
0.18 degrees the capacitor value is calculated as follows:
C = 1 / (2 x p x Mains frequency x R5 x tan (Phase shift angle))
C = 1 / (2 x p x 50 x 1M x tan( 0.18 degrees))
C = 1.013µF
Reference Voltage VREF
The VREF pin of the SA2002D is connected to a resistor that
determines the on chip bias current.
Ground GND
The GND pin of the SA2002D is to the live phase, which is
halfway between VDD and VSS. Note that supply bypass
capacitors C1 and C2 are positioned as close as possible to the
supply pins of the device, and connected to a solid ground
plane.
IL = Line current
RSH = CT Termination resistor
2500 = CT ratio
L
CT1
LIVE IN
J5
R6
IIN
R16
LIVE OUT
IIP
R7
Figure 5: Current input configuration
http://www.sames.co.za
4/10
sames
PM2002DP
COMPONENT LISTS
The following component list covers all components fitted on the PM2002DP module as shipped
Symbol
Description
U1
D1, D2
D3, D4
R1, R3
R2, R15
R4, R5
R6, R7
R8, R9
R10
R11
R12
R13
R14
R16
SA2002D
Diode, Silicon, 1N4007
Diode, Zener, 2.4V
Resistor, 47k, 1/4W, 1%, metal
Resistor, 150k, 1/4W, 1%, metal
Resistor, 100R, 1/4W, 1%, metal
Resistor, 1.6k, 1/4W, 1%, metal
Resistor, 2.4k, 1/4W, 1%, metal
Resistor, 47R, 2W, 5%, wire wound
Resistor, 22k, 1/4W, 1%, metal
Resistor, 1M, 1/4W, 1%, metal
Resistor, 24k, 1/4W, 1%, metal
Shunt resistor, 80A / 50mV
Resistor, 1/4W, 1%, metal
Resistor, 1/4W, 1%, metal
P1
C1, C2
C3, C4
C5
C6
C7
C8
LED1, LED2
CNT1
SCK1
JP3
6
24
Detail
DIP-20
Note 1
Note 1
Capacitor, 220nF
Capacitor, 220nF, 16V, electrolytic
Capacitor, 470nF, 250VAC
Capacitor, 820nF
Capacitor
Capacitor, 2200uF, 16V, electrolytic
3mm Light emitting diode
Note 2
Impulse counter, Kuebler, K07.80
Molex 3 pin connector, 200mil pin spacing
Molex 2 pin connector, 100mil pin spacing
Jumpers
Header pins
Note1: In case a current transformer is used on the board R16 is the termination resistor. Resistors R6 and R7 values may need to be
changed to match the CT used.
Note2: Capacitor values may be selected to compensate for phase errors caused by current transformers.
Table 4: Components for PM200DP module set up for 220V/80A
http://www.sames.co.za
5/10
sames
PM2002DP
J8
NEUTRAL
C5
R10
N
VDD
D1
R4
SCK1
1
2
+
L
C3
D3
C2
J7
LIVE IN
P1
+ C4
+ C8
D4
C1
D2
R5
R11
VSS
J9
R1
MM
R2
R3
R15
C7
A
J16
R14
SA
IIN
SB
IIP
1
R7
2
B
3
VDD
R13
C6
NEUTRAL
LIVE OUT
R12
U1
R6
P4
4
P5
5
P6
6
P7
VDD
7
8
P9 9
LO
VSS
P10
VDD
10
IIN
GND
IIP
IVP
VREF
DIRI
R2
DIRO
R1
NC
R0
MON
FAST
VSS
VDD
LED
CNF
MOP
NC
NC
20
19
18
J1
P18
17
P17
16
P16
15
P15
VDD
J2
VSS
R9
LED1
VDD
VSS
14
13
P13
12
P12
11
P11
R8
LED2
J6
JP3
J11
J12
J13
J14
1
2
J15
VSS
Figure 6: Schematic diagram of the complete PM2002DP module
http://www.sames.co.za
6/10
6 5 4 3 2 1 .1 CNT1
sames
PM2002DP
PCB LAYOUT
Figure 7: Top layer layout of the PM2002D module
Figure 8: Bottom layer layout of the PM2002D module
http://www.sames.co.za
7/10
sames
PM2002DP
Figure 9: Silkscreen of the PM2002D module
http://www.sames.co.za
8/10
sames
PM9607AP
PM2002DP
NOTE:
http://www.sames.co.za
9/10
sames
PM9607AP
PM2002DP
DISCLAIMER:
The information contained in this document is confidential and proprietary to South African Micro-Electronic Systems (Pty) Ltd
("SAMES") and may not be copied or disclosed to a third party, in whole or in part, without the express written consent of SAMES.
The information contained herein is current as of the date of publication; however, delivery of this document shall not under any
circumstances create any implication that the information contained herein is correct as of any time subsequent to such date.
SAMES does not undertake to inform any recipient of this document of any changes in the information contained herein, and
SAMES expressly reserves the right to make changes in such information, without notification, even if such changes would render
information contained herein inaccurate or incomplete. SAMES makes no representation or warranty that any circuit designed by
reference to the information contained herein, will function without errors and as intended by the designer.
Any sales or technical questions may be posted to our e-mail address below:
[email protected]
For the latest updates on datasheets, please visit our web site:
http://www.sames.co.za.
SOUTH AFRICAN MICRO-ELECTRONIC SYSTEMS
DIVISION OF LABAT TECHNOLOGIES (PTY) LTD
Tel: (012) 333-6021
Tel: Int +27 12 333-6021
Fax: (012) 333-8071
Fax: Int +27 12 333-8071
33 ELAND STREET
KOEDOESPOORT INDUSTRIAL AREA
PRETORIA
REPUBLIC OF SOUTH AFRICA
P O BOX 15888
33 ELAND STREET
LYNN EAST 0039
REPUBLIC OF SOUTH AFRICA
http://www.sames.co.za
10/10