How to use Simulink to gain the oscillation frequency of RLC circuit?
13 次查看(过去 30 天)
显示 更早的评论
I have a RLC system as below, the question is how i use the Simulink to gain the oscillation frequency because solving the equations sounds too low, lol. The signal builder is used to emit a impulse signal and the spectrum analysis is used to calculate the frequency, and I don't know is it right? because the result seems wrong. If it is wrong, how i should do to gain the frequency?
0 个评论
回答(2 个)
Sriram Narayanan
2015-5-4
It is not very clear when you mentioned "How I use Simulink to gain the oscillation frequency"? Can you please explain more about your use case and share your model if possible?
Sebastian Castro
2015-5-8
编辑:Sebastian Castro
2015-5-8
1. I think the Spectrum Analyzer block expects a discrete-time signal... So, you can either change the simulation mode of your model from the powergui block, or use a Rate Transition block on the sensed signals to get them sampled. Of course, you need to make sure your sampling rate is high enough.
2. Another thing people usually do with SimPowerSystems models is use the FFT Analysis tool in the powergui block. This will give you an FFT for those particular simulation results.
To do this, you should measure the current (or voltage) in a Scope block, turn on Structure with Time logging in the Scope, and then pull up that FFT Analysis tool from powergui.
3. I almost forgot, there is also an Impedance Measurement block in SimPowerSystems which can be coupled with the Impedance vs. Frequency Measurement option in powergui. You basically connect this block across the terminals you care about, and then you get an impedance over a specified frequency sweep.
Check that out and see if it gives you the right frequency peak(s).
- Sebastian
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulation and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!