A method for collecting data on-site for groundwater in-situ remediation
By building a modular movable control platform at the groundwater in-situ repair site, automated data acquisition and processing are realized, solving the problems of low data acquisition efficiency and poor compatibility in the existing technology, and improving acquisition accuracy and economic benefits.
Patent Information
- Application Number
- CN202410243213.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-04
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2044-03-04
AI Technical Summary
In the prior art, data collection efficiency at groundwater in situ repair sites is low, susceptible to weather, has human errors and compatibility problems, and the economic benefits of traditional central control rooms are low after removal.
It adopts a modular movable management and control platform to build a distribution system and industrial control machine, and realizes automatic data collection, processing and transmission through serial communication networking, PLC control and Internet of Things transmission.
It improves the efficiency and accuracy of data collection, reduces human error, realizes unified format processing and compatibility of data, and the mobile management and control platform can be reused, improving economic benefits.
Smart Images

Figure CN118244692B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of environmental protection, and in particular relates to a method for collecting field data for in-situ restoration of groundwater. Background Art
[0002] Groundwater in-situ remediation technology refers to the technology of directly repairing and treating groundwater on site by introducing remediation agents into groundwater or adopting other methods at groundwater contaminated sites.
[0003] Groundwater in-situ remediation is a continuous process, so there are a lot of equipment at the groundwater remediation site to monitor various conditions on site, including sensor equipment, controllable equipment, control platform, etc. These devices will generate a variety of data; due to different manufacturers, specifications, and functions of various devices, the data formats and transmission forms they generate are also varied.
[0004] Traditional data collection methods require workers to collect data on site and then centrally summarize it, or to view the data of the corresponding equipment according to the manufacturer's software provided by the equipment. This is inefficient for data viewing and data aggregation, and there will be certain compatibility issues when all data are centralized for use or transmission. Therefore, a more efficient solution is needed to improve efficiency.
[0005] Technical solution of prior art 1
[0006] 1. Traditional data collection at groundwater in-situ remediation sites relies on manual on-site collection. For example, the sensor in the monitoring well needs to be pulled out manually, and then the data storage card is taken out and the data is read by a computer. The storage card is then put into the sensor and finally put back into the monitoring well.
[0007] 2. After the workers have collected the data, they need to manually summarize the data, which is usually done in the control room.
[0008] 3. Traditionally, the central control room is built at the groundwater site that needs to be repaired to provide functions such as central control and data collection and summary during the repair period; when the repair is completed, the equipment will be evacuated and the central control room will be dismantled.
[0009] Disadvantages of the prior art 1
[0010] 1. Manual data collection is inefficient. Secondly, manual data collection will also be affected by weather and other factors. Finally, manual data collection may also result in certain human errors.
[0011] 2. When manually aggregating data, the efficiency is greatly insufficient due to the large amount of data, and manual aggregation may also result in certain human errors.
[0012] 3. The traditional central control room will be demolished after the groundwater in-situ remediation is completed, which has low economic benefits.
[0013] Technical solution of prior art 2
[0014] In addition to manual collection, some equipment manufacturers also use their own software to collect data from their own equipment and then display it on the center console.
[0015] Disadvantages of the second prior art
[0016] There are many different types of equipment for groundwater in-situ remediation. There may be equipment from many manufacturers, and the data generated by various equipment is also different; so multiple software may be required to fully display the status of all equipment on site. This is not convenient enough, and when you want to view the data of each device, you have to view it from different software, which leads to low efficiency. Summary of the invention
[0017] The purpose of the present invention is to solve the defects of the above-mentioned prior art and provide a method for collecting field data for in-situ remediation of groundwater.
[0018] The present invention adopts the following technical solution:
[0019] A method for collecting data on-site for groundwater in-situ remediation, comprising:
[0020] Step 1. Determine the target power supply parameters based on the on-site sensor equipment and build a power distribution system, which is then installed together with the on-site industrial computer in a modular, movable management and control platform; then transport it to the groundwater in-situ remediation site.
[0021] Step 2. Network all serial communication devices on site and then connect them to the industrial computer in the mobile management and control platform. The system deployed on the industrial computer collects serial communication device data and processes the data.
[0022] Step 3. Connect all the devices that need to be controlled to the PLC in the mobile control platform, and then connect the PLC to the industrial computer. The system deployed on the industrial computer reads the control status data of the PLC and can control the PLC.
[0023] Step 4. The system deployed on the industrial computer connects all devices on site that communicate through the network, then collects data from the devices and processes the data.
[0024] Step 5. After some of the equipment on site completes data collection, it is sent directly to the equipment manufacturer's cloud through the Internet of Things. The system deployed on the industrial computer will collect the equipment data on the cloud and process the data.
[0025] Step 6. All collected data will be analyzed for abnormalities within the system, and if there are any abnormalities in the data, timely warnings will be given.
[0026] Furthermore, step 2 specifically includes:
[0027] All devices on site that use serial communication are networked using ModbusRTU communication. Each device is assigned a unique Modbus address, which is an integer between 1 and 247. The Modbus address of the device is set in the device configuration to ensure that each device has a unique address. The industrial computer where the system is located serves as the master node, and other devices are connected to the master node to form a serial bus. The system is designed with a debugging and monitoring function to check communication frames, ensure that data is transmitted correctly, and perform necessary troubleshooting.
[0028] The system establishes corresponding structures according to the types, data types and data formats of all devices on site to store the information and status of each device for subsequent data processing.
[0029] The system configures the serial port parameters, baud rate, data bits, stop bits, and opens the serial port connection, ensuring that the serial port connection is closed when the program ends.
[0030] After the system opens the serial port, it is used to obtain device data. Through polling, data is obtained from all devices according to the address number of each device. The system also has safety measures. When a device is polled and no data feedback is obtained, the system will continue to query the device to obtain data. When multiple acquisitions fail, the system will skip this device and continue to query other devices. Then, an error message for this device will be prompted to remind manual access to check the specific situation.
[0031] After the system obtains the information of all devices, it will decode all the acquired information according to the decoding conditions provided by each device manufacturer, and then the system will extract the key information from each device information.
[0032] The system will combine the key information extracted from each sensor and the specific information of each device, and then add a time tag and an information code of the custom protocol to the information to form a piece of information.
[0033] The system will temporarily store the new information in the cache of the industrial computer to facilitate the unification of all subsequent information, and will perform data comparison during the next polling query to determine whether there are any abnormalities in the data. If there are any abnormalities, an alarm will be sounded and a human will be reminded to check the specific situation.
[0034] Furthermore, the device specific information is the address information of the device, the status information of the device, and the location information of the device.
[0035] Furthermore, step 3 is as follows: connect the PLC via wired connection, and then the system deployed on the industrial computer will create a ModbusTCP connection with the PLC. Each connection will record the IP address and rack number of the PLC. The system will connect to the PLC at a fixed time to ensure smooth communication.
[0036] According to the equipment conditions on site, there will be corresponding registers on the PLC. The information of all devices connected to the PLC is stored in the corresponding registers. The system will set the corresponding parameters according to the register addresses corresponding to all devices and the data volume of the device to obtain the contents of the current register.
[0037] When the system receives the data from the PLC, it will decode it according to the rules of the PLC, extract the key content of the information, and then determine what device it is based on the register address. Then, based on the specific information and switch information of the device, it will add the time tag, equipment operation status tag, and the information code of the custom protocol to form a new message stored in the cache for subsequent data storage, transmission and processing.
[0038] The system also has the function of controlling the PLC switch. When the system receives a control instruction, the system will send a corresponding control signal to the PLC according to the instruction. According to the requirements of the control instruction, the address of the control coil of the corresponding device will be modified, and then the PLC will perform the corresponding control operation. After completing this work, the system will also monitor the status of the register of the corresponding device to determine whether the device is executed. When it is not executed, the system will continue to perform related operation instructions. When there is still no response after multiple operations, the program will alarm to prompt manual inspection operations.
[0039] Furthermore, step 4 is specifically as follows: some devices are transmitted through network protocols, and the devices are connected to the industrial computer wirelessly or wired. The system will also collect data from these devices. The system will monitor the information transmitted from these addresses according to the TCP / IP transmission requirements of the devices. The system will always monitor the corresponding ports and wait for data. The system is also set to cope with high concurrent data situations and accept information from multiple IP ports at the same time. After receiving the information, the system will also decode the information and extract the key information, and add corresponding labels, and then combine it with the information code of the custom protocol into a new message.
[0040] Furthermore, step 5 is specifically as follows: some devices collect data wirelessly and regularly, and the data transmitted by the devices to the cloud is acquired by the system. The system determines the devices based on all the data transmitted to the cloud, and then establishes a corresponding structure to store the corresponding message.
[0041] The system establishes corresponding interface programs according to the cloud where different devices are located. The system will obtain the corresponding identity authentication through the method specified by the cloud, and then the system will obtain the specific data information of the corresponding device based on this identity authentication. According to the conditions of different clouds, when obtaining identity information or specific data, there will be failures in the acquisition. At this time, the system also has a protection mechanism. When a single acquisition fails, it will continue to acquire at intervals of a corresponding period of time. If data cannot be obtained for multiple times, an alarm will be triggered to remind humans to check whether there is a problem with the cloud interface.
[0042] When the system obtains data from the cloud, it will extract the key information fields about the device in the cloud information based on the specific situation of the device, and then add event tags, cloud tags, device tags to the data, and then combine it with the information code of the custom protocol into a new message and store it in the local cache.
[0043] Furthermore, step 6 specifically includes: the system collects all data in real time, then packages all data according to a certain time range, and compares the data being collected and the packaged data in real time to determine whether the data is incorrect or missing. If there is a problem with the data, the system will also issue a corresponding warning or pop-up window to remind the staff to check and take corresponding actions.
[0044] Beneficial effects of the present invention:
[0045] 1. Solve the problems of human error and inefficiency caused by manual collection. All equipment data will be collected through the industrial computer deployed on site.
[0046] 2. All kinds of equipment data, regardless of the format or transmission method, will be directly collected by the system and then processed accordingly for easy viewing, organization and subsequent transmission.
[0047] 3. The system reserves corresponding modular interfaces. If similar data needs to be collected in the future, only simple configuration is required.
[0048] 4. A modular and movable management and control platform is designed with built-in control devices and industrial computers, etc. The equipment can be directly connected to this platform for control and viewing, etc. When the on-site repair is completed, it can be directly transported to other sites for continued use. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 It is a structural schematic diagram of the present invention;
[0050] Figure 2 It is a structural schematic diagram of the movable control platform of the present invention;
[0051] Figure 3 It is a 3D schematic diagram of the movable control platform of the present invention.
[0052] PLC: Programmable Logic Controller. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention is described clearly and completely below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0054] The present invention determines the target power supply parameters based on the sensor equipment on site and builds the power distribution system, and then installs it together with the industrial computer on site in a modularized movable control platform; and then transports it to the groundwater in-situ remediation site. All serial communication devices on site are networked, and then connected to the industrial computer in the movable control platform, and the system deployed on the industrial computer collects the serial communication device data and processes the data. All the devices to be controlled are connected to the PLC in the movable control platform, and then the PLC is connected to the industrial computer. Since the system deployed on the industrial computer reads the control status data in the PLC and can control the PLC. The system deployed on the industrial computer connects all the devices on site that communicate through the network, and then collects the data of the devices and processes the data. After some of the devices on site complete the data collection, they are directly sent to the cloud of the equipment manufacturer through the Internet of Things. The system deployed on the industrial computer will collect the device data on the cloud and process the data. All collected data will be analyzed for abnormalities within the system, and if there are some abnormalities in the data, timely warnings will be given.
[0055] The system collects data from various common communication methods in various groundwater in-situ remediation sites, and all the collected information is finally processed in a unified data type format to facilitate subsequent display, storage, transmission, management, etc.
[0056] like Figure 1-3 As shown, the present invention provides a method for collecting data on-site for groundwater in-situ remediation, comprising:
[0057] Step 1. Determine the target power supply parameters based on the on-site sensor equipment and build a power distribution system, which is then installed together with the on-site industrial computer (power distribution system + on-site industrial computer = control system) in a modular, movable management and control platform (container); then transport it to the groundwater in-situ remediation site.
[0058] Since the groundwater circulation well pollution remediation site is not fixed and is often in the wild, the entire control system is laid out inside the container to build a mobile control platform, while responding to the modular development of groundwater pollution remediation equipment. As the center of the pollution remediation site, the control platform is an indispensable part of each pollution remediation site. Since the present invention is reusable and the remediation site often changes, the control system is laid out in the container to achieve mobility, facilitate site replacement, and improve the system reuse rate.
[0059] Step 2. Network all serial communication devices on site and then connect them to the industrial computer in the mobile management and control platform. The system deployed on the industrial computer collects serial communication device data and processes the data.
[0060] Serial port devices include some sensors, such as pressure gauges, and also data reading of some control devices, such as the switch status light of the valve. All these devices are networked with ModbusRTU and then connected to the modular mobile management and control platform. The system then collects data from all connected devices, classifies and cleans the data, and then organizes it into a predetermined format and stores it in the cache of the industrial computer.
[0061] Specifically, all devices on site that use serial communication are networked using ModbusRTU communication, and each device is assigned a unique Modbus address. This address is an integer between 1 and 247. The Modbus address of the device is set in the device configuration to ensure that each device has a unique address. The industrial computer where the system is located serves as the master node, and other devices are connected to the master node to form a serial bus. The system is designed with a debugging and monitoring function to check the communication frame, ensure that the data is transmitted correctly, and perform necessary troubleshooting.
[0062] The system establishes corresponding structures according to the types, data types, data formats, etc. of all the equipment on site. It is used to store the information and status of each device for subsequent data processing.
[0063] The system configures the serial port parameters, baud rate, data bits, stop bits, etc., and opens the serial port connection. Make sure to close the serial port connection at the end of the program.
[0064] After the system opens the serial port, it is used to obtain device data. Through polling, data is obtained from all devices according to the address number of each device. The system also has safety measures. When a device is polled and no data feedback is obtained, the system will continue to query the device to obtain data. When multiple acquisitions fail, the system will skip the device and continue to query other devices. Then, an error message for this device will be prompted to remind manual access to check the specific situation.
[0065] After the system obtains the information of all devices, it will decode all the acquired information according to the decoding conditions provided by each device manufacturer, and then the system will extract the key information from each device information, such as the liquid level data in the liquid level sensor, the flow data in the flow meter sensor, etc.
[0066] The system will combine the key information extracted from each sensor with the specific information of each device (such as the device's address information, device status information, device location information, etc.), and then add a time tag and a custom protocol information code to the information to form a piece of information.
[0067] The system will temporarily store the new information in the cache of the industrial computer to facilitate the unification of all subsequent information and further facilitate its use in management, storage, transmission, etc. And in the next polling query, it will compare the data to determine whether there are any abnormalities in the data. If there are any abnormalities, it will alarm and remind humans to check the specific situation.
[0068] Step 3. Connect all the devices that need to be controlled to the PLC in the mobile control platform, and then connect the PLC to the industrial computer. The system deployed on the industrial computer reads the control status data in the PLC and can control the PLC.
[0069] The control terminals of all control devices are connected to the output ports of the PLC, so that all devices can receive the control signals of the PLC. The PLC is also connected to the industrial computer, which can also view the status of all coils in the PLC in real time through the deployed system, thereby viewing the switch status of all devices. The deployed system also has a program for operating the PLC. After receiving a certain instruction, the system can also send a control signal to the PLC to control the PLC to achieve the purpose of controlling the field equipment.
[0070] Specifically: connect the PLC with the control signal end of all devices that need to be controlled through wired connection to the control coil output port of the PLC in turn and record the corresponding connection number of the relevant equipment. Then the system deployed on the industrial computer will create a ModbusTCP connection with the PLC. Each connection will record the IP address and rack number of the PLC, etc. The system will connect to the PLC at a fixed time to ensure smooth communication.
[0071] According to the equipment conditions on site, there will be corresponding registers on the PLC. The information of all devices connected to the PLC is stored in the corresponding registers. The system will set the corresponding parameters according to the register addresses corresponding to all devices and the data volume of the device to obtain the content in the current register.
[0072] When the system receives the data from the PLC, it will decode it according to the rules of the PLC, and then extract the key content of the information, such as the switching status 0 or 1 in the device, and then determine what device it is based on the register address. Then, based on the specific information and switch information of the device, it will supplement the time tag, equipment operation status tag, etc., and then add the information code of the custom protocol to form a new message stored in the cache, which is convenient for subsequent data storage, transmission and processing.
[0073] The system also has the function of controlling the PLC switch. When the system receives a control instruction, it will send a corresponding control signal to the PLC according to the instruction. According to the requirements of the control instruction, the address of the control coil of the corresponding device will be modified, and then the PLC will perform the corresponding control operation. After completing this work, the system will also monitor the status of the register of the corresponding device to determine whether the device is executed. If it is not executed, the system will continue to perform related operation instructions. If there is still no response after multiple operations, the program will alarm and prompt manual inspection operations.
[0074] Step 4. The system deployed on the industrial computer connects all devices on site that communicate through the network, then collects data from the devices and processes the data.
[0075] Some equipment at the groundwater in-situ remediation site is also transmitted through network protocols (such as on-site monitoring cameras, etc.), and the mobile control platform also has corresponding WIFI for use. Then the equipment can be connected to the industrial computer wirelessly or wired, and the system will also collect data from this part of the equipment.
[0076] Specifically: the system will listen to information sent from certain addresses according to the TCP / IP transmission requirements of the device. The system will always listen to the corresponding port and wait for data. The system is also set to deal with high concurrent data and can receive information from multiple IP ports at the same time.
[0077] When the system receives the information, it will decode it, extract the key information, add a corresponding label, and then combine it with the information code of the custom protocol into a new message.
[0078] Step 5. After some of the equipment on site completes data collection, it is sent directly to the equipment manufacturer's cloud through the Internet of Things. The system deployed on the industrial computer will collect the equipment data on the cloud and process the data.
[0079] Some equipment at the groundwater in-situ remediation site collects data wirelessly and periodically, and then uploads the collected data to the manufacturer's cloud (such as wireless liquid level meters, etc.). The system will design the corresponding data interface program according to the corresponding manufacturer, and automatically collect the data uploaded to the cloud by the equipment through the program. After collecting the data, the data will be processed in the corresponding format, and then packaged as a whole together with all previous data in units of time and saved in the device's cache.
[0080] Specifically: the data transmitted by the device to the cloud is obtained by the system.
[0081] The system will determine the device based on all the data transmitted to the cloud, and then create a corresponding structure to store the corresponding message.
[0082] The system establishes corresponding interface programs according to the cloud where different devices are located. The system will obtain the corresponding identity authentication through the method specified by the cloud, and then the system will obtain the specific data information of the corresponding device based on this identity authentication. Depending on the status of different clouds, when obtaining identity information or specific data, there may be a failure to obtain. At this time, the system also has a protection mechanism. When a single acquisition fails, it will continue to obtain at an interval of a certain period of time. If the data cannot be obtained for multiple times, an alarm will be triggered to remind the operator to check whether there is a problem with the cloud interface.
[0083] When the system obtains data from the cloud, it will extract the key information fields about the device in the cloud information based on the specific situation of the device, and then tag the data with event tags, cloud tags, device tags, etc., and then combine them with the information code of the custom protocol into a new message and store it in the local cache.
[0084] Step 6. All collected data will be analyzed for abnormalities within the system, and if there are any abnormalities in the data, timely warnings will be given.
[0085] The system collects all data in real time, then packages all the data according to a certain time range, and compares the data being collected and the packaged data in real time to determine whether the data is incorrect or missing. If there is a problem with the data, the system will also issue a corresponding warning or pop-up window to remind the staff to check and take corresponding actions.
[0086] Example
[0087] like Figure 2 , Figure 3As shown in the figure, according to the power supply equipment requirements required on site, and considering the corresponding protection and control, the internal system equipment power supply and distribution scheme is designed. The design includes power supply module, inverter module, solar module, internal power supply, and 6 16-ampere three-phase four-hole sockets. The control platform is a box structure with a length of 5 meters, a width of 2.4 meters, and a height of 2.4 meters. The control platform also contains an industrial computer, and the corresponding programs are deployed for data collection and receiving instructions to display data. A solar module is also designed on the upper part of the box. The solar system is used as the internal backup power supply of the control platform. It is used for single-phase power supply inside the container and the control cabinet, and does not participate in the external three-phase load power supply. The system uses 4 solar panels with a power of 500 watts, and the battery energy storage cabinet is composed of eight groups of 12V120Ah batteries. The inverter can set different power supply modes, including mains priority mode and solar priority mode. If the priority power supply is interrupted, the inverter can also achieve automatic switching without intervals.
[0088] After the mobile control platform arrives at the repair site, all the equipment on site is connected according to the different ways of connecting all the equipment on site, and finally connected to the control platform. Among the equipment on site in this embodiment, the light intensity monitor, carbon dioxide concentration monitor, temperature monitor, humidity monitor, pressure monitor, motor signal line, water level gauge, water pressure gauge, dissolved oxygen monitor and other equipment are networked by Modbus and connected to the industrial computer of the control platform; the address information of each device is set, and the baud rate of the network is set according to the different situations of various devices, and then according to the program deployed on the industrial computer, according to the data query rules of different devices, the information of all devices on the network is polled and collected for 2 seconds at a time. After the information is collected, the program will decode the information and then re-edit the data according to the established unified rules. The unified rules include the address number, time data type, data format, data content, etc. of each instrument we collected, and then the data is packaged and stored in the cache of the industrial computer for subsequent viewing and storage. If the program fails to obtain certain data, the program will re-pollating. After multiple failed acquisitions, the wrong device address number will be displayed on the industrial computer for easy viewing and maintenance.
[0089] The control module is also deployed in the mobile control platform. It is mainly the program deployed on the industrial computer that makes judgments based on the collected signals, or the program receives external operation instructions or remote cloud operation instructions, etc., and sends control signals to the PLC to control the on-site conditions. The water injection valve switch, water pump switch, air injection pump switch, feed pump switch, water pump frequency, etc. on site will all be connected to the control output port of the PLC through the respective control ports of the equipment in a wired manner. At this time, the program deployed on the industrial computer can view the current switch status of the PLC by accessing the registers in the PLC, so as to understand the working status of the valve equipment on site and determine whether it is open or closed. When the program obtains these status data, it will also process these data into new unified rule data according to the pre-specified data rules. These data include equipment number field, time field, data type field, data content field, etc., which are convenient for subsequent storage and viewing. When the program receives a valve control request, such as a water injection valve opening request, the program will obtain the device number of the device, convert the device opening instruction into PLC language, and then send the control request to the corresponding PLC output port. Then the PLC segment is energized and sends a control signal to realize the switch request for the water injection valve. After completion, the program will read the corresponding register information data to store and judge whether the switch action is completed. The program will also check whether the operation to be performed is completed based on the returned register information. When the information in the register has not changed, it means that the operation has not been performed. In this case, the program will trigger a protection program and continue to perform the same operation on the device. When it is found that there is still no change in information after multiple operations, the program will display the relevant device number and error information on the industrial computer for error finding. This ensures that the switch action can be completed normally.
[0090] There will be some remote devices using IoT cards on site, such as remote liquid level meters. This type of equipment will not be directly connected to the management and control platform, and the water level time data of this equipment will be directly sent to the cloud of the equipment manufacturer through the IoT card. The program deployed on the mobile management and control platform will set an access and request data to the address according to the data interface address provided by the equipment manufacturer, and will automatically access the cloud corresponding to this device at a fixed time to obtain the data of this device, and then download the water level data and some equipment conditions in real time, and then re-edit the data according to unified rules to remove some unnecessary data, and then package and store them in a unified manner.
[0091] All equipment on site is numbered and stored on the industrial computer system. The program deployed on the industrial computer will regularly check the stored data to see if there are any errors. When checking the data, if a certain data is missing, the program will check the missing data code according to the data rules we specify, and then use this data code to determine which link the data is missing. Then, the missing link will be retrieved every 1 minute, 3 minutes, and 5 minutes to prevent data leakage and storage. When multiple attempts are made and there is missing data, the system will display the corresponding device code and prompt information in the industrial computer window for manual viewing and error correction.
[0092] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for collecting data on-site for groundwater in-situ remediation, characterized in that ,include: Step 1. Determine the target power supply parameters based on the on-site sensor equipment and build a power distribution system, which is then installed together with the on-site industrial computer in a modular, mobile control platform; then transport it to the groundwater in-situ remediation site; Step 2. Network all serial communication devices on site and then connect them to the industrial computer in the mobile control platform. The system deployed on the industrial computer collects the serial communication device data and processes the data. All devices on site that use serial communication are networked using ModbusRTU communication. Each device is assigned a unique Modbus address, which is an integer between 1 and 247. The Modbus address of the device is set in the device configuration to ensure that each device has a unique address. The system in the industrial computer serves as the master node, and other devices are connected to the master node to form a serial bus. The system has debugging and monitoring functions to check communication frames, ensure that data is transmitted correctly, and perform necessary troubleshooting. According to the types and data types of all devices on site, the corresponding structure is established in the data format to store the information and status of each device for subsequent data processing; Configure the serial port parameters, baud rate, data bits, stop bits, and open the serial port connection, making sure to close the serial port connection when the system ends; When the system opens the serial port, it is used to obtain device data. Through polling, data is obtained from all devices according to the address number of each device. The system also has safety measures. When a device is polled and no data feedback is obtained, the system will continue to query the device to obtain data. When multiple acquisitions fail, the system will skip this device and continue to query other devices. Then the system will prompt the device's error information to remind manual access to check the specific situation. After the system obtains the information of all devices, it will decode all the acquired information according to the decoding conditions provided by each device manufacturer, and then the system will extract the key information from each device information; The system will combine the key information extracted from each sensor with the specific information of each device, and then add a time tag and a custom protocol information code to the information to form a piece of information; New information is temporarily stored in the cache of the industrial computer to facilitate the unification of all subsequent information. In the next polling query, data comparison will be performed to determine whether there are any abnormalities in the data. If there are any abnormalities, an alarm will be issued to remind humans to check the specific situation. Step 3. Connect all the devices to be controlled to the PLC in the mobile control platform, and then connect the PLC to the industrial computer. The system deployed on the industrial computer reads the control status data of the PLC and can control the PLC. Step 4. The system deployed on the industrial computer connects all devices on site that communicate through the network, then collects data from the devices and processes the data; Step 5. After some devices on site have completed data collection, they are sent directly to the cloud of the equipment manufacturer through the Internet of Things. The system deployed on the industrial computer will collect the equipment data on the cloud and process the data; Step 6. All collected data will be analyzed for abnormalities within the system, and if there are any abnormalities in the data, timely warnings will be given.
2. According to the method of claim 1, the specific information of each device is the address information of the device, the status information of the device, and the location information of the device.
3. According to the method of claim 1, step 3 specifically comprises: connecting the PLC and the industrial computer via a wired connection, and then the system on the industrial computer will create a ModbusTCP connection with the PLC, each connection will record the IP address and rack number of the PLC, and the system will connect to the PLC at a fixed time; According to the equipment conditions on site, there will be corresponding registers on the PLC. The information of all devices connected to the PLC is stored in the corresponding registers. The system will set corresponding parameters according to the register addresses corresponding to all devices and the data volume of the device to obtain the content in the current register; When the system gets the data from the PLC, it will decode it according to the rules of the PLC, and then extract the key content in the information, and then determine what device it is based on the register address, and then based on the specific information and switch information of the device, and then add the time tag, equipment operation status tag, and then add the information code of the custom protocol to form a new message stored in the cache, which is convenient for subsequent data storage and transmission processing; When the system receives a control instruction, it will send a corresponding control signal to the PLC based on the instruction. According to the requirements of the control instruction, the address of the control coil of the corresponding device will be modified, and then the PLC will perform the corresponding control operation. After completing this work, the system will also monitor the status of the register of the corresponding device to determine whether the device is executed. If it is not executed, the system will continue to perform related operation instructions. If there is still no response after multiple operations, the system will alarm to prompt manual inspection operations.
4. The method according to claim 1, characterized in that Step 4 is as follows: some devices are transmitted through network protocols. The devices are connected to the industrial computer wirelessly or wired. The system will also collect data from these devices. The system will monitor the information sent from these addresses according to the TCP / IP transmission requirements of the devices. The system will always monitor the corresponding ports and wait for data. The system is also set to deal with high concurrent data situations and accept information from multiple IP ports at the same time. After receiving the information, the system will also decode the information and extract the key information, add corresponding labels, and then combine it with the information code of the custom protocol into a new message.
5. The method according to claim 1, characterized in that Step 5 is as follows: some devices collect data wirelessly and regularly, and the data transmitted by the devices to the cloud is acquired by the system. The system determines the devices based on all the data transmitted to the cloud, and then establishes the corresponding structure to store the corresponding message; The system establishes corresponding interface programs according to the cloud where different devices are located. The system will obtain the corresponding identity authentication through the method specified by the cloud, and then obtain the specific data information of the corresponding device based on this identity authentication. According to the different cloud conditions, when obtaining identity information or specific data, there will be a failure to obtain. At this time, the system also has a protection mechanism. When a single acquisition fails, it will continue to obtain at an interval of a corresponding time. If the data cannot be obtained for multiple times, an alarm will be triggered to remind the operator to check whether there is a problem with the cloud interface; When the system obtains data from the cloud, it will extract the key information fields about the device in the cloud information based on the specific situation of the device, and then add event tags, cloud tags, device tags to the data, and then combine it with the information code of the custom protocol into a new message and store it in the local cache.
6. The method according to claim 1, characterized in that Step 6 specifically includes: the system collects all data in real time, then packages all the data according to a certain time range, and compares the data being collected and the packaged data in real time to determine whether the data is incorrect or missing. If there is a problem with the data, the system will also issue a corresponding warning or pop-up window to remind the staff to check and take corresponding actions.
Citation Information
Patent Citations
Portable flue gas monitoring data acquisition system, device and method based on 5G communication
CN113419036A