CN206179346U - Process control tests platform based on matlab and winCC - Google Patents
Process control tests platform based on matlab and winCC Download PDFInfo
- Publication number
- CN206179346U CN206179346U CN201620664785.7U CN201620664785U CN206179346U CN 206179346 U CN206179346 U CN 206179346U CN 201620664785 U CN201620664785 U CN 201620664785U CN 206179346 U CN206179346 U CN 206179346U
- Authority
- CN
- China
- Prior art keywords
- wincc
- matlab
- process control
- module
- modules
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000004886 process control Methods 0.000 title claims abstract description 33
- 238000002474 experimental method Methods 0.000 claims abstract description 41
- 238000004891 communication Methods 0.000 claims description 10
- 238000000034 method Methods 0.000 claims description 6
- 238000012544 monitoring process Methods 0.000 claims description 2
- 238000011160 research Methods 0.000 abstract description 5
- 230000009977 dual effect Effects 0.000 abstract description 4
- 238000004422 calculation algorithm Methods 0.000 description 6
- 238000004088 simulation Methods 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 3
- 238000010835 comparative analysis Methods 0.000 description 2
- 239000007788 liquid Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本实用新型属于过程控制实验技术领域,具体涉及一种基于Matlab与WinCC的过程控制实验平台,包括:过程控制实验装置、PLC控制器和上位机;所述上位机设置有用于监控实验过程及实验数据的WinCC模块,以及用于接收WinCC模块实验数据并产生控制数据的Matlab模块;所述WinCC模块与PLC控制器控制连接;所述PLC控制器还连接有MCC柜,所述MCC柜的控制输出端与过程控制实验装置连接;所述WinCC模块还连接有WinCC数据库;本实验平台结构简单、成本较低,能够有效满足学生教学和科学研究的双重要求。
The utility model belongs to the technical field of process control experiments, in particular to a process control experiment platform based on Matlab and WinCC, comprising: a process control experiment device, a PLC controller and an upper computer; The WinCC module of data, and the Matlab module that is used to receive WinCC module experiment data and produces control data; Described WinCC module is connected with PLC controller control; Described PLC controller is also connected with MCC cabinet, the control output of described MCC cabinet The terminal is connected with the process control experiment device; the WinCC module is also connected with the WinCC database; the experiment platform is simple in structure and low in cost, and can effectively meet the dual requirements of student teaching and scientific research.
Description
技术领域technical field
本实用新型属于过程控制实验技术领域,具体涉及一种基于Matlab与WinCC的过程控制实验平台。The utility model belongs to the technical field of process control experiments, in particular to a process control experiment platform based on Matlab and WinCC.
背景技术Background technique
过程控制课程是高等学校自动化专业等相关专业的一门重要的专业课程,是衔接自动控制原理、现代控制理论课与生产实践相结合的课程,因此建设过程控制实验室,从而加强对学生实践能力的培训对高校教育以及社会是具有现实的意义。现有的过程控制实验平台对复杂的过程控制实验涉及较少,结构复杂,开放性较低,价格也偏高,适用范围较窄,无法很好地服务于各高校的实验教学。The course of process control is an important professional course for automation majors and other related majors in colleges and universities. The training has practical significance to college education and society. The existing process control experiment platform involves less complex process control experiments, complex structure, low openness, high price, narrow scope of application, and cannot well serve the experimental teaching of various universities.
发明内容Contents of the invention
针对现有技术存在的缺陷和不足,本实用新型的目的在于提供一种具有较高开放性的基于Matlab与WinCC的过程控制实验平台,并且本实验平台结构简单、成本较低,能够有效满足学生教学和科学研究的双重要求。For the defects and deficiencies in the prior art, the purpose of this utility model is to provide a process control experiment platform based on Matlab and WinCC with high openness, and the experiment platform is simple in structure and low in cost, and can effectively meet the needs of students. Dual requirements of teaching and scientific research.
为实现上述目的,本实用新型采用以下技术方案:In order to achieve the above object, the utility model adopts the following technical solutions:
一种基于Matlab与WinCC的过程控制实验平台,包括:过程控制实验装置、PLC控制器和上位机;所述上位机设置有用于监控实验过程及实验数据的WinCC模块,以及用于接收WinCC模块实验数据并产生控制数据的Matlab模块;所述WinCC模块与PLC控制器控制连接;所述PLC控制器还连接有MCC柜,所述MCC柜的控制输出端与过程控制实验装置连接;所述WinCC模块还连接有WinCC数据库。A process control experiment platform based on Matlab and WinCC, comprising: a process control experiment device, a PLC controller and an upper computer; the upper computer is provided with a WinCC module for monitoring the experimental process and experimental data, and for receiving the WinCC module experiment data and generate the Matlab module of control data; the WinCC module is connected with the PLC controller control; the PLC controller is also connected with the MCC cabinet, and the control output of the MCC cabinet is connected with the process control experimental device; the WinCC module Also connected to the WinCC database.
进一步的,所述Matlab模块和WinCC模块均设置有OPC读写接口,所述Matlab模块和WinCC模块内OPC读写接口连接并进行数据通讯。Further, both the Matlab module and the WinCC module are provided with OPC read-write interfaces, and the OPC read-write interfaces in the Matlab module and the WinCC module are connected to perform data communication.
进一步的,所述上位机设置有通讯卡,WinCC模块通过通讯卡与PLC控制器控制连接。Further, the upper computer is provided with a communication card, and the WinCC module is controlled and connected to the PLC controller through the communication card.
进一步的,所述上位机的Matlab模块设置有示波器。Further, the Matlab module of the host computer is provided with an oscilloscope.
进一步的,所述PLC控制柜采用西门子S7-300PLC控制柜。Further, the PLC control cabinet adopts Siemens S7-300PLC control cabinet.
进一步的,所述过程控制实验装置为水槽实验装置或其他可用于过程控制实验的实验装置。Further, the process control experimental device is a water tank experimental device or other experimental devices that can be used for process control experiments.
进一步的,所述通讯卡采用CP5611通讯卡。Further, the communication card adopts CP5611 communication card.
与现有技术相比,本实用新型具有以下有益的技术效果:通过在上位机中设置WinCC模块,在实验时对实验过程和具体实验数据进行实时监测,并将具体实验数据输入至Matlab模块,通过Matlab模块生成控制数据并通过WinCC模块发送至PLC控制器,进而实现对过程控制实验装置的控制。通过设置Matlab模块和WinCC模块,使得本实验平台具有较高的开放性。并且通过设置独立的MCC柜,使本实验平台结构上更为完整,充分模拟工业现场,让学生工业现场有更直观的认识。本实用新型结构简单、成本较低,能够有效满足学生教学和科学研究的双重要求。Compared with the prior art, the utility model has the following beneficial technical effects: by setting the WinCC module in the upper computer, the experimental process and the specific experimental data are monitored in real time during the experiment, and the specific experimental data is input to the Matlab module, The control data is generated through the Matlab module and sent to the PLC controller through the WinCC module, thereby realizing the control of the process control experimental device. By setting the Matlab module and the WinCC module, the experimental platform has a high degree of openness. And by setting up an independent MCC cabinet, the structure of this experimental platform is more complete, and the industrial site is fully simulated, so that students have a more intuitive understanding of the industrial site. The utility model has the advantages of simple structure and low cost, and can effectively meet the dual requirements of students' teaching and scientific research.
进一步的,通过设置示波器,能够实时查看Matlab模块得到实物实验与仿真实验的结果对比分析,方便理解实验。Furthermore, by setting the oscilloscope, the Matlab module can be viewed in real time to obtain a comparative analysis of the results of the physical experiment and the simulation experiment, which is convenient for understanding the experiment.
附图说明Description of drawings
图1为本实用新型原理框图。Fig. 1 is a functional block diagram of the utility model.
其中:1为Matlab模块;2为WinCC模块;3为PLC控制器;4为OPC读写接口;5为MCC柜;6为过程控制实验装置。Among them: 1 is the Matlab module; 2 is the WinCC module; 3 is the PLC controller; 4 is the OPC read and write interface; 5 is the MCC cabinet; 6 is the process control experiment device.
具体实施方式detailed description
下面结合附图对本实用新型做进一步详细描述。Below in conjunction with accompanying drawing, the utility model is described in further detail.
参见图1,本实用新型包括:过程控制实验装置6、PLC控制器3和上位机;所述上位机设置有用于监控实验过程及实验数据的WinCC模块2,以及用于接收WinCC模块2实验数据并产生控制数据的Matlab模块1;所述WinCC模块2与PLC控制器3控制连接;所述PLC控制器3还连接有MCC柜5,所述MCC柜5的控制输出端与过程控制实验装置6连接;所述WinCC模块2还连接有WinCC数据库。所述Matlab模块1和WinCC模块2均设置有OPC读写接口4,所述Matlab模块1和WinCC模块2内OPC读写接口4连接并进行数据通讯。Referring to Fig. 1, the utility model comprises: process control experimental device 6, PLC controller 3 and host computer; Described host computer is provided with the WinCC module 2 that is used to monitor experimental process and experimental data, and is used to receive WinCC module 2 experimental data And produce the Matlab module 1 of control data; Described WinCC module 2 is connected with PLC controller 3 controls; Described PLC controller 3 is also connected with MCC cabinet 5, and the control output end of described MCC cabinet 5 is connected with process control experimental device 6 connected; the WinCC module 2 is also connected with a WinCC database. Both the Matlab module 1 and the WinCC module 2 are provided with an OPC read-write interface 4, and the OPC read-write interface 4 in the Matlab module 1 and the WinCC module 2 is connected to perform data communication.
所述上位机设置有通讯卡,WinCC模块2通过通讯卡与PLC控制器3控制连接。所述上位机的Matlab模块1还设置有示波器。The upper computer is provided with a communication card, and the WinCC module 2 is controlled and connected with the PLC controller 3 through the communication card. The Matlab module 1 of the host computer is also provided with an oscilloscope.
所述PLC控制柜3采用西门子S7-300PLC控制柜。所述过程控制实验装置6为水槽实验装置或。The PLC control cabinet 3 adopts Siemens S7-300 PLC control cabinet. The process control experimental device 6 is a water tank experimental device or.
实施例Example
本实用新型以PLC为控制器,以水槽实验装置为被控对象,通过液位变送器、压力变送器、温度传感器、流量计将实验装置中的液位、压力、温度、流量等物理量传送给PLC,PLC和上位机通过CP5611通讯卡进行通讯,通过上位机中的WinCC模块进行监控,将控制指令传送给PLC控制器,进而通过变频器、阀门等执行器对被控量进行控制;通过OPC接口实现Matlab和WinCC模块数据交换,Matlab模块以PLC为过程接口对被控对象进行控制。The utility model takes the PLC as the controller, takes the water tank experimental device as the controlled object, and uses the liquid level transmitter, pressure transmitter, temperature sensor and flowmeter to control the physical quantities of the liquid level, pressure, temperature, flow rate and the like in the experimental device. Send to PLC, PLC and upper computer communicate through CP5611 communication card, monitor through the WinCC module in the upper computer, transmit control instructions to PLC controller, and then control the controlled quantity through inverter, valve and other actuators; The data exchange between Matlab and WinCC modules is realized through the OPC interface, and the Matlab module uses PLC as the process interface to control the controlled object.
上位机中的WinCC模块从下位机中读取现场变量数据并放入WinCC数据库中,从而上位机对物理实验装置进行监控。此外,在MATLAB模块中预设将各种控制算法,直接在WinCC数据库中读取控制需要的辅助变量的数据,并将控制算法的运算结果写入到WinCC模块中的变量中去,WinCC模块将变量数值进一步下传至下位机PLC并发出相应的控制信号,来控制现场执行器的动作。The WinCC module in the upper computer reads field variable data from the lower computer and puts it into the WinCC database, so that the upper computer monitors the physical experiment device. In addition, various control algorithms are preset in the MATLAB module, directly read the data of the auxiliary variables required for control in the WinCC database, and write the operation results of the control algorithm into the variables in the WinCC module, and the WinCC module will The variable value is further transmitted to the lower computer PLC and sends a corresponding control signal to control the action of the on-site actuator.
将物理实验装置中被控变量的实测值通过OPC接口模块读入到MATLAB模块中,将实物实验和仿真实验曲线结果显示在同一个示波器即同一个坐标系中,实现相同条件下的实物实验与仿真实验的结果对比分析,使学生对实验理解更加透彻。The measured value of the controlled variable in the physical experiment device is read into the MATLAB module through the OPC interface module, and the results of the physical experiment and simulation experiment curves are displayed on the same oscilloscope, that is, in the same coordinate system, so as to realize the physical experiment and simulation experiment under the same conditions. The comparative analysis of the results of the simulation experiment makes the students understand the experiment more thoroughly.
将被控变量的设定值和实际值通过OPC接口模块读入到MATLAB模块中,把实际的数据送给PLC控制器,并把计算结果通过OPC接口模块送给WinCC模块,进而对物理实验装置进行控制,实现MATLAB模块中建立的各种高级控制算法在物理实验装置上的应用,使算法效果得到验证,可以解决下位机PLC中编程实现高级算法难,占用储存空间大等问题。Read the set value and actual value of the controlled variable into the MATLAB module through the OPC interface module, send the actual data to the PLC controller, and send the calculation results to the WinCC module through the OPC interface module, and then control the physical experiment device Control and realize the application of various advanced control algorithms established in the MATLAB module on the physical experiment device, so that the effect of the algorithm can be verified, and it can solve the problems of difficulty in programming and implementing advanced algorithms in the PLC of the lower computer, and occupying a large storage space.
独立设置的MCC柜包括变频器、空气开关、接触器、三相固态继电器和接线端子,并与PLC控制柜相连。The independent MCC cabinet includes frequency converter, air switch, contactor, three-phase solid state relay and terminal blocks, and is connected with PLC control cabinet.
本实用新型可以完成二十余种常用的典型过程控制实验,很好的满足自动化相关专业的实验教学要求,具有结构简单直观、易于制作和便于学生学习的优点,通过OPC技术实现Matlab和WinCC数据交换,从而将Matlab强大的功能引入到实验平台中,实现实物实验和仿真实验的结合,显著提高实验教学的效果;方便实现各种复杂的用户自定义的优化控制算法,提高实验平台的开放性,为科研理论成果提供了一个验证的实际平台,从而可以满足学生教学和科学研究的双重要求。The utility model can complete more than 20 commonly used typical process control experiments, well meet the experimental teaching requirements of automation-related majors, has the advantages of simple and intuitive structure, easy to make and easy for students to learn, and realizes Matlab and WinCC data through OPC technology Exchange, so as to introduce the powerful functions of Matlab into the experimental platform, realize the combination of physical experiment and simulation experiment, significantly improve the effect of experimental teaching; facilitate the realization of various complex user-defined optimization control algorithms, and improve the openness of the experimental platform , providing a practical platform for verification of scientific research theoretical achievements, so as to meet the dual requirements of student teaching and scientific research.
尽管上面结合图对本实用新型进行了描述,但是本实用新型并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本实用新型的启示下,在不脱离本实用新型宗旨的情况下,还可以作出很多变形,这些均属于本实用新型的保护之内。Although the utility model has been described above in conjunction with the drawings, the utility model is not limited to the above-mentioned specific embodiments, and the above-mentioned specific embodiments are only illustrative, rather than restrictive. Under the enlightenment of the utility model, many deformations can be made without departing from the purpose of the utility model, and these all belong to the protection of the utility model.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201620664785.7U CN206179346U (en) | 2016-06-28 | 2016-06-28 | Process control tests platform based on matlab and winCC |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201620664785.7U CN206179346U (en) | 2016-06-28 | 2016-06-28 | Process control tests platform based on matlab and winCC |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN206179346U true CN206179346U (en) | 2017-05-17 |
Family
ID=58673395
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201620664785.7U Expired - Fee Related CN206179346U (en) | 2016-06-28 | 2016-06-28 | Process control tests platform based on matlab and winCC |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN206179346U (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107219813A (en) * | 2017-07-18 | 2017-09-29 | 珠海意动智能装备有限公司 | A kind of cloud computing management system controlled based on computer and application method |
| CN107885782A (en) * | 2017-10-16 | 2018-04-06 | 深圳市合信自动化技术有限公司 | A kind of method and device that PLC variables are read and write by SQL database |
| CN111142407A (en) * | 2019-12-23 | 2020-05-12 | 东华大学 | Online real-time simulation method based on Siemens PLC advanced control algorithm |
-
2016
- 2016-06-28 CN CN201620664785.7U patent/CN206179346U/en not_active Expired - Fee Related
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107219813A (en) * | 2017-07-18 | 2017-09-29 | 珠海意动智能装备有限公司 | A kind of cloud computing management system controlled based on computer and application method |
| CN107219813B (en) * | 2017-07-18 | 2019-09-20 | 珠海意动智能装备有限公司 | A cloud server-based laboratory operation console management system and using method |
| CN107885782A (en) * | 2017-10-16 | 2018-04-06 | 深圳市合信自动化技术有限公司 | A kind of method and device that PLC variables are read and write by SQL database |
| CN111142407A (en) * | 2019-12-23 | 2020-05-12 | 东华大学 | Online real-time simulation method based on Siemens PLC advanced control algorithm |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN203204395U (en) | DCS (distributed control system) experiment platform used for process control research by using semi-physical simulation technology | |
| CN103235223B (en) | A kind of micro-capacitance sensor experimental test platform based on RTDS | |
| CN102568297A (en) | Comprehensive practical training device for process control | |
| CN107886821B (en) | Simulation test bed for PLC teaching laboratory and data communication method thereof | |
| CN206179346U (en) | Process control tests platform based on matlab and winCC | |
| CN107272442A (en) | A kind of large-scale cryogenic system real-time simulation platform | |
| CN204440782U (en) | Based on half process control device in kind of OPC and S7-200 PLC module | |
| CN103680240A (en) | Universal type simulation system for nuclear power plant three-waste technical control | |
| CN104076731A (en) | Method, device and system for debugging nuclear power water feed pump rotational speed control system | |
| CN100543800C (en) | A kind of pressure-constant water supply cluster teaching system | |
| CN102122451A (en) | A simulation teaching and training system and method for a production device | |
| CN204650231U (en) | Based on half process control device in kind of OPC and S7-300 PLC module | |
| CN103345879A (en) | Practical training device for production process automation | |
| CN102541018A (en) | Centralized detection and control system for sealing test | |
| CN203406006U (en) | Chemical automation comprehensive training device | |
| CN203069995U (en) | Modularized reconfigurable process control comprehensive experimental platform | |
| CN202018588U (en) | Configuration type process control test device | |
| CN112540547B (en) | Steam Turbine Valve Simulation Control System | |
| CN201774252U (en) | Electrical power system simulation research and development platform based on imaging real-time simulation | |
| CN104407604A (en) | D5000 debugging protocol testing device and method | |
| CN204576107U (en) | The semi-matter simulating system of Chemical Engineering Process Control | |
| CN2898998Y (en) | Teaching experimental equipment of field bus controlling system | |
| CN204440047U (en) | Based on half process control device in kind of OPC and ADAM module | |
| CN202512800U (en) | Comprehensive practical training device for process control | |
| CN201830280U (en) | Tester for simulating PROFIBUS-DP master station communication |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170517 Termination date: 20180628 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |