Frequency dependent components in simulink or simscape
Afficher commentaires plus anciens
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?
Réponses (1)
Saurabh
le 18 Mar 2024
0 votes
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:
- https://www.mathworks.com/help/simulink/slref/sfunction.html?searchHighlight=s%20function&s_tid=srchtitle_support_results_1_s%2520function
- https://www.mathworks.com/help/simulink/slref/matlabfunction.html?searchHighlight=matlab%20function&s_tid=srchtitle_support_results_4_matlab%2520function
I hope this was helpful.
Catégories
En savoir plus sur Electrical Sensors dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!