AC dimmer with PWM on Arduino

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 268

  • @nsummy
    @nsummy 2 роки тому +3

    I know this is an old video but I want to thank you. I am new to electronics and while I have built quite a few projects, it is often difficult for me to look at a schematic and understand what is happening. The terminology also can be confusing. I read an Instructable which gave a schematic and explained how to build one of these, but I was still confused. Your video slowly worked us through what is happening and why you added the components. Thanks!

  • @darrenmunday4064
    @darrenmunday4064 10 років тому +1

    Thankyou for showing the progression of the design and for talking!

  • @deanhunt5290
    @deanhunt5290 9 років тому +1

    Fantastic explanation, the simplicity is beautiful, I would have never thought just to rectify the output and negate the need for zero crossing detection and the use of costly interrupts. also the fact that you can dim to full zero.
    Nice work and Thank you for sharing.

  • @royerjeanluc5054
    @royerjeanluc5054 9 років тому +1

    Je vous remercie pour ce montage, simple et parfaitement actif.
    J'ai realisé une carte de 60x35mm sur 20mm de haut.
    Pour l'integration maximum, l' IGBT a etait monté en aerien horizontale au dessus d'autres composant ainsi que le condensateur de 100uf,car aucune chauffe des composants n'a etait détecté.
    Google Translate:
    Thank you for this assembly, simple and fully active.
    I realized a 60x35mm board 20mm high.
    For maximum integration, the IGBT was mounted in a horizontal aerial above other component and the 100uF capacitor as no heating component was not detected.

  • @sankar2596
    @sankar2596 10 років тому

    You are awesome. I have been trying so hard to figure out how to do this, without using a thyristor, or a zero crossing detector.

  • @oscarreyes4387
    @oscarreyes4387 8 років тому

    Thank you for the knowledge. We have already used the circuit and it works very good!!

  • @jabbergabber5190
    @jabbergabber5190 9 років тому

    Hi - Fantastic video. I made the circuit and it works apart from the fact the lamp flickers - it did - until I put the circuit onto stripboard - must have been a dodgy breadboard. Thanks for getting back and trying to help - circuit is flicker free and working a treat ! thanks again

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      Jabber Gabber Errr... I don't know. The flicker-free operation has always been a buty of this circuit. When does it flicker? Does it flicker just on the low brightness? Or all the scale?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      Just an additional question - where are you located? Do you have 230V/50Hz?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      +Jaroslav Hruškovič
      You say that it flickers at values analogWrite(11,50) - 50 and above it starts to calm down. As the transistor makes a negation, do I understand it correctly that the flicker occurs at full brightness, then continues when you start dimming and then it works ok for the whole range of brightness from dimmed to full dark? If this is the case, it may be related to the fact that capacitor discharges too fast and looses the voltage within one pwm cycle. Can you give me the values of the capacitor and two resistors that are discharging it? Also please specify the one which is short circuited by the transistor.

    • @jabbergabber5190
      @jabbergabber5190 9 років тому

      Jaroslav Hruškovič
      #
      Sorted - see edited comment - many thanks

  • @dinamicabicicletas
    @dinamicabicicletas 5 років тому +1

    Thank you for this design, it will be very usefull!

  • @MALIPIVA
    @MALIPIVA 8 років тому +1

    Thank you, I built it, it is great! How would look a concept for 2+ lights?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  8 років тому

      2+ lights would probably need a 2+ separate circuits, one for each light. The only shared resource might be the arduino which may control as many lamps as many PWM outputs it has.

  • @madhukeshnp
    @madhukeshnp 5 років тому

    Detailed explanation ... I am planning to make the same for a ceiling fan. Can I use this exact setup ?

  • @Mato0092
    @Mato0092 8 років тому

    krasne jednoduche a funkcne, dakujem, presne toto som potreboval :)

  • @perceptrongaming4290
    @perceptrongaming4290 4 роки тому

    great video sir,will this work for a ceiling fan?

  • @التكوينالمهني-ح7ن
    @التكوينالمهني-ح7ن 3 роки тому

    Thank you for the explanation and its ease

  • @asavinda1
    @asavinda1 8 років тому

    Hi. nice tutorial. Please, how can I find the pin diagram of the IGBT? Data sheet doesn't provide the pin arrangement

  • @vidalwei
    @vidalwei 2 роки тому

    Hello, do you have a list of the components? (serial number)

  • @RicardoATBarbosa
    @RicardoATBarbosa 9 років тому

    Amazingly well explained, thank you very much! I'm looking for an efficient way to dim a commercial LED light bulb (e.g., Philips 10 W), do you think this kind of modern light bulb can be dimmable varying its input voltage? I'm planning to buy a VARIAC to see if it really works... THUMBS UP!

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  8 років тому

      I doubt that would work. There is an unpredictable electronics inside. Try the commercial dimmer to see if it works. If so, chances are this circuit will do the trick too.

  • @emgab
    @emgab 8 років тому +5

    Excellent Explanation and Video - thanks for sharing !
    you are very talented on explaining things - cant wait to see your next video :)
    kind regards Mike

  • @sarrieri
    @sarrieri 10 років тому

    I like you project very much and I'm very interested in it so my question to you is do you have an updated version of your circuit ?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  10 років тому +1

      Hi, I currently upgraded the circuit for the 400W lamp. The wiring however, stays the same. I meanwhile tried another wiring but that I am not going to publish because it has serious disadvantages. In my case I burnt the transistor when the dutycycle reached 100% as there was a voltage dropping on the gate so low that the transistor was semi-open and thus had a enormous power dissipating. Currently, I am thinking of using two transistors wired complementary so that each handles one half of the sinewave.

  • @sundarpansam6718
    @sundarpansam6718 4 роки тому

    If connecting the resistor 10 Ko hm accross the emitter and collector of the IGBT then working well... Thank you boss

  • @alanmedina3118
    @alanmedina3118 7 років тому

    Hi! Very nice work, a question...this circuit works with 110VAC? an other what is the value for resistor in the arduino pin, thaks

  • @whdmurcoko
    @whdmurcoko 8 років тому

    Great project Mr. jaros. any quetion about your project, Can this project control motor ac 1 fasa by pwm arduino ?

  • @tinchofiuba
    @tinchofiuba 5 років тому

    Hello! I experimented with a circuit very similar and it worked very well! But I have a question why it works this way and not with SSR? Because I experimented with an SSR and what I observed was not uniform illumination. As erratic
    Thank you!

  • @cavalisi
    @cavalisi 9 років тому

    Thanks for the tutorial. Congratulations, really good.

  • @benhammoufatima-zahra9140
    @benhammoufatima-zahra9140 8 років тому +2

    hello ! First i want to thank you for the video .
    i just want to know what is the reference of the diode that you used for the bridge and also the other diode, then the value of the resistence related to arduino.
    i looking forward to have your answer soon, thank you.

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  7 років тому

      It has been quite a long time, now I don't remember the exact type. But just use any that withstands 400V reverse voltage and a current adequate to your load.

  • @toghrulkarimli9009
    @toghrulkarimli9009 8 років тому

    Thank you for this perfect explanation. I wonder whether this can work for long term or not?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  8 років тому +2

      Yes, I constructed it about the time I published the video and it still works. I made a fade-in lamp so that it wakes me up every morning

  • @raulalexandersantana2998
    @raulalexandersantana2998 7 років тому

    Hi!!! Jaroslav Hruškovič excellent explanation!!!! My question is: Can i put the bulb in one specific illumination for the time that i want. My question comes because in the video you have a infinity loop an the bulb is doing the loop and never stop in specific time. Thanks!!!

  • @denishraju
    @denishraju 8 років тому

    Hi Jaroslav, thanks for the video.
    I'm not sure if i am right, but if we try to drive a CFL or an LED Lamp, could the DC filter capacitor integral to the lamp act as a short due to the high switching frequency?

  • @danielghisleni
    @danielghisleni Рік тому

    Hi Jaroslav. What is the additional diode used for? It seems to be unnecessary, because the current is already rectified... Am I missing something?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  Рік тому +2

      Yes, the current is rectified but that doesn't mean that it is DC. It still oscillates so you need another diode to keep the capacitor charged all the time.

  • @shodanxx
    @shodanxx 8 років тому

    Is there a way to get rid of the diode bridge and still output AC ? Maybe with two mosfets ?
    What is the maximum reverse voltage that mosfet or igbt can endure ?

  • @eproxy812
    @eproxy812 8 років тому

    perfect, just what i searched for. i hope you'll figure out ways of making it more safe, as i would love to use this concept for a stage lighting project! thanks!

  • @T1iCanon
    @T1iCanon 7 років тому

    Thank ou very much , Im going to try this but need about 16A to manage , and Im going to combine it with Current measuring device to make it PID regulated with feedback.

  • @KakashiJatakeTaicho
    @KakashiJatakeTaicho 9 років тому

    hello, i need to control a submersible pump of 110V by an arduino, this circuit could help me? and i dont know what is the value of the resistence that conects the arduino with the optocoupler, thank you, if you could help me i will thank you so much

  • @Alejospopmusic
    @Alejospopmusic 4 роки тому

    could you give the list and characteristics of components of circuit?

  • @Remo-media
    @Remo-media 5 років тому

    I need to dim an LED tube with the input downsteped input of 120v 50hz... cant this be done flicker free?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  5 років тому

      From what you've described it may work flicker free. But keep in mind that the tube may have it's electronics built in, so it may respond unpredictably.

  • @cesaregf
    @cesaregf 9 років тому

    Hi Jaroslav, great work!!!
    I would like to control a blender's motor of 400W. With 127v instead of 220v.
    I already made the proper changes of resistor and capacitor. I'm using a irgp4063d and a 4n25.
    And I add a current sensor to control the AC motor through its current (for scholar purposes).
    I would like to use the IGBT for that, do you think it's possible?
    Thank you very much.

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      Hi, beware of what type of motor you have in the blender. If you use a similar circuit as I did, the output has a high DC bias, so make some research if your motor works at those conditions. Otherwise, the IGBT itself is ok, even better that you use 127V instead of 220V, that may be easier to find a proper IGBT.

  • @MARTINSCOTE
    @MARTINSCOTE 10 років тому

    Hello! Nice project !I wanted to adapt the circuit for an electric shower of 5500 w. what values of components I use this case to the circuit? A triac model BTA41-600 can replace the transistor in this case?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  10 років тому

      Hi, no, you cannot replace transistor with triac. It would just not work unless you change the code accordingly. And then it may involve a zero crossing detection an all those inconveniencies.

  • @mohamedsaied627
    @mohamedsaied627 9 років тому

    Hi Jaroslav, Thank you for the nice tutorial , what if we replaced the opto-coupler and bridge rectifier with a solid state relay do we still need IGBT transistor ?

  •  6 років тому

    Really nice, I was wondering would it be smart to use it on 80W for controlling voltage on AC mono phase motor?

  • @tory6733
    @tory6733 9 років тому

    I replicated this circuit and found the hum noise at low brightness (high PWM) to be very audible and a little disturbing. It seemed I could even get it resonating with the bulb in some way and amplifying the noise substantially. Would a capacitor in parallel with the bulb help reduce this hum due to charge/discharge smoothing of the gated supply? Also would lowering the PWM frequency help since the thermal cycling rate would be much lowered?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      Hi, lowering the frequency would not help. I think just opposite, on very low frequencies, the hum may be even more accented. I also think that there may be a lamp which has its own mechanical resonance of the wire by coincidence equal to the arduino's PWM frequency. Then changing the frequency to higher or lower may help. The capacitor might help too.

  • @romycruz4498
    @romycruz4498 3 роки тому

    Im surprised with this since tou used AC bulb but in your diagram you use a diode that rectifies AC to DC therefore your AC Light bulb is now using DC? Thanks.

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  3 роки тому

      The bulb isn't AC or DC. It just works with both types of current. In this aspect, the bulb is very easy going, unlike a motor or transformer or other electronics.

  • @prateekbhardwaj6720
    @prateekbhardwaj6720 2 роки тому +1

    which diode to use.....can i use 1n4007 for my load(which take less than 500mA)?

    • @danielghisleni
      @danielghisleni Рік тому

      Hi, sure you can. They manage up to 1A.

    • @prateekbhardwaj6720
      @prateekbhardwaj6720 Рік тому

      @@danielghisleni bro that's 6 months ago question🤣. Well thank you for your reply

    • @danielghisleni
      @danielghisleni Рік тому +1

      @@prateekbhardwaj6720 Sorry, haven't seen that

  • @kevinrutledge9602
    @kevinrutledge9602 8 років тому

    Im trying to find a solution to drive an ac motor with and arduino. Namely a O gauge train set that uses ac on the center rail. variable voltage from 0 to about 15 volts. unsure of current. any suggestions?

  • @ronenen
    @ronenen 7 років тому

    layman question: can we use MOSFET instead of the IGBT?

  • @andydelcollo4849
    @andydelcollo4849 10 років тому

    Do you think the approach of this circuit could be used to control the electric motor of a model train where the top voltage is 20 VAC but the amperage can be up to 5 amps.

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  10 років тому

      I doubt. The output has a significant DC bias which may burn the motor. But I am looking for a volunteer to test it, so please report the result if you decide to test.

  • @satyanarayanarao357
    @satyanarayanarao357 6 років тому

    very good job sir thankyou i want to know how to control and regulate voltage via some feedback

  • @Mike-ry4ti
    @Mike-ry4ti 10 років тому

    by the way, if an optocoupler such as a 4N25 is used, is an IGBT needed? i was going to use an IRF P460 mosfet with a 4N25...

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  10 років тому

      Err.. I might have missed the point. An optocoupler such as a 4N25 is used just for case, to save the low voltage electronics if something goes wrong in the high voltage circuit. Theoreticaly it does't need to be there. IRF P460 will work too, but the case with optocoupler stays the same.

    • @Mike-ry4ti
      @Mike-ry4ti 10 років тому

      Apologies, it was I that missed the point. ... Thank you for your support

  • @Mike-ry4ti
    @Mike-ry4ti 10 років тому

    thank you for this tutorial,very informative

  • @aaronmani878
    @aaronmani878 8 років тому +1

    hey, nice tutorial. Can I use this circuit with 127 V, the same components, but 127 AC V??
    I need it for a PID temperature control

    • @rafaeltaykiomori6603
      @rafaeltaykiomori6603 8 років тому

      Yes igbt transistor is capable to handle dc and ac current. and has very common usage in variable frequency drivers. like Danfoss softstart for control induction motors. it's very cool 😋

  • @er.jugalmandal7736
    @er.jugalmandal7736 7 років тому

    great video ... can we use AC 230v celling fan as a load on this circuit ????

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  7 років тому

      Unfortunately not. Only resistive load is supported.

    • @er.jugalmandal7736
      @er.jugalmandal7736 7 років тому

      oh thanks can u make a video about controlling AC CELLING FAN using PWM ....

  • @night_gryphon
    @night_gryphon 7 років тому

    Can i connect the lamp sequentially with this whole device instead of attach it to transistor? Connecting this way can provide the AC to the load instead of pulsing DC.

  • @GAUTAMKUMAR-ni1xs
    @GAUTAMKUMAR-ni1xs 8 років тому

    can we run a ceiling fan with circuit? If not then what are the modification do we need in this circuit? Sir please answer as soon as possible.

    • @WalnutInnovationsindia
      @WalnutInnovationsindia 7 років тому

      put the load (MOTOR) on the other side and short the load connection with IGBT. This will enable an AC wave travelling from motor while IGBT will drive the power ac is converter to dc.

  • @jssVaz
    @jssVaz 10 років тому

    hey! nice project! i have a question, What kind of capacitor did you use to do your project? it's a simple electrolytic capacitor?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  10 років тому

      Yes, it is the simple electrolytic capacitor, I think it is 1000uF, 320V. I had this earlier, so I used it. In reality, it a lot smaller one might be used.

  • @janmacek4161
    @janmacek4161 3 роки тому

    Hi
    Jaroslav, I came across your design and it is really nice especially for its simplicity and the space it leaves for Arduino do something meaningful than zero crossing detection. I want to use the circuit for regulation of heating (60W) and to use ESP8266 01 as the controller. Unfortunately, when testing it, I realized that the dimming works fine but the transistor (IRG4PC40WPbF) gets hot after 3-5 minutes and stops dimming. Would you have any idea what could be wrong? The only thing which is different from yours is that I use ESP8266 which has the PWM sampling from 0 to 1023, but I doubt this is the reason. Thank you.

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  3 роки тому

      Hmm... I cannot figure out the exact reason but I think that you should check whether the transistor is opening and closing rapidly. It shouldn't happen that it is semi closed or semi open for a long time because in this state it has major energy loss. When closed, I =0A, therefore as P= U*I, the P=0. When fully open, U=approx 0V, therefore as P= U*I, the P=0. in any other state the power is significantly higher and that is what heats up your transistor.

    • @janmacek4161
      @janmacek4161 3 роки тому

      @@jaroslavhruskovic7153 Hi Jaroslav, thank you for your quick response. I decreased the resistor at the optocoupler and the problem is gone. I had there 1K and ESP works on 3.3V, so it was apparently too much.Now I have there about 800k. Thanks again.

    • @vidalwei
      @vidalwei 2 роки тому

      Lo resolviste?

  • @hatemelsayedm7md
    @hatemelsayedm7md 10 років тому

    Can you please mention the ratings of diodes and resistances?

  • @danielmoraes9637
    @danielmoraes9637 5 років тому

    i try this project and i have the dimmer effect, but when the pwn is 0 or LOW, the lamp stay a little brither, how can i resolve this? maybe a pull down resistor connecting gate and source? i try 1k but with out success

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  5 років тому

      Try to disconnect arduino and pull it artificially down to 0. If it still has some current, I would say the transistor is wrong. Be aware that it should be strictly either fully open or fully closed. Only then it has low energy dissipation. If for some reason you semi-open it, you might have burned it yourself.

    • @danielmoraes9637
      @danielmoraes9637 5 років тому

      @@jaroslavhruskovic7153 thanks for the reply, i will try it, and i will go back here to give my results.

  • @anshulgupta7717
    @anshulgupta7717 9 років тому

    hi ,you done a great job ...
    but will it work with inductive loads like AC motor etc.
    and if not so can you plz suggest any dimmer which can control the speed of AC motors to me ....

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      anshul gupta No, it only wotks with a bulb or resistive load.

    • @anshulgupta7717
      @anshulgupta7717 9 років тому

      thanku for reply...
      can you suggest any thing which help me to control the motor or inductive load ...

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      What exactly do you want to control? Would a stepper motor be the solution?

    • @anshulgupta7717
      @anshulgupta7717 9 років тому

      i want to contol a simple inductive fan of 60W

    • @anshulgupta7717
      @anshulgupta7717 9 років тому

      may i have your email id for the further discussion .

  • @DarkBloodPro
    @DarkBloodPro 10 років тому

    Hi, I copied your circuit as a part of a project for school (i hope you dont mind) and its working very well, but I noticed that the relation of the PWM signal and intensity of the light is inverted (0% PWM = full brightness / 100% PWM = zero brightness) can you explain me why does this happen?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  10 років тому +4

      This is because there is one inverter in the circuit. If you look at the wiring, you may see that HIGH sihnal on the optocoupler input causes opening the transistor inside the optocoupler which causes shorting the 5k resistor which causes dropping the gate voltage of the IGBT to zero, which causes closing the IGBT.
      In short, the more HIGH signal (100% PWM) you drive to optocoupler, the more closed is the IGBT and dimmer the light. The more LOW signal (0% PWM) you drive to optocoupler,the more open is the IGBT and brighter the light.

  • @PavelStriz
    @PavelStriz 5 років тому

    Zdravím, píchnul byste mi s kontrolou tišťáku+výběru součástek a doporučeními na stmívání světel do 16A?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  5 років тому

      Ano, v miere ako budem vedieť. Poprosím o váš e-mail, príp. nejaký iný kontakt

    • @PavelStriz
      @PavelStriz 5 років тому

      @@jaroslavhruskovic7153 Jééé, to budete hodný. pavel@striz.cz, resp. FB facebook.com/paulshering

  • @shodanxx
    @shodanxx 9 років тому

    Hello, I am trying to drive a 3 phase 10 HP motor from an arduino using 30 amps IGBTs.
    I would like to know, do you need to take special precautions to deal with reactive loads such as an electric motor ? Is it possible for the back emf to generate voltage spike that will damage the drive circuit or motor ? If yes, how to dissipate those spikes (without wasting too much power).
    Also, I have to drive 6 IGBTs, I am considering using adafruit's 16-Channel 12-bit PWM based on the PCA9685 to offload the arduino's processing power. Is a 1khz frequency for the PWM fast enough ?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      1kHz is perfectly OK. But I have my doubts about whether it will survive driving the 10HP motor. The transistor is sensitive to a reverse voltage which may appear with inductive load.

    • @shodanxx
      @shodanxx 9 років тому

      Jaroslav Hruškovič How can you protect the IGBT from back emf ?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      A zenner diode might work

  • @vidalwei
    @vidalwei 2 роки тому

    Hi, igbt recomiende?

  • @bbreeuwer4577
    @bbreeuwer4577 8 років тому

    Nice little circuit!
    Which PWM frequency do you use and do you have an idea what the limits are?
    For example, would you recommend using a lower freq, say around 30kHz or more like 100kHz?
    I guess at a certain stage the light bulb will act very slow on certain changes.

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  8 років тому +2

      I think Arduino natively uses about 1kHz for PWM output. At the moment, I see no meaning of working with frequencies higher than this. The bulb reacts so slow that even 1kHz guarantees no flickering. Correct me if I misunderstood your comment.

  • @Rick40867
    @Rick40867 6 років тому

    Excellent video I have one question can this work on ESP8266 Node MCU??

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  6 років тому +1

      Yes. General Purpose IO (GPIO) pins on the ESP-12E
      NodeMCU allow Pulse Width Modulated (PWM)
      outputs. Simply put, PWM outputs allow us to set the
      output pins to be Qn for a certain percentage of time in a
      given time period which is a condition of this concept.

    • @Rick40867
      @Rick40867 6 років тому

      @@jaroslavhruskovic7153 thanks I will try and let you know the results

    • @Rick40867
      @Rick40867 6 років тому

      @@jaroslavhruskovic7153 can you please provide me coding ? riz.insure@gmail.com

    • @wasimakhtar3942
      @wasimakhtar3942 5 років тому

      yes

  • @crazyirishman121
    @crazyirishman121 6 років тому

    You did not mention anything about the Zero Cross Detection, this is a pretty important part.

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  6 років тому +1

      Please note that this wiring is unique exactly because of this - it does not need the zero crossing detection.

  • @gsge
    @gsge 6 років тому

    Brilliant design. I have question for you.I am planning to use this circuit to drive dc-dc power supply which takes 36-76 vdc @ 1.9 amps as an input and output 5vdc @ 10amps.Do you think this is possible ? if so is there any change in hardware or software ?
    Thanks

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  6 років тому

      Hi, if you are working with DC only, the design would be much easier. No need to have a rectification and also it would be safer. But the KEY aspect is if dc-dc converter will work with PWM.. Check that first. If you want to consult more, give me your e-mail address so that it's easier.

    • @gsge
      @gsge 6 років тому

      Thank you for your quick reply.I will be using this power supply : www.tdk-lambda.com/products/sps/ps_pm/pah/pdf/pah50_spc.pdf. I might set up fixed voltage on optocoupler led for set output from IGBT transistor.Then I will probably remove arduino from circuit.Am I wrong ?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  6 років тому

      I don't know if this is a good idea. If you feed the converter with pwm input, it may unpredictably interfere with internal processing frequency of the converter.
      And then what is the point if you not use arduino? Well, and lastly, the led voltage is irrelevant, it either opens or closes the coupler, it does not "semi open".

    • @gsge
      @gsge 6 років тому

      Oh I see your point. Thank you for your help.

  • @CrisDFF30917
    @CrisDFF30917 6 років тому

    Very good design!

  • @asleerlingborgen9637
    @asleerlingborgen9637 8 років тому

    Dear Jaroslav, thank you for the great explanation! Can you please tell me the value of the resistor connected to pin 1 on the optocoupler? Also; have you made a pcb for this design? Best regards Asle, Norway

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  8 років тому +2

      Hello, the value is 500ohm. Regarding the PCB... no, I haven't. But if you decide to, I will be more than happy to see it. Would be nice to have one able to integrate Arduino, ideally in a compact box... Maybe we might put some effort together and push it to new level

    • @asleerlingborgen9637
      @asleerlingborgen9637 8 років тому +1

      Thank you! I am looking into building a 4 channel dimmer/controller with an Arduino Uno. Unfortunately my programming skills are really poor, so progress is slow...

    • @udhayakumarramaraj5959
      @udhayakumarramaraj5959 8 років тому

      Hai can you please mention the diode and capacitor value range, can i use IRF 840 instead IRG4PC50WPbF (IGBT).Can i use diode as IN4007 and capacitor as 100micro farad/400v.

  • @christianlazcano928
    @christianlazcano928 9 років тому

    Hi! Good video.
    I developed the circuit and I connected to a resistance with a 127V and an electric power 1KW but the problem was that the IGBT and the didodes bridge got very hot.
    the question is what do you think about the problem?
    What do you think might be the error?
    and another question this circuit can use to connect a resistance with 220V and an electric power 2KW.
    how much current supports this circuit?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      Hi, do I understand it correctly, you have 127V on the resistor which dissipates 1kW? That would mean that the current is about 8A, which is enough to make the parts hot. With a such power in game it is normal that you introduce some cooling.
      If I misunderstood the mentioned voltage/power, let me know. The other reason may be that the IGBT is not fully open.

    • @christianlazcano928
      @christianlazcano928 9 років тому

      Jaroslav Hruškovič Hi, thanks for answer to my question.
      Now the problem is that I need to control one resistance which is connected to 220 VAC with an electrical power of 10 KW that means that a I have to control around 41 A the question is, do you think that I can use that kind of circuit or do you have any or another circuit who can works at high amperage (of course introducing PWM)?
      You mentioned that probably the IGBT is not fully open in that case what can I do about it?
      How can I fully the IGBT?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      christian lazcano Not opening the IGBT to full may be caused by a low voltage on gate. But this was just an idea, I don't know if this really is the case. Check if your pulses on gate have sharp leading and trailing edge and that they reach nearly maximum allowed gain voltage. In my case, I think I used have 14 volts.
      Regarding the 10kW power... as far as I know, there are IGBT transistors of for high amps, so as soon as you use such one, it should work. But keep in mind that in normal conditions where everything is working OK, such transistor may need a heavy cooling as it may produce around 40W of heat.
      Another option would be paralel usage of lower rated IGBT transistors, but check that they are suitable for that. Some of them are, some aren't. However combining many transistors may turn out more expensive than getting one rated high power .

    • @christianlazcano928
      @christianlazcano928 9 років тому

      Jaroslav Hruškovič what do yo think if instead of use your circuit we could use a solid state relay? do you think that it woks?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому +1

      No, I tested it, and it does not work with PWM because it is has very slow reaction time. But if your load is solely resistive such as a heating spiral, you may easily change the concept to much longer switching times, such as 5seconds on, 5 seconds off. Then the solidstate relay is perfectly OK.

  • @petrodstrcil708
    @petrodstrcil708 7 років тому

    Je možné použít tento obvod i pro regulaci větších výkonů - halogenové žárovky cca 1-2 kW?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  7 років тому +2

      Zrejme ano, ja som to testoval na 400W žiarovke, tak som vybral príslušný tranzistor. Ale samozrejme existujú aj tranzistory pre väčší výkon, jasné že by sa to dalo, len viem že cena ma vtedy dosť prekvapila.

  • @PorZa559
    @PorZa559 7 років тому

    What you choose part number of opto and resister between arduino and opto?

  • @giapvanquan1701
    @giapvanquan1701 7 років тому

    you can share list of electronic components for me? thanks you so much!

  • @Racooncircuits
    @Racooncircuits 10 років тому

    I wonder if it would be possible to control inductive loads providing I will slowly increase and decrease PWM width when turning on/off the load.

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  10 років тому

      No, I would not recommend that. The circuit feeds the load with pretty high DC current. It has a significant DC bias as the negative sine waves are flipped up. When testing the circuit, I forgot about this and burnt a transformer of the 12V halogen lamp.
      With a small change of the wiring it might be possible but that also has certain drawbacks - there may be an induced voltage from the inductive load which might easily burn the circuit.
      BTW, what sort of inductive load is it?

    • @Racooncircuits
      @Racooncircuits 10 років тому

      Jaroslav Hruškovič It is a bit tricky :) It is a primary side PWM regulation for the resistive load (a heater/resistor) on a secondary side of the transformer (max 50V AC should be there). However as I am doing PWM on the primary winding of the transformer (the efficiency is much better here), I am getting a nasty voltage spike when the load is abruptly disconnected. My knowledge here is very limited and I suspect this has something to do with inductive load. The PWM based on triac is working fine but the load must be disconnected smoothly. I was wondering if the triac design could be replaced with similar design as you described. Some modification would be probably required.

    • @Racooncircuits
      @Racooncircuits 10 років тому

      Jaroslav Hruškovič This seems to be a good read: homepages.eee.strath.ac.uk/~bwwilliams/book/chapter%2012.pdf

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  10 років тому

      Yes, seems to be a good reading.

  • @night_gryphon
    @night_gryphon 7 років тому

    how much power is dissipated on the resistors? how to lower this power and heat?

  • @GeorgeGeorge-xj2bc
    @GeorgeGeorge-xj2bc 2 роки тому

    The load is driven with 100HZ DC voltage through the bridge rectifier which is not suitable for every load.Instead this if do some modifications connecting the load in series in the AC line and use IGBT for short circuit between + and - of the bridge rectifier then you have a good ac switch.If find a way to drive the isolated gate-emitter of the IGBT with the PWM signal then you can control any type of load even the cheap brushless fan motors used in the hot days of summer.

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  2 роки тому

      Yes, if you find a way how to control the IGBT in a way how you describe, it will do the trick.
      Regarding the cheap brushless motor, there's much simpler way, use a solid state relay and switch it on and off with 1Hz PWM signal.

    • @GeorgeGeorge-xj2bc
      @GeorgeGeorge-xj2bc 2 роки тому

      @@jaroslavhruskovic7153 If use optoisolated gate driver ic and a separated dc voltage without common ground connection to the other circuit.Is somehow complicated but it works.The low frequency PWM haven't tried it yet.

  • @vidanatural_oficial
    @vidanatural_oficial 8 років тому +1

    with another IGBT transistor in a oposite direction, can we handle the 360º wave with the arduino pwm?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  7 років тому

      Not quite. This would need also a negative voltage output from Arduino

    • @whitefields5595
      @whitefields5595 6 років тому

      @@jaroslavhruskovic7153 If you use a DC offset to raise the zero reference point of the AC waveform you avoid having to use negative voltages on the Arduino?

  • @HansVledder
    @HansVledder 10 років тому

    Hi Jaroslav, awesome idea. Would this work for 230v replacement (dimmable) LED lamps as well?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  10 років тому

      Hi, I doubt. There's a lot of electronics in the LED lamp, which converts 230V to the low voltage needed for LEDs. Unless I know the wiring inside I would't hope. Mainly because my dimmer has a DC bias which may burn any electronics not suitable for that. However, If you really need to know, send me the LED lamp and I may try :-)

    • @prems2915
      @prems2915 7 років тому

      IF LED lamp has PFC circuit in it (which almost all of them have), it will not work.

  • @mitkuberhe4074
    @mitkuberhe4074 7 років тому

    can i use this to vary the voltage input to a 220/2000V ac transformer ,i wanted to control the out put voltage of the transformer by manipulating (varying ) the input transformer voltage from 0 to 220.can you suggest please?
    thank you in advance and really a very nice video

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  7 років тому

      No, this will not work, you will burn the transformer. This is because the output has DC offset which will cause strong DC current in transformer.

    • @mitkuberhe4074
      @mitkuberhe4074 7 років тому

      okk,so do we have any other option to vary the voltage to the transformer ?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  7 років тому

      Tere are some methods. But these do not include PWM. Depends how much you need to control the voltage, maybe a special transformer with divided secundar may do the trick.

  • @aarjov
    @aarjov 9 років тому

    Hi! Can I use that type of Dimmer, to control an Infrared Heater power? Can he take a 500 - 800 Watts to control? Does this Dimmer compatible with my preferences? Thanks a lot for video!

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      Hi! I am currently using it for dimming the 400W lamp with no sign of something wrong. So the 500W dimmer should not be a problem. The 800W might result in higher current and higher heat dissipation in the transistor. However, you can still use a cooler.

    • @aarjov
      @aarjov 9 років тому

      Jaroslav Hruškovič Thanks a lot for info! Now my problem solved! Thanks for your video!

    • @aarjov
      @aarjov 9 років тому

      Jaroslav Hruškovič​ and what's about 3000w? (3 infrared heaters 3x1000 watts)I guess the transistor can take care of it with a cooler and a heatsink. Or I'd better take a most powerful transistor?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      Андрей Рыжов Yes, either a more powerful transistor or you may use two (or more) in paralel. If I remember correctly, the characteristics allow this because if one gets overheated, it somehow offloads its load to other transistors. I am not able to find it at the moment, but the paralel configuration should be self stabilizing in terms of power balance among the transistors. Please let me know if you have doubts about what I say, I will try to find out tomorrow with fresh head.

    • @aarjov
      @aarjov 9 років тому

      Thank You so much for the information! But how can i use two or more transistors in parallel? How can i plug them to arduino board? Can you give me a scheme or smth like this? I will appreciate it so much!

  • @icepickkk
    @icepickkk 7 років тому

    hey thanks for the video. i'm working for my final project, i have to control electric water heating element. can this circuit control the electric water heating element?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  7 років тому

      Yes it can, just replace the bulb with the electric water heating element. And keep an eye on electrical current ratings, there may be a significantly higher current when the element is yet not heated.

    • @icepickkk
      @icepickkk 7 років тому

      should i adjust the frequency of my PWM on arduino? or just do analogWrite? my country's electricity is 220v 50Hz. sorry if my english is bad

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  7 років тому

      Just keep it as it is, it will work

  • @danielmoraes9637
    @danielmoraes9637 5 років тому

    thanks jaroslav its amazing

  • @ElectricRCAircraftGuy
    @ElectricRCAircraftGuy 9 років тому

    Nice work! This is very good. I was hoping that this transistor somehow did not need rectified voltage, so that it could switch the negative voltage too and so I could use it to dim a fluorescent bulb, but it seems that is not the case. Nevertheless, this is very useful info. Thanks!

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      So... do you mean that you tried to use it with a fluorescent lamp? I never had a courage to try. How did it behave?

    • @ElectricRCAircraftGuy
      @ElectricRCAircraftGuy 9 років тому

      Jaroslav Hruškovič Sorry, what I wrote makes it look like I may have tried it, but no, I have not. Based on what I know about fluorescent lamps they *need* the alternating current, so I don't *think* this will work for fluorescent....I'm wondering how fluorescent dimmers work now.

  • @matmay
    @matmay 10 років тому

    also your dimmer generates humming, but at a different frequency! Although your dimmer uses 500Hz (from the arduino) instead of 50Hz you can still heat it!

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  10 років тому

      Yes, the 500Hz humming is generated but as you say, it is not audible. At all. However, at very low brightness, the 50Hz (100Hz) is hared as the bulb has significant thermal cycles.

  • @adrianedralin8184
    @adrianedralin8184 7 років тому

    can i have a full schematic diagram for this sir?

  • @somu_v9668
    @somu_v9668 6 років тому

    Hello sir,,, I need to control the 220V AC Fan using PWM and Arduino...can you please suggest for the components Specification of the required circuit??

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  6 років тому +1

      somu vijayanagar, 220V AC fan cannot be controlled this way unless the motor can withstand the rectified A.C. current. Meaning it also has to be able to withstand the DC bias which occurs when rectified. Check this first and if it can, then the circuit can be used without changes.

    • @somu_v9668
      @somu_v9668 6 років тому

      Ok sir,,thank you so much for the reply..!!!!!
      And ill check fan whether it can withstand..

  • @d_glezurr1504
    @d_glezurr1504 8 років тому

    Hello Jaroslav! Can I use this circuit for clf and led bulbs?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  8 років тому

      I doubt that would work. There is an unpredictable electronics inside. Try the commercial dimmer to see if it works. If so, chances are this circuit will do the trick too.

    • @d_glezurr1504
      @d_glezurr1504 8 років тому

      Thank you! I'll try it!

  • @danieltamayo2764
    @danieltamayo2764 9 років тому

    HI, good video, i have a question, what diode model uses for the diode bridge? what model is the diode next to the diode bridge? thanks for the video :)

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      Daniel Tamayo Hi, for the bridge I used the ready-made diode bridge KBPC1006W, 600V/10A, see www.gmelectronic.com/bridge-rectifier-b250c10000dr-p227-051
      But you may practicaly any that withstands 400V and the current you desire. The diode next to the bridge is also just any that withstands 400V, the current, just to be sure may be around 1A.

  • @motikagoutam
    @motikagoutam 9 років тому

    Thanks for the explanation :)

  • @Ed19601
    @Ed19601 10 років тому

    Very interesting. I was just wodndering if the lamps do not have a problem with the higher voltage. after all, there will be some 310 Volts over the lamps who are in fact made for 220 Volts

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  10 років тому

      Hi, no, that's definitely not a problem. The 220V rating means effective voltage of sine shaped cycle. In fact, any 220V sine cycle reaches the 310V in the peaks, but that's something that lamps are suited for.

    • @Ed19601
      @Ed19601 10 років тому

      ok, thanks

  • @mmarcelofrm
    @mmarcelofrm 8 років тому

    Excelent video!!! thanks a lot!

  • @FaizanMansuri27
    @FaizanMansuri27 9 років тому

    I tried making this but the voltage across the bulbs come to less than 1 volts.
    The voltage across the 5K resistor is 15V
    I am using irg4pf50wd
    i am using 200W bulb.
    what is the resistor value you used between arduino and Optocoupler..??

    • @FaizanMansuri27
      @FaizanMansuri27 9 років тому

      I am using an electrolytic cap with 100uF/250V

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      I think I used 100ohm or 330ohm between arduino and Optocoupler. This in fact does not affect the functionality.

    • @FaizanMansuri27
      @FaizanMansuri27 9 років тому

      Jaroslav Hruškovič It works like a champ thanx a lot
      Problem was with the Resistor attached from arduino to Opto... I used 220Ohms instead of 1k.
      And now Because of you I have a full PID controlled ambient Light COntroller

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      Cool

  • @wasimakhtar3942
    @wasimakhtar3942 5 років тому

    how can we use both inductive and resistive dimmer without zerocross circuit.

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  5 років тому

      Inductive might be problematic in this wiring. Depends whether it is pure inductive or a combination of resistive and (a bit) inductive.

  • @PetrKoc
    @PetrKoc 7 років тому

    Perfektní video!

  • @electronicsprojects4708
    @electronicsprojects4708 9 років тому

    thanks for the great video.

  • @junoutneto
    @junoutneto 9 років тому

    Hi, i want use control de luminosity with PID control, you think this is possible with this your circuit? Thanks for the video :)

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      Hi Ramses, please rephrase your question, I don't quite understand what you mean.

    • @junoutneto
      @junoutneto 9 років тому

      Sorry , I would like to utilize PID control, because my Idea is control the luminosity... so do you think is possible implement this PID control with your circuit?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      Ramses da silva louzada Well, basicaly yes. However, in some cases you have variable voltage at the output of thr PID regulator. You have to translate this into frequency and an applicable duty cycle. So it is not just a matter of connecting the PID to the transistor gate, but you have to use some logic (i.e. Arduino) to read the PID signal and send an appropriate signal to the dimmer. In a very special case if your PID would have a PWM output, you might consider connecting it correctly. If you need a help with your design, give me your e-mail contact and we may discuss it separate from this forum.

  • @prems2915
    @prems2915 7 років тому

    what is THD and PF achieved by this method ? does this work at 347V ?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  7 років тому

      Providing that this circuit will not handle capacity or inductive load and only works with simple ohmic load, the PF is about 100% I suppose. Regarding THD... no idea. Possibly quite a variable factor depending on actual pulse width.

  • @rayyamato756
    @rayyamato756 10 років тому

    can i use irg4pc50u to replace irg4pc50wpbf ???

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  10 років тому

      Mmmm... yes, it looks pretty much the same. The irg4pc50u has a different gate voltage to open, but that is irrelevant for this wiring as you only want the transistor to either full open or full close.

  • @aarjov
    @aarjov 9 років тому

    Is it normal, that when i`m plugging this into 220v, 100k resistor burns out with smoke?

    • @jabbergabber5190
      @jabbergabber5190 9 років тому

      Андрей Рыжов I got through some 100k resistors and capacitors ! check your bridge rectifier - mine was dodgy and taking out the capacitor - causes more current to flow through the 100k than it could take - smoke ahoy.

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  9 років тому

      Андрей Рыжов no, it is not mormal. Check for faults.

  • @FaizanMansuri27
    @FaizanMansuri27 9 років тому

    And is it ok to use 100uF / 250V cap

  • @sahabaaz.
    @sahabaaz. 6 років тому

    sir u converted ac volt to dc. why not use ac direct and control brightness. by zerocross detect.

  • @jesusplaza8842
    @jesusplaza8842 6 років тому

    Can this work with a shaded pole motor to control speed?

    • @jaroslavhruskovic7153
      @jaroslavhruskovic7153  6 років тому

      Doubt. Anything else than a resistive load is unpredictable. Keep in mind that this circuit has a significant DC so think how your motor can stand it.

  • @priyankaraghuthaman3080
    @priyankaraghuthaman3080 2 роки тому

    Thank you.