Problem joining blocks Simscape

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.

 Risposta accettata

Guy Rouleau
Guy Rouleau il 9 Nov 2011

1 voto

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 Commenti

Hi,
No, the output of the Simulink->PS converter in joined directly to the circuit.
The circuit is a parallel RC. The output of the parallel RC is joined to a Voltage Sensor and this is joined to a PS->Simulink and this to a Scope block.
My input signal is a random pulse signal.
I connect the input signal to the Simulink-Ps converter but i can't join this to the parallel RC circuit (i use a solver configuration block).
My project consist in represent the frequency response of a circuit that is excited by a random pulse signal. (low frequency, 1Hz to 1000Hz). Can i use Simscape? or is better use SimRF blocks?
The model is:
http://subefotos.com/ver/?5b061479910994dc4a916f57b25605fao.jpg#codigos
Thanks in advanced.
Néstor
Guy Rouleau
Guy Rouleau il 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.
thank you Mr. Guy its a helpful topic for me.

Accedi per commentare.

Più risposte (1)

Aswin ram V
Aswin ram V il 3 Set 2022

0 voti

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 Commenti

mhu
mhu il 23 Set 2023
I also have this problem right now, please answer.
Prinsca
Prinsca il 23 Feb 2024
Please were you able to slove the problem

Accedi per commentare.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by