CN109542085B - Automatic experiment platform flexible switching device with time-lag configuration function and method - Google Patents

Automatic experiment platform flexible switching device with time-lag configuration function and method Download PDF

Info

Publication number
CN109542085B
CN109542085B CN201811415725.1A CN201811415725A CN109542085B CN 109542085 B CN109542085 B CN 109542085B CN 201811415725 A CN201811415725 A CN 201811415725A CN 109542085 B CN109542085 B CN 109542085B
Authority
CN
China
Prior art keywords
control system
controlled object
switching device
board card
channel
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.)
Active
Application number
CN201811415725.1A
Other languages
Chinese (zh)
Other versions
CN109542085A (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.)
Northeastern University China
Original Assignee
Northeastern University China
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 Northeastern University China filed Critical Northeastern University China
Priority to CN201811415725.1A priority Critical patent/CN109542085B/en
Publication of CN109542085A publication Critical patent/CN109542085A/en
Application granted granted Critical
Publication of CN109542085B publication Critical patent/CN109542085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Feedback Control In General (AREA)
  • Programmable Controllers (AREA)

Abstract

The invention provides a flexible switching device and a flexible switching method for an automatic experiment platform with a time-lag configuration function, wherein the flexible switching device comprises the following steps: the system comprises a control system side I/O board card, a controlled object side I/O board card and a switching computer system; the invention establishes a set of flexible switching device between different control systems and a controlled object, flexible switching between different control systems can be realized only by switching the operation of flexible switching software in a computer system without changing hard-wire connection, and flexible switching of different channels can be performed on the same type of board card through software in the same control system, and the generalized controlled object with any time lag can be obtained by configuring the time lag of the controlled object at will, so that research experiments and teaching experiments of industrial process control can be completed smoothly without changing the control system and reconnecting wires every time, a large amount of experimental time is saved, and the invention has strong necessity.

Description

