Presentation is loading. Please wait.

Presentation is loading. Please wait.

External Use TM 基于 Kinetis M 的计量表解决方案 Subtitle of Presentation Jun 24 2014 Presenter Name | Presenter Title.

Similar presentations


Presentation on theme: "External Use TM 基于 Kinetis M 的计量表解决方案 Subtitle of Presentation Jun 24 2014 Presenter Name | Presenter Title."— Presentation transcript:

1 External Use TM 基于 Kinetis M 的计量表解决方案 Subtitle of Presentation Jun Presenter Name | Presenter Title

2 TM External Use 1 Content One Pager − Use cases: One phase and Two Phase Photon Position in Market Key Differentiators Detailed presentation by block − General features − ARM Cortex M0+ Core − Low Power Modes and Power consumption − MIPS requirement per algorithms − 24bit  AFE − Low power RTC: Including Passive & Active Tamper Detection − LCD − Enablement (TWR & Reference Design) Success Story

3 TM External Use 2 GPIO Up to 64 with open drain / push pull, pull up/down Up to 8 GPIO with filter Support for interruption on any edge Power Power Management PMC (Power Manager Control Unit) 2.7V to 3.6V Operating voltage with AFE 1.71V to 3.6V Operating voltage without AFE 1.71V-3.6V IRTC VBAT supply 32kHz or 2MHz internal clock source kHz crystal oscillator Package 100 LQFP, 64 LQFP and 44 LGA options -40°C ~ +85°C Temp Timer/PWM/Clock Quad Timer (total 4 universal timers) 2x PIT 1x Watchdog Timer (windowed, independently clocked) 1x EWM (External Watchdog Monitor) 1x LPTimer LCD Display Up to 288 segment LCD, up to 8 backplanes Wakeup Unit Group selected GPIOs (16), LPTIM, RTC (+tamper pins), HSCMP, SCI, Brownout and POR sources to wake up from Power Gated STOP mode Core CM0+ core Up to 50MHz Separate FLL post-scalers for IPBus and Core clocks. Up to 128 KB Program Flash Up to 16 KB SRAM Dedicated PLL for ΣΔ modulator clock 4ch DMA Single 32kHz Crystal operation MHz Crystal Optional Security & Encryption MPU & AIPS IRTC w/t tamper detection  3 Tamper pins (operating from battery) Programmable 16/32-bit CRC Random Number Generator (NIST: SP800-90) AES Encryption (via software library) Analog 4x24 bit ΣΔ (2xPGA) highly accurate supporting EN , EN , IEC , IEC and IEC , optimized for shunt sensor (≥50uOhm). 0.1% error in active and reactive energy over a dynamic range of 2000 to 1 Internal 1.2V reference voltage 10-15ppm/C 12-ch 16-bit SAR for auxiliary measurement 2x analog comparator Serial Communications 2x SPI 4x UART 1 combined with Quad Timer, HSCMP for IR 2 support ISO7816 All support flow control 2× I2C All UARTs and SPIs are 3V compatible while 1 UARTs and 1 SPI are both 3V and 5V compatible (open drain / push pull configuration) Peripheral XBAR Remapping peripheral IOs UART selection for IR KM1x/KM3x One Pager

4 TM External Use 3 Photon Position in Market Part Number 封装 LCD 液晶驱动 特点目标应用 24 bit Ʃ Δ ADCs 独立通 道数 辅助 ADC (Flash / SRAM) MKM14Z64CHH54 44LGA -64 / 16 KB 集成硬件 5ppm RTC ,具备谐 波分析功能,同一芯片覆盖单 相、双相和三相 单相、双相、三相计量芯片 谐波分析芯片 计量插座 电能监控模块 16 bit (5x5mm 2 ) MKM14Z128CHH5416 bit 44LGA -128 / 16 KB 集成硬件 5ppm RTC ,具备谐 波分析功能,同一芯片覆盖单 相、双相和三相 单相、双相、三相计量芯片 谐波分析芯片 计量插座 电能监控模块 (5x5mm 2 ) MKM33Z64CLH5316 bit64LQFP8 x 1764 / 16 KB 集成硬件 5ppm RTC , LCD 驱 动, 具备谐波分析功能,同一 芯片覆盖单相、双相和三相 低成本单相、双相、三相 SoC 电能表 MKM33Z128CLH5316 bit64LQFP8 x / 16 KB 集成硬件 5ppm RTC , LCD 驱 动, 具备谐波分析功能,同一 芯片覆盖单相、双相和三相 低成本单相、双相、三相 SoC 电能表 MKM33Z64CLL5316 bit 100LQF P 8 x 3864 / 16 KB 集成硬件 5ppm RTC , LCD 驱 动, 具备谐波分析功能,同一 芯片覆盖单相、双相和三相 低成本单相、双相、三相 SoC 电能表 MKM33Z128CLL5316 bit 100LQF P 8 x / 16 KB 集成硬件 5ppm RTC , LCD 驱 动, 具备谐波分析功能,同一 芯片覆盖单相、双相和三相 低成本单相、双相、三相 SoC 电能表 MKM34Z128CLL5416 bit 100LQF P 8 x / 16 KB 集成硬件 5ppm RTC , LCD 驱 动, 具备谐波分析功能,同一 芯片覆盖单相、双相和三相 低成本单相、双相、三相 SoC 电能表

