Data following system

CN117724323BActive Publication Date: 2026-09-08STATE NUCLEAR POWER AUTOMATION SYST ENGCO
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311741134.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-15
Publication Date
2026-09-08
Estimated Expiration
2043-12-15

AI Technical Summary

Technical Problem

[0003]本发明要解决的技术问题是为了克服现有技术中DCS系统与PLC系统在共同控制同一就地设备时,需要进行切换,无法及时进行数据跟随的缺陷,提供一种数据跟随系统

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117724323B_ABST
    Figure CN117724323B_ABST
Patent Text Reader

Abstract

The application discloses a data following system, which comprises a PLC control device and a DCS control device, wherein the PLC control device comprises a PLC control module, an instruction register and a data register; the PLC control module is used for writing PLC control instructions into the instruction register, controlling on-site equipment according to the PLC control instructions, reading equipment data cached in the data register, and releasing the PLC control instructions in the instruction register after reading is completed; the DCS control device is used for reading equipment data cached in the data register according to DCS reading instructions cached in the instruction register, and releasing the DCS reading instructions in the instruction register after reading is completed. The application realizes data following between the PLC control device and the DCS control device, is convenient to operate, is smooth to use, and can improve user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of interaction between PLC systems and DCS systems, and more particularly to a data following system. Background Technology

[0002] In the chemical and power industries, DCS systems are commonly used for centralized operation and distributed control, while PLC systems are used to control various types of machinery or production processes; each has its advantages. Current technologies mostly employ DCS systems as the primary control system and PLC systems as auxiliary systems. While they can communicate and exchange data, their control permissions differ when controlling the same local device, preventing simultaneous direct control. Switching between the DCS and PLC systems is necessary. This switching operation requires creating a program switching logic on the PLC side and executing it, which is inconvenient, time-consuming, and prone to various problems. Furthermore, because the program switching is not timely, the device data acquired by the PLC and DCS systems cannot be updated promptly. Summary of the Invention

[0003] The technical problem to be solved by the present invention is to overcome the shortcomings of the prior art where DCS system and PLC system need to switch when jointly controlling the same local equipment and cannot follow data in a timely manner, and to provide a data following system.

[0004] The present invention solves the above-mentioned technical problems through the following technical solution:

[0005] A first aspect of the present invention provides a data following system, the data following system including a PLC control device and a DCS control device, the PLC control device including a PLC control module, an instruction register and a data register;

[0006] The PLC control module is used to write PLC control instructions into the instruction register, control local devices according to the PLC control instructions, read device data cached in the data register, and release the PLC control instructions in the instruction register after reading is completed; wherein, the device data cached in the data register is the data sent by the local devices to the PLC control device;

[0007] The DCS control device is used to read device data cached in the data register according to the DCS read instruction cached in the instruction register, and release the DCS read instruction in the instruction register after the reading is completed; wherein, the DCS read instruction cached in the instruction register is an instruction written to the instruction register by the DCS control device after the PLC control instruction cached in the instruction register is released.

[0008] Optionally, the data following system further includes a first host computer, the DCS control device being used to send the device data to the first host computer, and the first host computer being used to display the device data.

[0009] Optionally, the data following system further includes a second host computer for sending PLC control commands to the PLC control module.

[0010] Optionally, the PLC control module is used to send the device data to the second host computer, and the second host computer is used to display the device data.

[0011] Optionally, the data following system further includes a first storage module communicatively connected to the PLC control module, used to store data sent by the PLC control module; and / or,

[0012] The data following system also includes a second storage module that is communicatively connected to the DCS control device, for storing data sent by the DCS control device.

[0013] A second aspect of the present invention provides a data following system, the data following system including a PLC control device and a DCS control device, the PLC control device including a PLC control module, an instruction register and a data register;

[0014] The DCS control device is used to write DCS control instructions into the instruction register.

[0015] The PLC control module is used to control local devices according to the DCS control instructions cached in the instruction register;

[0016] The DCS control device is also used to read the device data cached in the data register, and release the DCS control instruction in the instruction register after reading is completed; wherein, the device data is the data sent by the local device to the PLC control device;

[0017] The PLC control module is further configured to read the device data cached in the data register according to the PLC read instruction cached in the instruction register, and release the PLC read instruction in the instruction register after reading is completed; wherein, the PLC read instruction cached in the instruction register is an instruction written to the instruction register by the PLC control module after the DCS control instruction cached in the instruction register is released.

