/* * File: PMSM_Controller.h * * Code generated for Simulink model 'PMSM_Controller'. * * Model version : 1.1529 * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020 * C/C++ source code generated on : Tue Aug 2 19:43:20 2022 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M * Code generation objectives: * 1. Execution efficiency * 2. RAM efficiency * Validation result: Not run */ #ifndef RTW_HEADER_PMSM_Controller_h_ #define RTW_HEADER_PMSM_Controller_h_ #include "rtwtypes.h" #include "zero_crossing_types.h" #ifndef PMSM_Controller_COMMON_INCLUDES_ #define PMSM_Controller_COMMON_INCLUDES_ #include "rtwtypes.h" #include "zero_crossing_types.h" #endif /* PMSM_Controller_COMMON_INCLUDES_ */ /* Model Code Variants */ /* Macros for accessing real-time model data structure */ #ifndef rtmGetErrorStatus #define rtmGetErrorStatus(rtm) ((rtm)->errorStatus) #endif #ifndef rtmSetErrorStatus #define rtmSetErrorStatus(rtm, val) ((rtm)->errorStatus = (val)) #endif /* Forward declaration for rtModel */ typedef struct tag_RTM RT_MODEL; /* Block signals and states (default storage) for system '/Low_Pass_Filter' */ typedef struct { int32_T UnitDelay1_DSTATE[2]; /* '/UnitDelay1' */ } DW_Low_Pass_Filter; /* Block signals and states (default storage) for system '/PI_Speed' */ typedef struct { int32_T UnitDelay_DSTATE; /* '/UnitDelay' */ int32_T ResettableDelay_DSTATE; /* '/Resettable Delay' */ uint8_T icLoad; /* '/Resettable Delay' */ } DW_PI_backCalc_fixdt; /* Zero-crossing (trigger) state for system '/PI_Speed' */ typedef struct { ZCSigState ResettableDelay_Reset_ZCE_fm;/* '/Resettable Delay' */ } ZCE_PI_backCalc_fixdt; /* Block signals and states (default storage) for system '/PI_backCalc_fixdt' */ typedef struct { int32_T UnitDelay_DSTATE; /* '/UnitDelay' */ int32_T ResettableDelay_DSTATE; /* '/Resettable Delay' */ uint8_T icLoad; /* '/Resettable Delay' */ } DW_PI_backCalc_fixdt_j; /* Zero-crossing (trigger) state for system '/PI_backCalc_fixdt' */ typedef struct { ZCSigState ResettableDelay_Reset_ZCE;/* '/Resettable Delay' */ } ZCE_PI_backCalc_fixdt_n; /* Block signals and states (default storage) for system '' */ typedef struct { DW_PI_backCalc_fixdt_j PI_backCalc_fixdt1;/* '/PI_backCalc_fixdt1' */ DW_PI_backCalc_fixdt_j PI_backCalc_fixdt_ig;/* '/PI_backCalc_fixdt' */ DW_PI_backCalc_fixdt PI_Speed; /* '/PI_Speed' */ DW_Low_Pass_Filter Low_Pass_Filter_e;/* '/Low_Pass_Filter' */ DW_Low_Pass_Filter Low_Pass_Filter_l;/* '/Low_Pass_Filter' */ int32_T Divide11; /* '/Divide11' */ int32_T UnitDelay_DSTATE_l; /* '/Unit Delay' */ int32_T ResettableDelay_DSTATE; /* '/Resettable Delay' */ uint32_T OutportBufferFordelta_count; uint32_T i_count; /* '/i_count' */ uint32_T Switch4; /* '/Switch4' */ uint32_T UnitDelay1_DSTATE; /* '/UnitDelay1' */ uint32_T UnitDelay_DSTATE; /* '/Unit Delay' */ uint32_T UnitDelay2_DSTATE; /* '/UnitDelay2' */ uint32_T UnitDelay3_DSTATE; /* '/UnitDelay3' */ uint32_T UnitDelay5_DSTATE; /* '/UnitDelay5' */ uint32_T UnitDelay4_DSTATE; /* '/UnitDelay4' */ uint32_T UnitDelay4_DSTATE_o; /* '/UnitDelay4' */ int16_T Switch[2]; /* '/Switch' */ int16_T Merge_i[2]; /* '/Merge' */ int16_T UnitDelay_DSTATE_k[2]; /* '/Unit Delay' */ int16_T UnitDelay1_DSTATE_o[2]; /* '/UnitDelay1' */ int16_T UnitDelay_DSTATE_e[2]; /* '/Unit Delay' */ int16_T Divide; /* '/Divide' */ int16_T Divide_o; /* '/Divide' */ int16_T Max; /* '/Max' */ int16_T Max1; /* '/Max1' */ int16_T Max_l; /* '/Max' */ int16_T Max1_j; /* '/Max1' */ int16_T Max_p; /* '/Max' */ int16_T Max1_i; /* '/Max1' */ int16_T Max_i; /* '/Max' */ int16_T Max1_e; /* '/Max1' */ int16_T Merge; /* '/Merge' */ int16_T Switch_p; /* '/Switch' */ int16_T Switch2; /* '/Switch2' */ int16_T Divide_g; /* '/Divide' */ int16_T Divide_d; /* '/Divide' */ int16_T UnitDelay_DSTATE_l5; /* '/UnitDelay' */ int16_T UnitDelay1_DSTATE_j; /* '/Unit Delay1' */ int16_T UnitDelay_DSTATE_g; /* '/UnitDelay' */ int16_T UnitDelay_DSTATE_b; /* '/Unit Delay' */ int16_T UnitDelay_DSTATE_er; /* '/UnitDelay' */ int16_T UnitDelay1_DSTATE_p; /* '/Unit Delay1' */ int16_T UnitDelay_DSTATE_o; /* '/UnitDelay' */ int16_T UnitDelay_DSTATE_d; /* '/Unit Delay' */ int16_T UnitDelay_DSTATE_lz; /* '/UnitDelay' */ int16_T UnitDelay_DSTATE_j; /* '/UnitDelay' */ int16_T UnitDelay_DSTATE_h; /* '/Unit Delay' */ int16_T UnitDelay_DSTATE_n; /* '/UnitDelay' */ int16_T UnitDelay_DSTATE_ox; /* '/UnitDelay' */ int16_T UnitDelay_DSTATE_gt; /* '/Unit Delay' */ int16_T UnitDelay1_DSTATE_jp; /* '/Unit Delay1' */ int16_T Delay_DSTATE; /* '/Delay' */ int16_T UnitDelay_DSTATE_di; /* '/Unit Delay' */ uint16_T UnitDelay2_DSTATE_o; /* '/UnitDelay2' */ uint16_T UnitDelay3_DSTATE_p; /* '/UnitDelay3' */ uint16_T UnitDelay5_DSTATE_m; /* '/UnitDelay5' */ uint16_T UnitDelay_DSTATE_i; /* '/UnitDelay' */ uint16_T UnitDelay_DSTATE_m; /* '/UnitDelay' */ uint16_T UnitDelay1_DSTATE_pl; /* '/Unit Delay1' */ int8_T UnitDelay3; /* '/UnitDelay3' */ int8_T Switch2_o; /* '/Switch2' */ int8_T UnitDelay2_DSTATE_i; /* '/UnitDelay2' */ int8_T If_ActiveSubsystem_k; /* '/If' */ uint8_T Delay_DSTATE_p; /* '/Delay' */ uint8_T Delay1_DSTATE; /* '/Delay1' */ uint8_T Delay2_DSTATE; /* '/Delay2' */ uint8_T UnitDelay_DSTATE_p; /* '/UnitDelay' */ uint8_T UnitDelay_DSTATE_h3; /* '/Unit Delay' */ uint8_T UnitDelay_DSTATE_lv; /* '/Unit Delay' */ uint8_T UnitDelay1_DSTATE_k; /* '/Unit Delay1' */ uint8_T is_active_c11_PMSM_Controller;/* '/Control_Mode_Manager' */ uint8_T is_c11_PMSM_Controller; /* '/Control_Mode_Manager' */ uint8_T is_ACTIVE; /* '/Control_Mode_Manager' */ uint8_T icLoad; /* '/Resettable Delay' */ uint8_T icLoad_i; /* '/Delay' */ boolean_T UnitDelay_DSTATE_gv; /* '/UnitDelay' */ boolean_T UnitDelay_DSTATE_oy; /* '/UnitDelay' */ boolean_T UnitDelay_DSTATE_f; /* '/UnitDelay' */ boolean_T UnitDelay1_DSTATE_m; /* '/UnitDelay1' */ boolean_T n_SpeedCtrl_Mode; /* '/n_SpeedCtrl' */ boolean_T dz_cntTrnsDet_Mode; /* '/dz_cntTrnsDet' */ boolean_T n_commDeacv_Mode; /* '/n_commDeacv' */ } DW; /* Zero-crossing (trigger) state */ typedef struct { ZCE_PI_backCalc_fixdt_n PI_backCalc_fixdt1;/* '/PI_backCalc_fixdt1' */ ZCE_PI_backCalc_fixdt_n PI_backCalc_fixdt_ig;/* '/PI_backCalc_fixdt' */ ZCSigState ResettableDelay_Reset_ZCE_f;/* '/Resettable Delay' */ ZCE_PI_backCalc_fixdt PI_Speed; /* '/PI_Speed' */ } PrevZCX; /* Constant parameters (default storage) */ typedef struct { /* Pooled Parameter (Expression: r_sin_M1) * Referenced by: * '/r_sin_M1' * '/r_sin_M1' */ int16_T pooled12[361]; /* Pooled Parameter (Expression: r_cos_M1) * Referenced by: * '/r_cos_M1' * '/r_cos_M1' */ int16_T pooled13[361]; /* Computed Parameter: vec_hallToPos_Value * Referenced by: '/vec_hallToPos' */ int8_T vec_hallToPos_Value[8]; } ConstP; /* External inputs (root inport signals with default storage) */ typedef struct { int16_T adc_Phase[3]; /* '/adc_Phase' */ uint8_T hall_abc[3]; /* '/hall_abc' */ int32_T spd_Target; /* '/spd_Target' */ int16_T idq_Target; /* '/idq_Target' */ int16_T vdq_Target[2]; /* '/vdq_Target' */ int16_T idq_Limit; /* '/idq_Limit' */ boolean_T b_motEna; /* '/b_motEna' */ boolean_T b_cruiseEna; /* '/b_cruiseEna' */ uint8_T n_ctrlMod; /* '/n_ctrlMod' */ int16_T iDC_Limit; /* '/iDC_Limit' */ int32_T spd_Limit; /* '/spd_Limit' */ int16_T vDC; /* '/vDC' */ uint32_T sys_ticks; /* '/sys_ticks' */ int16_T set_Angle; /* '/set_Angle' */ } ExtU; /* External outputs (root outports fed by signals with default storage) */ typedef struct { int16_T n_Duty[3]; /* '/n_Duty' */ uint8_T n_Sector; /* '/n_Sector' */ uint8_T n_MotError; /* '/n_MotError' */ int16_T f_Vdq[2]; /* '/f_Vdq' */ int16_T f_Idq[2]; /* '/f_Idq' */ int16_T f_MotAngle; /* '/f_MotAngle' */ int32_T f_MotRPM; /* '/f_MotRPM' */ uint8_T n_hallStat; /* '/n_hallStat' */ uint8_T n_FocMode; /* '/n_FocMode' */ boolean_T b_advCtrl; /* '/b_advCtrl' */ } ExtY; /* Parameters (default storage) */ struct P_ { int16_T cf_Fw_Kb; /* Variable: cf_Fw_Kb * Referenced by: '/Constant5' */ int16_T cf_Fw_Ki; /* Variable: cf_Fw_Ki * Referenced by: '/Constant2' */ int16_T cf_idKp; /* Variable: cf_idKp * Referenced by: '/Constant3' */ int16_T cf_iqKp; /* Variable: cf_iqKp * Referenced by: '/Constant7' */ int16_T cf_nKp; /* Variable: cf_nKp * Referenced by: '/Constant4' */ int16_T V_modulation; /* Variable: V_modulation * Referenced by: * '/Constant' * '/Constant2' * '/Constant3' */ int16_T cf_idKb; /* Variable: cf_idKb * Referenced by: '/Constant6' */ int16_T cf_idKi; /* Variable: cf_idKi * Referenced by: '/Constant4' */ int16_T cf_iqKb; /* Variable: cf_iqKb * Referenced by: '/Constant1' */ int16_T cf_iqKi; /* Variable: cf_iqKi * Referenced by: '/Constant8' */ int16_T cf_nKb; /* Variable: cf_nKb * Referenced by: '/Constant11' */ int16_T cf_nKi; /* Variable: cf_nKi * Referenced by: '/Constant1' */ int16_T f_adc_curr_ceof; /* Variable: f_adc_curr_ceof * Referenced by: '/Constant' */ int16_T cf_lastIqGain; /* Variable: cf_lastIqGain * Referenced by: '/Gain' */ int16_T i_hall_offset; /* Variable: i_hall_offset * Referenced by: '/Constant2' */ int16_T i_dqMax; /* Variable: i_dqMax * Referenced by: * '/Constant1' * '/Constant2' * '/Constant3' * '/Constant5' * '/Constant6' */ int16_T id_fieldWeakMax; /* Variable: id_fieldWeakMax * Referenced by: '/Constant6' */ int16_T dz_OpenStepVol; /* Variable: dz_OpenStepVol * Referenced by: * '/Constant1' * '/Constant5' */ uint16_T f_lpf_idq; /* Variable: f_lpf_idq * Referenced by: '/Constant' */ uint16_T f_lpf_vdq; /* Variable: f_lpf_vdq * Referenced by: '/Constant' */ uint16_T i_pwm_count; /* Variable: i_pwm_count * Referenced by: '/Constant1' */ uint8_T n_polePairs; /* Variable: n_polePairs * Referenced by: '/polePairs' */ }; /* Parameters (default storage) */ typedef struct P_ P; /* Real-time Model Data Structure */ struct tag_RTM { const char_T * volatile errorStatus; PrevZCX *prevZCSigState; ExtU *inputs; ExtY *outputs; DW *dwork; }; /* Block parameters (default storage) */ extern P rtP; /* Constant parameters (default storage) */ extern const ConstP rtConstP; /* Model entry point functions */ extern void PMSM_Controller_initialize(RT_MODEL *const rtM); extern void PMSM_Controller_step(RT_MODEL *const rtM); /*- * These blocks were eliminated from the model due to optimizations: * * Block '/Scope' : Unused code path elimination * Block '/Scope' : Unused code path elimination * Block '/Logical Operator4' : Unused code path elimination * Block '/Scope' : Unused code path elimination * Block '/Scope1' : Unused code path elimination * Block '/Scope2' : Unused code path elimination * Block '/Scope' : Unused code path elimination * Block '/Scope' : Unused code path elimination * Block '/Scope' : Unused code path elimination * Block '/Constant1' : Unused code path elimination * Block '/Min' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination * Block '/Scope' : Unused code path elimination * Block '/Scope' : Unused code path elimination * Block '/Scope' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination * Block '/Scope' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination * Block '/Scope' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination * Block '/Scope' : Unused code path elimination * Block '/Scope' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination * Block '/Data Type Duplicate' : Unused code path elimination * Block '/Data Type Propagation' : Unused code path elimination * Block '/Data Type Conversion4' : Eliminate redundant data type conversion * Block '/Data Type Conversion6' : Eliminate redundant data type conversion * Block '/Data Type Conversion7' : Eliminate redundant data type conversion * Block '/Data Type Conversion1' : Eliminate redundant data type conversion * Block '/Data Type Conversion' : Eliminate redundant data type conversion * Block '/Data Type Conversion' : Eliminate redundant data type conversion * Block '/Constant1' : Unused code path elimination * Block '/Add' : Unused code path elimination * Block '/Constant1' : Unused code path elimination * Block '/Constant3' : Unused code path elimination * Block '/Constant4' : Unused code path elimination * Block '/Constant5' : Unused code path elimination * Block '/Constant6' : Unused code path elimination * Block '/Divide' : Unused code path elimination * Block '/Divide1' : Unused code path elimination * Block '/Divide2' : Unused code path elimination * Block '/Divide4' : Unused code path elimination * Block '/Gain' : Unused code path elimination * Block '/Gain' : Unused code path elimination */ /*- * The generated code includes comments that allow you to trace directly * back to the appropriate location in the model. The basic format * is /block_name, where system is the system number (uniquely * assigned by Simulink) and block_name is the name of the block. * * Note that this particular code originates from a subsystem build, * and has its own system numbers different from the parent model. * Refer to the system hierarchy for this subsystem below, and use the * MATLAB hilite_system command to trace the generated code back * to the parent model. For example, * * hilite_system('MotorController_FOC_hall/PMSM_Controller') - opens subsystem MotorController_FOC_hall/PMSM_Controller * hilite_system('MotorController_FOC_hall/PMSM_Controller/Kp') - opens and selects block Kp * * Here is the system hierarchy for this model * * '' : 'MotorController_FOC_hall' * '' : 'MotorController_FOC_hall/PMSM_Controller' * '' : 'MotorController_FOC_hall/PMSM_Controller/Diagnostics' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC' * '' : 'MotorController_FOC_hall/PMSM_Controller/Diagnostics/Diagnostics_Enabled' * '' : 'MotorController_FOC_hall/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter' * '' : 'MotorController_FOC_hall/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Edge' * '' : 'MotorController_FOC_hall/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter/Default' * '' : 'MotorController_FOC_hall/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification' * '' : 'MotorController_FOC_hall/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter/Edge' * '' : 'MotorController_FOC_hall/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification' * '' : 'MotorController_FOC_hall/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification/Rst_Counter' * '' : 'MotorController_FOC_hall/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification/Rst_Counter/rst_Delay1' * '' : 'MotorController_FOC_hall/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification/Rst_Counter' * '' : 'MotorController_FOC_hall/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification/Rst_Counter/rst_Delay1' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Direction_Detection' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Edge_Detect' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Electrical_Angle_Estimation' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Hall_Angle_Raw' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Speed_Estimation' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Electrical_Angle_Estimation/Delta' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Electrical_Angle_Estimation/degree_rad' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Electrical_Angle_Estimation/Delta/normal' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Electrical_Angle_Estimation/Delta/wrapper' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Electrical_Angle_Estimation/degree_rad/If Action Subsystem' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Electrical_Angle_Estimation/degree_rad/If Action Subsystem1' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Electrical_Angle_Estimation/degree_rad/If Action Subsystem2' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Speed_Estimation/AdvCtrlDetect' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Speed_Estimation/AdvCtrlDetect/Compare To Constant' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/Delta' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/Delta/normal' * '' : 'MotorController_FOC_hall/PMSM_Controller/Hall_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/Delta/wrapper' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Call_Schduler' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Ctrl_Mode_Transition' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Target_Scale' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Call_Schduler/counter' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/Clarke_Park' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/Motor_Limitation' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/SVM' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/circle_limiter' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/current_sample' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/Clarke_Park/Clarke' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/Clarke_Park/Low_Pass_Filter' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/Clarke_Park/Park' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/Clarke_Park/Sine_Cosine_Approximation' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/Motor_Limitation/Saturation Dynamic' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/Motor_Limitation/Saturation Dynamic1' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/SVM/Park_Transform_Inverse' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/SVM/SVPWM' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/SVM/SVPWM/duty_gen' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/SVM/SVPWM/sector_select' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/SVM/SVPWM/duty_gen/sector1' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/SVM/SVPWM/duty_gen/sector2' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/SVM/SVPWM/duty_gen/sector3' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/SVM/SVPWM/duty_gen/sector4' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/SVM/SVPWM/duty_gen/sector5' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/SVM/SVPWM/duty_gen/sector6' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/pid_schdule' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Assign' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Get' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Assign/FW_Calc' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Assign/MPTA_Calc' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Assign/iDC_Limiter' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Assign/FW_Calc/FW_I_Ctrl' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Assign/FW_Calc/FW_I_Ctrl/Intergrator_z' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Assign/FW_Calc/FW_I_Ctrl/Saturation Dynamic' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Assign/MPTA_Calc/MTPA_Calc' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Assign/MPTA_Calc/MTPA_Cali' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Assign/MPTA_Calc/MTPA_Cali/Sine_Cosine_Approximation' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Assign/iDC_Limiter/Low_Pass_Filter' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Assign/iDC_Limiter/Saturation Dynamic1' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Assign/iDC_Limiter/Saturation Dynamic3' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Assign/iDC_Limiter/sqrtSum' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Get/speed_mode' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Get/torque_mode' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Get/speed_mode/PI_Speed' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Get/speed_mode/PI_Speed/Rst_Integrator' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Get/speed_mode/PI_Speed/Saturation Dynamic1' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/idq_Calc/Do_Calc/idq_Get/torque_mode/Saturation Dynamic1' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/CurrentLoop' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/OpenLoop' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/idStep' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/iqStep' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/CurrentLoop/FeedForward' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/CurrentLoop/PI_backCalc_fixdt' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/CurrentLoop/PI_backCalc_fixdt1' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/CurrentLoop/PI_backCalc_fixdt/Rst_Integrator' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/CurrentLoop/PI_backCalc_fixdt/Saturation Dynamic1' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/CurrentLoop/PI_backCalc_fixdt1/Rst_Integrator' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/CurrentLoop/PI_backCalc_fixdt1/Saturation Dynamic1' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/idStep/Edge' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/idStep/Enabled Subsystem' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/idStep/Rate_Control' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/idStep/Rate_Control/RateInit' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/idStep/Rate_Control/Saturation Dynamic' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/idStep/Rate_Control/StepAdd' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/idStep/Rate_Control/StepAdd/delayUnit' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/iqStep/Edge' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/iqStep/Enabled Subsystem' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/iqStep/Rate_Control' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/iqStep/Rate_Control/RateInit' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/iqStep/Rate_Control/Saturation Dynamic' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/iqStep/Rate_Control/StepAdd' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Core/vdq_Calc/iqStep/Rate_Control/StepAdd/delayUnit' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Ctrl_Mode_Transition/Control_Mode_Manager' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Target_Scale/open_mode' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Target_Scale/open_mode/vd_dege' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Target_Scale/open_mode/vd_rate_ctrl' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Target_Scale/open_mode/vq_edge' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Target_Scale/open_mode/vq_rate_ctrl' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Target_Scale/open_mode/vd_rate_ctrl/RateInit' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Target_Scale/open_mode/vd_rate_ctrl/Saturation Dynamic' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Target_Scale/open_mode/vd_rate_ctrl/StepAdd' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Target_Scale/open_mode/vd_rate_ctrl/StepAdd/delayUnit' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Target_Scale/open_mode/vq_rate_ctrl/RateInit' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Target_Scale/open_mode/vq_rate_ctrl/Saturation Dynamic' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Target_Scale/open_mode/vq_rate_ctrl/StepAdd' * '' : 'MotorController_FOC_hall/PMSM_Controller/PMSM_FOC/Target_Scale/open_mode/vq_rate_ctrl/StepAdd/delayUnit' */ #endif /* RTW_HEADER_PMSM_Controller_h_ */ /* * File trailer for generated code. * * [EOF] */