Presentation on theme: "POWER BLOCKS David Fiedeldey Michael Badaracca Peter Brehm Micahl Keltner Tenzin Choephak."— Presentation transcript:
POWER BLOCKS David Fiedeldey Michael Badaracca Peter Brehm Micahl Keltner Tenzin Choephak
Reduce phantom loads Purpose Power strip turns off selected outlets when you are not home Project Power Strip Base Station Home Presence Sensors Elements Project Overview Michael Badaracca David Fiedeldey
Fallback Functionality David Fiedeldey Power strip: Primary block of 4 outlets plus a modular block of 2 outlets controllable from base station. Current measurements are recorded, processed, and sent back to a base station wirelessly. ◦ Base station: Working LCD interface capable of controlling individual outlets wirelessly. Reports basic power consumption information. ◦ Sensors: Physical connection between sensors and base station.
Expected Functionality David Fiedeldey ◦ Power strip: Add a second modular block of 2 outlets with added variable voltage functionality. ◦ Base station: Long term power usage statistics available to users in an improved LCD interface. Potentially presenting data in graphical form as well. ◦ Sensors: Wireless connection between sensors and base station.
Advanced Functionality David Fiedeldey ◦ Power strip: Up to 12 total outlets (4 modular blocks max.) including a variable voltage block. A “sync” button to give visual confirmation of wireless connectivity. Seven-segment display on the strip that shows present power consumption. ◦ Base station: Internet connectivity with a web interface for controlling the strip. Alternatively a smartphone app. ◦ Sensors: Multiple sets of motion and photo sensors communicating with the base station.
Milestone 1 David Fiedeldey ◦ Power strip: Wirelessly receive outlet enable commands for the primary block on the strip (no modular blocks) ◦ Base station: Wirelessly send outlet enable commands to the primary block on the strip. User interface will involve LEDs and buttons. Receives input from hardwired sensors and turns LEDs on/off ◦ Sensors: Hardwire deadbolt and motion/light sensors to base station.
Milestone 2 David Fiedeldey ◦ Power strip: Incorporate a removable, modular power block. Process and send current data ◦ Base station: LCD interface with working software menu and buttons. Wirelessly receive sensor data and interpret it into commands to power strip. ◦ Sensors: Wireless deadbolt and motion/light sensors
Expo David Fiedeldey ◦ Power strip: Multiple modular blocks. A dimmer modular block. Wireless sync function ◦ Base station: User can input preferences and schedule for HPS algorithm. Receives data from multiple motion/light sensors ◦ Sensors: Multiple wireless deadbolt and motion/light sensors
Current Budget PartQuantity NeededPrice Relays12 2.64 Current Sensors122.91 Dimmers216 Light/Motion Sensors225 MSP430’s220 Xbee’s210 Linx TRM433317.5 LCD150 GeneralX100 PCB’sX250 Demo MaterialsX250 ShippingX50 David Fiedeldey Total961.1
Updated Division of Labor David Fiedeldey Peter Hardware: Power Supplies, Base Station PCB Software: LCD Driver, Xbee Driver, External Memory Interface Mike K. Hardware: Strip Sensor, Strip Power, Strip PCB, HPS Sensors, Enclosures Software: HPS Lookup Table, Current Data Processing Mike B. Hardware: Home Presence Sensors, Xbee, Linx TRM433, Enclosures Software: Linx driver, HPS Lookup Table, Sensor/Button Interrupts David Hardware: Power Supplies, Strip PCB, IO Expander Software: Base Station Interface, IO Expander Tenzin Hardware: Xbee, Linx TRM433, Base Station PCB Software: LCD Driver, Xbee driver
- HPS detects if a house is occupied or not - User configurable algorithm - Minimal user interaction after setup - Sensors can be easily installed in any home Home Presence Sensing Overview Michael Badaracca
Transceiver Transcoder Small: 0.619”x0.630”x0.125” Low Power: 2.1 V Min Simple – CPCA modulation Small – 0.309” x 0.284”x0.125” Low Power: 2 V Min Simple – 8 GPIO pins allow easy interfacing with processor Wireless Components Michael Badaracca
Base Station: Level Zero MSP430F169Requires 5v DCMultiple 3.3v OutputIntegrated UART MSP430F169 Buttons Linx Timer X-Bee (Data) LCD (SPI) X-Bee (Commands) 5v DC Power Peter Brehm
User Interface LCD Crystalfontz CFA-634 120 x 32 pixel resolution Requires 5v DC Communicates using SPI MSP430 is the master and LCD is the slave. Buttons Number pad, Select, up/down, and Back Text Based Navigation of the Menu Peter Brehm
Base Station Software/Interrupts Main function drives the LCD Interrupts ◦ 1 st Timer Timer Register Overflow increments global timer variable to keep track of the schedule and the time. ◦ 2 nd Buttons Directly hardwired to I/O pins on the MSP430 ◦ 3 rd Linx Communication Sensor input ◦ 4 th X-Bee communication Data from the strip After each interrupt the Base Station will check the state table, and if necessary send commands to the strip. Peter Brehm
Trends, Profiles and Memory Power readings of each outlet are saved and averaged every fifteen minutes. Plotted for the power consumption trends option. Additional external memory chip ◦ EEPROM Non Volatile Memory Past Power Consumption Data Peter Brehm
Strip Software Functionality Regular interval timer interrupt Checks ADCs from all outlets Converts the Signal to packet form Sends data to the Base station via X-Bee Repeat MSP430F169 Timer X-Bee (Commands) Relay Control X-Bee (Data) 120 v AC Power Current Sensors Peter Brehm
Strip Interrupts 1st Commands from the Base Station ◦ Output Multiplier ◦ Control individual outlet relays 2 nd Timer Flag Registers ◦ To accurately keep track of regular intervals Peter Brehm
Dimmer Operation Chops up the sine wave, twice per cycle, off/on 120times a second The variable resistance controls gate voltage, determines duty cycle for off. Inductor and C1 act as a filter, storing charge, reducing the “buzzing” effect Micahl Keltner
120VAC +/-, Earth GND, GND, 5VDC, Short, NxVsensor, NxCOM, Res. Line (6+2N total) Total Lines – N Outlets Micahl Keltner
SCL – Baud rate to match data bus Clock SDA – Byte segments; sets a read/write operation, device address, etc Data Bus Determine a write or read (8 bits) What port being written/read (8 bits) Data sent or received (8 bits) Order of Operations Micahl Keltner
Allegro Microsystems 10A Range Sensing 1250V Isolation Linear Behavior
Current meter will relay current data to the on board msp430 for display. Current Average current usage over hour, day and month. Average Current Average power consumption reading for hour, day and month. Power consumption Data collected/computed Tenzin Choephak
UART Data Packet/Encoding Command packets from base station to strip Strip data packets from strip to base station 24 bit Data packet will consist of three 8 bit sub- packets Packets are encoded depending on if it’s a command packet or strip data packets Tenzin Choephak
Data Packet/encoding cont 16 bit example packet from base station to strip: 24 bit data packet from strip to base station example: Strip ID (4) Outlet ID (7) Cmd ID (4) Other (2) Ack & Checksum (2-3) Strip ID (4) Block ID (4) Data (14) Ack & Checksum (2) Tenzin Choephak 24
Few challenges ◦ XBee too big for deadbolt sensor ◦ Not enough I/O on board for strip ◦ May not have enough on board memory State of Progress ◦ Have simple initial test design working with button on dev board controlling the relays ◦ XBees settings programmed and tested working ◦ Begun programming the MSP430 Conclusion Tenzin Choephak
Display deadbolt sensor controlling a relay through the MSP430 Demo/Question? Tenzin Choephak