diff --git a/Inu/def.h b/Inu/def.h index 4cc3abc..d0a2d3a 100644 --- a/Inu/def.h +++ b/Inu/def.h @@ -11,7 +11,7 @@ // ðàñêîììåíòèðîâàòü, åñëè åñòü ñäâèã ìåæäó îáìîòêàìè ÃÝÄ (30 ãðàä.) #define SHIFT -#define SIMULINK_SEQUENCE V_PWM24_PHASE_SEQ_NORMAL_ABC +#define SIMULINK_SEQUENCE V_PWM24_PHASE_SEQ_REVERS_CBA /* V_PWM24_PHASE_SEQ_NORMAL_ABC, - íå òî V_PWM24_PHASE_SEQ_NORMAL_BCA, - ïîõîæå íà ïðàâäó V_PWM24_PHASE_SEQ_NORMAL_CAB, - æîïà diff --git a/Inu/main_matlab/init28335.c b/Inu/main_matlab/init28335.c index e7ba375..eea15d9 100644 --- a/Inu/main_matlab/init28335.c +++ b/Inu/main_matlab/init28335.c @@ -100,7 +100,7 @@ void edrk_init_matlab(void) edrk.zadanie.iq_ZadanieU_Charge = _IQ(2500 / NORMA_ACP); edrk.temper_limit_koeffs.sum_limit = _IQ(1); simple_scalar1.fzad_add_max = _IQ(FZAD_ADD_MAX); - edrk.Mode_ScalarVectorUFConst = ALG_MODE_SCALAR_OBOROTS; + edrk.Mode_ScalarVectorUFConst = ALG_MODE_FOC_OBOROTS; edrk.zadanie.iq_power_zad = _IQ(1); edrk.zadanie.iq_oborots_zad_hz = _IQ(1); diff --git a/inu_23550.slx b/inu_23550.slx index c84b071..ac1ca62 100644 Binary files a/inu_23550.slx and b/inu_23550.slx differ