![]() ![]() The mosfet is an IRF1010e, the schottky diode an SB元045pt also from an pc power supply. ![]() I choose an inductor with an thicker wire to resist at a higher current. Of course when you are coupling some external loads the voltage will drop but the arduino will read a smaller value than 24V and it will increase the duty cycle until the voltage reach 24V.īecause the arduino use analogRead function the reading and the modification of the duty cycle is slow in(2-3 seconds reach 24Volts) but this method gives you an advantage if you have a variable load.Īnother parts from the ones on the schematic we have a switch on the “+” side and a 2200uF capacitor on the input, mounted later.Īs i mentioned above some of the components are from old PC power supply like the inductor: This driver is easy to connect with other components(arduino and mosfet) and i recommend the 10.000pF capacitor to get an output signal with low noise.Īlso on the output i use a 600 ohms resistor to be sure that the convertor never remain with no load(i use 2 x 3W 300 ohms resistor in series ), which are mounted on the board. In the image below is the complete schematic of the convertor:Īs you can see we have two voltage dividers one to read the input voltage and make some alarm if the voltage drop under a specified value and one on the output to control the voltage throught the duty cycle of the pwm.īecause the mosfet need a minimum 10 volts on the gate to conduct at a low Rds and the arduino pwm signal is at 5 volts we have use a TC4422 driver which copy the pwm on the arduino and reproduce it at 12 volts in our case and because the mosfet is used in pwm mode at 62500Hz this driver support around 10A current from the switching. This inductor is an energy storage element, energy released on the load at a specified voltage which depends the duty cycle of the pwm signal.īecause on the arduino we have some analog pins we will read the voltage on the output and we will increase and decrease the duty cycles depending on the reading values. ![]() I have used a 12V input voltage and 24V output voltage at different current values.įirs of all let’s see a basic circuit diagram of this convertor:įrom an arduino an N-channel MOSFET receive a PWM signal, which controls the current on the inductor. If you like the article click the follow button to stay in touch with us!īecause sometimes for my applications i need a specified voltage i decide to explain in this post how to create a dc-dc boost convertor without any formulas and with old parts and an arduino uno. _ | | | author : Philippe de Craene AC output rectified voltage sensor A1 => DC input current sensor ACS712 20A A2 => heatsink temperature sensor LM35 A3 => battery input voltage A4 => LCD 1602 SDA A5 => LCD 1602 SCL 4 => disable: SD pin of IR2184 (AC output driver) 8 => DC to AC phase 1 with IR2184 9 => DC to AC phase 2 with IR2184 10 => DC to AC phase 3 with IR2184 3 => 12VDC to 400VDC with IR2011 11 => 12VDC to 400VDC with IR2011 12 => synchro output (for oscilloscope external trigger) 13 => activity / alarm LED output Versions history - version 0.5 - 20 july 2020 - first operational version version 0.6 - 50Hz starts once Vht is raised */ #include // #include // // Parameters //- bool SETUP_MODE = false // read the Ioffset value needed for 0 current bool VERBOSE_MODE = true // set the console display mode const int Ioffset = 565 // set to get 0 when no current (mid value 0-1023 const float coefVht = 1.26 // calibrate the output 2 phases AC const float coefVbat = 0.97 // calibrate the input DC voltage const int microseconds = 3333 // AC period => 3.33ms for 300Hz = 6x 50Hz const int VhtRef = 200 // 200V DC gives 192V AC const int deltaVht = 4 // tolerance/hysteresis on Vht const int VbatMin = 11 // inverter will stop below this input voltage const int VbatMax = 29 // inverter will stop after this input voltage bool isThsSensor = false // is there or not a temperature sensor on IRFB4110 heatsink const int ThsMax = 70 // heater sink max temperature bool isIdcSensor = true // is there or not a current sensor in use const int IdcMax = 10 // absolute max current from DC input => 10 = 10A // choose the right current sensor model for ACS712: //float convI = 185.0 // 5A ACS712 module => 185mV/A float convI = 100.0 // 20A ACS712 module => 100mV/A //float convI = 66.Please let us in the comment zone any suggestions that you think will improve the article! * Mini inverter for a 230Vac 50Hz from a 12V ro 24 DC, for a power up to 500W.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |