prepaid energy system - ucf department of eecs · 2016. 5. 2. · integrated network processor...
TRANSCRIPT
PrepaidEnergySystemGroup21Sponsoredby:
◦ YoussefOjeil (EE)◦MichaelCuervo (EE)◦MD.S.Rahaman (EE)◦ Sahin Okur (EE)
SupervisedbyDr.Chung-YongChan
GoalsandObjectives• Alternativepre-paid solutiontoconventionalutilitybilling• RFID/NFC technologyallowsforquick payment• EnablestheInternetofThings(IoT)sotheusercanalwaysbeconnectedto
thesystem• Androidapplicationprovidestheuserwithreal-timedatain thepalmof
theirhands• Easy accesstostatisticsgivestheuser moreawarenessandcontrol ofusage• Automaticconnect/disconnectcapabilityrelievestheburdenfromthe
utilityproviders
Requirements• MustfacilitatemobilepaymentviaRFID/NFC
• IncorporatingTexasInstrument's3PhasePowerMeter
• Datausageaccessible throughWi-Fi
• FriendlyUserInterface(AndroidApplication)
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
BlockDiagramPower SupplyAC Main
MCU
RFID Chip
Comparator
Power Meter
Circuit Breaker Load
3.3 V
3.3 V
12 V
DesignandImplementation
PowerMeterPower SupplyAC Main
MCU
RFID Chip
Comparator
Power Meter
Circuit Breaker Load
3.3 V
3.3 V
12 V
EVM430-F6779 - 3PhaseElectronicPowerMeter• Runreal-timeelectricitymeteringapplications
• ProvideACpowermeasurementsforupto3phase
• GUIforcalibration,measurementdisplay,etc
• RS-232interfaceforexternalcommunication
• 160segmentLCDdisplay
• SupportsWi-FiandZigBee
SolidStateRelay• Loadcurrent75A
• Input:• InputDCcontrol3-32V• Triggercurrent7.5mA/12V
• Output:• Operatingvoltage90-480V• Weight:125g
ComparatorTL084• MCUOutputvoltage3.3
• Raisethevoltageto12V.
• Usingasalogiccircuiteither0to12voltoutput.
[email protected] @0VINPUTOUTPUT12V
RFIDPower SupplyAC Main
MCU
RFID Chip
Comparator
Power Meter
Circuit Breaker Load
3.3 V
3.3 V
12 V
RFID• NFCischosensincenearfieldcommunicationismoresecure
•Operatesat13.56MHz
• Containstwoseparateparts:theHostandtheTag• Usedforpayments
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
RFIDBoosterPack- TRF7970ABP• CompatiblewithNFCLink Library
• CompatiblewithCC3200LaunchPad
• SupplyVoltage2.7– 5.5V• 127byteFIFObuffer• 0.5uA PowerDown
• 2mAStandbyMode
•On-boardAntenna•OperationalPowerSuppliedbyLaunchPad
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
RFID &MCUBlockDiagram
PhoneSelection• Android– OpenSource&NFCsince2008• NexusS&Nexus4• NexusSwasinitiallyusedbecauseitwascheap• Nexus4usedbecauseofAndroid4.4• BroadcomNFCchip,whichemulatesaTag4TypeISO14443A• Android4.4wastheminimumOSforimplementingHostCardEmulationwhichusestheNDEFprotocol
NDEF• NFCForumDataExchangeFormatisalightweightbinarymessagecommunicationprotocol
• NDEFMessagesarethebasic"transportation"mechanismforNDEFrecords.Eachmessagecancontainoneormorerecords.
• NDEFRecordscontainaspecificpayload,andfollowaspecificstructurethatidentifiesthecontentsandsizeoftherecord.
• SinceweareemulatingType4tags,APDUcommands(likeREADBINARYandSTOREBINARY)areusedtoreadandstoreNDEFdatatocompletethecommunicationbetweenthereaderandthephone.
•Awaittimeextensionrequestwasbeingsentoutbythephone.ThishadtobeechoedbytheRFIDreader.
AndroidApplication
• UserInterface•Mobileappwillhavealertsystem• Emulatingatransponder tagusingHCE• EmulateAndroidPay• RetrieveDatathroughWi-Fi
MCUPower SupplyAC Main
MCU
RFID Chip
Comparator
Power Meter
Circuit Breaker Load
3.3 V
3.3 V
12 V
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
MicrocontrollerUnit•CC3200WirelessMCU◦ ARMCortex-M4CPUat80MHz◦ IntegratedNetworkProcessor◦ SimpleLink Library◦ 4Low-PowerModes
9mmx9mm
MicrocontrollerUnit:PrototypingCC3200LaunchPad◦ On-boardAntenna◦ BoosterPackHeaders◦ PoweredFromUSB◦ JTAG/FTDI
ProcessFlowDiagramINIT APProvisioning SaveConfigTo
Flash
ConnecttoNetwork AdvertisemDNS
NFCReaderActive
(EnterIdleState)
Retrieve/ProcessDataFromPower
Meter
PaymentAcquired?
No
Yes
ProcessandSendEmail
Confirmation
If$$Low,SendSMS
Check$$AndTurnPowerON/
OFF
ProcessFlowDiagramINIT APProvisioning SaveConfigTo
Flash
ConnecttoNetwork AdvertisemDNS
NFCReaderActive
(EnterIdleState)
Retrieve/ProcessDataFromPower
Meter
PaymentAcquired?
No
Yes
ProcessandSendEmail
Confirmation
If$$Low,SendSMS
Check$$AndTurnPowerON/
OFF
Wi-Fi:PowerMeter• CC3100onpowermeterhostsHTTPwebserver
• CC3200actsasHTTPClient
Wi-Fi:Phone•mDNS broadcaststophone
• Sendspaymentconfirmationandalerttoemailandphone
PCB
PowerSupplyUnitPower SupplyAC Main
MCU
RFID Chip
Comparator
Power Meter
Circuit Breaker Load
3.3 V
3.3 V
12 V
PowerSupplyDesign
120VACto12VDC(Stage1)Design:PMP8764
VinMin =110.0VVinMax =130.0VVout =12.0VIout =1.0ADevice=PMP8764Topology=FlybackBOMCount=35TotalPd =1.25W
12 VDCto3.3 VDC(Stage2)
Design:4550765/86TPS54425PWPR
VinMin =11.5VVinMax =12.5VVout =3.3VIout =1.0ADevice=TPS54425PWPRTopology=BuckBOMCost=$2.21BOMCount=12TotalPd =0.21W
Stage1Stage2
PCB
PCBDCtoDC
AdministrativeContent
ResponsibilitiesYoussefOjeil Michael Cuervo Sahin Okur MD. Rahaman
Android Application Power Supply Microcontroller PowerMeter
RFID PCB Design Wi-Fi Communication Relay
FacilitiesandEquipment• UniversityofCentralFlorida(UCF)SmartLab
• UCFSeniorDesignLab
• TexasInstrumentsInnovationLab
• Three-phasepoweroutletfoundinEngineering1,Room456
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
Limitations• Currentlysupportsonlysinglephasemeasurements
• Noauthenticationmethodforcardpayments
• UsermustbeconnectedtoWi-Finetworktoaccessdata
• SystemdoesnotsupportallmodesofNFC
• MobileAppdoesnotsupportofficialmerchant/buyersystem.CanfurtherbeimprovedbyusingAndroidPayAPIs.
Questions?