Realise transfer function through Opamp using Simulink/Simscape

6 vues (au cours des 30 derniers jours)
Anubhav
Anubhav le 6 Déc 2013
Commenté : Suneesh le 10 Déc 2013
I have built a dc-dc converter using SimPowerSystems. I am trying to realise its current-controller by using Opamp from the SimScape-->Electrical Systems library. I subtract the current flowing in inductor from the the reference current (ie... a number in the 'Constant' block) to generate error using the 'Sum' block. I want to input the resultant error into a PID controller which is built using Opamp feedback circuit. However, I am not able to connect the error terminal (ie...output of Sum) into the input of Opamp. Please advise...Thanks

Réponses (1)

Suneesh
Suneesh le 9 Déc 2013
Simscape and Simulink components cannot be directly connected. You need to use the blocks 'PS-Simulink Converter' or 'Simulink-PS Converter' which are in the library simscape > Utilities
  2 commentaires
Anubhav
Anubhav le 9 Déc 2013
I did use the S-PS and PS-S converters but still not able to connect the output of PS-S to input of Opamp circuit. Please see attached snapshot.
Suneesh
Suneesh le 10 Déc 2013
That makes sense. The problem is that your electrical circuit is not complete. You are doing the correct thing on the left side of the image, you have a voltage sensor which you connect to the Simulink blocks using PS-Simulink convertor. You need to do something similar on the problematic part as well. Since you are connecting in series with a resistor, you need to have a current source (From the Electrical Sources library) there to which the Simulink-PS block would connect.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by