メインコンテンツ

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

制御アルゴリズムの設計

モーター制御システムのコントローラー アルゴリズムの作成

トルク制御サブシステムと速度制御サブシステムを作成し、ターゲット実行時間を検証し、制御ゲインを調整します。

メモ

ここでは、MISRA C™ ガイドラインに準拠したブロックを紹介しています。

ブロック

すべて展開する

Control Reference

ACIM Control Reference誘導モーターのベクトル制御のための指令電流を計算する
ACIM Feed Forward ControlDecouple d-axis and q-axis current to eliminate disturbance
ACIM Slip Speed Estimator交流誘導モーターの滑り角速度を計算する
ACIM Torque EstimatorEstimate electromechanical torque and power
DQ LimiterSaturate voltages (or current) in the dq reference frame
MTPA Control Reference最大トルク/電流 (MTPA) および弱め界磁操作に用いる指令電流の計算
PMSM Feed Forward ControlDecouple d-axis and q-axis current to eliminate disturbance
PMSM Torque EstimatorEstimate electromechanical torque and power
Position Generator固定周波数の位置ランプの生成
Six Step Commutationブラシレス DC (BLDC) モーターの 6 段階整流のスイッチング シーケンスを生成
Vector Control ReferenceCompute d and q axis components of reference vector
LUT based PMSM Control ReferenceGenerate lookup-table-based control reference currents for field-oriented control of permanent magnet synchronous motor (R2022b 以降)
SRM CommutationGenerate switching sequences for n-phase switched reluctance motor (SRM) (R2022b 以降)
LUT based SynRM Control ReferenceGenerate lookup-table-based control reference currents for field-oriented control of SynRM and PMaSynRM (R2024a 以降)
SynRM FeedForward ControlDecouple d-axis and q-axis current to eliminate disturbance (R2024a 以降)
SynRM Torque EstimatorEstimate electromechanical torque and power (R2024a 以降)

Controllers

Derating FunctionCompute derating factor
PI ControllerDiscrete-time PID Controller (R2022a 以降)
Field Oriented Control AutotunerAutomatically and sequentially tune multiple PID control loops in field-oriented control application
FOC Default Controller GainsCompute controller gains for the FOC based algorithms at run time based on empirical method or optimum theory (R2023b 以降)
VbyF ControllerImplement V/F (open-loop or scalar) control for three-phase motors (R2023b 以降)
Field-Oriented Current ControllerImplement current control for three-phase motors using field-oriented control (FOC) technique (R2023b 以降)
I-F ControllerImplement I-F control for a three-phase permanent magnet synchronous motor (R2024a 以降)
Sensorless Six-Step CommutationUse six-step commutation to run a BLDC motor or PMSM using sensorless control (R2025a 以降)

Math Transforms

3-Phase Sine Voltage Generator平衡三相正弦波信号の生成
atan24 象限逆正接の計算
Clarke Transformab から αβ への変換の実装
Inverse Clarke Transformαβ から abc への変換の実装
Inverse Park Transformdq から αβ への変換の実装
Park Transformαβ から dq への変換の実装
SinCos Embedded OptimizedImplement sine and cosine functions (R2024b 以降)
PWM Reference Generator相電圧からの変調信号の生成
6-Phase VSD TransformCompute vector space decomposition (VSD) based transformation on six-phase inputs (R2024b 以降)
6-Phase Inverse VSD TransformCompute vector space decomposition (VSD) based inverse transformation on orthogonal inputs (R2024b 以降)
Protection RelayImplement protection relay with definite minimum time (DMT) trip characteristics
Host Serial ReceiveConfigure host-side serial communications interface to receive data from serial port
Host Serial SetupConfigure communication ports used by Host Serial Receive and Host Serial Transmit blocks
Host Serial TransmitConfigure host-side serial communications interface to transmit data to serial port
Hall Speed and PositionCompute speed and estimate position of rotor by using Hall sensors
Hall ValidityCompute rotor spin direction and validity of Hall sensor sequence
Mechanical to Electrical PositionCompute electrical position of rotor from mechanical position
Quadrature DecoderCompute position of quadrature encoder
Resolver DecoderCompute motor mechanical position and speed and sine and cosine values of motor electrical position
Software Watchdog TimerOutput true until counter reaches maximum count limit
Speed MeasurementCompute speed from rotor angular position
Sliding Mode Observer表面 PMSM の電気的位置と機械的速度の計算 (R2021b 以降)
Flux ObserverCompute electrical position, magnetic flux, and electrical torque of rotor
Pulsating High Freq ObserverEstimate initial rotor electrical position of interior PMSM using pulsating high frequency (PHF) injection (R2022b 以降)
Extended EMF ObserverCompute electrical position and mechanical speed of permanent magnet synchronous motor (PMSM) (R2023a 以降)
IIR Filter無限インパルス応答 (IIR) フィルターの実装
Vector plotPlot vectors in space domain
Position CompensationCompensate for position offset due to different types of delays (R2022b 以降)
PLL with Feed ForwardCompute position and angular frequency from orthogonal sinusoidal signals (R2023b 以降)
Compute ParameterExtend functionality of blocks by enabling additional inputs (R2024a 以降)
Dead-Time CompensatorOvercome dead-time effect by modifying reference voltages (R2024a 以降)
Protocol EncoderEncode input data into a uint8 byte stream by specifying the packet structure (R2024a 以降)
Protocol DecoderDecode a uint8 byte stream by specifying the packet structure (R2024a 以降)
Byte PackConvert input signals to uint8 vector (R2024a 以降)
Byte Unpack Convert uint8 vector to input signals (R2024a 以降)
Byte ReversalReverse order of bytes in input word (R2024a 以降)
Memory CopyCopy data from and to memory section (R2024a 以降)

トピック