帮助中心帮助中心
本页翻译不是最新的。点击此处可查看最新英文版本。
使用 PMSM 为基于传感器和无传感器位置应用实现开环或闭环磁场定向控制 (FOC) 方法。
此示例使用开环控制(也称为标量控制或伏特/赫兹控制)来运行电机。这种方法会改变定子电压和频率来控制转子转速,而不使用来自电机的任何反馈。您可以使用这种方法来检查硬件连接的完整性。开环控制的恒速应用使用固定频率的电机电源。开环控制的可调速应用需要可变频率电源来控制转子转速。为了确保恒定的定子磁通,请保持电源电压振幅与其频率成比例。
此示例使用推荐的 Texas Instruments™ 硬件确定永磁同步电机 (PMSM) 的参数。该工具确定以下参数:
此示例包括一个算法。自定义电机控制硬件(在 Motor Control Blockset™ 示例中未使用的硬件)通过该算法来确定永磁同步电机 (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:
Uses the parameter estimation blocks provided by Motor Control Blockset™ to estimate these parameters of a permanent magnet synchronous motor (PMSM):
此示例采用磁场定向控制 (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.
Compute the gain values of PI controllers within the speed and current controllers by using the Field Oriented Control Autotuner block.
此示例采用磁场定向控制 (FOC) 方法来控制三相永磁同步电机 (PMSM) 的位置。FOC 算法需要从正交编码器获得转子位置反馈。
Uses Motor Control Blockset™ to show how to use the PMSM characteristic plotting and PMSM milestone speed identification functions to obtain a control trajectory.
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.
此示例说明如何使用任何自定义电机控制硬件(Motor Control Blockset™ 示例中未使用的硬件)运行使用磁场定向控制 (FOC) 的三相永磁同步电机 (PMSM)。使用算法导出工作流,涉及使用 Simulink® 和 Embedded Coder® 生成控制算法代码,然后将其与手动编写或外部生成的硬件驱动程序代码集成。此示例说明算法导出工作流以及中间步骤。
此示例说明如何使用强化学习的控制设计方法来实现永磁同步电机 (PMSM) 的磁场定向控制 (FOC)。此示例使用 FOC 原理。不过,它使用强化学习 (RL) 智能体代替 PI 控制器。有关 FOC 的更多详细信息,请参阅磁场定向控制 (FOC)。
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).
Implements direct torque control (DTC) technique to control the speed of a three-phase permanent magnet synchronous motor (PMSM). Direct Torque Control (DTC) is a vector motor control technique that implements motor speed control by directly controlling the flux and torque of the motor. The example algorithm needs motor currents and position feedback from PMSM. It uses space vector pulse-width modulation (DTC-SVPWM) variant of DTC, which uses space vector modulation (SVM) to produce the pulse-width modulation (PWM) duty cycles that are used by the inverter. For more details about the DTC-SVPWM algorithm used in this example, see 直接转矩控制 (DTC).
Calculates the inverter power loss and total harmonic distortion (THD) in motor current for different pulse-width modulation (PWM) methods. The example uses field-oriented control (FOC) algorithm that runs a permanent-magnet synchronous motor (PMSM) in speed control mode as a reference. The example only supports simulation.
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.
Use a Field-Oriented Control (FOC) algorithm for a Permanent Magnet Synchronous Motor (PMSM) by using blocks from the Motor Control Blockset™ on an FPGA device (Trenz Electronic™ Motor Control Development Kit TE0820).
此示例说明如何在 Texas Instruments™ LAUNCHXL-F28379D 硬件板上进行 PIL 探查。在处理器在环 (PIL) 仿真中,控制算法在目标硬件中执行,但被控对象模型在主机上运行。被控对象模型对控制器的输入和输出信号进行仿真,并使用串行通信接口与控制器通信。借助此功能,您可以使用 PIL 仿真来确定目标硬件上的执行时间,然后可以将其与主机上仿真模型的执行时间相比较。
Uses a lookup table (LUT) for a nonlinear permanent magnet synchronous motor (PMSM) and controller to run the motor using field-weakening control (with maximum torque per ampere (MTPA)). Use this example to replicate and run a finite element analysis (FEA) based nonlinear, high-fidelity PMSM in simulation. This example helps motor design engineers to simulate high-performance motors in real-world motor control applications. In addition, control system engineers can use this example to design control algorithms for a given set of motor parameter data to achieve high levels of accuracy in tracking and controlling speed and torque as well as to meet efficiency requirements, especially for high-performance motors.
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.
Uses Motor Control Blockset™ to explain the fundamentals of constraint curves, utilization of these curves to determine operating currents, and usage of the grid of these currents in simulation or deployment environments.
您点击的链接对应于以下 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