SMART-PLUG: Smart Plug Reference Design

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SMART-PLUG: Smart Plug Reference Design

SMART-PLUG: Smart Plug Reference Design

Overview

This reference design offers both metering and WiFi capabilities:

  1. Metering - used to measure electronic power in single-phase and,
  2. WiFi - used for wireless control.

Plug status can be checked via a smart-phone application, including current active power, reactive power, grid frequency, history runtime. On/Off setting timer available as well.

Features

  • Based on Kinetis MKM14Z64 MCU
  • WIFI module based on QFM2202
  • 220V input voltage, 10A max current
  • Phase current sampling with 25ppm 5 mΩ current sampler by 24Bit SD ADC
  • Phase voltage sampling with 25ppm resistor voltage divider network by 24Bit SD ADC
  • On-chip voltage comparator (for precision grid frequency detection)
  • Single 32.788K crystal input for 5ppm RTC
  • External extendable 64Mb SPI Flash
  • Low-power modes including the use of built-in RTC
  • 3 channel LED pulse outputs for calibration(kWh, kVarh)
  • Provide android application to get active power, reactive power, apparent power, grid frequency and history runtime
  • Android application to set plug ON/Off, set timer for ON/Off at fixed time and set RTC time
  • Android application to set plug wifi module to power save mode
  • Cost-effective bill of materials
  • External extendable WIFI module with UART connection

Block Diagram

RDDSP56F8MCIMG.jpg

