Section Number Title Page
Chapter 3
System Concept
3.1 Application description....................................................................................................................................................29
3.1.1 Metering board.......................................................................................................................................................30
3.1.2 Switch Mode Power Supply board connection......................................................................................................33
3.1.3 External current sensor connection........................................................................................................................34
3.1.4 1322x-LPN connection..........................................................................................................................................35
3.1.5 Power meter case...................................................................................................................................................35
3.2 Application usage.............................................................................................................................................................37
3.2.1 Power meter hardware configuration.....................................................................................................................37
Chapter 4
Hardware Design of the Metering Board
4.1 Introduction to hardware implementation........................................................................................................................39
4.2 Power supply section .......................................................................................................................................................39
4.3 Digital hardware ..............................................................................................................................................................41
4.3.1 MCU core..............................................................................................................................................................41
4.3.2 RS232 interface.....................................................................................................................................................41
4.3.3 Infrared interface (IEC1107).................................................................................................................................42
4.3.4 Open collector interface.........................................................................................................................................43
4.3.5 LED interface.........................................................................................................................................................43
4.3.6 SPI interface...........................................................................................................................................................44
4.3.7 Magnetometer interface.........................................................................................................................................44
4.3.8 I2C interface..........................................................................................................................................................45
4.3.9 MRAM interface....................................................................................................................................................45
4.4 Signal conditioning ..........................................................................................................................................................46
4.4.1 Voltage measurement............................................................................................................................................46
4.4.2 DC bias connection................................................................................................................................................47
4.4.3 Shunt resistor current measurement.......................................................................................................................48
4.4.4 Zero-cross detection circuit...................................................................................................................................49
MQX-Enabled MK30X256 Single-Phase Electricity Meter Reference Design, Rev. 0
4 Freescale Semiconductor, Inc.