/* * File: BLDC_controller.h * * Code generated for Simulink model 'BLDC_controller'. * * Model version : 1.1296 * Simulink Coder version : 8.13 (R2017b) 24-Jul-2017 * C/C++ source code generated on : Tue Oct 20 17:29:57 2020 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex * Emulation hardware selection: * Differs from embedded hardware (MATLAB Host) * Code generation objectives: * 1. Execution efficiency * 2. RAM efficiency * Validation result: Not run */ #ifndef RTW_HEADER_BLDC_controller_h_ #define RTW_HEADER_BLDC_controller_h_ #include "rtwtypes.h" #ifndef BLDC_controller_COMMON_INCLUDES_ # define BLDC_controller_COMMON_INCLUDES_ #include "rtwtypes.h" #endif /* BLDC_controller_COMMON_INCLUDES_ */ /* Macros for accessing real-time model data structure */ /* Forward declaration for rtModel */ typedef struct tag_RTM RT_MODEL; /* Block signals and states (auto storage) for system '/Counter' */ typedef struct { int16_T UnitDelay_DSTATE; /* '/UnitDelay' */ } DW_Counter; /* Block signals and states (auto storage) for system '/Low_Pass_Filter' */ typedef struct { int32_T UnitDelay1_DSTATE[2]; /* '/UnitDelay1' */ } DW_Low_Pass_Filter; /* Block signals and states (auto storage) for system '/Counter' */ typedef struct { uint16_T UnitDelay_DSTATE; /* '/UnitDelay' */ } DW_Counter_b; /* Block signals and states (auto storage) for system '/either_edge' */ typedef struct { boolean_T UnitDelay_DSTATE; /* '/UnitDelay' */ } DW_either_edge; /* Block signals and states (auto storage) for system '/Debounce_Filter' */ typedef struct { DW_either_edge either_edge_p; /* '/either_edge' */ DW_Counter_b Counter_e; /* '/Counter' */ DW_Counter_b Counter_n1; /* '/Counter' */ boolean_T UnitDelay_DSTATE; /* '/UnitDelay' */ } DW_Debounce_Filter; /* Block signals and states (auto storage) for system '/I_backCalc_fixdt' */ typedef struct { int32_T UnitDelay_DSTATE; /* '/UnitDelay' */ int32_T UnitDelay_DSTATE_m; /* '/UnitDelay' */ } DW_I_backCalc_fixdt; /* Block signals and states (auto storage) for system '/PI_clamp_fixdt' */ typedef struct { int32_T ResettableDelay_DSTATE; /* '/Resettable Delay' */ uint8_T icLoad; /* '/Resettable Delay' */ boolean_T UnitDelay1_DSTATE; /* '/UnitDelay1' */ } DW_PI_clamp_fixdt; /* Block signals and states (auto storage) for system '/PI_clamp_fixdt' */ typedef struct { int32_T ResettableDelay_DSTATE; /* '/Resettable Delay' */ uint8_T icLoad; /* '/Resettable Delay' */ boolean_T UnitDelay1_DSTATE; /* '/UnitDelay1' */ } DW_PI_clamp_fixdt_m; /* Block signals and states (auto storage) for system '/PI_clamp_fixdt' */ typedef struct { int16_T ResettableDelay_DSTATE; /* '/Resettable Delay' */ uint8_T icLoad; /* '/Resettable Delay' */ boolean_T UnitDelay1_DSTATE; /* '/UnitDelay1' */ } DW_PI_clamp_fixdt_g; /* Block signals and states (auto storage) for system '' */ typedef struct { DW_PI_clamp_fixdt_g PI_clamp_fixdt_kh;/* '/PI_clamp_fixdt' */ DW_PI_clamp_fixdt_m PI_clamp_fixdt_l4;/* '/PI_clamp_fixdt' */ DW_PI_clamp_fixdt PI_clamp_fixdt_i; /* '/PI_clamp_fixdt' */ DW_I_backCalc_fixdt I_backCalc_fixdt_j;/* '/I_backCalc_fixdt' */ DW_I_backCalc_fixdt I_backCalc_fixdt1;/* '/I_backCalc_fixdt1' */ DW_I_backCalc_fixdt I_backCalc_fixdt_i;/* '/I_backCalc_fixdt' */ DW_either_edge either_edge_i; /* '/either_edge' */ DW_Debounce_Filter Debounce_Filter_k;/* '/Debounce_Filter' */ DW_Low_Pass_Filter Low_Pass_Filter_m;/* '/Low_Pass_Filter' */ DW_Counter Counter_e; /* '/Counter' */ int32_T Divide1; /* '/Divide1' */ int32_T UnitDelay_DSTATE; /* '/UnitDelay' */ int16_T Gain4_e[3]; /* '/Gain4' */ int16_T DataTypeConversion[2]; /* '/Data Type Conversion' */ int16_T z_counterRawPrev; /* '/z_counterRawPrev' */ int16_T Merge; /* '/Merge' */ int16_T Switch1; /* '/Switch1' */ int16_T Vd_max1; /* '/Vd_max1' */ int16_T Gain3; /* '/Gain3' */ int16_T Vq_max_M1; /* '/Vq_max_M1' */ int16_T Gain5; /* '/Gain5' */ int16_T i_max; /* '/i_max' */ int16_T Divide1_n; /* '/Divide1' */ int16_T Gain1; /* '/Gain1' */ int16_T Gain4; /* '/Gain4' */ int16_T Switch2_i; /* '/Switch2' */ int16_T Switch2_o; /* '/Switch2' */ int16_T Switch2_a; /* '/Switch2' */ int16_T Divide3; /* '/Divide3' */ int16_T Merge1; /* '/Merge1' */ int16_T Abs1; /* '/Abs1' */ int16_T Abs5_h; /* '/Abs5' */ int16_T Divide11; /* '/Divide11' */ int16_T r_sin_M1; /* '/r_sin_M1' */ int16_T r_cos_M1; /* '/r_cos_M1' */ int16_T UnitDelay3_DSTATE; /* '/UnitDelay3' */ int16_T UnitDelay4_DSTATE; /* '/UnitDelay4' */ int16_T UnitDelay2_DSTATE; /* '/UnitDelay2' */ int16_T UnitDelay3_DSTATE_o; /* '/UnitDelay3' */ int16_T UnitDelay5_DSTATE; /* '/UnitDelay5' */ int16_T UnitDelay4_DSTATE_e; /* '/UnitDelay4' */ int16_T UnitDelay4_DSTATE_eu; /* '/UnitDelay4' */ int8_T Switch2_e; /* '/Switch2' */ int8_T UnitDelay2_DSTATE_b; /* '/UnitDelay2' */ int8_T If1_ActiveSubsystem; /* '/If1' */ int8_T If2_ActiveSubsystem; /* '/If2' */ int8_T If1_ActiveSubsystem_j; /* '/If1' */ int8_T SwitchCase_ActiveSubsystem; /* '/Switch Case' */ int8_T If1_ActiveSubsystem_a; /* '/If1' */ int8_T If1_ActiveSubsystem_o; /* '/If1' */ int8_T SwitchCase_ActiveSubsystem_d; /* '/Switch Case' */ int8_T If2_ActiveSubsystem_f; /* '/If2' */ int8_T If2_ActiveSubsystem_a; /* '/If2' */ uint8_T z_ctrlMod; /* '/F03_02_Control_Mode_Manager' */ uint8_T UnitDelay3_DSTATE_fy; /* '/UnitDelay3' */ uint8_T UnitDelay1_DSTATE; /* '/UnitDelay1' */ uint8_T UnitDelay2_DSTATE_f; /* '/UnitDelay2' */ uint8_T UnitDelay_DSTATE_e; /* '/UnitDelay' */ uint8_T is_active_c1_BLDC_controller;/* '/F03_02_Control_Mode_Manager' */ uint8_T is_c1_BLDC_controller; /* '/F03_02_Control_Mode_Manager' */ uint8_T is_ACTIVE; /* '/F03_02_Control_Mode_Manager' */ boolean_T Merge_p; /* '/Merge' */ boolean_T dz_cntTrnsDet; /* '/dz_cntTrnsDet' */ boolean_T UnitDelay2_DSTATE_c; /* '/UnitDelay2' */ boolean_T UnitDelay5_DSTATE_m; /* '/UnitDelay5' */ boolean_T UnitDelay6_DSTATE; /* '/UnitDelay6' */ boolean_T UnitDelay_DSTATE_b; /* '/UnitDelay' */ boolean_T UnitDelay1_DSTATE_n; /* '/UnitDelay1' */ boolean_T n_commDeacv_Mode; /* '/n_commDeacv' */ boolean_T dz_cntTrnsDet_Mode; /* '/dz_cntTrnsDet' */ } DW; /* Constant parameters (auto storage) */ typedef struct { /* Computed Parameter: r_sin_M1_Table * Referenced by: '/r_sin_M1' */ int16_T r_sin_M1_Table[181]; /* Computed Parameter: r_cos_M1_Table * Referenced by: '/r_cos_M1' */ int16_T r_cos_M1_Table[181]; /* Computed Parameter: r_sin3PhaA_M1_Table * Referenced by: '/r_sin3PhaA_M1' */ int16_T r_sin3PhaA_M1_Table[181]; /* Computed Parameter: r_sin3PhaB_M1_Table * Referenced by: '/r_sin3PhaB_M1' */ int16_T r_sin3PhaB_M1_Table[181]; /* Computed Parameter: r_sin3PhaC_M1_Table * Referenced by: '/r_sin3PhaC_M1' */ int16_T r_sin3PhaC_M1_Table[181]; /* Computed Parameter: iq_maxSca_M1_Table * Referenced by: '/iq_maxSca_M1' */ uint16_T iq_maxSca_M1_Table[50]; /* Computed Parameter: z_commutMap_M1_table * Referenced by: '/z_commutMap_M1' */ int8_T z_commutMap_M1_table[18]; /* Computed Parameter: vec_hallToPos_Value * Referenced by: '/vec_hallToPos' */ int8_T vec_hallToPos_Value[8]; } ConstP; /* External inputs (root inport signals with auto storage) */ typedef struct { boolean_T b_motEna; /* '/b_motEna' */ uint8_T z_ctrlModReq; /* '/z_ctrlModReq' */ int16_T r_inpTgt; /* '/r_inpTgt' */ uint8_T b_hallA; /* '/b_hallA ' */ uint8_T b_hallB; /* '/b_hallB' */ uint8_T b_hallC; /* '/b_hallC' */ int16_T i_phaAB; /* '/i_phaAB' */ int16_T i_phaBC; /* '/i_phaBC' */ int16_T i_DCLink; /* '/i_DCLink' */ int16_T a_mechAngle; /* '/a_mechAngle' */ } ExtU; /* External outputs (root outports fed by signals with auto storage) */ typedef struct { int16_T DC_phaA; /* '/DC_phaA' */ int16_T DC_phaB; /* '/DC_phaB' */ int16_T DC_phaC; /* '/DC_phaC' */ uint8_T z_errCode; /* '/z_errCode' */ int16_T n_mot; /* '/n_mot' */ int16_T a_elecAngle; /* '/a_elecAngle' */ int16_T iq; /* '/iq' */ int16_T id; /* '/id' */ } ExtY; /* Parameters (auto storage) */ struct P_ { int32_T dV_openRate; /* Variable: dV_openRate * Referenced by: '/dV_openRate' */ int16_T dz_cntTrnsDetHi; /* Variable: dz_cntTrnsDetHi * Referenced by: '/dz_cntTrnsDet' */ int16_T dz_cntTrnsDetLo; /* Variable: dz_cntTrnsDetLo * Referenced by: '/dz_cntTrnsDet' */ int16_T n_cruiseMotTgt; /* Variable: n_cruiseMotTgt * Referenced by: '/n_cruiseMotTgt' */ int16_T z_maxCntRst; /* Variable: z_maxCntRst * Referenced by: * '/Counter' * '/z_maxCntRst' * '/z_maxCntRst2' * '/UnitDelay3' * '/z_counter' */ uint16_T cf_speedCoef; /* Variable: cf_speedCoef * Referenced by: '/cf_speedCoef' */ uint16_T t_errDequal; /* Variable: t_errDequal * Referenced by: '/t_errDequal' */ uint16_T t_errQual; /* Variable: t_errQual * Referenced by: '/t_errQual' */ int16_T Vd_max; /* Variable: Vd_max * Referenced by: * '/Vd_max' * '/Vd_max1' */ int16_T Vq_max_M1[46]; /* Variable: Vq_max_M1 * Referenced by: '/Vq_max_M1' */ int16_T Vq_max_XA[46]; /* Variable: Vq_max_XA * Referenced by: '/Vq_max_XA' */ int16_T a_phaAdvMax; /* Variable: a_phaAdvMax * Referenced by: '/a_phaAdvMax' */ int16_T i_max; /* Variable: i_max * Referenced by: * '/i_max' * '/i_max' */ int16_T id_fieldWeakMax; /* Variable: id_fieldWeakMax * Referenced by: '/id_fieldWeakMax' */ int16_T n_commAcvLo; /* Variable: n_commAcvLo * Referenced by: '/n_commDeacv' */ int16_T n_commDeacvHi; /* Variable: n_commDeacvHi * Referenced by: '/n_commDeacv' */ int16_T n_fieldWeakAuthHi; /* Variable: n_fieldWeakAuthHi * Referenced by: '/n_fieldWeakAuthHi' */ int16_T n_fieldWeakAuthLo; /* Variable: n_fieldWeakAuthLo * Referenced by: '/n_fieldWeakAuthLo' */ int16_T n_max; /* Variable: n_max * Referenced by: * '/n_max' * '/n_max1' */ int16_T n_stdStillDet; /* Variable: n_stdStillDet * Referenced by: '/n_stdStillDet' */ int16_T r_errInpTgtThres; /* Variable: r_errInpTgtThres * Referenced by: '/r_errInpTgtThres' */ int16_T r_fieldWeakHi; /* Variable: r_fieldWeakHi * Referenced by: '/r_fieldWeakHi' */ int16_T r_fieldWeakLo; /* Variable: r_fieldWeakLo * Referenced by: '/r_fieldWeakLo' */ uint16_T cf_KbLimProt; /* Variable: cf_KbLimProt * Referenced by: * '/cf_KbLimProt' * '/cf_KbLimProt' */ uint16_T cf_idKp; /* Variable: cf_idKp * Referenced by: '/cf_idKp1' */ uint16_T cf_iqKp; /* Variable: cf_iqKp * Referenced by: '/cf_iqKp' */ uint16_T cf_nKp; /* Variable: cf_nKp * Referenced by: '/cf_nKp' */ uint16_T cf_currFilt; /* Variable: cf_currFilt * Referenced by: '/cf_currFilt' */ uint16_T cf_idKi; /* Variable: cf_idKi * Referenced by: '/cf_idKi1' */ uint16_T cf_iqKi; /* Variable: cf_iqKi * Referenced by: '/cf_iqKi' */ uint16_T cf_iqKiLimProt; /* Variable: cf_iqKiLimProt * Referenced by: * '/cf_iqKiLimProt' * '/cf_iqKiLimProt' */ uint16_T cf_nKi; /* Variable: cf_nKi * Referenced by: '/cf_nKi' */ uint16_T cf_nKiLimProt; /* Variable: cf_nKiLimProt * Referenced by: * '/cf_nKiLimProt' * '/cf_nKiLimProt' */ uint8_T n_polePairs; /* Variable: n_polePairs * Referenced by: '/n_polePairs' */ uint8_T z_ctrlTypSel; /* Variable: z_ctrlTypSel * Referenced by: '/z_ctrlTypSel' */ uint8_T z_selPhaCurMeasABC; /* Variable: z_selPhaCurMeasABC * Referenced by: '/z_selPhaCurMeasABC' */ boolean_T b_angleMeasEna; /* Variable: b_angleMeasEna * Referenced by: * '/b_angleMeasEna' * '/b_angleMeasEna' */ boolean_T b_cruiseCtrlEna; /* Variable: b_cruiseCtrlEna * Referenced by: '/b_cruiseCtrlEna' */ boolean_T b_diagEna; /* Variable: b_diagEna * Referenced by: '/b_diagEna' */ boolean_T b_fieldWeakEna; /* Variable: b_fieldWeakEna * Referenced by: * '/b_fieldWeakEna' * '/b_fieldWeakEna' */ }; /* Parameters (auto storage) */ typedef struct P_ P; /* Real-time Model Data Structure */ struct tag_RTM { P *defaultParam; ExtU *inputs; ExtY *outputs; DW *dwork; }; /* Constant parameters (auto storage) */ extern const ConstP rtConstP; /* Model entry point functions */ extern void BLDC_controller_initialize(RT_MODEL *const rtM); extern void BLDC_controller_step(RT_MODEL *const rtM); /*- * These blocks were eliminated from the model due to optimizations: * * Block '/Scope2' : 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 '/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 '/Scope12' : Unused code path elimination * Block '/Scope8' : Unused code path elimination * Block '/toNegative' : Unused code path elimination * Block '/Scope' : Unused code path elimination * Block '/Data Type Conversion' : Eliminate redundant data type conversion * Block '/Data Type Conversion1' : Eliminate redundant data type conversion */ /*- * 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('BLDCmotor_FOC_R2017b_fixdt/BLDC_controller') - opens subsystem BLDCmotor_FOC_R2017b_fixdt/BLDC_controller * hilite_system('BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/Kp') - opens and selects block Kp * * Here is the system hierarchy for this model * * '' : 'BLDCmotor_FOC_R2017b_fixdt' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/Call_Scheduler' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/Task_Scheduler' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_01_Edge_Detector' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_02_Position_Calculation' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_03_Direction_Detection' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_05_Electrical_Angle_Estimation' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_06_Electrical_Angle_Measurement' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Raw_Motor_Speed_Estimation' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_04_Speed_Estimation/Counter/rst_Delay' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F01_Estimations/F01_06_Electrical_Angle_Measurement/Modulo_fixdt' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/either_edge' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Default' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/either_edge' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification/Counter' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification/Counter/rst_Delay' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification/Counter' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F02_Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification/Counter/rst_Delay' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_01_Mode_Transition_Calculation' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_02_Control_Mode_Manager' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Default_Control_Type' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Default_Mode' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/FOC_Control_Type' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/rising_edge_init' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter/Delay_Init1' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F03_Control_Mode_Manager/F03_03_Input_Target_Synthesis/Open_Mode/Rate_Limiter/Saturation Dynamic' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Field_Weakening_Enabled' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Field_Weakening_Enabled/Saturation Dynamic' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F04_Field_Weakening/Field_Weakening_Enabled/Saturation Dynamic1' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Inverse' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Clarke_Transform' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Current_Filtering' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Park_Transform' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Sine_Cosine_Approximation' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Clarke_Transform/Clarke_PhasesAB' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Clarke_Transform/Clarke_PhasesAC' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Clarke_Transform/Clarke_PhasesBC' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Forward/Current_Filtering/Low_Pass_Filter' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Inverse/Inv_Clarke_Transform' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Clarke_Park_Transform_Inverse/Inv_Park_Transform' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Open_Mode' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Voltage_Mode' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode/PI_clamp_fixdt' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode/PI_clamp_fixdt/Clamping_circuit' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode/PI_clamp_fixdt/Integrator' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Speed_Mode/PI_clamp_fixdt/Saturation_hit' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/PI_clamp_fixdt' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/Saturation Dynamic1' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/PI_clamp_fixdt/Clamping_circuit' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/PI_clamp_fixdt/Integrator' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Torque_Mode/PI_clamp_fixdt/Saturation_hit' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/PI_clamp_fixdt' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/Saturation Dynamic' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/PI_clamp_fixdt/Clamping_circuit' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/PI_clamp_fixdt/Integrator' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Vd_Calculation/PI_clamp_fixdt/Saturation_hit' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/FOC/FOC_Enabled/Voltage_Mode/Saturation Dynamic1' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Speed_Mode_Protection' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Torque_Mode_Protection' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Speed_Mode_Protection/Saturation Dynamic' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Torque_Mode_Protection/I_backCalc_fixdt' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Torque_Mode_Protection/I_backCalc_fixdt/Integrator' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Torque_Mode_Protection/I_backCalc_fixdt/Saturation Dynamic1' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt1' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt/Integrator' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt/Saturation Dynamic1' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt1/Integrator' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F05_Field_Oriented_Control/Motor_Limitations/Motor_Limitations_Enabled/Voltage_Mode_Protection/I_backCalc_fixdt1/Saturation Dynamic1' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/COM_Method' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/FOC_Method' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method/Final_Phase_Advance_Calculation' * '' : 'BLDCmotor_FOC_R2017b_fixdt/BLDC_controller/F06_Control_Type_Management/SIN_Method/Final_Phase_Advance_Calculation/Modulo_fixdt' */ #endif /* RTW_HEADER_BLDC_controller_h_ */ /* * File trailer for generated code. * * [EOF] */