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

10 次查看(过去 30 天)
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