Matlab Simulink中异步电机模型说明文档

Matlab Simulink中异步电机模型说明文档
Matlab Simulink中异步电机模型说明文档

Description

The Asynchronous Machine block operates in either generator or motor mode. The mode of operation is dictated by the sign of the mechanical torque:

Mechanical System

s ls

Preset model

Provides a set of predetermined electrical and mechanical parameters for various asynchronous machine ratings of power (HP),

phase-to-phase voltage (V), frequency (Hz), and rated speed (rpm).

Select one of the preset models to load the corresponding electrical and mechanical parameters in the entries of the dialog box. Note that the preset models do not include predetermined saturation parameters. Select No if you do not want to use a preset model, or if you want to modify some of the parameters of a preset model, as described below.

When you select a preset model, the electrical and mechanical parameters in the Parameters tab of the dialog box become unmodifiable (grayed out). To start from a given preset model and then modify machine parameters, you have to do the following: Select the desired preset model to initialize the parameters.

1.

2.

Change the Preset model parameter value to No. This will not change the machine parameters. By doing so, you just break the

connection with the particular preset model.

3.

Modify the machine parameters as you wish, then click Apply.

Mechanical input

Allows you to select either the torque applied to the shaft or the rotor speed as the Simulink signal applied to the block's input.

Select Torque Tm to specify a torque input, in N.m or in pu, and change labeling of the block's input to Tm. The machine speed is

determined by the machine Inertia J (or inertia constant H for the pu machine) and by the difference between the applied mechanical torque Tm and the internal electromagnetic torque Te. The sign convention for the mechanical torque is the following: when the speed is positive,

a positive torque signal indicates motor mode and a negative signal indicates generator mode.

Select Speed w to specify a speed input, in rad/s or in pu, and change labeling of the block's input to w. The machine speed is imposed and the mechanical part of the model (Inertia J) is ignored. Using the speed as the mechanical input allows modeling a mechanical

coupling between two machines and interfacing with SimMechanics? and SimDriveline? models.

The next figure indicates how to model a stiff shaft interconnection in a motor-generator set when friction torque is ignored in machine 2.

The speed output of machine 1 (motor) is connected to the speed input of machine 2 (generator), while machine 2 electromagnetic torque output Te is applied to the mechanical torque input Tm of machine 1. The Kw factor takes into account speed units of both machines (pu or rad/s) and gear box ratio w2/w1. The KT factor takes into account torque units of both machines (pu or N.m) and machine ratings. Also, as

the inertia J2 is ignored in machine 2, J2 referred to machine 1 speed must be added to machine 1 inertia J1.

In the preceding equations, Θ is the angular position of the reference frame, while is the difference between the position of the reference frame and the position (electrical) of the rotor. Because the machine windings are connected in a three-wire Y configuration, The following table shows the values taken by Θ and

frame).

Specifies the units of the electrical and mechanical parameters of the model. This parameter is not modifiable; it is provided for information

purposes only.

Parameters Tab

Nominal power, voltage (line-line), and frequency

The nominal apparent power Pn (VA), RMS line-to-line voltage Vn (V), and frequency fn (Hz).

Stator resistance and inductance

The stator resistance Rs (Ω or pu) and leakage inductance Lls (H or pu).

Rotor resistance and inductance

The rotor resistance Rr' (Ω or pu) and leakage inductance Llr' (H or pu), both referred to the stator.

Mutual inductance

The magnetizing inductance Lm (H or pu).

Inertia constant, friction factor, and pole pairs For the SI units dialog box: the combined machine and load inertia coefficient J (kg.m ), combined viscous friction coefficient F (N.m.s),

and pole pairs p. The friction torque Tf is proportional to the rotor speed ω (Tf = F.w).

For the pu units dialog box: the inertia constant H (s), combined viscous friction coefficient F (pu), and pole pairs p.

Initial conditions

Specifies the initial slip s, electrical angle Θe (degrees), stator current magnitude (A or pu), and phase angles (degrees):

[slip, th, i , i , i , phase , phase , phase ]

For the wound-rotor machine, you can also specify optional initial values for the rotor current magnitude (A or pu), and phase angles

(degrees):

[slip, th, i , i , i , phase , phase , phase , i , i , i ,

phase , phase , phase ]

For the squirrel cage machine, the initial conditions can be computed by the load flow utility in the Powergui block.

Simulate saturation

Specifies whether magnetic saturation of rotor and stator iron is simulated or not.

Saturation parameters

Specifies the no-load saturation curve parameters. Magnetic saturation of stator and rotor iron (saturation of the mutual flux) is modeled by

a nonlinear function (in this case a polynomial) using points of the no-load saturation curve. You must enter a 2-by-n matrix, where n is the

number of points taken from the saturation curve. The first row of this matrix contains the values of stator currents, while the second row

contains values of corresponding terminal voltages (stator voltages). The first point (first column of the matrix) must correspond to the point

where the effect of saturation begins.

2as bs cs as bs cs as bs cs as bs cs ar br cr ar br cr

Sample time (-1 for inherited)

Specifies the sample time used by the block. To inherit the sample time specified in the Powergui block, set this parameter to Inputs and Outputs

Tm

The Simulink input of the block is the mechanical torque at the machine's shaft. When the input is a positive Simulink signal, the

connected in series.

When you use Asynchronous Machine blocks in discrete systems, you might have to use a small parasitic resistive load, connected at the machine terminals, in order to avoid numerical oscillations. Large sample times require larger loads. The minimum resistive load is proportional to the sample time. As a rule of thumb, remember that with a 25 μs time step on a 60 Hz system, the minimum load is

The 3 HP machine is connected to a constant load of nominal value (11.9 N.m). It is started and reaches the set point speed of 1.0 pu at t = 0.9 second.

