Model the equation of a RLC circuit and solve it by Euler Method
12 次查看(过去 30 天)
显示 更早的评论
Hi I need to develop a RLC model by Euler method and develop a grahp of current and voltage, something like shown in the image
I neet to use the values of
R=5
C=0.01e-6
L=0.5
h=0.00001
and it must start in zero
I have been trying but I can´t get the result shown in the picture, please, help me
1 个评论
Jan
2023-2-22
Please post the current code and explain the difference between your and the wanted result.
回答(1 个)
Shivam Gothi
2024-8-23
Hello,
I understand that you are trying to simulate a RLC circuit and obtain the results as shown in the attached images.
The natural frequency of oscillation for series RLC circuit can be found from formula:
The values of R, L, and C provided by you, yields natural frequency () ≈2252 Hz.
From the waveforms of voltages and currents attached by you, the frequency of oscillation comes out to be approximately 150 Hz.
As a conclusion, with the above provided values of R, L and C, it is not possible to get the results as attached in the images.
Kindly try to readjust the value of R, L and C to get the desired results.
I have attached the MATLAB code file “RLC_Series_Ckt”, which solves the RLC circuit using Backward Euler method. I passed the values of R, L, C and h as provided by you. The results obtained by running the code are shown below.
You can readjust the values of R, L, and C in the code to get the solution you desire.
Hope this solves the issue.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Circuits and Systems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!