Intelligent data acquisition control system and communication method

The intelligent data acquisition and control system automatically sets the ID number of RS485 interface devices using relays and RS485 communication modules, solving the problems of complex installation and debugging and inconvenient maintenance in existing technologies, and achieving the effect of simplified installation and improved convenience.

CN121486423APending Publication Date: 2026-02-06PETROCHINA CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411066193.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2026-02-06

AI Technical Summary

Technical Problem

Existing RTUs and DTUs cannot meet the access requirements of RS485 interface devices with different baud rates on site, resulting in complex installation and debugging and inconvenient maintenance. It is necessary to manually set the master station ID number of RS485 interface devices to ensure uniqueness.

Method used

An intelligent data acquisition and control system is adopted, which uses relays and RS485 communication modules to control the on and off of relay contacts. The central control module enables communication between the server and RS485 interface devices, automatically sets ID numbers, and simplifies the installation and debugging process.

Benefits of technology

It enables automatic ID setting for multiple RS485 interface devices, reducing installation and debugging time and manpower and material resources, and improving installation convenience and maintenance efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121486423A_ABST
    Figure CN121486423A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent data acquisition control system and a communication method, and belongs to the technical field of data acquisition and transmission equipment. The system comprises a relay; the relay control unit is connected with the relay and is used for controlling the on-off of a corresponding contact of the relay based on the received control signal; each RS485 communication module is provided with a first terminal and a second terminal, and the first terminal of each RS485 communication module is connected with a corresponding contact of the relay; at least two RS485 interface devices with the same ID, wherein each RS485 interface device is connected with a second terminal of the RS485 communication module and a corresponding contact of the relay; and the central control module is connected with the relay control unit and the RS485 communication module and is used for sending a corresponding control signal to the relay control unit based on the received communication instruction so as to establish communication between the server and the corresponding RS485 interface equipment. According to the method, a corresponding ID does not need to be set for each RS485 interface device during installation, so that the installation and debugging time can be shortened, and manpower and material resources are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data acquisition and transmission equipment technology, specifically to an intelligent data acquisition and control system, a communication method, an electronic device, and a readable storage medium. Background Technology

[0002] In data acquisition and control technology, data acquisition control cabinets are commonly used in the field. These cabinets require RTUs and DTUs. However, existing RTUs and DTUs cannot meet the requirements for connecting RS485 interface devices with different baud rates in the field. Multiple devices need to be used in combination for data acquisition. Furthermore, for different RS485 interface devices, the master station ID number of each RS485 interface device needs to be manually set using a laptop or handheld device during each installation to ensure the uniqueness of each RS485 interface device and achieve normal communication and data transmission. This results in complex installation and debugging processes and inconvenient maintenance. Summary of the Invention

[0003] The purpose of this invention is to provide an intelligent data acquisition and control system and communication method to solve the problem that, for different RS485 interface devices, each installation requires manual setup using a laptop or handheld device to set the master station ID number of the RS485 interface device to ensure the uniqueness of each RS485 interface device and to achieve normal communication and data transmission. This results in complex installation and debugging processes and inconvenient maintenance.

[0004] To achieve the above objectives, in a first aspect, embodiments of the present invention provide an intelligent data acquisition and control system, the system comprising: A relay having multiple contacts; A relay control unit, connected to the relay, is used to control the opening and closing of the corresponding contacts of the relay based on control signals received from the central control module; An RS485 communication module has a first terminal and a second terminal, and the first terminal of each RS485 communication module is connected to the corresponding contact of a relay. At least two RS485 interface devices with the same ID, each RS485 interface device is connected to the second terminal of the RS485 communication module and the corresponding contact of the relay; The central control module, connected to the relay control unit and the RS485 communication module, is used to send corresponding control signals to the relay control unit based on communication instructions received from the server, so as to control the opening and closing of the corresponding contacts of the relay and establish communication between the server and the corresponding RS485 interface device.