Automatic experiment platform flexible switching device with time-lag configuration function and method
Technical Field
The invention belongs to the research, experiment and teaching fields of industrial automation and process control technologies, and particularly relates to a flexible switching device and method of an automatic experiment platform with a time-lag configuration function.
Background
Industrial automation and process control are subjects with strong practical applicability to actual industrial processes, and in order to meet research, experiment and teaching requirements of industrial automation and process control technologies, an industrial process automation experiment platform highly consistent with a field industrial environment needs to be established in a laboratory environment. The industrial process automation experiment platform mainly comprises a controlled object and a control system, wherein the controlled object comprises: controlled process, instrumentation and actuators. At present, in an industrial field, a mainstream control system is generally a PLC control system, i.e., a programmable logic controller, or a DCS control system, i.e., a distributed computer control system, detection instruments are generally flow, temperature, pressure, material level, concentration and other instruments, and an execution mechanism is generally a frequency converter, an adjusting valve and the like. The data transmission between the control system and the controlled object is generally performed by directly connecting the switching value input DI board, the switching value output DO board, the analog value input AI board, the analog value output AO board of the control system, the instrumentation of the controlled object, and the actuator via cables, and the connection is called as a hard-wire connection. In order to be consistent with the industrial field, most industrial process automation laboratory devices in laboratories are connected in this way, for example, a multivariable industrial process control laboratory device and method ZL20160363094.8 and an industrial process control laboratory device and method ZL201610362760.6 capable of obtaining non-minimum phase characteristics are disclosed, and the controlled object and the control system in the laboratory device are connected in this way.
In a laboratory environment, an experimenter may need to perform automated experiments of the same type or the same algorithm on different control systems, which presents a problem how a plurality of control systems control the same controlled object. If the rewiring is needed to be carried out between different control systems, actuating mechanisms and detection instruments every time an experiment is carried out, the experiment time, the equipment risk and the experiment risk are increased inevitably, the maintenance cost is increased greatly, and obviously, the rewiring is not feasible.
On the other hand, the time lag characteristic is commonly existed in the industrial production process, typical production processes include but are not limited to a pipeline conveying process, a belt conveying process, a plurality of thermodynamic processes and the like, and a plurality of control schemes are proposed for the time lag problem of a controlled object, so that in the control algorithm experiment of the type, for example, Smith estimation control, minimum variance control, generalized minimum variance control, feed-forward control, zero-pole configuration control, self-correction control and the like, the controlled object of the experiment platform is required to be capable of simulating the corresponding characteristics of large time lag, variable time lag, unknown time lag and the like, once the general physical process is determined, the time lag is also determined, and the general physical process is difficult to change according to the experiment requirement.
Disclosure of Invention
Aiming at the problems, the flexible switching device and the flexible switching method for the automatic experiment platform with the time-lag configuration function are developed, so that flexible switching between control systems can be conveniently and flexibly realized only by simultaneously connecting different control systems and detection instruments and actuating mechanisms corresponding to the same controlled object to the switching device, time lags of the controlled object can be flexibly generated and configured, automatic research experiments and teaching experiments in the industrial process can be smoothly completed, and the flexible switching device and the flexible switching method for the automatic experiment platform with the time-lag configuration function have strong necessity.
Aiming at solving the problem that a control system appointed under a hard wire connection mode can control a controlled object only by rewiring and the problem that a simple controlled object can hardly meet the requirements of unknown time lag and time variation, the invention provides a flexible switching device and a flexible switching method of an automatic experiment platform with a time lag configuration function.
The flexible switching device of the automatic experiment platform with the time-lag configuration function comprises: the system comprises a control system side I/O board card, a controlled object side I/O board card and a switching computer system;
the n sets of control systems in the automatic experiment platform with the time-lag configuration function are connected with the flexible switching device through the I/O board card at the side of the control system, and the flexible switching device is connected with the controlled object through the I/O board card at the side of the controlled object;
wherein, among n sets of control system, each set of control system contains 4 kinds of IO integrated circuit boards, includes: the analog-digital conversion circuit comprises a switching value output DO board card, an analog value output AO board card, a switching value input DI board card and an analog value input AI board card;
the controlled object comprises: a controlled process, an actuator and a detection instrument;
the flexible switching device and the controlled object form a generalized controlled object;
flexible auto-change over device control system side IO integrated circuit board divides into n groups, and every group contains 4 kinds of IO integrated circuit boards respectively, includes: each set of control system corresponds to one group of I/O boards on the control system side of the flexible switching device;
the controlled object side I/O board card of the flexible switching device comprises 4 types of I/O board cards, and comprises: the analog-digital conversion circuit comprises a switching value output DO board card, an analog value output AO board card, a switching value input DI board card and an analog value input AI board card;
the number of channels of the switching value output DO board cards in each set of control system is equal to the number of channels of the switching value input DI board cards of each set of the flexible switching device control system side and the number of channels of the switching value output DO board cards of the flexible switching device controlled object side, and the number of the DO signals is not less than the number of the DO signals required by the controlled object;
the number of channels of analog output AO boards in each set of control system is equal to the number of channels of analog input AI boards in each set of control system side of the flexible switching device and the number of channels of analog output AO boards at the controlled object side of the flexible switching device, and is not less than the number of AO signals required by the controlled object;
the number of channels of the switching value input DI board card in each set of control system is equal to the number of channels of the switching value output DO board card in each set of flexible switching device control system side and the number of channels of the switching value input DI board card in the flexible switching device controlled object side, and the number of the channels is not less than the number of DI signals required by the controlled object;
the number of channels of analog input AI board cards in each set of control system is equal to the number of channels of analog output AO board cards of each set of flexible switching device control system side and the number of channels of analog input AI board cards of flexible switching device controlled object side, and is not less than the number of AI signals needed by the controlled object;
each channel of the switching value output DO board card in each set of control system is respectively connected with each channel of the switching value input DI board card of the corresponding set of the flexible switching device control system side;
each channel of the analog output AO board card in each set of control system is respectively connected with each channel of the analog input AI board card of the corresponding set of the flexible switching device control system side;
each channel of the switching value input DI board card in each set of control system is respectively connected with each channel of the switching value output DO board card of the corresponding set of the flexible switching device control system side;
each channel of the analog input AI board card in each set of control system is respectively connected with each channel of the analog output AO board card of the corresponding set of the flexible switching device control system side;
each channel of the switching value output DO board card at the controlled object side of the flexible switching device is connected with a switching value instruction terminal of the controlled object and transmits a switching value instruction signal;
each channel of the analog output AO board card at the controlled object side of the flexible switching device is connected with an analog instruction terminal of the controlled object and transmits an analog instruction signal;
switching value input DI board card channels of the flexible switching device controlled object side are connected with switching value state terminals of the controlled object, and switching value state signals are transmitted;
analog quantity of the controlled object side of the flexible switching device is input into each channel of the AI board card, is connected with an analog quantity detection terminal of the controlled object, and transmits an analog quantity detection signal;
the n sets of control systems control the controlled object according to the content of the automatic experiment, n is more than or equal to 2, and only one set of control system can be selected for the control experiment during each experiment;
the real-time switching among n sets of control systems is completed through the flexible switching device, the real-time switching among different channels on the same type of I/O board cards of the n sets of control systems is completed, the function of configuring the time lag of the controlled object is achieved, the generalized controlled object with any time lag is obtained, and the automatic experiment with the time lag is completed;
the switching computer system in the flexible switching device is realized by adopting an industrial personal computer or an embedded system or a PLC or a DCS;
running flexible switching software in the switching computer system;
the flexible switching software comprises a human-computer interface operation panel program and a logic control program, experimenters perform control system selection, channel configuration and time-lag configuration operations on the human-computer interface operation panel, and after the configuration is completed, the logic control program performs real-time signal transmission between I/O board card channels of a corresponding group on the control system side and I/O board card channels on the controlled object side according to the selected or configured control system, channels and time-lag.
The selection of the control system on the human-computer interface operation panel means that an experimenter selects a required control system on the human-computer interface operation panel, only one set of control system can be selected at a time, if the control system is selected, the selected control system controls a controlled object in the experiment, and other control systems are forbidden to be used in the experiment.
The channel configuration on the human-computer interface operation panel means that an experimenter manually selects a channel to be associated, or introduces a configuration file of the channel to be associated on the human-computer interface operation panel, and after the experimenter selects one control system and determines the channel configuration, a group of uniquely determined one-to-one corresponding relations are formed between the signal terminal of a controlled object and each channel of the I/O board card of the selected control system.
The signal terminal of the controlled object comprises: the switching value command terminal of the controlled object, the analog value command terminal of the controlled object, the switching value state terminal of the controlled object and the analog value detection terminal of the controlled object.
The time-lag configuration on the human-computer interface operation panel means that if an experimenter needs a certain analog quantity detection signal from a controlled object to have a time lag of t seconds, the time lag time for configuring the signal on the human-computer interface operation panel is t seconds, after the flexible switching system operates, the analog quantity detection signal from the controlled object is output from the control system side of the flexible switching device after the time lag of t seconds, and is sent to an analog quantity input AI board card channel of a corresponding control system, so that a generalized controlled object with any time lag size and configuration functions is formed.
The logic control program performs real-time signal transmission, namely, after a control system is selected, the real-time signal transmission is completed in each cycle period according to channel configuration;
each switching value input DI signal of the controlled object side of the flexible switching device is sent to a corresponding group of specified switching value output DO channels of the control system side of the flexible switching device;
each switching value input DI signal of a corresponding group at the side of a flexible switching device control system is sent to a specified switching value output DO channel at the side of a controlled object of the flexible switching device;
sending each analog input AI signal of the controlled object side of the flexible switching device to a corresponding group of designated analog output AO channels of the control system side of the flexible switching device, and if a time lag of t seconds is configured, delaying t seconds and then sending;
and sending each analog input AI signal of a corresponding group on the control system side of the flexible switching device to a specified analog output AO channel on the controlled object side of the flexible switching device.
The flexible switching method of the automatic experiment platform with the time-lag configuration function is realized by adopting a flexible switching device of the automatic experiment platform with the time-lag configuration function, and comprises a human-computer interface program and a logic control program:
the human-computer interface program comprises the following steps of A to F:
a, initializing, starting a computer system in the flexible switching device, and starting a human-computer interface program;
b, selecting a control system on a human-computer interface operation panel by an experimenter;
c, prompting on a human-computer interface operation panel: whether a channel configuration file is imported, if not, turning to the step D, and if so, turning to the step E;
d, manually selecting channel configuration, and turning to the step F;
step E, importing a channel configuration file;
step F, configuring or modifying time lag, and turning to step G;
the logic control program comprises a step G to a step L, wherein the step G to the step J do not have the sequence:
step G, according to the selected control system and the completed channel configuration, inputting a switching value state signal from a controlled object into a DI board card channel via the switching value of the controlled object side of the flexible switching device for reading, transmitting the switching value state signal to a specified channel output of a switching value output DO board card in a corresponding I/O board card group of the selected control system side of the flexible switching device for outputting to the selected control system;
step H, according to the selected control system and the completed channel configuration, inputting a switching value instruction signal of a switching value output DO board card from the selected control system into a DI board card channel for reading through a switching value in a corresponding I/O board card group on the side of the control system of the flexible switching device, transmitting the switching value instruction signal to a specified channel output of the switching value output DO board card on the side of a controlled object of the flexible switching device for outputting to an execution mechanism of the controlled object;
i, inputting an analog quantity detection signal from a controlled object into an AI board card channel for reading through an analog quantity input at the controlled object side of the flexible switching device according to the selected control system and the completed channel configuration, transmitting the analog quantity detection signal to a specified channel output of an analog quantity output AO board card in a corresponding I/O board card group at the selected control system side of the flexible switching device for outputting to the selected control system after delaying according to the configured time lag;
step J, according to the selected control system and the completed channel configuration, inputting an analog quantity instruction signal of an analog quantity output AO board card from the selected control system into an AI board card channel through an analog quantity input in a corresponding I/O board card group on the control system side of the flexible switching device, transmitting the analog quantity output AO board card to a specified channel output of the analog quantity output AO board card on the controlled object side of the flexible switching device, and outputting the channel output to an execution mechanism of the controlled object;
and K, prompting on a human-computer interface operation panel: is the control process ended? If yes, go to step L, if not, return to step F;
and L, ending the step.
The beneficial technical effects are as follows:
the invention provides an automatic experiment platform flexible switching device with a time-lag configuration function and a method thereof, which can conveniently and flexibly realize flexible switching between control systems by simultaneously connecting different control systems and detection instruments and actuating mechanisms corresponding to the same controlled object to the flexible switching device, can flexibly generate and configure time lag of the controlled object, can smoothly finish research experiments and teaching experiments of industrial process control, does not need to replace the control system and reconnect the line every time, saves a large amount of experiment time and saves the workload of system maintenance.
Drawings
FIG. 1 is a schematic diagram of a system structure and connection relationship according to an embodiment of the present invention;
FIG. 2 is a flowchart of a flexible switching method for an automated experiment platform with time lag configuration according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an embodiment of a flexible switching device according to the present invention;
in the figure: the control system comprises a control system 1, a control system 2, a control system 1-n-a control system n, a flexible switching device 2-1-a flexible switching device control system side I/O board, a flexible switching device controlled object side I/O board 2-2, a switching computer system 2-3, a controlled object 3-1-a controlled process 3-2-an executing mechanism 3-a detecting instrument 23-1-a switching value command signal 23-2-an analog value command signal 32-1-a switching value state signal 32-2-an analog value detecting signal E1-a switching value command terminal E2-an analog value command terminal E3-a switching value state terminal E4-an analog value detecting terminal and a controlled object 4-in a broad sense.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and specific embodiments, wherein an embodiment of the present invention is described in detail by using an air heating and mixing process, an instrumentation and an actuator thereof as a controlled process, which are described in the patent of a multivariable industrial process control experimental apparatus and method ZL 201610363094.8.
As shown in fig. 1, the flexible switching device of the automatic experiment platform with time-lag configuration function includes: the system comprises a control system side I/O board 2-1, a controlled object side I/O board 2-2 and a switching computer system 2-3;
the n sets of control systems in the automatic experiment platform with the time-lag configuration function are connected with the flexible switching device 2 through the control system side I/O board 2-1, and the flexible switching device 2 is connected with the controlled object 3 through the controlled object side I/O board 2-2;
wherein, among the n sets of control system, include: control system 1-1, control system 1-2 … control system 1-n, and each set of control system contains 4 kinds of I/O integrated circuit boards, includes: the analog-digital conversion circuit comprises a switching value output DO board card, an analog value output AO board card, a switching value input DI board card and an analog value input AI board card;
in this embodiment, 2 control systems, that is, n is 2, which is a siemens S7-300PLC control system and a rocwell L71PLC control system, are selected.
The Siemens S7-300PLC control system, one of the control systems in the experimental platform, is provided with 4I/O boards, and the specific models are as follows: 1 16 channel switching value output DO integrated circuit boards, the model is: 6ES7322-1BH01-0AA0, 1 block of DI board card is input with 32-channel switching value, and the model is as follows; 6ES7321-1BL80-0AA0, 1 block of 8-channel analog quantity output AO integrated circuit board, the model is: 6ES7332-5HF00-0AB0, 1 block 8 channel analog input AI board card, the model is: 6ES 7331-7 KF02-0AB 0.
A rockvier L71PLC control system, which is one of control systems in an experimental platform, is equipped with 4I/O boards, including 1 DO board for 16-channel switching value output, and has a model of: 1756-OB16D, and 1 block 32 channel switching value input DI board card, the model is: 1756-IB32 and 1 block of 8-channel analog quantity output AO board card, the model is: 1756-OF8, and 1 block OF 16 channel analog input AI board card, the model is: 1756-IF 16.
The flexible switching device in this embodiment includes a hardware system and a software system.
The switching computer system in the flexible switching device is realized by adopting an industrial personal computer or an embedded system or a PLC or a DCS;
in the hardware system of the flexible switching device in this embodiment, another siemens S7-300PLC different from the siemens S7-300PLC control system is adopted as a switching computer system, and 3 sets of board cards are configured, where 1 set of board cards is a board card on the controlled object side, and the board card set includes 4 board cards, and the specific model is: 1 16 channel switching value output DO integrated circuit boards, the model is: 6ES7322-1BH01-0AA0, 1 block of DI board card is inputted with 32-channel switching value, and the model is: 6ES7321-1BL80-0AA0, 1 block of 8-channel analog quantity output AO integrated circuit board, the model is: 6ES7332-5HF00-0AB0, 1 block 8 channel analog input AI board card, the model is: 6ES 7331-7 KF02-0AB 0; in addition, 2 sets of board cards are control system side board cards, which are respectively a control system side siemens group board card and a control system side rocxwell group board card, the configuration is the same, each set of board card comprises 5 board cards, and the specific model is as follows: 2 16 channels switching value output DO integrated circuit boards, the model is: 6ES7322-1BH01-0AA0, 1 block of DI board card is inputted with 32-channel switching value, and the model is: 6ES7321-1BL80-0AA0, 1 block of 8-channel analog quantity output AO integrated circuit board, the model is: 6ES7332-5HF00-0AB0, 1 block 8 channel analog input AI board card, the model is: 6ES 7331-7 KF02-0AB 0.
The controlled object 3 includes: a controlled process 3-1, an actuating mechanism 3-2 and a detecting instrument 3-3;
the flexible switching device 2 and the controlled object 3 form a generalized controlled object 4;
each channel of the switching value output DO board card in each set of control system is respectively connected with each channel of the switching value input DI board card of the corresponding set of the flexible switching device control system side;
each channel of the analog output AO board card in each set of control system is respectively connected with each channel of the analog input AI board card of the corresponding set of the flexible switching device control system side;
each channel of the switching value input DI board card in each set of control system is respectively connected with each channel of the switching value output DO board card of the corresponding set of the flexible switching device control system side;
each channel of the analog input AI board card in each set of control system is respectively connected with each channel of the analog output AO board card of the corresponding set of the flexible switching device control system side;
as shown in fig. 3, 4 boards of the siemens S7-300PLC control system are butted with 5 boards of the flexible switching device control system side siemens group in a channel-to-channel manner, wherein the 32-channel switching value input DI board of the flexible switching device control system side siemens group only uses 16 channels, the remaining channels are idle, and the siemens control system and the flexible switching device control system side siemens group are connected in a corresponding relationship, as shown in table 1:
table 1: the Siemens control system and the flexible switching device control system side are connected in a corresponding relationship:
Figure BDA0001879415300000071
Figure BDA0001879415300000081
according to the illustration in fig. 3, 4 boards of the rocwell L71PLC control system are connected with 5 boards of the rocwell group on the flexible switching device control system side in a channel-to-channel manner, wherein 32 channels of switching values of the rocwell group on the flexible switching device control system side are input to the DI board only by 16 channels, the remaining channels are idle, 16 channels of analog values of the rocwell L71PLC control system are input to the AI board only by 8 channels, the remaining channels are idle, and the rocwell control system is connected with the rocwell group on the flexible switching device control system side in a corresponding relationship, as shown in table 2.
Table 2: the corresponding relation between the Roxwell control system and the flexible switching device control system is as follows:
Figure BDA0001879415300000082
each channel of the switching value output DO board card at the controlled object side of the flexible switching device is connected with a switching value command terminal E1 of the controlled object and transmits a switching value command signal 23-1;
each channel of the analog output AO board card of the controlled object side of the flexible switching device is connected with an analog instruction terminal E2 of the controlled object and transmits an analog instruction signal 23-2;
switching value input DI board card channels of the controlled object side of the flexible switching device are connected with a switching value state terminal E3 of the controlled object, and switching value state signals 32-1 are transmitted;
analog quantity input channels of the controlled object side of the flexible switching device are connected with an analog quantity detection terminal E4 of the controlled object, and an analog quantity detection signal 32-2 is transmitted;
2 sets of control systems, which control the controlled object according to the content of the automatic experiment, and only one set of control system can be selected to perform the control experiment during each experiment;
the real-time switching among the 2 sets of control systems is completed through the flexible switching device, the real-time switching among different channels on the same type of I/O board cards of the 2 sets of control systems is completed, the function of configuring the time lag of the controlled object is achieved, the generalized controlled object with any time lag is obtained, and the automatic experiment with the time lag is completed;
running flexible switching software in the switching computer system;
and running flexible switching software in the Siemens S7-300PLC switching computer system.
The flexible switching software is developed by adopting WinCC configuration software and STEP7 software package: in particular SIMATICWinCC system software full version V7.0 and SIMATIC S7STEP7V5.5.
The flexible switching software comprises a human-computer interface operation panel program and a logic control program, the human-computer interface operation panel program is developed by using WinCC configuration software, and the logic control program is developed by using a STEP7 software package.
The flexible switching software comprises a human-computer interface operation panel program and a logic control program, experimenters perform control system selection, channel configuration and time-lag configuration operations on the human-computer interface operation panel, and after the configuration is completed, the logic control program performs real-time signal transmission between I/O board card channels of a corresponding group on the control system side and I/O board card channels on the controlled object side according to the selected or configured control system, channels and time-lag.
The selection of the control system on the human-computer interface operation panel means that an experimenter selects a required control system on the human-computer interface operation panel, only one set of control system can be selected at a time, if the control system is selected, the selected control system controls a controlled object in the experiment, and other control systems are forbidden to be used in the experiment.
The channel configuration on the human-computer interface operation panel means that an experimenter manually selects a channel to be associated, or introduces a configuration file of the channel to be associated on the human-computer interface operation panel, and after the experimenter selects one control system and determines the channel configuration, a group of uniquely determined one-to-one corresponding relations are formed between the signal terminal of a controlled object and each channel of the I/O board card of the selected control system.
The time-lag configuration on the human-computer interface operation panel means that if an experimenter needs a certain analog quantity detection signal from a controlled object to have a time lag of t seconds, the time lag time for configuring the signal on the human-computer interface operation panel is t seconds, after the flexible switching system operates, the analog quantity detection signal from the controlled object is output from the control system side of the flexible switching device after the time lag of t seconds, and is sent to an analog quantity input AI board card channel of a corresponding control system, so that a generalized controlled object with any time lag size and configuration functions is formed.
The logic control program performs real-time signal transmission, namely, after a control system is selected, the real-time signal transmission is completed in each cycle period according to channel configuration;
each switching value input DI signal of the controlled object side of the flexible switching device is sent to a corresponding group of specified switching value output DO channels of the control system side of the flexible switching device;
each switching value input DI signal of a corresponding group at the side of a flexible switching device control system is sent to a specified switching value output DO channel at the side of a controlled object of the flexible switching device;
sending each analog input AI signal of the controlled object side of the flexible switching device to a corresponding group of designated analog output AO channels of the control system side of the flexible switching device, and if a time lag of t seconds is configured, delaying t seconds and then sending;
and sending each analog input AI signal of a corresponding group on the control system side of the flexible switching device to a specified analog output AO channel on the controlled object side of the flexible switching device.
The signal terminal of the controlled object comprises: a controlled object switching value command terminal E1, a controlled object analog value command terminal E2, a controlled object switching value state terminal E3, and a controlled object analog value detection terminal E4.
The channel configuration of the Siemens PLC control system refers to 4 one-to-one correspondence relations, namely, the one-to-one correspondence relation from 16 channels already used in the 6ES7321-1BL80-0AA0 boards of the Siemens subgroup at the control system side of the flexible switching device to 16 channels of the 6ES7322-1BH01-0AA0 boards at the controlled object side, the one-to-one correspondence relation from 8 channels in the 6ES 7331-7 KF02-0AB0 boards of the Siemens subgroup at the control system side to 8 channels of the 6ES7332-5HF00-0AB0 boards at the controlled object side, the one-to-one correspondence relation from 32 channels of the 6ES7321-1BL80-0AA0 boards at the controlled object side to two 6ES7322-1BH01-0AA0 boards of the Siemens subgroup at the control system side, and the one-to-one-to-one correspondence relation from 32 channels of the 6ES 7331-7 BL 630 AA 463 boards at the controlled object side to 858 channels of the Siemens subgroup at the control system side One-to-one correspondence of8 channels of the card. The correspondence is shown in table 3:
table 3: the flexible switching device channel is configured with a Siemens group board card:
Figure BDA0001879415300000101
the channel configuration of the rockvell PLC control system refers to 4 one-to-one correspondence relationship, namely, the one-to-one correspondence relationship from 16 channels already used in the siemens S7-300PLC and 6ES7321-1BL80-0AA0 boards of the rockvell group on the system side to 16 channels of the 6ES7322-1BH01-0AA0 board card on the controlled object side, the one-to-one correspondence relationship from 8 channels in the 6ES 7331-7 KF02-0AB0 board card of the rockvell on the system side to 8 channels of the 6ES7332-5HF00-0AB0 board card on the controlled object side, the one-to-one correspondence relationship from 32 channels of the 6ES7321-1BL80-0AA0 on the controlled object side to a board card of two 6ES AB 7322-1BH01-0AA 3 of the rockvell group on the control system side, and the one-to-one-to-one correspondence relationship from the 6ES 7331-1 BL80 AA 6858 boards on the controlled object side of the rocell group on the controlled object side to the controlled The 6ES7332-5HF00-0AB0 board card has a one-to-one correspondence relationship of8 channels. The correspondence is shown in table 4:
table 4: the flexible switching device channel is configured with a Siemens group board card:
Figure BDA0001879415300000111
an example of an experiment was performed with the siemens PLC control system selected, as shown in figure 2:
operating a human-computer interface operation panel program, comprising the following steps of A to F:
step A, initializing, starting a switching computer system of the flexible switching device, and starting a human-computer interface operation panel program;
b, selecting a Siemens PLC control system on a human-computer interface operation panel by an experimenter, and naturally shielding the Rockwell PLC control system by a flexible switching device;
c, prompting on a human-computer interface operation panel: whether a Siemens PLC control system channel configuration file is imported, if not, turning to the step D, and if so, turning to the step E;
d, manually selecting channel configuration, and turning to the step F;
step E, importing a Siemens PLC control system channel configuration file;
f, selecting one or more channels needing time lag configuration according to experimental needs from 8 channels of the 6ES 7331-7 KF02-0AB0 board card at the controlled object side, configuring or modifying the time lag one by one, and turning to the step G;
the logic control program comprises a step G to a step L, wherein the step G to the step J do not have the sequence:
step G, according to the completed channel configuration, reading in the switching value state signals from the controlled object side through 32 channels of the 6ES7321-1BL80-0AA0 board card of the controlled object side of the flexible switching device, transmitting the signals to the 2 blocks of 6ES7322-1BH01-0AA0 board cards of the Siemens group on the selected flexible switching device control system side to output the signals to the Siemens PLC control system, wherein the 32 channels are totally 32 specified channels;
step H, reading in the switching value command signals of the switching value output DO board card from the Siemens PLC control system through 16 channels used in the 6ES7321-1BL80-0AA0 board card in the Siemens subgroup on the flexible switching device control system side according to the completed channel configuration, transmitting the switching value command signals to the 16 specified channels of the 6ES7322-1BH01-0AA0 board card on the controlled object side of the flexible switching device for output to an execution mechanism of the controlled object;
step I, according to the completed channel configuration, reading in analog quantity detection signals from a controlled object through 8 channels of a 6ES 7331-7 KF02-0AB0 board card on the controlled object side of the flexible switching device, transmitting the signals to 8 specified channels of the 6ES7332-5HF00-0AB0 board card in the Siemens group on the control system side of the flexible switching device after delaying according to the configured time lag, and outputting the signals to a Siemens PLC control system;
step J, according to the completed channel configuration, reading in the analog quantity command signals of the analog quantity output AO board card from the Siemens PLC control system through 8 channels of the 6ES 7331-7 KF02-0AB0 board card in the Siemens subgroup at the flexible switching device control system side, transmitting the analog quantity command signals to 8 specified channels of the 6ES7332-5HF00-0AB0 board card at the controlled object side of the flexible switching device, and outputting the analog quantity command signals to an execution mechanism of the controlled object;
and K, prompting on a human-computer interface operation panel: is the control process ended? If yes, go to step L, if not, return to step F;
and L, ending the step.
An example of an experiment was performed with a rocwell PLC control system, as shown in fig. 2:
operating a human-computer interface operation panel program, comprising the following steps of A to F:
step A, initializing, starting a switching computer system of the flexible switching device, and starting a human-computer interface operation panel program;
b, selecting a Roxwell PLC control system on a human-computer interface operation panel by an experimenter, and naturally shielding the Siemens PLC control system by a flexible switching device;
c, prompting on a human-computer interface operation panel: whether a Roxwell PLC control system channel configuration file is imported, if not, turning to the step D, and if so, turning to the step E;
d, manually selecting channel configuration, and turning to the step F;
step E, importing a Roxwell PLC control system channel configuration file;
f, selecting one or more channels needing time lag configuration according to experimental needs from 8 channels of the 6ES 7331-7 KF02-0AB0 board card at the controlled object side, configuring or modifying the time lag one by one, and turning to the step G;
the logic control program comprises a step G to a step L, wherein the step G to the step J do not have the sequence:
step G, reading in the switching value state signals from the controlled object side through 32 channels of the 6ES7321-1BL80-0AA0 board cards of the controlled object side of the flexible switching device according to the completed channel configuration, transmitting the signals to 2 6ES7322-1BH01-0AA0 board cards of the Rockwell group of the selected flexible switching device control system side to output the signals to the Rockwell PLC control system through 32 specified channels;
step H, according to the completed channel configuration, reading in the switching value command signals of the switching value output DO board card from the Rockwell PLC control system through 16 channels used in the 6ES7321-1BL80-0AA0 board card in the Rockwell group at the flexible switching device control system side, transmitting the switching value command signals to 16 specified channels of the 6ES7322-1BH01-0AA0 board card at the controlled object side of the flexible switching device for output to an execution mechanism of the controlled object;
i, reading in analog quantity detection signals from a controlled object through 8 channels of a 6ES 7331-7 KF02-0AB0 board card on the controlled object side of the flexible switching device according to the completed channel configuration, transmitting the signals to 8 specified channels of the 6ES7332-5HF00-0AB0 board card in a Roxwell group on the control system side of the flexible switching device for output to a Roxwell PLC control system after delaying according to the configured time lag;
step J, according to the completed channel configuration, reading in the analog quantity command signals of the analog quantity output AO board card from the Rockwell PLC control system through 8 channels of the 6ES 7331-7 KF02-0AB0 board card in the Rockwell group at the flexible switching device control system side, transmitting the analog quantity command signals to 8 specified channels of the 6ES7332-5HF00-0AB0 board card at the controlled object side of the flexible switching device for output to an execution mechanism of the controlled object;
and K, prompting on a human-computer interface operation panel: is the control process ended? If yes, go to step L, if not, return to step F;
and L, ending the step.
According to the requirements, a set of flexible switching device is obtained, the device realizes the flexible switching function of random configuration time lag between two different sets of control systems in an experimental platform which takes an air heating and mixing process, a detection instrument and an execution mechanism thereof as controlled objects and a Siemens S7-300PLC control system and a Rockwell L71PLC control system as control systems, and an experimenter can respectively use the Siemens S7-300PLC control system and the Rockwell L71PLC control system to carry out all automatic experiments described in a patent ZL20160363094.8 (a multivariable industrial process control experimental device and method) and a patent ZL201610362760.6 (an industrial process control experimental device and method capable of obtaining non-minimum phase characteristics) by means of the flexible switching device.

