Home     Contact     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Tech-BLOG     RSS     Terms of services     Privacy policy  
 Home     Contact     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Tech-News     RSS   

PCB Fabrication
1 January 2010
Author: Giorgos Lazaridis
Voltage Controlled AC Light Dimmer

IMPORTANT
DANGER OF ELECTRIC SHOCK!
Read this before taking any further action!!!
Precautions to avoid electric shock


The circuit on the testing bench, assembled on a breadboard

A friend of mine asked me for this circuit. He plans to make an automations with PLC in his house, and he wants to have a couple of dimmers for his lights. The challenge was to control those dimmers with an analog PLC output. He asked me for a simple - microcontroller free circuit to do the job.



The control signal

The circuit is designed to work from an analog output of a PLC. Here you can see the Mitsunishi ALPHA with an I/O emulator connected to the circuit

The first thing that comes to someone's mind when thinks of a dimmer, is a potentiometer that controls the light intensity. If a potentiometer is used, things can be very easy. Tons of different circuits can be found around the net. Others are very precise, others are not so stable. But the control of this dimmer is a DC voltage level.

The specific PLC that he will use has 4 analog outputs. Each output can be programmed to deliver any voltage between 0 and 10 VDC, with 0.01 voltage step. He plans to have a mimic program with 4 slide bars or buttons displayed on a touch screen connected to this PLC, and control the lights from there.

The first thing that came to my mind was a comparator circuit. I would have the mains power through a transformer transformed to 9VAC, and then full rectify this signal. Then, using a comparator, i would compare this signal with the control signal from the PLC. Whenever the 9V signal was higher than the control signal, the output of the comparator would go high and it would drive the gate of the TRIAC (through an optocoupler of-course). Although this sounds a good idea, it is actually completely false approach. Look what will happen:




The control voltage is minimum

The control voltage is maximum


When the control signal is minimum, the comparator's output will send the trigger pulse to the TRIAC's gate at the very beginning of the waveform. This will send full power to the light. As the control voltage is increased, the trigger will delay more and more and the light will gradually dim. Until here everything looks normal. But when the control voltage is at maximum, the trigger pulse can only be located at the middle of the waveform, as is shown on the right image above! The triggering pulse will never delay more than half a semi-period. This means that the light will never dim less than half of the power. The triggering circuit needs to be completely different!




A more advanced triggering idea

The 555 will generate a pulse, with a delay. This delay will start count from the time a zero-cross detection pulse is occurred, and the delay time is set from the DC voltage level applied on pin 5 of the 555.

I have a really good zero-cross detection circuit posted in the dimmer theory page. This circuit will generate a clean rectangular positive pulse whenever the waveform crosses the zero-point. The only thing i had to find out, was how to make a delay-ON circuit that would start counting from this pulse. Moreover, this delay circuit had to be controlled from a DC voltage level.

To tell you the truth, the on-delay circuit was not very hard for me to find one. Actually, my mind went directly to the 555 timer connected as monostable circuit. The trigger input of the 555 (pin 2) would be connected to an inverted output of the zero cross detection circuit. A properly selected RC net would create a fixed delay.

And right here comes another challenge. The delay of the 555 must be variable and controlled with a DCV signal. The 555 timer is not the most common and most used chip ever just by luck. If you look at the 555 theory page, there is the internal diagram of the chip. You will notice that the upper comparator has it's reverse-input pin coupled with a chip-pin, and this pin is the pin number 5. Actually, the pin's name is pretty much self-explanatory. It is named "Control Voltage". If you apply voltage to this pin, then the voltage level of the reverse-input of the upper comparator, and the level of the non-reverse-input of the lower comparator is affected. When the 555 is connected as monostable multivibrator, the upper comparator will monitor the capacitor's voltage. By changing it's reverse-input voltage level, this affects on the delay of the timer!

In other simple words, the input voltage is coupled (through a limiting resistor) directly to the pin 5 of the 555 timer. The higher the voltage, the more the delay from the 555.




The Circuit

The circuit is as follows:





The mains AC voltages is transformed to 9VAC through the transformer. the signal is rectified with a full-wave bridge rectifier. Immediately after the rectifier, the signal is driven to the zero-cross detection circuit. A large capacitor (C1) is used to smooth a part of the rectifier's output power. This will be used as the power supply of the rest of the circuit. The diode D1 is very important. Without this diode, the signal that is drivern to the zero-cross detection would be smoothed as well, and the zero-cross detection would be impossible.

