Industrial data acquisition and forwarding distributed control system
By designing a distributed control system in the oil field industry, using the network data centralized collection module and MODBUS TCP protocol, the deficiencies in signal collection, data extraction and frequency conversion control are solved, and stable and safe data collection and fine frequency converter control are achieved. , reducing system cost and complexity.
Patent Information
- Application Number
- CN202310248794.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-15
- Publication Date
- 2024-09-20
AI Technical Summary
There are deficiencies in signal acquisition, data extraction and frequency conversion control technology in the oilfield industry, resulting in high acquisition module costs, unstable industrial computer data extraction and network security risks, as well as insufficient refinement of frequency converter control.
An industrial data collection and forwarding distributed control system is designed, including a network data centralized collection main control module, a pulse reading module, a digital reading module, a relay output module, an analog conversion module and an inverter control module, using an STM32 processor and MODBUS TCP protocol to realize cross-segment data forwarding and fine inverter control.
It solves the instability of industrial computer OPC data extraction and network security risks, realizes low-cost replacement of PLC analog signal acquisition, provides fine frequency converter control, including positional, linear and PID control, and reduces the cost and complexity of the acquisition system.
Smart Images

Figure CN118672161A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of control systems, and more specifically, relates to an industrial data collection and forwarding distributed control system. Background Art
[0002] In recent years, with the rapid development of digital technology in oil fields, more equipment needs to be connected to the Internet of Things, and oil field production data needs to be extracted and used more deeply. At present, when extracting data, there are more third-party devices and instruments that need to be collected, the cost of adding acquisition modules is high, the amount of modification is large, the industrial computer data extraction is unstable, the data forwarding has network security risks, and the inverter control is not refined enough. Therefore, a practical industrial data acquisition system has been developed. At present, this technology is mainly used in the actual production of oilfield industrial control system data, signal acquisition and forwarding, and control signal output. The original data acquisition control system mainly relies on PLC, and data extraction and forwarding mainly rely on the OPC data software on the industrial computer for extraction and forwarding. The PLC control system requires modular program design, and some control algorithms cannot match the existing frequency conversion equipment well; when the industrial computer software fails, the data cannot be extracted. Therefore, the data acquisition and forwarding control system is designed. The cost is low, and only manual online settings are required to complete the programming settings. The setting is convenient and compatible with the existing PLC control system.
[0003] Therefore, the oilfield industry control system has problems with insufficient signal acquisition, data extraction and frequency conversion control technology. Summary of the invention
[0004] 1. Technical problem to be solved by the invention
[0005] The purpose of the present invention is to solve the problems of the deficiencies of existing signal acquisition, data extraction and frequency conversion control technologies.
[0006] 2. Technical solution
[0007] In order to achieve the above object, the technical solution provided by the present invention is:
[0008] The invention discloses an industrial data collection and forwarding distributed control system, comprising a network data centralized collection main control module, a pulse reading module, a digital quantity reading module, a relay output module, an analog quantity conversion module, and a frequency converter control module. The network data centralized collection main control module is a core, and the pulse reading module, the digital quantity reading module, the relay output module, the analog quantity conversion module, and the frequency converter control module are connected via a 485 bus. A 1# network port of the network data centralized collection main control module performs TCP communication with an ABPLC via a network, and a 2# network card thereof serves as a MODBUSTCP server to forward data across network segments.
[0009] Preferably, the network data centralized collection main control module adopts the STM32F103VET6 processor, including a 485 collection unit, an SD card storage unit, a 2-way network communication unit, a liquid crystal display unit and a WIFI transmission unit. The network data centralized collection main control module is used to realize data interaction, 485 data collection and data storage and forwarding with the AB series PLC through the industrial control network.
[0010] Preferably, the pulse reading module and the digital quantity reading module both use an STM32F103c8t6 processor, and the pulse reading module and the digital quantity reading module convert pulse quantity signals, switch quantity signals, and analog quantity signals into 485 signals.
[0011] Preferably, the inverter control module adopts the STM32F103c8t6 processor. The inverter control module adopts the inverter control algorithm, receives the target value and the set value sent by the 485 bus, and has three control modes: position control, linear control, and PID. The inverter control module collects the returned inverter 4-20mA frequency feedback signal and outputs a 4-20mA current control signal to the inverter according to the set parameters.
[0012] Preferably, the network data centralized collection main control module connects 2 W5500 chips for embedded network communication, and uses a 320240 LCD screen for display. The network data centralized collection main control module uses a knob to set the network IP address, and sets the IP address and listening port number connected to the ABPLC network module.
[0013] Preferably, the network data centralized collection main control module has a 485 interface circuit, and the network data centralized collection main control module sets 32 instructions online through a knob and sets the collection device address, function code, register address, data type, collection cycle, and internal address of data storage.
[0014] 3. Beneficial effects
[0015] Compared with the prior art, the technical solution provided by the present invention has the following beneficial effects:
[0016] (1) An industrial data collection and forwarding distributed control system solves the problem of unstable data extraction by industrial computers using the OPC method. It can forward data to other network segments through the MODBUS TCP protocol, achieving cross-segment and secure forwarding, and solving the problem of network security risks when data is forwarded to other network segments.
[0017] (2) An industrial data collection and forwarding distributed control system that can replace PLC analog and digital signal acquisition systems at a low cost, achieve fine control of the inverter, and manually set the control mode and control parameters, including position control, linear control, PID parameter control, and adjust the action time of each parameter. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a structural schematic diagram of an industrial data collection and forwarding distributed control system of the present invention;
[0019] Figure 2 The present invention is a schematic diagram of an industrial data collection and forwarding distributed control system.
[0020] Explanation of the symbols in the schematic diagram:
[0021] 100. Network data centralized collection main control module; 110. Pulse reading module; 120. Digital quantity reading module; 130. Relay output module; 140. Analog quantity conversion module; 150. Frequency converter control module. DETAILED DESCRIPTION
[0022] To facilitate understanding of the present invention, the present invention will be described more comprehensively below with reference to the relevant drawings. Several embodiments of the present invention are shown in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.
[0023] It should be noted that when an element is referred to as being "fixed on" another element, it may be directly on the other element or there may also be a central element; when an element is considered to be "connected to" another element, it may be directly connected to the other element or there may also be a central element; the terms "vertical", "horizontal", "left", "right" and similar expressions used in this article are for illustrative purposes only.
[0024] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which the present invention belongs; the terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention; the term "and / or" used herein includes any and all combinations of one or more related listed items.
[0025] Example 1
[0026] See attached Figure 1-Figure 2As shown, an industrial data acquisition and forwarding distributed control system of the present embodiment includes a network data centralized acquisition main control module 100, a pulse reading module 110, a digital quantity reading module 120, a relay output module 130, an analog quantity conversion module 140, and a frequency converter control module 150. The network data centralized acquisition main control module 100 is the core, and the pulse reading module 110, the digital quantity reading module 120, the relay output module 130, the analog quantity conversion module 140, and the frequency converter control module 150 are connected through a 485 bus. The 1# network port of the network data centralized acquisition main control module 100 communicates with the ABPLC through the network through TCP, and its 2# network card is used as a MODBUSTCP server to forward data across network segments. The internal data of the AB PLC can be directly extracted by hardware without relying on computer software, thereby solving the problem of unstable data extraction by the industrial computer OPC method. The data can be directly extracted by MODBUS The TCP protocol forwards data to other network segments, realizing cross-segment and secure forwarding, solving the problem of network security risks of data to other network segments, and realizing low-cost replacement of PLC simulation and digital signal acquisition systems, realizing fine control of the inverter, and manually setting the control mode and control parameters, including position control, linear control, PID parameter control, and adjusting the action time of each parameter.
[0027] The network data centralized collection main control module 100 of this embodiment adopts the STM32F103VET6 processor, including a 485 collection unit, an SD card storage unit, a 2-way network communication unit, a liquid crystal display unit and a WIFI transmission unit. The network data centralized collection main control module 100 is used to realize data interaction, 485 data collection and data storage and forwarding with the AB series PLC through the industrial control network.
[0028] The pulse reading module 110 and the digital quantity reading module 120 of this embodiment both use the STM32F103c8t6 processor. The pulse reading module 110 and the digital quantity reading module 120 convert pulse quantity signals, switch quantity signals, and analog quantity signals into 485 signals.
[0029] The inverter control module 150 of this embodiment adopts the STM32F103c8t6 processor. The inverter control module 150 adopts the inverter control algorithm, receives the target value and the set value sent by the 485 bus, and the inverter control module 150 has three control modes: position control, linear control, and PID. The inverter control module 150 collects the returned inverter 4-20mA frequency feedback signal, and outputs a 4-20mA current control signal to the inverter according to the set parameters.
[0030] The network data centralized collection main control module 100 of this embodiment connects two W5500 chips for embedded network communication, and uses a 320240 LCD screen for display. The network data centralized collection main control module 100 uses a knob to set the network IP address, and sets the IP address and listening port number connected to the ABPLC network module.
[0031] The network data centralized collection main control module 100 of this embodiment has a 485 interface circuit. The network data centralized collection main control module 100 sets 32 instructions online through a knob and sets the collection device address, function code, register address, data type, collection cycle, and internal address of data storage.
[0032] The above-described embodiments only express a certain implementation mode of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the patent scope of the present invention. It should be pointed out that, for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be based on the attached claims.
Claims
1. An industrial data collection and forwarding distributed control system, characterized in that: The invention comprises a network data centralized collection main control module (100), a pulse reading module (110), a digital quantity reading module (120), a relay output module (130), an analog quantity conversion module (140), and a frequency converter control module (150). The network data centralized collection main control module (100) is a core, and the pulse reading module (110), the digital quantity reading module (120), the relay output module (130), the analog quantity conversion module (140), and the frequency converter control module (150) are connected via a 485 bus. The 1# network port of the network data centralized collection main control module (100) performs TCP communication with the ABPLC via the network, and the 2# network card thereof serves as a MODBUSTCP server to forward data across network segments.
2. The industrial data collection and forwarding distributed control system according to claim 1 is characterized by: The network data centralized collection main control module (100) adopts an STM32F103VET6 processor, comprises a 485 collection unit, an SD card storage unit, a 2-way network communication unit, a liquid crystal display unit and a WIFI transmission unit, and the network data centralized collection main control module (100) is used to realize data interaction, 485 data collection and data storage and forwarding with an AB series PLC through an industrial control network.
3. The industrial data collection and forwarding distributed control system according to claim 1 is characterized by: The pulse reading module (110) and the digital quantity reading module (120) both use an STM32F103c8t6 processor, and the pulse reading module (110) and the digital quantity reading module (120) convert pulse quantity signals, switch quantity signals, and analog quantity signals into 485 signals.
4. The industrial data collection and forwarding distributed control system according to claim 1 is characterized by: The inverter control module (150) adopts an STM32F103c8t6 processor. The inverter control module (150) adopts an inverter control algorithm and receives a target value and a set value sent by a 485 bus. The inverter control module (150) has three control modes: position control, linear control, and PID. The inverter control module (150) collects a 4-20mA frequency feedback signal of the inverter transmitted back and outputs a 4-20mA current control signal to the inverter according to set parameters.
5. The industrial data collection and forwarding distributed control system according to claim 1 is characterized by: The network data centralized collection main control module (100) is connected to two W5500 chips for embedded network communication and uses a 320240 LCD screen for display. The network data centralized collection main control module (100) uses a knob to set the network IP address and sets the IP address and monitoring port number of the ABPLC network module.
6. The industrial data collection and forwarding distributed control system according to claim 1, characterized in that: The network data centralized collection main control module (100) has a 485 interface circuit. The network data centralized collection main control module (100) sets 32 instructions online through a knob and sets the collected device address, function code, register address, data type, collection cycle, and data storage internal address.
