Modelica.Electrical.Machines.Examples.ControlledDCDrives

Test examples of controlled DC drives

Information

This package contains test examples demonstrating control of electric drives.

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM CurrentControlledDCPM Current controlled DC PM drive with H-bridge from battery
Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM SpeedControlledDCPM Speed controlled DC PM drive with H-bridge from battery
Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM PositionControlledDCPM Position controlled DC PM drive with H-bridge from battery
Modelica.Electrical.Machines.Examples.ControlledDCDrives.Utilities Utilities Utilities for controlled drives

Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM

Current controlled DC PM drive with H-bridge from battery

Information

This model demonstrates how a current controller for a DC PM drive works.

The current controller is parameterized according to the absolute optimum.

At time=0.2 s a reference torque step is applied, causing the drive to accelerate until motor torque and load torque are at an equilibrium.

Further reading: Tutorial at the Modelica Conference 2017

Extends from Utilities.PartialControlledDCPM (Partial controlled DC PM drive with H-bridge from battery).

Parameters

NameDescription
driveData 

Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM

Speed controlled DC PM drive with H-bridge from battery

Information

This model demonstrates how a speed controller for a current controlled DC PM drive works.

The inner current controller is parameterized according to the absolute optimum. The outer control loop is formed by the speed controller which is parameterized according to the symmetrical optimum.

At time=0.2 s a reference speed step is applied, causing the drive to accelerate to the desired speed. At time=0.8 s a load torque step is applied, causing to drive to decelerate until the speed controller brings the drive back to the desired speed.

You may try a slewRateLimiter instead of the prefilter to limit the speed rise i.e. the torque.

Further reading: Tutorial at the Modelica Conference 2017

Extends from Utilities.PartialControlledDCPM (Partial controlled DC PM drive with H-bridge from battery).

Parameters

NameDescription
driveData 

Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM

Position controlled DC PM drive with H-bridge from battery

Information

This model demonstrates how a position controller for a speed controlled DC PM drive works.

The inner current controller is parameterized according to the absolute optimum. The middle control loop is formed by the speed controller which is parameterized according to the symmetrical optimum. The outer control loop is formed by the position controller which is parameterized to avoid an overshot in the position.

At time=0.2 s the kinematicPTP starts to prescribe the reference position with limited speed and limited acceleration. At time=2.3 s a load torque step is applied, causing to drive to slightly leave the end position until the position controller brings the drive back to the desired position.

Further reading: Tutorial at the Modelica Conference 2017

Extends from Utilities.PartialControlledDCPM (Partial controlled DC PM drive with H-bridge from battery).

Parameters

NameDescription
driveData 
Automatically generated Thu Dec 19 17:19:55 2019.