CN112462627A - Port control system simulation test system and test method - Google Patents

Port control system simulation test system and test method Download PDF

Info

Publication number
CN112462627A
CN112462627A CN202011449755.1A CN202011449755A CN112462627A CN 112462627 A CN112462627 A CN 112462627A CN 202011449755 A CN202011449755 A CN 202011449755A CN 112462627 A CN112462627 A CN 112462627A
Authority
CN
China
Prior art keywords
control system
simulation
port
plc
port control
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.)
Pending
Application number
CN202011449755.1A
Other languages
Chinese (zh)
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.)
CCCC First Harbor Engineering Co Ltd
CCCC First Harbor Installation Engineering Co Ltd
Original Assignee
CCCC First Harbor Engineering Co Ltd
CCCC First Harbor Installation Engineering 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 CCCC First Harbor Engineering Co Ltd, CCCC First Harbor Installation Engineering Co Ltd filed Critical CCCC First Harbor Engineering Co Ltd
Priority to CN202011449755.1A priority Critical patent/CN112462627A/en
Publication of CN112462627A publication Critical patent/CN112462627A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

The invention provides a port control system simulation test system and a test method, comprising a simulation software device, a control device and a monitoring device; the simulation software device is used for establishing an operation dynamic model, performing dynamic simulation, receiving control parameters and feeding back working condition parameters; the control device is used for transmitting the working condition parameters and the control parameters; and the monitoring device is used for displaying the working condition parameters and sending the control parameters. The invention can realize the design and debugging of the PLC control program in an office, realize virtual debugging and check the response of the PLC control program and the state of the visual equipment. The PLC control system program can be designed and tested before the condition is not met on the site, the program BUG is eliminated, the program function is perfected, the debugging time is further shortened, the risk during site debugging is reduced, the working efficiency is obviously improved, and the aims of effectively shortening the debugging time of products and saving design funds are fulfilled.

Description

