Can we join components of SimPowerSystems with that of simElectronics?

1 view (last 30 days)
Can we join components of SimPowerSystems with that of simElectronics. If yes, then how? Because a red wire appears when i try to join the ground with a BJT even when i use controlled voltage source.

Accepted Answer

Sebastian Castro
Sebastian Castro on 24 Jul 2015
Yes -- SimPowerSystems has an Interface Elements library with blocks like the Current-Voltage Simscape Interface.
Be warned, however, that these interface blocks go through Simulink signals and therefore create numerical algebraic loops that can be broken with filters within that same block. In other words, you should avoid using too many of these blocks. A few of them are fine, especially if you are trying to connect a large isolated SimPowerSystems network with another large isolated network in Simscape/SimElectronics.
- Sebastian
  2 Comments
muhammad saad  malik
muhammad saad malik on 29 Jul 2015
i used the above block in a subsystem. the ssc side i connected to the optocoupler(an SimElectronic device) and the sps side i need to connect to the out1 of subsystem, and that out1 is then connected to the gate of an IGBT(a simPowerSystem device), but it is not getting connected(red wire). any solutions? i think some device to convert voltage to simulink signal is required.
Sebastian Castro
Sebastian Castro on 29 Jul 2015
The gate input of the SimPowerSystems IGBT block is a regular Simulink signal, so you don't need to go through the trouble of using an interface block.
What you can do is put a Current Sensor Simscape block in series with the Optocoupler output, convert it with a PS-Simulink Converter block, and apply that as the gate signal to your SimPowerSystems IGBT.
... or you can do the same with a Voltage Sensor in parallel if that's the way things are connected (I'm not a power electronics guy by ahy means :) ).
- Sebastian

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!