Model the equation of a RLC circuit and solve it by Euler Method
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Yulissa Gallardo
el 22 de Feb. de 2023
Respondida: Shivam Gothi
el 23 de Ag. de 2024 a las 8:29
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 comentario
Jan
el 22 de Feb. de 2023
Please post the current code and explain the difference between your and the wanted result.
Respuestas (1)
Shivam Gothi
el 23 de Ag. de 2024 a las 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 comentarios
Ver también
Categorías
Más información sobre Circuits and Systems en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!