KM3x - 256 Based Three-Phase Power Meter Hardware Design Reference Manual
KM3x - 256 Based Three-Phase Power Meter Hardware Design Reference Manual
1 Introduction Contents
The Freescale three-phase power meter reference design 1 Introduction 1
2 Demo board content 4
is designed according to the China State Grid 3 Demo board hardware features 5
Corporation standard Q/GDW354-2012 Functional 4 Three-phase power meter demo board 6
Specification for Smart Electricity Meters and standard 4.1. System power ....................................................... 6
4.2 Clock ................................................................... 7
Q/GDW 356-2012 Type Specification for Smart 4.3 Debug interface .......................................................... 7
Polyphase Electricity Meters. 4.4. Voltage sampling and frequency measuring ........... 8
4.5. Current sampling .................................................. 9
The reference design aims to reduce the time to market 4.6. External memory ................................................ 10
for power meter customers and partners, and tailor the 4.7. Tamper protection ............................................... 11
4.8. Pulse output ........................................................ 13
design to the user’s unique needs in their powering 4.9. RS485 interface .................................................. 13
system. 4.10. LCD display and backlight .................................. 14
4.11. Jumper table ....................................................... 15
5. Summary 16
6. References 16
7. Revision history 16
The three-phase power meter reference design uses the Freescale ARM®Cortex®-M0+ core 144-PIN
LQFP KM34Z256 SoC to realize all the metering and application functions.
KM3x_256 Based Three-Phase Power Meter Hardware Design Reference Manual, Rev. 1, 09/2015
2 Freescale Semiconductor, Inc.
Introduction
The hardware design consists of the power board and the main board. The following figure shows the
system diagram:
KM3x_256 Based Three-Phase Power Meter Hardware Design Reference Manual, Rev. 1, 09/2015
Freescale Semiconductor, Inc. 3
Demo board content
KM3x_256 Based Three-Phase Power Meter Hardware Design Reference Manual, Rev. 1, 09/2015
4 Freescale Semiconductor, Inc.
Demo board hardware features
KM3x_256 Based Three-Phase Power Meter Hardware Design Reference Manual, Rev. 1, 09/2015
Freescale Semiconductor, Inc. 5
Three-phase power meter demo board
+ C1 BAT760 C2 C3
1
220uF 3V3_POWER 10UF 0.1 UF
10V 6V BAT U1
D3 D4 F1
A CA C 1 5 1 2
GND VIN VOUT GND
1
2
1
C11 C12
10UF 0.1 UF
GND GND GND GND GND GND GND GND
GND
GND
KM3x_256 Based Three-Phase Power Meter Hardware Design Reference Manual, Rev. 1, 09/2015
6 Freescale Semiconductor, Inc.
Three-phase power meter demo board
4
U2
VIN
VREF
3V3A_MCU 6 1V2
2
1
3 VOUT_FORCE
ENABLE 5 C13 C14
VOUT_SENSE 0.1 UF 1uF
GND_FORCE
GND_SENSE
C18 C15 C16
1uF 0.1 UF 0.1 UF J4
HDR 1X2 TH
GND
ADR3412ARJZ-R2
1
2
GND GND GND
4.2 Clock
The KM34 system has an external Citizen +/-20 ppm 32.768 kHz crystal. RTC clock generation is also
performed by the crystal, that requires a high consistency of performance level.
RTC Crystal
Y1
2 1
XTAL32K {3} {3} EXTAL32K
32.768kHz
C68 C69 TP28
18pF 18pF
DNP DNP
KM3x_256 Based Three-Phase Power Meter Hardware Design Reference Manual, Rev. 1, 09/2015
Freescale Semiconductor, Inc. 7
Three-phase power meter demo board
The software uses the IAR tool chain (version 7.3 or higher), which can be configured to use the
selective hardware debugger.
SWD Debug
3V3D_KM
3V3D_KM
J6
1 2 R114
3 {3}4 SWD_DIO
4.7K
5 6{3} SWD_CLK
C71 7 8
0.1 UF 9 10 R115 {3} /RESET
820
HDR 2X5 SW2
1 2
GND GND
EVQ-PE105K C78
0.1 UF
GND
KM3x_256 Based Three-Phase Power Meter Hardware Design Reference Manual, Rev. 1, 09/2015
8 Freescale Semiconductor, Inc.
Three-phase power meter demo board
PH_A_After_Divider
3V3A_KM
TP4 TP5 VBIAS
DNP DNP
D6 R10
GND 2 1K
R13
PH_A_Before_Divider R11 R12 3
{3} ADC0_SE0
220K 100K
TP7 TP6 R14 DNP R15 R16 DNP 1 R17
1K 47.0 C43
220K 100K 100K
DNP DNP BAV99LT1 DNP 0.01uF
DNP DNP DNP
3V3A_KM
TP10 TP11
VBIAS
DNP DNP
D7 R24
GND 2 1K
R27 R28
PH_B_Before_Divider R26 3
{3} ADC0_SE1
220K
TP15 TP14 R29 DNP R30 R31 1 R32
100K DNP 1K 47.0 C47
220K 100K 100K
DNP DNP DNP BAV99LT1 0.01uF
DNP DNP DNP
R35
GND GND GND
GND
100K PH_C_After_Divider
DNP
3V3A_KM
TP16 TP17
VBIAS
DNP DNP
D8 R38
GND 2 1K
R41 R42
PH_C_Before_Divider R40 3
{3} ADC0_SE2
220K
TP20 TP21 R44 DNP R45 R46 1 R47
100K 1K 47.0 C51
220K 100K 100K
DNP DNP DNP BAV99LT1 DNP 0.01uF
DNP DNP DNP
R48
GND GND GND
GND
100K
DNP
KM3x_256 Based Three-Phase Power Meter Hardware Design Reference Manual, Rev. 1, 09/2015
Freescale Semiconductor, Inc. 9
Three-phase power meter demo board
1
INPUT B CURRENT + TP9 IB_IN+ R21 {3} AFE_SDADP1
DNP 22 GND
R22
4.7 C45
0.047UF
KM3x_256 Based Three-Phase Power Meter Hardware Design Reference Manual, Rev. 1, 09/2015
10 Freescale Semiconductor, Inc.
Three-phase power meter demo board
3V3D_KM
R120 3V3D_KM
10.0K U9
R154 1 8
SPI1_PCS0 {3} CS VCC
1K
R155 2 7 R123
SPI1_MISO {3} SO/SIO1 HOLD
1K 10.0K
3V3D_KM R124 3 6 R153
WP SCLK {3} SPI1_SCK
R159 10.0K 1K C81 C82
10.0K 4 5 R152 1uF 0.1 UF
GND SI/SIO0 {3} SPI1_MOSI
DNP 1K
MX25L6406EM2I-12G
GND GND
U10 3V3D_KM
1 8
2 A0 VCC
3 A1 5
{3,5}
A2 SDA I2C1_SDA
C87 C90
6 1uF 0.1 UF
I2C1_SCL 7 SCL{3,5}
WP
4
VSS
24LC512
GND GND
KM3x_256 Based Three-Phase Power Meter Hardware Design Reference Manual, Rev. 1, 09/2015
Freescale Semiconductor, Inc. 11
Three-phase power meter demo board
3V3D_KM
R113 C70
10.0K 0.1 UF
D2F-01FL
2 GND
1
TAMPER0 {3} 3
SW1 R116
C72 10.0K
0.1 UF
GND GND
3V3D_KM
U8
2
8
VDDIO
VDD
1 7
4 CAP_A SCL 6{3,5} I2C1_SCL
CAP_R SDA {3,5} I2C1_SDA
3 9
NC INT1 {3} PTB4
GND1
GND2
10
MAG3110
KM3x_256 Based Three-Phase Power Meter Hardware Design Reference Manual, Rev. 1, 09/2015
12 Freescale Semiconductor, Inc.
Three-phase power meter demo board
A
C53 D9 C54 D10 C55 D11
0.1 UF kWh_LED LED RED 0.1 UF kVArh_LED LED RED 0.1 UF MFUNC_LED MV5353
3 C
3 C
R76 10.0K 1 R78 10.0K{3} 1 R79 10.0K{3} 1
PTB2 {3} PTB3 PTC3
Q1 Q2 Q3
R83 BC817-40LT1G R87 BC817-40LT1G R84 BC817-40LT1G
2
2
47.0K 47.0K 47.0K
3V3D_KM
R100 TP23
470 U5 WAR+_KL OUTPUT PORT 19
C56 C57 1 4
0.1 UF 10UF C58 C59 DNP
0.1 UF 2 3 0.1 UF
R101 WAR-_KL
PTD3 {3}
DGND 0 PS2501-1
DNP C60
0.1 UF
GND
3V3D_KM
R104 TP24
470 U6 VAR+_KL OUTPUT PORT 20
1 4
C62 C63 DNP
0.1 UF 2 3 0.1 UF TP25
R105 {3}
VAR-_KL OUTPUT PORT 21
PTD2
0 PS2501-1
DNP C64 DNP
0.1 UF
GND
3V3D_KM
R108 TP26
470 U7 MFUN+_KL OUTPUT PORT 22
1 4
C65 C66 DNP
0.1 UF 2 3 0.1 UF TP27
R109 {3}
MFUN-_KL OUTPUT PORT 23
PTF0
0 PS2501-1
DNP C67 DNP
0.1 UF
GND
KM3x_256 Based Three-Phase Power Meter Hardware Design Reference Manual, Rev. 1, 09/2015
Freescale Semiconductor, Inc. 13
Three-phase power meter demo board
RS485 Communication
TP33
RS485_5V RS485 5V INPUT PAD
DNP
R137 DNP
1.0K U12DGND RS485_5V GND_RS485
C102 R138{3} 4 1 R139
1uF UART0_RX 0 330
C104 3 2
GND 100PF TP37 OUTPUT PORT 28 B2
PS2501-1 U14 C105 C106
GND GND RS485_5V 1 8 0.1 UF 1uF DNP
2
RO VCC
3V3D_KM 2 R 7 TVS5
U15 R140 RE B/Z R141 SA12CA
R142 1 4 1.0K 3 6 DNP 120 TP39 OUTPUT PORT 27 A2
330 DE A/Y
R143{3} 2 3 4 D 5 RT2 DNP
PTE0
1
0 DI GND
t
DNP C107 PS2501-1 ISL3152EIBZ 30 OHM
0.1 UF GND_RS485
GND_RS485
GND RS485_5V
3V3D_KM
U16 R145
R144 1 4 1.0K
330
R146 2 3
UART0_TX {3}
0
C110 PS2501-1
100PF GND_RS485
GND
KM3x_256 Based Three-Phase Power Meter Hardware Design Reference Manual, Rev. 1, 09/2015
14 Freescale Semiconductor, Inc.
Three-phase power meter demo board
0 68 C02W9652NG-P14.5
TVS3 A1
TP45 C112 LXES15AAA1-117
10UF DNP
K1
1
A2
GND
GND
R106
3
1 K2
PTB1 {3}
Q4 D12
R107 BC817-40LT1G
2
4.7K
47.0K
GND
KM3x_256 Based Three-Phase Power Meter Hardware Design Reference Manual, Rev. 1, 09/2015
Freescale Semiconductor, Inc. 15
Revision history
5. Summary
This document describes the hardware design features of the three-phase power meter demo boards. For
technical details about the board design and solution implementation see the Kinetis M Series MCUs
documentation section of freescale.com.
6. References
1. Kinetis Series MCUs Taxonomy Page
(http://www.freescale.com/webapp/sps/site/taxonomy.jsp?code=KINETIS_M_SERIES&cof=0&a
m=0)
2. Kinetis Series MCUs Product Summary Page
(http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KM3x)
7. Revision history
Table 2. Revision history
Rev.1 09/2015 Modifications to Figure 7, Figure 11, Figure 17, and Table 1
KM3x_256 Based Three-Phase Power Meter Hardware Design Reference Manual, Rev. 1, 09/2015
16 Freescale Semiconductor, Inc.
How to Reach Us: Information in this document is provided solely to enable system and software
implementers to use Freescale products. There are no express or implied copyright
Home Page:
licenses granted hereunder to design or fabricate any integrated circuits based on the
freescale.com
information in this document.
Web Support:
freescale.com/support Freescale reserves the right to make changes without further notice to any products
herein. Freescale makes no warranty, representation, or guarantee regarding the
suitability of its products for any particular purpose, nor does Freescale 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 consequential or incidental
damages. “Typical” parameters that may be provided in Freescale 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. Freescale does not convey any
license under its patent rights nor the rights of others. Freescale sells products pursuant
to standard terms and conditions of sale, which can be found at the following address:
freescale.com/SalesTermsandConditions.