Simulate a Chopper of Class A circuit in MATLAB Simulink

6 replies · 3K views · last reply
Fatima Hasan
Messages
315
Reaction score
14
Homework Statement
Attached below.
Relevant Equations
-
Bulleted list of DC drive parameters: 240 V DC source; DC machine with Ra=0.5 Ω, La=10 mH, Rf=240 Ω, Lf=15 H, C=Kφ=2 V/rad.s, J=0.2053 kg.m², field voltage 240 V; load torque TL=10 Nm motoring, -10 Nm regeneration; smoothing inductor L=0.5 H.

Screenshot of a homework assignment text asking to construct a MATLAB/Simulink file for a chopper operable in any quadrant, with a 20 mS pulse generator period and varying duty cycle.
Simulink model of a Class A DC chopper driving a series DC machine, with Vdc source, four switches Sw1 to Sw4 with diodes D1 to D4, a series RLC branch, Scope and Scope1 outputs, and a Dot Product and Integrator block computing energy.


I tried to simulate the circuit but I got unreliable results. Here's what I got when I set the duty cycle to be 20%:
Stop Time = 0.02

Simulink block diagram of a DC chopper drive: DC source Vin feeding switch and diode pairs P1 to P4 into a DC motor block with armature and field windings, with scopes, meters showing 1.152 input power, 3.309 speed, 1.241 output power, 107.8 efficiency and 44.41.

The efficiency is more than100%.

Here's the parameters:
Simulink Pulse Generator block parameter dialog with handwritten red title 'Pulse Generator': Amplitude 1, Period (secs) 20e-3, Pulse Width (% of period) 20, Phase delay (secs) 0.
Screenshot of the Simulink Transport Delay block dialog with handwritten red label Transport Delay; Time delay set to 1, Initial output 0, Initial buffer size 1024, Use fixed buffer size unchecked.
Simulink parameter dialog for a DC Machine block with the Parameters tab open: armature [0.5 10e-3], field [240 15], mutual inductance 2, inertia 0.2053, friction 0, initial speed 1.

Could someone please let me where is my mistake?
 
I'm definitely not an expert on this, but just looking at the numbers, these seem inconsistent.

What is the time constant of the Field winding?
How does that compare with the Stop Time?
 
Tom.G said:
I'm definitely not an expert on this, but just looking at the numbers, these seem inconsistent.

What is the time constant of the Field winding?
How does that compare with the Stop Time?
I modified the stop time and kept it equal to 10 sec. I got reasonable results. However, in the following part, I didn't.

To simulate a lift, let assume that the load torque is 20 Nm while going up and 10 Nm while going down as shown in figure 2(a). Also let the time of going up is 10 seconds and 10 seconds while going down. This can be done by gating the switches of figure 2 by the control blocks shown in figure 2(b).
Lift simulation figure: a) step plot of load torque TL in Nm, 20 Nm until 10 s then 10 Nm to 20 s; b) block diagram with two pulse generators (period 0.02 S and period 20 S, duty cycle 50 %) feeding a product block to output P1, a delay-by-10 S block to P3, and a period 20 S pulse generator feeding P4 and a delay-by-10 S block to P2.

Using figures 1 and 2, run the simulation for 20 s and record the machine speed, the power absorbed or generated by the machine, and the energy absorbed by the machine at times 9.999 seconds and 19.999 seconds respectively.

What are the differences of the speed and the output power in both cases (when t=9.999 and = 19.999 seconds) ?
 
Attachments
  • Simulink block diagram of a chopper-fed DC motor drive with H-bridge switches P1 to P4, a DC motor block, and a scope and display blocks showing speed, output power, input power, efficiency and energy.
    1609110059233.png
    21.6 KB · Views: 293
Fatima Hasan said:
What are the differences of the speed and the output power in both cases (when t=9.999 and = 19.999 seconds) ?
I don't know, I haven't run the simulation and know nothing about either MATLAB or Simulink. I (think) I can understand the diagram fairly well and don't spot any major errors.

Something that stands out though is:
Fatima Hasan said:
...let assume that the load torque is 20 Nm while going up and 10 Nm while going down...
But the problem statement says:
Applied load torque (TL=10nm during motoring and -10nm during regeneration)

...
Oh, Just spotted a questionable entry in the Parameters entries. Specifically the
Initial speed (rad/s) shows "1". Does this mean the motor is already running when the simulation starts?

Cheers,
Tom
 
Tom.G said:
Specifically the
Initial speed (rad/s) shows "1".
Even when I changed it, the results didn't change.
Also, the energy in both cases are negative. Is that reasonable?
 
The only thing I see is that the circuit in post #1 is different than the attached circuit in post # 5. If you are using the the circuit in post #1, try the one in post #5, it may give more realistic results.

I just put in a request for help on this. It may take a couple days for a response, but SOMEONE almost always does!

Sorry I couldn't be of more help, it looked a little simpler when I first looked at the problem. :sad:

Hang in there, we'll get thru it!

Cheers,
Tom
 
Increase your stop time to say 50 secs. Initially, during transient time none of the values will be stable.

Secondly, don't you also need to include field winding voltage and current for input power calculation?

Thirdly, since you are input and/or output signals are chopped, you need to do an average the input and output power after the transient period and then calculate efficiency.
 
  • Like
Likes   Reactions: Tom.G