MATLAB Answers

Connection between simpowersystem and simelectronics for an optocoupler

7 views (last 30 days)
Danilo NASCIMENTO
Danilo NASCIMENTO on 28 Nov 2014
Commented: Sudarshan on 23 Sep 2021 at 18:53
Hey guys I'd like to do something similar to what is shown in the picture below. My difficult is in the control part. All the circuit is simulated using a simpowersystem library. But in the control part there is a optocoupler that can only be found in the simelectronics library. So how I am suppose to do this connection between these two libraries? In the figure the Vo voltage would be controlled. So I would compare this voltage with a reference and pass it through a PI controller and the output of this controller would be a current signal. THAT IS THE PROBLEM! This current signal is the input of the optocoupler. I've tried a S-PS to convert a simulink signal to physical signal input but, I don't know if I do it right, it did not work.

Answers (2)

Danilo NASCIMENTO
Danilo NASCIMENTO on 28 Nov 2014
I've already made it. If someone wants to know how it can be done. I put here.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!