Simulink: resistor with variable resistance during simulation

조회 수: 13 (최근 30일)
Toverland
Toverland 2016년 1월 20일
댓글: RAMI TROUDI 2021년 11월 18일
Hi. I´m trying to find a way to change the resistance in a resistor during simulation in simulink. I have been using the fundamental blocks in the SimPowerSystem package from Simscape and I have a functional circuit for non-variable resistors. What I want is a resistor block were instead of the parameter R (ohm) I could insert a vector with different resistance values. Is there such a block or is there a way to create a block of this kind? I´m currently using the "parallel RLC branch" block for my electrical components.
I will be using this to model a thermal equivalent circuit for a loudspeaker and this variable shifting resistance is supposed to model the forced convection created by the membrane during operation.
  댓글 수: 2
Yuebin Zhou
Yuebin Zhou 2016년 1월 22일
It is not possible to change the value of the R/C/L parameters during the simulation. SimPowerSystems calculates the state-space equations for a given set of R, L, and C parameters just before the simulation starts. The ability to force changes in the R/L/C parameters will require re-computing state-space equations on the fly. Hence, these parameters are set to non-tunable.
If you want a variable resistor, please see the component below:
Pamela Jackson
Pamela Jackson 2020년 4월 29일
In this example, it says to connect physical signal at thr R input port. What is this physical signal to connect to it?

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

답변 (1개)

Sebastian Castro
Sebastian Castro 2016년 1월 24일
편집: Sebastian Castro 2016년 1월 24일
The approach that Yuebin above proposed is good if you're using Simscape, SimElectronics, or the SimPowerSystems Simscape Components library.
If you're using SimPowerSystems Specialized Technology, these blocks won't directly connect. You would be better off creating a custom variable resistor as in the following example:
- Sebastian

카테고리

Help CenterFile Exchange에서 Electrical Systems에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by