[0005] Optionally, the system further includes: The analog signal acquisition module connects to the analog signal input interface and is used to convert the input analog signal into a digital signal. The central control module is connected to the analog signal acquisition module, and the central control module is also used to send the digital signal to the server.

[0006] Optionally, the analog input interface includes two-wire, three-wire, and four-wire sensor input interfaces.

[0007] Optionally, the system further includes: The digital input module is connected to the digital input interface and is used to convert the input digital signals into level signals. The central control module is connected to the switch quantity acquisition module, and the central control module is also used to send the level signal to the server.

[0008] Optionally, the system further includes: The power supply module is connected to the central control module, the analog quantity acquisition module, and the digital quantity acquisition module to provide electrical energy.

[0009] Optionally, the power module is connected to the analog quantity acquisition module and the digital quantity acquisition module via an isolated DC-DC power module; The power module is connected to the central control module via the BUCK power module.

[0010] Optionally, the system further includes: A power output interface is connected to the power module and is used to output electrical energy to the outside. The power output control module is connected to the central control module and the power output interface, and is used to control the on / off state of the power output interface when it receives a power output control signal sent by the central control module.

[0011] Optionally, the central control module is connected to the server via a communication module.

[0012] Secondly, embodiments of the present invention provide a communication method applied to the aforementioned intelligent data acquisition and control system, the method comprising: Obtain communication commands; Based on the received communication instructions, determine the communication parameters; Based on the determined communication parameters, a control signal is generated. The control signal is used to control the opening and closing of the corresponding contacts of the relay to establish communication between the server and the corresponding RS485 interface device. Each RS485 interface device has corresponding communication parameters.

[0013] Optionally, the communication command is a communication message; the communication parameter is a baud rate.

[0014] Thirdly, embodiments of the present invention provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described communication method.

[0015] Fourthly, embodiments of the present invention provide a readable storage medium storing instructions that cause a machine to execute the above-described communication method.

[0016] In this technical solution, when multiple RS485 interface devices exist, the corresponding RS485 interface devices are connected by controlling the opening and closing of the corresponding contacts of the relay according to the received instructions, thereby realizing communication and data transmission. Therefore, it is not necessary to set a corresponding ID for each RS485 interface device during installation. The structure is simple, which can greatly reduce the installation and debugging time, save manpower and material resources, and make it more convenient to use.

[0017] Other features and advantages of the embodiments of the present invention will be described in detail in the following detailed description section. Attached Figure Description

[0018] The accompanying drawings are provided to further illustrate embodiments of the present invention and form part of the specification. They are used together with the following detailed description to explain the embodiments of the present invention, but do not constitute a limitation thereof. In the drawings: Figure 1 This is a schematic diagram of the structure of the first intelligent data acquisition and control system provided by the present invention; Figure 2 This is a schematic diagram of the structure of the second intelligent data acquisition and control system provided by the present invention; Figure 3 This is a wiring diagram of the relay, RS485 communication module and RS485 interface device provided by the present invention; Figure 4 This is a wiring diagram of the two-wire sensor and the analog quantity acquisition module provided by the present invention; Figure 5 This is a wiring diagram of the three-wire sensor and the analog quantity acquisition module provided by the present invention; Figure 6 This is a wiring diagram of the four-wire sensor and the analog signal acquisition module provided by the present invention; Figure 7 This is a flowchart of the communication method provided by the present invention.

[0019] Explanation of reference numerals in the attached figures 1-Relay; 2-Relay control unit; 3-Central control module; 4-RS485 communication module; 5-RS485 interface device; 6-Server; 7-Analog signal acquisition module; 8-Digital signal acquisition module; 9-Power supply module; 71 - Analog input interface; 81 - Digital input interface; 91 - Isolated DC-DC power supply module; 92 - BUCK power module; 93 - Power output interface; 94 - Power output control module; 95-Communication Module. Detailed Implementation

[0020] The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustration and explanation only and are not intended to limit the scope of the present invention.

