IR Lamp Controller System Software Design And Documentation - PowerPoint PPT Presentation

1 / 17
About This Presentation
Title:

IR Lamp Controller System Software Design And Documentation

Description:

IR Lamp Controller. System Software Design And Documentation. Thomas Chia ... Delays a certain amount of time every time a button is pressed. Priority # 5 ... – PowerPoint PPT presentation

Number of Views:23
Avg rating:3.0/5.0
Slides: 18
Provided by: thomasch
Category:

less

Transcript and Presenter's Notes

Title: IR Lamp Controller System Software Design And Documentation


1
IR Lamp Controller System Software Design And
Documentation
  • Thomas Chia
  • Western Washington University 2006-2007

2
Kernel
  • MicroC/OS-II preemptive multitasking kernel
  • Tick Period of 1ms
  • Bus frequency of 24Mhz
  • Estimated Memory Requirements 2K, no paging

3
Priority of Task/ISR
  • 4)StartTask
  • 5)Time Delay Task
  • 6)IR key in Task
  • 7)Key Task
  • 8)Key Data Task
  • 9)Key in Task
  • 10)LED Display Task
  • 11)Time Update Task
  • Power Off ISR
  • Zero Cross ISR
  • RC5 Receive ISR

4
StartTask
  • Initializes system
  • Creates other Tasks
  • Priority 4
  • Period Once at start up
  • Execution Time 1s

5
Time Delay Task
  • Delays a certain amount of time every time a
    button is pressed
  • Priority 5
  • Execution period 50us
  • Execution sporadic
  • Worse case 50ms

6
IR Key in Task
  • Processes a valid IR input
  • Priority 6
  • Execution time 50us
  • Execution period sporadic
  • Worse case 50ms

7
Key Task
  • Reads the manual input buttons
  • Priority 7
  • Execution time 15us
  • Execution period 8ms

8
Key Data Task
  • Validates the IR signal
  • Priority 8
  • Task execution time 50us
  • Tast execution period sporadic
  • Worse case 50ms

9
Key In Task
  • Receives the manual inputs and executes the
    appropriate actions
  • Priority 9
  • Task execution time 50us
  • Task execution period sporadic
  • Worse case 50ms

10
LED Display Task
  • Displays appropriate LED display value
  • Priority 10
  • Task execution time 25us
  • Task execution period 5ms

11
Time Update Task
  • Updates the current time
  • Priority 11
  • Task execution time 30us
  • Task execution period 1s

12
Power Off ISR
  • Turns the power off when the sleep time is
    reached

13
Zero Cross ISR
  • Input capture ISR
  • Sets the value of the output compare value

14
RC5 Receive ISR
  • Input capture ISR
  • Validates and stores a valid IR data packet and
    signals the IR key in task to process the data

15
Estimated Cpu Load
  • LCpu 6

16
Modules
17
Modules Continued
Write a Comment
User Comments (0)
About PowerShow.com