Hi!
I am trying to make a PID controlled dc/dc buck converter which i shared a schematic of it. The problem is PID and voltage divider circuit is working just fine. I can get the desired voltage and see it on the serial monitor but even though my input voltage is 12v and my duty cycle is about 0.95, the output value is 1,5 volts.
Can anyone help me on this? Thanks already.
Read the first 2 topics telling how to attache code and other info.
https://forum.arduino.cc/index.php?board=3.0
Do post a schematic of the thing (this Fritzy wiring diagram is utterly useless, and not just because all component values are missing), and your code as per forum guidelines (you did read this before posting, didn't you?).
Also, building a buck converter on a solderless breadboard (if that's really what you've been trying to do) is generally quite hopeless.
That said: what's the point, and what does PID have to do with a buck converter?
I am using PID for varying loads. With a constant duty cycle, output voltage will always change due to load change. I am using breadboard to try and learn the circuit and i think there is a problem with my setup on breadboard. That's why i posted this type of a schematic. I will try to follow the forum rules and fix the post i posted this in a hurry(I am a newbie by the way)
What stuff do You intend to use in making that PID work? As @wvmarle tells, breadboard is defenatly no a good base for such works.
ogzhanozclk:
I am using PID for varying loads. With a constant duty cycle, output voltage will always change due to load change.
Again, why using PID?
In other words: which part of the process reacts so slowly it is prone to overreacting and oscillations?
I am using breadboard to try and learn the circuit and i think there is a problem with my setup on breadboard. That's why i posted this type of a schematic.
That's definitely a problem. More than one.
The "schematic" which is not a schematic but a spaghetti image and therefore can not be judged but on artistic/decorative value or lack thereof, and the use of a breadboard itself for this kind of circuits.