电机控制块集

设计与实施电机控制算法

电机控制块集provides Simulink®用于创建和调整面向现场控制的块和无刷电机的其他算法。  Blocks include Park and Clarke transforms, sensorless observers, field weakening, a space-vector generator, and an FOC autotuner. You can verify control algorithms in closed-loop simulation using the motor and inverter models included in the blockset.

The blockset parameter estimation tool runs predefined tests on your motor hardware for accurate estimation of stator resistance, d-axis and q-axis inductance, back EMF, inertia, and friction. You can incorporate these motor parameter values into a closed-loop simulation to analyze your controller design.

参考示例显示如何验证桌面仿真中的控制算法,并生成Compact C CodeThat支持生产实施所需的执行率。金宝app参考实施例还可用于实现由块集支持的电机控制硬件套件的算法。金宝app

Get Started:

参考例子

Jumpstart your motor control design with fully-assembled example models.

Simulation and Code Generation

Use fully-assembled reference examples as a starting point for designing and implementing field-oriented control algorithms for surface-mount and interior permanent magnet synchronous motors (PMSM), induction motors, and brushless DC motors (BLDC). Use these example models to test and verify your algorithm design in closed-loop simulation, and then reuse the same models to generate and deploy embedded code.

Motor Control Kits

使用参考示例来快速生成紧凑且快速的C代码,以实现用于多个支持的电机控制硬件套件的电机控制算法。金宝app直接从Simulink模型自动构建和部署到目标微处理器,以测试电机硬件上的算法。金宝app与主机通信并控制这些目标应用程序。

电机控制算法

使用针对代码生成优化的块设计电机控制算法。

控制算法设计

利用公园、克拉克、比例积分控制器、空间向量的基因rator, maximum torque per ampere (MTPA), field weakening, and induction motor slip speed estimator blocks to create field-oriented control algorithms for PMSM and induction motors in Simulink. Use the six-step commutation block to control BLDC motors.

代码生成

Generate fast and compact floating- or fixed-point code for implementation on an embedded microcontroller (with Embedded Coder). Assess current loop performance with real-time execution profiling.

Explore gallery (2 images)

Rapid Control Prototyping

使用Simulink实时和Speedgoat电动机控制套件实时测试控制算法。金宝app该套件包括一个完整的软件/硬件包,用于使用模拟和数字I / O在SpeedGoat实时目标硬件上使用电机控制块组开发的无刷直流电机控制算法。

Speedgoat电动机控制套件。

传感器解码器和观察者

实现敏感和无传感器电机控制算法。

传感器解码器

Use reference examples to calibrate offsets for Hall sensors and quadrature encoders. Then use sensor decoder blocks to process signals from Hall sensors, quadrature encoders, and resolvers to compute rotor position and speed.

Sensor decoders library in Motor Control Blockset.

观察员

Implement sensorless field-oriented control using Sliding Mode Observer and Flux Observer blocks. Use these blocks to compute the rotor electrical position and mechanical speed of PMSMs and induction motors from measured voltages and currents. Estimate magnetic flux and mechanical torque. Adjust observer parameters and verify observer operation in simulation before generating embedded code.

使用滑模观察块的位置和速度估计。

控制器自动运行

Automatically tune current and speed loop gains.

初始控制器调整

基于电机和变频参数,自动计算初始PI控制器的速度和电流循环增益。提供的脚本通过计算和绘制当前循环的根轨迹,BODE图和步进响应来帮助您分析当前循环动态和频域中的时间和频域(使用控制系统工具箱)。

测试电机硬件上计算的控制器收益。

面向实地的控制自动箱

使用面向领域的控制自动箱块来调整面向现场控制器的速度和电流环路,以实现每个循环的指定带宽和相位余量(使用Simulink Control Design)。金宝app针对植物模型进行模拟中的收益。您还可以使用Speedgoat目标计算机(具有Simulink实时)实时对电机驱动硬件进行预测。金宝app

电机参数估计

Automatically identify motor parameters.

预构建的仪器测试

Identify stator resistance, d-axis and q-axis inductance, back-EMF, inertia, and friction parameters for your PMSM motor by using provided reference examples that run predefined tests on your motor. You can use Hall sensor, quadrature encoder, or sensorless observers for these tests.

Parameter Estimation Dashboard

从主机上的Simulink模型启动和控制参数估计。金宝app将估计值保存到参数化电机模型并计算控制器增益。

参数估计仪表板。

电机模型

Model linear average-value motor and inverter dynamics.

Motor and Inverter Models

模型并模拟表面安装PMSMS,内部PMSM和电动机,使用实现线性大量参数电机模型的块。使用从仪表测试测试的值进行参数化这些模型。将控制器模型与电机型号和提供的平均值逆变器模型结合起来,用于快速闭环模拟。

模拟PMSM和逆变器。

与Simscape Electore的更高保真建模

使用Simsceel电气™模型和模拟非线性电动机动力学以及逆变器中的理想或详细切换。测试您的面向现场控制算法,这些控制算法与这些高保真电机和逆变器型号,模拟包含非线性和切换效果。

Explore gallery (2 images)

Latest Features

感应电动机s

为三相感应机设计设计与面向现场控制算法

感应电动机s

Model and simulate three-phase induction machines

BLDC Motors

使用六步换向块设计和实施梯形控制

电机参数估计

使用正交编码器或通量观测器识别PMSM参数

矢量绘图块

可视化Phasor图中的电流和电压并以不同的操作模式验证控制器

See the发行说明有关这些功能的详细信息和相应的功能。