60 likes | 248 Views
Fan Control. Nick Sitarski Vladi Gergov ECE 473 Winter 2003 Professor Shaout University Of Michigan-Dearborn. Objectives. Create A RTOS Increase Fan Speed As Temperature Increases Have Three Threads A/D Conversion Print Temperature Check To Make Sure Temperature Is Not To High
E N D
Fan Control Nick Sitarski Vladi Gergov ECE 473 Winter 2003 Professor Shaout University Of Michigan-Dearborn
Objectives • Create A RTOS • Increase Fan Speed As Temperature Increases • Have Three Threads • A/D Conversion • Print Temperature • Check To Make Sure Temperature Is Not To High • Create Our Own Scheduler
Dynamic Time Slicing • 20,000 Cycles In One Complete Cycle • Starting • 10,000 Cycles For On-Time • 10,000 Cycles For Off-Time • As Temperature Increases On-Time Goes Up And Off-Time Goes Down • On-Time = (256-A/D)*30+10,000 • Off-Time = 20,000 – On-Time
Conclusion • All Objectives Met • Scheduler Worked Properly • Threads Worked • Temperature Within 1 Degree C Of Actual • Questions?