Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor...
Transcript of Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor...
![Page 1: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/1.jpg)
PrepaidEnergySystemGroup21Sponsoredby:
◦ YoussefOjeil (EE)◦MichaelCuervo (EE)◦MD.S.Rahaman (EE)◦ Sahin Okur (EE)
SupervisedbyDr.Chung-YongChan
![Page 2: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/2.jpg)
GoalsandObjectives• Alternativepre-paid solutiontoconventionalutilitybilling• RFID/NFC technologyallowsforquick payment• EnablestheInternetofThings(IoT)sotheusercanalwaysbeconnectedto
thesystem• Androidapplicationprovidestheuserwithreal-timedatain thepalmof
theirhands• Easy accesstostatisticsgivestheuser moreawarenessandcontrol ofusage• Automaticconnect/disconnectcapabilityrelievestheburdenfromthe
utilityproviders
![Page 3: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/3.jpg)
Requirements• MustfacilitatemobilepaymentviaRFID/NFC
• IncorporatingTexasInstrument's3PhasePowerMeter
• Datausageaccessible throughWi-Fi
• FriendlyUserInterface(AndroidApplication)
![Page 4: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/4.jpg)
RelevantStandards• Wi-Fi
o IEEE802.11b/g/n
o WPA/WPA2/WEP
• RFID/NFC
o ISO-14443A
o ISO-14443B
o ISO-15693
o FeliCa
![Page 5: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/5.jpg)
BlockDiagramPower SupplyAC Main
MCU
RFID Chip
Comparator
Power Meter
Circuit Breaker Load
3.3 V
3.3 V
12 V
![Page 6: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/6.jpg)
DesignandImplementation
![Page 7: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/7.jpg)
PowerMeterPower SupplyAC Main
MCU
RFID Chip
Comparator
Power Meter
Circuit Breaker Load
3.3 V
3.3 V
12 V
![Page 8: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/8.jpg)
EVM430-F6779 - 3PhaseElectronicPowerMeter• Runreal-timeelectricitymeteringapplications
• ProvideACpowermeasurementsforupto3phase
• GUIforcalibration,measurementdisplay,etc
• RS-232interfaceforexternalcommunication
• 160segmentLCDdisplay
• SupportsWi-FiandZigBee
![Page 9: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/9.jpg)
SolidStateRelay• Loadcurrent75A
• Input:• InputDCcontrol3-32V• Triggercurrent7.5mA/12V
• Output:• Operatingvoltage90-480V• Weight:125g
![Page 10: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/10.jpg)
ComparatorTL084• MCUOutputvoltage3.3
• Raisethevoltageto12V.
• Usingasalogiccircuiteither0to12voltoutput.
![Page 11: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/11.jpg)
[email protected] @0VINPUTOUTPUT12V
![Page 12: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/12.jpg)
RFIDPower SupplyAC Main
MCU
RFID Chip
Comparator
Power Meter
Circuit Breaker Load
3.3 V
3.3 V
12 V
![Page 13: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/13.jpg)
RFID• NFCischosensincenearfieldcommunicationismoresecure
•Operatesat13.56MHz
• Containstwoseparateparts:theHostandtheTag• Usedforpayments
![Page 14: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/14.jpg)
RFIDTransceiver- TRF7970A• RFID/NFC Reader,NFCPeer,orinCardEmulationmode
• RFFieldDetectorforNFCPhysicalCollisionAvoidance•13.56MHz HFRFIDReader/Writer
• SupportsISO15693,18000-3,14443A/B,andFeliCa•OperableatFullPowerorHalfPower(5or3.3V)• UltraLow-PowerSystemDesign(PowerDown<1µA)
• ParallelorSPIInterface
![Page 15: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/15.jpg)
RFIDBoosterPack- TRF7970ABP• CompatiblewithNFCLink Library
• CompatiblewithCC3200LaunchPad
• SupplyVoltage2.7– 5.5V• 127byteFIFObuffer• 0.5uA PowerDown
• 2mAStandbyMode
•On-boardAntenna•OperationalPowerSuppliedbyLaunchPad
![Page 16: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/16.jpg)
TRF7970AOperableModesReader/Writer CardEmulation P2P
Technology Bitrate(kbps)
Technology Bitrate(kbps)
Technology Bitrate(kbps)
NFC-A/B(ISO14443A/B)
106,212,424, 848
NFC-A/B 106 NFC-A 106
NFC-F (JIS:X6319-4)
212 , 424 N/A N/A NFC-F 212, 424
![Page 17: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/17.jpg)
RFID &MCUBlockDiagram
![Page 18: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/18.jpg)
PhoneSelection• Android– OpenSource&NFCsince2008• NexusS&Nexus4• NexusSwasinitiallyusedbecauseitwascheap• Nexus4usedbecauseofAndroid4.4• BroadcomNFCchip,whichemulatesaTag4TypeISO14443A• Android4.4wastheminimumOSforimplementingHostCardEmulationwhichusestheNDEFprotocol
![Page 19: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/19.jpg)
NDEF• NFCForumDataExchangeFormatisalightweightbinarymessagecommunicationprotocol
• NDEFMessagesarethebasic"transportation"mechanismforNDEFrecords.Eachmessagecancontainoneormorerecords.
• NDEFRecordscontainaspecificpayload,andfollowaspecificstructurethatidentifiesthecontentsandsizeoftherecord.
• SinceweareemulatingType4tags,APDUcommands(likeREADBINARYandSTOREBINARY)areusedtoreadandstoreNDEFdatatocompletethecommunicationbetweenthereaderandthephone.
•Awaittimeextensionrequestwasbeingsentoutbythephone.ThishadtobeechoedbytheRFIDreader.
![Page 20: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/20.jpg)
AndroidApplication
• UserInterface•Mobileappwillhavealertsystem• Emulatingatransponder tagusingHCE• EmulateAndroidPay• RetrieveDatathroughWi-Fi
![Page 21: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/21.jpg)
MCUPower SupplyAC Main
MCU
RFID Chip
Comparator
Power Meter
Circuit Breaker Load
3.3 V
3.3 V
12 V
![Page 22: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/22.jpg)
WirelessCommunication
Parameter Bluetooth ZigBee Wi-Fi
Frequency 2.4GHz 800-900MHz,2.4GHz 2.4GHz,5GHz
Range 10m 10- 100m Upto100m
DataRate 1Mbps 250kbps 54Mbps
PowerConsumption Medium Low High
ImplementationComplexity Easy Moderate Difficult
![Page 23: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/23.jpg)
MicrocontrollerUnit•CC3200WirelessMCU◦ ARMCortex-M4CPUat80MHz◦ IntegratedNetworkProcessor◦ SimpleLink Library◦ 4Low-PowerModes
9mmx9mm
![Page 24: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/24.jpg)
MicrocontrollerUnit:PrototypingCC3200LaunchPad◦ On-boardAntenna◦ BoosterPackHeaders◦ PoweredFromUSB◦ JTAG/FTDI
![Page 25: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/25.jpg)
ProcessFlowDiagramINIT APProvisioning SaveConfigTo
Flash
ConnecttoNetwork AdvertisemDNS
NFCReaderActive
(EnterIdleState)
Retrieve/ProcessDataFromPower
Meter
PaymentAcquired?
No
Yes
ProcessandSendEmail
Confirmation
If$$Low,SendSMS
Check$$AndTurnPowerON/
OFF
![Page 26: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/26.jpg)
ProcessFlowDiagramINIT APProvisioning SaveConfigTo
Flash
ConnecttoNetwork AdvertisemDNS
NFCReaderActive
(EnterIdleState)
Retrieve/ProcessDataFromPower
Meter
PaymentAcquired?
No
Yes
ProcessandSendEmail
Confirmation
If$$Low,SendSMS
Check$$AndTurnPowerON/
OFF
![Page 27: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/27.jpg)
Wi-Fi:PowerMeter• CC3100onpowermeterhostsHTTPwebserver
• CC3200actsasHTTPClient
![Page 28: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/28.jpg)
Wi-Fi:Phone•mDNS broadcaststophone
• Sendspaymentconfirmationandalerttoemailandphone
![Page 29: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/29.jpg)
PCB
![Page 30: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/30.jpg)
PowerSupplyUnitPower SupplyAC Main
MCU
RFID Chip
Comparator
Power Meter
Circuit Breaker Load
3.3 V
3.3 V
12 V
![Page 31: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/31.jpg)
PowerSupplyDesign
![Page 32: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/32.jpg)
120VACto12VDC(Stage1)Design:PMP8764
VinMin =110.0VVinMax =130.0VVout =12.0VIout =1.0ADevice=PMP8764Topology=FlybackBOMCount=35TotalPd =1.25W
![Page 33: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/33.jpg)
12 VDCto3.3 VDC(Stage2)
Design:4550765/86TPS54425PWPR
VinMin =11.5VVinMax =12.5VVout =3.3VIout =1.0ADevice=TPS54425PWPRTopology=BuckBOMCost=$2.21BOMCount=12TotalPd =0.21W
![Page 34: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/34.jpg)
Stage1Stage2
![Page 35: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/35.jpg)
PCB
![Page 36: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/36.jpg)
PCBDCtoDC
![Page 37: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/37.jpg)
AdministrativeContent
![Page 38: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/38.jpg)
ResponsibilitiesYoussefOjeil Michael Cuervo Sahin Okur MD. Rahaman
Android Application Power Supply Microcontroller PowerMeter
RFID PCB Design Wi-Fi Communication Relay
![Page 39: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/39.jpg)
FacilitiesandEquipment• UniversityofCentralFlorida(UCF)SmartLab
• UCFSeniorDesignLab
• TexasInstrumentsInnovationLab
• Three-phasepoweroutletfoundinEngineering1,Room456
![Page 40: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/40.jpg)
BudgetPart Supplier Quantity CostCC3200LaunchPad Texas Instruments 1 $29.99*TRF7970ABoosterPack Texas Instruments 2 $25.00*CC3100BoosterPack Texas Instruments 2 $19.99*EVM430-F6779 Texas Instruments 1 $299.00*SSR-75DAH Fotek 1 $10.00
Nexus4 LG 1 $80.00SeniorDesignPaper The SPOT 1 $13.00PCB OSHPark 3 $140.00
PowerSupply PCB OSHPark 6 $234.00
Miscellaneous $100.00
Total
*Partsprovided freeofchargebysponsor
![Page 41: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/41.jpg)
Limitations• Currentlysupportsonlysinglephasemeasurements
• Noauthenticationmethodforcardpayments
• UsermustbeconnectedtoWi-Finetworktoaccessdata
• SystemdoesnotsupportallmodesofNFC
• MobileAppdoesnotsupportofficialmerchant/buyersystem.CanfurtherbeimprovedbyusingAndroidPayAPIs.
![Page 42: Prepaid Energy System - UCF Department of EECS · 2016. 5. 2. · Integrated Network Processor SimpleLink Library 4 Low-Power Modes 9mm x 9mm. Microcontroller Unit: Prototyping ...](https://reader036.fdocuments.us/reader036/viewer/2022071506/6127376ca453e83f8320d6da/html5/thumbnails/42.jpg)
Questions?