The parameters of the machine are those found in the SI Units dialog box above, except for the stator leakage inductance, which is set to twice its normal value. This is done to simulate a smoothing inductor placed between the inverter and the machine. Also, the stationary reference frame was used to obtain the results shown.

Open the power_pwm demo. Note in the simulation parameters that a small relative tolerance is required because of the high switching rate of the inverter.

Run the simulation and observe the machine's speed and torque.

The first graph shows the machine's speed going from 0 to 1725 rpm (1.0 pu). The second graph shows the electromagnetic torque developed by the machine. Because the stator is fed by a PWM inverter, a noisy torque is observed.

However, this noise is not visible in the speed because it is filtered out by the machine's inertia, but it can also be seen in the stator and rotor currents, which are observed next.

the last moments of the simulation.

Example 2: Effect of Saturation of the Asynchronous Machine Block

The power_asm_sat demo illustrates the effect of saturation of the Asynchronous Machine block.

Two identical three-phase motors (50 HP, 460 V, 1800 rpm) are simulated with and without saturation, to observe the saturation effects on the

stator currents. Two different simulations are realized in the demo.

The first simulation, is the no-load steady-state test. The table below contains the values of the Saturation Parameters obtained by simulating different operating points on the saturated motor (no-load and in steady-state).

Saturation Parameters Measurements

Running the simulation with a blocked rotor or with many different values of load torque will allow the observation of other effects of saturation on the stator currents.

References

[1] Krause, P.C., O. Wasynczuk, and S.D. Sudhoff, Analysis of Electric Machinery, IEEE Press, 2002.

[2] Mohan, N., T.M. Undeland, and W.P. Robbins, Power Electronics: Converters, Applications, and Design, John Wiley & Sons, Inc., New York, 1995, Section8.4.1.

See Also

Powergui

Was this topic helpful?Yes No

? 1984-2010 The MathWorks, Inc. ?Terms of Use?Patents?Trademarks?Acknowledgments

Matlab Simulink 仿真步骤

MATLAB基础与应用简明教程 张明等编著 北京航空航天大学出版社(2001.01) MATLAB软件环境是美国New Mexico大学的Cleve Moler博士首创的,全名为MATrix LABoratory(矩阵实验室)。它建立在20世纪七八十年代流行的LINPACK(线性代数计算)和ESPACK(特征值计算)软件包的基础上。LINPACK和ESPACK软件包是从Fortran语言开始编写的,后来改写为C语言,改造过程中较为复杂,使用不便。MA TLAB是随着Windows环境的发展而迅速发展起来的。它充分利用了Windows环境下的交互性、多任务功能语言,使得矩阵计算、数值运算变得极为简单。MA TLAB语言是一种更为抽象的高级计算机语言,既有与C语言等同的一面,又更为接近人的抽象思维,便于学习和编程。同时,它具有很好的开放性,用户可以根据自己的需求,利用MA TLAB提供的基本工具,灵活地编制和开发自己的程序,开创新的应用。 本书重点介绍了MA TLAB的矩阵运算、符号运算、图形功能、控制系统分析与设计、SimuLink仿真等方面的内容。 Chap1 MATLAB入门与基本运算 本章介绍MATLAB的基本概念,包括工作空间;目录、路径和文件的管理方式;帮助和例题演示功能等。重点介绍矩阵、数组和函数的运算规则、命令形式,并列举了可能得到的结果。由于MA TLAB的符号工具箱是一个重要分支,其强大的运算功能在科技领域有特殊的帮助作用。 1.1 MATLAB环境与文件管理 1.2 工作空间与变量管理 1.2.1 建立数据 x1=[0.2 1.11 3]; y1=[1 2 3;4 5 6]建立一维数组x1和二维矩阵y1。分号“;”表示不显示定义的数据。 MATLAB还提供了一些简洁方式,能有规律地产生数组: xx=1:10 %xx从1到10,间隔为1 xx=-2:0.5:1 %xx从-2到1,间隔为0.5 linespace命令等距离产生数组,logspace在对数空间中等距离产生数组。对于这一类命令,只要给出数组的两端数据和维数就可以了。 xx=linespace(d1,d2,n) %表示xx从d1到d2等距离取n个点 xx=logspace(d1,d2,n) %表明xx从10d1到10d2等距离取n个点 1.2.2 who和whos命令 who: 查看工作空间中有哪些变量名 whos: 了解这些变量的具体细节 1.2.3 exist命令 查询当前的工作空间内是否存在一个变量,可以调用exist()函数来完成。 调用格式:i=exist(…A?); 式中,A为要查询的变量名。返回的值i表示A存在的形式: i=1 表示当前工作空间内存在一个变量名为A的矩阵; i=2 表示存在一个名为A.m的文件; i=3 表示MATLAB的工作路径下存在一个名为A.mex的文件;

三相异步电动机Matlab仿真

中国石油大学胜利学院综合课程设计总结报告 题目:三相异步电机直接启动特性实验模型 学生姓名:潘伟鹏 系别:机械与电气工程系 专业年级: 2012级电气工程专业专升本2班 指导教师:王铭

2013年 6 月 27日

一、设计任务与要求 普通异步电动机直接起动电流达到额定电流的6--7倍,起动转矩能达到额定转矩的1.25倍以上。过高的温度、过快的加热速度、过大的温度梯度和电磁力,产生了极大的破坏力,缩短了定子线圈和转子铜条的使用寿命。但在电网条件和工艺条件允许的情况下,异步电动机也可以直接启动。本次课程设计通过MATLAB软件建模模拟三相异步电动机直接启动时的各个元器件上的电量变化。 参考: 电力系统matlab仿真类书籍 电机类教材 二、方案设计与论证 三相异步电动机直接起动就是利用开关或接触器将电动机的定子绕组直接接到具有额定电压的电网上。 由《电机学》知三相异步电动机的电磁转矩M与直流电动机的电磁转矩有相似的表达形式。它们都与电机结构(表现为转矩常数)和每级下磁通有关,只不过在三相异步电动机中不再是通过电枢的全部电流,而是点数电流的有功分量。三相异步电机电磁转矩的表达式为: (1-1)式中——转矩常数 ——每级下磁通 ——转子功率因数 式(1-1)表明,转子通入电流后,与气隙磁场相互作用产生电磁力,因此,反映了电机中电流、磁场和作用力之间符合左手定则的物理关系,故称为机械特性的物理表达式。该表达式在分析电磁转矩与磁通、电流之间的关系时非常方便。 从三相异步电动机的转子等值电路可知, (1-2) (1-3)将式(1-2)、(1-3)代入(1-1)得:

