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 sensors connection......................................................................................................................34
3.1.4 1322x-LPN connection..........................................................................................................................................35
3.1.5 Power meter case...................................................................................................................................................36
3.2 Application usage.............................................................................................................................................................38
3.2.1 Power meter hardware configuration.....................................................................................................................38
3.2.2 Application example..............................................................................................................................................39
Chapter 4
Hardware Design of the Metering Board
4.1 Introduction to hardware implementation........................................................................................................................41
4.2 Power supply ...................................................................................................................................................................41
4.3 Digital hardware ..............................................................................................................................................................42
4.3.1 MCU core..............................................................................................................................................................42
4.3.2 RS232 interface.....................................................................................................................................................43
4.3.3 Infrared interface (IEC1107).................................................................................................................................44
4.3.4 User interfaces.......................................................................................................................................................44
4.3.5 LED interface.........................................................................................................................................................45
4.3.6 SPI interface...........................................................................................................................................................45
4.3.7 Accelerometer interface.........................................................................................................................................45
4.3.8 IIC interface...........................................................................................................................................................46
4.4 Signal conditioning ..........................................................................................................................................................47
4.4.1 Voltage measurement............................................................................................................................................50
4.4.2 DC Bias circuit......................................................................................................................................................50
4.4.3 Shunt resistor current measurement.......................................................................................................................51
4.4.4 CT current measurement........................................................................................................................................53
MQX-Enabled MCF51EM256 Single-Phase Electricity Meter Reference Design, Rev. 0
4 Freescale Semiconductor, Inc.