Академический Документы
Профессиональный Документы
Культура Документы
Goals
Project Description/Requirements
Block Diagram, Functional Description, Requirements
Equipment
Implementation
Progress Summary
References
Goals
Decrease the learning curve for the use of the dSPACE
DS1103 Workstation by future students by:
Block Diagram
ControlDesk
(Desired Speed
Input)
Load Applied to
Motor System Motor Shaft
CLP1103 By Brake
DS1103 Connector
Panel
Optical Encoder
Description/Requirements I
ControlDesk software:
Installed on PC.
Downloading, Monitoring, Changing (Speed) Inputs.
Controller:
One or more designs.
Simulink and RTI blocks.
PWM Output.
Load Applied to
Motor System Motor Shaft
CLP1103 By Brake
DS1103 Connector
Panel
Optical Encoder
Block Diagram
ControlDesk
Simulink Model
Connector Panel
ControlDesk
(Desired Speed
Input)
Load Applied to
Motor System Motor Shaft
CLP1103 By Brake
DS1103 Connector
Panel
Optical Encoder
PWM
Output
z2 +1.932751 z+0.932751
.00003 PWM Channel 1
z 2 -1.39989 z+0.399894 TF_out Duty DutyCycle
PWM Channel 3
PWM Channel 4
Ground DS 1103 SL _DSP _PWM
1
PWM Output II
To Motor
System
(PWM Ch. 1)
Incremental Encoder Input I
Encoder
Input
RTI Data
ENCODER
MASTER SETUP
DS1103 ENC_SETUP
Enc position
Terminator
Enc delta position 1000 .019881
pulses_ms_out Hz
DS1103 ENC_POS _C1
pulses _ms_to_Hz Hz_to_RPM
Incremental Encoder Input II
From
Encoder
Motor System & Brake
ControlDesk
(Desired Speed
Input)
Load Applied to
Motor System Motor Shaft
CLP1103 By Brake
DS1103 Connector
Panel
Optical Encoder
Motor System
+
Ch 3: Motor Current
Ch 4: Diode Current
Motor Model
Simulink Model
-50
-100
0
-45
Phase (deg)
-90
-135
-180
10
-1 0
10 10
1
10
2
ωc 10
3
10
4 5
10
Frequency (rad/sec)
Brake
ControlDesk
(Desired Speed
Input)
Load Applied to
Motor System Motor Shaft
CLP1103 By Brake
DS1103 Connector
Panel
Optical Encoder
Speed Input/Output II
RTI Data
z2 +
0 50 .2996 .001 5871 .7 .010417
RPM_in Hz pulses_ms_in Sum Gain_out Kz_out z2
RPM _in RPM_to_Hz Hz_to_pulses _ms K Kz
ENCODER
MASTER
RTI Data SETUP
DS1103 ENC_SETUP
Enc position
Terminator z2 +1.9
0 50 .2996 .001 5871 .7 .010417
Enc delta position
RPM_in Hz pulses_ms_in Sum1000 Gain_out
.019881 Kz_out z 2 -1.3
pulses_ms_out Hz RPM_out
RPM _in
DS1103 ENC_POS _C1 RPM_to_Hz Hz_to_pulses _ms K Kz Terminator 1
pulses _ms_to_Hz Hz_to_RPM
ENCODER
MASTER SETUP
DS1103 ENC_SETUP
Enc position
Terminator
Enc delta position 1000 .019881
pulses_ms_out Hz RPM_out
DS1103 ENC_POS _C1 Terminator 1
pulses _ms_to_Hz Hz_to_RPM
Controller I
ControlDesk
(Desired Speed
Input)
Load Applied to
Motor System Motor Shaft
CLP1103 By Brake
DS1103 Connector
Panel
Optical Encoder
Controller II
Controller III
Controller V
Overshoot less than or equal to 5%.
50
Gm = 24.2 dB (at 1.22e+003 rad/sec) , Pm = 69.5 deg (at 157 rad/sec)
Actual:
0
Phase Margin = 69.5º.
Magnitude (dB)
ωc = 157 rad/s.
-50
-100
-150
-90
-135
Designed for:
Phase (deg)
System: sys
System:1.2
sys Time (sec): 249
Time (sec): 165 Amplitude: 1.06
Amplitude: 1
1
System: sys
0.8
Amplitude
0.6
0.4
System: sys
Time (sec): 25
0.2 Amplitude: 0.104
0
0 200 400 600 800 1000 1200 1400 1600 1800 2000
Samples (sec)
Overshoot = 6%
Rise Time = 8.33 ms
Simulink: Model I
1.2 X: 0.2237
X: 0.1608 Y: 1.05
Y: 1.001
1
X: 0.1242
0.8 Y: 0.9009
0.6
0.4
X: 0.01342
0.2 Y: 0.1003
0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
X: 3.636
Y: 238.6
200
200
X: 2.53
Y: 200
X: 3.424
Y: 178.9 150
150
100
100
50
50
X: 2.141 X: 2.422
Y: 0 Y: 0
0
0 0 0.5 1 1.5 2 2.5 3 3.5 4
0 0.5 1 1.5 2 2.5 3 3.5 4
200
150
100
50
0
0 0.5 1 1.5 2 2.5 3 3.5 4
Mr. Mattus:
Initial Setup of DS1103 Workstation
Construction of Slave I/O and Encoder Connectors