Claims (5)

1. The flexible auto-switching device with time lag configuration function for the experimental platform is characterized in that the flexible auto-switching device with time lag configuration function for the experimental platform comprises: the system comprises a control system side I/O board card, a controlled object side I/O board card and a switching computer system;
the n sets of control systems in the automatic experiment platform with the time-lag configuration function are connected with the flexible switching device through the I/O board card at the side of the control system, and the flexible switching device is connected with the controlled object through the I/O board card at the side of the controlled object;
wherein, among n sets of control system, each set of control system contains 4 kinds of IO integrated circuit boards, includes: the analog-digital conversion circuit comprises a switching value output DO board card, an analog value output AO board card, a switching value input DI board card and an analog value input AI board card;
the controlled object comprises: a controlled process, an actuator and a detection instrument;
the flexible switching device and the controlled object form a generalized controlled object;
flexible auto-change over device control system side IO integrated circuit board divides into n groups, and every group contains 4 kinds of IO integrated circuit boards respectively, includes: each set of control system corresponds to one set of I/O board card at the control system side of the flexible switching device;
the controlled object side I/O board card of the flexible switching device comprises 4 types of I/O board cards, and comprises: the analog-digital conversion circuit comprises a switching value output DO board card, an analog value output AO board card, a switching value input DI board card and an analog value input AI board card;
the number of channels of the switching value output DO board cards in each set of control system is equal to the number of channels of the switching value input DI board cards of each set of the flexible switching device control system side and the number of channels of the switching value output DO board cards of the flexible switching device controlled object side, and the number of the DO signals is not less than the number of the DO signals required by the controlled object;
the number of channels of analog output AO boards in each set of control system is equal to the number of channels of analog input AI boards in each set of control system side of the flexible switching device and the number of channels of analog output AO boards at the controlled object side of the flexible switching device, and is not less than the number of AO signals required by the controlled object;
the number of channels of the switching value input DI board card in each set of control system is equal to the number of channels of the switching value output DO board card in each set of flexible switching device control system side and the number of channels of the switching value input DI board card in the flexible switching device controlled object side, and the number of the channels is not less than the number of DI signals required by the controlled object;
the number of channels of analog input AI board cards in each set of control system is equal to the number of channels of analog output AO board cards of each set of flexible switching device control system side and the number of channels of analog input AI board cards of flexible switching device controlled object side, and is not less than the number of AI signals needed by the controlled object;
each channel of the switching value output DO board card in each set of control system is respectively connected with each channel of the switching value input DI board card of the corresponding set of the flexible switching device control system side;
each channel of the analog output AO board card in each set of control system is respectively connected with each channel of the analog input AI board card of the corresponding set of the flexible switching device control system side;
each channel of the switching value input DI board card in each set of control system is respectively connected with each channel of the switching value output DO board card of the corresponding set of the flexible switching device control system side;
each channel of the analog input AI board card in each set of control system is respectively connected with each channel of the analog output AO board card of the corresponding set of the flexible switching device control system side;
each channel of the switching value output DO board card at the controlled object side of the flexible switching device is connected with a switching value instruction terminal of the controlled object and transmits a switching value instruction signal;
each channel of the analog output AO board card at the controlled object side of the flexible switching device is connected with an analog instruction terminal of the controlled object and transmits an analog instruction signal;
switching value input DI board card channels of the flexible switching device controlled object side are connected with switching value state terminals of the controlled object, and switching value state signals are transmitted;
analog quantity of the controlled object side of the flexible switching device is input into each channel of the AI board card, is connected with an analog quantity detection terminal of the controlled object, and transmits an analog quantity detection signal;
the n sets of control systems control the controlled object according to the content of the automatic experiment, n is more than or equal to 2, and only one set of control system can be selected for the control experiment during each experiment;
the real-time switching between n sets of control systems and the controlled object is completed through the flexible switching device, the real-time switching between different channels on the same type of I/O board cards of the n sets of control systems is completed, the function of configuring the time lag of the controlled object is achieved, the generalized controlled object with any time lag is obtained, and the automatic experiment with the time lag is completed;
the switching computer system in the flexible switching device is realized by adopting an industrial personal computer or an embedded system or a PLC or a DCS;
running flexible switching software in the switching computer system;
the flexible switching software comprises a human-computer interface operation panel program and a logic control program, experimenters perform control system selection, channel configuration and time-lag configuration operations on the human-computer interface operation panel, and after the configuration is completed, the logic control program performs real-time signal transmission between I/O board card channels of a corresponding group on the control system side and I/O board card channels on the controlled object side according to the selected or configured control system, channels and time-lag.
2. The flexible switching device with the time-lag configuration function for the automatic experiment platform as claimed in claim 1, wherein the selection of the control systems on the human-computer interface operation panel means that an experimenter selects a desired control system on the human-computer interface operation panel, and only one set of control system can be selected at a time, if the control system is selected, it means that the selected control system controls the controlled object in the experiment, and other control systems are prohibited from being used in the experiment;
the channel configuration on the human-computer interface operation panel means that an experimenter manually selects a channel to be associated, or introduces a configuration file of the channel to be associated on the human-computer interface operation panel, and after the experimenter selects one control system and determines the channel configuration, a group of uniquely determined one-to-one corresponding relations are formed between the signal terminal of a controlled object and each channel of an I/O board card of the selected control system;
the time-lag configuration on the human-computer interface operation panel means that if an experimenter needs a certain analog quantity detection signal from a controlled object to have a time lag of t seconds, the time lag time for configuring the signal on the human-computer interface operation panel is t seconds, after the flexible switching system operates, the analog quantity detection signal from the controlled object is output from the control system side of the flexible switching device after the time lag of t seconds, and is sent to an analog quantity input AI board card channel of a corresponding control system, so that a generalized controlled object with any time lag size and configuration functions is formed.
3. The flexible switching device for automatic experiment platforms with time-lag configuration function as claimed in claim 1, wherein the real-time signal transmission of the logic control program is completed in each cycle period according to the channel configuration after the control system is selected:
each switching value input DI signal of the controlled object side of the flexible switching device is sent to a corresponding group of specified switching value output DO channels of the control system side of the flexible switching device;
each switching value input DI signal of a corresponding group at the side of a flexible switching device control system is sent to a specified switching value output DO channel at the side of a controlled object of the flexible switching device;
sending each analog input AI signal of the controlled object side of the flexible switching device to a corresponding group of designated analog output AO channels of the control system side of the flexible switching device, and if a time lag of t seconds is configured, delaying t seconds and then sending;
and sending each analog input AI signal of a corresponding group on the control system side of the flexible switching device to a specified analog output AO channel on the controlled object side of the flexible switching device.
4. The flexible switching device with time-lag configuration function for automatic experiment platforms according to claim 1, wherein the signal terminal of the controlled object comprises: the switching value command terminal of the controlled object, the analog value command terminal of the controlled object, the switching value state terminal of the controlled object and the analog value detection terminal of the controlled object.
5. The flexible switching method of the automatic experiment platform with the time-lag configuration function is realized by adopting the flexible switching device of the automatic experiment platform with the time-lag configuration function in the claim 1, and is characterized by comprising a human-computer interface program and a logic control program:
the human-computer interface program comprises the following steps of A to F:
a, initializing, starting a computer system in the flexible switching device, and starting a human-computer interface program;
b, selecting a control system on a human-computer interface operation panel by an experimenter;
c, prompting on a human-computer interface operation panel: whether a channel configuration file is imported, if not, turning to the step D, and if so, turning to the step E;
d, manually selecting channel configuration, and turning to the step F;
step E, importing a channel configuration file;
step F, configuring or modifying time lag, and turning to step G;
the logic control program comprises a step G to a step L:
step G, according to the selected control system and the completed channel configuration, inputting a switching value state signal from a controlled object into a DI board card channel via the switching value of the controlled object side of the flexible switching device for reading, transmitting the switching value state signal to a specified channel output of a switching value output DO board card in a corresponding I/O board card group of the selected control system side of the flexible switching device for outputting to the selected control system;
step H, according to the selected control system and the completed channel configuration, inputting a switching value instruction signal of a switching value output DO board card from the selected control system into a DI board card channel for reading through a switching value in a corresponding I/O board card group on the side of the control system of the flexible switching device, transmitting the switching value instruction signal to a specified channel output of the switching value output DO board card on the side of a controlled object of the flexible switching device for outputting to an execution mechanism of the controlled object;
i, inputting an analog quantity detection signal from a controlled object into an AI board card channel for reading through an analog quantity input at the controlled object side of the flexible switching device according to the selected control system and the completed channel configuration, transmitting the analog quantity detection signal to a specified channel output of an analog quantity output AO board card in a corresponding I/O board card group at the selected control system side of the flexible switching device for outputting to the selected control system after delaying according to the configured time lag;
step J, according to the selected control system and the completed channel configuration, inputting an analog quantity instruction signal of an analog quantity output AO board card from the selected control system into an AI board card channel through an analog quantity input in a corresponding I/O board card group on the control system side of the flexible switching device, transmitting the analog quantity output AO board card to a specified channel output of the analog quantity output AO board card on the controlled object side of the flexible switching device, and outputting the channel output to an execution mechanism of the controlled object;
and K, prompting on a human-computer interface operation panel: is the control process ended? If yes, go to step L, if not, return to step F;
and L, ending the step.
CN201811415725.1A 2018-11-26 2018-11-26 Automatic experiment platform flexible switching device with time-lag configuration function and method Active CN109542085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811415725.1A CN109542085B (en) 2018-11-26 2018-11-26 Automatic experiment platform flexible switching device with time-lag configuration function and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811415725.1A CN109542085B (en) 2018-11-26 2018-11-26 Automatic experiment platform flexible switching device with time-lag configuration function and method

