Model the equation of a RLC circuit and solve it by Euler Method
조회 수: 6 (최근 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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1303750/image.jpeg)
댓글 수: 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일 8:29
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1758504/image.png)
The values of R, L, and C provided by you, yields natural frequency (
) ≈2252 Hz.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1758509/image.png)
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1758514/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1758519/image.png)
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!