Frequency dependent components in simulink or simscape
이전 댓글 표시
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?
답변 (1개)
Saurabh
2024년 3월 18일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Electrical Sensors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!