Pages

Friday, March 29, 2013

Induction Machine Model for Start-Up Simulation

     This article is about the basic modelling of induction machine using the delta equivalent circuit parameters. With this model, we can easily observe how input voltage, stator current, electromechanical torque and shaft speed changes with time during start-up. Basic mathematical model of an induction machine is formed using the mathematical equations of current,torque and mechanical motion equation. The mathematical model is simulated for 1 second to observe the start-up situation. The MATLAB model for this purpose is as stated below;

% Induction Motor Model

t = 0:0.001:1; % 1sec simulation with time step of 0.001 sec
dt = 0.001;

% Motor Parameters
R1 = 0.205; % Ohm
R2 = 1.408; % Referred value, Ohm
X1 = 1.507; % Ohm
X2 = 1.507; % Ohm
Rc = 315.6; % Shunt branch, Ohm
Xm = 42.5; % Shunt branch, Ohm
Vin = 537.4*cos(2*pi*50*t); % Input voltage,50 Hz, Vphase 220 V
I = zeros(1,1001);
s = 1; % slip=1 at the beginning
w = zeros(1,1001); % rotor speed
Pe = 0; % Electromechanical power output
Te = zeros(1,1001); % Electromechanical torque
Jm = 0.1285; % kg/m2 , Inertia of machine

% Load parameters
Tl = 0; % Load Torque
Jl = 0; % Load Inertia

Xeq = X1 + X2;
Leq = Xeq / 100 / pi;

    
for n=2:1001
   Vth = abs(1i*Xm/(R1 + 1i*(X1 + Xm))*Vin(1,n)); 
   I(1,n) = (Vin(1,n) + I(1,n-1)*Leq/dt) / (R1 + R2/s + Leq/dt); % Motor Current 
   Te(1,n) = 3*Vth^2*R2/((R1 + R2/s)^2 + (X1 + X2)^2)/s/100/pi; % Electromechanical Torque
   
   % Torque balance equation
   w(1,n) = w(1,n-1) + (Te(1,n) - Tl)/(Jm + Jl)*dt; % new speed value 
   s = (100*pi-w(1,n))/100/pi ; % new slip value
end

     After we run this code, w, Te and I vectors against time is created at the workspace. We can plot them to see their variation in time during start-up.

     Simulation Results (NO-LOAD Start-Up)



 Simulation Results (LOAD with only inertia no torque Start-Up , inertia Jload = 3xJmotor)


     Summary
     
     Note that the in rush current of the motor start-up is easily observed in current graphs. 
     Note that the results are for 2 pole machine
     When a load of only inertia that is 3 times larger than motor inertia, the start-up time is increased.
     Please investigate the torque graphs, the mean of the torque values shows a typical torque-speed curve, which is expected.
     Since there is no load torque and friction&windage torque is neglected, the motor current reduced to zero after rated speed is reached. 

     What if the motor is suddenly loaded with a constant torque of 40 Nm during 1.5 < t < 1.7 sec ?


MATLAB can be get from Amazon at link,
http://www.amazon.com/MATLAB-SIMULINK-Student-Version-R2007a/dp/0979223903/ref=sr_1_1?s=software&ie=UTF8&qid=1364394510&sr=1-1&keywords=matlab+software



Wednesday, March 27, 2013

POWER SYSTEM HARMONICS IN DETAIL: Subject 1: Effect of Two Closely Located Harmonics

     Harmonics in power system can be basicly introduced as the unintended frequency components, generally higher than system frequency, of current or voltage in the power system. The sources of current harmonics and the harm of them to the power system is stated in an article about Active Power Filters in the blog, thus; I will skip that part. Instead of the drowning in details, I will mention the case of two very closely located harmonics and their effect on harmonic spectrum. Almost everyone who is dealing with power system signal processing can know that the close harmonics tend to increase the magnitude of frequencies between them in FFT spectrum. However, the point that I will draw attention will be a different side of this situation, actually, the behaviors while they are approaching each other to almost 2 Hz. 
     Some loads in Metal Industry behaves very different than other widely known industrial load. For example, arc furnaces, laddle furnaces or induction furnaces for metal melting purposes have very distructive behaviours to the power system. For the introduction of this article, I will briefly mention some behaviours of induction furnaces. For one of the induction furnaces that I take measurements with my collegues in the field, We recognised that the load creates harmonic spectrum other than the characteristics of any other load in industry. The induction furnace creates variety of interharmonics whose frequency value is changing dynamically between 280 Hz and 550 Hz. In other words, there are not fixed frequency harmonics, there can be for example 312 Hz harmonic currents, while the harmonic was in 290 Hz 10 minutes before 312 Hz. The harmonic frequencies are changing during the melting process. I and my collegues are recognised that there can be two harmonics ,which are 2 Hz apart each other, at the same time. Let me know explain what happens at this case.
     
     As you may know the whole current or voltage signal can be expressed as the sum of fundemental and harmonics frequency sine waves. Therefore, for our example ,for the sake of simplicity, we can consider the sum of 282 Hz and 280 Hz harmonic components whose magnitudes are A and B, respectively. Considering the fundemental Cosine Sum formulation in equation (1), we can apply the rule to our power system signal to get equation (2).

     For the sake of simplicity, we can consider that the phases of our harmonics are equal to zero in order to reach equation (3). If we consider that the magnitudes A and B of the harmonic components are equal to each other as A, we can reach to equation (4).



     When we apply our example to the equation (3) , by putting the frequency values 282 and 280 Hz, we can reach to the result of equation (5). Similarly if we consider that the magnitudes of the harmonics are the same at A, the equation (6) is reached. What is the interpretation of the equation (5) ? Equation (5) means a 282 Hz signal whose amplitude is modulated with a sine wave of 1 Hz. The physical meaning of this situation is that the 282 Hz harmonic component has high magnitude during 0.5 seconds and low magnitude in the following 0.5 seconds. Actually, if you have an active or passive filter for filtering this harmonic, you can hear an audible voice whose intensity is increasing and decreasing at every 0.5 seconds. What if the magnitudes are the same for two harmonics ? This causes the most severe result. The magnitude of the harmonic is increased up to double and decreased down to zero at a frequency of 1 Hz. Similarly, the physical meaning of this situation in active or passive filter case gives that the audible voice is extremely increased and totally ceased with a period of 0.5 seconds.

     Now let me verify this situation using MATLAB.
MATLAB can be get from Amazon at link,
http://www.amazon.com/MATLAB-SIMULINK-Student-Version-R2007a/dp/0979223903/ref=sr_1_1?s=software&ie=UTF8&qid=1364394510&sr=1-1&keywords=matlab+software

Used MATLAB code for different magnitudes;

t = 0:1.5625e-4:1; % 6400 samples/second sampling frequency
A = 1; % magnitude of 282 Hz component
B = 0.3; % magnitude of 280 Hz component
X = A*cos(2*pi*282*t) + B*cos(2*pi*280*t); % Signal to be analysed
plot(X); % plotting the resultant waveform

Figure 1: Resultant Waveform with A = 1 and B = 0.3

Figure 2: Resultant Waveform(zoomed) with A = 1 and B = 0.3

Used MATLAB code for same magnitudes;

t = 0:1.5625e-4:1; % 6400 samples/second sampling frequency
A = 1; % magnitude of 282 Hz component
B = 1; % magnitude of 280 Hz component
X = A*cos(2*pi*282*t) + B*cos(2*pi*280*t); % Signal to be analysed
plot(X); % plotting the resultant waveform



Figure 3: Resultant Waveform with A = 1 and B = 1

Figure 4: Resultant Waveform with(zoomed) A = 1 and B = 1