[0021] In the embodiments of the present invention, unless otherwise stated, directional terms such as "up," "down," "left," and "right" generally refer to the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship in which the product of the invention is usually placed when in use.

[0022] The terms “first,” “second,” “third,” etc., are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.

[0023] The terms "parallel" and "perpendicular" do not mean that the components must be absolutely parallel or perpendicular, but rather that they can be slightly tilted. For example, "parallel" simply means that its direction is more parallel than "perpendicular," not that the structure must be completely parallel, but that it can be slightly tilted.

[0024] The terms "horizontal," "vertical," and "sag" do not imply that a component must be absolutely horizontal, vertical, or sagging, but rather that it can be slightly tilted. For example, "horizontal" simply means that its direction is more horizontal than "vertical," not that the structure must be completely horizontal, but can be slightly tilted.

[0025] Furthermore, terms like "roughly" and "basically" are used to indicate that the content does not require absolute precision, but rather allows for a certain degree of deviation. For example, "roughly equal" does not simply mean absolute equality; in actual production and operation, achieving absolute "equality" is difficult, and a certain degree of deviation is generally present. Therefore, besides absolute equality, "roughly equal to" also includes the aforementioned situation where a certain degree of deviation exists. Using this as an example, in other cases, unless otherwise specified, terms like "roughly" and "basically" have similar meanings.

[0026] In the description of this invention, it should also be noted that, unless otherwise explicitly specified and limited, the terms "set," "install," "connect," and "link" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.

[0027] Figure 1 This is a schematic diagram of the structure of the first intelligent data acquisition and control system provided by the present invention; Figure 2 This is a schematic diagram of the structure of the second intelligent data acquisition and control system provided by the present invention; Figure 3 This is a wiring diagram of the relay, RS485 communication module and RS485 interface device provided by the present invention; Figure 4 This is a wiring diagram of the two-wire sensor and the analog quantity acquisition module provided by the present invention; Figure 5 This is a wiring diagram of the three-wire sensor and the analog quantity acquisition module provided by the present invention; Figure 6 This is a wiring diagram of the four-wire sensor and the analog signal acquisition module provided by the present invention; Figure 7 This is a flowchart of the communication method provided by the present invention.

[0028] like Figure 1-2 As shown, this embodiment provides an intelligent data acquisition and control system, the system comprising: Relay 1, the relay 1 having multiple contacts; The relay control unit 2 is connected to the relay 1 and is used to control the opening and closing of the corresponding contacts of the relay 1 based on the control signal received from the central control module 3. RS485 communication module 4 has a first terminal and a second terminal, and the first terminal of each RS485 communication module 4 is connected to the corresponding contact of relay 1. At least two RS485 interface devices 5 with the same ID, each RS485 interface device 5 is connected to the second terminal of the RS485 communication module 4 and the corresponding contact of the relay 1; The central control module 3 is connected to the relay control unit 2 and the RS485 communication module 4. It is used to send corresponding control signals to the relay control unit 2 based on the communication instructions received from the server 6, so as to control the opening and closing of the corresponding contacts of the relay 1 and establish communication between the server 6 and the corresponding RS485 interface device 5.

[0029] Specifically, in this embodiment, the contacts of relay 1 can be configured as normally open or normally closed contacts. Normally open contacts are in an open state under normal conditions, and upon receiving control from relay control unit 2, they are switched to a closed state. Normally closed contacts are in a closed state under normal conditions, and upon receiving control from relay control unit 2, they are switched to an open state. RS485 communication module 4 provides an RS485 communication interface for data transmission. Under normal conditions, RS485 communication module 4 has a first terminal (B terminal) and a second terminal (A terminal). The interface supports various communication rates from 110 to 38400 bps, with a default baud rate of 9600 bps. RS485 interface device 5 can specifically be an inverter, meter, or other instruments connected via an RS485 interface to achieve data transmission. Central control module 3 can employ MCU chips and MEM chips, etc.

