CN104765279B - Industrial refrigeration unit emulation test system and the test method for applying it - Google Patents

Industrial refrigeration unit emulation test system and the test method for applying it Download PDF

Info

Publication number
CN104765279B
CN104765279B CN201410006577.3A CN201410006577A CN104765279B CN 104765279 B CN104765279 B CN 104765279B CN 201410006577 A CN201410006577 A CN 201410006577A CN 104765279 B CN104765279 B CN 104765279B
Authority
CN
China
Prior art keywords
plc
winmod
refrigeration unit
feedback signal
simulation unit
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
Application number
CN201410006577.3A
Other languages
Chinese (zh)
Other versions
CN104765279A (en
Inventor
颜新荣
王业红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kiie Refrigeration Technology (suzhou) Co Ltd
Original Assignee
Kiie Refrigeration Technology (suzhou) Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Kiie Refrigeration Technology (suzhou) Co Ltd filed Critical Kiie Refrigeration Technology (suzhou) Co Ltd
Priority to CN201410006577.3A priority Critical patent/CN104765279B/en
Publication of CN104765279A publication Critical patent/CN104765279A/en
Application granted granted Critical
Publication of CN104765279B publication Critical patent/CN104765279B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

The present invention provides a kind of industrial refrigeration unit emulation test system and the test methods of application, including refrigeration unit analogue system and coupled refrigeration unit master control system, refrigeration unit analogue system includes PLC, the WinMoD simulation unit and SIMBApro simulation unit that connect with PLC, refrigeration unit master control system includes PLC and man-machine interface, wherein: WinMoD simulation unit is used to simulate the channel I/O of each equipment in refrigeration unit, and SIMBApro simulation unit simulates the channel I/O and terminal function by using bus DP/PA.Present system can complete analog field device the case where and fieldbus, emulation testing is carried out to each equipment, field adjustable variations per hour mistake or point number is avoided to omit, the plenty of time has been saved for field adjustable, and realize that PLC program and simulator software program really realize seamless interfacing, by PC come debugging PLC program.The test of PLC program is carried out using present system, testing efficiency is high, not only saves the field adjustable time, but also energy saving, program stability is good.

Description

Industrial refrigeration unit emulation test system and the test method for applying it
Technical field
The present invention relates to a kind of test macro based on WinMoD automation simulation technology and using the system to be tested The method that software is tested is particularly suitable for testing industrial refrigeration unit control program.
Background technique
Industrial refrigeration unit be by refrigeration compressor, condenser, evaporator, solenoid valve, oil eliminator, liquid storing barrel, motor, The components such as oil pump return filter composition.In order to constantly improve refrigerating efficiency, stable operation, generally use that PLC(is programmable to patrol Collect controller) it is controlled.PLC is used to storage inside it and is executed logical operation, suitable using the memory that can program The instruction of the operations such as sequence operation, timing, counting and arithmetical operation, and can be output and input by digital or analog, it controls Make various types of mechanical or production processes.But before PLC participates in control refrigeration unit operation, the PLC journey of write completion Sequence needs after verifying and excluding logic error, can just put into production equipment and use, traditional test method mainly has On-the-spot test and two kinds of hardware testing, in which:
The method of on-the-spot test is that the PLC program write is downloaded in CPU, and PLC journey is run in equipment at the scene Sequence, to check whether PLC program is write correctly.For example download to PLC program in the CPU of compressor control disk, pass through operation Panel runs to start compressor, observes operating status and performance.Debugging PLC program has certain risk in this way, The equipment such as compressor are easily damaged, and waste electric energy.The method of hardware testing is that the PLC program write is downloaded in CPU, It is connect using the equipment that 4mA~20mA signal instrument and rotary switch form with PLC, passes through regulation meter knob and knob Switch, viewing lamp carrys out debugging PLC program, though this kind of mode can exclusive segment erroneous procedures, manually enter debugging efficiency Lowly, for the debugging of disparity items, equipment cannot be reused, and for debugging compared with large project, equipment construction step compares It is cumbersome.Therefore, how to invent that a kind of testing efficiency is high, saves field adjustable time, energy saving, reliable and stable test macro And become urgent problem to be solved using the method that the system is tested and debugged to PLC program.
Summary of the invention
It is provided a kind of based on WinMoD automation simulation skill the purpose of the present invention is to solve above-mentioned technical problem The test macro of art and the method that test software is tested is treated using the system.In order to achieve the above object, the present invention mentions For following technical solution:
Whether a kind of industrial refrigeration unit emulation test system, the PLC program for test program exploitation are suitable for controlling The operation of refrigeration unit, including refrigeration unit analogue system and coupled refrigeration unit master control system, the refrigeration unit Analogue system includes PLC, the WinMoD simulation unit and SIMBApro simulation unit that connect with PLC, the refrigeration unit master control System includes PLC and man-machine interface, in which:
The WinMoD simulation unit is used to simulate the channel I/O of each equipment in refrigeration unit, the SIMBApro emulation Unit simulates the channel I/O and terminal function, the refrigeration unit analogue system and the refrigeration by using bus DP/PA Data exchange is carried out between unit master control system, the PLC develops PLC program to be tested using Siemens STEP7.
Industrial refrigeration unit emulation test system of the present invention further, AI interface in the WinMoD simulation unit with The AI interface of refrigeration unit master control system connects, the DI interface and refrigeration unit master control system in the WinMoD simulation unit The connection of DI interface.
Further, WinMoD simulation unit and SIMBApro emulation are single for industrial refrigeration unit emulation test system of the present invention The output signal that member provides includes compressor energy position feedback signal, compressor main motor operation feedback signal, current of electric Feedback signal, compressor air suction temperature feedback signal, compressor exhaust temperature feedback signal, oil temperature feedback signal, motor U wiring Terminal feedback signal, motor V connecting terminal feedback signal, motor W connecting terminal feedback signal, compressor fore bearing temperature feedback Signal, compressor rear bearing temperature feedback signal, suction pressure of compressor feedback signal, Compressor Discharge Pressure feedback signal, One of oil pressure force feedback signal is a variety of.It is imitative using any one of the above institute industrial refrigeration unit that the present invention also provides a kind of The test method of true test macro, includes the following steps:
Input step: hardware configuration data are imported and loads WinMoD to SIMBApro simulation unit and drives file, and will Project file is directed into WinMoD simulation unit;
Testing procedure: by the way that I/O channel capacity is arranged in WinMoD simulation unit, respectively to the AI- with PLC connection AI, DI-DI are tested in channel, and then carry out logic testing to PLC program;
Comparison step: the data shown on PLC and man-machine interface are compared, if identical, tested PLC journey Sequence logic meets the requirements, if it is different, then tested PLC program logic is undesirable;
Show step: the result of the comparison step is shown as test result.
Test method of the present invention is further, strong by the variable range of the automatic operation of WinMoD in the testing procedure It produces and disappears.
Test method of the present invention further, in the comparison step, in addition to the number that will be shown on PLC and man-machine interface It further include making PLC, man-machine interface and WinMoD simulation unit three institute by debugging WinMoD simulation unit according to being compared The data of display are consistent.
Test method of the present invention further, in display step, utilizes the data record trend of WinMOD simulation unit Analyze PLC program logic reasonability;Utilize the data of Siemens STEP7 in-service monitoring PLC program;Utilize man-machine interface observed number According to situation of change.
Industrial refrigeration unit emulation test system provided by the invention, can complete analog field device the case where, to each Equipment carries out emulation testing, and field adjustable variations per hour mistake or point number is avoided to omit, and has saved the plenty of time for field adjustable;And And by simulation scene I/0 can complete simulation fieldbus, real time data can be sent to PLC, allow PLC program and simulation it is soft Part program really realizes seamless interfacing, and by PC come debugging PLC program, programmed logic mistake is found when testing PLC program, when Between mistake, process error can be with time update, until all logics meet process logic requirement;It is carried out using present system The test of PLC program, testing efficiency is high, not only saves the field adjustable time, but also energy saving, and it is reliable and stable to improve program Property.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the structural schematic diagram of industrial refrigeration unit emulation test system provided by the invention;
Fig. 2 is the flow chart of test method of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Whole description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on The embodiment of the present invention, every other reality obtained by those of ordinary skill in the art without making creative efforts Example is applied, shall fall within the protection scope of the present invention.
As shown, Fig. 1 is the structural schematic diagram of industrial refrigeration unit emulation test system provided by the invention.The present invention Whether industrial refrigeration unit emulation test system, the PLC program for test program exploitation are suitable for controlling the fortune of refrigeration unit Row, including refrigeration unit analogue system and coupled refrigeration unit master control system, the refrigeration unit analogue system includes PLC, the WinMoD simulation unit being connect with PLC and SIMBApro simulation unit, the refrigeration unit master control system include PLC and Man-machine interface, in which: the WinMoD simulation unit is used to simulate the channel I/O of each equipment in refrigeration unit, described SIMBApro simulation unit simulates the channel I/O and terminal function, refrigeration unit emulation system by using bus DP/PA Data exchange is carried out between system and the refrigeration unit master control system, the PLC develops to be tested using Siemens STEP7 PLC program.
A specific embodiment in industrial refrigeration unit emulation test system of the present invention, the AI interface in WinMoD simulation unit It is connect with the AI interface of refrigeration unit master control system, the DI interface in the WinMoD simulation unit and refrigeration unit master control system DI interface connection.Specifically, the output signal that WinMoD simulation unit and SIMBApro simulation unit provide includes but unlimited It is formed on following compressor energy position feedback signals, compressor main motor operation feedback signal, current of electric feedback signal, compression Machine suction temperature feedback signal, compressor exhaust temperature feedback signal, oil temperature feedback signal, motor U connecting terminal feedback signal, After motor V connecting terminal feedback signal, motor W connecting terminal feedback signal, compressor fore bearing temperature feedback signal, compressor Bearing temperature feedback signal, suction pressure of compressor feedback signal, Compressor Discharge Pressure feedback signal, oil pressure feedback letter Number one of or it is a variety of.
Test method provided by the invention using any one of the above institute industrial refrigeration unit emulation test system is such as schemed Shown in 2 test method flow charts, specific details are as follows:
Input step: mainly importing hardware configuration data to SIMBApro simulation unit load WinMoD driving text Part, and Project file is directed into WinMoD simulation unit, specifically include the following steps:
1. engineering project PLC program to be carried out to hardware configuration in Siemens's STEP7 software and is compiled, arrived after the completion of compiling This compiled file of r00s02 is copied in the SDBDATA of Siemens STEP7;
2. being imported r00s02 data file with SIMBApro software, after importing successfully, opens hardware view and be confirmed whether It is consistent with hardware configuration in STEP7;
3. PC and SIMBpro is carried out hardware connection by Ethernet, connection is completed to go to confirm with PING IP address method Hardware whether successful connection;
4. the port DP of the CPU in PLC and SIMBApro are carried out hardware connection with DP bus;
5. the connection in SIMBApro software in selection emulation, hardware view is shown in green after successful connection, then Downloading, configuration is downloaded in SIMBApro box;
6. observing the indicator light on SIMBApro box, if whether all light, the alarm lamp observed on CPU go out entirely;
7. opening WinMoD software loads hardware driving type, Import bus configuration load is selected Project file;
8. AO signal is planned by prescribed form, and encloses annotation with EXCEL by DI, DO, AI, it is then introduced into In WinMoD software;
9. defining AI, the range of AO is drawn in symbolic information to corresponding channel;
10. according to control process establishment logical program corresponding with PLC.
Testing procedure: mainly by WinMoD simulation unit be arranged I/O channel capacity, to respectively with PLC connection AI-AI, DI-DI are tested in channel, and then carry out logic testing to PLC program, specific as follows:
1. HMI is connected with the port MPI of the CPU in PLC, after communication is normal, the program that WinMoD is editted is whole It behaves;
2. drag AI simulator manually in WinMoD platform, for example, suction pressure of compressor range be 0~7bar, when When being dragged to 7bar in WinMoD platform, that show on HMI should also be 7bar;
3. being forced in WinMoD platform by DI signal to be 1, corresponding PLC DI letter is observed in STEP7 argument table It number whether is 1;
4. confirming to the range of all AI simulators, if the range required with technique is consistent;
5. distinguishing which range is by the automatic operation of WinMoD logical formula, by the pressure on these AI simulators Cancel.
Comparison step: being to be compared the data shown on PLC and man-machine interface, if identical, tested PLC Programmed logic meets the requirements, if it is different, then tested PLC program logic is undesirable, also, in addition to by PLC and people The data shown on machine interface are compared, further include by debug WinMoD simulation unit, make PLC, man-machine interface and Data shown by WinMoD simulation unit three are consistent, specific as follows, by taking the test of compressor energy as an example:
1. after the completion of testing procedure, can enter and compare the debugging stage, start button is pressed on HMI, observes button Then load button is pressed in variation, observe whether compressor energy position on HMI has load to change, control HMI, PLC program, Whether the data shown in tri- equipment of WinMoD are consistent;
Whether 2. compressor energy position is loaded into after the completion of 100%, pressing after stop button observation energy position can be from 100%~0% carries out automatic deloading;
3. show that compressor is operating status on HMI, the warning of each sensor is debugged, is dragged in WinMoD AI simulator to warning value, whether observation warning has display on HMI;
4. show that compressor is operating status on HMI, each sensor device is debugged, drags the AI in WinMoD Whether simulator has display to alarming value overview alarm on HMI, and compressor behavior becomes compressor stopping, energy slide valve Position becomes smaller;
5. show that compressor is operating status on HMI, motor feedback signal is forced to 0 in WinMoD platform, is seen Whether compressor behavior can enter halted state.
Show step: the result of the comparison step is shown as test result.In the display step, utilize The data record trend analysis PLC program logic reasonability of WinMOD simulation unit;Utilize Siemens STEP7 in-service monitoring PLC The data of program;Data situation is observed using man-machine interface.
By industrial refrigeration unit emulation test system of the present invention, can complete analog field device the case where, to each equipment Emulation testing is carried out, field adjustable variations per hour mistake or point number is avoided to omit, has saved the plenty of time for field adjustable;Also, By simulation scene I/O can complete simulation fieldbus, real time data can be sent to PLC, allow PLC program and simulation softward journey Sequence really realizes seamless interfacing, by PC come debugging PLC program, programmed logic mistake is found when testing PLC program, the time is wrong Accidentally, process error can be with time update, until all logics meet process logic requirement;PLC journey is carried out using present system The test of sequence, testing efficiency is high, not only saves the field adjustable time, but also energy saving, improves program reliability and stability.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (5)

1. a kind of industrial refrigeration unit emulation test system, the fortune for whether being suitable for controlling refrigeration unit for testing PLC program Row, it is characterised in that: including refrigeration unit analogue system and coupled refrigeration unit master control system, the refrigeration unit is imitative True system includes PLC, the WinMoD simulation unit and SIMBApro simulation unit that connect with PLC, refrigeration unit master control system System includes the PLC and man-machine interface, and the WinMoD simulation unit is used to simulate the channel I/O of each equipment in refrigeration unit, The SIMBApro simulation unit simulates the channel I/O and terminal function by using bus DP/PA, and the refrigeration unit is imitative Data exchange is carried out between true system and the refrigeration unit master control system, the PLC develops to be tested using Siemens STEP7 PLC program;AI interface in the WinMoD simulation unit is connect with the AI interface of refrigeration unit master control system, described DI interface in WinMoD simulation unit is connect with the DI interface of refrigeration unit master control system;WinMoD simulation unit and The output signal that SIMBApro simulation unit provides includes compressor energy position feedback signal, compressor main motor operation feedback Signal, current of electric feedback signal, compressor air suction temperature feedback signal, compressor exhaust temperature feedback signal, oil temperature feedback Signal, motor U connecting terminal feedback signal, motor V connecting terminal feedback signal, motor W connecting terminal feedback signal, compressor Fore bearing temperature feedback signal, compressor rear bearing temperature feedback signal, suction pressure of compressor feedback signal, compressor air-discharging One of pressure feedback signal, oil pressure force feedback signal are a variety of.
2. a kind of test method using industrial refrigeration unit emulation test system described in claim 1, includes the following steps: defeated Enter step: importing hardware configuration data to SIMBApro simulation unit, load WinMoD driving file, and by Project file It is directed into WinMoD simulation unit;Testing procedure: by WinMoD simulation unit be arranged I/O channel capacity, respectively to The channel AI-AI, DI-DI of PLC connection is tested, and then carries out logic testing to PLC program;Comparison step: by PLC and people The data shown on machine interface are compared, if identical, tested PLC program logic meets the requirements, if it is different, then Tested PLC program logic is undesirable;Show step: the result of the comparison step is shown as test result Show.
3. test method according to claim 2, it is characterised in that: in the testing procedure, WinMoD is transported automatically The variable range of calculation is forced to cancel.
4. test method according to claim 2, it is characterised in that: in the comparison step, in addition to by PLC and man-machine The data shown on interface are compared, and further include making PLC, man-machine interface and WinMoD by debugging WinMoD simulation unit Data shown by simulation unit three are consistent.
5. test method according to claim 2, it is characterised in that: in display step, utilize WinMOD simulation unit Data record trend analysis PLC program logic reasonability, utilize the data of Siemens STEP7 in-service monitoring PLC program, utilize Man-machine interface observes data situation.
CN201410006577.3A 2014-01-07 2014-01-07 Industrial refrigeration unit emulation test system and the test method for applying it Expired - Fee Related CN104765279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410006577.3A CN104765279B (en) 2014-01-07 2014-01-07 Industrial refrigeration unit emulation test system and the test method for applying it

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410006577.3A CN104765279B (en) 2014-01-07 2014-01-07 Industrial refrigeration unit emulation test system and the test method for applying it

Publications (2)

Publication Number Publication Date
CN104765279A CN104765279A (en) 2015-07-08
CN104765279B true CN104765279B (en) 2019-02-19

Family

ID=53647189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410006577.3A Expired - Fee Related CN104765279B (en) 2014-01-07 2014-01-07 Industrial refrigeration unit emulation test system and the test method for applying it

Country Status (1)

Country Link
CN (1) CN104765279B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415268A (en) * 2018-03-03 2018-08-17 上海晓奥汽车销售有限公司 One kind specifying signal simulation adjustment method in Virtual Debugging system
CN108803579A (en) * 2018-08-13 2018-11-13 珠海格力电器股份有限公司 Simulation test device and method, cold source group control system and air conditioning equipment
CN108803583B (en) * 2018-08-20 2023-08-25 珠海格力电器股份有限公司 Test equipment of group control system control cabinet
CN117178236A (en) * 2022-04-02 2023-12-05 宁德时代新能源科技股份有限公司 PLC test system and method
CN115327947A (en) * 2022-08-11 2022-11-11 福建星云电子股份有限公司 Hardware-free HMI (human machine interface) simulation control method and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203909499U (en) * 2014-01-07 2014-10-29 基伊埃冷冻技术(苏州)有限公司 Simulation test system for industrial refrigerating unit

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1281934C (en) * 2004-06-01 2006-10-25 浙江大学 Air-conditioner compressor performance testboard and testing method for vehicle based on PLC
CN102156431B (en) * 2011-01-07 2013-05-08 国电南京自动化股份有限公司 Wind turbine running simulation system based on PLC (programmable logic controller) system
CN102323761B (en) * 2011-07-18 2013-03-27 铁道部运输局 Semi-physical simulation testing platform of train control network
JP5962088B2 (en) * 2012-03-15 2016-08-03 オムロン株式会社 PLC simulation system, PLC simulator, control program, and recording medium
CN102622829B (en) * 2012-03-28 2014-03-05 中国民航大学 Service integration settlement system for ground power supply and air conditioner set of civil airport
CN103472822B (en) * 2013-09-24 2015-08-19 北京星达科技发展有限公司 A kind of simulation testing device of central air conditioner automatic control system and method for testing
CN103471798B (en) * 2013-09-26 2015-08-19 北京空间飞行器总体设计部 A kind of refrigeration machine micro-vibration physical simulation test processes system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203909499U (en) * 2014-01-07 2014-10-29 基伊埃冷冻技术(苏州)有限公司 Simulation test system for industrial refrigerating unit

Also Published As

Publication number Publication date
CN104765279A (en) 2015-07-08

Similar Documents

Publication Publication Date Title
CN104765279B (en) Industrial refrigeration unit emulation test system and the test method for applying it
US9436172B2 (en) Test installation for testing control programs for a robot installation
JP5886360B2 (en) Test equipment for testing virtual controllers
EP2804058A2 (en) System and method for emulation of an automation control system
CN103809582B (en) Control System Imitation method of testing and system and device in semiconductor fabrication process
CN104699068A (en) Universal simulator for aircraft engines
EP2113898A1 (en) Training simulators for engineering projects
US20090132060A1 (en) Foundation fieldbus simulation system
CN103168277A (en) Method for debugging of process or manufacturing plant solutions comprising multiple sub-systems
US20160246278A1 (en) Simulation system, programmable controller, simulation device, and engineering tool
CN110673585A (en) Test method, test device and test system for train air conditioning system
CN104635669A (en) Instrument control system verification method
CN108592312B (en) Method, device and system for checking wireless networking of air conditioning unit
JP2017224063A (en) Plant controller testing device and testing method
CN103425055A (en) Semi-virtual functional test device and method for control system
WO2010005724A2 (en) Systems and methods for automated simulation of a propulsion system and testing of propulsion control systems
CN203909499U (en) Simulation test system for industrial refrigerating unit
JP2017097516A (en) Debug support system
CN101539766B (en) Program debugging method and device thereof
EP3206101B1 (en) Test device for monitoring control device
CN106908245B (en) Steady-state measurement and control system of aircraft engine tester and data sharing method thereof
CN106547218B (en) Direct-current transmission field layer real-time simulation system, simulation system and closed-loop test system
CN111044826B (en) Detection method and detection system
US20090271168A1 (en) Systems and Methods for Stimulating Engineering Projects
CN113849276A (en) Method, system, device and storage medium for remote virtual simulation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190219

Termination date: 20200107

CF01 Termination of patent right due to non-payment of annual fee