[0018] Optionally, the data following system further includes a first host computer for sending the DCS control commands to the DCS control device.

[0019] Optionally, the DCS control device is used to send the device data to the first host computer, and the first host computer is used to display the device data.

[0020] Optionally, the data following system further includes a second host computer, the PLC control module being used to send the device data to the second host computer, and the second host computer being used to display the device data.

[0021] Optionally, the data following system further includes a first storage module communicatively connected to the PLC control module, used to store data sent by the PLC control module; and / or,

[0022] The data following system also includes a second storage module that is communicatively connected to the DCS control device, for storing data sent by the DCS control device.

[0023] Based on common knowledge in the field, the above-mentioned preferred conditions can be combined arbitrarily to obtain various preferred embodiments of the present invention.

[0024] The positive and progressive effects of this invention are as follows: This invention enables joint control and data sharing of local devices by both PLC and DCS control devices. Furthermore, by promptly releasing instruction data in the instruction register, it ensures that the PLC and DCS control devices can freely switch control permissions over the local devices. When the PLC control module controls the local device to execute PLC control instructions, the DCS control device can read the device data from the data register after the PLC control module executes the PLC control instructions, reads the device data, and releases the PLC control instructions from the instruction register. Similarly, when the DCS control device controls the local device to execute DCS control instructions, the PLC control module can read the device data from the data register after the DCS control device executes the DCS control instructions, reads the device data, and releases the DCS control instructions from the instruction register. This achieves data following, making the process more convenient and faster, and the operation smoother, thus improving the user experience. Attached Figure Description

[0025] Figure 1 This is a structural block diagram of a data following system provided in Embodiment 1 of the present invention.

[0026] Figure 2 This is a communication connection architecture diagram between a PLC system and a DCS system provided in Embodiment 1 of the present invention.

[0027] Figure 3 This is a schematic diagram of a communication data flow provided in Embodiment 2 of the present invention. Detailed Implementation

[0028] The present invention will be further illustrated by way of embodiments below, but the present invention is not limited to the scope of the embodiments described herein.

[0029] Example 1

[0030] This embodiment provides a data following system for implementing data changes on the PLC side and data following on the DCS side. For example... Figure 1 As shown, the data following system includes a PLC control device 11 and a DCS control device 12. The PLC control device 11 includes a PLC control module 111, an instruction register 112, and a data register 113.

[0031] The PLC control module 111 is used to write PLC control instructions into the instruction register 112, control the local device according to the PLC control instructions, read the device data cached in the data register 113, and release the PLC control instructions in the instruction register 112 after reading is completed; wherein, the device data cached in the data register 113 is the data sent by the local device to the PLC control device 11.

[0032] In this embodiment, the instruction register 112 is empty by default. The PLC control module 111 can write PLC control instructions into the instruction register 112, and control the local device according to the PLC control instructions. After the local device executes the instruction corresponding to the PLC data, the local device state changes, the device data in the data register 113 is updated, and the PLC control module 111 reads the updated device data cached in the data register 113. After reading is complete and the data update is successful, the PLC control instruction in the instruction register 112 is released. The DCS control device and the PLC control device can issue new instructions as needed, thereby realizing the free switching of control between the two devices. In this way, the PLC control device can control the local device and update the device data of the local device in a timely manner.

[0033] Specifically, local equipment can include electrical equipment, motor equipment, air compressor equipment, complete sets of equipment, various valve equipment, etc. Equipment data can include switch quantities, analog quantities (such as voltage, current, pressure, speed, flow, and other signal quantities), and data quantities, among which switch quantities and analog quantities can be converted into digital quantities. The specific equipment data corresponds to the specific local equipment according to the actual situation.

[0034] The DCS control device 12 is used to read device data cached in the data register 113 according to the DCS read instruction cached in the instruction register 112, and release the DCS read instruction in the instruction register 112 after the reading is completed; wherein, the DCS read instruction cached in the instruction register 112 is the instruction written by the DCS control device 12 to the instruction register after the PLC control instruction cached in the instruction register 112 is released.

[0035] In this embodiment, the PLC control device and the DCS control device first need to establish a communication connection. Specifically, the PLC control device opens its communication interface, and the DCS control device establishes a communication connection with it through the PLC control device's communication interface. Figure 2 The diagram shown illustrates a communication connection architecture between a PLC system and a DCS system in one specific implementation. The two systems can communicate via a DCS communication device. The number of PLC control devices and DCS control devices can be one or more. Figure 2 In the example shown, there are two PLC control devices and two DCS control devices.

