1.
MODELLING THE RLC CIRCUITS USING SIMULINK
AIM
To model the RLC circuits by Model Based System Design (MBSD) approach using
MATLAB Simscape.
DESCRIPTION
In this experiment, model-based system design of the RLC circuits are briefed in detail.
The practice exercise provides hands on experience in the design ofSeries RLC Band pass and
Band Stop filter. In RLC circuit, the most fundamental elements of a resistor, inductor and
capacitor are connected with the voltage supply. All of these elements are linear and passive in
nature. Passive components are ones that consume energy rather than producing it; linear
elements are those which have a linear relationship between voltage and current.
There are number of ways of connecting these elements across voltage supply, but the
most common method is to connect these elements either in series or in parallel. The RLC
circuit exhibits the property of resonance in same way as LC circuit exhibits, but in this circuit
the oscillation dies out quickly as compared to LC circuit due to the presence of resistor in the
circuit.
PRE- REQUISITE
Simulation Tools:
MATLAB Simscape
Simulink Test
Simulink Requirements
Simulink Model Checks
PRACTICE EXERCISES
EXERCISE 1:
Modelling of Series RLC Circuit
1. Consider the simple RLC circuit shown in Figure 1.
Fig.1.Series RLC Circuit
2. From the Figure 1,series RLC circuits is expressed as following,
Let
VR be the voltage across resistor, R.
VL be the voltage across inductor, L.
VC be the voltage across capacitor, C.
I(t) be the current.
be the resonant frequency.
3. Design the Simscape diagram using the above-mentioned requirements in MATLAB.
Fig.2. Modelling of Series RLC Band Pass Filter Circuit.
Figure 2 deals with the Simscape model of RLC Circuit. In this RLC Series Model,
the RLC Band pass filter circuitis built.
4. The Figure3 addresses the Simscape model of the series RLC Band Stop circuit
simulated in MATLAB Simscape tool.
Fig.3.Modelling of Series RLC Band Stop Filter Circuit
The Figure 3 addresses the Simscape model of the series RLC Band Stop circuit
simulated in MATLAB Simscape tool.
5. Add the Requirements and attach it to the appropriate sub systems and functions
designed in the RLC Model.
Requirements are description of features and functionalities of the target system or
model. Requirements convey the expectations of the users from the product.
Requirement Specification
1. Design of RLC Band Pass and Band stop Filter usingSimscape
o Design Specifications
The RLC component values and excitation (Vin) to the modelled system as
follows,
Sinusoidal Input as source voltage, 10V
Resistance value is 10 kilo ohms, Specifications
Inductance value is 0.1 Henry,
Capacitance value is 0.1 milli Farad.
Resonant Frequency = ,which is equal to 50 HZ
√
Fig.4.Requirements Linked with Series RLC Band Pass filter
The Figure 4 addresses the requirements linked to the designed Series RLC Band
Pass filter
Fig. 5. Requirements Linked with Series RLC Band Stop filter
The Figure 5 addresses the requirements linked to the designed Series RLC Band
stop filter
6. Create the Test Harness and Test Sequence for the RLC model and debug the
errorsdetected during the simulation run.
Test Harness is used to a program or model by running it under varying
conditions and monitoring its program or model behavior and outputs.
Fig.6.Test Harness for Series RLC Band Pass filter
Fig.7.Test Harness for the Series RLC Band Stop filter
Fig.8. Test Sequence for the Series RLC Band Pass filter
Fig.9. Test Sequence for the Series RLC Band Stop filter
Figure 6, 7,8 and 9 shows the Test sequences and Test harness developed for
Serie RLC Band Pass- Band Stop filter
7. Add each Requirement to each distinct test plan created for the model.
Fig.10. Test Plan Suite
8. Create test plan and run the created test plan of the model.
Fig.11. Test Plan Run
Fig.12.Test Plan Run Verification Status
Figure 11,12 shows the verification run status of test plan run
9. Generate the Model Test and Model Checks Report for the designed RLC model.
OUTPUT
Figure 4 shows the graphical output of thevoltage amplitude variation occurs and
addresses the variation in voltage amplitude with respect to change in input frequency
in the Series RLC Band Pass Filter Design
Fig.4 Output of Series RLC Band Pass Filter Circuit
Figure 5 shows the graphical output of the voltage amplitude variation occurs and
addresses the variation in voltage amplitude with respect to change in input frequency
in the Series RLC Band Stop Filter Design
Fig.5 Output of Series RLC Band Stop Filter Circuit
LEARNING OUTCOMES
The students are able to implement the basiccircuit using Model based design method in
MATLAB Simscape.
Utilize the tools used for model-based system design approach in MATLAB.
EXERCISE2
Design a Parallel combination of RLC using Ordinary Differential Equation (ODE) in
MATLABSimulink.
Fig.13. Parallel RLC Circuit
INFERENCES
The RLC electronic circuits can be modelled using structures or equations.
The Voltages and Currents through each and every component can be obtained and used for
further processing.
APPLICATIONS
The RLC circuits are used asbandpass filter, band stop filter, high pass filter and lowpass filter
also in various applications such as variable tuned circuit, voltage multiplier, pulse discharge
and oscillators etc. Due to this wide range of application the performance of these component
as an RLC circuit have to be understood before use.
The methodology used in this experiment will reduce the cost of design also reduce the cost of
maintenance, making it economical and affordable.
CONCLUSION
In this experiment, designed the Series RLC circuits in Model Based System Design (MBSD)
approach based upon the proposed requirements and modelled using MATLAB Simscape.