Matlab中的Simulink和SimMechanics做仿真

这里我们利用Matlab中的Simulink和SimMechanics做仿真,那么先来看看相关的资料。 SimMechanics ——机械系统建模和仿真 SimMechanics 扩展Simscape? 在三维机械系统建模的能力。用户可以不进行方程编程,而是借助该多刚体仿真工具搭建模型,这个模型可以由刚体、铰链、约束以及外力组成。自动化3-D动画生成工具可做到仿真的可视化。用户也可通过从CAD系统中直接导入模型的质量、惯量、约束以及三维几何结构。Real-Time Workshop可以对SimMchanics模型进行自动化C代码生成,并在硬件在回路仿真过程中可以使用生成的代码而不是硬件原型测试嵌入式控制器。 SimMechanics可以用于开发悬架、机器手臂、外科医疗设备、起落架和大量的其它机械系统。用户也可以在SimMechanics环境下集成其它的MathWorks物理建模工具,这样做可以实现更加复杂跨领域的物理建模。 特点: ?提供了三维刚体机械系统的建模环境 ?包含了一系列分析机械运动和设计机械元件尺寸的仿真技术 ?三维刚体可视化仿真 ?SimMechanics Link utility,提供Pro/ENGINEER 和SolidWorks CAD平台的接口并且也提供了API函数和其它CAD平台的接口

?能够把模型转化为C代码(使用Real-Time Workshop) ?由于集成在Simulink环境中,因此可以建立高精度、非线性的模型以支持控制系统的开发和测试。 强大功能: 搭建机械系统模型 使用SimMechanics用户仅需要收集物理系统信息即可建立三维机械系统模型。使用刚体、坐标系、铰链和作用力元素定义和其它Simulink模型直接相连的部分。这个过程可以重用Simulink模型以及扩展了SimMechanics工具的能力。用户还可把Simulink模型和SimMechnics模型集成为一个模块,并可封装成可在其它模型中复用的子系统。 机械系统建模仿真和分析 SimMechanics包含如下子系统: ?使用Simulink查表模块和SimMechanics传感器和作动器定义的非线性的弹性单元 ?用来定义航空器件压力分布的空气动力学拖曳模块,例如副翼和方向舵 ?车辆悬架系统,例如防侧翻机械装置和控制器 ?轮胎模型

matlabsimulink初级教程

S i m u l i n k仿真环境基础学习Simulink是面向框图的仿真软件。 7.1演示一个Simulink的简单程序 【例7.1】创建一个正弦信号的仿真模型。 步骤如下: (1)在MATLAB的命令窗口运行simulink命令,或单击工具栏中的图标,就可以打开Simulink模块库浏览器(SimulinkLibraryBrowser)窗口,如图7.1所示。

图7.1Simulink界面 (2)单击工具栏上的图标或选择菜单“File”——“New”——“Model”,新建一个名为“untitled”的空白模型窗口。 (3)在上图的右侧子模块窗口中,单击“Source”子模块库前的“+”(或双击Source),或者直接在左侧模块和工具箱栏单击Simulink下的Source子模块库,便可看到各种输入源模块。 (4)用鼠标单击所需要的输入信号源模块“SineWave”(正弦信号),将其拖放到的空白模型窗口“untitled”,则“SineWave”模块就被添加到untitled窗口;也可以用鼠标选中“SineWave”模块,单击鼠标右键,在快捷菜单中选择“addto'untitled'”命令,就可以将“SineWave”模块添加到untitled窗口,如图7.2所示。

(5) Scope ”模块(示波器)拖放到“untitled ”窗口中。 (6)在“untitled ”窗口中,用鼠标指向“SineWave ”右侧的输出端,当光标变为十字符时,按住鼠标拖向“Scope ”模块的输入端,松开鼠标按键,就完成了两个模块间的信号线连接,一个简单模型已经建成。如图7.3所示。 (7)开始仿真,单击“untitled ”模型窗口中“开始仿真”图标 ,或者选择菜单“Simulink ”——“Start ”,则仿真开始。双击“Scope ” 模块出现示波器显示屏,可以看到黄色的正弦波形。如图7.4所示。 图7.2Simulink 界面

Matlab Simulink中异步电机模型说明文档

Description The Asynchronous Machine block operates in either generator or motor mode. The mode of operation is dictated by the sign of the mechanical torque: Mechanical System s ls