The output of the zero-cross detection is directly sent to the trigger input of the 555 timer. The control voltage is driven to teh input 5 of the 555 timer. The rheostat R9 is used to control the maximum delay of the 555 timer, so that with maximum control voltage, it will NOT exceed the length of a semi-period, otherwise the light will be turned into a crazy-disco-light. A reader [PUNiSH3R] posted a comment (bellow) regarding this component. When i designed this circuit, i had it on a breadboard for test, and i had a bit potentiometer and an oscilloscope, so i could adjust the circuit easier. But as PUNiSH3R suggested, better use a multi-turn potentiometer with higher precision.

The output is then inverted with the transistor T3 and the signal is driven to the P gate of the optocoupler. the optocoupler is used to have complete galvanic isolation between the control circuit and the power circuit. The power circuit uses a BT136 TRIAC to control the load. This TRIAC is capable of driving a 4 amperes load at 600 volts. Feel free to use a more powerful TRIAC.




A Test-Run

As always, the circuit is tested in the PCB Heaven techlabs. We present you a series of images from the circuit in operation. Notice the intensity of the 600 Watt lamp, and the oscilloscope's screen. The green waveform is the output of the bridge rectifier. The blue pulses comes directly from the output of the zero-cross detection circuit. These pulses are driven to the trigger pin of the 555. Finally, the yellow line is the triggering pulse generated from the 555 timer:









For this demonstration, the control voltage was generated from a 5K potentiometer. Actually, any kind of DC voltage level generator can be used to control this circuit. It could come from an LDR voltage divider, from a potentiometer, from a PLC etc etc etc.

This video demonstrates the circuit in operation. The control DC voltage is generated with a 5K potentiometer. The whole operation looks like a normal dimmer:





The following video demonstrates this circuit, interfaced to the Mitsubishi ALPHA PLC. The up/down control is currently made with toggle switches:








Bill Of Materials
Resistors
R1Resistor 10 KOhm 1/4 Watt 5% Carbon Film 
R2Resistor 1 KOhm 1/4 Watt 5% Carbon Film 
R3Resistor 4.7 KOhm 1/4 Watt 5% Carbon Film 
R4Resistor 100 KOhm 1/4 Watt 5% Carbon Film 
R5Resistor 10 KOhm 1/4 Watt 5% Carbon Film 
R6Resistor 1 KOhm 1/4 Watt 5% Carbon Film 
R7Resistor 4.7 KOhm 1/4 Watt 5% Carbon Film 
R8Resistor 1 KOhm 1/4 Watt 5% Carbon Film 
R9100 KOhm Linear multiturn precision potentiometer
R10Resistor 1.5 KOhm 1/4 Watt 5% Carbon Film 
R11Resistor 1 KOhm 1/4 Watt 5% Carbon Film 
R12Resistor 1 KOhm 1/4 Watt 5% Carbon Film 
R13Resistor 1 KOhm 1/4 Watt 5% Carbon Film 
Capacitors
C11000 uF 16V Electrolytic Capacitor
C20.1 nF Ceramic Capacitor
C31 uF 16V Electrolytic Capacitor
Diodes
D11N4001 General Purpose Diode Rectifier 
B12W10M Single Phase 2 Amps Silicon Bridge Rectifier 
Transistors - TRIACs
T1-3BC548 Switching and Applications NPN Epitaxial Transistor 
T4BT136D Sensitive gate TRIAC 
ICs
IC1555 Timer 
OK1MOC3021 Random Phase Optoisolator TRIAC Driver Output 