[0030] In one embodiment, the system further includes a Link indicator light, which is connected to the central control module 3. When the server 6 communicates normally with the central control module 3, the Link indicator light on the product control panel will remain on. The Link indicator light can be used to determine whether the central control module 3 is communicating normally with the server 6.

[0031] In one specific implementation, such as Figure 3 As shown, taking two RS485 interface devices (5) as an example, the two devices are labeled as the first RS485 interface device and the second RS485 interface device. They have the same communication ID. According to the conventional wiring method, all devices on the RS485 bus are connected together, that is, all A ends are connected together and all B ends are connected together. At this time, if a message is sent to access the first RS485 interface device, the second RS485 interface device will also receive the message. Since the IDs of the two devices are the same, the second RS485 interface device will also send back a response to the message. Conversely, if a message is sent to access the second RS485 interface device, the first RS485 interface device will also receive the message and will also send back a response. In either case, the message will be abnormal due to the conflict of communication messages between the two devices.

[0032] Therefore, using the built-in contacts, first connect all the A terminals together. Then, connect the B terminal of the first RS485 interface device and the B terminal of the RS485 communication module 4 in series between the normally closed nodes NC and NCC. Connect the B terminal of the second RS485 interface device and the B terminal of the RS485 communication module 4 in series between the normally open nodes NO and NOC. When the RS485 communication module communicates with the first RS485 interface device, since the B terminal of the second RS485 interface device and the B terminal of the RS485 communication module 4 are connected in series between NO and NOC, and NO and NOC are disconnected, the message sent by the RS485 communication module 4 can only be received by the first RS485 interface device. The response from the first RS485 interface device can be correctly transmitted to the A and B terminals of the RS485 communication module 4, and the communication is normal. When the RS485 communication module 4 communicates with the second RS485 interface device, the relay is activated first. At this time, the normally closed contacts NC and NCC are disconnected, and the normally open contacts NO and NOC are connected. Therefore, the data sent by RS485 communication module 4 can only be received by the second RS485 interface device. Due to the disconnection of NC and NCC, the first RS485 interface device cannot receive the data, and the response message of the second RS485 interface device can be correctly returned to the A and B terminals of RS485 communication module 4, and the communication is normal. After the communication is completed, the normally closed relay and the normally open relay are released. At this time, the normally closed contacts NC and NCC return to normal closing, and the normally open contacts NO and NOC return to open.

[0033] For multiple RS485 interface devices, the master station ID uses the method described above for communication. Multiple small relay gateways can be connected in parallel, or a corresponding number of contacts can be set, with the access method being the same as described above. The intelligent monitoring and control gateway ensures that the B-end of one RS485 interface device is connected, while the B-ends of other RS485 interface devices are disconnected, thus achieving stable data acquisition for devices with the same RS485 interface ID. Preferably, the contacts of relay 1 are normally open; when communication is required, the corresponding contacts are closed, thereby reducing control complexity.

[0034] Furthermore, such as Figure 2 As shown, the system also includes: Analog signal acquisition module 7 is connected to analog signal input interface 71 and is used to convert the input analog signal into a digital signal; The central control module 3 is connected to the analog signal acquisition module 7, and the central control module 3 is also used to send the digital signal to the server 6.

[0035] Specifically, in this embodiment, in order to increase the applicability of the system, an analog input interface 71 is provided to connect the sensor input, and an analog acquisition module 7 is provided to convert the analog input of the sensor into a digital signal, which is then sent to the server 6 by the central control module 3, thereby realizing remote acquisition of sensor data.

[0036] To broaden the system's applicability and accommodate sensors with different wiring configurations, the analog input interface 71 is configured to include: a two-wire sensor input interface, a three-wire sensor input interface, and a four-wire sensor input interface. The input current for all three interfaces is 0-20mA.