Preset model Provides a set of predetermined electrical and mechanical parameters for various asynchronous machine ratings of power (HP), phase-to-phase voltage (V), frequency (Hz), and rated speed (rpm). Select one of the preset models to load the corresponding electrical and mechanical parameters in the entries of the dialog box. Note that the preset models do not include predetermined saturation parameters. Select No if you do not want to use a preset model, or if you want to modify some of the parameters of a preset model, as described below. When you select a preset model, the electrical and mechanical parameters in the Parameters tab of the dialog box become unmodifiable (grayed out). To start from a given preset model and then modify machine parameters, you have to do the following: Select the desired preset model to initialize the parameters. 1. 2. Change the Preset model parameter value to No. This will not change the machine parameters. By doing so, you just break the connection with the particular preset model. 3. Modify the machine parameters as you wish, then click Apply. Mechanical input Allows you to select either the torque applied to the shaft or the rotor speed as the Simulink signal applied to the block's input. Select Torque Tm to specify a torque input, in N.m or in pu, and change labeling of the block's input to Tm. The machine speed is determined by the machine Inertia J (or inertia constant H for the pu machine) and by the difference between the applied mechanical torque Tm and the internal electromagnetic torque Te. The sign convention for the mechanical torque is the following: when the speed is positive, a positive torque signal indicates motor mode and a negative signal indicates generator mode. Select Speed w to specify a speed input, in rad/s or in pu, and change labeling of the block's input to w. The machine speed is imposed and the mechanical part of the model (Inertia J) is ignored. Using the speed as the mechanical input allows modeling a mechanical coupling between two machines and interfacing with SimMechanics? and SimDriveline? models. The next figure indicates how to model a stiff shaft interconnection in a motor-generator set when friction torque is ignored in machine 2. The speed output of machine 1 (motor) is connected to the speed input of machine 2 (generator), while machine 2 electromagnetic torque output Te is applied to the mechanical torque input Tm of machine 1. The Kw factor takes into account speed units of both machines (pu or rad/s) and gear box ratio w2/w1. The KT factor takes into account torque units of both machines (pu or N.m) and machine ratings. Also, as the inertia J2 is ignored in machine 2, J2 referred to machine 1 speed must be added to machine 1 inertia J1.

simulink-matlab仿真教程

simulink matlab 仿真环境教程 Simulink 是面向框图的仿真软件。 演示一个Simulink 的简单程序 【例1.1】创建一个正弦信号的仿真模型。 步骤如下: (1) 在MATLAB 的命令窗口运行simulink 命令,或单击工具栏中的图标,就可以打开Simulink 模块库浏览器 (Simulink Library Browser) 窗口,如图1.1所示。 (2) 单击工具栏上的图标或选择菜单“File ”——“New ”——“Model ”,新建一个名为“untitled ”的空白 模型窗口。 (3) 在上图的右侧子模块窗口中,单击“Source ”子模块库前的“+”(或双击Source),或者直接在左侧模块和工具箱栏单击Simulink 下的Source 子模块库,便可看到各种输入源模块。 (4) 用鼠标单击所需要的输入信号源模块“Sine Wave ”(正弦信号),将其拖放到的空白模型窗口“untitled ”,则“Sine Wave ”模块就被添加到untitled 窗口;也可以用鼠标选中“Sine Wave ”模块,单击鼠标右键,在快捷菜单中选择“add to 'untitled'”命令,就可以将“Sine Wave ”模块添加到untitled 窗口,如图1.2 所示。 图7.1 Simulink 界面

(5) 用同样的方法打开接收模块库“Sinks”,选择其中的“Scope ”模块(示波器)拖放到“untitled”窗口中。 (6) 在“untitled”窗口中,用鼠标指向“Sine Wave”右侧的输出端,当光标变为十字符时,按住鼠标拖向“Scope”模块的输入端,松开鼠标按键,就完成了两个模块间的信号线连接,一个简单模型已经建成。如图1.3所示。 (7) 开始仿真,单击“untitled”模型窗口中“开始仿真”图标,或者选择菜单“Simulink”——“Start”,则仿真开始。双击“Scope”模块出现示波器显示屏,可以看到黄色的正弦波形。如图1.4所示。 (8) 保存模型,单击工具栏的图标,将该模型保存为“Ex0701.mdl”文件。 1.2 Simulink的文件操作和模型窗口 1.2.1 Simulink的文件操作 1. 新建文件 新建仿真模型文件有几种操作: ?在MATLAB的命令窗口选择菜单“File”“New”“Model”。 图7.2 Simulink界面 图7.3 Simulink模型窗口 图7.4 示波器窗口

电机MATLAB仿真实验

实验一单相变压器空载仿真实验 一、实验目的 1 用仿真的方法了解并求取变压器的空载特性。 2 通过变压器空载仿真了解并求取变压器的参数与损耗。 二、预习要点 1 变压器空载运行有什么特点? 2 在变压器空载实验仿真中,如何通过仿真测取变压器的铁耗。 三、仿真项目 1 完成变压器空载运行仿真模型的搭建与参数设定。 2 仿真测取空载特性U0=f(I0),P0= f(U0),cosΦ0= f(U0)。 四、仿真方法 1 仿真模块 三相交流电压源 可饱与单相变压器 交流电压表 交流电流表 有功、无功功率表 示波器 显示测量数据 计算均方根值(有效值)模块 电力系统仿真环境模块(电力系统仿 真模型中必须含有一个) 2 仿真模型

三 相 交 流 电 压 源 V 1 W A V2 U V W P0 U0 I0 a A x X 55V U AX * * 图1 变压器空载实验接线图 图2 单相变压器空载仿真模型示例图 图3 变压器参数设置示例图(右侧饱与曲线数据请输入到左侧Saturation Characteristic一栏) 3 空载仿真 1)根据图1的接线图进行仿真模型搭建,搭建仿真模型如图2所示,所有频率的设置均改成50。 2)对单相变压器以及其她元器件模块的参数设置,选定额定电压,变压器变比等。设定其额定容量S N=77 V A,U1N/U2N=55/220V。变压器低压侧接电源,高压侧开路。变压器参数设置如图3所示。

3)可自行根据需要选择需要测量的波形以及有效值量,加入示波器以及计算模块进行测量并设定仿真时间。 4)调节电压源电压,调节范围在(1、25~0、2)U N范围内,测取变压器的U0,I0,P0,cosΦ0以及二次侧电压U AX等数据。 5)测取数据时,在额定电压附近侧的点较密,共测取10组数据记录于下表。 表1 空载实验数据 五、实验报告 1、完成表1 2、绘制U0-I0特性曲线 3、计算变压器变比 4、计算低压侧的励磁参数

