Problem joining blocks Simscape

14 views (last 30 days)
Néstor Monedero
Néstor Monedero on 8 Nov 2011
Commented: Prinsca on 23 Feb 2024
Hi, I develop a circuit using Simscape blocks. My input signal is developed by simulink blocks, "random number + Matlab function block". I use the simulink-PS converter to join this signal to my circuit, but i can't. What is the problem? Thanks in advance.

Accepted Answer

Guy Rouleau
Guy Rouleau on 9 Nov 2011
Are you connecting the output of the Simulink->PS converter to a source block?
I recommend looking at demos to understand the difference between a physical signal output by the S->PS block and the physical connection between Simscape components.
For more specific help, add more details or an image of your model.
  3 Comments
Guy Rouleau
Guy Rouleau on 11 Nov 2011
Simscape should be good for your problem.
The problem is that Simscape does not know if the signal coming from the S-PS is your desired current or voltage.
You need a block to specify that, pick one of those:
http://www.mathworks.com/help/toolbox/physmod/simscape/ref/controlledcurrentsource.html
http://www.mathworks.com/help/toolbox/physmod/simscape/ref/controlledvoltagesource.html
For the voltage sensor, it should connect, try to connect it a bit farther from the Capacitor port.
Rizwana Junaid
Rizwana Junaid on 5 May 2017
thank you Mr. Guy its a helpful topic for me.

Sign in to comment.

More Answers (1)

Aswin ram V
Aswin ram V on 3 Sep 2022
hi , direct connection between one or more physical signal converters found. Direct connections between physical signal converters is not currently supported.what's the problem?
  2 Comments
mhu
mhu on 23 Sep 2023
I also have this problem right now, please answer.
Prinsca
Prinsca on 23 Feb 2024
Please were you able to slove the problem

Sign in to comment.

Categories

Find more on Electrical Sensors in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!