[0037] More specifically, this embodiment provides specific wiring diagrams for sensors with different wire configurations. The analog input interface 71 has a power interface (24V interface), a P interface, and an N interface. The analog acquisition module 7 includes a resistor R1, a resistor R2, a capacitor C, and an ADC. The resistor R1 and the capacitor C are connected in parallel to the P interface and the N interface. The first end of the resistor R1 and the capacitor C is connected to the P interface, and the second end of the resistor R1 and the capacitor C is connected to the N interface and grounded. The resistor R2 is located at the first end of the resistor R1 and the capacitor C. The first end of the capacitor C is connected to the ADC, and the ADC is connected to the central control module 3.

[0038] 1. For example Figure 4 As shown, when the sensor is a two-wire system, it is only necessary to connect the sensor between the 24V interface and the P interface. The output current of the sensor will inevitably flow through the resistor R1. At this time, the voltage on the resistor reflects the magnitude of the current, and then this voltage signal enters the ADC for the MCU to collect.

[0039] 2. For example Figure 5 As shown, when the sensor is a three-wire system, the sensor power supply is connected to the 24V interface and the N interface, and the sensor signal output is connected to the P interface. At this time, the sensor output current enters the gateway from the P interface. After the current passes through the sampling resistor R1, the voltage on the resistor R1 reflects the magnitude of the current. Then this voltage signal enters the ADC for the MCU to collect.

[0040] 3. For example Figure 6 As shown, when the sensor is a four-wire system, the sensor's power supply is independent, and the output signals are connected to the P interface and N interface respectively. At this time, the sensor's output current enters the gateway from the P interface and flows back to the sensor from the N interface. After the current passes through the sampling resistor R1, the voltage on the resistor R1 reflects the magnitude of the current. Then, this voltage signal enters the ADC for the MCU to collect.

[0041] More specifically, resistor R1 is a 10-ohm resistor, resistor R2 is a 1.2k ohm resistor, and capacitor R2 is a 3.3nF / 50V capacitor.

[0042] Furthermore, such as Figure 2 As shown, the system also includes: The digital quantity acquisition module 8 is connected to the digital quantity input interface 81 and is used to convert the input digital quantity into a level signal. The central control module 3 is connected to the switch quantity acquisition module 8, and the central control module 3 is also used to send the level signal to the server 6.

[0043] Specifically, in order to achieve overall control of the system, a switch input interface 81 is also provided, such as a button. The switch acquisition module 8 converts the input switch quantity into a level signal, specifically 0 or 1. The central control module 3 sends the converted level signal to the server 6.

[0044] Furthermore, such as Figure 2 As shown, the system also includes: The power supply module 9 is connected to the central control module 3, the analog quantity acquisition module 7 and the digital quantity acquisition module 8, and is used to provide electrical energy.

[0045] Specifically, in this embodiment, the power module 9 is an AC-DC power module with an extremely wide operating power range, which converts AC power with an input of 100-456V into AC power with an output of 34V.

[0046] Furthermore, such as Figure 2 As shown, the power module 9 is connected to the analog quantity acquisition module 7 and the digital quantity acquisition module 8 via an isolated DC-DC power module 91; The power module 9 is connected to the central control module 3 via the BUCK power module 92.

[0047] Specifically, in this embodiment, an isolated DC-DC power supply module is used to convert the input 24V AC power into 24V DC power to power the analog quantity acquisition module 7 and the digital quantity acquisition module 8, resulting in stable power output and higher safety.

[0048] Specifically, in this embodiment, the BUCK power module 92 is a step-down circuit that converts the input 24V AC power into 3.8V DC power to supply power to the central control module 3.

[0049] Furthermore, such as Figure 2 As shown, the system also includes: The power output interface 93 is connected to the power module 9 and is used to output electrical energy to the outside. The power output control module 94 is connected to the central control module 3 and the power output interface 93, and is used to control the on / off state of the power output interface 93 when it receives the power output control signal sent by the central control module 3.