[0036] After the communication connection is established, the DCS control device can obtain the register addresses in the PLC control device through communication acquisition or pre-setting, and then perform read and write operations on the corresponding registers according to the register addresses. Specifically, the DCS control device places the register addresses in the PLC control device into the DCS communication readable area, and then places the register addresses in the PLC control device into the DCS communication writable area. At this point, the DCS control device can perform read and write operations on the registers in the PLC control device.

[0037] In this embodiment, after the PLC control device and the DCS control device establish a communication connection, the device data cached in the data register 113 changes due to control operations performed by the PLC control device, and the instruction register 112 is in an instruction-released state. The DCS control device detects the change in the device data cached in the data register 113, writes a DCS read instruction to the instruction register 112, reads the updated device data cached in the data register 113, and releases the DCS read instruction in the instruction register 112 after the read is complete, ensuring the smooth execution of subsequent instruction writing operations to the instruction register 112 by other devices.

[0038] In a specific example, when the DCS control device detects a change in the device data cached in data register 113, the DCS control device will determine whether to perform data follow based on the type of the updated device data. For example, if the updated device data is a level signal of a local device, such as a switch signal, the DCS control device will write a DCS read instruction to the instruction register 112 to read the updated device data cached in data register 113 and perform data follow. If the updated device data is a pulse signal of a local device, the DCS control device will not read the device data in data register 113 and will not perform data follow.

[0039] In one optional implementation, the data following system further includes a first host computer, a DCS control device for sending device data to the first host computer, and the first host computer for displaying the device data.

[0040] In this embodiment, the DCS control device reads updated device data from the data register. After the device data is transmitted to the DCS control device, the DCS control device can process the device data and then display the data on the first host computer for easy viewing by the user. This helps the user to grasp the status of the local device more easily and intuitively.

[0041] In one alternative implementation, the data following system further includes a second host computer for sending PLC control commands to the PLC control module.

[0042] Specifically, the second host computer can interact with the user, who can perform control operations through the second host computer. The second host computer can generate corresponding PLC control instructions based on the user's operations. The PLC control module will process the PLC control instructions to obtain PLC data, and the local device will execute the instructions corresponding to the PLC data.

[0043] In one optional implementation, the PLC control module is used to send device data to the second host computer 14, and the second host computer 14 is used to display the device data.

[0044] In this embodiment, the PLC control module controls the local device to execute instructions corresponding to the PLC data. When the device data of the local device changes, the PLC control module reads the updated device data from the data register. After the device data is transmitted to the PLC control module, the PLC control module can process the device data and then display the data on the second host computer for easy viewing by the user. This helps the user to grasp the status of the local device more simply and intuitively.

[0045] In one optional implementation, the data following system further includes a first storage module communicatively connected to the PLC control module for storing data sent by the PLC control module; and / or, the data following system further includes a second storage module communicatively connected to the DCS control device 12 for storing data sent by the DCS control device 12.

[0046] In this embodiment, the first storage module stores historical data received by the PLC-controlled equipment, including PLC read instructions, PLC control instructions, equipment data, and data from other devices. The second storage module stores historical data received by the DCS-controlled equipment, including DCS read instructions, DCS control instructions, equipment data, and data from other devices. Users can view historical data and log data of equipment operation. Storing historical data ensures data integrity, prevents data loss, and provides data evidence in case of equipment failure or misoperation, reducing losses and helping to solve problems.

[0047] Example 2

[0048] This embodiment provides a data following system for implementing data changes on the DCS side and data following on the PLC side. For example... Figure 1 As shown, the data following system includes a PLC control device 11 and a DCS control device 12. The PLC control device 11 includes a PLC control module 111, an instruction register 112, and a data register 113.

[0049] DCS control device 12 is used to write DCS control instructions into instruction register 112; PLC control module 111 is used to control local devices according to the DCS control instructions cached in instruction register 112; DCS control device 12 is also used to read device data cached in data register 113, and release the DCS control instructions in instruction register 112 after reading is completed; wherein, device data is data sent by local devices to PLC control device 11;

[0050] In this embodiment, the instruction register 112 is empty by default. The DCS control device 12 can write DCS control instructions into the instruction register 112, and the PLC control module 111 controls the local device according to the DCS control instructions. After the local device executes the instruction corresponding to the PLC data, the local device state changes, the device data in the data register 113 is updated, the DCS control device 12 reads the updated device data cached in the data register 113, and after reading is complete and the data update is successful, the DCS control instructions in the instruction register 112 are released. The DCS control device and the PLC control device can issue new instructions as needed, thereby realizing the free switching of control between the two devices. In this way, the DCS control device can control the local device and update the device data of the local device in a timely manner.

