How can I connect Powertrain Blockset with Simscape Power Systems?

조회 수: 17(최근 30일)
Hello, I have used Powertrain Blockset Mapped Motor for my DC motor simulation and I have modelled the power supply with Simscape Power System. Since the load current of the mapped motor is giving simulink signals, I am having the problem of connecting the energy supply terminals to the load. Is the only solution to use "power_customize" and if so which Power System block can I use for this conversion? Thank you very much for the help. Regards,

답변(3개)

Pablo Romero
Pablo Romero 2018년 12월 20일
Hi Sergi,
To interface Simscape and Simulink blocks (either from Powertrain blockset or any other Simulink block), you have to use the specific sensors and sources as shown here, together with the PS-Simulink Converter and Simulink-PS Converter blocks.
If you are also using Simscape Specialized Power Systems, please take a look at this too.
Hope this helps.
Pablo
  댓글 수: 2
Pablo Romero
Pablo Romero 2020년 11월 22일
Please bear in mind you may need to add some Simscape sensor block. You cannot connect a PS-Simulink converter directly to a Simscape network.

댓글을 달려면 로그인하십시오.


Ting Liang
Ting Liang 2020년 11월 22일
Hi, Pablo,
oh, I see, it works now.
Thanks for your help.
Best regards

Ting Liang
Ting Liang 2020년 11월 23일
Hi, Pablo,
Excuse me.
Can I make an inquiry about another two problems about simulink modelling? The problems are shown in the attached picture.
This is a subsystem to model the variable speed control unit for my system. But I was struggling with connection thing.
1) the position 1 and 3 are two kinds of connection ports(simspace(left), powertrain(right)), but if I use the connection ports in subsystem, it seems cannot be connected with other blocks in the parent system.
2) for the simspace and powertrain block connection, shown as in postion 2, I used the sensor and ps_s converter, but it cannot be connected to the powetrain block port.
I am a beginner now, and now seems I dropped into a dead cycle, if using connection port here and it can help connect, but again it cannot be connected at another place. Could you please give me some hints and help about this?
Thanks, and looking forward to your reply.
Best regards
  댓글 수: 2
Ting Liang
Ting Liang 2020년 11월 24일
Hi, Pablo,
Thanks for your help.
I have spent some time figuring out how to manage this, but it just needs to know a fundamental interface elements, gosh.
Thanks.
Best regards

댓글을 달려면 로그인하십시오.

커뮤니티

더 많은 답변 보기:  Power Electronics Community

Community Treasure Hunt

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

Start Hunting!

Translated by