Dear sir,
I am trying to simulate a buck circuit in Simulink. I have the circuit and I probe it in open loop and it works. The problem is when I try to work in close loop (I use a PWM control of the inductor current).
I need the value of the current in the inductor. This shape is triangular. I put a current sensor in my circuit and I get it. But for my control, I want to measure in the middle of the rising edge, because I need the average current. How can I do it?. I know that this point is in the middle of my duty cycle. I attach a capture of my circuit.
Thank you very much for your time.
4 Comments
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/514335-how-can-i-measure-in-a-exact-point-of-a-electronic-circuit-each-cycle-in-simulink#comment_818668
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/514335-how-can-i-measure-in-a-exact-point-of-a-electronic-circuit-each-cycle-in-simulink#comment_818668
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/514335-how-can-i-measure-in-a-exact-point-of-a-electronic-circuit-each-cycle-in-simulink#comment_818713
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/514335-how-can-i-measure-in-a-exact-point-of-a-electronic-circuit-each-cycle-in-simulink#comment_818713
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/514335-how-can-i-measure-in-a-exact-point-of-a-electronic-circuit-each-cycle-in-simulink#comment_818742
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/514335-how-can-i-measure-in-a-exact-point-of-a-electronic-circuit-each-cycle-in-simulink#comment_818742
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/514335-how-can-i-measure-in-a-exact-point-of-a-electronic-circuit-each-cycle-in-simulink#comment_823165
Direct link to this comment
https://ch.mathworks.com/matlabcentral/answers/514335-how-can-i-measure-in-a-exact-point-of-a-electronic-circuit-each-cycle-in-simulink#comment_823165
Sign in to comment.