This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:Code Composer Studio
我注意到硬件的轻微变化会导致 gMotorsVars.I_bias 和 gMotorVars.I_bias 发生变化。 虽然这种变化最小、但会导致电机启动和关断之间的主要差异、从而导致电机的高断续和振动。 我在尝试使用使用使用使用相同硬件构建的多个电路板来控制同一电机时注意到了这一点。
每次器件上电时、我都在使用偏移校准。 这通常需要3到5秒才能实现器件的全面功能。
是否有办法避免偏移校准并调用 user.h 中保存的偏移值、以便同一固件可用于由相同硬件制成的多个电路板?