- Timer
A timer is a specialized type of
clock . A timer can be used to control the sequence of an event or process. Whereas astopwatch counts upwards from zero for measuring elapsed time, atimer counts down from a specified time interval, like asand clock .Timers can be mechanical,
electromechanical ,digital , or evensoftware , since mostcomputer s include digital timers of one kind or another.Mechanical Timers
Early mechanical timers used typical
clockwork mechanisms, such as anescapement and spring to regulate their speed. Inaccurate, cheap mechanisms use a flat beater that spins againstair resistance . Mechanical egg-timers are usually of this type.More accurate mechanisms resemble small alarm clocks. The chief advantage is that they require little battery/electrical power, and can be stored for long periods of time. The most widely-known application is to control explosives.
Electromechanical timers
Electromechanical timers have two types. A thermal type has a metal finger made of two metals with different rates of
thermal expansion (steel andbronze are common). Anelectric current flows through this finger, and heats it. One side expands less than the other, and an electrical contact on the end of the finger moves away from an electrical switch contact, or makes a contact (both types exist). The most common use of this type is now in the "flasher" units that flashturn signal s inautomobile s, or sometimes inChristmas lights .Another type of electromechanical timer (a
cam timer ) uses a small synchronous AC motor turning acam against a comb ofswitch contacts. The AC motor is turned at an accurate rate by the alternating current, which power companies carefully regulate.Gear s slow this motor down to the desired rate, and turn the cam. The most common application of this timer now is in washers, driers anddishwasher s. This type of timer often has a friction clutch between the gear train and the cam, so that the cam can be turned to reset the time.Electromechanical timers survive in these applications because mechanical switch contacts are still less expensive than the semiconductor devices needed to control powerful lights, motors and heaters.
In the past these electromechanical timers were often combined with electrical
relay s to create electro-mechanical controllers. Electromechanical timers reached a high state of development in the 1950s and 60s because of their extensive use in aerospace and weapons systems. Programmable electromechanical timers controlled launch sequence events in earlyrocket s and ballisticmissile s.Digital Timers
Digital timers can achieve higher precision than mechanical timers because they are
quartz clock s with special electronics.Integrated circuit s have madedigital logic so inexpensive that an electronic digital timer is now less expensive than many mechanical and electromechanical timers. Individual timers are implemented as a simple single-chip computer system, similar to awatch . Watch technology is used in these devices.However, most timers are now implemented in software. Modern controllers use a
programmable logic controller rather than a box full of electromechanical parts. The logic is usually designed as if it were relays, using a special computer language calledladder logic . In PLCs, timers are usually simulated by the software built into the controller. Each timer is just an entry in a table maintained by the software.Digital timers can also be used in safety device such as a
Gas Timer .Computer timers
Most computer systems have one to sixteen electronic timers. These are usually just digital counters that are set to a number by software, and then count down to zero. When they reach zero, they
interrupt the computer.Another common form of timer is a number that is compared to a counter. This is somewhat harder to program, but can be used to measure events or control motors (using a class D digital
electronic amplifier to performpulse width modulation ).Embedded system s often use a hardware timer to implement a list of software timers. Basically, the hardware timer is set to expire at the time of the next software timer of a list of software timers. The hardware timer's interrupt software handles the house-keeping of notifying the rest of the software, finding the next software timer to expire, and resetting the hardware timer to the next software timer's expiration.Trivia
Timer software applications can be found in a number of modern items like
mobile phone s or digital watches.ee also
*
Intervalometer
*Time to digital converter External links
* [http://www.speedbagforum.com/timer Interval Timer for Fitness]
* [http://www.ebentools.com/ebentools/onlinetimer/ Online Stopwatch Timer from eben tools]
* [http://www.easysurf.cc:80/stimer.htm Stopwatch Timer]
* [http://www.eventhelix.com/RealtimeMantra/Patterns/TimerManagementDesignPatterns.htm Timer Management in Embedded Systems]
Wikimedia Foundation. 2010.