以仿真为主的示例
使用参考示例分析电机和控制特性,并增强电机控制算法的实现。
Motor Control Blockset™ 参考示例支持实现电机控制算法的仿真和代码生成。尽管大多数示例都可以在支持的硬件上自动部署(预先配置了设备驱动),但以下示例没有预先配置的自动部署功能。不过,您可以使用这些示例来执行分析并生成通用 C 代码,然后可以在任何微控制器上进一步配置和部署这些代码。面向自定义硬件的示例中提供的适用于自定义硬件的算法导出工作流示例介绍了配置通用 C 代码以在任何自定义微控制器上进行部署的工作流。
精选示例
PMSM Drive Characteristics and Constraint Curves
Uses Motor Control Blockset™ to show how to use the PMSM characteristic plotting and PMSM milestone speed identification functions to obtain a control trajectory.
PMSM Constraint Curves and Their Application
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.
SynRM Constraint Curves and Their Application
Uses Motor Control Blockset™ to utilize the motor constraint curves to determine the operating currents and use lookup tables of these currents in simulation or deployment environments. The example uses the PMSM constraint curves described in the PMSM Drive Characteristics and Constraint Curves page.
Field-Weakening Control (with MTPA) of Nonlinear PMSM Using Lookup Table
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.
Field-Weakening Control (with MTPA) of Nonlinear Synchronous Reluctance Motors Using Lookup Table
Uses a lookup table (LUT) for a nonlinear synchronous reluctance motor 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 synchronous reluctance motor 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.
使用强化学习的 PMSM 磁场定向控制
此示例说明如何使用强化学习的控制设计方法来实现永磁同步电机 (PMSM) 的磁场定向控制 (FOC)。此示例使用 FOC 原理。不过,它使用强化学习 (RL) 智能体代替 PI 控制器。有关 FOC 的更多详细信息,请参阅磁场定向控制 (FOC)。
Determine Power Losses and THD for PWM Methods
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.
Analyze and Verify Motor Control Algorithms Using Polyspace
Uses the Polyspace® static code analysis tools to analyze and verify Simulink® models containing motor control algorithms. Static code analysis is a software verification technique that analyzes source code for quality, reliability, and security without executing the code. This approach uses robust error detection routines (that include checks for critical run-time errors) to identify bugs and defects and in addition ensures compliance with common coding standards. It provides a cost-effective alternative to measure and track the software quality metrics and eliminates the need to instrument the code or to write elaborate unit test cases.
Field-Oriented Control of Six-Phase PMSM
Control the torque of an asymmetric six-phase permanent magnet synchronous motor (PMSM) using field-oriented control (FOC).
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)