Continuous and discontinuous modes of series excited DC motors

Click For Summary
SUMMARY

This discussion focuses on the analysis of continuous and discontinuous modes of series excited DC motors using MATLAB. The user shared a MATLAB script that calculates speed-torque characteristics based on various parameters such as armature resistance (Ra), armature inductance (La), and supply voltage (vm). The user encountered incorrect results and sought assistance in debugging the code, specifically regarding the calculation of average voltage (vt) and its impact on speed and torque outputs.

PREREQUISITES
  • Understanding of series excited DC motor principles
  • Familiarity with MATLAB programming and syntax
  • Knowledge of electrical engineering concepts such as torque and speed calculations
  • Basic understanding of trigonometric functions and their applications in motor analysis
NEXT STEPS
  • Review MATLAB documentation for numerical methods and debugging techniques
  • Learn about the mathematical modeling of DC motors, focusing on torque-speed characteristics
  • Explore MATLAB's plotting functions to visualize motor performance data effectively
  • Investigate the impact of varying parameters such as armature resistance and inductance on motor performance
USEFUL FOR

Electrical engineers, control system designers, and students studying motor dynamics who seek to understand the behavior of series excited DC motors and improve their MATLAB coding skills for motor simulations.

Fatima Hasan
Messages
315
Reaction score
14
Homework Statement
Attached below.
Relevant Equations
-
Here's my attempt:
Matlab:
clc;
clear all;
Ra=1.8;
La=150*10^(-3);
Ls=150*10^(-3);
Rs=1.8;
Rt=Rs+Ra;
ws=100*pi;
c=1.25;
vrms=240;
vm=240*sqrt(2);
f=50;
T=1:0.5:50;

for a=0:pi/9:pi/3
vt=(2*vm*cos(a))/pi

wc=((ws*(Ls+La)/tan(a))-Rs-Ra)/c;
x=[wc; a+pi];
Tc=c*(2*vm*cos(a)/(pi*(c*wc+Ra+Rs)))^2;

for i=1:length(T)
    if T(i)>Tc % Continuous Mode
        w(i)=vt/(c*sqrt(T(i)))-Rt/c;
        
else %Discontinuous Mode
for j=1:100
g1=sin(x(1)-x(2))-sin(a-x(2))*exp(-(x(1)-a)/(tan(x(2))));
%Ia=sqrt(T)=sqrt(vt/(c*sqrt(T(i)))-Rt/c);
g2=vm*(cos(a)-cos(x(1)))*tan(x(2))-pi*ws*(Ls+La)*sqrt(vt/(c*sqrt(T(i)))-Rt/c);
G=[g1; g2];
J11=cos(x(1)-x(2))+sin((a-x(2))/(tan(x(2))))*exp(-(x(1)-a)/(tan(x(2))))
J12=-cos(x(1)-x(2))+cos(a-x(2))*exp(-(x(1)-a)/tan(x(2)))-sin(a-x(2))*exp(-(x(1)-a)/tan(x(2)))*(x(1)-a)/(sin(x(2))^2)
J21=vm*sin(x(1))*tan(x(2))
J22=vm*(cos(a)-cos(x(1)))/(cos(x(2)))^2
J=[J11 J12; J21 J22];
x=x-inv(J)*G
end
w(i)=x(1);
end
end
n=w*60/(2*pi);
plot(T,n)
end
 legend('a=0 deg','a=20 deg','a=40 deg','a=60 deg')
 title('Speed-Torque Characteristics')
 xlabel('Torque (N.m)')
 ylabel('Speed (rpm)')

I got a wrong result, I attached it below.
Could someone let me know where is my mistake please?
 

Attachments

  • The problem.JPG
    The problem.JPG
    72.7 KB · Views: 199
  • result.JPG
    result.JPG
    30.6 KB · Views: 221
Physics news on Phys.org
I don't know how MATLAB works.

I can do the calculation using Visual Basic [or even Microsoft Excel]

It is hard to guess what the symbol meanings are.

In my opinion vt it has to be average Vo(t). In this case vt=Vm*[1+cos(α)].

According to my calculation for α=0 rpm=311.9 and torque=3.6 Nm; for α=30 rpm=180 and torque=9.28Nm; α=60 rpm=69.6 and torque=38.2 Nm

If α<=60o[1.045 rad] the non-conduction time it is α /(2.π.50)=0.0033 sec.

[if T=(0.3/3.6)=0.0833 sec] Ia=1.9.e^(-t/T)=1.8262 A
 
Sorry.Correction: vt=Vm*[1+cos(α)]/π
 
If I remember correctly, the calculation formulas for DC motors are as follows:
 

Attachments

  • rpm_function of Nm formulae.jpg
    rpm_function of Nm formulae.jpg
    83.1 KB · Views: 232
  • rpm_function of Nm.jpg
    rpm_function of Nm.jpg
    31.1 KB · Views: 183
  • controlled diode.jpg
    controlled diode.jpg
    28.9 KB · Views: 180

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 20 ·
Replies
20
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
4
Views
2K