The A.U.M. Device (pronounced “Ohm”)
description
Transcript of The A.U.M. Device (pronounced “Ohm”)
The A.U.M. Device (pronounced Ohm)
The A.U.M. Device(pronounced Ohm)
ByB. Lwen Gruseck (EE)Gardy Lacombe (EE)Michael Sriprashad (EE)
The A.U.M. DeviceMotivationTo save energy Energy sustainabilityReduce Phantom PowerUnwanted Carbon dioxide emissionsSaving moneyThe A.U.M. DeviceCommon Appl. Power UseThe A.U.M. Device
Goals and objectivesEliminate standby powerOverall device to be energy efficientDifferent modes of operationsUser controlled onboardUser controlled wirelesslyAccurately calculate power usage
The A.U.M. DeviceSpecifications3 outlets120V(RMS) AC 60Hz power input and outputMeasures 5 to 8A, 120V75% savings on stand by power5V DC power for internal devicesCalculate power with at most +/- 5% errorAt least10 bit wide ADC for power calculations2 user interface inputs100m wireless control
The A.U.M. DeviceBlock Diagram
The A.U.M. DeviceWall (120V AC)Power SupplyWireless CommunicationMotion SensorScreenMicrocontrollerRelayAppliance DeviceCurrent SensorMicroController DutiesNeeds to be low power (under 3 Watts)Easy user interfacing Readily control exterior devicesCompatibility with touch screenCompatibility with Wireless AppAnalog to Digital ConversionPower calculationReadily programmable with multiple resources
The A.U.M. DeviceComparing microcontrollers MCUMSP430F551xAtmega328Atmega324pClock speed0-25MHz0-20MHz0-20MHzTouch SupportN/AQ-Touch LibraryQ-Touch Library
Pin number80-1003240Programming supportTI E2E communitySpaces, avrfreaksSpaces, avrfreaksProgramming LanguageAssembly, C, C++Assembly, C, C++Assembly, C, C++Low power Active Mode (8MHz)6.96mW2.88mW5.76mWUART312The A.U.M. DeviceAtMegega324p
The A.U.M. Device
Pin LayoutBlock Diagram
The A.U.M. DeviceTouch ScreenAtmega324pTouch ScreenNeeds to be low powerDisplay on coming info from the microcontroller as well sending commands to it.Big enough for buttons and featuresCompatibility with microcontroller
The A.U.M. DeviceComparing screensThe A.U.M. DeviceScreensuLcd-32wptuMK-CY-043DT028ATFT-TSManufacturer4D systemsAmulet TechnologiesDisplaytechTypeResistiveCapacitive Resistive Diagonal3.5 in4.3 in2.8 inInterfaceSerial, 12C, UARTRS-232, UART, USBParallell, RGBModule size95.4 mm x 49.6 mm x 15.9 mm78.4 mm x 111 mm x 17 mm50 mm x 69.2 mm x 2.85 mmOperating current20 mA22 mA18.5 mASupply voltage
4 5.5 V5 V2.8 VPrice$89.00$338.00$30.00
The A.U.M. DeviceBlock Diagram
The A.U.M. DeviceWireless CommunicationuLcd-32wptu
Atmega324pWireless CommunicationSimple User InterfaceSmartphone compatibleBluetooth or WifiReadily programmableUART communication with MCUThe A.U.M. DeviceBluetoothFeatureBluetooth Mate GoldBlueSMiRF RP-SMAClass11UART connectionYesYesFCC certifiedYesNoPower consumption25mA25mAOperating Voltage3.3-6V3.3-6VOperating Temperature-40 to 70C-40 to 70CAntennaBuilt-inCompatibleHopping SchemeHardyHardySerial communications2400-115200bps2400-115200bpsConnection EncryptedYesNoSerial Connection6-pin Arduino layout6-pin FTDI layoutThe A.U.M. DeviceBlock Diagram
The A.U.M. DeviceBluetoothMotion SensoruLcd-32wptu
Atmega324p
Motion sensorMust detect up to 20 feetMust be able to detect if people are present in the roomBe able to set length of time for system shut downFor this design we chose PIR sensor
Parralax 555-28027Pir sensor Rev BUp to 30 feet range in high sensitivity modeDimensions 1.41 x 1.0 x 0.8 in
The A.U.M. DeviceBlock Diagram
The A.U.M. DeviceWall (120V AC)BluetoothPIRuLcd-32wptuAtmega324pRelayAppliance DeviceRelay - Solid State vs Electromechanical
Long life and reliabilityHigh switching frequencyNo contact arcing and bounceNo electrical mechanical noiseLow input current High switching speedThe A.U.M. DeviceRelay-Sharp S116S01
Always off stateOn State Voltage 1.5VRMS On-Current 16A Isolation Voltage 4kVTurn on time 1msTurn off time 1ms
The A.U.M. Device
Block Diagram
The A.U.M. DeviceWall (120V AC)Wireless CommunicationMotion SensoruLcd-32wptuMicrocontroller S116S01 Appliance DeviceCurrent SensorCurrent Sensor acs712Hall Effect BasedClosed LoopSupply Voltage 5VMaximum Current 5AOutput is a proportional voltage with a sensitivity of 185 mV/AThe A.U.M. Device
Block Diagram
The A.U.M. DeviceWall (120V AC)Power SupplyWireless CommunicationMotion SensoruLcd-32wptuMicrocontroller S116S01 Appliance DeviceAcs712Circuit Design
The A.U.M. DeviceMain Power Circuitcalculating powerGoal is to calculate real powerReal power is = () () (). The current sensor will report the current to the microcontrollerIncoming voltage transformer and voltage dividerThe A.U.M. Device
Circuit Design
The A.U.M. DeviceVoltage Divider CircuitModes of operationThe A.U.M. DeviceSoftware DesignPower CalculationsStandby modeMaster-slave ModeMotion Sensor ModeTimer ModeUser Interface
The A.U.M. DeviceStand by ModeAutomatically turns outlets on or off depending on whether the appliance is in standby mode or not.Takes a sample with outlet on and reiterates 8192 times, incrementing counterLogical shifts left, 13 places, effectively dividing by 8192 (2^13)If there was no change in average from last run, check if new current is less than or equal to .75 the current avg. (False if first run)Check if new avg. is greater or equal to 1.25 times the current avg. (True if first run)Set current avg. to new avg., and set change counter to true(01)Set new avg. to zero and reiterate to find next new avg. Since change is true, check if new average is greater or equal to 1.25 the current avg. If it is, the outlet is in use, and the new avg. is set as current avg. and the change counter is set back to false. If its not, the outlet is not in use and the outlet is turned off. The new avg. is reset, and the sampling reiterates again.
The A.U.M. DeviceStand By modeThe A.U.M. Device
The A.U.M. DeviceStandby Mode FlowchartCurrent_avg=0;Current_new=0;Change=0;i=0;Outlet_on();Current_new+=current_current();i++;i>13;i=0;(LShiftLeft=current_new/8192)NoChange=0?Current_new=0;Current_new>= 1.25*Current_avg?Current_new