MATLAB Answers

Filip Výmola

How create serial RLC circuit in Simulink?

Asked by Filip Výmola
on 9 May 2013

Hi, I have small problem. I do serial RLC circuit in Simulink. I created scheme, have defined constat (capacitor, coil and resistor), but it isn't work. Output waveform isn't correct. Maybe I have wrongly set the source. There are equation, scheme and values:

Values: L = 0.3; C = 4*10^-5; R = 2 Source: Amplitude 20V; Frequency: 50 Hz

How set the source to the correct output? My output is here:



No products are associated with this question.

1 Answer

Answer by John Doe
on 9 May 2013
Edited by John Doe
on 9 May 2013

It looks as though your intial conditions are 0 for both integrators.

Are you supposed to simulate the system in steady-state? One of your initial values are probably incorrect. Are you given any additional information in your assignment?

(I haven't tried it out, but try setting the intial current to 0.0603). It is almost 90 degrees out of phase with the voltage

current = V/(R+1i*2*pi*f-1i/(2*pi*f*C)); % In steady state (as phasor).

- Rob


Join the 15-year community celebration.

Play games and win prizes!

Learn more
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!