Relay as we know is an electromagnetic component. They control by applying current to the coil ends of the relays. This power can be Ac or Dc. That is relays can be operated by Alternating Current (Ac) or Direct Current (Dc). The voltages can be 5,6,12 or 24 and 110 as far as Dc is implicated while it can be operated straight through Ac voltages also. Ac voltages can be 6,12,24,48,110 & 230 Volts.
Ac operated relays are used where high power is to be controlled while Dc operated relays are used where relatively low power is to be controlled. They are ordinarily bulkier then their Dc counterpart. Due to low efficiency of the coil used in Ac relays, it is usual to heat up the coil more than Dc operated relays.
Basic Microcontroller Tutorial
These Ac relays have to be operated above their minimum pickup voltage otherwise humming occurs which is very annoying. Care has to be taken to assert voltage level if more relays are to be operated at a time. This is because of coil's inherent asset of enthralling more current ( called inrush current) at the time of starting. Though this stabilizes once relay is on.
Ac relay are ordinarily controlled straight through mechanical switches or are controlled straight through small Dc relays. That is, only the Ac power applied to coil is controlled straight through smaller Dc relays. So the scenario becomes like this. An electronic circuit controls a small Dc relay. This Dc relay switches on & off the small Ac power required for the coil of Ac powered bigger relay & this Ac relay in turn controls very high power.
Dc powered relay is operated by supplying Dc current to the coil. These current & voltages are relatively smaller than Ac powered relays. Their size is also smaller as they consume less power. Dc relays are used mostly in instruments & gadgets having small sizes. Here also the power applied to the relay has to be above minimum operating value, otherwise chattering occurs. This affects operating of the instruments. To reduce chattering near minimum operating value, a small capacitor is related adjacent to coil. A diode is also located near to coil for removing back Emf ( ElectroMotive Force) generated while cutting off power to the coil. This prevents the driving transistor ( an electronic component which acts as an electronic switch to control the Dc relay) from destroying itself.
As referred above the Dc relays are operated by an electronic component called Transistor. This is a kind of electronic switch, which is in turn controlled by an electronic circuit. The circuit decides when to control the relay depending upon the defined criteria. The circuit gathers data straight through varied inputs & sensors and then agreeing to conditions & requirements controls relay or group of relays.
Relays - How They Work