필터 지우기
필터 지우기

How can I implement a frequency-dependent resistor in Simulink?

조회 수: 18 (최근 30일)
Angelis Karlos
Angelis Karlos 2017년 10월 17일
댓글: Bruno Neri 2017년 11월 21일
Hello,
I have an electrical circuit describing a mechanical system, in which there is a frequency-dependent resistor, following a formula of R=R_0*sqrt(f). I was wondering how I can define such a resistor in Simulink. I have made the model using Simulink components, not physical ones.
Thanks, Angelis Karlos

답변 (1개)

David Ding
David Ding 2017년 10월 19일
Hi Angelis,
My understanding is that you have an electrical circuit in Simulink, and you would like to model a variable resistor dependent on some frequency value.
There are only two places where you can find a variable resistor in Simulink. One is under RF Blockset and the other is under Simscape. In both cases, the usage of the variable resistor is the same. The resistor block will have three ports: positive node, negative node, and the inport where the resistance is determined.
For the RF Blockset, you may find the "Variable Resistor" block under RF Blockset -> Circuit Envelope -> Elements". You may feed the "R" port of that block with the resistance defined as per your formula, using a MATLAB function block, for example.
If you are using Simscape, the "Variable Resistor" block is found under Simscape->Foundation Library->Electrical->Electrical Elements. The usage is similar to that in the RF Blockset.
More information about using MATLAB function block to define your resistance formula is found below:
Thanks,
David
  댓글 수: 1
Bruno Neri
Bruno Neri 2017년 11월 21일
Hi David, I have kind of the same problem, but I didn't really unterstand your answer.
I have to implement the resistance of an Inductor at one of my simulations. But the value of the resistance given by the manufacturer changes according to the frequency. I'd have to implement it up to the 50th Harmonic. And all of the components are connected to the system. Which means, that resistance would have different values for different frequencies at the same simulation. I could "call" the resistance values from a vector since I already them.
Is that possible to implement?

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by