Publications (2)

Publication Number Publication Date
CN109542085A CN109542085A (en) 2019-03-29
CN109542085B true CN109542085B (en) 2020-10-23

Family

ID=65849670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811415725.1A Active CN109542085B (en) 2018-11-26 2018-11-26 Automatic experiment platform flexible switching device with time-lag configuration function and method

Country Status (1)

Country Link
CN (1) CN109542085B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6429033B2 (en) * 2016-01-15 2018-11-28 株式会社ダイフク Mechanical equipment control system
CN115019580A (en) * 2022-06-06 2022-09-06 国家石油天然气管网集团有限公司 Portable PLC experimental box

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9026691B2 (en) * 2012-06-26 2015-05-05 Apple Inc. Semi-autonomous touch I/O device controller operation under control of host
CN102891886B (en) * 2012-09-14 2015-05-20 吉视传媒股份有限公司 Multi-screen interacting method and system based on cloud computing
CN105278516B (en) * 2014-06-24 2017-12-12 南京理工大学 A kind of implementation method of the reliable fault-tolerant controller of dual redundant switching value PLC control system
CN104850117B (en) * 2015-05-19 2017-05-17 合肥工业大学 Robot automatic production line experiment platform and control method thereof
CN106527384B (en) * 2016-12-19 2019-03-05 华南理工大学 A kind of production regulation method based on cloud platform complementary handover strategies
CN206451386U (en) * 2016-12-26 2017-08-29 华能(上海)电力检修有限责任公司 A kind of a variety of DCS control devices training systems based on Multi-way switching device
CN107688335B (en) * 2017-07-28 2019-07-12 北京宇航系统工程研究所 A kind of launch vehicle measurement that cruise mode can be switched with emission mode
CN107649811A (en) * 2017-09-28 2018-02-02 广州德恒汽车装备科技有限公司 A kind of switching platform for the flexible total spelling system of automobile body-in-white welding
CN108549342A (en) * 2018-04-25 2018-09-18 佛山聚晨知识产权运营有限公司 A kind of multi-work piece hybrid process flexible intelligent manufacture system

