0% found this document useful (0 votes)
8 views2 pages

DC Motor Closed-Loop Simulation Guide

Uploaded by

Rahul Vispute
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views2 pages

DC Motor Closed-Loop Simulation Guide

Uploaded by

Rahul Vispute
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

%% Program to simulate closed-loop system with ideal real as a nonlinearity

% Separately excited DC motor with a voltage of 200 V, armature current


% of 10.5 A, speed of 2000 rpm, armature resistance of 0.5 ohm, armature
% inductance of 0.2 H, field resistance of 400 ohm, field inductance of
% 200 H, and moment of inertia of 3 kgm^2. Load torque is assumed proportional
% to speed as T_L = bw, where b = 0.0408 Nmsec/rad.
% Name of the Student:
% Roll number:
close all
clear all
clc

%% DC motor transfer function (assuming H(s)=1)


% DC Motor Parameters
R=0.5; % Armature Resistance (ohm)
L=0.2; % Armature inductance (H)
Kt=0.929; % Torque Constant (Nm/Amp)
Kb=0.929; % Back emf Constant (V.s/rad)
J=3; % Moment of inertia (kg.m^2)
b=0.0408; % Friction Constant (Nm.s/rad)
V=200; % Armature voltage (V)

%% Transfer function of DC Motor with angular displacement


% as output and armature voltage (V) as input
num=[Kt];
den=[J*L (R*J+b*L) (R*b+Kt*Kb) 0];
G=tf(num,den);
%% The describing function for an ideal relay
Y = @(E) 4 ./ (pi .* E);

% Plot the Nyquist diagram negative inverse of Y(E)


x = linspace(0,5,1000);
figure(1)
subplot(2,1,1)
plot(x, real(Y(x)), 'b')
hold on
plot(x, imag(Y(x)), 'r')
grid on
xlabel('E')
ylabel('Y(E)')
legend('Real Part of Y(E)', 'Imaginary Part of Y(E)')
title('Real and imaginary parts of an Ideal relay')
axis([0,5,0,5])
subplot(2,1,2)
plot(real(-1./Y(x)), imag(-1./Y(x)), 'r')
grid on
xlabel('Real Part')
ylabel('Imaginary Part')
title('Describing function for an Ideal relay')
%% Nyquist plot
figure(2)
plot(real(-1./Y(x)), imag(-1./Y(x)), 'r')
hold on
nyquist(G)
grid on

%% From Figure 2, locate the point of the crossing of negative real axis and
% note down frequency (w) and magnitude (M)
w=1.22;
M=0.416;
E=(4*M)/pi;
T=(2*pi)/w;

%% Develop a Simulink model and provide input as e=E sin(wt)


open('Describing_Fun_Model2_DC_Motor.slx')
% Observe graphs in Simulink model

Common questions

Powered by AI

The moment of inertia (J=3 kg.m^2) affects the motor's acceleration and deceleration characteristics. A larger moment of inertia implies slower acceleration and more stored energy during rotational motion, leading to dampened responses to control inputs and resistance to quick speed changes. This inertia must be considered in control design to ensure proper stability and responsiveness of the motor system under different loading conditions .

Having the torque constant (Kt) equal to the back EMF constant (Kb) implies a theoretical ideal scenario where transduction efficiency between electrical and mechanical energy is maximized without losses, often assumed in control simulations for simplicity and idealization. This equality suggests that for every unit of current or speed, the system contributes equally to torque and generated voltage, simplifying stability analysis and design calculations .

The ideal relay non-linearity impacts the DC motor's performance by introducing discontinuous control action, which can lead to phenomena like oscillations or limit cycles if not properly managed. The describing function method is used to approximate the non-linear behavior and determine conditions such as gain and phase margins where the system remains stable. It highlights the system's ability to tolerate or compensate non-linear effects without degrading the motor's performance significantly .

The transfer function G(s) derived with armature voltage as input and angular displacement as output provides insights into the motor's dynamic behavior characterized by poles and zeros. It helps in predicting the response to control inputs, thus aiding in selecting appropriate controllers to enhance stability, transient response, or steady-state error. The coefficients within the denominator reflect combined effects of inertia, resistance, and inductance, providing a detailed framework for evaluating performance under various operating conditions .

Describing functions offer a practical means of approximating non-linear systems by representing them as quasi-linear, facilitating the use of linear analysis tools like Nyquist diagrams. However, they assume harmonic balance and may not capture higher harmonics or transient dynamics accurately, leading to potential errors in predicting system behavior around non-linear boundaries. Additionally, describing functions are limited to narrow bandwidths of interest and can oversimplify complex interactions within the system, affecting precision in highly dynamic or multi-modal environments .

In the discussed DC motor system, load torque (T_L) is defined as being proportional to speed, expressed as T_L = bw where b = 0.0408 Nmsec/rad. This implies that the load torque increases linearly with speed, representing a common real-world scenario where resistance due to friction or other dynamical loads affect the motor. This relationship is crucial for designing control systems that maintain desired motor performance under varying loads .

The critical parameters for simulating the DC motor's closed-loop system include the armature resistance (R=0.5 ohm), armature inductance (L=0.2 H), torque constant (Kt=0.929 Nm/Amp), back EMF constant (Kb=0.929 V.s/rad), moment of inertia (J=3 kg.m^2), friction constant (b=0.0408 Nm.s/rad), and the applied voltage (V=200V). Each parameter is significant because they collectively define the motor's dynamics and response to loading conditions; for instance, armature resistance and inductance influence current flow and magnetic field development, while the torque and back EMF constants affect the motor's torque-speed relationship .

Using an ideal relay in control system study allows for analyzing how non-linear switching affects system stability and performance, essential for systems subject to on-off control methods. It helps in exploring phenomena like limit cycles and assesses the relay's impact on gain and phase margins. Despite offering insights into specific non-linearities, reliance on ideal relays can simplify assumptions that may not hold true in real-world applications where environmental noise or parameter variance exist .

The Nyquist diagram is significant as it provides a graphical method to evaluate the stability of the closed-loop control system when an ideal relay non-linearity is present. By plotting the negative inverse of the describing function Y(E) of the relay and the system's loop transfer function, the diagram visually demonstrates how close the system is to reaching instability or limit cycling, as indicated by crossing of the negative real axis .

The approach involves creating a Simulink model that inputs a sinusoidal voltage e = E sin(wt) to simulate the system's closed-loop behavior. The purpose is to observe the dynamic response and verify theoretical predictions such as oscillation frequencies or amplitude under ideal relay non-linearity conditions. This allows validation and tuning of control strategies in a visual and interactive computing environment .

You might also like