3.3.24.3 mcSpeI_SpeedControlManual

C


/* Speed control - manual mode : floating point version */
void mcSpeI_SpeedControlManual(  const tmcSpe_Parameters_s * const pParameters,
                                                         const float32_t  Out )

/* Speed control - manual mode : fixed point version */
void mcSpeI_SpeedControlManual(  const tmcSpe_Parameters_s * const pParameters,
                                                         const int16_t  Out )	

Summary

Performs speed control in manual mode.

Description

This function updates the speed control module output to a specified value in manual mode. Depending on the state of the system, it either update the PI controller output (Iq_ref) to a desired value or resets the PI controller.

Precondition

None.

Parameters

ParamDescription
pParametersA pointer to the speed control module parameter structure
OutOutput value for manual control. Please refer the generated header for the exact data type.

Returns

None

Example

// Define the speed control module data structure
tmcSpe_Parameters_s speedParameters;
float32_t iQref = 0.2f;
/* Speed control - manual mode */
mcSpeI_SpeedControlManual(&speedParameters, iQref);
    

Remarks

Refer the generated header file for the exact function signature..