Estimating DC Motor Parameters Using Simulink Design Optimization

Publisher:JoyfulSunflowerLatest update time:2024-07-22 Source: elecfansKeywords:Simulink Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Theoretical Motor Model

picture

Key Parameters Explanation

1.jpg

Using Simulink to build a motor model

picture

Key Components

Rotary electromechanical converter (electrical signal to mechanical signal)

picture

Function: Provides an interface between the electrical and mechanical rotational domains. If the current and voltage through the electrical port are I and V, and the torque and angular velocity through the mechanical port are T and w, then

T = K * I

V = K * w

Use this module as a torque/back EMF

Parameter: Proportional coefficient K

Ideal mechanical moment of inertia

picture

**Function:** represents the motor's moment of inertia

**Parameters:** Moment of inertia I

Key parameters affecting the motor model

1.jpg

picture

Target

We assume that the parameters that affect motor performance: IRLK are all 1, but we have an actual motor. Obviously, the actual motor parameters cannot all be 1. We use the Simulink Design Optimization toolbox to adjust four parameters to make the simulation model and the actual motor highly matched.

Measurement data preparation

The data that needs to be measured are:

1.jpg

Data information is saved using Excel documents

picture

Measurement data visualization

%Read data time=xlsread('data file','A2:A107');
speed=xlsread('data file','b2:b107');current=xlsread('data file','e2:e107');
input_v=xlsread('data file','h2:h107');

% Speed--time image subplot(2,2,1)
plot(time,speed,'r');
xlabel('Time (seconds)');
ylabel('speed');

% Current-time image subplot(2,2,2)
plot(time,current,'r');
xlabel('Time (seconds)');
ylabel('Current');

% Given value -- time image subplot (2,2,3)
plot(time,input_v,'r');
xlabel('Time (seconds)');
ylabel('given value');

picture

Parameter estimation steps

  1. Open "parameter analyzer"

picture

  1. Load estimation data, test data

picture

Add estimation parameter IKLR

picture

Add test parameters

picture

  1. Add visualization images: four parameter change images, speed-time, current-time, given value-time images

picture

  1. run

Picture of the simulation in progress:

picture

result

Four parameter change diagrams

picture

Comparison chart of measured and simulated values

picture

1.jpg

After simulink simulation, the four parameters changed significantly, and the measured data and simulation data were highly consistent.


Keywords:Simulink Reference address:Estimating DC Motor Parameters Using Simulink Design Optimization

Previous article:Introduction to H-bridge drive for DC motor speed regulation
Next article:The difference between undervoltage protection and loss of voltage protection. The design and function of undervoltage protection circuit.

Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号