Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Start
o
o
o
o
o
o
o
o
o
Duty Ratio Calculator.
o
inf,
o
o
Duty Ratio
Calculator
DS1104ADC C5
DS1104ADC C5
Gain
Avg Block
Enc position
Enc delta position 2*pi / (Ts*1000) Wm_dist Wm 60 / (2*pi) wm_RPM
DS1104 ENC_POS_CI
Gain 5 Speed_rpm
Encoder
Master Setup
DS1104 ENC_SETUP
SLAVE BIT
OUT
DS1104 SL_DSP_BIT_OUT_C11
1 boolean
SLAVE BIT
1 boolean
OUT
Reset Data type Conversion 2 DS1104 SL_DSP_BIT_OUT_C10
no_load.mdl.
Note the speed output is in radians/sec.
DS1104SL_DSP_PWM
DS1104SL_DSP_PWM
CURR. A2
(CURR. A2)
DS1104ADC_C5
1 SLAVE BIT
boolean
OUT
Reset Data type Conversion 2 DS1104 SL_DSP_BIT_OUT_C10
wm_ref
Wref_4quad
wm i_ref Ia_ref
Avg Block
Enc position
Enc delta position 2*pi / (Ts*1000) Wm_dist Wm 1
DS1104 ENC_POS_CI
Gain 5 motor_speed
Encoder
Master Setup
DS1104 ENC_SETUP
1 SLAVE BIT
boolean
OUT
Reset Data type Conversion 2 DS1104 SL_DSP_BIT_OUT_C10
wm_ref
Wref_4quad
wm i_ref Ia_ref
Avg Block
Enc position
Enc delta position 2*pi / (Ts*1000) Wm_dist Wm 1
DS1104 ENC_POS_CI
Gain 5 motor_speed
Encoder
Master Setup
DS1104 ENC_SETUP
0 1/Vd
Duty cycle a
V_motor + 1/2
1/Vd +
Duty cycle b
-1 Gain2
Avg Block
Enc position
Enc delta position 2*pi / (Ts*1000) Wm_dist Wm 1
DS1104 ENC_POS_CI 3
Gain 5 Speed_rad/sec
Encoder
Master Setup
DS1104 ENC_SETUP
SLAVE BIT
1 boolean
OUT
Reset Data type Conversion 2 DS1104 SL_DSP_BIT_OUT_C10
0.15
Tfinal 0
0 1 1/Ke Ia_ref
PWM Channel 1
d2
Torque_step Switch Torque_ref Ia_ref
Ia 1 Vc
PWM Channel 2
0 dA1
+ 1/2
reset +
Tinitial
-1 PWM Channel 3
Gain 4 dB1
ADC 20 Gain3 1 PWM Channel 4
DS1104SL_DSP_PWM 1
DS1104 ADC_C6 motor_current 1 constant 1
0
Ke d3
1
Tem_actual
Ia Rs Ls
Va kew
Index
DS1104ENC_HW_INDEX_C1
ENCODER SET
POSITION
Theta da calculations
DS1104ENC_SET_POS_C1
EncPos
Theta_da
theta_initial theta_initial
theta_initial Subsystem w
Enc position
Wm2 W_mech(RPM)In1 1
Enc delta position Go to 2
f
DS1104 ENC_POS_CI
Speed Measurement f
Go to
ENCODER
MASTER SETUP
1 1/Vd +
DS1104 ENC_SETUP +
- Duty cycle a
c3 +
0.5
Switch
c4 Duty cycle b
+
+
0.5 Duty cycle c
d_lim
DC_CMvoltage DS1104SL_DSP_PWM3
1
Lock 1/Vd
Current controller abc dq
Duty ratio generation for locking the rotor
Ia a
X Product
Ia b
Current reference Current sensing is_dq
c
Ib
Resetlnteg
-
1 + Reset
const Go to 1
Index
DS1104ENC_HW_INDEX_C1
ENCODER SET
POSITION
DS1104ENC_SET_POS_C1
EncPos
Theta_da
theta_initial theta_initial
theta_initial Subsystem
Enc position w
Wm2
Enc delta position W_mech(RPM)In1
Go to 2
DS1104 ENC_POS_CI
Speed Measurement
ENCODER
MASTER SETUP
1 1/Vd +
DS1104 ENC_SETUP +
- Duty cycle a
c3 +
0.5
Switch
c4 Duty cycle b
+
+
0.5 Duty cycle c
d_lim
DC_CMvoltage DS1104SL_DSP_PWM3
1
Lock 1/Vd
abc dq
Ia a
X Product
Ia b
is_dq
c
Ib
Reset
1
From 2
Resetlnteg
-
1 + Reset
const Go to 1
Vd + 1
-
Vdc Vat
Va
Vslip
Vd/2 In RMS
0 Varms
Duty cycle a Vd
slip_v/fControl RMS_Va_IM
Switch
Vm
Duty cycle b
0.5
0 duty a, b, c
Duty cycle c
V/f d_lim
Ref_frequency f
duty cycle generation IM 0 PWM Stop
DS1104SL_DSP_PWM3
c2
0 -1/0.08
Tref
Switch
Gain
0
Torque_SpeedControl
0
2*pi/ +
0 + error -
- 800
PWM Channel 1
Wref Iref_load d2
ADC 20 D3
ADC 20
Ia_imotor Ia(t)
DS1104ADC_C5
ENCODER
MASTER SETUP In RMS
Iarms
DS1104 ENC_SETUP
RMS_Ia_IM
(10 points)
Vd + 1
-
Vdc Vat
Va
[dabc] Vd/2
Go to 1
Vd
In RMS
Varms
V/f Duty cycle a
RMS_Va_IM
0.15 Vm
Duty cycle b
duty a, b, c
[wslip] + 2/80 Duty cycle c
+ d_lim
f_sync(Hz) f
From 2
duty cycle generation IM 0 PWM Stop
f
0
DS1104SL_DSP_PWM3
c2
open/closed_loop
[wsync_mech_RPM]
[dabc]
0 2/80 Tem_estimate
From
Wref(RPM) f_sync(HZ)2 X f(u) Vd + 0.95 X
- 600 1/z [wslip]
ID dA Power eff
wslip_RPM Saturation wslip Go to 2
ADC 20 - 1 0
-
DS1104ADC_C5 Ia_imotor Ic_imotor pow_compensation
w_mech(RPM) ENCODER
MASTER SETUP
DS1104 ENC_SETUP 0
PWM Channel 1
d2
0 -1/0.08 + error PWM Channel 2
- dA1
Tref Gain Vref_load Vref_PI duty
PWM Channel 3
0 Reset dB1
ADC 20 D3
-0.08
TDC temactual
10 points