Main Content

制御アルゴリズムの設計

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

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

メモ

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

ブロック

すべて展開する

Control Reference

ACIM Control ReferenceCompute reference currents for field-oriented control of induction motor (R2020b 以降)
ACIM Feed Forward ControlDecouple d-axis and q-axis current to eliminate disturbance (R2020b 以降)
ACIM Slip Speed EstimatorCalculate slip speed of AC induction motor (R2020b 以降)
ACIM Torque EstimatorEstimate electromechanical torque and power (R2020b 以降)
DQ LimiterSaturate voltages (or current) in the dq reference frame (R2020a 以降)
MTPA Control Reference最大トルク/電流 (MTPA) および弱め界磁操作に用いる指令電流の計算 (R2020a 以降)
PMSM Feed Forward ControlDecouple d-axis and q-axis current to eliminate disturbance (R2020a 以降)
PMSM Torque EstimatorEstimate electromechanical torque and power (R2020a 以降)
Position Generator固定周波数の位置ランプの生成 (R2020a 以降)
Six Step Commutationブラシレス DC (BLDC) モーターの 6 段階整流のスイッチング シーケンスを生成 (R2020b 以降)
Vector Control ReferenceCompute d and q axis components of reference vector (R2020a 以降)
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 (R2020a 以降)
PI ControllerDiscrete-time PID Controller (R2022a 以降)
Field Oriented Control AutotunerAutomatically and sequentially tune multiple PID control loops in field-oriented control application (R2020a 以降)
FOC Default Controller GainsCompute empirical PI controller gains for the field-oriented control (FOC) based algorithms at run time (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 以降)

Math Transforms

3-Phase Sine Voltage Generator平衡三相正弦波信号の生成 (R2020a 以降)
atan24 象限逆正接の計算 (R2020a 以降)
Clarke Transformab から αβ への変換の実装 (R2020a 以降)
Inverse Clarke TransformImplement αβ to abc transformation (R2020a 以降)
Inverse Park TransformImplement dq to αβ transformation (R2020a 以降)
Park Transformαβ から dq への変換の実装 (R2020a 以降)
Sine-Cosine Lookupルックアップ テーブル法を使用した正弦関数と余弦関数の実装 (R2020a 以降)
PWM Reference Generator相電圧からの変調信号の生成 (R2020a 以降)
Protection RelayImplement protection relay with definite minimum time (DMT) trip characteristics (R2020a 以降)
Host Serial ReceiveConfigure host-side serial communications interface to receive data from serial port (R2020a 以降)
Host Serial SetupConfigure communication ports used by Host Serial Receive and Host Serial Transmit blocks (R2020a 以降)
Host Serial TransmitConfigure host-side serial communications interface to transmit data to serial port (R2020a 以降)
Hall Speed and PositionCompute speed and estimate position of rotor by using Hall sensors (R2020a 以降)
Hall ValidityCompute rotor spin direction and validity of Hall sensor sequence (R2020a 以降)
Mechanical to Electrical PositionCompute electrical position of rotor from mechanical position (R2020a 以降)
Quadrature DecoderCompute position of quadrature encoder (R2020a 以降)
Resolver DecoderCompute motor mechanical position and speed and sine and cosine values of motor electrical position (R2020a 以降)
Software Watchdog TimerOutput true until counter reaches maximum count limit (R2020a 以降)
Speed MeasurementCompute speed from rotor angular position (R2020a 以降)
Sliding Mode Observer表面 PMSM の電気的位置と機械的速度の計算 (R2021b 以降)
Flux ObserverCompute electrical position, magnetic flux, and electrical torque of rotor (R2020a 以降)
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) フィルターの実装 (R2020a 以降)
Vector plotPlot vectors in space domain (R2020b 以降)
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 以降)

トピック