MATLAB在电气工程及其自动化专业中的仿真应用
- 格式:pdf
- 大小:9.16 MB
- 文档页数:2
摘要随着电力工业的迅速发展,电力系统的规模日益庞大和复杂,出现的各种故障,会给发电厂以及用户和电厂内的多种动力设备的安全带来威胁,并有可能导致电力系统事故的扩大,从技术和安全上考虑直接进行电力试验可能性很小,迫切要求运用电力仿真来解决这些问题依据电网用电供电系统电路模型要求,因此,论文利用MATLAB的动态仿真软件Simulink搭建了单机—无穷大电力系统的仿真模型,能够满足电网在其可能遇到的多种故障方面运行的需要。
论文以MATLAB R2009a电力系统工具箱为平台,通过SimPowerSyetem 搭建了电力系统运行中常见的单机—无穷大系统模型,实验得到了在该系统发生各种短路接地故障并由断路器自动跳闸隔离故障的仿真结果。
并利用小波分析具有很强的信号特征提取能力,尤其对暂态突变信号或微弱变化信号的处理变现出明显的优势,达到了仿真的目的。
本文做的主要工作有:(1)Simulink下单机—无穷大仿真系统的搭建(2)系统故障仿真测试分析通过实例说明,若将该方法应用到电力系统短路故障的诊断中,快速实现故障的自动诊断、检测,对于提高电力系统的稳定性具有十分重要的意义。
关键词单机—无穷大;SimPowerSyetem;短路故障;ABSTRACTWith the rapid development of electric power industry, electric power system, as an increasingly large scale and complicated power system fault, The user will give power plants and power equipment of the security threats, and may have caused the accident of power system, technology and safety considerations from directly power test possibility, urged using electric simulation to solve these problems based on grid power supply system, Therefore, paper depend on the model of dynamic simulation by MATLAB build software Simulink infinite power system of single - simulation model, the grid in various fault may meet theneeds of the running of aspects.The paper base on platform version of Matlab R2009a,According to SimPowerSyetem toolbox to build power operation of common single—infinite system model, the experiment in the system was obtained by various circuit breaker automatically earthing faults and fault isolation of simulation results trip. Using the wavelet analysis and has strong ability of the signal feature extraction, especially for transient mutations signals or weak signal processing showed obvious advantages, Reaching purpose of the simulation.The main work is :(1) Building this simulation system of single - infinite under Simulink(2) Fault simulation test analysis of system(3) Fault detection and analysis based on Haar waveletThrough examples, if this method to the power system fault diagnosis, fast fault detection and diagnosis, automatic for improving the stability of power system has important significance.keywords:Single—infinite;SimPowerSyetem;Short circuit faults;Wavelet transform目录目录.............................................................................................................. 错误!未定义书签。
Matlab软件在电气工程中的应用Matlab软件,在电力工程的应用实践过程中,是一种功能性强、操作简便、效率比较高仿真软件。
目前已经成为相关专业领域内,使用最广泛、影响最大的软件。
它可以将很多复杂而繁琐的数值计算工作,用最短的时间、最高的效率计算出来,大大降低人力计算所花费的时间.一、Matlab软件简介Matlab软件综合了符号计算、矩阵计算、数值计算、图形处理等很多功能,里面涵盖了很多常用的数字分析和函数计算公式,因而可以建立起完整而系统的学习模型.它可以将很多繁重的人工计算工作,在很短的时间内通过计算机的软件操作工序完成,极大地提高了实际的编程效率和正常编程所需要的时间,在解决实际的工程中所遇到的问题起到了很好的果效,而且Matlab软件特别善于解决一些数学或者工程方面的问题。
Matlab 6。
5、Matlab 7.0是两款目前应用过程中比较广泛的软件版本,而且随着时代的发展与计算机信息技术的加强,加之科学水平的不断进步与提高,Matlab软件的版本也在不断地提高,软件的计算功能也在不断地更新和加强。
在科学研究领域与某些技术分析领域的计算工作,基本上大部分都可以由该软件来解决和完成。
Matlab软件中有很多不同类型的子程序系统,为实际的程序运算预编了很多的常用的函数,并且每一个使用该软件的用户可以根据自身的个人喜好与函数了解的程度,合理选用不同的函数,并且所有的使用函数都可以直接从软件的库函数中直接调取出来.此外,Matlab软件还具有十分强大的图形的绘制功能,同样在软件内部已经预先安设了很多的不同的图形绘制软件,可以满足用户方方面面的图形绘制要求。
在电气工程系统的应用过程中,该软件能够迅速建立用户个人的电力系统的数字模型,通过这个模型,用户可以直接按照的软件中的操作界面所显示的图形,准确地分析电气工程中电路的电压情况,分析电流的波形变化情况。
图1为Matlab软件的操作界面: 图1 Matlab软件的操作界面二、Matlab软件在电气工程中的应用电气工程图在电气工程的施工过程中占据了重要的地位,只有科学精准的工程图的使用,才能更好地指导实际的电气施工,提高电气工程的施工质量。
在电气工程及其自动化专业中MATLAB的仿真应用价值探讨作者:朱军楠来源:《硅谷》2014年第05期摘要现如今,仿真软件的种类非常的多,而MATLAB正是由于其强大的功能,所以在许多的领域得到了广泛的应用,文章对在电气工程及其自动化业中MATLAB的仿真应用价值进行了阐述。
在交直流调速系统、电力系统、电力电子应用技术以及电路和磁路中,我们可以利用MATLAB的仿真来对实践能力和积极性进行提高,从而在今后从事设计、开发电子产品等工作时,可以仿真计算以及计算机模拟自己所设计的电路,进一步的对参数和配置进行优化。
关键词电气工程;自动化业;MATLAB;仿真应用中图分类号:TP3 文献标识码:A 文章编号:1671-7597(2014)05-0189-02MATLAB是大型的科技应用软件中的一类,同时它还是一个多工作多学科的平台。
它具有很多的工具箱而且工具各不相同,同时,它也涉及了众多的领域,具体包括:虚拟现实技术、系统仿真、数值统计等。
1 在电气工程及其自动化专业中MATLAB的仿真应用在电气工程及自动化专业中,其主要有电力系统分析、自动控制原和现代控制理论等,这些内容都具有非常强的理论性,所以对其比较难以掌握,同时,又具有很差的探索的积极性,因而无法得到理想的效果。
所以,为了可以对这些情况进行改进,我们可以充分的对MATLAB中的Simulink工具进行利用,来仿真模拟一些相应的内容,这样可以使枯燥的内容更加的生动形象,从而探索的兴趣进行提高。
1)控制系统中对MATLAB的仿真与建模。
在电气工程及自动化专业中,《现代控制理论》和《自动控制原理》是主要的和控制系统有关的内容。
对于《自动控制原理》来说,我们在对系统进行自动控制的方式等进行设计和分析时可以运用MATLAB的仿真促使对设计和分析系统实现自动控制的各类方法、自动控制系统的工作原理以及控制器参数对于系统性能的影响等有一个充分的了解。
在控制系统中,我们可以用Simulink系统定性的对仿真进行分析,对各参数、各环节对于系统性能的影响以及改进性能的方法做出阐述。
MATLAB在电力系统仿真中的应用摘要:电力系统是现代社会不可或缺的基础设施,对其稳定运行和优化管理具有重要意义。
本文旨在探讨MATLAB在电力系统仿真中的应用,包括电力系统建模、稳态分析和暂态分析。
通过MATLAB提供的丰富工具和函数,研究人员可以有效地进行电力系统仿真,以评估系统性能、优化运行策略,并研究新技术的应用。
第一部分:电力系统建模电力系统建模是仿真工作的基础,它包括对发电机、变压器、输电线路等各个组件进行电气和机械特性的建模。
在MATLAB中,可以利用Simulink进行建模,通过连接不同的模块组成电力系统,实现各个节点之间的物理连接。
在建立模型时,需要考虑到系统的不确定性和复杂性,以准确地模拟实际情况。
此外,还可以利用MATLAB的Power System Toolbox进行系统参数的估计和校正,提高模型准确度。
第二部分:稳态分析稳态分析是对电力系统在稳定运行状态下进行评估和优化的过程。
在MATLAB中,可以利用Power System Toolbox提供的函数来计算节点电压、功率潮流和等效电路参数等。
通过对节点电压和功率潮流进行计算和分析,可以评估电力系统的稳定性和可靠性,并寻找优化策略,例如调整发电机容量、优化输电线路布局和控制变压器的调压。
第三部分:暂态分析暂态分析是对电力系统在瞬时状态下进行评估和优化的过程。
在MATLAB中,可以利用Simulink进行暂态仿真,模拟电力系统在短路、开关操作和故障等异常情况下的响应。
通过设定不同的故障模式和参数,可以评估电力系统的稳定性和保护装置的性能。
此外,还可以利用MATLAB的Simscape工具箱建立更精确的组件模型,以获得更准确的仿真结果。
结论:MATLAB在电力系统仿真中的应用广泛而有效。
通过利用MATLAB提供的工具和函数,可以对电力系统进行建模、稳态分析和暂态分析,以评估系统性能和优化运行策略。
此外,MATLAB还提供了友好的用户界面和丰富的可视化功能,帮助研究人员轻松地进行数据处理和结果分析。
International Conference on Advances in Mechanical Engineering and Industrial Informatics (AMEII 2015)The Application and Study of MATLAB in Electrical Engineering and ItsAutomationBowen Wang1, aNorth China Electric Power University, Baoding 071000, China;a*****************Keywords: MATLAB; Electricity Engineering and Its Automation; Simulation; Teaching Design Abstract. Electrical engineering courses are featured on combination of strong and weak electricity and take account into the specialized knowledge of the both. In the design of electricity tests and new products, it will significantly increase the complexity of test system and decrease teaching efficiency if adopting the real physical model design. While if simulating the real conditions by computers, it will achieve the effect that real tests don't have. Therefore, for the electrical engineering major, computer simulation plays a very important role. MATLAB has various tool bags and functional modules, including many corresponding electricity equipment models, which can achieve the analysis and design of motor speed control and electricity system, etc. And it has high-reliability simulation results and can fully mobilize the initiative of students. To analyze the application of MATLAB in electrical engineering and its automation, it gives a brief analysis of MATLAB first, and then analyzes the application of MATLAB in electrical engineering and its automation, expecting to offer some references for electrical engineering major teaching. Electrical engineering and its automation has specialized knowledge of motor and its control, electricity system automation and manufacturing management, etc. It requires students to master such strong electricity fields as mathematics, computer, motor and high voltage, as well as weak electricity fields like operation control, research and development field. It has high speciality. In the specific teaching, although there are some differences in different universities' teaching focuses, yet all of them require the studies of electricity system and circuit and so on. Adopting traditional teaching modes will cost a lot and there may be test failures, so it's very bad for teaching. MATLAB software is one of the large aircraft application software. It has features of multidiscipline platform and involves a number of fields. It can be applied to Electrical engineering and automation speciality teaching. This article mainly analyzes the application of MATLAB software in Electrical engineering and its automation.General Introduction to MATLABMATLAB is a kind of commercial teaching software produced by the U.S. MathWords Company. It is the combination of matrix and laboratory, meaning rectangular laboratory. It's one of the frequently used teaching software and mainly services to data visualization, data analysis and algorithm development, etc. The basic data unit of MATLAB software is matrix, similar to the directive expression frequently used in mathematics engineering. MATLAB software includes various functional tool bags software, such as numerical analysis, digital image processing, digital signal processing and demodulation and financial engineering, etc. This paper mainly analyzes Slimulink tool bag. Slimulink is a tool bag for model simulation and analysis, supporting linear and nonlinear system at the same time and can offer complete model base. It has visual and reloadable features and can significantly increase the reliability of simulation in the simulation tests. Due to its openness, MATLAB software allows users to independently design models they need, which is of great advantage in teaching.Slimulink tool bags include subject models of power electronics, electric machinery and electrical engineering, which falls into 7 module bases: application base, measurement module base, discrete measurement module base, etc. Power module base includes DC voltage source, current source and AC power. Element module base includes transformer, switches and AC transformer, etc.Additional module base includes synchronization 6 pulse generator, clocks, discrete measurement module base and PID controller, etc. Measurement module base mainly includes current voltage measurement modules.Application of MATLAB in simulation of the Electrical Engineering and its Automation There are problems of various aspects existing in the experiment teaching activities of electrical engineering and its automation. For example, due to the establishment of digital platforms in most courses at present, students can accomplish the experiments via reading guide books even if they do not have a deep insight into the relevant knowledge, which leads to the separation of theory and practice, weakening the students' research ability. In addition, with the fast updating pace of electric appliance parts, the experimental conditions cannot meet the needs of some new-type experiments, large electric power experiments and so on.The adoption of MATLAB software can enable the computer simulation design and virtual experiment to synchronously implement the design and experiment without the restrictions of components. Meanwhile, it will facilitate the adjustment and coverage of circuit parameters and realize the updating change of the electric appliance parts, which helps improve the comprehensive design and experiment ability of the students. The simulation is beneficial to cultivate students' thinking and innovation ability, ensure them to master experimental analysis methods on the basis of the grasp of software technology, and boost their study interest.In the process of teaching activities of electrical engineering and its automation, theories concerning mainly include automatic control principles, modern control theories, power system theories and so on, which are excessively theoretical, and the adoption of traditional teaching methods can hardly achieve the ideal teaching effects. However, the adoption of MATLAB software will realize the application of simulation and enhance the figurativeness of theoretical knowledge and students' exploring desire.The application of MATLAB software in the control system. In the professional learning process, the main content of the control system includes modern control theories, automatic control principles and so on. In the learning process of control principles, MATLAB software can be applied to the analysis and design of simulation experiments to get full knowledge of the system's working principles, control parameters and other contents. In the control system, the simulation analysis is mainly carried out by the Simulink system's qualitative experimental analysis to analyze the changes of the system performance along with different parameters and make improvements accordingly. For example, in the learning process of the analysis on spring-mass-damper mechanical displacement system, Chart 1 is a simulation model with a mass of 5 kg, a spring damping factor f of 0.5 and an elasticity coefficient of 5. Assuming that the initial speed of the object is 0, under the condition that the external force F(t) has changed, we analyze the displacement changes of the mass and further obtain knowledge of the system performance by the simulation results.Figure 1 Spring-mass-damper mechanical displacement dynamic system simulation modelThe application of MATLAB software in the electric traction system. The electric traction system drives the operation of machines by motors and at the same time runs according to the relevant rules. In the electric drive system, the automatic control device is a major part. To control automatic machinery equipment, it is essential to find the corresponding regular changes, control the important physical parameters and the rotating speed of motors, and so on. The electric traction system includes mainly AC velocity modulation, pulse width modulation and so on, the simulation of which can all be realized by MATLAB software.The application of MATLAB software in electricity system modeling. The electricity system belongs to the consumption and production system, including different parts like electricity generating, electricity distributing, electricity consuming and so on. Transient process, stable state running and so on need to be analyzed in electricity system, like Electricity System Tidal Current Energy Computation and short circuit failure computation and so on, which are all basic knowledge of electricity system learning. During learning, simulation modeling can be realized through the usage of MATLAB software. In practical work, staff can get the optimal parameters through simulation modeling by MATLAB software.The application of MATLAB in teaching of main curriculumsElectrical engineering and its automation main curriculums include electricity and motor technology, automatic control system and so on. It is very complex in derivation of working principle, involving many ionization figures, waveform figures, formulas and so on. So it is of great difficulty in the adoption of traditional teaching. Application of MATLAB software can well resolve these problems. In the Siomulink part of MATLAB software, electricity system module includes DC asynchronous motor and synchronous magneto, which provides prodigious advantage for teaching.Taking triphase bridge regulator circuit as an example, through modeling and parameter setting of Simulink and power system blockset, single-phase AC voltage source can be gained from the power system blockset and things like triphase voltage measurement unit and oscilloscope can be displayed clearly, and the simulation results are clear at a glance.Figure 2 Simulation models and results of differential equationSolve the differential equation by using integrator. In computation, second-order differential equation is required to be abstracted from realistic nature. Application of direct construction models by stages needs to be considered in mask, and differential equation is illustrated in figure 2. After running, relevant simulation results can be gained.The teaching of triphase bridge full controlled rectifier circuit. For example, in full controlled rectifier circuit, phase voltage electricity source, rectifier transformer output voltage are required to be 220V and 100V respectively, and observe the change of output voltage and current with different loads and trigger angles, as well the main subharmonic and AC side current waveform. Suppose that the resistor is 5 ohm, the peak of triphase electricity source voltage is 220 and the frequency is 50Hz, rectification ratio Nayaqi parameter primary winding connection and secondary winding connection are chosen to be D11 and Y respectively, of which line voltages are 380V and 173V respectively. If the demand is not strict, other transformers absorption numbers can remainunchanged. Primary winding connection and secondary winding connection of synchronous transformer are chosen to be D11 and Y respectively, of which line voltages are 380V and 150V respectively, and other parameters default to be unchanged. Simulation time is set to be 0.06s and simulation experiment can begin after the setup of simulation parameters is done. Simulation results can be seen in figure 3. Rectifier output voltage is positive, and the change is consistent with the change of voltage waveform, but Y coordinate is different. If you change the control, the waveform change in different work situations can be observed.Figure 3 Changes when triphase current is input into the rectifier at 30 degreesIn the simulation model of resistance-inductance load (resistance value is set to the same of 5 ohm), the load PLC parameter should be modified. L value is set to 0.01H, the trigger angle 60 degrees, the simulation time 0.16s, and starting the simulation model can get the output current and voltage value. During the current changes, there is a rising period followed by stability. It is applied in the current loop speed control of double closed-loop speed tuning. As shown in Figure 4, the simulation model is established in the integrated environment. After 0.3s, the unit step response signal is input, and the PID controller module is required to be put in as shown in the figure.Figure 4 Double-loop speed controller applying the PID adjusterApplication of MATLAB in Graduation DesignIn the graduation design of electrical engineering and its automation, there is a lot of professional knowledge, and the update rate is very fast. In the traditional teaching, priorities were focused on the electrical design or protective relaying, but little attention was paid to the popular electric power telecommunication and fault diagnosis. Moreover, in the traditional teaching, the literature search was very difficult, but the adoption of MATLAB software can be very useful to make up for the shortage of traditional teaching.In the process of graduation design, the students are very likely to encounter quite complex simulation programs. In the power system modeling and simulation of the graduation design, MATLAB software provides the students with various components needed by electrical major, so they can build a variety of power system models, then observe the adopted changing models, and verify the experimental results. As shown in Figure 5, MATLAB software is used to build a model of Electricity System Tidal Current Energy Computation. The data of node flow analysis could be obtained through the simulation, and results could be got through comparison with the design flow calculation results. Moreover, the analysis of establishing the model could offer help to the design of power system simulation interface.Figure 5 Simulation Model of Electricity System Tidal Current Energy Computation Application of MATLAB in electric parameter acquisition. In the graduation design, electrical parameters involved include power, current and phase change, and these parameters could be implemented through the model. With the help of FFT analysis in the MATLAB software, the result could be obtained. The graphic editor in the MATLAB software could provide the corresponding observation modules for designers. For instance, in the oscilloscope module, they can clearly see the simulation results and waveform at the point of observation and analysis the parameter values at any time, and in the display module, they can directly read the current value and voltage value on every power line. The most typical example is the data reading of stable electric power parameters in the electric power system. In the neutral ungrounded system, the different phases on the line could be seen. With reasonable judgment, these obtained parameters can provide the basis for the judgment of the fault lines.The use of GUI graphic interface design of MATLAB software can be of great help to electrical simulation interface design. Here graphical user interfaces mainly include window, cursor, menu, etc. Users can import and export correlation parameters through keyboard and use mouse to activate these parameters to complete the calculation of relevant data or waveform drawing, etc. The graphic interface design of MATLAB software is mainly implemented through image objects manipulation. Therefore, users need to be clear about the properties and characteristics of various graphic objects when using MATLAB software, which can fully train designer's design capability. For example, in the MATLAB simulation experiment of Electricity System Tidal Current Energy Computation, model and function files of GUI kernel were integrated, and sub-interface could be accessed by clicking corresponding buttons. In the mutually exclusive design of various menu bars on the main interface, mutually exclusive programs need to be added to realize this operation, for example: set(andles. radicbutton2, "value", 0); set(andles. radicbutton4, "value", 0); the returned value of unchecked and clicked buttons are set at 0 and 1 respectively to realize mutually exclusive function, and the programming capability and the capability to build an electrical model were also tested.ConclusionIn conclusion, this paper analyzes the application of MATLAB software in electrical engineering and its automation from different aspects. The process of teaching activities of electrical engineering and its automation involves knowledge of various subjects. In the teaching, students are required to master research methods of electrical engineering and its automation major on the basis of mastering basic theory, so as to enhance ability in practice. In simulation, the use of MATLAB software is conducive to involve teaching categories to achieve the aim of optimizing resource allocation as well as increasing students' interests and enthusiasm in participation.Reference[1] Zhu Junnan. Discussion on the Value of MATLAB Simulation Application in the Electrical Engineering and Its Automation [J]. Silicon Valley, 2014, 05:189-190.[2] Zhang Lili, Wu Yan. The Simulation Application of MATLAB in the Electrical Engineering and Its Automation [J]. Computer CD Software and Application, 2012, 16:63-64.[3] Xu Yubao, Zhang Xiaodong, Fang Jie, Yang Ting. Research and Reform of Practice Curriculum System of the Electrical Engineering and Its Automation [J]. China Electric Power Education, 2014, 31:46-47.[4] Liu Duyu, Shao Shiquan. Discussion on the Teaching of Matlab in the Electrical Engineering and Its Automation [J]. Academic Journal of Southwest University for Nationalities (Natural Science Edition), 2011, S1:38-40.[5] Su Liangyu, Zhao Zhongbiao, Shi Luhuan. Research on the Application of MATLAB in the process of teaching activities of electrical engineering and Its Automation [J]. Scientific and Technological Information, 2011, 18:11.6] Li Xiao, Liu Tianye. Research on Engineering Talents Cultivation of the Electrical Engineering and Its Automation [J]. Academic Journal of North University of China (Social Science Edition), 2007, 01:83-86.[7] Wei Liming, Han Chenghao, Wang Congze. Exploration on Comprehensive Teaching Reform of Applied Talents Cultivation of the Electrical Engineering and Its Automation [J]. Academic Journal of Jilin Jianzhu University, 2013, 01:91-93.。
matlab在电气工程及其自动化专业中的仿真应用MATLAB在电气工程及其自动化专业中是最常用的仿真工具之一。
以下是MATLAB在电气工程及其自动化专业中的常见应用:
1. 电路仿真:MATLAB是一个强大的电路仿真工具,在电路分析和设计方面有广泛应用,包括传输线、滤波器、放大器、功率电子器件等。
2. 电机控制仿真:电机控制仿真是电气工程的重点之一,MATLAB中可以利用Simulink工具箱实现电机控制仿真,包括交流电机、直流电机、步进电机等的控制。
3. 信号处理仿真:MATLAB在信号处理方面的优势是无可比拟的,可以进行数字信号处理、滤波器设计、图像处理等方面的仿真。
4. 智能电网仿真:随着智能电网的普及和推广,MATLAB上也推出了针对智能电网的仿真工具箱,可以进行智能电网的负载预测、电力系统仿真、稳定性分析等。
5. 电力系统仿真:MATLAB中的工具箱可以模拟电力系统的动态行为、稳态操作、电流干扰等,非常适合电力系统的建模和仿真。
总之,MATLAB在电气工程及其自动化专业中有着广泛的应用,其强大的数值
计算和仿真功能使其成为电气工程专业中必不可少的工具之一。