Conserve-A-Watt System Software Design Justin Rapozo.

Slides:



Advertisements
Similar presentations
System Software Design Frank Mirabelli. Motorola MC9S12DP512 Bus Frequency 24 MHz Available Memory 512K bytes Flash EEPROM, 4K bytes EEPROM, 14K bytes.
Advertisements

FatMax Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 LicenseCreative Commons Attribution-NonCommercial-ShareAlike 2.5.
P3- Represent how data flows around a computer system
Programmable Interval Timer
The Operating System. What is an Operating System? The software which makes it possible for you to use your computer The software which starts up when.
Basic Input Output System
Computer Parts Assignment
Operating Systems: Software in the Background
Operating Systems. What is an Operating System? A layer of software between users/applications and the hardware. The first program loaded onto a computer.
Basic Input Output System
Today’s Agenda: Computer Basics Review Hardware: The physical components of a computer, any internal or external computer part that you can touch. Software:
Computer System Overview Chapter 1. Operating System Exploits the hardware resources of one or more processors Provides a set of services to system users.
BlueECG System Software Design Western Washington University By: Corey Williamson.
Learning Objective The students should be able to: a. state the definition of software b. state the usage of software c. list different types of software.
Operating Systems Lesson Objective: Understanding the functions of an operating system. Learning Outcome: Answer some basic questions on operating systems.
Identifying Hardware Components in a Computer (continued) Clock Speed (continued) The computer has a system clock that generates a regular electronic beat.
Michael Nist. System Software Design  MCU (2): CY8CPLC20 8-bit  32 KB Flash, 2 KB SRAM  Bus Frequency: 24 MHz  Memory requirements:  Main Controller:
System Software Design Review.  MCU: NXP LPC2378 ARM7 32-bit  512 KB Flash, 8KB EEPROM and SRAM  Bus Frequency: 20 MHz  Approximate Memory requirements:
 Home Security and Lighting System  Western Washington University  Jonathon Ross  28 April, 2009.
Turbine Flow Meter Kevin Hooks Senior Design Project.
System Software Design and Documentation Zach Hill Western Washington University.
Digital Handheld Communication and Navigation Device
Water Flow GROUP A. Analogue input voltage results: Motor Input voltage( V) pin 12 Analogue input voltage (V) Display number
BABCA Software Operating Systems (OS) aka Systems Software A set of instructions that coordinate all the activities among computer hardware resources.
Vinh Le.  MCU: Freescale Kinetis K60512 ARM Cortex M4  Bus Frequency: 50MHz  Available Memory: ◦ 512KB Flash ◦ 64KB SRAM  Memory Required: ◦ 10KB.
SYSTEM SOFTWARE DESIGN JAMES ZUROSKE Pet Proximity Sensor.
Lost Item Pager System Design Russ Kinley 5/6/6008.
Processor Memory Processor-memory bus I/O Device Bus Adapter I/O Device I/O Device Bus Adapter I/O Device I/O Device Expansion bus I/O Bus.
Ryan Hansgen. General System Design  MC9S08QE64CFT 24MHz Bus Frequency 64 K byte Flash EEPROM, 4.0 K byte RAM  Memory required 8 K bytes ROM 2 K bytes.
RFID Access Control System Lucius Knight. General System Design  Microcontroller  PSoC CY8C29466  24MHz Bus Frequency  Memory Available  32kB FLASH.
System Software Design Dane Kim May 4 th, 2009 EET 475, WWU.
BICYCLE SECURITY AND TRIP COMPUTER MATTHEW ROTHNIE WESTERN WASHINGTON UNIVERSITY 4/25/12.
By Jesse W. Spalding.  Microcontroller Choice  Motorola 9S12DP256B ◦ Set to 24 MHz for the Bus Frequency ◦ Memory  256K Bytes of ROM  12K Bytes of.
ATV INSTRUMENTATION DISPLAY System Design Ed Raezer Senior Project Western Washington University.
Multi-Access Lock Andrew Hall. General System Requirements MCU: MC9S12C128 Bus Frequency: 24MHz Memory Requirements: 11k bytes Flash EEPROM 3k bytes RAM.
System Software Design Engineer: Mac Gainor Western Washington University.
Machine Access System Software Design and Documentation Western Washington University By: Kevin Pogue.
Portable/Programable Location System – Software Design By: Mark Moerdyk.
Digitally Configurable Audio Routing Patchbay DCARP System Software Presentation Aaron Cramer Western Washington University 2009.
LED CUBE Preliminary System Software Design Fernando J. Garcia May
Humidity Sensing Fan Controller Jason Huft 05/11/10.
Yared Woldekiros Western Washington university WEB ENABLE HOME AUTOMATION.
System Software Design Dan Sweet May 6 th, 2008 Western Washington University Bicycle Power Meter.
SGDRS Software System Design Justin A. King WWU EET Senior project 2013.
Automatic Pressure Canning System System Software Design By: Michael Drysdale.
Atmospheric Data Measuring Rocket Software Design & Description Matt Buonadonna ADaM Code Presentation.
GPS Enhanced PFD System Software Presentation Eric Grossmann.
Software Design Review Andres Rodriguez. General System Design  MCU: STM32F405  MCU Bus Frequency: 84MHz  Memory Requirements  Flash: ~ 10Kb  RAM:
System Software Design GPS Training System Jason Corbridge May 8, 2008 Western Washington University.
LED CUBE Preliminary System Software Design Fernando J. Garcia May
WESTERN WASHINGTON UNIVERSITY KENT SYKES 2009 Audio Field Recorder System Software Design.
ATV INSTRUMENTATION DISPLAY System Software Design Ed Raezer.
Wireless Heart Rate Monitor. On-Person Unit MC13213 (HCS08)  16 MHz Bus Frequency  On Chip Resources 60K of Flash 4K of RAM  Require Resources 15K.
HOME CONTROL SYSTEM By: Justin E. Klumpp & Leo L.S. Wan Leo L.S. Wan.
System Software Design Doorbell Jukebox Henry Arbicor and Arthur Bingcang.
Voice Over IP – Software Western Washington University By: Jonathan R. Peterson.
Electronic Memory Game System Software Design Jack Sullivan May 08, 2007.
Software Architecture of Sensors. Hardware - Sensor Nodes Sensing: sensor --a transducer that converts a physical, chemical, or biological parameter into.
Software Overview Walking Robot by Sharon Davis Kernel MicroC/OSII.
The Guardian: Refrigerator Contents Tracker Bryant Lampano Western Washington University Electronics Engineering Technology [Type the company name]
Automated Aquarium Controller System Software Design ETEC 474 Western Washington University By: Gregory Rose.
System Software Design Presentation Western Washington University Taylor Reijm.
CS501 Advanced Computer Architecture
Wireless Optical USB Mouse
Wireless Heart Rate Monitor
System Software Design by Chan-Chia (James) Chang
By: Justin E. Klumpp & Leo L.S. Wan
System Software Design
Presentation transcript:

