Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/19/06 04:49
Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#120540 - Ac control
Responding to: ???'s previous message

The solution depends on what you want to achieve. If you only want to turn the lamp on and off, it is wise to use zero crossing control to limit interference - the circuit is switched when the voltage is zero (actually it is slightly greater) so you shouldn't have large changes in current - thus less interference. The actual control of the switching is done by the optocoupler so the microprocessor just needs to send a '1' or '0' to the optocoupler.


If you want to control the brightness of the lamp using phase control, then it is a little more complex. You need to detect the mains zero crossing, filter it and have it input to the microprocessor via an interrupt or timer capture. Various means can be used to determine the on time of the triac from this zero crosiing signal. The optocoupler in this instance needs to be a non zero crossing type. You will also need a choke (inductor) on the triac to limit the rate of change of the current to minimise interfernece.

List of 6 messages in thread
TopicAuthorDate
Controlling AC Devices            01/01/70 00:00      
   Ac control            01/01/70 00:00      
      Try these            01/01/70 00:00      
   Relay?            01/01/70 00:00      
   How to post Images?            01/01/70 00:00      
      This will tell you            01/01/70 00:00      

Back to Subject List