matlab-simulink 初级教程

Simulink仿真环境基础学习 Simulink是面向框图的仿真软件。 7.1演示一个Simulink的简单程序 【例7.1】创建一个正弦信号的仿真模型。 步骤如下: (1) 在MATLAB的命令窗口运行simulink命令,或单击工具栏中的图标,就可以打开Simulink模块库浏览器(Simulink Library Browser) 窗口,如图7.1所示。

(2) 单击工具栏上的图标或选择菜单“File ”——“New ”——“Model ”,新建一个名为“untitled ”的空白模型窗口。 (3) 在上图的右侧子模块窗口中,单击“Source ”子模块库前的“+”(或双击Source),或者直接在左侧模块和工具箱栏单击Simulink 下的Source 子模块库,便可看到各种输入源模块。 (4) 用鼠标单击所需要的输入信号源模块“Sine Wave ”(正弦信号),将其拖放到的空白模型窗口“untitled ”,则“Sine Wave ”模块就被添加到untitled 窗口;也可以用鼠标选中“Sine Wave ”模块,单击鼠标右键,在快捷菜单中选择“add to 'untitled'”命令,就可以将“Sine Wave ”模块添加到untitled 窗口,如图7.2所示。 图7.1 Simulink 界面

(5) 用同样的方法打开接收模块库“Sinks”,选择其中的“Scope”模块(示波器)拖放到“untitled”窗口中。 (6) 在“untitled”窗口中,用鼠标指向“Sine Wave”右侧的输出端,当光标变为十字符时,按住鼠标拖向“Scope”模块的输入端,松开鼠标按键,就完成了两个模块间的信号线连接,一个简单模型已经建成。如图7.3所示。 (7) 开始仿真,单击“untitled ”模型窗口中“开始仿真”图标,或者选择菜单“Simulink”——“Start”,则仿真开始。双击“Scope”模块出现示波器显示屏, 可以看到黄色的正弦波形。如图7.4所示。 图7.2 Simulink界面

经典-同步电机模型的MATLAB仿真h

安徽工业大学工商学院课程设计(论文)同步电机模型的MATLAB仿真 学生姓名:李春笋 学号:111842161 专业班级:气1142 指导教师:范国伟 2013年12月20日

摘要 采用电力电子变频装置实现电压频率协调控制,改变了同步电机历来的恒速运行不能调速的面貌,使它和异步电机一样成为调速电机大家庭的一员。本文针对同步电机中具有代表性的凸极机,在忽略了一部分对误差影响较小而使算法复杂度大大增加的因素(如谐波磁势等),对其内部电流、电压、磁通、磁链及转矩的相互关系进行了一系列定量分析,建立了简化的基于abc三相变量上的数学模型,并将其进行派克变换,转换成易于计算机控制的d/q坐标下的模型。再使用MATLAB中用于仿真模拟系统的SIMULINK 对系统的各个部分进行封装及连接,系统总体分为电源、abc/dq转换器、电机内部模拟、控制反馈四个主要部分,并为其设计了专用的模块,同时对其中的一系列参数进行了配置。系统启动仿真后,在经历了一开始的振荡后,各输出相对于输出时间的响应较稳定。关键词:同步电机 d/q模型 MATLAB SIMULINK 仿真。 The Simulation Platform of Synchronous Machine by MATLAB Abstract: The utilization of transducer realizes the control of voltage’s frequency. It changes the situation that Synchronous Machine is always running with constant speed. Just like Asynchronous Machine, Synchronous machine can also be viewed as a member of the timing machine. This thesis intends to aim at the typical salient pole machine in Synchronous Machine. Some quantitative analysis are made on relations of salient pole machine among current, voltage, flux, flux linkage and torque, under the condition that some factors such as harmonic electric potential are ignored. These factors have less influence on error but greatly increase complexity of arithmetic. Thus, simplified mathematic model is established on the basis of a, b, c three phase variables. By the Park transformation, this model is transformed to d, q model which, is easy to be controlled by computer. Simulink is used to masking and linking all the parts of the system. The system can be divided into four main parts, namely power system, abc/dq transformation, simulation model of the machine and feedback control. Special blocks are designed for the four parts and a series of parameters in these parts are configured. The results of simulation show that each output has a satisfactory response when there is disturbance. Key Words: Synchronous Machine Simulation d/q Model MATLAB SIMULINK

matlab的Simulink简介