Also Published As

Publication number Publication date
CN109542085A (en) 2019-03-29

Similar Documents

Publication Publication Date Title
CN109542085B (en) Automatic experiment platform flexible switching device with time-lag configuration function and method
US4443861A (en) Combined mode supervisory program-panel controller method and apparatus for a process control system
US3976981A (en) Multi-channel control systems
CN106068480A (en) Programmable logic controller and apparatus control method based on programmable logic controller
US9348329B2 (en) Multiple Boolean inputs and outputs for device function blocks
CN102841538A (en) Method and system for controlling a batch process
US20200380347A1 (en) Neural network, method of control of neural network, and processor of neural network
EP1857896A1 (en) Emulator of a controller of an industrial plant
EP2981867A1 (en) System and method for implementing model predictive control in plc
US20140015466A1 (en) Integrated Drive Management And Configuration Using Instantiated Objects
AU2003302052A1 (en) Method for producing software modules for field appliances used in the process automation technique
CN102169340B (en) Manipulation-monitoring device
Argha et al. Optimal actuator/sensor selection through dynamic output feedback
US5239476A (en) Multi-level state language controller for multi-threaded machine control
CN1588258A (en) Intelligent analogue simulating method for switch volume control process
CN110737363A (en) resistive touch screen simulation control device and method
CN114585979A (en) Control device
CN110890902B (en) PLC equipment testing system and method
CN1816780A (en) Device and method for parametrizable controlling
Zhiyun et al. The development of a novel type chemical process operator-training simulator
KR102302303B1 (en) Method for control of multiple transfer units
CN112346397B (en) Simulation method of distributed control system, distributed processing unit and distributed control system
CN101408761B (en) Method for setting input / output module system by pattern operation
US20060041323A1 (en) Method of inputting same data to a plurality of programmable logic controllers
Strémy et al. Virtual PLC realization in on-line laboratory

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
GR01 Patent grant
GR01 Patent grant