This application note describes the STEVAL-IPE010V1 poly-phase demonstration kit for the
STPMC1 and STPMS1.The STPMC1 is a metering ASSP implemented through an
advanced 0.35 µm BCD6 technology.
The STPMC1 device functions as an energy calculator in power line systems, using the
Rogowski current transformer and shunt or Hall current sensors. It is used in combination
with one or more STPMS1 devices. It implements all the functions needed in a 1, 2 or 3phase energy meter, providing the effective measurement of active and reactive energies,
V
, I
RMS
services, from 2 to 4 wires.
In a stand-alone configuration the STPMC1, which sends a pulse train signal with a
frequency proportional to the cumulative active power, can directly drive a stepper motor,
therefore implementing a simple active energy meter.
This device can also be coupled to a microprocessor for multi-function energy meters. In this
case, the measured data is read at a fixed time interval from the device internal registers by
the microcontroller through the SPI interface.
, instantaneous voltage and current-per-phase in 1, 2 or 3-phase wye and delta
RMS
The STPMS1 is an ASSP designed as a building block for single or multi-phase energy
meters. It consists of a pre-amplifier and two 1st order ΔΣ modulators, band-gap voltage
reference, a low-drop voltage regulator and DC buffers in its analog section, and a clock
generator and output multiplexer in its digital section.
The demonstration kit is made up of a main board with the STPMC1 mounted, and it can be
coupled with up to 5 daughterboards, each with an STPMS1 mounted to sense the voltage
and current of each phase.
Note:The demonstration kit is available on request.
The purpose of this STEVAL-IPE010V1 demonstration kit is to provide an evaluation
platform for the STPMC1 and STPMS1 devices, but it can also be used as a starting point to
design a Class 1 meter for 2 to 4-wire power line systems using delta or wye service.
Each phase is monitored by an independent daughterboard, in which an autonomous power
supply is provided to the board itself and, once it is connected, also to the motherboard.
In this board, the STPMS1 device senses the phase current through a CT or a shunt sensor,
and the phase voltage through a voltage divider. The presence of dedicated networks
reduces greatly the sampling (aliasing) noise and the crosstalk noise between voltage and
current channels, increasing meter precision. The STPMS1 produces a sigma-delta stream,
sent together with the supply voltage, to the STPMC1 through a card edge connector.
The motherboard receives the sigma-delta streams from the daughterboards which are
further elaborated by the STPMC1. This device, from a 4.194 MHz crystal oscillator,
provides a common clock with programmable frequency to all the daughterboards.
The motherboard, through a 10-pin flat cable connector (P1 in Figure 2) can be interfaced to
a microprocessor board to implement advanced metering features (multi-tariff, data
management and storage, communication, etc). It also has stepper motor connectors for a
simple energy meter implementation (W2, W5 in Figure 2).
The STPMC1 board can also be connected to a dedicated GUI (graphical user interface)
through the STPMxx parallel programmer/reader released with the application.
1.1 Operating conditions
Table 1.Operating conditions
ConditionValueUnit
V
NOM
I
NOM
I
MAX
f
LIN
T
OP
230V
NOM
NOM
MAX
MAX
= 1
= 5
= 30
= 80
CT: I
Sh: I
CT: I
Sh: I
A
A
RMS
RMS
RMS
50 / 60 ± 10%Hz
- 40 / + 85°C
4/26 Doc ID 17105 Rev 1
AN3157Circuit description
2 Circuit description
2.1 Motherboard circuit
The motherboard consists of the following sections:
●STPMC1 circuit
●Connectors
The schematic of the board is shown in Figure 2 and in Figure 3.
Figure 2.STPMC1 circuit schematics
VCC VCC VCC
VCC VCC VCC
D12
D12
D10
D10
R 62
R 62
4.7K
4.7K
D11
D11
R 63
R 63
4.7K
P1
P1
2
2
4
4
6
6
8
8
1
1
3
3
5
5
7
7
910
910
4.7K
C64
C64
10n
10n
R 60
R 60
4.7K
4.7K
D9
D9
R 61
R 61
4.7K
4.7K
U8
U8
20
W8
W8
20
19
19
18
18
17
17
16
16
15
15
14
14
13
13
12
12
GND
GND
LED
LED
SDATD
SDATD
SCLNLC
SCLNLC
CLKOUT
CLKOUT
CLKIN
CLKIN
SYN
SYN
VSSA
VSSA
CLK
CLK
DAN
DAN
STPMC1
STPMC1
VCC
VCC
D8
D8
C66
C66
+
+
1000u
1000u
MON
MON
MOP
MOP
SCS
SCS
VDD
VDD
VCC
VCC
VOTP
VOTP
DAH
DAH
DAR
DAR
DASDAT
DASDAT
TP2
TP2
R64
R64
CLK
CLK
CLK
DAN
DAN
DAT
DAT
CLK
DAN
DAN
W34
W34
R56100
R56100
R55100
R55100
1
1
2
2
1M1%
1M1%
Y1
Y1
4194.304KHz
4194.304KHz
C61
C62
C61
C62
15p
15p
15p
15p
VCC
VCC
C65
C65
100n
100n
VSS
VSS
W2 MON
W2 MON
1
1
2
2
W5 MOP
W5 MOP
3
3
4
4
5
5
6
6
VCC
VCC
7
7
8
8
R16
R16
9
9
R15
R15
1011
1011
R35
R35
CLKNCLK
CLKNCLK
714
714
DAH
DAH
100
100
100
100
DAR
DAR
DASDAT
DASDAT
100
100
U9A
U9A
12
12
ST_m74hc14
ST_m74hc14
U9G
U9G
GND VCC
GND VCC
ST_m74hc14
ST_m74hc14
D7
D7
C63
C63
1µ
1µ
DAH
DAH
DAR
DAR
DAS
DAS
VCC
VCC
Doc ID 17105 Rev 15/26
Circuit descriptionAN3157
Figure 3.Motherboard connector schematics
J1
J1
S1
S1
VCC
VCC
S2
S2
NCLK
S3
NCLK
S3
S4
S4
CLK
CLK
S5
S5
S6
S6
S7
S7
DARDASDAT
DARDASDAT
S8
S8
S9
S9
S10
S10
VCC
VCC
Card_Edge_10
Card_Edge_10
F1
F1
F2
F2
F3
F3
F4
F4
F5
F5
F6
F6
F7
F7
F8
F8
F9
F9
F10
F10
VCCVCC
VCCVCC
NCLK
NCLK
CLK
CLK
VCCVCC
VCCVCC
S1
S1
S2
S2
S3
S3
S4
S4
S5
S5
S6
S6
S7
S7
S8
S8
S9
S9
S10
S10
Card_Edge_10
Card_Edge_10
J2
J2
F1
F1
F2
F2
NCLK
F3
NCLK
F3
F4
F4
CLK
CLK
F5
F5
F6
F6
F7
F7
F8
F8
F9
F9
F10
F10
S1
S1
S2
S2
S3
S3
S4
S4
S5
S5
S6
S6
S7
S7
S8
S8
S9
S9
S10
S10
Card_Edge_10
Card_Edge_10
J3
J3
F1
F1
F2
F2
F3
F3
F4
F4
F5
F5
F6
F6
F7
F7
F8
F8
F9
F9
F10
F10
VCCVCC
VCCVCC
NCLK
NCLK
CLK
CLK
DANDAH
DANDAH
S1
S1
S2
S2
S3
S3
S4
S4
S5
S5
S6
S6
S7
S7
S8
S8
S9
S9
S10
S10
Card_Edge_10
Card_Edge_10
J4
J4
F1
F1
F2
F2
F3
F3
NCLK
NCLK
F4
F4
CLK
CLK
F5
F5
F6
F6
F7
F7
F8
F8
F9
F9
F10
F10
VCCVCC
VCCVCC
S1
S1
S2
S2
S3
S3
S4
S4
S5
S5
S6
S6
S7
S7
S8
S8
S9
S9
S10
S10
Card_Edge_10
Card_Edge_10
J5
J5
F1
F1
F2
F2
F3
F3
F4
F4
F5
F5
F6
F6
F7
F7
F8
F8
F9
F9
F10
F10
2.2 Daughterboard circuit
This section describes the implementation of each phase network which performs the power
measurement.
The schematic can be divided into the following subsets:
●Current sensing circuit (1) or (2)
●Anti-aliasing filter (3)
●Voltage sensing circuit (4)
●Crosstalk cancellation network (5)
2.2.1 Current sensing circuit
The STPMS1 has an external current sensing circuit using either a current transformer, in
which a burden resistor is used to produce a voltage between CIN and CIP proportional to
the current measured, or a shunt resistor.
2.2.2 Anti-aliasing filter
The anti-aliasing filter is a low-pass filter which has a negligible influence on the voltage
drop between CIN and CIP, and VIN and VIP. The aim of which is to reduce the distortion
caused by the sampling (also called aliasing) by removing the out-of-band frequencies of
the input signal before sampling it with the analog-to-digital converter.
Filtering is easily implemented with a resistor-capacitor (RC) single-pole circuit which
obtains an attenuation of - 20 dB/dec.
2.2.3 Voltage sensing circuit
A resistor divider is used as a voltage sensor. The 600 kΩ resistor is separated into four, 4 x
150 kΩ, in-series resistors, which ensure that a high voltage transient does not bypass the
resistor. This also reduces the potential across the resistors, thereby decreasing the
possibility of arcing. The following resistors are used to implement the resistor divider:
●R = R13 + R2 + R3 + R4 = 600 kΩ
●R5 = 475 Ω
The L1 inductor and the C2 capacitor create a filter which prevents electromagnetic
interference (EMI).
6/26 Doc ID 17105 Rev 1
AN3157Circuit description
Figure 4.Daughterboard circuit schematic
VCC
NCLK
NCLK
CLK
CLK
VCC
VCC
DAR
DAR
VCC
VCC
R18
R18
0
0
S1
S1
S2
S2
S3
S3
S4
S4
S5
S5
S6
S6
S7
S7
S8
S8
S9
S9
S10
S10
Card_Edge_10
Card_Edge_10
1
1
F
F
J1
J1
SH1
SH1
170u
170u
170u
170u
F1
F1
F2
F2
F3
F3
F4
F4
F5
F5
F6
F6
F7
F7
F8
F8
F9
F9
F10
F10
E4622_X503
E4622_X503
V1 460V
V1 460V
VCC
DAR
DAR
R14
R14
DAR
DAR
10
10
C6
C6
1u
1u
R16
R16
0
C13 100n
C13 100n
19
20
19
VREG
VREG
C5
C5
1u
1u
C12 100n
C12 100n
3
R6
R6
3.4 1%
3.4 1%
3
R7 1K 1%
R7 1K 1%
R8 1K 1%
R8 1K 1%
R2 150k
R2 150k
R1 82
R1 82
D1
D1
R3 150k
R3 150k
2
2
4
4
3
TR1
TR1
3
2
2
1
1
R13 150k
12
12
R13 150k
L1
L1
220u
220u
C1 470n
C1 470n
C2 1n
C2 1n
20
18
18
e3
e3
e2
e2
17
17
e1
e1
1
1
vdd_reg
vdd_reg
2
2
gnd_reg
gnd_reg
3
3
vdd_ac
vdd_ac
4
4
gnd_ac
gnd_ac
C7
C7
5n
5n
C8
C8
5n
5n
R4 150k
R4 150k
N
N
D2
D2
0
15
15
16
16
e4
e4
dat
dat
vcc
vcc
stpms1
stpms1
cip
cin
cip
cin
5
6
5
6
4
4
R5
R5
475 1%
475 1%
U1
U1
R15
R15
0
0
14
14
datn
datn
vip
vip
7
7
C3 22n
C3 22n
CLK
CLK
CLK
CLK
13
13
vdd_d
vdd_d
vdd_av
vdd_av
8
8
clk
clk
vin
vin
ms1
ms1
ms0
ms0
12
12
11
11
10
10
9
9
R9
R9
42.2k 1%
42.2k 1%
R11
R11
100 1%
100 1%
C14
C14
1u
1u
R10
R10
2.2M 1%
2.2M 1%
JP1
JP1
CLK
45
CLK
45
3
6
3
6
NCLK
NCLK
2
7
2
7
1
8
1
8
JP2
JP2
45
45
CLK
CLK
3
6
3
6
2
7
2
7
8
8
5
5
GND
GND
C11
C11
1u
1u
VCC
VCC
R17
R17
10
10
NCLK
NCLK
1
1
VCC
VCC
VCC
VCC
2.2.4 Crosstalk cancellation network
The voltage front-end handles voltages of considerable amplitude, which makes it a
potential source of noise. Disturbances are readily emitted into current measurement
circuitry where they interfere with the actual signal to be measured. Typically, this produces
a non-linear error at small signal amplitudes and non-unity power factors. At unity power
factors, voltage and current signals are in phase and crosstalk between voltage and current
channels merely appears as a gain error, which can be calibrated. When voltage and
current are not in phase, crosstalk has a non-linear effect on the measurements, which
cannot be calibrated.
Crosstalk is minimized through good PCB planning and the proper use of filter components
in the crosstalk network. Recommended filter components are shown in Figure 4. The
network subtracts a signal proportional to the voltage input from the current input. This
prevents crosstalk.
Doc ID 17105 Rev 17/26
Circuit descriptionAN3157
2.2.5 Jumper settings
The on-board jumpers JP1 and JP2 allow the setting of the STPMS1 device according to
Ta bl e 2 and Tab le 3 below:
Table 2.Modes of operation
JP1MS0Description
11Rogowsky mode, ampl = 32
2NCLKampl = 32 (reserved for future expansion)
30Current transformer mode, ampl = 8
4CLKshunt mode, ampl = 32, fclk = 8*mclk
Table 3.Changing of band-gap voltage reference
JP2MS1Description
11TC = 190 ppm/°C
2NCLKTC = 125 ppm/°C
30TC = 100 ppm/°C
4CLKTC = 170 ppm/°C
For further details on device configuration please refer to the device datasheet.
2.3 Clock management network
A 4.194 MHz quartz is used to supply the clock for the STPMC1 device. To set this
frequency, internal configuration bits MDIV and FR1 must be kept cleared.
A synchronized clock is provided to all STPMS1 devices through the CLK pin, the frequency
of which is programmable through bit HSA to 1.049 MHz or 2.097 MHz.
2.4 Communication with microprocessor
A control board with an embedded microprocessor may be connected to connector P1 using
a 10-wire flat cable. Ta bl e 4 describes the pinout of the connector.
The STPMC1 has an SPI communication port implemented by four multi-purpose pins
(SCS, SYN-NP, SDA-TD, SCL-NLC).
In stand-alone operating mode these multi-purpose pins produce:
●negative power direction on the SYN-NP pin
●tamper condition detected on the SDA-TD pin
●no load condition detected on the SCL-NLC pin
For this reason these pins are connected to the three LEDs D9, D10 and D11.
In this configuration, the LED pin produces a pulse train with a frequency proportional to the
3-phase power and is connected to LED D12.
8/26 Doc ID 17105 Rev 1
Loading...
+ 18 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.