[0050] Specifically, in this embodiment, since some four-wire interface sensors require a separate power supply during use, a power output interface 93 is provided to improve ease of use, which can transmit the power of the power module 9 to the outside for power supply. In addition, a power output control module 94 is provided to control the on / off state. The power output control module 94 is connected to the central control module 3 and the power output interface 93, and is used to control the on / off state of the power output interface 93 when it receives the power output control signal sent by the central control module 3.

[0051] Furthermore, such as Figure 2 As shown, the central control module 3 is connected to the server 6 via the communication module 95.

[0052] Specifically, in this embodiment, a communication module 95 is provided to enable remote communication between the central control module 3 and the server 6. The communication module 95 can transmit data using remote communication methods such as 3G, 4G, or 5G. The communication module 95 is powered by the BUCK power module 92.

[0053] In addition, all interfaces in this solution use snap-fit ​​terminals for wiring, which facilitates on-site connection.

[0054] More specifically, in one implementation, the various modules described above constitute a gateway for data transmission and control. Specifically, it can be applied to data transmission and control in distributed photovoltaic well sites, metering rooms, stations, wind farms, and other locations. After the RS485 interface device is installed, the administrator can be notified to directly bind the product serial number to achieve data acquisition and control.

[0055] More specifically, due to the large number of distributed photovoltaic well sites, their remote and dispersed locations, and the different baud rates of inverters and metering devices within the well sites that cannot be arbitrarily changed, photovoltaic data acquisition is difficult. The above-mentioned system was installed and applied in 375 distributed photovoltaic well sites. After six months of actual application, the equipment is operating well. Compared with traditional acquisition equipment, the signal interference failure rate is 0%. It also reduces the construction process of configuring ID numbers on-site, saving manpower, material resources, and financial resources. Installation and maintenance are extremely convenient. This equipment can also be used in other civil and industrial process control sites and has promotional value.

[0056] like Figure 7 As shown in the figure, this embodiment of the invention also provides a communication method applied to the above-mentioned intelligent data acquisition and control system, the method comprising: Step 1: Obtain communication commands; Step 2: Determine the communication parameters based on the received communication instructions; Step 3: Based on the determined communication parameters, generate control signals. These control signals are used to control the opening and closing of the corresponding contacts of the relays to establish communication between the server and the corresponding RS485 interface device. Each RS485 interface device has corresponding communication parameters.

[0057] The communication command is a communication message; the communication parameter is the baud rate.

[0058] Specifically, in this embodiment, the communication parameters are baud rates. Therefore, by using the baud rate parsing algorithm described above to parse the communication commands, the baud rate can be obtained, thereby selecting the corresponding RS485 interface device for communication.

[0059] More specifically, in this embodiment, the communication message adopts the following format: ##:52:CHx:BS:ID:BPS:CHK:MS:LEN:HHHHHHHH Where: ##:52 is the command identifier; CHx can be CH1 or CH2, indicating which RS485 channel to use; BS:ID is the process ID identifier submitted to the cloud server; BPS is the communication baud rate of RS485, which can be one of 115200, 57600, 38400, 19200, 9600, 1200, 600, 300, or 110. CHK is the RS485 communication check mode, which can be E, O, or N, representing even parity, odd parity, or no parity, respectively. MS is the maximum timeout for receiving messages, such as 1000. This means that if no response is received from the RS485 interface device within 1000ms after the message is sent, the reception is considered to have timed out. LEN is the length of the message sent to the RS485 interface device; HHHHHHHH is a message sent to an RS485 interface device; After receiving this message, the central control module 3 can determine the baud rate and other communication parameters based on the BPS, CHK and MS in the message, thereby enabling free communication with various RS485 interface devices with different baud rate parameters.

[0060] This invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described communication method.

[0061] This invention also provides a readable storage medium storing instructions that cause a machine to execute the above-described communication method.

[0062] The optional embodiments of the present invention have been described in detail above with reference to the accompanying drawings. However, the embodiments of the present invention are not limited to the specific details in the above embodiments. Within the scope of the technical concept of the embodiments of the present invention, various simple modifications can be made to the technical solutions of the embodiments of the present invention, and these simple modifications all fall within the protection scope of the embodiments of the present invention.

