reactive power/energy, frequency and
voltage measurement
■Meets the IEC 521/1036 Specification
requirements for Class 1 AC Watt hour
meters
■Protected against ESD
■Total power consumption rating below
25mW
DESCRIPTION
The SAMES SA9603C bidirectional single
phase power/energy metering integrated
circuit has a serial interface with a RS232
protocol, ideal for use with a µ-Controller.
The SA9603C performs the calculation for
active and reactive power.
The SA9603C is a direct replacement for
the SA9103C with additional features for
the fast reading of all register values.
The integrated values for active and
reactive energy as well as the mains
frequency and voltage information are
accessable through the serial interface as
16 bit values.
This universal single phase power/energy
metering integrated circuit is ideally suited
for energy calculations in applications such
as electricity dispensing systems (ED's),
residential municipal metering and factory
energy metering and control.
The SA9603C integrated circuit is available
in both 14 and 20 pin dual-in-line plastic
7133
sames
SA9603C
PRELIMINARY
SA9603C
■Adaptable to different current sensor
technologies
■Operates over a wide temperature
range
■Serial interface having a RS232
protocol
■Precision voltage reference on-chip
■Tri-state output to allow parallel
connection of devices
(DIP-14/DIP-20), as well as 20 pin small
outline (SOIC-20) package types.
PIN CONNECTIONS
9
8
SO U T
Package: DIP-14
1/18
PDS039-SA9603C-001 REV. A19-09-97
1/16
Page 2
SA9603C
TP6
OSC 2
TP9DDV
D R-00829
789
10
VREF
IIN
TP5
TP4
124
635
SS
OSC 1
SOUT
14
V
111213
IV P
GND
TP17
2019151617
18
OSC1
OSC
REF.
ACTIVE
REACTIVE
FREQUENCY
SIG NAL
SSING
D R-00830
TEST
TIMING
FM O
INTERFACE
V
SOU T
PIN CONNECTIONS
BLOCK DIAGRAM
IIP
TP18
TP16
FMO
SIN
Package: DIP-20
SOIC-20
2/18
IIP
IIN
IVP
GND
ANALOG
PR O CE-
sames
VREF
ENERGY
ENERGY
VOLTAGE
VOLTAGE
OSC2
V
DD
SERIAL
SS
SIN
Page 3
SA9603C
ABSOLUTE MAXIMUM RATINGS*
ParameterSymbolMinMaxUnit
Supply Voltage VDD -V
Current on any pinI
Storage TemperatureT
Operating TemperatureT
PIN
STG
O
SS
-0.36.0 V
-150+150 mA
-40+125 °C
-10 +70 °C
* Stresses above those listed under “Absolute Maximum Ratings” may cause permanent
damage to the device. This is a stress rating only. Functional operation of the device
at these or any other condition above those indicated in the operational sections of this
specification, is not implied. Exposure to Absolute Maximum Ratings for extended
periods may affect device reliability.
sames
3/18
Page 4
SA9603C
ELECTRICAL CHARACTERISTICS
(VDD = 2.5V, VSS = -2.5V, over the temperature range -10°C to +70°C#, unless otherwise
specified.)
56mA
Current Sensor Inputs (Differential)
Input Current RangeI
-25+25µAPeak value
II
Voltage Sensor Input (Asymetrical)
Input Current RangeI
IV
-25+25µAPeak value
Pin FMO
Output Low VoltageV
Output High Voltage V
OL
VDD-1VIOH = -2mA
OH
VSS+1VIOL = 5mA
Pin SIN
Input High VoltageV
Input Low VoltageV
Pull-up Current-I
VDD-1V
IH
IL
50150µAVIN = V
I
VSS+1V
SS
Pin SOUTTri-state
Output Low VoltageV
Output High VoltageV
OL
VDD-1V
OH
VSS+1V
OscillatorRecommended crystal:
TV colour burst crystal f = 3.5795 MHz
Pin VREFWith R = 24kΩ
Ref. Current-I
Ref. VoltageV
#
Extended Operating Temperature Range available on request.
4/18
sames
R
R
455055µAconnected to V
1.11.3VReferred to V
SS
SS
Page 5
PIN DESCRIPTION
SA9603C
14 Pin
14
5
10
13
1
2
7
6
8
9
3
4
11
12
20 Pin
20
8
14
19
1
2
11
10
12
13
3
7
15
4
5
6
9
16
17
18
Designation
GND
V
DD
V
SS
IVP
IIN
IIP
OSC1
OSC2
SOUT
SIN
VREF
TEST
FMO
TP4
TP5
TP6
TP9
TP12
TP16
TP17
TP18
Description
Ground
Positive Supply Voltage
Negative Supply Voltage
Analog input for mains voltage
Inputs for current sensor
Connections for crystal or ceramic resonator
(OSC1 = Input ; OSC2 = Output)
Serial Interface Out
Serial Interface In
Connection for current setting resistor
Test Pin. Must be connected to V
SS
Mains frequency zero-crossing indication
Test Pins (Leave unconnected)
FUNCTIONAL DESCRIPTION
The SA9603C is a CMOS mixed signal Analog/Digital integrated circuit, which performs
power/energy calculations across a power range of 1000:1, to an overall accurancy of
better than Class 1.
The integrated circuit includes all the required functions for 1-phase power and energy
measurement, such as two oversampling A/D converters for the voltage and current
sense inputs, power calculation and energy integration. Internal offsets are eliminated
through the use of cancellation procedures. The SA9603C integrates the measured
active and reactive power consumption into 22 bit integrators, which are accessable via
a serial port having a RS232 protocol. Two additional on-chip registers exist: one register
contains the mains frequency information; and the other the voltage information.
sames
5/18
Page 6
SA9603C
D R -00831
IV P
VOLTAGE
SENSOR
IN P U T
V
IIP
IIN
CURRENT
SENSOR
IN P U TS
VDDVSSVDDVDDV
A
GND
VAI
1.Power Calculation
In the Application Circuit (Figure 1), the voltage drop across the shunt will be
between 0 and 16mV
is converted to a current of between 0 and 16µA
(0 to 80A through a shunt resistor of 200µΩ). This voltage
RMS
, by means of resistors R1 and
RMS
R2.
The current sense input saturates at an input current of ±25µA peak.
For the voltage sensor input, the mains voltage (230V AC) is divided down through
a divider to 14V
. The resulting current into the A/D converter input is 14µA
RMS
at nominal voltage, via resistor R4 (1MΩ).
In this configuration, with a mains voltage of 230V and a current of 80A, the
SA9603C functions at its optimum conditions, having a margin of 3dB for overload
available.
2.Analog Input Configuration
The input circuitry of the current and voltage sensor inputs are illustrated below.
These inputs are protected against electrostatic discharge through clamping
diodes.
The feedback loops from the outputs of the amplifiers AI and AV generate virtual
shorts on the signal inputs. Exact duplications of the input currents are generated
for the analog signal processing circuitry.
RMS
6/18
SS
SS
sames
Page 7
3.Electrostatic Discharge (ESD) Protection
The SA9603C integrated circuit's inputs/outputs are protected against ESD .
4.Power Consumption
The power consumption rating of the SA9603C integrated circuit is less than
25mW.
5.Serial Interface
Reading and resetting of the SA9603C's on-chip integrators, is performed via the
serial interface.
The settings are:19 200 Baud
1 Start bit (S)
1 Stop bit (E)
No parity bits
The serial interface, having a RS232 protocol, has been designed to operate directly
with a PC (Personal Computer).
The serial interface allows for the following operations:
Read Integrator (RD): The SA9603C integrated circuit transmits the integrator
status to the controller, after the current measurement cycle has been completed
(8 mains periods maximum).
The register containing the mains frequency information is read only.
Reset Integrator (RES): The SA9603C integrator is reset, without transmitting the
integrator status.
Read/Reset Integrator (RD/RES): The SA9603C transmits the integrator status
and resets the integrator after the current measurement cycle has been completed.
In a typical application, the system controller monitors the status of the SA9603C's
integrator using the "Read" command. At rated load conditions, the capacity of the
22 bit integrator allows for an integration time of 2 seconds, prior to integrator
overflow.
If after a "Read" command, the integrator value is sufficently high, a "Read/Reset"
command from the controller causes the SA9603C integrated circuit to complete
the existing measurement cycle, transmit the most significant bits of the 22 bit
integrator via the Serial Output (SOUT) to the controller and restart the integrator.
In order to ensure correct measurements, the integrator commands ("Read" and
"Read/Reset") are only executed after completion of the internal offset calibration
cycle. The cycle length is 8 mains periods.
Thus, for power calculations, the time value should be taken from the difference in
time from the previously received energy value to the currently received value.
By adapting the "Read/Reset" rate to the line current, the accuracy of the
measurement can be achieved down to lowest signal levels.
sames
SA9603C
7/18
Page 8
SA9603C
RESRDDUMP
RES
RD
STA RT
BIT
DR-0 08 33
RD/
RES
DUM P
RES
RD
RESRDRESRDSTOP
RDRDSTART
BIT
DR-00834
DUMP
DUMP
BIT
Dump register values: The content of the individual registers are transmitted
sequentially, at the 'Dump' command. Transmission of the first register value will
start with the completion of the current measurement cycle (Maximum 8 mains
cycles). The sequence of the registers is always as follows: Mains voltage, mains
frequency, reactive energy register followed by the active energy register value. By
specifying the register in the DUMP command, register values are transmitted
starting with the specified register and stopping with the active energy register.
Commands for the active energy integrator
RD
RES
RD/
RES
DUMP
DR -00832
START
BIT
STOP
BIT
Commands for the reactive energy integrator
DUM P
Commands for the frequency register
8/18
sames
BIT
STOP
Page 9
Commands for the voltage integrator
891011121314
15
1
234
DUMP
START
DR-01362
RD/
RES
DUMPRDRESRDRESRDRES
STOP
SA9603C
BIT
BIT
The register access codes which may be written to the SA9603C via the serial
communications port, are shown in the table below:
Note: The Dump Active ($04) and Read Active ($01) commands have the same
effect.
Data on SOUT
567
DR-00835
FIRST BYTE
0
SECOND BYTE
From the two bytes of data output by the device, the value for the register can
be derived as shown:
Register value =(First Byte * 256) + Second Byte
The register value is represented in two's compliment in order to provide for
positive and negative register values.
The most significant bit of the 16 bit energy register (active or reactive) may be
used as an indication of the direction of the energy flow (0 = positive, 1 =
negative).
sames
9/18
Page 10
SA9603C
6.Register Values
a.The active and reactive energy measured per count, may be calculated by
applying the following formula:
Energy per Count=
V * I
K
Watt seconds
WhereV=Rated Voltage
I=Rated Current
K=9281 for Active Energy
9281 * 2
for Reactive Energy
π
b.The mains frequency may be calculated as follows:
Frequency =
Crystal frequency
Register Value * 8
c.To calculate the measured voltage, the following formula may be used:
Vmeasured =
V * n
14000 * t
WhereV=rated mains voltage
t=time difference between successive reads
n=difference in register values between
successive reads
7.Software Flow
The SA9603C is able to execute code written for the SA9103C without any
modifications. (Ensure that only bits of the serial command to the device is set that
need to be set.)
It is suggested that the DUMP command is used in cases where more than one
register is continuously read. The DUMP command initiates a serial transmission
of successive register values, starting with the specified register. The Dump
command does not reset the register values.
New software should be developed in such a way that registers are never resettled
and must allow for register overflow. Register overflow is easily taken into account
by software running on a controlling microcontroller. The software subtracts the
previous register value from the current register value in order to determine the
actual change in register value. Note that the mains frequency register value only
needs to be scaled, in order to calculate the true mains frequency in Hertz.
The SA9603C integrated circuit only transmits the register values after completion
of the current measurement cycle (8 mains periods maximum).
The delay of 8 mains periods may be calculated from the period value of the
frequency returned by the initial read, and updated with each subsequent frequency
reading.
10/18
sames
Page 11
8.Calibration
For calibration of the SA9603C, the following procedure is recommended:
a. Establish the calibration factor for active energy (Ka) at power factor (PF)
close to 1.
Active (Measured) = register_value (Active) * Ka.1
b. The factor for reactive (Kr) is typically Ka * PI/2.
For higher accuracy of Kr, establish Kr at PF close to 0.
c. At PF close to 1, establish error for reactive (Er)
Er = (Reactive (Measured) - Reactive (True)) / Active ( Measured)3
Reactive (Corrected) = Reactive (Measured) - Er * Active (Measured) 3b
Measurement
SA9603C
Having determined the scaling factors (Ka & Kr) and error correction constant (Er)
the measurement cycle consists of the following steps:
Step 1Read active register
∨∨
∨
∨∨
⇒⇒
⇒
Step 2Calculate Active (Measured) as per 1Active energy
∨∨
∨
∨∨
⇒⇒
Step 3Read reactive register
∨∨
∨
∨∨
Step 4Calculate Reactive (Measured) as per 2
∨∨
∨
∨∨
Step 5Perform error correction
⇒⇒
⇒
Calculate Reactive (Corrected) as per 3bReactive energy
⇒⇒
The above five steps must be performed for each measurement cycle.
sames
11/18
Page 12
SA9603C
TYPICAL APPLICATIONS
In the Application Circuits (Figures 1 and 2), the components required for power metering
applications, are shown.
In Figure 1, a shunt resistor is used for current sensing. In this application, the circuitry
requires a +2.5V, 0V, -2.5V DC supply.
In the case of Figure 2, when using a current transformer for current sensing, a +5V, 0V
DC supply is sufficient for the circuit.
R1, R2 and RSH are the resistors defining the current level into the current sense input.
The values should be selected for an input current of 16µA
into the SA9603C at rated
RMS
line current.
Values for RSH of less than 200µΩ should be avoided.
R1 = R2 = (IL/16µA
WhereI
L
) * RSH/2
RMS
= Line current
RSH = Shunt resistor/termination resistor
R3, R6 and R4 set the current for the voltage sense input. The values should be selected
so that the input current into the voltage sense input (virtual ground) is set to 14µA
RMS
R7 defines all on-chip bias and reference currents. With R7 = 24kΩ, optimum conditions
are set.
XTAL is a colour burst TV crystal (f = 3.5795MHz) for the oscillator. The oscillator
frequency is divided down to 1.7897MHz on-chip to supply the A/D converters and digital
circuitry.
.
12/18
sames
Page 13
SA9603C
Figure 1: Application Circuit using a Shunt Resistor for current sensing,
Note 1: See TYPICAL APPLICATIONS when selecting the value of RSH.
Note 2:Resistor (R1and R2) values are dependant upon the selected value of
RSH.
Note 3: Capacitor (C9) to be positioned as close to IC-1, as possible.
Note 4: Capacitor (C11) selected for DC blocking and to minimize phase error
introduced by the current transformer.
Part NumberPackage
SA9603CPADIP-14
SA9603CPADIP-20
SA9603CSASOIC-20
Note:When ordering, the package option must be specified along with the part
number.
16/18
sames
Page 17
Note:
SA9603C
sames
17/18
Page 18
SA9603C
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:
energy@sames.co.za
For the latest updates on datasheets, please visit out web site:
http://www.sames.co.za
South African Micro-Electronic Systems (Pty) Ltd
P O Box 15888,33 Eland Street,
Lynn East,Koedoespoort Industrial Area,
0039Pretoria,
Republic of South Africa,Republic of South Africa