Simulink是MATLAB最重要的组件之一,它提供一个动态系统建模、仿真和综合分析的集成环境。在该环境中,无需大量书写程序,而只需要通过简单直观的鼠标操作,就可构造出复杂的系统。Simulink具有适应面广、结构和流程清晰及仿真精细、贴近实际、效率高、灵活等优点,并基于以上优点Simulink已被广泛应用于控制理论和数字信号处理的复杂仿真和设计。同时有大量的第三方软件和硬件可应用于或被要求应用于Simulink。 Simulink是MATLAB中的一种可视化仿真工具,是一种基于MATLAB的框图设计环境,是实现动态系统建模、仿真和分析的一个软件包,被广泛应用于线性系统、非线性系统、数字控制及数字信号处理的建模和仿真中。Simulink可以用连续采样时间、离散采样时间或两种混合的采样时间进行建模,它也支持多速率系统,也就是系统中的不同部分具有不同的采样速率。为了创建动态系统模型,Simulink提供了一个建立模型方块图的图形用户接口(GUI) ,这个创建过程只需单击和拖动鼠标操作就能完成,它提供了一种更快捷、直接明了的方式,而且用户可以立即看到系统的仿真结果。 Simulink;是用于动态系统和嵌入式系统的多领域仿真和基于模型的设计工具。对各种时变系统,包括通讯、控制、信号处理、视频处理和图像处理系统,Simulink提供了交互式图形化环境和可定制模块库来对其进行设计、仿真、执行和测试。. 构架在Simulink基础之上的其他产品扩展了Simulink多领域建模功能,也提供了用于设计、执行、验证和确认任务的相应工具。Simulink与MATLAB® 紧密集成,可以直接访问MATLAB大量的工具来进行算法研发、仿真的分析和可视化、批处理脚本的创建、建模环境的定制以及信号参数和测试数据的定义。 丰富的可扩充的预定义模块库 交互式的图形编辑器来组合和管理直观的模块图 以设计功能的层次性来分割模型,实现对复杂设计的管理 通过Model Explorer 导航、创建、配置、搜索模型中的任意信号、参数、属性,生成模型代码 提供API用于与其他仿真程序的连接或与手写代码集成 使用Embedded MATLAB?模块在Simulink和嵌入式系统执行中调用MATLAB算法 使用定步长或变步长运行仿真,根据仿真模式(Normal,Accelerator,Rapid Accelerator)来决定以解释性的方式运行或以编译C代码的形式来运行模型 图形化的调试器和剖析器来检查仿真结果,诊断设计的性能和异常行为 可访问MATLAB从而对结果进行分析与可视化,定制建模环境,定义信号参数和测试数据 模型分析和诊断工具来保证模型的一致性,确定模型中的错误 平面连杆机构 英文名称: planar linkage mechanism

(完整word版)MATLABsimulink中的基本模块的参数、含义、应用..

电力线路模块 PI Section Line 单项π型线路单相传输线模块。 电阻,电感和电容的传输线,沿着线是均匀分布的。级联几个相同的PI部分是通过以下方式获得一个近似的分布参数线路模型的Three-Phase PI Section Line 三相电力线路模块实现了一个平衡的三相传输线模型参数集中在π部分。相反,沿着线的电阻,电感和电容是均匀分布的分布参数线路模型,三相PI剖面线块肿块行参数在一个单一的π部分所示,在图中只有一相下代表。 被指定为正序和零序的,要考虑到的参数之间的感性和容性耦合的三相导体,以及地面参数的参数R,L,和C线。在此方法的指定行参数假设,这三个阶段是平衡的。 使用一个单一的PI部分的模型是适当的传输线或短,在感兴趣的频率范围是有限的基频周围建模。你可以得到更准确的模型通过级联多个相同的块。见PI剖面线的最大频率范围的说明,通过PI线模型,可以实现。

频率用于R L C规范 指定行参数所用的频率,以赫兹(Hz)。这通常是标称系统频率(50赫兹或60赫兹)。 正序和零序电阻 正序和零序电阻欧姆/公里(Ω/公里)。 正序和零序电感 正序和零序电感:亨利/公里(H/公里)。 正序和零序电容 正序和零序电容法拉/公里(F /公里)。 线路段长度(KM) 该生产线部分长度在千米(公里)。 Three-Phase Transformer (Two Windings) 三相变压器(两个绕组) 使用三个单相变压器,三相变压器三相变压器两个绕组块实现了。您可以模拟饱和的核心不是简单地通过在参数菜单中设置相应的复选框块。线性变压器块和可饱和变压器块部分的单相变压器的电气模型的详细说明,请参阅。 可以以下列方式连接的两个绕组的变压器: 1)Y 2)Y与中性点 3)接地Y 4)三角洲三角洲(D1),30度的滞后Y通过 5)D11)三角洲,三角洲领先的Y通过30度 Three-Phase V-I Measurement 三相电压-电流测量

单闭环直流电机调速Simulink仿真

单闭环直流电机调速S i m u l i n k仿真 Revised by Petrel at 2021

直流调速系统及其仿真 首先,我先大致讲一下电机调速的基本原理: 01()d d n a U E I R R R =+++(1) e e E C n K n ==Φ(2) 3) 直流他励电动机供电原理图 由此公式可知直流他励电动机调速方法有: (1) 改变电枢供电电压的调速 (2) 减弱励磁磁通的调速 (3) 改变电枢回路电阻调速 由晶闸管整流装置给直流电动机供电的调速系统简称为V-M 系统,今天我们选用的就是改变 电枢电压的V-M 调速系统。n U 闭环系统的结构图 电压比较环节*n n n U U U =- 放大器ct p n U K U = 晶闸管整流器及触发装置0d s ct U K U = V-M 系统开环机械特性0d d e e U I R E n C C -== 速度检测环节22n tg etg U U C n n ααα=== 式中,p K 为放大器的电压放大系数;s K 为晶闸管整流器及触发装置的电压放大系数;2α为反馈电位器分压比;etg C 为测速发电机额定磁通下的电动势转速比;2etg C αα=为转速反馈系数。

以上就是单电机比较简单的理论,下面我要向大家介绍一下无静差转速负反馈调速系统的构成、建模及仿真。单闭环无静差转速负反馈调速系统的电气原理图如图所示: 系统的建模包括主电路的建模和控制电路的建模两部分。 该系统由给定、速度调节器、同步脉冲触发器、晶闸管整流桥、平波电抗器、直流电动机、速度给定环节、限流环节等部分组成。 (一) 三相交流电源 A 超前C120度,C 超前B120度。 同步脉冲触发器和封装之后的子系统符号 六脉冲触发器需要用三相线电压同步,所以同步电源的任务是将三相交流电源的相电压转换成线电压。图中触发器开关信号block 为0时,开放触发器;为1时,封锁触发器。 晶闸管整流桥及其参数设置 直流电机模块 PID 模块及其参数设置 PI 的控制器可以通过现有的PID 模块进行设置。 限幅器模块及其参数设置 通过对ct U 参数变化范围的探索而知:在单闭环无静差系统中,当ct U 在110~207范围内变化 时,同步脉冲触发器能够正常工作;当ct U 为110时,对应的整流桥输出电压最大;而;而207对 应的输出电压最小。为此,我们将限幅器的上、下限幅值设置为[97,0],用加法器加上偏置“-207”后调整为[-110,-207],再经反相器转换为[110,207]。这样通过限幅器、偏置、反向器等模块的应用,就可将速度调节器的输出限制在使用同步脉冲触发器能够正常工作的范围之内了。 系统的给定信号设置为150rad/s,p K =2,n =40,平波电抗器电感5e-3H ,其他的参数和上一 系统的参数一样。 (二)