Relative pages
  • 555 timer basic circuits
  • 555 theory of operation
  • The TRIAC theory
  • Learn how dimmers work
  • The SCR (Silicon Control Rectifiers) theory
  • How to make an Ambient Light Level Equalizer
  • How to make a light / dark activated switch - 3 different circuits under the microscope
  • Dr.Calculus: 555 Monostable calculator
  • Opto-isolator IC Pinouts
  • The voltage divider theory
  • Dome light off-delay circuit
  • A PIC DCV controlled AC Light dimmer
  • Learning PICs @ PCB Heaven On-Line Book




  •  Rate this article!


    Comments

  • At 12 January 2012, 0:59:28 user Kammenos wrote:   [reply @ Kammenos]
    • @herctrap theoretically yes (i bet you've done the calculations already, the values you proposed are not random)


  • At 12 January 2012, 0:03:42 user herctrap wrote:   [reply @ herctrap]
    • can we change C3 with a 10uF
      and the pot to 10K

      is it gone work?


  • At 11 January 2012, 6:41:50 user Kammenos wrote:   [reply @ Kammenos]
    • @Joseph that's right, i used pin 5 to avoid using a secondary one-shot 555. For the test i used a potentiometer as a voltage level, but i also used the analog output of a Mitsubishi Alpha PLC. You can interface other voltage sources as well.


  • At 11 January 2012, 6:26:24 user Joseph wrote:   [reply @ Joseph]
    • @ Kammenos

      Now I got it, you controlling both times.ON delay & the ON time.So you need to use the pin5 as well.From your pictures looks like you have connected a potentiometer to that pin.Pots side pins to Vdd & Vss & center pin to pin5.


  • At 9 January 2012, 15:28:40 user Kammenos wrote:   [reply @ Kammenos]
    • @Joseph i am not sure if this will work. The point is that you need to control both the ON-delay and the ON time. That is why i used pin 5


  • At 7 January 2012, 20:38:08 user Joseph wrote:   [reply @ Joseph]
    • @ Kammenos

      Cant you ground the pin 5 (control voltage pin) via a 0.01uF capacitor & make the maximum monostable delay 10mS? So anybody can dimm the lamps by adjusting the potentiometer.

      most of the guys messed up with the pin5 control voltage & where to connect it!!


  • At 2 January 2012, 12:51:24 user Kammenos wrote:   [reply @ Kammenos]
    • @herctrap no that cannot be done. T3 is an inverter amplifier. It is not to amplify, rather to invert the signal from pin 3


  • At 27 December 2011, 12:24:12 user herctrap wrote:   [reply @ herctrap]
    • can we remove T3 by simply connecting the 555 pin 3 to moc3021 pin2 through a resistor???


  • At 13 December 2011, 17:04:51 user Tony M wrote:   [reply @ Tony M]
    • Hi
      I have sorted it . I changed the pins on the Triac for the sensor resistor and all ok. Thanks


  • At 13 December 2011, 16:21:38 user Tony M` wrote:   [reply @ Tony M`]
    • Hi
      I have built the circuit and I have a variable pulse width at pin 2 of the MOC3023. The voltage also vairies the pulse width so all looking good except no ilumination of the lamp at all. It all checks out as far as wiring . I have replaced the opto isolator but no change. Any suggestions? The Triac was o in another circuit I built it is a BTA20. Many thanks for you time.


  • At 8 November 2011, 13:06:09 user Alex wrote:   [reply @ Alex]
    • http://pcbheaven.com/forum/index.php/topic,1413.0.html

      This is the link for the forum. I've uploaded simulation in LTSpice.

      @Kammenos: I don't know what outputs the LDR, the single thing that i know is the resistence that changes with the light.


  • At 8 November 2011, 3:26:22 user Kammenos wrote:   [reply @ Kammenos]
    • @Alex what is the LDR output? Voltage or current? You may wanna use the forum (http://www.pcbheaven.com/forum/) to post some images or details for your project


  • At 8 November 2011, 3:24:51 user Kammenos wrote:   [reply @ Kammenos]
    • @Suresh you can connect the triac on a small pre-drilled PCB. The rest of the circuit requires only a tiny amount of current. If you see my pictures, during tests, i ha a big (i think 600W) lamp connected and all parts including the triac were on the breadboard without any problem. But i cannot share a suggestion for this.


  • At 7 November 2011, 19:36:10 user Alex wrote:   [reply @ Alex]
    • I'm trying to adapt your circuit to make a device that will feed my lamp. I have a laser diode that will light a LDR. The LDR will trigger a fade in fade out circuit.

      The problem is when i have to modify the Control Voltage in order to light my lamp in a fade-in effect. This is where i got stuck and i really don't know what to do.

      I'm simulating your circuit with LTSpice and Multisim and the results are different (especially when modifying the potentiometers). I would really appreciate if you'll give me some ideas about this circuit.

      Thanks!


  • At 7 November 2011, 8:13:23 user Suresh wrote:   [reply @ Suresh]
    • Hi,

      We are using a normal breadboard for this circuit. In this link http://en.wikipedia.org/wiki/Breadboard , it is given that specification of breadboard is 5Watts. Is it safe to use a breadboard for this experiment as it operates at 600Watts? Thanks in advance.


  • At 12 October 2011, 13:03:24 user Kammenos wrote:   [reply @ Kammenos]
    • @Beerman no this cannot be used for inductive loads. Read the MOC3021 datasheet to find out how you can control fans.


  • At 11 October 2011, 15:56:31 user Beerman wrote:   [reply @ Beerman]
    • Hi there, this looks like a great circuit to have digital control over lighting. However can this same circuit control a 220v 25w fan motor?
      If not directly can you please suggest a modification to do just that. I'm trying to control the speed of an AC vetilation fan.

      Thanks in advance for your suggestions


  • At 8 April 2011, 3:56:58 user Kammenos wrote:   [reply @ Kammenos]
    • @kaypee which potentiometer?The LDR (one only) must be combined with a resistor, make a voltage divider, the output of which must go to Control Voltage Input. Otherwise, funny things will happen.


  • At 8 April 2011, 3:40:27 user kaypee wrote:   [reply @ kaypee]
    • Kammenos, I tried the basic circuit with using directly the 220v supply and Triac(a simple fan regulator circuit). I placed 3LDRs in series with potentiometer.But its doing the wrong work. Actually,when light is falling on it , it is making the bulb go brighter.How can I invert the effect?


  • At 2 April 2011, 4:54:22 user Kammenos wrote:   [reply @ Kammenos]
    • @kaypee if you remove the transistors it will not work. The circuit cannot be simplified, unless you find another method to do the zero-cross detection, and replace all the part from R1 to R7.


  • At 1 April 2011, 6:39:38 user kaypee wrote:   [reply @ kaypee]
    • If I remove the 2 transistors before the 555 will the circuit work.As they are just doing amplification work??Can you simplify the circuit a liitle more??/


  • At 31 March 2011, 16:01:07 user Kammenos wrote:   [reply @ Kammenos]
    • @kaypee a you mean the middle terminal and one of its side... yes, sure. they must be connected together. What do you want to know about control voltage input? It is a DC voltage from 0 to VCC. It is the voltage that controls the dimming.
      First you need to see if pulses arrive at pin 2 of 555. Then you need to see if pulses arrive at base of T3, and then if pulses arrive at pin 1 of OK1. If pulses arrive at all these points, then you can go on and check the triac.


  • At 31 March 2011, 14:10:57 user kaypee wrote:   [reply @ kaypee]
    • Then what that symbol means???That how R9 POTENTIOMETER is to be connected and also tell me about the control voltage input.I used multimeter and found out that there was no current going after Triac.


  • At 31 March 2011, 9:01:54 user Kammenos wrote:   [reply @ Kammenos]
    • @kaypee no


  • At 31 March 2011, 8:56:09 user kaypee wrote:   [reply @ kaypee]
    • The potentiometer R9 its 2nd and 3rd terminal is to be shorted.??


  • At 31 March 2011, 8:13:17 user Kammenos wrote:   [reply @ Kammenos]
    • @kaypee if you mean the L and N connectors on right side, yes, they come from 220AC


  • At 31 March 2011, 2:11:44 user kaypee wrote:   [reply @ kaypee]
    • The Live and Neutral wire are from the 220v ac supply?


  • At 30 March 2011, 12:29:11 user kaypee wrote:   [reply @ kaypee]
    • I hadn't used diode D1 and capacitor C1. I just had given a separate Vcc through a 9v battery.Could this be the reason. To what value the fixed potentiometer is to be fixed.I had used a filament Bulb as source.
      I will mail the video of the circuit.


  • At 30 March 2011, 12:17:17 user Kammenos wrote:   [reply @ Kammenos]
    • @kaypee sorry, i do not know. i have no idea what you have done.


  • At 30 March 2011, 11:59:05 user kaypee wrote:   [reply @ kaypee]
    • Kammenos, I tried your circuit by giving Vcc through a 9V battery. But the bulb was not glowing.Please help me.I tried for the manual dimming using a 10k Potentiometer.I had used 4 diodes as rectifier. Every IC was placed correctly.Please help me what could be the possible reasons of failure.


  • At 29 March 2011, 13:15:52 user Kammenos wrote:   [reply @ Kammenos]
    • @kaypee yes it will work as well


  • At 29 March 2011, 12:21:07 user kaypee wrote:   [reply @ kaypee]
    • Can I do one thing. I will give the input for zero cross detection after bridge rectifier and could give the Vcc separately through a DC source 9V.
      It will also work I suppose.


  • At 29 March 2011, 9:09:40 user Kammenos wrote:   [reply @ Kammenos]
    • @Kaypee you had the capacitor connected with wrong polarity


  • At 29 March 2011, 5:22:50 user Kaypee wrote:   [reply @ Kaypee]
    • I tried the circuit in my electronics lab using a 220to 9v (0.5ampere)transformer. And what happened is the capacitor C1 BLOWN away.
      What could be the possible reasons.?
      And also I m using BC558 IN T3 as I am running short of BC548 is there any problem in that?


  • At 28 March 2011, 7:05:12 user Kammenos wrote:   [reply @ Kammenos]
    • @Kaypee any other incandescent lamp


  • At 28 March 2011, 2:08:37 user Kaypee wrote:   [reply @ Kaypee]
    • The light source u have used is a 600watt halogen lamp,What r other sources of light we can use?


  • At 26 March 2011, 10:06:45 user alibay58 wrote:   [reply @ alibay58]
    • Hi everyone.. I have setup this circuit in the multism and I could not work it some basic problems I think. first where the connction between two sides of the lamb and where i should connetc the control voltage on the timer. most of the important although I changed the value of potentiometer value the output power on the lamb did not change.. Can anybody help me this situation, please?


  • At 24 March 2011, 12:35:11 user Kammenos wrote:   [reply @ Kammenos]
    • @kaypee
      http://pcbheaven.com/wikipages/Dimmer_Theory/


  • At 24 March 2011, 12:14:17 user kaypee wrote:   [reply @ kaypee]
    • What is zero cross detection?


  • At 23 March 2011, 17:36:01 user Kammenos wrote:   [reply @ Kammenos]
    • @kaypee i do not use a voltage regulator either. And no, you cannot use a simple adapter as you need the AC for zero cross detection. The 100K potentiometer may be changed only if you know which value to use. You can add testing resistor in series and find out. eg: use a 10K potentiometer with series 10K or 22K or 48K resistor.


  • At 23 March 2011, 12:52:07 user Kaypee wrote:   [reply @ Kaypee]
    • and can I use a siple adapter instead of using TRANSFORMER AND RECTIFIER.
      and is there any need of using 100kohm Potentiometer?Can\'t we use a smaller rating potentiometer?


  • At 23 March 2011, 10:50:25 user kaypee wrote:   [reply @ kaypee]
    • If I doesn't use Voltage Regulator, then is there any problem.Actually its not available here.


  • At 22 March 2011, 6:51:05 user Kaypee wrote:   [reply @ Kaypee]
    • Exactly, thats what I want to make. An automatic light regulation according to the intensity of Sun's Light falling in a room.
      Thanks a lot Kammenos, I will try this and let you know of its success.


  • At 22 March 2011, 4:58:30 user Kammenos wrote:   [reply @ Kammenos]
    • @Kaypee now i understand what you want. Do not replace R9 with an LDR at all. What you need to do, is to make a voltage divider with the LDR and another potentiometer, and then drive the output voltage to input "Control Voltage Input" marked in the schematic. This is the correct way to do it.
      Regarding the voltage divider, look at thic circuit:
      http://pcbheaven.com/circuitpages/PIC_DCV_Controlled_AC_Dimmer/

      There are 2 potentiometers, R3 and R7. You will replace R7 with your LDR, and then you will drive the output of R3 to the input of your circuit. This will make a variable DC voltage according to the light brightness on the LDR, and finally it will control the dimmer brightness. Your potentiometer R3 can be 10K potentiometer and the LDR can be for example a 1-100K LDR or any other. No problem.


  • At 21 March 2011, 15:52:42 user Kaypee wrote:   [reply @ Kaypee]
    • If I want to just demonstrate that light is getting dimmed and brightened and don't take into consideration by which amount. Then can you suggest me which LDR and which trimmer should I use.Actually I have taken a project and just want to demonstrate it so please help me in completing the project.Thank you.


  • At 20 March 2011, 3:51:38 user Kammenos wrote:   [reply @ Kammenos]
    • jwaz66 check the MOC datasheet to find the correct set up for 120V


  • At 19 March 2011, 20:45:37 user jwaz66 wrote:   [reply @ jwaz66]
    • If the mains voltage is 120vac should the R12 resistor value be changed?


  • At 19 March 2011, 16:31:28 user Kammenos wrote:   [reply @ Kammenos]
    • what ldr you will use (resistance) and what dimming you want to achieve


  • At 19 March 2011, 8:26:25 user Kaypee wrote:   [reply @ Kaypee]
    • Can you explain what the tests are meant about.Tell me the range of the trimmer that I have to use?


  • At 18 March 2011, 14:45:32 user Kammenos wrote:   [reply @ Kammenos]
    • Kaypee yes you can, but you need to run many tests to make it work. Do not forget to add a trimmer parallel to the LDR to compensate the resistance.


  • At 18 March 2011, 8:18:58 user Kaypee wrote:   [reply @ Kaypee]
    • Kammenos, if I want it to be automatic, can I replace R9 with an LIGHT DEPENDENT RESISTOR?


  • At 2 March 2011, 15:30:35 user Kammenos wrote:   [reply @ Kammenos]
    • dbyrne, you can use your transformer as long as it provides enough voltage (6 volts and above). The bridge rectifier has to be full wave rectifier. Regarding the on-off that you mention, i do not really understand what you mean.


  • At 2 March 2011, 15:17:57 user dbyrne wrote:   [reply @ dbyrne]
    • Hey. This is exactly the circuit I require for a project I am doing, the LDR will determine the voltage control. Can this circuit be simplified, as i have my own transformer and brige ect already built. Will this circuit prevent the lights from continously switching on and off. I am using a PIR so when movemnent is detected only then will the lights turn on, but they wil only turn on by being controlled by the LDR.


  • At 12 February 2011, 16:25:01 user Kammenos wrote:   [reply @ Kammenos]
    • PUNiSH3R, i had not though of that, because i did the setting with the help of my oscilloscope, and also i had a large potentiometer, which i could easier set to a position, rather than trying to set a small trimmer with the screwdriver. Thanks for noticing. I added this in the documentation above as well.


  • At 12 February 2011, 16:11:53 user PUNiSH3R wrote:   [reply @ PUNiSH3R]
    • Kammenos,

      Thanks for the circuit and great description. I built it in an afternoon and it operates perfectly with a Teccor Q6008L5 Triac (which is a BT137 equivalent). I am using it with another one of your projects, the acrylic bender, which I am currently completing.

      If I may make a suggestion to other builders: try and use a multiturn linear potentiometer for R9. It's not impossible to tune the circuit with a standard trimmer, but a 10- or 15-turn will make it noticeably easier to hit the sweet spot where the lamp stops flickering across the entire control range.

      Thanks again for the circuit, the project and the website!


  • At 7 February 2011, 22:11:28 user Manuel wrote:   [reply @ Manuel]
    • Thanks Kammenos.

      I've just built your circuit and I tried to dim both, fluorescent lamp and a bulb lamp, as you mentioned, CFL did not work, on the contrary bulb lamp lighted up.

      Thanks a lot and nice work.


  • At 7 February 2011, 0:59:03 user Kammenos wrote:   [reply @ Kammenos]
    • Hi Manuel. This do not work with fluorescent tubes. They need special "electronic" ballasts to dim.


  • At 7 February 2011, 0:28:54 user Manuel wrote:   [reply @ Manuel]
    • Does this work with Fluorescent light???

      Thank you in advance.

      Saludos


  • At 19 April 2010, 18:04:31 user jared wrote:   [reply @ jared]
    • Would you be able to make this circuit using a micro-controller for us to look at?

      Reason I ask is there is a lot of lighting controllers out there that output 0-10vdc for the control but nothing really to describe how to convert that over to PWM for use with a HB LED driver to dim them.


  • At 4 February 2010, 10:39:52 user Kammenos wrote:   [reply @ Kammenos]
    • I would really like to see the circuit you describe and host it in my circuit pages. It is very interesting.
      I made this circuit about a month ago in a hurry, and worked fine. I told you that from the PLC i used 5 to 10VDC. If i wanted to have 0-10 from the PLC, then YES, i need buffering. I do not remember having ANY trouble adjusting the circuit at all. I am waiting some components and i will make a project with a 4-channel dimmer, that will be this exact circuit multiplied by 4. You need to follow a specific procedure to adjust it,NOT difficult at all, but specific. Unfortunately, i did not post this procedure on the first time, stupid of me. If i am remember correct though, you set the MAX DC voltage input, and then using the R9 you go to the point that you have max luminosity and no flickering. That's all. With the PLC for example, i set it to 10 VDC and then adjusted R9 to have steady max light. Then, reducing the PLC voltage, i found out that from 5 volts and bellow i had no luminosity.


  • At 4 February 2010, 10:12:02 user arturos wrote:   [reply @ arturos]
    • I have eventually given up on this circuit. The control circuitry feeding R13 needs buffering due to the input configuration of the 555, and setting up via R9 over the range of control voltages proved impossible.
      A much simpler and stable circuit is to use the zero-crossing detect circuit to control a one-transistor sawtooth generator (of twice mains frequency). This and the d.c. control voltage are applied to the inputs of an op-amp, whose output is fed to the buffer of the opto-triac.
      Whichever circuit is used, a snubber network (100 ohm resistor in series with 100nF capacitor) connected across MT1 and MT2 of the triac will prevent rate-effect mis-firing.


  • At 4 February 2010, 10:09:56 user arturos wrote:   [reply @ arturos]
    • I have eventually given up on this circuit. The control circuitry feeding R13 needs buffering due to the input configuration of the 555, and setting up via R9 over the range of control voltages proved impossible.
      A much simpler and stable circuit is to use the zero-crossing detect circuit to control a one-transistor sawtooth generator (of twice mains frequency). This and the d.c. control voltage are applied to the inputs of an op-amp, whose output is fed to the buffer of the opto-triac.
      Whichever circuit is used, a snubber network (100 ohm resistor in series with 100nF capacitor) connected across MT1 and MT2 of the triac will prevent rate-effect mis-firing.


  • At 24 January 2010, 13:13:10 user Kammenos wrote:   [reply @ Kammenos]
    • You are right about the control voltage. The min and max levels have nothing to do with VCC. I test it with 5-10vdc from a PLC output, and 0 to 12V with a potentiometer. R9 was correctly adjusted! With R9 you set the max level. Beyond this, the delay of the 555 is longer than the semi-period of the ACV and funny things may happen.

      R8 is 1KOhm and usually should not be changed. Changing R8 will not hurt anyone though. R9 may indeed need to be changed for the ease of adjustments. It has to do mainly with the control voltage level.

      Did you enjoy the circuit anyway?


  • At 24 January 2010, 12:47:27 user arturos wrote:   [reply @ arturos]
    • To set up the circuit, I set R9 to minimum value, with the control voltage at maximum (which might not necessarily be equal to Vcc). I then increased R9 for maximum stable pulse-width. Beyond this point the waveform \"flipped\" to a regular 1:1 m/s ratio pulse-train.
      In my hook-up, for some reason, I needed a value for R8+R9 of only 3.5kΩ so I used R8=2.7kΩ and R9=1kΩ.


     

      Name

      Email (shall not be published)

      Website

    Notify me of new posts via email


    Write your comments below:

          






    delicious
    digg
    reddit this Reddit this
    Faves

    Search PCB Heaven


     HOT in heaven!



    PCB Heaven chirps on Follow me on Twitter

    TAGS cloud

    AC Light Controller  Light  Dimmer  Electronic Circuit 



    NEW in heaven!



    New Calculus: Common Base transistor amplifier - Design Calculator

    Random Circuits!
     PC Fan RPM Bargraph Meter and Failure Alarm with PIC
     A 555 Breathing (Pulsing) LED



     Home     Contact     Forum     Projects     Experiments     Circuits     Theory     BLOG     PIC Tutorials     Tech-News     RSS   

    Site design: Giorgos Lazaridis
    © Copyright 2008
    Please read the Terms of services and the Privacy policy