5 TM External Use 4 Use Case: One Phase Meter I & V measurement Vcc Power supply N_INP L_OUT L_INP SR 110/240V Voltage divider V Sense I Sense Resources 2 SD ADC, 1 PGA & 20 DMIPS I DD current =6.1 mA I DDA current =7.5 mA

6 TM External Use 5 Power supply N_INP L_OUT L_INP SR 110/240V Voltage divider N Sense N_OUT CT/RC V Sense I Sense Use Case: One Phase Meter 2xI & 1xV measurement – Use for Neutral disconnect application Resources 3 SD ADC, 2 PGA & 20 DMIPS ConditionsNo Neutral disconnectNeutral disconnect mode I DD current =6.1 mA0.6 mA (Phase current being measured in VLPR mode, MHz) I DDA current =11.7 mA0.9 mA ( PGAs disabled, 1 SD ADC working in low power mode)

7 TM External Use 6 L1 I1 Sense L2N Voltage dividers CT/RC Power supply V1 Sense V2 Sense Use Case: Two Phase Meter 2 I & 2V Measurement I2 Sense Resources 4 SD ADC, 2 PGA & 30 DMIPS I DD current =8.0 mA I DDA current =13.5 mA

8 TM External Use 7 L1 I1 Sense L2N Voltage divider CT/RC Power supply I2 Sense V1 Sense Use Case: Split Phase Meter One Phase-to-Phase Voltage Measurement (2xI & 1xV) Resources 3 SD ADC, 2 PGA & 20 DMIPS I DD current =6.1 mA I DDA current =11.7 mA

9 TM External Use 8 Key Differentiators 50MHz Core Cortex M0+ based with 1 cycle 32x32 multiplication Up to 128kB Flash, 16kB RAM Low power Run and power saving modes. (from 97µA/MHz Run) Single low cost 32 kHz crystal need for MCU and RTC − No external crystal needed ( if no or Low RTC accuracy needed) Highest accuracy and resolution AFE with 4x24bit  with 94 dB SNR − Reduced Shunt value possible (Lower power dissipation) − Low Vref and PGA drift over temperature of 25 ppm/C° Auto compensated RTC with high speed calibration (Use 1Hz output pulse) − 5 ppm accuracy with 0.88 ppm calibration resolution − auto compensation capable of 0.19 ppm error correction.. Security with active & passive tamper − Random Number Generator to support crypto (AES, ECC, RSA) − HW support (MPU&AIPS) for legally relevant code separation (WELMEC/OIML support) 4 kV ESD, 6 kV PESD

10 TM External Use 9 Low Power Modes implemented Power Modes Run (AMO) VLPR (AMO) Wait (AMO) VLPW (AMO) Stop VLPS VLLS3 VLLS2 VLLS1 Recovery Time Target Typical Idd Range From 97uA/MHz* 4us 50us 100us 2 uA 1.2 uA 500 nA From From From 274 uA From 11 uA VLLS0 250 nA 100us From 49uA/MHz** Freescale Adds Low Leakage Wake-up Unit Enables complete shut-down of core logic, including WIC, further reducing leakage currents in all low power modes Supports 16 external input pins and 5 internal modules as wakeup sources, extend the low power wakeup capability of internal modules to even lower power modes. Wakeup inputs are activated in VLLSx modes Run Wait Stop Typical Power Modes in an embedded system Leading Dynamic Power ARM Cortex M0+ core Innovative low power process technology (C90TFS) Low power focused platform Design VBAT RTC operational on battery VDD/VDDA are not powered Standby < 1 uA Reset