Port control system simulation test system and test method
Technical Field
The invention relates to the technical field of control system simulation, in particular to a port control system simulation test system and a port control system simulation test method.
Background
The design and debugging of the control system are crucial in the construction process of the bulk cargo port and are the last step of engineering construction of the bulk cargo port, the design and debugging of the control system often have debugging conditions only after the field equipment arrives and is installed, the deficiency of the program design of the control system in the early stage can be verified, and the problem found during debugging can delay the construction period and influence project delivery.
Disclosure of Invention
The invention aims to solve the defects of the prior art and provides a port control system simulation test system and a port control system simulation test method.
In order to achieve the purpose, the invention adopts the following technical scheme:
a port control system simulation test system comprises a simulation software device, a control device and a monitoring device;
the simulation software device is used for establishing a dynamic operation model of the bulk cargo port control system, performing dynamic simulation of a port operation process, receiving control parameters from the control device and feeding back the obtained virtual working condition parameters to the control device;
the control device is used for feeding back the received virtual working condition parameters from the simulation software device to the monitoring device and outputting the received control parameters of the monitoring device to the simulation software device so as to realize closed-loop control of the port operation process simulation process;
the monitoring device comprises a human-computer interaction interface and is used for monitoring the virtual working condition parameters of the operation dynamic model of the bulk cargo port control system and sending the control parameters to the control device.
Further, the operation dynamic model of the bulk cargo port control system comprises one or more of a belt motor high-voltage cabinet, an accessory equipment low-voltage cabinet, an accessory equipment on-site operation box, a belt conveyor motor, a motor brake, a drainer, a pull-cord switch, a deviation detection device, a slip detection device, a blockage detection device, a tearing detection device, a material flow detection device, a tensioning detection device, a terminal equipment stacker, a material taking machine, a ship loader and a ship unloader.
Furthermore, the simulation software device is a PC with simulation software.
Further, the control device is a PLC.
Furthermore, the simulation software communicates and transmits data with the PLC through an OPC protocol.
Further, the monitoring device is a PC with PLC configuration programming software STEP 7.
A port control system simulation test method comprises the following specific steps:
firstly, creating a specific controlled object model in a dynamic operation model of a bulk cargo port control system in simulation software to form a port motor equipment object library, wherein each object comprises all actual operation buttons and an operation state;
secondly, creating variables of the controlled object in the simulation software, uniformly creating internal variables including input and output interfaces and process variables in a variable manager, and grouping the equipment;
thirdly, according to the actual action principle of the equipment, the electrical logic relation of all electrical interfaces of buttons, input, output and intermediate variables of the controlled object is realized through VB programming;
adding PLC equipment for running a program in a variable management module of the simulation software to realize communication between the PLC equipment and the simulation software;
and fifthly, the data transmission between the data interface of the controlled object in the simulation software and the PLC configuration programming software is realized by compiling the script program, so that the PLC program is simulated to run, and the simulation test is realized.
The invention has the beneficial effects that: the invention can realize the design and debugging of the PLC control program in an office, can operate the virtual controlled object in the simulation software, realizes the virtual debugging, and checks the response of the PLC control program and the state of the visual equipment. And forming a PLC control program simulation test environment which is not limited to the function of connecting the PLC brands.
The PLC control system program can be designed and tested before the condition is not met on the site, the program BUG is eliminated, the program function is perfected, the debugging time is further shortened, the risk during site debugging is reduced, the working efficiency is obviously improved, and the aims of effectively shortening the debugging time of products and saving design funds are fulfilled.
Drawings
FIG. 1 is a block diagram of the system of the present invention;
the following detailed description will be made in conjunction with embodiments of the present invention with reference to the accompanying drawings.
Detailed Description
The invention is further illustrated by the following examples:
a port control system simulation test system comprises a simulation software device, a control device and a monitoring device;
the simulation software device is used for establishing a dynamic operation model of the bulk cargo port control system, performing dynamic simulation of a port operation process, receiving control parameters from the control device and feeding back the obtained virtual working condition parameters to the control device;
the control device is used for feeding back the received virtual working condition parameters from the simulation software device to the monitoring device and outputting the received control parameters of the monitoring device to the simulation software device so as to realize closed-loop control of the port operation process simulation process;
the monitoring device comprises a human-computer interaction interface and is used for monitoring the virtual working condition parameters of the operation dynamic model of the bulk cargo port control system and sending the control parameters to the control device.
Further, the operation dynamic model of the bulk cargo port control system comprises one or more of a belt motor high-voltage cabinet, an accessory equipment low-voltage cabinet, an accessory equipment on-site operation box, a belt conveyor motor, a motor brake, a drainer, a pull-cord switch, a deviation detection device, a slip detection device, a blockage detection device, a tearing detection device, a material flow detection device, a tensioning detection device, a terminal equipment stacker, a material taking machine, a ship loader and a ship unloader.
Further, the simulation software device is a PC with WINCC software.
Further, the control device is a Siemens S7-400 series PLC.
Further, the WINCC software communicates with the PLC through an OPC protocol and transmits data.
Further, the monitoring device is a PC with PLC configuration programming software STEP 7.
A port control system simulation test method comprises the following specific steps:
step one, a specific controlled object model in a dynamic operation model of a bulk cargo port control system is established in WINCC software to form a port motor equipment object library, and each object comprises all actual operation buttons and an operation state;
secondly, creating variables of the controlled object in WINCC software, uniformly creating internal variables including input and output interfaces and process variables in a variable manager, and grouping the equipment;
thirdly, according to the actual action principle of the equipment, the electrical logic relation of all electrical interfaces of buttons, input, output and intermediate variables of the controlled object is realized through VB programming;
step four, adding PLC equipment for running a program in a variable management module of the WINCC to realize communication between the PLC equipment and the WINCC;
and fifthly, the data transmission between the data interface of the controlled object in the WINCC and the PLC configuration programming software is realized by compiling the script program, so that the PLC program is simulated to run, and the simulation test is realized.
Further, in the second step, a variable with high readability is created in the model base by utilizing the simulated actual action characteristics of the electrical equipment, the naming rule is Di/Do/M _ A _ B _ C _ N, and Di is input into a controlled object signal of the upper computer; do is output to a control program analog signal; m represents an internal signal of the electrical equipment; a is the name of the attribution belt conveyor; b is electrical equipment for short; c is the signal name for short; n is the signal number on the belt. For example: di _ BQ11_ HV _ STA _1 represents a high-voltage cabinet starting signal numbered 1 on the BQ11 belt conveyor.
It should be noted that the controlled object library created in the WINCC software can be reused, which is beneficial to directly connect with the program to be tested after the general device of the controlled object in the sound bulk cargo port is used for simulation test, and is convenient and fast.
It should be noted that, in the use process, the device in the existing library may be used to connect with the PLC, or a device with a special interface may be created by itself.
When the system runs, the model base runs according to the set script, the variable used for simulating the characteristics of the electrical equipment obtains the equipment state according to input/output and action characteristics, the monitoring device displays the state of the controlled object through colors, characters and the like, and the variable generated by the running script is input into the control device to simulate the system running, so that the virtual simulation debugging function of the designed control system is realized.
In summary, the present invention provides a method for testing correctness of a control system, which realizes virtual debugging in a design stage. The virtual debugging can safely and efficiently verify the program design correctness, improve the test standardization, reduce the risk caused by insufficient experience of programmers, check almost all design errors and functional errors before field debugging, save the field debugging time and reduce the debugging cost. The problem achievement can be widely applied to early debugging of the central control system of each large port, and has great popularization significance.
The present invention has been described in connection with the specific embodiments, and it is obvious that the specific implementation of the present invention is not limited by the above-mentioned manner, and it is within the protection scope of the present invention as long as various modifications are made by using the method concept and technical solution of the present invention, or the present invention is directly applied to other occasions without modification.