[0051] Specifically, local equipment can include electrical equipment, motor equipment, air compressor equipment, complete sets of equipment, various valve equipment, etc. Equipment data can include switch quantities, analog quantities (such as voltage, current, pressure, speed, flow, and other signal quantities), and data quantities, among which switch quantities and analog quantities can be converted into digital quantities. The specific equipment data corresponds to the specific local equipment according to the actual situation.

[0052] The PLC control module 111 is also used to read the device data cached in the data register 113 according to the PLC read instruction cached in the instruction register 112, and release the PLC read instruction in the instruction register 112 after the reading is completed; wherein, the PLC read instruction cached in the instruction register 112 is the instruction written to the instruction register by the PLC control module 111 after the DCS control instruction cached in the instruction register 112 is released.

[0053] In this embodiment, the PLC control device and the DCS control device first need to establish a communication connection. Specifically, the PLC control device opens its communication interface, and the DCS control device establishes a communication connection with it through the PLC control device's communication interface. Figure 2 The diagram shown illustrates a communication connection architecture between a PLC system and a DCS system in one specific implementation. The two systems can communicate via a DCS communication device. The number of PLC control devices and DCS control devices can be one or more. Figure 2 In the example shown, there are two PLC control devices and two DCS control devices.

[0054] After the communication connection is established, the DCS control device can obtain the register addresses in the PLC control device through communication acquisition or pre-setting, and then perform read and write operations on the corresponding registers according to the register addresses. Specifically, the DCS control device places the register addresses in the PLC control device into the DCS communication readable area, and then places the register addresses in the PLC control device into the DCS communication writable area. At this point, the DCS control device can perform read and write operations on the registers in the PLC control device.

[0055] In this embodiment, after the PLC control device and the DCS control device establish a communication connection, the device data cached in the data register 113 changes due to control operations performed by the DCS control device, and the instruction register 112 is in an instruction-released state. The PLC control module detects the change in the device data cached in the data register 113, writes a PLC read instruction to the instruction register 112, reads the updated device data cached in the data register 113, and releases the PLC read instruction in the instruction register 112 after the read is complete, ensuring the smooth execution of subsequent instruction writing operations to the instruction register 112 by other devices.

[0056] In a specific example, when the PLC control module detects a change in the device data cached in data register 113, the PLC control module determines whether to perform data follow based on the type of the updated device data. For example, if the updated device data is a level signal from a local device, such as a switch signal, the PLC control module writes a PLC read instruction to instruction register 112 to read the updated device data cached in data register 113 and performs data follow. If the updated device data is a pulse signal from a local device, the PLC control module does not read the device data from data register 113 and does not perform data follow.

[0057] In one optional implementation, the data following system further includes a first host computer for sending DCS control commands to the DCS control device 12.

[0058] Specifically, the first host computer can interact with the user, who can perform control operations through the first host computer. The first host computer can generate corresponding DCS control instructions based on the user's operations. The PLC control module will process the DCS control instructions to obtain PLC data, and the local device will execute the instructions corresponding to the PLC data.

[0059] In one optional implementation, the DCS control device is used to send device data to the first host computer, and the first host computer is used to display the device data.

[0060] In this embodiment, the DCS control device issues DCS control commands, the PLC control module processes the DCS control commands to obtain PLC data, and the PLC control module then controls the local devices to execute the commands corresponding to the PLC data. When the device data of the local devices changes, the DCS control device reads the updated device data from the data register. After the device data is transmitted to the DCS control device, the DCS control device can process the device data and then display this data on the first host computer for easy viewing by the user. This helps the user to grasp the status of the local devices more simply and intuitively.

[0061] In one optional implementation, the data following system further includes a second host computer, the PLC control module being used to send device data to the second host computer, and the second host computer being used to display the device data.

[0062] In this embodiment, the PLC control module reads updated device data from the data register. After the device data is transmitted to the PLC control module, the PLC control module can process the device data and then display the data on the first host computer for easy viewing by the user. This helps the user to grasp the status of the local device more easily and intuitively.

[0063] In one optional implementation, the data following system further includes a first storage module communicatively connected to the PLC control module for storing data sent by the PLC control module; and / or, the data following system further includes a second storage module communicatively connected to the DCS control device for storing data sent by the DCS control device.