11 TM External Use 10 1.Normal mode VDD/VDDA powered by AC main and MCU is in full functioning 2.Wait mode* ( VDD/VDDA powered by AC main, core in sleep, all peripherals functioning with unchanged clock frequency. 3.Stop or VLPS VDD/VDDA powered by battery while AC main is off. 1.Power on Reset and Brownout active. 2. User optional active peripherals are: GPIOs, LPTIM, RTC (+tamper pins), HSCMP, SCI and LVD sources routed to AWIC (wakeup) unit. 3.MCU exits VLPS mode upon tamper event (HW TAMPER, GPIOs), button pressed (HW TAMPER, GPIOs), periodical event (RTC/LPTMR), byte received (SCI) or AC main restored (HSCMP, GPIO). 4.VLPS mode termination by return to application code directly. Wakeup sources are optionally enabled/disabled by the user. 4.RTC backup VBAT powered only. Autonomous operation RTC and HW TAMPER pins Run mode Wait mode VLPS mode RTC backup Chip entered RTC battery backup mode. Single battery supply. Chip entered VLPS mode. Transition to RUN upon signal transition on GPIO pin. Dual battery supply. Chip entered VLPS mode. Transition to RUN upon signal transition on GPIO pin. Photon Standby Operation – Usage in Metering. RTC Backup Mode - battery supplies built-in RTC circuit. Wakeup Mode – battery supplies both built- in RTC circuit and MCU logic. Wakeup Mode – first (smaller) battery supplies built-in RTC circuit while the second (larger) supplies MCU logic.

12 TM External Use 11 MIPS Requirement – FFT Based Metering Algorithms Where:“Fs” is sampling frequency “N” is number of samples per voltage cycle “k” series of harmonics 1.. N/2-1 * Compiled using IAR EW-ARM rev.6.2 for Cortex- M0 target and code executed on Freescale MK30 platform. Meter Type Estimated performance [MIPS] Processor load 50MHz 128-point FFT (Fs=6400Hz, up to 64 th harmonics) 1-phase15.2* phase point FFT (Fs=3200Hz, up to 32th harmonics) 1-phase phase point FFT (Fs=1600Hz, up to 16 th harmonics) 1-phase phase

13 TM External Use 12 MIPS Requirement – Filter Based Metering Algorithms Where:“Fs” is sampling frequency “D3” is decimation ratio calculated as D1-D2+1 “N” is order of the Hilbert Transformation Filter. Meter Type Estimated performance [MIPS] Processor load 50MHz Fs=3000Hz (up to 30th harmonics); Quantities update: Wh – 3000Hz, VARh and remaining – 1000Hz 1-phase9.27* phase * Compiled using IAR EWARM rev.6.2 for Cortex- M0 target and code executed on Freescale MK30 platform.

14 TM External Use bit SD Performances Modulator clock range from 30 kHz up to 6.5 MHz ΣΔ modulator Signal-to-Noise Ratio: Normal Mode: (Fs=6.144MHz, OSR=2048) Low Power Mode: (Fs=0.768MHz, OSR=256) Output data format fixed to 24-bit. On/off control for built-in ΣΔ modulators, PGA and Phase Compensation Circuitry. PGA gains 1x-32x (>=50uOhm shunt resistors) Signal input range 1 Vpp differential (0.5 Vpp single ended) Input common mode range of 0V to 0.8V Output sampling rates 3kHz, 6kHz, 12kHz, 24kHz, 48kHz and 96kHz. Continuous and trigger operation. Synchronized start of operation. Support for external third-party/galvanically isolated ΣΔ modulators. Four modes of operation: ΣΔ Modulator Operation Mode PGASignal input range (mV peak-peak) SNR OSR=2048) Current (mA) NormalON31 (gainx32)743.7 Low PowerON31 (gainx32)623.0 NormalOFF Low PowerOFF

15 TM External Use 14 RTC - Accurate Low Power Real Time Clock Auto compensated RTC with high speed calibration (1 Hz output pulse) − Accurate time keeping with calendaring and day light saving − 5 ppm accuracy with 0.88 ppm calibration resolution − auto compensation capable of 0.19 ppm error correction.. Tamper Detection support − Active Tamper Detection − Passive Tamper Detection − Up to 3 tamper pins Tamper Event queuing with time stamp − Tamper queue stores up to 4 tamper events Registers protected against spurious updates 32 bytes of battery backed up RAM Less than 1 µA consumption from battery