Conserve-A-Watt System Software Design Justin Rapozo

General System Description MC9S12DP512 – 24MHz Bus Frequency – 16K bytes RAM, 4K bytes EEPROM, 512K bytes Flash EEPROM Memory Required – 2K bytes RAM – 36K bytes Flash EEPROM Kernel Used – MicroC/OS-II – 1 ms tick period

Tasks Start Task UI Task Key Task Energy Meter Task

Start Task Creates the User Interface Task, Energy Metering Task, and Key Task – Priority: 4 – Period: Once (at startup) – Execution Time: ~1s

Energy Metering Task Handles measuring energy usage of the device under test. – Irms – Vrms Calculates Preal. Calculates energy consumption in kWh. Handles the storing and deleting of energy consumption. – Priority: 5 – Period: 1ms – Execution Time: 200µs

Key Task Checks for key presses so as to give the user options – Priority: 6 – Period: 5ms – Execution Time: ≤ 5µs

UI Task Handles user inputs and Displays real time/saved energy measurements. – Priority: 7 – Period: 500ms – Execution Time: 4ms (max)

CPU Load EnergyMeterTask Load: 200µs/1ms = 0.2 KeyTask Load: 5µs/5ms = 0.01 UITask Load: 4ms/500ms = Total CPU Load(Max) = = x 100% = 21.8% Average CPU Load = 20.8%

Modules ModuleTask(s)Public Functions and Data EnergyMain.cStartTask UITask KeyTask N/A Meter.cEnergyMeterTaskData: Irms, Vrms, Preal, kWh ProgFEEprom.cN/AFuntions: ConfigFECLKDIV(), FEEsectModify(), FEESectErase(), FEEWordWrite() ProjectLCD.cN/AFunctions: LcdCommand(), LcdInitialize(), LcdPutChar(), LcdMoveCursor(), LcdPutStrg() AtoD.cN/AFunctions: AtoDInitialize(), ReadCurrent(), ReadVoltage()

Main Dataflow Hardware EnergyMain.c Hardware Meter.c ReadCurrent() ReadVoltage() KeyTask EnergyMeterTask ButtonsLCD UITask Key Energy Flag

A to D Dataflow AtoD.c A/D Converter AtoDI/O AtoDInitialize() 1ms ReadCurrent() PAD00 PAD01 ReadVoltage() ATDCTL5 ADR0DR0H ADR0DR1H AN0-1 A/D

FlashEEPROM Dataflow FlashEEPROM UITask EnergyMeterTask EnergyMain.c Meter.c Hardware EnergyMutex Key

Questions? Comments?