Claims (7)

1. A port control system simulation test system is characterized by comprising a simulation software device, a control device and a monitoring device;
the simulation software device is used for establishing a dynamic operation model of the bulk cargo port control system, performing dynamic simulation of a port operation process, receiving control parameters from the control device and feeding back the obtained virtual working condition parameters to the control device;
the control device is used for feeding back the received virtual working condition parameters from the simulation software device to the monitoring device and outputting the received control parameters of the monitoring device to the simulation software device so as to realize closed-loop control of the port operation process simulation process;
the monitoring device comprises a human-computer interaction interface and is used for monitoring the virtual working condition parameters of the operation dynamic model of the bulk cargo port control system and sending the control parameters to the control device.
2. The port control system simulation test system of claim 1, wherein the bulk port control system operation dynamic model comprises one or more of a belt motor high-voltage cabinet, an accessory low-voltage cabinet, an accessory in-situ operation box, a belt motor, a motor brake, a drainer, a pull-cord switch, a deviation detection device, a slip detection device, a blockage detection device, a tear detection device, a material flow detection device, a tension detection device, and a terminal equipment stacker, reclaimer, loader, unloader.
3. The port control system simulation test system of claim 1 or 2, wherein the simulation software means is a PC with simulation software.
4. The port control system simulation test system of claim 3, wherein the control device is a PLC.
5. The port control system simulation test system of claim 4, wherein the simulation software communicates and transmits data with the PLC through OPC protocol.
6. The port control system simulation test system of claim 1, wherein the monitoring device is a PC with PLC configuration programming software STEP 7.
7. A port control system simulation test method is characterized by comprising the following specific steps:
firstly, creating a specific controlled object model in a dynamic operation model of a bulk cargo port control system in simulation software to form a port motor equipment object library, wherein each object comprises all actual operation buttons and an operation state;
secondly, creating variables of the controlled object in the simulation software, uniformly creating internal variables including input and output interfaces and process variables in a variable manager, and grouping the equipment;
thirdly, according to the actual action principle of the equipment, the electrical logic relation of all electrical interfaces of buttons, input, output and intermediate variables of the controlled object is realized through VB programming;
step four, adding PLC equipment for running a program in a variable management module of the WINCC to realize communication between the PLC equipment and the WINCC;
and fifthly, the data transmission between the data interface of the controlled object in the WINCC and the PLC configuration programming software is realized by compiling the script program, so that the PLC program is simulated to run, and the simulation test is realized.
CN202011449755.1A 2020-12-09 2020-12-09 Port control system simulation test system and test method Pending CN112462627A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011449755.1A CN112462627A (en) 2020-12-09 2020-12-09 Port control system simulation test system and test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011449755.1A CN112462627A (en) 2020-12-09 2020-12-09 Port control system simulation test system and test method

Publications (1)

Publication Number Publication Date
CN112462627A true CN112462627A (en) 2021-03-09

Family

ID=74800886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011449755.1A Pending CN112462627A (en) 2020-12-09 2020-12-09 Port control system simulation test system and test method

Country Status (1)

