控制算法设计
为电机控制系统创建控制器算法
创建转矩控制和转速控制子系统,验证目标执行时间,并调节控制增益。
注意
此处列出的模块符合 MISRA C™ 规范。
模块
主题
- Design Field-Oriented Control Algorithm
Design and integrate the torque-control and speed-control subsystems.
- 估计控制增益和使用工具函数
执行转速和转矩控制子系统的控制参数调节。
- 使用 PIL 测试进行代码验证和探查
此示例说明如何在 Texas Instruments® LAUNCHXL-F28379 硬件板上进行 PIL 探查。在处理器在环 (PIL) 仿真中,控制算法在目标硬件中执行,但被控对象模型在主机上运行。被控对象模型对控制器的输入和输出信号进行仿真,并使用串行通信接口与控制器通信。借助此功能,您可以使用 PIL 仿真来确定目标硬件上的执行时间,然后可以将其与主机上仿真模型的执行时间相比较。
- Obtain Controller Gains to Run Motor Using Field-Oriented Control
This example shows how to obtain PI controller gains using Optimum theory for the current control loop and speed control loop in Field Oriented Control (FOC) of a Permanent Magnet Synchronous Motor (PMSM).
- Sensorless Speed Control of BLDC Motor Using Six-Step Commutation
This example uses 120-degree conduction mode to implement the six-step commutation technique to control the speed of a three-phase brushless DC (BLDC) motor.