Design Resources

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1115268%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ESMART-PLUG%3A%20Smart%20Plug%20Reference%20Design%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1115268%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CUL%3E%3CLI%20style%3D%22list-style-type%3Adisc%3B%20margin-left%3A0px%3B%20margin-bottom%3A1px%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FNXP-Designs-Knowledge-Base%2FSMART-PLUG-Smart-Plug-Reference-Design%2Fta-p%2F1115268%23toc-hId-381559567%22%20target%3D%22_blank%22%3EOverview%3C%2FA%3E%3C%2FLI%3E%3CLI%20style%3D%22list-style-type%3Adisc%3B%20margin-left%3A0px%3B%20margin-bottom%3A1px%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FNXP-Designs-Knowledge-Base%2FSMART-PLUG-Smart-Plug-Reference-Design%2Fta-p%2F1115268%23toc-hId--1425894896%22%20target%3D%22_blank%22%3EFeatures%3C%2FA%3E%3C%2FLI%3E%3CLI%20style%3D%22list-style-type%3Adisc%3B%20margin-left%3A0px%3B%20margin-bottom%3A1px%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FNXP-Designs-Knowledge-Base%2FSMART-PLUG-Smart-Plug-Reference-Design%2Fta-p%2F1115268%23toc-hId-1061617937%22%20target%3D%22_blank%22%3EBlock%20Diagram%3C%2FA%3E%3C%2FLI%3E%3CLI%20style%3D%22list-style-type%3Adisc%3B%20margin-left%3A0px%3B%20margin-bottom%3A1px%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FNXP-Designs-Knowledge-Base%2FSMART-PLUG-Smart-Plug-Reference-Design%2Fta-p%2F1115268%23toc-hId--745836526%22%20target%3D%22_blank%22%3EDesign%20Resources%3C%2FA%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CH1%20id%3D%22toc-hId-381559567%22%20id%3D%22toc-hId-1297816269%22%3EOverview%3C%2FH1%3E%3CP%3E%3C%2FP%3E%3CP%20style%3D%22color%3A%20%23333f48%3B%20background-color%3A%20%23ffffff%3B%20font-size%3A%2016px%3B%20margin%3A%200px%200px%2011px%3B%22%3EThis%20reference%20design%20offers%20both%20metering%20and%20WiFi%20capabilities%3A%3C%2FP%3E%3COL%20style%3D%22color%3A%20%23333f48%3B%20background-color%3A%20%23ffffff%3B%20font-size%3A%2016px%3B%20margin-bottom%3A%2011px%3B%20padding-left%3A%201.375em%3B%22%3E%3CLI%20style%3D%22margin-bottom%3A%200.5em%3B%22%3EMetering%20-%20used%20to%20measure%20electronic%20power%20in%20single-phase%20and%2C%3C%2FLI%3E%3CLI%20style%3D%22margin-bottom%3A%200.5em%3B%22%3EWiFi%20-%20used%20for%20wireless%20control.%3C%2FLI%3E%3C%2FOL%3E%3CP%20style%3D%22color%3A%20%23333f48%3B%20background-color%3A%20%23ffffff%3B%20font-size%3A%2016px%3B%22%3EPlug%20status%20can%20be%20checked%20via%20a%20smart-phone%20application%2C%20including%20current%20active%20power%2C%20reactive%20power%2C%20grid%20frequency%2C%20history%20runtime.%20On%2FOff%20setting%20timer%20available%20as%20well.%3C%2FP%3E%3CP%20style%3D%22color%3A%20%23333f48%3B%20background-color%3A%20%23ffffff%3B%20font-size%3A%2016px%3B%22%3E%3C%2FP%3E%3CH1%20style%3D%22font-weight%3A%20bold%3B%20font-size%3A%2024px%3B%22%20id%3D%22toc-hId--1425894896%22%20id%3D%22toc-hId--509638194%22%3EFeatures%3C%2FH1%3E%3CP%3E%3C%2FP%3E%3CDIV%20class%3D%22%22%20style%3D%22margin-left%3A%20-15px%3B%20margin-right%3A%20-15px%3B%22%3E%3CDIV%20class%3D%22%22%20style%3D%22padding-left%3A%2015px%3B%20padding-right%3A%2015px%3B%22%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%3CDIV%20class%3D%22%22%3E%3CUL%20class%3D%22%22%20style%3D%22margin-bottom%3A%2011px%3B%20padding-left%3A%201em%3B%22%3E%3CLI%20style%3D%22margin-bottom%3A%200.5em%3B%22%3EBased%20on%20Kinetis%20MKM14Z64%20MCU%3C%2FLI%3E%3CLI%20style%3D%22margin-bottom%3A%200.5em%3B%22%3EWIFI%20module%20based%20on%20QFM2202%3C%2FLI%3E%3CLI%20style%3D%22margin-bottom%3A%200.5em%3B%22%3E220V%20input%20voltage%2C%2010A%20max%20current%3C%2FLI%3E%3CLI%20style%3D%22margin-bottom%3A%200.5em%3B%22%3EPhase%20current%20sampling%20with%2025ppm%205%20m%CE%A9%20current%20sampler%20by%2024Bit%20SD%20ADC%3C%2FLI%3E%3CLI%20style%3D%22margin-bottom%3A%200.5em%3B%22%3EPhase%20voltage%20sampling%20with%2025ppm%20resistor%20voltage%20divider%20network%20by%2024Bit%20SD%20ADC%3C%2FLI%3E%3CLI%20style%3D%22margin-bottom%3A%200.5em%3B%22%3EOn-chip%20voltage%20comparator%20(for%20precision%20grid%20frequency%20detection)%3C%2FLI%3E%3CLI%20style%3D%22margin-bottom%3A%200.5em%3B%22%3ESingle%2032.788K%20crystal%20input%20for%205ppm%20RTC%3C%2FLI%3E%3CLI%20style%3D%22margin-bottom%3A%200.5em%3B%22%3EExternal%20extendable%2064Mb%20SPI%20Flash%3C%2FLI%3E%3CLI%20style%3D%22margin-bottom%3A%200.5em%3B%22%3ELow-power%20modes%20including%20the%20use%20of%20built-in%20RTC%3C%2FLI%3E%3CLI%20style%3D%22margin-bottom%3A%200.5em%3B%22%3E3%20channel%20LED%20pulse%20outputs%20for%20calibration(kWh%2C%20kVarh)%3C%2FLI%3E%3CLI%20style%3D%22margin-bottom%3A%200.5em%3B%22%3EProvide%20android%20application%20to%20get%20active%20power%2C%20reactive%20power%2C%20apparent%20power%2C%20grid%20frequency%20and%20history%20runtime%3C%2FLI%3E%3CLI%20style%3D%22margin-bottom%3A%200.5em%3B%22%3EAndroid%20application%20to%20set%20plug%20ON%2FOff%2C%20set%20timer%20for%20ON%2FOff%20at%20fixed%20time%20and%20set%20RTC%20time%3C%2FLI%3E%3CLI%20style%3D%22margin-bottom%3A%200.5em%3B%22%3EAndroid%20application%20to%20set%20plug%20wifi%20module%20to%20power%20save%20mode%3C%2FLI%3E%3CLI%20style%3D%22margin-bottom%3A%200.5em%3B%22%3ECost-effective%20bill%20of%20materials%3C%2FLI%3E%3CLI%20style%3D%22margin-bottom%3A%200.5em%3B%22%3EExternal%20extendable%20WIFI%20module%20with%20UART%20connection%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3C%2FP%3E%3CH1%20id%3D%22toc-hId-1061617937%22%20id%3D%22toc-hId-1977874639%22%3EBlock%20Diagram%3C%2FH1%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22RDDSP56F8MCIMG.jpg%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22RDDSP56F8MCIMG.jpg%22%20style%3D%22width%3A%20896px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F111372i0E840C82956D1BC8%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22RDDSP56F8MCIMG.jpg%22%20alt%3D%22RDDSP56F8MCIMG.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CH1%20id%3D%22toc-hId--745836526%22%20id%3D%22toc-hId-170420176%22%3EDesign%20Resources%3C%2FH1%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1115268%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3ELegacy%20Designs%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎08-11-2020 08:19 PM
Updated by: