このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
モーター制御
PMSM (永久磁石同期モーター) を使用してセンサーベースおよびセンサーレスの位置アプリケーション用に開ループまたは閉ループの FOC (ベクトル制御) 技術を実装します。
サポート パッケージには、モーター制御アプリケーションをビルドして STM32 ハードウェア ボードに展開するのに役立つ参考例が含まれています (Motor Control Blockset™ および Embedded Coder® を使用)。
注目の例
Generate Motor Control Models for Selected Algorithm and Hardware
Use Motor Control Blockset™ to generate a Simulink® model that is configured for a specific hardware and motor control technique.
STM32 プロセッサ ベースのボードを使用した三相 AC モーターの開ループ制御
この例では、開ループ制御 (スカラー制御またはボルト/ヘルツ制御とも呼ばれる) を使用してモーターを駆動します。この手法では、モーターからのいずれのフィードバックも使用せずに、固定子電圧と周波数を変えて回転子速度を制御します。この手法を使用してハードウェア接続の整合性を確認できます。開ループ制御の一定速度のアプリケーションでは、固定周波数のモーター電源を使用します。開ループ制御の可変速度のアプリケーションでは、回転子速度を制御するために可変周波数の電源が必要です。固定子の磁束を一定に保つために、電源電圧の振幅がその周波数と比例するように維持します。
Field-Oriented Control of PMSM Using Position Estimated by Neural Network on STM32 Processor Based Boards
Implement field-oriented control (FOC) of a permanent magnet synchronous motor (PMSM) using rotor position estimated by an auto-regressive neural network (ARNN) trained with Deep Learning Toolbox™.
Getting Started with Hardware Profiling
Demonstrates how to perform real-time execution profiling of algorithms using the Embedded Coder® Support Package for STMicroelectronics® STM32 Processors. It covers two primary profiling methods:
STM32 プロセッサ ベースのボードを使用した PMSM のセンサーレス ベクトル制御
この例では、三相永久磁石同期モーター (PMSM) の速度を制御するためのベクトル制御 (FOC) 手法を実装します。FOC の詳細については、ベクトル制御 (FOC) (Motor Control Blockset)を参照してください。
STM32G4xx ベースのプロセッサを使用したホール センサーによる PMSM のベクトル制御
この例では、三相永久磁石同期モーター (PMSM) の速度を制御するためのベクトル制御 (FOC) 手法を実装します。この FOC アルゴリズムには回転子の位置フィードバックが必要であり、それをホール センサーで取得します。
Hall Offset Calibration for PMSM with STM32 Processors
Calculates the offset between the rotor direct axis (d
-axis) and position detected by the Hall sensor. The field-oriented control (FOC) algorithm needs this position offset to run the permanent magnet synchronous motor (PMSM) correctly. To compute the offset, the target model runs the motor in the open-loop condition. The model uses a constant (voltage along the stator's d
-axis) and a zero (voltage along the stator's q
-axis) to run the motor (at a low constant speed) by using a position or ramp generator. When the position or ramp value reaches zero, the corresponding rotor position is the offset value for the Hall sensors.
Estimate PMSM Parameters Using STM32 Processor
Determines the parameters of a permanent magnet synchronous motor (PMSM) using the recommended STM32xx based board. The tool determines these parameters:
Six-Step Commutation of BLDC Motor Using Hall Sensor Feedback for STM32G4xx Based Processors
Control the speed and direction of a three-phase brushless DC (BLDC) motor using the six-step commutation technique in 120-degree conduction mode. The example uses the switching sequence generated by the Six Step Commutation (Motor Control Blockset) block to control the rotor speed and direction by adjusting the three-phase stator voltages.
Hall Sensor Sequence Calibration for STM32G4xx Based Processors
Control a BLDC motor by calculating the Hall sensor sequence with respect to position zero of the rotor in open-loop control. By using this method, you can use six-step commutation to control the motor without the need to label the Hall sensors or derive the switching sequence. Run this example on STM32G4xx Based Processors and obtain the Hall sequence, and use this Hall sequence with the Six Step Commutation (Motor Control Blockset) block to run the motor in closed-loop as explained in the Six-Step Commutation of BLDC Motor Using Hall Sensor Feedback for STM32G4xx Based Processors example. The Hall sequence calibration algorithm drives the motor through a full mechanical revolution and computes the Hall sensor sequence relative to the rotor's position zero in open-loop control.
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.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の 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)