EE 528 Modelling and Analysis of Electrical Machines
Assignment 2: Modelling and Simulation of Basic Circuits
Deadline: Oct. 4th, 2020
1. To develop SIMULINK simulation of variable frequency oscillator to
generate an orthogonal set of sine and cosine time functions of fixed
amplitude but adjustable frequency beginning with the following equation
of an oscillator:
where ω is the angular frequency.
Input: ω = 2πf, f =50, y1 = Vpksin ωt, y2 = -Vpksin ωt, Vpk = 1V
Cases:
Plot results without initial conditions,
Plot results with suitable initial conditions.
Output: Plots of y1, y2 for 4-5 cycles.
Hint: You may use RK5 solver with tolerance of 1e-5, minimum step-size of
0.0001 and maximum step-size of 0.01.
2. To develop SIMULINK simulation of parallel RLC circuit, as shown below
and to simulate dynamic response:
Input: Vs = 100 V (step input voltage value where step applied at 0.05s), Rs
= 50 Ohm, L = 0.1 H, and C = 1000 µF
Output: Plots of states i.e. inductor current and capacitor voltage for 1s.
Also explore the results at different places in circuit to get the output of
other quantities like, step voltage, current through resistor, capacitor, etc.
Hint: Consider inductor current and capacitor voltage as states of the
system. You may use Adams/Gear integration method with tolerance of 1e-5,
minimum step-size of 0.1 ms and maximum step-size of 1ms.
3. Repeat question no. 2, with parameterised model.
Hint: Develop a m-file to give parameter inputs and initialise it. In model
file, write only parameter variable like R, L,C, etc.
4. To develop SIMULINK simulation of series RL circuit with DC excitation
and to simulate its dynamic response.
Input: R = 0.4 Ohm, L = 0.04H, VDC = 10 V
Cases:
Plot results without initial conditions,
Plot results with suitable initial conditions.
Output: Plots of current waveform for 4-5 cycles.
Hint: You may use ODE45 solver with tolerance of 1e-5, minimum step-size
of 1ms and maximum step-size of 10ms.
5. To develop SIMULINK simulation of series RL circuit with AC excitation
and to simulate its dynamic response.
Input: ω = 2πf, f =50, VAC = 10sin ωt, R = 0.4 Ohm, L = 0.04H
Cases:
Plot results without initial conditions,
Plot results with suitable initial conditions.
Output: Plots of current waveform for 4-5 cycles.
Hint: You may use ODE45 solver with tolerance of 1e-5, minimum step-size
of 1ms and maximum step-size of 10ms.
How to generate report for Modelling and Simulation assignments:
1. Create a word-file for each assignment
2. Write mathematical modelling equations with proper derivation
and intermediate steps for each question
3. Develop suitable model in Matlab/Simulink
4. Copy and paste block diagram developed in Matlab/Simulink
5. Define different cases need to be simulate with numerical values
of parameters
6. Cop and paste plots of outputs of each cases
7. Write conclusions/inferences for each question
8. Similarly attempt all questions.
9. Submit pdf copy and model files. Model files name should be as
per the question number.