Frequency dependent components in simulink or simscape

18 views (last 30 days)
Hello I am trying to implement a circuit. The resistor and capacitor in the circuit are frequency dependent. How can I implement a frequency dependent resistor and capacitor in Simulink?

Answers (1)

Saurabh
Saurabh on 18 Mar 2024
Hello, Manaswini
I can figure out is that there is a circuit with a frequency-dependent capacitor and a frequency-dependent resistor. I am thinking that frequency can be any kind of polynomial function and that there is a relationship between a resistor, frequency, and capacitor.
Thus, we can use a "S-Function" or "MATLAB Function" block to create the mathematical model of the frequency-dependent resistor or capacitor. The relationship between frequency and resistor or capacitor can be coded based on your requirements.
A means to supply the frequency signal affecting both components behavior needs to be implemented:
  • A constant block may be used for a constant frequency.
  • For a frequency that varies over time, a sine wave block can create a signal with changing frequency.
For further information regarding "S-Function" or "MATLAB Function" block following documentation links can be referred:
I hope this was helpful.

Products

Community Treasure Hunt

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

Start Hunting!