1] My simple buck convertor circuit description
I made this buck convertor on my breadboard- Falstad simulation
- The battery voltage is 12 V
- And the MOSFET is a N-channel enhancement mode MOSFET
- The PWM generator's frequency is 50 kHz and the duty cycle is 50%
- [EDIT] And the PWM generator output voltage is 30 V.
- The inductor is a toroidal iron core inductor of inductance 990 µH
- The resistor is of value 100 Ω
- (note: Actually I am using ATmega328p as a PWM source and hence the actual frequency is 62.5 kHz, But here for convenience I added 50 kHz frequency so the graph (scope) looks good. And not only that I removed the capacitor intentionally to understand inductor behavior properly.)
- Additional calculated values-
- ON-time = 10 µs
- OFF-time = 10 µs
- Time constant τ = 9.9 µs
2] My question
My question is not about the above buck convertor circuit but it is about the behavior of the inductor in it.
As we can see here in this scope that inductor is dropping voltage in this particular way-
The frequency is 50 kHz so the one cycle period is 20 µs each horizontal block in the above image is of 10 µs because the duty cycle is 50%. So the one 10 µs block shows the ON-time and the other one 10 µs block shows the OFF-time of the PWM wave.
(ON-time) The first 10 µs block is understandable Inductor is in charging state so after 10 µs the inductor would be charged up to 63.2% because the value of tau(τ) is approximately 10 µs in our case (9.9 µs in reality). And the current will also be 63.2% of the final current value. And by the value of current after 10 µs we can calculate the voltage drop of the inductor also which will be -
\begin{align} Current \space after \space 10\mu \space seconds &= 0.12(1-e^{\frac{-t}{\tau}}) \\\\ &= 0.12(0.632) \\\\ &= 0.07584 \\\\ Voltage \space drop \space across \space the \space resistor &= (0.07584)(100) \\\\ &= 7.5 V \\\\ Voltage \space drop \space across \space the \space inductor &= 12 - 7.5 \\\\ &= 4.416 V \end{align}
So we get the value 4.416 V for the voltage drop across the inductor after 10 µs, it is not the case in reality! If we look at the scope then it says- voltage drop across the inductor after 10 µs is 3.5 V. I guess it is 3.5 volts instead of 4.416 V because the inductor is not discharging completely in the OFF-time of the PWM input wave.
(OFF-time) The next 10 µs block is confusing- This is my question- Why the inductor is not discharging completely? In simple words here is what should happen - inductor gets charged up 63.2% for 10 µs then Inductor should get discharged completely in next 10 µs because in the first 10 µs it was charged only for 10 µs / 63.2%.
What intuitive understanding I am lacking about inductors? I want to understand inductor behavior intuitively so little math and simple explanations would be great.