帮助中心帮助中心
浏览可以在 Texas Instruments 硬件上进行部署的 Motor Control Blockset™ 示例。
此示例使用开环控制(也称为标量控制或伏特/赫兹控制)来运行电机。这种方法会改变定子电压和频率来控制转子转速,而不使用来自电机的任何反馈。您可以使用这种方法来检查硬件连接的完整性。开环控制的恒速应用使用固定频率的电机电源。开环控制的可调速应用需要可变频率电源来控制转子转速。为了确保恒定的定子磁通,请保持电源电压振幅与其频率成比例。
此示例使用推荐的 Texas Instruments® 硬件确定永磁同步电机 (PMSM) 的参数。该工具确定以下参数:
Uses the parameter estimation blocks provided by Motor Control Blockset™ to estimate these parameters of a permanent magnet synchronous motor (PMSM) with a quadrature encoder sensor:
此示例采用磁场定向控制 (FOC) 方法来控制三相永磁同步电机 (PMSM) 的转速。有关 FOC 的详细信息,请参阅磁场定向控制 (FOC)。
此示例计算转子直轴(d 轴)和霍尔传感器检测到的位置之间的偏移量。磁场定向控制 (FOC) 算法需要此位置偏移量来正确运行永磁同步电机 (PMSM)。为了计算偏移量,目标模型在开环条件下运行电机。该模型使用常量 (沿定子 d 轴的电压)和零值 (沿定子 q 轴的电压),通过使用位置或斜坡发生器来运行电机(以低恒定转速)。当位置或斜坡值达到零时,对应的转子位置就是霍尔传感器的偏移值。
d
q
此示例采用磁场定向控制 (FOC) 方法来控制三相永磁同步电机 (PMSM) 的转速。FOC 算法需要转子位置反馈,通过使用霍尔传感器获得该反馈。有关 FOC 的详细信息,请参阅磁场定向控制 (FOC)。
此示例计算转子的 d 轴与正交编码器检测到的编码器索引脉冲位置之间的偏移量。控制算法(在磁场定向控制和参数估计示例中可用)使用此偏移值来计算转子的 d 轴的精确位置。控制器需要此位置以在转子磁通参考系(d-q 参考系)中正确实现磁场定向控制 (FOC),从而正确运行永磁同步电机 (PMSM)。
此示例采用磁场定向控制 (FOC) 方法来控制三相永磁同步电机 (PMSM) 的转速。FOC 算法需要转子位置反馈,该反馈通过正交编码器获得。有关 FOC 的详细信息,请参阅磁场定向控制 (FOC)。
此示例采用磁场定向控制 (FOC) 方法来控制三相永磁同步电机 (PMSM) 的转矩和转速。FOC 算法需要转子位置反馈,该反馈通过正交编码器获得。有关 FOC 的详细信息,请参阅磁场定向控制 (FOC)。
Uses field-oriented control (FOC) to run a three-phase permanent magnet synchronous motor (PMSM) in different modes of operation for plant validation. FOC algorithm implementation needs the real-time feedback of the rotor position. This example uses a quadrature encoder sensor to measure the rotor position. For details about FOC, see 磁场定向控制 (FOC).
此示例采用磁场定向控制 (FOC) 方法来控制三相永磁同步电机 (PMSM) 的转速。然而,此示例中的 FOC 算法使用信号的 SI 单位来执行计算,而不使用数量的标幺表示(有关标幺制的详细信息,请参阅标幺制)。以下是信号及其 SI 单位:
Uses field-oriented control (FOC) to control two three-phase permanent magnet synchronous motors (PMSM) coupled in a dyno setup. Motor 1 runs in the closed-loop speed control mode. Motor 2 runs in the torque control mode and loads Motor 1 because they are mechanically coupled. You can use this example to test a motor in different load conditions.
Use the resolver sensor to measure the rotor position. The resolver consists of two stator (secondary) windings placed orthogonally around the resolver rotor (primary) winding. After you mount the resolver sensor over a PMSM, the resolver rotor winding rotates with the shaft of the running motor. Meanwhile, the controller provides a fixed-frequency excitation signal (alternating sinusoidal or square pulse) to the primary winding.
Uses field-oriented control (FOC) to control the speed of a three-phase permanent magnet synchronous motor (PMSM). It gives you the option to use these Simscape Electrical blocks as an alternative to the Average Value Inverter block in Motor Control Blockset™:
此示例通过使用 Field Oriented Control Autotuner 模块计算转速和电流控制环中可用的 PI 控制器的增益值。有关此模块的详细信息,请参阅Field Oriented Control Autotuner。有关磁场定向控制的详细信息,请参阅磁场定向控制 (FOC)。
Uses the Field Oriented Control Autotuner block to compute the gain values of the PI controllers available in the speed, current, and flux control loops of a field-weakening control algorithm. For details about this block, see Field Oriented Control Autotuner.
此示例采用磁场定向控制 (FOC) 方法来控制三相永磁同步电机 (PMSM) 的位置。FOC 算法需要从正交编码器获得转子位置反馈。
This MATLAB® project provides a motor control example model that uses field-oriented control (FOC) to run a three-phase permanent magnet synchronous motor (PMSM) in different modes of operation. Implementing the FOC algorithm needs real-time rotor position feedback. This example uses a quadrature encoder sensor to measure the rotor position. For details about FOC, see 磁场定向控制 (FOC).
Performs frequency response estimation (FRE) of a plant model running a three-phase permanent magnet synchronous motor (PMSM). When you simulate or run the model on the target hardware, the model runs tests to estimate the frequency response as seen by each PI controller (also known as raw FRE data) and plots the FRE data to provide a graphical representation of the plant model dynamics.
Identify and resolve issues with respect to peripheral settings and task scheduling early during development.
Partition real-time motor control application on to multiple processors to achieve design modularity and improved control performance.
Estimates the initial position (in electrical radians) of a stationary interior PMSM by using pulsating high-frequency (PHF) injection and dual pulse (DP) techniques.
Uses hardware-in-the-loop (HIL) simulation to implement the field-oriented control (FOC) algorithm to control the speed of a three-phase permanent magnet synchronous motor (PMSM). The FOC algorithm requires rotor position feedback, which is obtained by a quadrature encoder sensor. For more information on FOC, see 磁场定向控制 (FOC).
此示例采用直接转矩控制 (DTC) 方法来控制三相永磁同步电机 (PMSM) 的转速。直接转矩控制 (DTC) 是一种矢量电机控制方法,它通过直接控制电机的磁通和转矩来实现电机转速控制。该示例算法需要从 PMSM 获取电机电流和位置反馈。它使用 DTC 的空间矢量脉冲宽度调制 (DTC-SVPWM) 变体,该变体使用空间矢量调制 (SVM) 来产生逆变器使用的脉冲宽度调制 (PWM) 占空比。有关此示例中使用的 DTC-SVPWM 算法的更多详细信息,请参阅直接转矩控制 (DTC)。
Uses Model Predictive Control (MPC) to control the speed of a three-phase permanent magnet synchronous motor (PMSM). MPC is a control technique that tunes and optimizes the inputs to a control system to minimize the error in the predicted system output and achieve the reference control objective over a period of time. This technique involves solving the objective function and finding an optimal input sequence at every sample time (). After each time step, the current state of the plant is considered as the initial state and the above process is repeated.
此示例说明如何在 Texas Instruments® LAUNCHXL-F28379 硬件板上进行 PIL 探查。在处理器在环 (PIL) 仿真中,控制算法在目标硬件中执行,但被控对象模型在主机上运行。被控对象模型对控制器的输入和输出信号进行仿真,并使用串行通信接口与控制器通信。借助此功能,您可以使用 PIL 仿真来确定目标硬件上的执行时间,然后可以将其与主机上仿真模型的执行时间相比较。
Implement active disturbance rejection control (ADRC) of the speed of a permanent magnet synchronous motor (PMSM) modelled in Simulink® using the Active Disturbance Rejection Control (Simulink Control Design) block. You can use the example to implement field-oriented control (FOC) using either a proportional integral (PI) or ADRC-based controller to run the motor in the speed control mode. Therefore, you can compare the performance of the PI and ADRC controllers.
Run a permanent magnet synchronous motor (PMSM) in an industrial drive application setup using position-sensor-based field-oriented control (FOC). Industrial drives enable you to swap motors in real time. These drives enable you to replace a motor with a new one without repeated deployment of code. An industrial drive setup needs a fixed inverter and software that has the ability to adapt the control algorithm according to the new motor using only the updated nameplate parameters.
Run a permanent magnet synchronous motor (PMSM) in an industrial drive application setup using a sensorless field-oriented control (FOC). The example uses a sensorless Flux Observer to estimate the motor position. Industrial drives enable you to replace a motor with a new one without repeated deployment of code. An industrial drive setup needs only nameplate parameters to adapt the software to the new motor.
Use Motor Control Blockset™ along with other MathWorks products to generate host and target Simulink® models that are configured for a specific hardware and motor control technique.
使用六步换相法来控制三相 BLDC 电机的转速和旋转方向。
此示例计算开环控制中相对于转子零位置的霍尔传感器序列。此工作流帮助您使用六步换相的方式旋转电机,而无需标记霍尔传感器或推断开关序列。运行此示例并获取霍尔序列,使用此霍尔序列和 Six Step Commutation 模块按照使用传感器反馈对 BLDC 电机进行六步换相示例中的说明以闭环形式运行电机。
Determines the parameters of a three-phase AC induction motor (ACIM) using the recommended Texas Instruments® hardware. The example determines these parameters:
Uses the parameter estimation blocks provided by Motor Control Blockset™ to estimate these parameters of an AC induction motor (ACIM):
此示例采用磁场定向控制 (FOC) 方法来控制三相交流感应电机 (ACIM) 的转速。FOC 算法需要转子转速反馈,在此示例中通过使用正交编码器获得此反馈。有关 FOC 的详细信息,请参阅磁场定向控制 (FOC)。
此示例使用无传感器位置估计来实现磁场定向控制 (FOC) 方法,以控制三相交流感应电机 (ACIM) 的转速。有关 FOC 的详细信息,请参阅磁场定向控制 (FOC)。
Implements a commutation system to control the speed of a three-phase 12/8 switched reluctance motor (SRM).
Compute the dwell angle of a 12/8 switched reluctance motor (SRM) online (while the motor runs). The example then uses the computed dwell angle along with a delta controller to control the motor speed.
Implement sensorless field-oriented control (FOC) using only a single DC bus-based current measurement to run a permanent magnet synchronous motor (PMSM).
Implements field-oriented control (FOC) using sensorless position estimation and I-F control-based startup to control the speed of a three-phase permanent magnet synchronous motor (PMSM).
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office