电机MATLAB仿真实验

(此文档为Word格式,下载后可以任意编辑修改!)(文件备案编号:) 单相变压器空载仿真实验 工程名称: 编制单位: 编制人: 审核人: 批准人: 编制日期:年月日

单相变压器空载仿真实验 一、实验目的 1 用仿真的方法了解并求取变压器的空载特性。 2 通过变压器空载仿真了解并求取变压器的参数和损耗。 二、预习要点 1 变压器空载运行有什么特点? 2 在变压器空载实验仿真中,如何通过仿真测取变压器的铁耗。 三、仿真项目 1 完成变压器空载运行仿真模型的搭建和参数设定。 2 仿真测取空载特性U0=f(I0),P0= f(U0),cosΦ0= f(U0)。 四、仿真方法 1 仿真模块 2 仿真模型

AX 图1 变压器空载实验接线图 图2 单相变压器空载仿真模型示例图 图3 变压器参数设置示例图(右侧饱和曲线数据请输入到左侧Saturation Characteristic 一栏) 3 空载仿真 1)根据图1的接线图进行仿真模型搭建,搭建仿真模型如图2所示,所有频率的设置均改成50。 2)对单相变压器以及其他元器件模块的参数设置,选定额定电压,变压器变比等。设定其额定容量S N =77 V A ,U 1N /U 2N =55/220V 。变压器低压侧接电源,高压侧开路。变压器参数设置如图3所示。

3)可自行根据需要选择需要测量的波形以及有效值量,加入示波器以及计算模块进行测量并设定仿真时间。 4)调节电压源电压,调节范围在(1.25~0.2)U N范围内,测取变压器的U0,I0,P0,cosΦ0以及二次侧电压U AX等数据。 5)测取数据时,在额定电压附近侧的点较密,共测取10组数据记录于下表。 表1 空载实验数据 五、实验报告 1. 完成表1 2. 绘制U0-I0特性曲线 3. 计算变压器变比 4. 计算低压侧的励磁参数

电机控制系统与simulink仿真

电机控制系统与simulink仿真 笔名:小san 【摘要】对simulink特点、以及工作原理进行简单的概述,并将simulink 仿真用于电机控制系统仿真研究中,同时以一个具体实例较为深入地对其进 行说明。 【关键词】simulink电机仿真 1、引言 系统仿真的通俗说法就是模拟实验,simulink是MATLAB的仿真工具箱,它从编程转向模型构造,快速、准确的实现了动态系统建模和仿真。Simulink 在建模仿真中支持各类系统,如线性系统、非线性系统、混合系统、连续和离散系统等,为我们提供了不少基本模块,我们可以根据需要从库浏览器里复制出模块,并进行修改参数就可以得到我们要的模型了,从而轻松有效的完成系统仿真。 目前,电机控制系统越来越复杂,同时也不断有新的控制算法被采用。仿真是对其进行研究的一个重要的、不可缺少的手段,而值得考虑的是采用何种软件才使得仿真方便、快速、准确且容易收敛和计算精度。simulink软件在其仿真研究中被成功方便地应用在电动车电驱动系统的研制过程中。 2、simulink 仿真软件的简介 (1)simulink的特点 a、simulink仿真软件最大的特点是非常直观,直接面向“方框图”,它可 完成控制系统模型输入与仿真分析,在simulink界面下,可以直接用鼠标“画” 出所需要的控制系统模型,然后利用simulink提供的功能来对系统进行仿真或线性化分析。这样无论多么复杂的系统,相当容易且直观地就可完成模型的输入和仿真计算,适用于科学研究与工程设计。仿真过程中和结束后都有示波器供查看、分析,所有数据都在内存,可存贮在磁盘中。 b、simulink仿真软件工具带有相应的系统模型库,当进行模型输入时可

matlAB,SIMULINK联合仿真经典例子

数控螺旋面钻头尖刃磨机的机构仿真 一、原理 图1二并联杆数控螺旋面钻头尖刃磨机床示意图 图2 二并联杆数控螺旋面钻头尖刃磨机床刃磨原理图 重要假设条件: 1、二并联杆数控螺旋面钻头尖刃磨机床是通过两组并联杆(2,a和3,b)保证动平台4 只在空间中做水平运动,而没有翻转运动。每一组并联杆是由空间相互平行的4根杆件组成,由于组内各杆件受力相同,所以将其简化成平面机构如图2。构件a,b是保证动平台4只做水平运动的辅助平行杆,所以可以假设将机构中杆件a,b省略,而动平台4只做水平移动,没有翻转运动,也就是4相对于地面的夹角θ4恒等于0。 2、直线电机的次子有两个(1和5)但是在加工过程中并不是两者同时运动,所以假设5 与导轨固联。 3、假设机床在工作过程中动平台4只受到树直向上的恒力作用,且作用在其中心位置。基于以上假设机床平面结构示意图如图3。

图3二并联杆数控螺旋面钻头尖刃磨机床简化机构平面结构示意图 二、建立仿真方程 C2=cos(θ2) S2=sin(θ2) C3=cos(θ3) S3=sin(θ3) 一)力方程(分别对各个杆件进行受力分析) 对动平台4:受力分析如图4 图4动平台4的受力分析 对并联杆2:受力分析如图5 图5并联杆2的受力分析 对直线电机滑块1:受力分析如图6 图6直线电机滑块1的受力分析