16 TM External Use 15 Segment LCD Features Up to 44 LCD pins with selectable front plane/back plane configuration − Generate up to 40 front plane signals (up to 4x40) − Generate up to 8 back planes signals (up to 8x36) Programmable LCD frame frequency Programmable blink modes and frequency − All segments blank during blink period − Alternate display for each LCD segment in x4 or less mode − Blink operation in low-power modes Programmable LCD power supply switch, making it an ideal solution for battery- powered and board-level applications − Charge pump requires only four external capacitors − Internal LCD power using VDD − Internal VIREG regulated power supply option for 3 V LCD glass − External VLL3 power supply option (3 V) Internal-regulated voltage source with a 4-bit trim register to apply contrast control Integrated charge pump for generating LCD bias voltages Waveform storage registers Backplane reassignment to assist in vertical scrolling on dot-matrix displays Software-configurable LCD frame frequency interrupt

17 TM External Use 16 TWR-KM34Z128 features Kit Features 3.3V operation from USB Flash reprogramming and in-circuit hardware debugging Onboard OpenSDA debuger Onboard aux. waveform generator for SD-ADC development Tower system compatible Large 160-seg. glass LCD Headers for direct GPIO and ADC access External Tamper pins RTC Battery IRDA support PB switches and LEDs NTC temperature sensor Anti tamper tilt (3-axis acc.) sensor MMA8491Q TWRPI sensor interface Leverages the Tower system Quickly combine Tower Modules to build a prototype of your application Software support from Freescale and Third Parties Growing community of Third Party hardware support On-line community:

18 TM External Use 17 TWR-KM34Z128 Board

19 TM External Use 18 One Phase Power Meter Reference Design Features 5 to 80A current range (nominal current is 5A; peak current is 80A). 85 to 264V, 50/60 Hz voltage range Accuracy class: B or C (active energy EN ) and 3% or 2% (reactive energy EN ) Line frequency measurement (for precision zero-cross detection) Cost-effective shunt-resistor sensing circuit implementation Low-power modes including the use of built-in RTC (Li-battery back-up) 4x22 segment LCD, including charge pump (values shown on LCD: V, A, W, Var, VA, kWh, kVarh, cos φ, Hz, time, date) An upper and lower tamper meter cover monitoring with time stamp IEC1107 infrared hardware interface & Isolated (4kV) RS232 port for monitoring & SW upgrade LED pulse outputs (kWh, kVarh) EMC proven design (EN , EN ) RF connector supporting SubGHz or 2.4 GHz communications Xtrinsic 3-axis low power tilt sensor for electronics tamper detection (optional) Software provided Multiple advanced metering algorithms: Filter-based, FFT method MQX real-time operating system Comprehensive peripheral library drivers

20 TM External Use 19 KM34 Power measurement accuracy

21 TM External Use 20 Optimized One Phase Power Meter Reference Features Class 1, 5(30) capacitive power supply-based meter 90–300 V operating range, 45–65 Hz & Back UP battery Shunt for phase current sensing Active and reactive energy accuracy per IS13779 Current transformer for neutral current sensing Neutral missing current transformer for neutral missing tamper condition 4x22 segment LCD, including charge pump (values shown on LCD: V, A, W, Var, VA, kWh, kVarh, cos φ, Hz, time, date) with Auto scroll menu display IS13779:1999 compatible Built-in RTC, capable of detecting tamper in power failure event Software provided Multiple advanced metering algorithms: Filter-based, FFT method MQX real-time operating system Comprehensive peripheral library drivers

22 TM External Use 21 Two Phase Power Meter Reference Design Features 200A current range (CL200, TA 30A); 85 to 264V, 50/60 Hz voltage range Support Two types of installation: Form 2S or Form 12S Accuracy class: ANSI C Class 0.5 Line frequency measurement (for precision zero-cross detection) Current Transformer sensing circuit implementation for each phase Low-power modes including the use of built-in RTC (Li-battery back-up) 8x20 segment LCD, including charge pump LED pulse outputs (kWh, kVARh) Infrared optical port according to ANSI C &Isolated (4kV) RS232 port for monitoring EMC proven design (ANSI C62.41, IEC ) RF connector supporting SubGHz or 2.4 GHz communications Xtrinsic 3-axis low power tilt sensor for electronics tamper detection (Optional) Xtrinsic 3-axis low power magnetometer for electronic tamper detection (Optional) Software provided Multiple advanced metering algorithms based on the Fast Fourier Transform MQX real-time operating system Comprehensive peripheral library drivers

