| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427 |
- /*
- * File: PMSM_Controller.h
- *
- * Code generated for Simulink model 'PMSM_Controller'.
- *
- * Model version : 1.1235
- * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020
- * C/C++ source code generated on : Wed Apr 6 15:47:34 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_
- #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 '<S39>/Counter' */
- typedef struct {
- uint16_T UnitDelay_DSTATE; /* '<S44>/UnitDelay' */
- } DW_Counter;
- /* Block signals and states (default storage) for system '<S35>/either_edge' */
- typedef struct {
- boolean_T UnitDelay_DSTATE; /* '<S40>/UnitDelay' */
- } DW_either_edge;
- /* Block signals and states (default storage) for system '<S34>/Debounce_Filter' */
- typedef struct {
- DW_either_edge either_edge_j; /* '<S35>/either_edge' */
- DW_Counter Counter_d; /* '<S38>/Counter' */
- DW_Counter Counter_f; /* '<S39>/Counter' */
- boolean_T UnitDelay_DSTATE; /* '<S35>/UnitDelay' */
- } DW_Debounce_Filter;
- /* Block signals and states (default storage) for system '<S45>/Low_Pass_Filter' */
- typedef struct {
- int16_T UnitDelay1_DSTATE[2]; /* '<S54>/UnitDelay1' */
- } DW_Low_Pass_Filter;
- /* Block signals and states (default storage) for system '<S58>/PI_iq' */
- typedef struct {
- int32_T UnitDelay_DSTATE; /* '<S63>/UnitDelay' */
- int32_T UnitDelay_DSTATE_i; /* '<S65>/UnitDelay' */
- } DW_PI_iq;
- /* Block signals and states (default storage) for system '<S57>/PI_id' */
- typedef struct {
- int32_T UnitDelay_DSTATE; /* '<S59>/UnitDelay' */
- int32_T UnitDelay_DSTATE_p; /* '<S61>/UnitDelay' */
- } DW_PI_id;
- /* Block signals and states (default storage) for system '<S77>/pi_speed' */
- typedef struct {
- int32_T UnitDelay_DSTATE; /* '<S80>/UnitDelay' */
- int32_T ResettableDelay_DSTATE; /* '<S81>/Resettable Delay' */
- uint8_T icLoad; /* '<S81>/Resettable Delay' */
- } DW_pi_speed;
- /* Zero-crossing (trigger) state for system '<S77>/pi_speed' */
- typedef struct {
- ZCSigState ResettableDelay_Reset_ZCE;/* '<S81>/Resettable Delay' */
- } ZCE_pi_speed;
- /* Block signals and states (default storage) for system '<Root>' */
- typedef struct {
- DW_pi_speed pi_speed_g; /* '<S77>/pi_speed' */
- DW_PI_id PI_id_b; /* '<S57>/PI_id' */
- DW_PI_iq PI_iq_g; /* '<S58>/PI_iq' */
- DW_Low_Pass_Filter Low_Pass_Filter_d;/* '<S45>/Low_Pass_Filter' */
- DW_either_edge either_edge_f; /* '<S34>/either_edge' */
- DW_Debounce_Filter Debounce_Filter_i;/* '<S34>/Debounce_Filter' */
- uint32_T z_counterRawPrev; /* '<S15>/z_counterRawPrev' */
- uint32_T UnitDelay3_DSTATE; /* '<S10>/UnitDelay3' */
- uint32_T UnitDelay2_DSTATE; /* '<S15>/UnitDelay2' */
- uint32_T UnitDelay3_DSTATE_l; /* '<S15>/UnitDelay3' */
- uint32_T UnitDelay5_DSTATE; /* '<S15>/UnitDelay5' */
- int16_T Merge[2]; /* '<S23>/Merge' */
- int16_T Divide; /* '<S32>/Divide' */
- int16_T Merge_b; /* '<S50>/Merge' */
- int16_T Switch2; /* '<S62>/Switch2' */
- int16_T Switch2_m; /* '<S66>/Switch2' */
- int16_T Divide1; /* '<S29>/Divide1' */
- int16_T Switch; /* '<S32>/Switch' */
- int16_T Switch1; /* '<S32>/Switch1' */
- int16_T Divide3; /* '<S24>/Divide3' */
- int16_T Divide11; /* '<S15>/Divide11' */
- int16_T UnitDelay2_DSTATE_p; /* '<S5>/UnitDelay2' */
- int16_T UnitDelay1_DSTATE; /* '<S5>/UnitDelay1' */
- int16_T UnitDelay_DSTATE; /* '<S28>/Unit Delay' */
- int16_T UnitDelay_DSTATE_d; /* '<S33>/UnitDelay' */
- int16_T UnitDelay4_DSTATE; /* '<S10>/UnitDelay4' */
- uint16_T UnitDelay2_DSTATE_f; /* '<S16>/UnitDelay2' */
- uint16_T UnitDelay3_DSTATE_lh; /* '<S16>/UnitDelay3' */
- uint16_T UnitDelay5_DSTATE_f; /* '<S16>/UnitDelay5' */
- int8_T Switch2_i; /* '<S6>/Switch2' */
- int8_T UnitDelay2_DSTATE_j; /* '<S6>/UnitDelay2' */
- uint8_T Delay_DSTATE; /* '<S7>/Delay' */
- uint8_T Delay1_DSTATE; /* '<S7>/Delay1' */
- uint8_T Delay2_DSTATE; /* '<S7>/Delay2' */
- uint8_T UnitDelay_DSTATE_j; /* '<S34>/UnitDelay' */
- uint8_T is_active_c5_PMSM_Controller;/* '<S3>/Control_Mode_Manager' */
- uint8_T is_c5_PMSM_Controller; /* '<S3>/Control_Mode_Manager' */
- uint8_T is_ACTIVE; /* '<S3>/Control_Mode_Manager' */
- boolean_T Delay_DSTATE_n[20]; /* '<S84>/Delay' */
- boolean_T Compare; /* '<S18>/Compare' */
- boolean_T UnitDelay_DSTATE_f; /* '<S84>/Unit Delay' */
- boolean_T UnitDelay1_DSTATE_i; /* '<S15>/UnitDelay1' */
- boolean_T n_SpeedCtrl_Mode; /* '<S21>/n_SpeedCtrl' */
- boolean_T n_commDeacv_Mode; /* '<S16>/n_commDeacv' */
- } DW;
- /* Zero-crossing (trigger) state */
- typedef struct {
- ZCE_pi_speed pi_speed_g; /* '<S77>/pi_speed' */
- } PrevZCX;
- /* Invariant block signals for system '<S77>/pi_speed' */
- typedef struct {
- const int32_T DataTypeConversion2; /* '<S81>/Data Type Conversion2' */
- } ConstB_pi_speed;
- /* Invariant block signals (default storage) */
- typedef struct {
- ConstB_pi_speed pi_speed_g; /* '<S77>/pi_speed' */
- } ConstB;
- /* Constant parameters (default storage) */
- typedef struct {
- /* Computed Parameter: r_cos_M1_Table
- * Referenced by: '<S56>/r_cos_M1'
- */
- int16_T r_cos_M1_Table[1441];
- /* Computed Parameter: r_sin_M1_Table
- * Referenced by: '<S56>/r_sin_M1'
- */
- int16_T r_sin_M1_Table[1441];
- /* Computed Parameter: Vq_max_M1_Table
- * Referenced by: '<S46>/Vq_max_M1'
- */
- int16_T Vq_max_M1_Table[46];
- /* Computed Parameter: iq_maxSca_M1_Table
- * Referenced by: '<S46>/iq_maxSca_M1'
- */
- uint16_T iq_maxSca_M1_Table[50];
- /* Computed Parameter: vec_hallToPos_Value
- * Referenced by: '<S9>/vec_hallToPos'
- */
- int8_T vec_hallToPos_Value[8];
- } ConstP;
- /* External inputs (root inport signals with default storage) */
- typedef struct {
- int16_T adc_a; /* '<Root>/adc_a' */
- int16_T adc_b; /* '<Root>/adc_b' */
- int16_T open_theta; /* '<Root>/open_theta' */
- int16_T rotor_speed; /* '<Root>/rotor_speed' */
- int16_T input_target; /* '<Root>/input_target' */
- uint8_T hall_a; /* '<Root>/hall_a' */
- uint8_T hall_b; /* '<Root>/hall_b' */
- uint8_T hall_c; /* '<Root>/hall_c' */
- uint32_T hw_count; /* '<Root>/hw_count' */
- boolean_T b_motEna; /* '<Root>/b_motEna' */
- boolean_T b_cruiseEna; /* '<Root>/b_cruiseEna' */
- uint8_T n_ctrlModReq; /* '<Root>/n_ctrlModReq' */
- int16_T i_dc_limit; /* '<Root>/i_dc_limit' */
- int16_T speed_limit; /* '<Root>/speed_limit' */
- int16_T vbus_voltage; /* '<Root>/vbus_voltage' */
- boolean_T b_hall_calibrate; /* '<Root>/b_hall_calibrate' */
- int16_T vd_open_target; /* '<Root>/vd_open_target' */
- int16_T vq_open_target; /* '<Root>/vq_open_target' */
- } ExtU;
- /* External outputs (root outports fed by signals with default storage) */
- typedef struct {
- uint16_T PWM[3]; /* '<Root>/PWM' */
- uint8_T sector; /* '<Root>/sector' */
- uint8_T n_MotError; /* '<Root>/n_MotError' */
- int16_T VqPrev; /* '<Root>/VqPrev' */
- int16_T VdPrev; /* '<Root>/VdPrev' */
- int16_T iq; /* '<Root>/iq' */
- int16_T id; /* '<Root>/id' */
- int16_T angle; /* '<Root>/angle' */
- int16_T rpm; /* '<Root>/rpm' */
- int16_T hall_angle; /* '<Root>/hall_angle' */
- uint8_T hall_state; /* '<Root>/hall_state' */
- uint8_T running_mode; /* '<Root>/running_mode' */
- } ExtY;
- /* Real-time Model Data Structure */
- struct tag_RTM {
- const char_T * volatile errorStatus;
- PrevZCX *prevZCSigState;
- ExtU *inputs;
- ExtY *outputs;
- DW *dwork;
- };
- extern const ConstB rtConstB; /* constant block i/o */
- /* 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 '<S6>/Scope' : Unused code path elimination
- * Block '<S8>/Scope' : Unused code path elimination
- * Block '<S9>/Scope' : Unused code path elimination
- * Block '<S2>/Scope' : Unused code path elimination
- * Block '<S10>/Logical Operator4' : Unused code path elimination
- * Block '<S15>/Abs2' : Unused code path elimination
- * Block '<S15>/Add' : Unused code path elimination
- * Block '<S17>/Compare' : Unused code path elimination
- * Block '<S17>/Constant' : Unused code path elimination
- * Block '<S15>/Sum7' : Unused code path elimination
- * Block '<S15>/UnitDelay4' : Unused code path elimination
- * Block '<S15>/UnitDelay6' : Unused code path elimination
- * Block '<S15>/UnitDelay7' : Unused code path elimination
- * Block '<S15>/UnitDelay8' : Unused code path elimination
- * Block '<S15>/dz_cntTrnsDet' : Unused code path elimination
- * Block '<S10>/Scope1' : Unused code path elimination
- * Block '<S10>/Scope2' : Unused code path elimination
- * Block '<S25>/Data Type Duplicate' : Unused code path elimination
- * Block '<S25>/Data Type Propagation' : Unused code path elimination
- * Block '<S26>/Data Type Duplicate' : Unused code path elimination
- * Block '<S26>/Data Type Propagation' : Unused code path elimination
- * Block '<S3>/Scope' : Unused code path elimination
- * Block '<S23>/Scope' : Unused code path elimination
- * Block '<S31>/Data Type Duplicate' : Unused code path elimination
- * Block '<S31>/Data Type Propagation' : Unused code path elimination
- * Block '<S30>/Scope' : Unused code path elimination
- * Block '<S30>/Scope1' : Unused code path elimination
- * Block '<S28>/Scope' : Unused code path elimination
- * Block '<S29>/Scope' : Unused code path elimination
- * Block '<S1>/Scope1' : Unused code path elimination
- * Block '<S1>/Scope2' : Unused code path elimination
- * Block '<S53>/Scope' : Unused code path elimination
- * Block '<S45>/Scope' : Unused code path elimination
- * Block '<S45>/Scope1' : Unused code path elimination
- * Block '<S56>/Scope' : Unused code path elimination
- * Block '<S46>/Scope' : Unused code path elimination
- * Block '<S47>/Constant1' : Unused code path elimination
- * Block '<S47>/Constant2' : Unused code path elimination
- * Block '<S47>/Constant4' : Unused code path elimination
- * Block '<S47>/Scope1' : Unused code path elimination
- * Block '<S62>/Data Type Duplicate' : Unused code path elimination
- * Block '<S62>/Data Type Propagation' : Unused code path elimination
- * Block '<S60>/Data Type Duplicate' : Unused code path elimination
- * Block '<S60>/Data Type Propagation' : Unused code path elimination
- * Block '<S57>/Scope' : Unused code path elimination
- * Block '<S66>/Data Type Duplicate' : Unused code path elimination
- * Block '<S66>/Data Type Propagation' : Unused code path elimination
- * Block '<S63>/Scope' : Unused code path elimination
- * Block '<S64>/Data Type Duplicate' : Unused code path elimination
- * Block '<S64>/Data Type Propagation' : Unused code path elimination
- * Block '<S58>/Scope' : Unused code path elimination
- * Block '<S48>/Scope' : Unused code path elimination
- * Block '<S68>/Data Type Duplicate' : Unused code path elimination
- * Block '<S68>/Data Type Propagation' : Unused code path elimination
- * Block '<S67>/Scope' : Unused code path elimination
- * Block '<S5>/Scope12' : Unused code path elimination
- * Block '<S79>/Data Type Duplicate' : Unused code path elimination
- * Block '<S79>/Data Type Propagation' : Unused code path elimination
- * Block '<S77>/Scope' : Unused code path elimination
- * Block '<S77>/Scope2' : Unused code path elimination
- * Block '<S82>/Data Type Duplicate' : Unused code path elimination
- * Block '<S82>/Data Type Propagation' : Unused code path elimination
- * Block '<S80>/Scope' : Unused code path elimination
- * Block '<S83>/Data Type Duplicate' : Unused code path elimination
- * Block '<S83>/Data Type Propagation' : Unused code path elimination
- * Block '<S78>/Scope' : Unused code path elimination
- * Block '<S52>/Scope' : Unused code path elimination
- * Block '<S52>/Scope1' : Unused code path elimination
- * Block '<S8>/Manual Switch' : Eliminated due to constant selection input
- * Block '<S2>/hall_motor_speed_choice' : Eliminated due to constant selection input
- * Block '<S23>/Data Type Conversion' : Eliminate redundant data type conversion
- * Block '<S5>/Data Type Conversion' : Eliminate redundant data type conversion
- * Block '<S46>/Data Type Conversion' : Eliminate redundant data type conversion
- * Block '<S77>/Manual Switch' : Eliminated due to constant selection input
- * Block '<S84>/Data Type Conversion1' : Eliminate redundant data type conversion
- * Block '<S8>/Constant' : Unused code path elimination
- * Block '<S15>/Divide14' : Unused code path elimination
- * Block '<S15>/smooth' : Unused code path elimination
- * Block '<S77>/Constant' : 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 <system>/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/PMSM_Controller') - opens subsystem MotorController_FOC/PMSM_Controller
- * hilite_system('MotorController_FOC/PMSM_Controller/Kp') - opens and selects block Kp
- *
- * Here is the system hierarchy for this model
- *
- * '<Root>' : 'MotorController_FOC'
- * '<S1>' : 'MotorController_FOC/PMSM_Controller'
- * '<S2>' : 'MotorController_FOC/PMSM_Controller/Angle_Speed_Estimation'
- * '<S3>' : 'MotorController_FOC/PMSM_Controller/Control_Mode_Manager'
- * '<S4>' : 'MotorController_FOC/PMSM_Controller/Diagnostics'
- * '<S5>' : 'MotorController_FOC/PMSM_Controller/controller'
- * '<S6>' : 'MotorController_FOC/PMSM_Controller/Angle_Speed_Estimation/Direction_Detection'
- * '<S7>' : 'MotorController_FOC/PMSM_Controller/Angle_Speed_Estimation/Edge_Detect'
- * '<S8>' : 'MotorController_FOC/PMSM_Controller/Angle_Speed_Estimation/Electrical_Angle_Estimation'
- * '<S9>' : 'MotorController_FOC/PMSM_Controller/Angle_Speed_Estimation/Hall_Angle_Raw'
- * '<S10>' : 'MotorController_FOC/PMSM_Controller/Angle_Speed_Estimation/Speed_Estimation'
- * '<S11>' : 'MotorController_FOC/PMSM_Controller/Angle_Speed_Estimation/Electrical_Angle_Estimation/degree_rad'
- * '<S12>' : 'MotorController_FOC/PMSM_Controller/Angle_Speed_Estimation/Electrical_Angle_Estimation/degree_rad/If Action Subsystem'
- * '<S13>' : 'MotorController_FOC/PMSM_Controller/Angle_Speed_Estimation/Electrical_Angle_Estimation/degree_rad/If Action Subsystem1'
- * '<S14>' : 'MotorController_FOC/PMSM_Controller/Angle_Speed_Estimation/Electrical_Angle_Estimation/degree_rad/If Action Subsystem2'
- * '<S15>' : 'MotorController_FOC/PMSM_Controller/Angle_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation'
- * '<S16>' : 'MotorController_FOC/PMSM_Controller/Angle_Speed_Estimation/Speed_Estimation/Subsystem'
- * '<S17>' : 'MotorController_FOC/PMSM_Controller/Angle_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/Compare To Constant'
- * '<S18>' : 'MotorController_FOC/PMSM_Controller/Angle_Speed_Estimation/Speed_Estimation/Subsystem/Compare To Constant'
- * '<S19>' : 'MotorController_FOC/PMSM_Controller/Control_Mode_Manager/Control_Mode_Manager'
- * '<S20>' : 'MotorController_FOC/PMSM_Controller/Control_Mode_Manager/Field_Weakening_Enabled'
- * '<S21>' : 'MotorController_FOC/PMSM_Controller/Control_Mode_Manager/Mode_Transition_Calculation'
- * '<S22>' : 'MotorController_FOC/PMSM_Controller/Control_Mode_Manager/Subsystem'
- * '<S23>' : 'MotorController_FOC/PMSM_Controller/Control_Mode_Manager/target_scale'
- * '<S24>' : 'MotorController_FOC/PMSM_Controller/Control_Mode_Manager/Field_Weakening_Enabled/Field_Weakening'
- * '<S25>' : 'MotorController_FOC/PMSM_Controller/Control_Mode_Manager/Field_Weakening_Enabled/Field_Weakening/Saturation Dynamic'
- * '<S26>' : 'MotorController_FOC/PMSM_Controller/Control_Mode_Manager/Field_Weakening_Enabled/Field_Weakening/Saturation Dynamic1'
- * '<S27>' : 'MotorController_FOC/PMSM_Controller/Control_Mode_Manager/target_scale/If Action Subsystem'
- * '<S28>' : 'MotorController_FOC/PMSM_Controller/Control_Mode_Manager/target_scale/open_mode'
- * '<S29>' : 'MotorController_FOC/PMSM_Controller/Control_Mode_Manager/target_scale/torque_mode'
- * '<S30>' : 'MotorController_FOC/PMSM_Controller/Control_Mode_Manager/target_scale/open_mode/Rate_Control'
- * '<S31>' : 'MotorController_FOC/PMSM_Controller/Control_Mode_Manager/target_scale/open_mode/Rate_Control/Saturation Dynamic'
- * '<S32>' : 'MotorController_FOC/PMSM_Controller/Control_Mode_Manager/target_scale/open_mode/Rate_Control/Subsystem'
- * '<S33>' : 'MotorController_FOC/PMSM_Controller/Control_Mode_Manager/target_scale/open_mode/Rate_Control/delayUnit'
- * '<S34>' : 'MotorController_FOC/PMSM_Controller/Diagnostics/Diagnostics_Enabled'
- * '<S35>' : 'MotorController_FOC/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter'
- * '<S36>' : 'MotorController_FOC/PMSM_Controller/Diagnostics/Diagnostics_Enabled/either_edge'
- * '<S37>' : 'MotorController_FOC/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter/Default'
- * '<S38>' : 'MotorController_FOC/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification'
- * '<S39>' : 'MotorController_FOC/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification'
- * '<S40>' : 'MotorController_FOC/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter/either_edge'
- * '<S41>' : 'MotorController_FOC/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification/Counter'
- * '<S42>' : 'MotorController_FOC/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter/Dequalification/Counter/rst_Delay'
- * '<S43>' : 'MotorController_FOC/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification/Counter'
- * '<S44>' : 'MotorController_FOC/PMSM_Controller/Diagnostics/Diagnostics_Enabled/Debounce_Filter/Qualification/Counter/rst_Delay'
- * '<S45>' : 'MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward'
- * '<S46>' : 'MotorController_FOC/PMSM_Controller/controller/Motor_Limitations_Enabled'
- * '<S47>' : 'MotorController_FOC/PMSM_Controller/controller/PID_Controller'
- * '<S48>' : 'MotorController_FOC/PMSM_Controller/controller/Park_Transform_Inverse'
- * '<S49>' : 'MotorController_FOC/PMSM_Controller/controller/SVM'
- * '<S50>' : 'MotorController_FOC/PMSM_Controller/controller/Speed_Controller'
- * '<S51>' : 'MotorController_FOC/PMSM_Controller/controller/current_sample'
- * '<S52>' : 'MotorController_FOC/PMSM_Controller/controller/pid_schdule'
- * '<S53>' : 'MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward/Clarke'
- * '<S54>' : 'MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward/Low_Pass_Filter'
- * '<S55>' : 'MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward/Park'
- * '<S56>' : 'MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward/Sine_Cosine_Approximation'
- * '<S57>' : 'MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl'
- * '<S58>' : 'MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl'
- * '<S59>' : 'MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl/PI_id'
- * '<S60>' : 'MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl/Saturation Dynamic1'
- * '<S61>' : 'MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl/PI_id/Integrator'
- * '<S62>' : 'MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl/PI_id/Saturation Dynamic1'
- * '<S63>' : 'MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl/PI_iq'
- * '<S64>' : 'MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl/Saturation Dynamic2'
- * '<S65>' : 'MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl/PI_iq/Integrator'
- * '<S66>' : 'MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl/PI_iq/Saturation Dynamic1'
- * '<S67>' : 'MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM'
- * '<S68>' : 'MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/Saturation Dynamic1'
- * '<S69>' : 'MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/Subsystem'
- * '<S70>' : 'MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/sector_select'
- * '<S71>' : 'MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/Subsystem/sector1'
- * '<S72>' : 'MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/Subsystem/sector2'
- * '<S73>' : 'MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/Subsystem/sector3'
- * '<S74>' : 'MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/Subsystem/sector4'
- * '<S75>' : 'MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/Subsystem/sector5'
- * '<S76>' : 'MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/Subsystem/sector6'
- * '<S77>' : 'MotorController_FOC/PMSM_Controller/controller/Speed_Controller/speed_mode'
- * '<S78>' : 'MotorController_FOC/PMSM_Controller/controller/Speed_Controller/torque_mode'
- * '<S79>' : 'MotorController_FOC/PMSM_Controller/controller/Speed_Controller/speed_mode/Saturation Dynamic3'
- * '<S80>' : 'MotorController_FOC/PMSM_Controller/controller/Speed_Controller/speed_mode/pi_speed'
- * '<S81>' : 'MotorController_FOC/PMSM_Controller/controller/Speed_Controller/speed_mode/pi_speed/Integrator'
- * '<S82>' : 'MotorController_FOC/PMSM_Controller/controller/Speed_Controller/speed_mode/pi_speed/Saturation Dynamic1'
- * '<S83>' : 'MotorController_FOC/PMSM_Controller/controller/Speed_Controller/torque_mode/Saturation Dynamic'
- * '<S84>' : 'MotorController_FOC/PMSM_Controller/controller/pid_schdule/Call_Scheduler'
- */
- #endif /* RTW_HEADER_PMSM_Controller_h_ */
- /*
- * File trailer for generated code.
- *
- * [EOF]
- */
|