X-CUBE-SPN11 for X-NUCLEO-IHM11M1
|
Calculate the acceleration profile step by step for motor during start-up. More...
Functions | |
void | MC_SixStep_Ramp_Motor_calc (void) |
Detailed Description
Calculate the acceleration profile step by step for motor during start-up.
- Return values
-
None
Function Documentation
void MC_SixStep_Ramp_Motor_calc | ( | void | ) |
Definition at line 479 of file 6Step_Lib.c.
References SIXSTEP_Base_InitTypeDef::ACCEL, ALIGNMENT, SIXSTEP_Base_InitTypeDef::ARR_value, constant_k, constant_multiplier_tmp, delta, index_startup_motor, SIXSTEP_Base_InitTypeDef::Ireference, MC_SixStep_Current_Reference_Setvalue(), MCM_Sqrt(), mech_accel_hz, NUMBER_OF_STEPS, SIXSTEP_Base_InitTypeDef::prescaler_value, Rotor_poles_pairs, START, SIXSTEP_Base_InitTypeDef::STATUS, SIXSTEP_Base_InitTypeDef::SYSCLK_frequency, T_single_step, T_single_step_first_value, Time_vector_prev_tmp, and Time_vector_tmp.
Referenced by MC_SixStep_Alignment(), MC_SixStep_ARR_step(), and MC_SixStep_RESET().
Generated by 1.8.11