Country Link
CN (1) CN112462627A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114527726A (en) * 2022-01-25 2022-05-24 中国长江三峡集团有限公司 Water conservancy and hydropower simulation test system and test method thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744424A (en) * 2014-01-24 2014-04-23 东北大学 Field device logic control test method
CN104986580A (en) * 2015-06-12 2015-10-21 中交一航局安装工程有限公司 Whole integration and comprehensive debugging method of port bulk cargo wharf integrated system
CN105084024A (en) * 2015-08-06 2015-11-25 中交一航局安装工程有限公司 Automatic control system for bulk cargo port transportation
CN205099000U (en) * 2015-08-06 2016-03-23 中交一航局安装工程有限公司 Automated control system is carried at bulk cargo harbour
CN205263531U (en) * 2015-12-24 2016-05-25 中海网络科技股份有限公司 Coal ore terminal control management study simulator
CN107766116A (en) * 2017-10-25 2018-03-06 上海振华重工(集团)股份有限公司 A kind of emulator, automatic dock stockyard handling facilities analogue system
CN107886821A (en) * 2017-12-15 2018-04-06 福州大学 Towards the simulation test stand and its data communications method of PLC school duty rooms
CN211653475U (en) * 2019-12-26 2020-10-09 中交一航局安装工程有限公司 Remote control system for bulk cargo wharf ship loader

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103744424A (en) * 2014-01-24 2014-04-23 东北大学 Field device logic control test method
CN104986580A (en) * 2015-06-12 2015-10-21 中交一航局安装工程有限公司 Whole integration and comprehensive debugging method of port bulk cargo wharf integrated system
CN105084024A (en) * 2015-08-06 2015-11-25 中交一航局安装工程有限公司 Automatic control system for bulk cargo port transportation
CN205099000U (en) * 2015-08-06 2016-03-23 中交一航局安装工程有限公司 Automated control system is carried at bulk cargo harbour
CN205263531U (en) * 2015-12-24 2016-05-25 中海网络科技股份有限公司 Coal ore terminal control management study simulator
CN107766116A (en) * 2017-10-25 2018-03-06 上海振华重工(集团)股份有限公司 A kind of emulator, automatic dock stockyard handling facilities analogue system
CN107886821A (en) * 2017-12-15 2018-04-06 福州大学 Towards the simulation test stand and its data communications method of PLC school duty rooms
CN211653475U (en) * 2019-12-26 2020-10-09 中交一航局安装工程有限公司 Remote control system for bulk cargo wharf ship loader

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114527726A (en) * 2022-01-25 2022-05-24 中国长江三峡集团有限公司 Water conservancy and hydropower simulation test system and test method thereof

Similar Documents

Publication Publication Date Title
CN107831757B (en) dSPACE-based motor controller hardware-in-loop automatic test system and method
CN201210253Y (en) Test device for testing automobile electronic controller
CN204595599U (en) Based on the automobile electronic controller general-utility test platform of CANoe
CN201780506U (en) Test equipment for testing electronic controller
CN108594792B (en) Hardware-in-loop test system and test equipment for bidirectional vehicle-mounted charger
CN111221326A (en) System and method for realizing hardware-in-loop test control based on Simulink real-time simulation system
CN104483959A (en) Fault simulation and test system
CN103616607B (en) Test system of valve base electronic equipment for converter valve
CN104731080A (en) Automatic hardware-in-loop simulation environment model generating system and method
CN105933173A (en) Electric power system intelligent device automatic testing system
CN112462627A (en) Port control system simulation test system and test method
CN105067930A (en) Test method and system of automatic test platform
CN112306875A (en) Automatic testing method based on HIL (hardware-in-the-loop) rack
CN211652091U (en) Test equipment of electric power steering system
CN105425609B (en) The automatically controlled hardware-in―the-loop test system of low-speed diesel engine
CN113064618B (en) System and method for simulating new energy vehicle conformance detection
CN205540248U (en) Detection apparatus for vehicle control unit
CN104317259A (en) Method for establishing PLC/DCS platform device logic model
CN106534270A (en) Simulation system for internet of things
CN201812197U (en) Device for testing automobile electronic control system
CN101340357A (en) Debugging simulation system and method for remote monitoring terminal of subway safe door system
CN116225813A (en) System, method and application for simulating debugging interface of chip
CN110825624A (en) Module testing system and method of embedded equipment
CN112798939A (en) Testing device
CN111025166A (en) Debugger for battery detection system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210309