[0063] It should also be noted that the various specific technical features described in the above embodiments can be combined in any suitable manner without contradiction. To avoid unnecessary repetition, the embodiments of the present invention will not describe the various possible combinations separately.

[0064] Those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. This program is stored in a storage medium and includes several instructions to cause a microcontroller, chip, or processor to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0065] Furthermore, various different implementations of the present invention can be combined arbitrarily, as long as they do not violate the spirit of the present invention, they should also be regarded as the content disclosed in the present invention.

Claims

1. An intelligent data acquisition and control system, characterized in that, The system includes: A relay (1) having multiple contacts; The relay control unit (2) is connected to the relay (1) and is used to control the opening and closing of the corresponding contacts of the relay (1) based on the control signal received from the central control module (3); The RS485 communication module (4) has a first terminal and a second terminal, and the first terminal of each RS485 communication module (4) is connected to the corresponding contact of the relay (1); At least two RS485 interface devices (5) with the same ID, each RS485 interface device (5) is connected to the second terminal of the RS485 communication module (4) and the corresponding contact of the relay (1); The central control module (3) is connected to the relay control unit (2) and the RS485 communication module (4) and is used to send corresponding control signals to the relay control unit (2) based on the communication instructions received from the server (6) to control the opening and closing of the corresponding contacts of the relay (1) and establish communication between the server (6) and the corresponding RS485 interface device (5).

2. The intelligent data acquisition and control system according to claim 1, characterized in that, The system also includes: The analog signal acquisition module (7) is connected to the analog signal input interface (71) and is used to convert the input analog signal into a digital signal; The central control module (3) is connected to the analog signal acquisition module (7), and the central control module (3) is also used to send the digital signal to the server (6).

3. The intelligent data acquisition and control system according to claim 2, characterized in that, The analog input interface (71) includes two-wire, three-wire and four-wire sensor input interfaces.

4. The intelligent data acquisition and control system according to claim 2, characterized in that, The system also includes: The switch quantity acquisition module (8) is connected to the switch quantity input interface (81) and is used to convert the input switch quantity into a level signal; The central control module (3) is connected to the switch quantity acquisition module (8), and the central control module (3) is also used to send the level signal to the server (6).

5. The intelligent data acquisition and control system according to claim 4, characterized in that, The system also includes: The power supply module (9) is connected to the central control module (3), the analog quantity acquisition module (7) and the digital quantity acquisition module (8) to provide electrical energy.

6. The intelligent data acquisition and control system according to claim 5, characterized in that, The power module (9) is connected to the analog quantity acquisition module (7) and the digital quantity acquisition module (8) through an isolated DC-DC power module (91); The power module (9) is connected to the central control module (3) via the BUCK power module (92).

7. The intelligent data acquisition and control system according to claim 5, characterized in that, The system also includes: The power output interface (93) is connected to the power module (9) and is used to output electrical energy to the outside. The power output control module (94) is connected to the central control module (3) and the power output interface (93) and is used to control the on / off state of the power output interface (93) when it receives the power output control signal sent by the central control module (3).

8. The intelligent data acquisition and control system according to claim 1, characterized in that, The central control module (3) is connected to the server (6) via the communication module (95).

9. A communication method, applied to the intelligent data acquisition and control system according to any one of claims 1-8, characterized in that, The method includes: Obtain communication commands; Based on the received communication instructions, determine the communication parameters; Based on the determined communication parameters, a control signal is generated. The control signal is used to control the opening and closing of the corresponding contacts of the relay to establish communication between the server and the corresponding RS485 interface device. Each RS485 interface device has corresponding communication parameters.

10. The communication method according to claim 9, characterized in that, The communication command is a communication message; the communication parameter is the baud rate.

11. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the communication method according to any one of claims 9-10.

12. A readable storage medium storing instructions for causing a machine to perform the communication method of any one of claims 9-10.