23 TM External Use 22 Photon Support for WELMEC/OIML Cortex-M0 MQXLite WELMEC/ OIML Platform Extension Photon’s Platform Comprising: MPU; 8 region descriptors (memory protection) AIPS-Lite with ACR* (peripheral protection) GPIO with ACR (GPIO protection) DMA with ACR (DMA access protection) Core User/Supervisor mode of execution. *ACR stands for Access Control Register. MQXLite vs. MQX: Reduced Footprint, target code size to be within 6K Available as Processor Expert (PEX) component Processor Expert device drivers instead of IO subsystem No need for dynamic memory allocation Reduced functionality but with compatible programming model. RTCS and File system will not be available. USB Device stack supported via PEX MQXLite will support legally/non-legally relevant code separation. [1] – OIML, OIML D31, “General Requirements for Software Controlled Measuring Instruments”, edition Retrieved from [2] – WELMEC, WELMEC 7.2, “Software Guide (Measuring Instruments Directive 2004/22/EC)”.Retrieved from

24 TM External Use 23 3P China State Grid AFE+MCU Reference Design 概述 飞思卡尔三相电表方案按照中国电网标准 GB/T GB/T / IEC :2003 设计。 方案采用飞思卡尔最新 ARM Cortex™-M0+ core 44 引脚 KM14 作为计量芯片, ARMR Cortex™-M0+ KL36 core 100 引脚 KL36 作为系统芯片. 该方案可以简化并加速设计者的设计流程,降低 研发风险及成本,缩短研发时间,确保客户并在 此基础上开发出有竞争力的产品。 功能特点 * 电压输入范围 3×220/380V * 电流输入范围 5(60)A *0.5S 有用功计量精度 *2S 无用功计量精度 *2-31 次谐波分量 *±15kV ESD *±6kV EFT * 电网频率检测 *5PPM 精度 RTC *2 路 RS485 输出 *8×32 段码式 LCD 输出 *3 路隔离式电脉冲输出 *3 路光脉冲输出 * 多种防篡改保护 * 多种外部存储器

25 TM External Use 24 Reference Design Document 技术支持 1 )设计文档 * 飞思卡尔三相电表硬件设计手册 * 飞思卡尔三相电表软件设计手册 * 飞思卡尔三相电表快速上手指导 2 )设计资料 * 硬件原理图,布局图,物料表 * 软件源代码,计量库函数说明 3 )测试报告 * ± 15kV ESD 测试报告, * ± 6kV EFT 测试报告 * 0.5S 精度测试报告 KM14/KM34 特点 *50MHz ARM Cortex M0+ 核单周期 32x32 乘法 *128kB Flash, 16kB RAM * 低功耗设计 (from 97 µ A/MHz Run) * 支持多种低功耗模式 * 高精度 AFE with 4x24bit SD ADC * 高精度 RTC ,硬件自动补偿 * 多种安全反篡改保护 *4 kV ESD, 6 kV PESD 软件库名称所实现功能 ZCD: Zero Cross DetectZCD is used to calculate power line frequency. ADC sample AFE (SD ADC ) is used for sample current. SAR ADC is used for sample voltage.Compensation technology ensures that the voltage and current are sampled simultaneously Algorithm lib : calculated the active/reactive/total energy, etc RTC compensation lib : RTC output accuracy reaches 5PPM in full temperature zone SPI between meter and control MCU : information such as the button pressed KM14 informs KL36 power energy information, and KL36 may respond with useful Segment LCD show : Show active power and reactive power values

26 TM External Use 25 Success Case – Energy Management System Cloud for energy service 空调调温器 Thermostat 窗帘控制器 Curtain Controls 触控开关 Touch Switch 能源服务入口 Energy Services Portal Star/Tree/Mesh 混合组网 MKM14Z128CHH5 计量插座 Metrology Socket MKM14Z128CHH5 I.MX6S/SL for multi media K60 for Wifi K60 for GPRS An innovated energy management system provider Product: Energy monitor Smart energy controller Smart Switch Energy Gateway Energy Cloud service FSL Position KM14 in curtain controls KM14 in touch switch KM14 in thermostat KM14 in metrology socket IMX6S/SL in industry gateway M60+MQX in industry gateway

27 TM External Use 26 Success Case – Smart Socket

28 TM External Use 27 Success Case – Panel Meter 电量监控终端 配电面板表 智能漏电开关

29 TM © 2014 Freescale Semiconductor, Inc. | External Use


Download ppt "External Use TM 基于 Kinetis M 的计量表解决方案 Subtitle of Presentation Jun 24 2014 Presenter Name | Presenter Title."

Similar presentations


Ads by Google