ZHCUAO5 November 2022
此系统软件被逐步构建,直到最终系统可以令人放心地运转。要选择特定的构建选项,请在 sys_settings.h 中选择相应的 DMC_BUILDLEVEL 选项。选中构建选项后,右键点击工程名称并点击 Rebuild Project 编译工程。
//=============================================================================
// Incremental Build options for System check-out
//=============================================================================
#define DMC_LEVEL_1 1 // 50% duty, offset calibration and verify phase shift
#define DMC_LEVEL_2 2 // Open loop control to check sensing signals
#define DMC_LEVEL_3 3 // Closed current loop to check the hardware settings
#define DMC_LEVEL_4 4 // Parameters identification and run with InstaSPIN-FOC
#define DMC_BUILDLEVEL DMC_LEVEL_4