%this file contains the parameters that help to build the simulink blocks
J=0.01; %moment of inertia of the motor in kg-m^2
B = 0.1;%motor viscus friction constant in N-m-srun
Km = 0.01; �ck EMF constant in N-m/amp
Kt=0.01; %moto
% r Torque constant n-m/amp
Ra = 1.0;% risistance of armature circuit in ohm
La =0.5; %inductans of armature circuit in henries
<!-- [if mso]>
<![endif]-->
% parameters of spring mass system
m=100.0;
k=3944.0;
<!-- [if mso]>
<![endif]-->
<!-- [if mso]>
<![endif]-->
% consider the damping
zeta=0.5; %underdamped condition
fn=1.0; %frequency in hz
wn=2*pi*fn; %frequency in rad/sec
<!-- [if mso]>
<![endif]-->
%respectivly placement of poles
p1=-zeta*wn+wn*sqrt(zeta^2-1);
p2=-zeta*wn-wn*sqrt(zeta^2-1);
P = [p1;p2];
%matrices
A =[-B/J Kt/J;-Km/La -Ra/La];
B1 =[0; 1/La];
<!-- [if mso]>
<![endif]-->
%pole placements
K=place(A,B1,P);
K1=38.3133 ;
K2= -2.8584;
as we observe the armature circuit the stator will faclitate cutting down the resistance we have huge resistance in series in armature circuit as we cutting down the resistance move will the current driven into armature circuit armature is the winding of an electric machine which carries altenating currrent .when the both the armature and the field winding are excited by a ds supply current flows through the winding and a magnetic flux proportional to the current is produced when the flux from the field interact with the flux from the armature it results in motion of the rotor .
backemf V(b)=Km*w;
torque = armature current *Kt;
torque related to the rotational force of an electric motor while the speed refers to the rate that the motor can rotate this means that torque is assoaciated with the rotational force while speed relates to the rate of rotation which can be calculated by examing the rpm or revolution per minute .
control law of design and test here we need the parameters like
% consider the damping
zeta=0.5; %underdamped condition
fn=1.0; %frequency in hz
wn=2*pi*fn; %frequency in rad/sec
<!-- [if mso]>
<![endif]-->
%respectivly placement of poles
p1=-zeta*wn+wn*sqrt(zeta^2-1);
p2=-zeta*wn-wn*sqrt(zeta^2-1);
P = [p1;p2];