The STPM01 is designed for effective
measurement of active, reactive and apparent
energy in a power line system using Rogowski
coil, current transformer and shunt sensors. This
device can be implemented as a single chip
monophase energy meter or as a peripheral
measurement in a microcontroller based
monophase or 3-phase energy meter. The
STPM01 consists, essentially, of two parts: the
analog part and the digital part. The former, is
composed by preamplifier and 1
converter blocks, band gap voltage reference, low
drop voltage regulator, the latter, is composed by
system control, oscillator, hard wired DSP and
SPI interface. There is also an OTP block, which
is controlled through the SPI by means of a
st
order Δ ∑ A/D
STPM01
with tamper detection
TSSOP20
dedicated command set. The configured bits are
used for testing, configuration and calibration
purpose. From a pair of Δ
from analog section, a DSP unit computes the
amount of consummated active, reactive and
apparent energy, RMS and instantaneous values
of voltage and current. The results of computation
are available as pulse frequency and states on
the digital outputs of the device or as data bits in a
data stream, which can be read from the device
by means of SPI interface. This system bus
interface is used also during production testing of
the device and/or for temporary or permanent
programming of bits of internal OTP. In the
STPM01 an output signal with pulse frequency
proportional to energy is generated, this signal is
used in the calibration phase of the energy meter
application allowing a very easy approach. When
the device is fully configured and calibrated, a
dedicated bit of OTP block can be written
permanently in order to prevent accidental
entering into some test mode or changing any
configuration bit.
∑ output signals coming
Table 1.Device summary
Order codeTemperature rangePackagePackaging
STPM01FTR- 40 to 85 °CTSSOP20 (tape and reel)2500 parts per reel
15SYND I/OProgrammable input/output pin, see Ta bl e 5
16CLKINA INCrystal oscillator input or resistor connection if RC oscillator is selected
17CLKOUTA OUTOscillator Output (RC or crystal)
18SCL/NLCD I/OProgrammable input/output pin, seeTa bl e 5
19SDA/TDD I/OProgrammable input/output pin, see Ta bl e 5
20LEDD OProgrammable output pin, see Ta bl e 5
1. A: Analog, D: Digital, P: Power
(1)
Name and function
A OUT1.5 V Output of internal low drop regulator which supplies the digital core
GNDGround
P INSupply voltage
P INrSupply voltage for OTP cells
A OUT3 V Output of internal low drop regulator which supplies the analog part
A INPositive input of primary current channel
A INNegative input of primary current channel
A INPositive input of secondary current channel
A INNegative input of secondary current channel
A INPositive input of voltage channel
A INNegative input of voltage channel
Doc ID 10853 Rev 87/60
Maximum ratingsSTPM01
3 Maximum ratings
Table 3.Absolute maximum ratings
SymbolParameterValueUnit
V
V
I
V
V
CC
PIN
ID
IA
OTP
DC Input voltage-0.3 to 6V
Current on any pin (sink/source)± 150mA
Input voltage at digital pins (SCS, MOP, MON, SYN, SDATD,
SCLNLC, LED)
Input voltage at analog pins (I
IP1
, I
, I
, I
IN1
, VIP, VIN)-0.7 to 0.7V
IP2
IN2
-0.3 to V
+ 0.3V
CC
Input voltage at OTP pin-0.3 to 25V
ESDHuman body model (all pins)± 3.5kV
Operating ambient temperature- 40 to 85°C
Junction temperature- 40 to 150°C
Storage temperature range- 55 to 150°C
T
T
T
STG
OP
J
Note:Absolute maximum ratings are those values beyond which damage to the device may occur.
Functional operation under these condition is not implied.
Table 4.Thermal data
SymbolParameterValueUnit
R
thJA
1. This value is referred to single-layer PCB, JEDEC standard test board.
Thermal resistance junction-ambient114.5
(1)
°C/W
8/60Doc ID 10853 Rev 8
STPM01Functions
4 Functions
Table 5.Programmable pin functions
Programmable
pin
MONOutput for Stepper’s node (MB)
MOPOutput for Stepper’s node (MA)
If APL=2 then LED provides high frequency
pulses proportional to Active Energy with 50%
duty cycle.
LED
SCLNLC
SDATD
SYN
SCS
If APL=3 then LED provides pulses proportional
to Active Energy (internal signal AW). The
number of pulses per kWh can be selected
according to the value of KMOT configuration bit.
No-load indicator:
when low, a no-load condition is detected
Tamper indicator:
when low tamper condition is detected
Negative active power indicator:
when low a negative active power condition is
detected
Must be high to activate SCLNLC, SDATAD and
SYN indications
Stand-alone mode
(APL register=2 or 3)
Peripheral mode
(APL register=0 or 1)
If APL=0 then Watchdog signal.
If APL=1 then ΔΣ signal of current channel
If APL=0 then ZCR
If APL=1 then ΔΣ signal of voltage channel
If APL=0 then LED can provide Active,
Reactive or Apparent Energy according to
value of KMOT configuration bit.
If APL=1 then LED is connected to the MUX
signal generated from the tamper detection
circuit.
When LED=low then the primary current
channel is selected, if LED=high the
secondary current channel is selected.
Used for SPI interface (see SPI interface
section for details)
Doc ID 10853 Rev 89/60
FunctionsSTPM01
Table 6.Internal signal description
SymbolNameDescription
ZCRZero crossing signalProvides positive pulse every time the line voltage crosses zero
AWActive energyPulse frequency signal proportional to active energy
RWReactive energyPulse frequency signal proportional to reactive energy
SWApparent energyPulse frequency signal proportional to apparent energy
LINLine frequency signal
BFRBase frequency range
MA
Stepper motor signalsSignal available in MOP and MON to drive a stepper motor
MB
BITTamper flag
BILNo load condition
This signal is high when the voltage channel value is rising and it is low when
the voltage channel is falling. Basically this signal is the sign of dv/dt.
This signal is high when either the voltage line frequency is outside the
nominal band or the voltage register is below 64.
It is cleared when the voltage line frequency is inside the nominal band and
the voltage register goes above 128.
This signal provides the information on the tamper status. If low no tamper is
detected, when high a tamper condition has been detected. This signal is part
of the status register but is also available on the SDATD pin when in
standalone mode.
Provides information on the load condition. This signal is part of the status
register but is also available on the SCLNLC pin when in standalone mode.
BIL=1 no load condition, BIL=0 normal operation.
10/60Doc ID 10853 Rev 8
STPM01Electrical characteristics
5 Electrical characteristics
VCC = 5 V, TA = 25 °C, 100 nF to 1 uF between V
and V
Table 7.Electrical characteristics
, 100 nF to 1 uF between VCC and VSS unless otherwise specified.
SS
and VSS, 100 nF to 1 uF between V
DDA
SymbolParameterTest conditionsMin.Typ.Max.Unit
Energy measurement accuracy
f
e
e
e
Effective bandwidthLimited by digital filtering5400Hz
BW
Accuracy of active power
AW
Accuracy of reactive power
RW
Accuracy of apparent powerOver 1 to 500 of dynamic range0.1%
SW
Over 1 to 1000 of dynamic
range
Over 1 to 1000 of dynamic
range
0.1%
0.1%
SNRSignal to noise ratioOver the entire bandwidth52db
rms
rms
/50Hz
/50Hz
0.2%
PSRR
Power supply DC rejection
DC
Voltage signal: 200 mV
Current signal: 10 mV
= 4.194 MHz
f
CLK
VCC=3.3V±10%, 5V±10%
PSRR
Power supply AC rejection
AC
Voltage signal: 200 mV
Current signal: 10 mV
f
= 4.194 MHz
CLK
VCC=3.3V+0.2V
=5.0V+0.2V
V
CC
rms
rms
/50Hz
rms
/50Hz
rms
1@100Hz
1@100Hz
0.1%
General section
DDD
V
Operating supply voltage3.1655.5V
CC
Supply current configuration
I
registers cleared or device
CC
locked (TSTD=1)
Increase of supply current per
configuration bit, during
programming
ΔI
CC
Increase of supply current per
configuration bit with device
locked
PORPower on reset on V
V
V
f
f
LINE
V
Analog supply voltage2.853.03.15V
DDA
Digital supply voltage1.4251.501.575V
DDD
Oscillator clock frequency
CLK
Nominal line frequency4565Hz
OTP programming voltage1420V
OTP
CC
4 MHz, V
= 5V34
CC
mA
8 MHz, V
4 MHz, V
= 5V56
CC
= 5V120
CC
µA/bit
4 MHz, V
= 5V2
CC
2.5V
MDIV bit = 04.0004.194MHz
MDIV bit = 18.0008.192MHz
Doc ID 10853 Rev 811/60
Electrical characteristicsSTPM01
Table 7.Electrical characteristics (continued)
SymbolParameterTest conditionsMin.Typ.Max.Unit
I
t
I
LATCH
OTP programming current per
OTP
bit
OTP programming time per bit100300µs
OTP
Current injection latch-up
immunity
Analog Inputs (I
V
f
ADC
f
V
Z
G
I
LEAK
Maximum input signal levels
MAX
A/D Converter bandwidth10kHz
A/D Sampling frequencyF
SPL
Amplifier offset±20mV
OFF
Z
VIP, VIN Impedance
IP
V
, V
IN
ERR
I
VL
IP1
Impedance
Current channels gain error±10%
Voltage channel leakage current-11µA
Current channel leakage current
IP1
IN1
, I
, V
IN1
IP2
2.5mA
300mA
, I
, I
, VIP, VIN)
IP2
IN2
Voltage channel-0.30.3V
Gain 8X-0.150.15
Current
channels
Gain 16X-0.0750.075
V
Gain 24X-0.050.05
Gain 32X-0.0350.035
/4Hz
CLK
, V
IN2
Over the total operating voltage
range
Over the total operating voltage
range
100400kΩ
100kΩ
Channel disabled (PST=0 to 3;
CH2 disabled if C
disabled if C
SEL
=0; CH1
SEL
=1) or device off
-11
µA
Input enabled-1010
Digital I/O Characteristics (SDA, CLKIN, CLKOUT, SCS, SYN, LED)
SDA, SCS, SYN, LED0.75V
V
Input high voltage
IH
CLKIN1.5
SDA, SCS, SYN, LED0.25V
V
Input low voltage
IL
V
V
I
Output high voltageIO = -2mAVCC-0.4V
OH
Output low voltageIO = +2mA0.4V
OL
Pull up current15µA
UP
t
Transition timeC
TR
CLKIN0.8
= 50pF10ns
LOAD
Power I/O Characteristics (MOP, MON)
V
V
Output high voltageIO = -14mAVCC-0.5V
OH
Output low voltageIO = +14mA0.5V
OL
t
Transition timeC
TR
= 50pF510ns
LOAD
12/60Doc ID 10853 Rev 8
CC
CC
V
V
STPM01Electrical characteristics
Table 7.Electrical characteristics (continued)
SymbolParameterTest conditionsMin.Typ.Max.Unit
Crystal oscillator (see circuit Figure 20)
Input current on CLKIN1µA
I
I
R
External resistor14MΩ
P
External capacitors22pF
C
P
f
Nominal output frequency
CLK
RC oscillator (see circuit Figure 20)
44.194
MHz
88.192
I
CLKIN
R
t
Settling current
Settling resistor12kΩ
SET
Frequency jitter1ns
JIT
On chip reference voltage
Reference voltage1.23V
V
REF
Reference accuracy±1%
T
Temperature coefficientAfter calibration3050
C
SPI interface timing
F
SCLKr
F
SCLKw
t
t
t
t
t
Data read speed32MHz
Data write speed100kHz
Data setup time20ns
DS
Data hold time0ns
DH
Data driver on time20ns
ON
Data driver off time20ns
OFF
SYN active width2/f
SYN
f
CLK
= 4 MHz
4060µA
ppm/
°C
CLK
s
Doc ID 10853 Rev 813/60
TerminologySTPM01
6 Terminology
6.1 Measurement error
The error associated with the energy measurement made by the STPM01 is defined as:
This is the error due to the DC component associated with the analog inputs of the A/D
converters. Due to the internal automatic DC offset cancellation the STPM01 measurement
is not affected by DC components in voltage and current channel. The DC offset
cancellation is implemented in the DSP.
6.3 Gain error
The gain error is gain due to the signal channel gain amplifiers. This is the difference
between the measured ADC code and the ideal output code. The difference is expressed as
percentage of the ideal code.
6.4 Power supply DC and AC rejection
This parameter quantifies the STPM01 measurement error as a percentage of reading when
the power supplies are varied. For the PSRRAC measurement, a reading at two nominal
supplies voltages (3.3 and 5 V) is taken. A second reading is obtained with the same input
signal levels when an ac (200 mV
error introduced by this ac signal is expressed as a percentage of reading.
For the PSRRDC measurement, a reading at two nominal supplies voltages (3.3 and 5V) is
taken. A second reading is obtained with the same input signal levels when the supplies are
varied ± 10 %. Any error introduced is again expressed as a percentage of the reading.
/100 Hz) signal is introduced onto the supplies. Any
RMS
6.5 Conventions
The lowest analog and digital power supply voltage is named VSS which represent the
system ground (GND). All voltage specifications for digital input/output pins are referred to
GND.
Positive currents flow into a pin. Sinking current means that the current is flowing into the pin
and then it is positive. Sourcing current means that the current is flowing out of the pin and
then it is negative.
Timing specifications of signal treated by a digital control part are relative to CLKOUT. This
signal is provided from the crystal oscillator of 4.194 MHz nominal frequency or from the
internal RC oscillator, eventually an external source of 4.194 MHz or 8.192 MHz can be
used.
Timing specifications of signals of the SPI interface are relative to the SCLNLC, there is no
direct relationship between the clock (SCLNLC) of the SPI interface and the clock of the
DSP block. A positive logic convention is used in all equations.
14/60Doc ID 10853 Rev 8
STPM01Typical performance characteristics
7 Typical performance characteristics
Figure 3.Supply current vs. supply voltage,
T
= 25 °C
A
Figure 5.RC oscillator: frequency jitter vs.
temperature
Figure 4.RC oscillator frequency vs. V
R = 12 kΩ, T
= 25 °C
A
CC
,
Figure 6.Analog voltage regulator: line - load
regulation
Figure 7.Digital voltage regulator: line - load
regulation
Doc ID 10853 Rev 815/60
Figure 8.Voltage channel linearity at
different V
voltages
CC
Typical performance characteristicsSTPM01
Figure 9.Power supply AC rejection vs. V
CC
Figure 11. Error over dynamic range gain
dependence
Figure 10. Power supply DC rejection vs. V
CC
Figure 12. Primary current channel linearity at
different V
CC
Figure 13. Gain response of ΔΣ AD converters
16/60Doc ID 10853 Rev 8
STPM01Theory of operation
8 Theory of operation
8.1 General operation description
The STPM01 is able to perform active, reactive and apparent energy measurements, RMS
and instantaneous values for voltage and current, line frequency information.
Most of the functions are fully programmable using internal configuration bits accessible
through SPI interface. The most important configuration bits are the two application bits
(APL - see Ta bl e 1 6 for configuration register). Using these bits the STPM01 can be
programmed as peripheral (APL = 0 or APL = 1) in microcontroller based meter systems or
as standalone meter device (APL = 2 or APL = 3).
In standalone mode, the STPM01 is able to drive a stepper motor with the MOP and MON
pins, while some of the SPI pins (see Ta b le 5 ) are used to provide information on tamper, no
load and negative power.
In peripheral mode, due to the fact that the stepper motor is not used, the MOP and MON
pins are used to provide different information (see Ta bl e 5 ), while the SPI pins are used to
communicate with the microcontroller.
The STPM01 includes internal registers that hold the useful information for the meter
system. Two kinds of active energy are available: the total active energy that includes all
harmonic content called type 0 and the active energy limited to the 1st harmonic called type
1. This last energy value is obtained filtering the type 0 active energy. The resolution of both
the two active energies is 20-bit. Reactive and Apparent energies are also available with a
20-bit resolution.
STPM01 provides also the RMS values of voltage and current. Due to the modest dynamic
variation of the voltage, the RMS value is stored with a resolution of 11 bit. While the RMS
current value has a resolution of 16 bit. The momentary sampled value of voltage and
current are available also with a resolution of 11 and 16 bit respectively. The line frequency
value is stored with a resolution of 14 bits.
Due to the proprietary energy computation algorithm, STPM01 calibration is very easy and
fast allowing calibration in only one point over the whole current range. The calibration
parameters are stored permanently in the OTP (one time programmable) cells, preventing
calibration tampering.
8.2 Analog inputs
Input amplifiers
The STPM01 has one fully differential voltage input channel and two fully differential current
input channels.
The voltage channel consists of a differential amplifier with a gain of 4. The maximum
differential input voltage for the voltage channel is ± 0.3 V.
The two current channels are multiplexed (see tamper section for details) to provide a single
input to a preamplifier with a gain of 4. The output of this preamplifier is connected to the
input of a programmable gain amplifier (PGA) with possible gain selections of 2, 4, 6, 8. The
total gain of the current channels are then 8, 16, 24, 32. The gain selections are made by
writing to the gain register and it can be different for the two current channels. In case the
tamper function is not used, the secondary current can be disabled.
Doc ID 10853 Rev 817/60
Theory of operationSTPM01
The maximum differential input voltage is dependent on the selected gain according to the
following table.
Table 8.Gain of voltage and current channels
Voltage channelsCurrent channels
GainMax Input voltage (V)GainMax input voltage (V)
8X±0.15
4±0.30
16X±0.075
24X±0.05
32X±0.035
The gain register is included in the device configuration register with the address names
PST and ADDG. The table below shows the gain configuration according to the register
values:
Table 9.Configuration of current sensors
PrimarySecondaryConfiguration Bits
GainSensorGainSensorPST (3 bits)ADDG (1 bit)
8
1601
2410
3211
8CT2 X
32Shunt3X
8
161641
242450
323251
8
832Shunt7X
Rogowsky Coil
Rogowsky Coil
CT
Disabled (No Tamper)
8
Rogowsky Coil
8CT6 X
00
40
Note:If the device is used in configuration PST = 7 (primary channel with CT, secondary channel
with Shunt), the shunt Ks must always be equal to one fourth of the current transformer Ks.
Both the voltage and current channels implement an active offset correction architecture
which gives the benefit to avoid any offset compensation.
The analog voltage and current signals are processed by the ∑ Δ Analog to digital
converters that feed the hardwired DSP. The DSP implements an automatic digital offset
cancellation that make possible avoiding any manual offset calibration on the analog inputs.
18/60Doc ID 10853 Rev 8
Loading...
+ 42 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.