Connection between simpowersystem and simelectronics for an optocoupler
4 views (last 30 days)
Show older comments
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146262/image.jpeg)
Answers (2)
See Also
Categories
Find more on Electromechanical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!