3.3.18.11 mcFlxI_FluxWeakeningReset

C


/* Reset flux weakening module */
void mcFlxI_FluxWeakeningReset( const tmcFlx_Parameters_s * const pParameters )	

Summary

Resets the flux weakening module.

Description

This function resets the flux weakening module by linking the state variables and resetting the associated PI controller. It achieves this by calling the mcUtils_PiControlReset function with a zero setpoint and the PI controller state structure.

Precondition

None.

Parameters

ParamDescription
pParametersA pointer to the flux control module structure, which includes the MTPA, flux weakening, and flux control parameters.

Returns

None

Example

// Define the flux module data structure
tmcFlx_Parameters_s fluxParameters;

/** Reset flux weakening module */
mcFlxI_FluxWeakeningReset(&fluxParameters);
    

Remarks

None.