[0064] In this embodiment, the first storage module stores historical data received by the PLC-controlled equipment, including PLC read instructions, PLC control instructions, equipment data, and data from other devices. The second storage module stores historical data received by the DCS-controlled equipment, including DCS read instructions, DCS control instructions, equipment data, and data from other devices. Users can view historical data and log data of equipment operation. Storing historical data ensures data integrity, prevents data loss, and provides data evidence in case of equipment failure or misoperation, reducing losses and helping to solve problems.

[0065] Specifically, the communication data flow diagram in this invention is as follows: Figure 3As shown, the host computer issues different instructions when performing different operations. After the instruction is executed, the data in the instruction register is released, ensuring that the data can freely acquire control permissions for different devices within the system. Simultaneously, the host computer monitors the updates of device data in the data register in real time. When data is updated, it promptly reads the updated data and follows the data flow, ensuring that when the first host computer controls a local device, the device data displayed on the second host computer can be updated accordingly; conversely, when the second host computer controls a local device, the device data displayed on the first host computer can be updated accordingly. Specifically, the first and second host computers are not limited to different devices. When the same device supports issuing different control signals, the modules that issue different signals can also be considered as the first and second host computers.

[0066] While specific embodiments of the present invention have been described above, those skilled in the art should understand that these are merely illustrative examples, and the scope of protection of the present invention is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but all such changes and modifications fall within the scope of protection of the present invention.

Claims

1. A data following system, characterized in that, The data following system includes a PLC control device and a DCS control device. The PLC control device includes a PLC control module, an instruction register, and a data register. The PLC control module is used to write PLC control instructions into the instruction register, control local devices according to the PLC control instructions, read device data cached in the data register, and release the PLC control instructions in the instruction register after reading is completed; wherein, the device data cached in the data register is the data sent by the local devices to the PLC control device; The DCS control device is used to read device data cached in the data register according to the DCS read instruction cached in the instruction register, and release the DCS read instruction in the instruction register after the reading is completed; wherein, the DCS read instruction cached in the instruction register is an instruction written to the instruction register by the DCS control device after the PLC control instruction cached in the instruction register is released.

2. The data following system as described in claim 1, characterized in that, The data following system also includes a first host computer, the DCS control device is used to send the device data to the first host computer, and the first host computer is used to display the device data.

3. The data following system as described in claim 1, characterized in that, The data following system also includes a second host computer, used to send the PLC control commands to the PLC control module.

4. The data following system as described in claim 3, characterized in that, The PLC control module is used to send the device data to the second host computer, and the second host computer is used to display the device data.

5. The data following system as described in any one of claims 1-4, characterized in that, The data following system further includes a first storage module communicatively connected to the PLC control module, used to store data sent by the PLC control module; and / or, The data following system also includes a second storage module that is communicatively connected to the DCS control device, for storing data sent by the DCS control device.

6. A data tracking system, characterized in that, The data following system includes a PLC control device and a DCS control device. The PLC control device includes a PLC control module, an instruction register, and a data register. The DCS control device is used to write DCS control instructions into the instruction register. The PLC control module is used to control local devices according to the DCS control instructions cached in the instruction register; The DCS control device is also used to read the device data cached in the data register, and release the DCS control instruction in the instruction register after reading is completed; wherein, the device data is the data sent by the local device to the PLC control device; The PLC control module is further configured to read the device data cached in the data register according to the PLC read instruction cached in the instruction register, and release the PLC read instruction in the instruction register after reading is completed; wherein, the PLC read instruction cached in the instruction register is an instruction written to the instruction register by the PLC control module after the DCS control instruction cached in the instruction register is released.

7. The data following system as described in claim 6, characterized in that, The data following system also includes a first host computer, used to send the DCS control commands to the DCS control device.

8. The data following system as described in claim 7, characterized in that, The DCS control device is used to send the device data to the first host computer, and the first host computer is used to display the device data.

9. The data following system as described in claim 6, characterized in that, The data following system also includes a second host computer, the PLC control module is used to send the device data to the second host computer, and the second host computer is used to display the device data.

10. The data following system as described in any one of claims 6-9, characterized in that, The data following system further includes a first storage module communicatively connected to the PLC control module, used to store data sent by the PLC control module; and / or, The data following system also includes a second storage module that is communicatively connected to the DCS control device, for storing data sent by the DCS control device.

Citation Information

Patent Citations

  • Big data interaction method for industrial production

    CN112085393A

  • Integrated control platform of nuclear power plant

    CN116705366A