Просмотр исходного кода

1. 测试弱磁效果
2. SVM重写,减小计算量
3. DC 母线电流计算测试

Signed-off-by: huhui <huhui@sharkgulf.com>

huhui 4 лет назад
Родитель
Сommit
9f81816b15
2 измененных файлов с 5 добавлено и 5 удалено
  1. BIN
      Simulink/MotorController_FOC.slx
  2. 5 5
      Simulink/init_model.m

BIN
Simulink/MotorController_FOC.slx


+ 5 - 5
Simulink/init_model.m

@@ -79,13 +79,13 @@ n_cruiseMotTgt      = 0;                % [-] Cruise control motor speed target
 
 %% F04_Field_Weakening
 b_fieldWeakEna      = 0;                % [-] Field weakening enable flag: 0 = disable (default), 1 = enable
-r_fieldWeakHi       = 1000;             % [1000, 1500] Input target High threshold for reaching maximum Field Weakening / Phase Advance
-r_fieldWeakLo       = 750;              % [ 500, 1000] Input target Low threshold for starting Field Weakening / Phase Advance
-n_fieldWeakAuthHi   = 400;              % [rpm] Motor speed High for field weakening authorization
-n_fieldWeakAuthLo   = 300;              % [rpm] Motor speed Low for field weakening authorization
+r_fieldWeakHi       = 3000;             % [1000, 1500] Input target High threshold for reaching maximum Field Weakening / Phase Advance
+r_fieldWeakLo       = 1300;              % [ 500, 1000] Input target Low threshold for starting Field Weakening / Phase Advance
+n_fieldWeakAuthHi   = 1200;              % [rpm] Motor speed High for field weakening authorization
+n_fieldWeakAuthLo   = 1000;              % [rpm] Motor speed Low for field weakening authorization
 
 % FOC method
-id_fieldWeakMax     = 5;        % [A] Field weakening maximum current
+id_fieldWeakMax     = -30;        % [A] Field weakening maximum current
 
 % Voltage Limitations
 V_modulation        = 0.95;              % [-] Voltage margin to make sure that there is a sufficiently wide pulse for a good phase current measurement