Beruflich Dokumente
Kultur Dokumente
If the above systems are utilized, 10% of consumed energy will be saved. Professor Rashid, University of
West Florida, was one of the distinguished speakers in the AUS- power conference that was held in Nov,
2009 said “the annual USA power installation is 500 Billion US$. If we can save 10% by reducing the
OFF-power consumption, then we can save 50 Billion US$ per year.”
The bottom line is controlling and managing the energy consumption using the recent development in
embedded controllers and wireless communications such as Zigbee protocol and GPRS mobile networks.
1. Smart grids –a smart idea, Journal of renewable energy focus September/October 2009.
2. IEEE Transactions on Consumer Electronics, Vol. 55, No. 1, FEBRUARY 2009.
3. IEEE Transactions on Consumer Electronics, Vol. 54, No. 1, FEBRUARY 2008.
So Be Smart and be part of the Smart Grid
The system below was published in the IEEE Transaction on Consumer Electronics by Al-Ali and Al-
Rousan in 2004. The architecture is to control eight home appliances as show in the table below. The
appliances are connected to timers’ Port T0-T7, Port A and Port B of HCS12. The timers’ port is an input
port where the home owner can control his home appliances using manual switches. The home appliances
are interfaced via Port B through relays. Assume each appliance consumes 500 watts when it is ON and
when consume x watts when it is in standby mode (see table below for stand-by consumption):
1. Write a main program to turn ON the appliances using manual switches via non- interrupt timer
functions SW07- SW00. [ 25pts]
2. Interrupt Service Routines: While the main program is running, if any appliances are switched
OFF using one of the SWs [SW07-SW00], the corresponding timer will interrupt the main
program on the negative going edge of the switch and jump to the corresponding interrupt service
routine (ISR). [ 40 pts]
¾ Then check if consuming power is equivalent or less to the stand-by-power, you should
then turn OFF the corresponding appliance using the respective Port-B bit.
SW07 SW00
T07…...………….T00
HCS12
Microcontroller