对并联杆3:受力分析如图7 图7并联杆3的受力分析 二)闭环矢量运动方程(矢量图如图8) 图8 闭环矢量图 矢量方程为:R1+R2=R3+R4 将上述矢量方程分解为x 和y 方向,并分别对方程两边对时间t 求两次导数得: r1_dot_dot+r2*α2*S2+r2*w2^2*C2=r3*α3*S3+r3*w3^2*C3 (12) r2*α2*C2-r2*w2^2*S2=r3*α3*C3-r3*w3^2*S3 (13) 三)质心加速度的矢量方程

MATLAB仿真同步电机模型

电机模型MATLAB仿真 第1章引言 1.1引言 世界工业进步的一个重要因素是过去几十年中工厂自动化的不断完善。在上个世纪70年代初叶,席卷全球世界先进工业国家的石油危机,迫使他们投入大量人力和财力去研究高效高性能的交流调速系统,期望用它来节约能源。经过十年左右的努力,到了80年代大见成效,高性能交流调速系统应用的比例逐年上升,能源危机从而得以缓解。从此以后,高性能交流电机的研究从未再停止过。 而且众所周知,电机的数学模型是多变量、强耦合的非线性系统。对非线性系统中的混沌和分支现象的研究是当前非线性科学研究的热点,在理论上、计算机仿真以及实验上都有了一些研究成果,提出了一些方法。但要从理论上研究一个非线性动力系统,一般比较困难,我们往往希望在保持其动力学特性的基础上,将其简化。要简化一个动力系统,有两条途径:一是减少系统的维数;二是消除非线性[1]。 1.2同步电机概述 同步电机历来是以转速与电源频率严格保持同步而著称的,只要电源频率保持恒定,同步电动机的转速就绝对不变。小到电钟和记录仪表的定时旋转机构,大到大型同步电动机直流发电机组,无不利器转速恒定的特点。除此以外,同步电动机还有一个突出的优点,就是可以控制励磁来调节它的功率因数,可使功率因数高到1.0甚至超前。在一个工厂中只需要少数几台大容量恒转速的设备(例如水泵、空气压缩机等)采用同步电动机,就足以改善全厂的功率因数。由于同步电动机起动费事、重载有振荡以至于失步的危险,因此除了上述要求以外,一般的工业设备很少应用。 自从电力电子变频技术蓬勃发展以后,情况就完全改变了。采用电压频率协调控制后,同步电动机便和同步电动机一样成为调速电机大家庭的一员。原来阻碍同步电动机广泛应用的问题已经得到解决。例如起动问题,既然频率可以由低调到高,转速也就逐渐升高,不需要任何其他起动措施,甚至有些容量达数万千瓦的大型高速拖动电机,还专门配上变频装置

MATLAB-Simulink基础

ROBOT VISION – Matlab –Simulink 基础 §1 Simulink简介 Simulink是一个用来对动态系统进行建模、仿真和分析的软件包,它支持连续、离散及两者混合的线性和非线性系统,也支持具有多种采样频率的系统。在Simulink环境中,利用鼠标就可以在模型窗口中直观地“画”出系统模型,然后直接进行仿真。它为用户提供了方框图进行建模的图形接口,采用这种结构画模型就像你用手和纸来画一样容易。它与传统的仿真软件包微分方程和差分方程建模相比,具有更直观、方便、灵活的优点。Simulink包含有Sinks(输出方式)、Source(输入源)、Linear(线性环节)、Nonlinear(非线性环节)、Connections(连接与接口)和Extra(其他环节)等子模型库,而且每个子模型库中包含有相应的功能模块,用户也可以定制和创建自己的模块。 用Simulink创建的模型可以具有递阶结构,因此用户可以采用从上到下或从下到上的结构创建模型。用户可以从最高级开始观看模型,然后用鼠标双击其中的子系统模块,来查看其下一级的内容,以此类推,从而可以看到整个模型的细节,帮助用户理解模型的结构和各模块之间的相互关系。在定义完一个模型后,用户可以通过Simulink的菜单或MATLAB的命令窗口键入命令来对它进行仿真。菜单方式对于交互工作非常方便,而命令行方式对于运行一大类仿真非常有用。采用Scope模块和其他的画图模块,在仿真进行的同时,就可观看到仿真结果。除此之外,用户还可以在改变参数后迅速观看系统中发生的变化情况。仿真的结果还可以存放到MATLAB的工作空间里做事后处理。 模型分析工具包括线性化和平衡点分析工具、MATLAB的许多基本工具箱及MATLAB的应用工具箱。由于MATLAB和Simulink是集成在一起的,因此用户可以在这两种环境下对自己的模型进行仿真、分析和修改。 Simulink具有非常高的开放性,提倡将模型通过框图表示出来,或者将已有的模型添加组合到一起,或者将自己创建的模块添加到模型当中。Simulink具有较高的交互性,允许随意修改模块参数,并且可以直接无缝地使用MATLAB的所有分析工具。对最后得到的结果可进行分析,并能够将结果可视化显示。 Simulink非常实用,应用领域很广,可使用的领域包括航空航天、电子、力学、数学、通信、影视和控制等。世界各地的工程师都在利用它来对实际问题进行建模、分析和解决。 §2 Simulink的基本操作 2.1 Simulink的运行 运行Simulink 有三种方式: ?在MATLAB的命令窗口直接键入“Simulink”并回车; ?单击MATLAB工具条上的Simulink 图标; ?在MATLAB菜单上选File→New→Model。 运行后会显示图2.1所示的Simulink模块库浏览器,单击工具条左边建立新模型的快捷方式,则显示如图2.2所示的新建模型窗口,在模型窗口中用户便可通过选择模块库中的仿真模块,建立自己的仿真模型,并进行动态仿真。

相关文档
最新文档