Data transmission method for sewage plant channel external return sludge monitoring device

By dynamically adjusting the power supply and transmission methods and correcting the data in real time, the problems of unstable power supply, transmission interruption, and poor signal processing adaptability in the wastewater treatment plant channel return sludge monitoring system were solved, achieving the stability and accuracy of data transmission and ensuring the real-time control needs of the wastewater treatment plant.

CN121656624APending Publication Date: 2026-03-13SHANGHAI ZEXI ENVIRONMENTAL PROTECTION ENGINEERING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-08
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

In existing sewage treatment plant channel return sludge monitoring systems, unstable power supply, transmission interruption or attenuation lead to data distortion and loss, temporary storage is disordered when the buffer queue is full, and signal processing adaptability is poor, making it difficult to meet the real-time control requirements of the central control system.

Method used

By monitoring sensors to collect data and obtain power supply and transmission status data, the power supply method and transmission line are dynamically adjusted, data is corrected in real time, and appropriate signal conversion protocols and buffer queue management are adopted to ensure data continuity and accuracy.

Benefits of technology

It achieves full-process controllability of data acquisition and transmission, improves the stability and accuracy of data transmission, provides reliable data support, and provides an efficient monitoring system for the regulation of wastewater treatment plant return sludge.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121656624A_ABST
    Figure CN121656624A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of sewage monitoring data transmission, and discloses a data transmission method for a sewage plant channel external return sludge monitoring device, and the method comprises the steps: collecting the monitoring data of channel external return sludge through a monitoring sensor of the monitoring device, and transmitting the monitoring data to a data processing end through a transmission line; acquiring acquisition state data of the monitoring sensor and transmission state data of the transmission line, and determining a power supply mode of the monitoring sensor and a transmission mode of the monitoring data according to the state data; comparing the state data with preset standard state data, and judging whether to correct the monitoring data or not according to a comparison result; if yes, transmitting the corrected monitoring data to a data processing end; if not, directly transmitting the monitoring data to a data processing end; the data processing end performs signal conversion on the monitoring data and then outputs the data to the central control end. Reliable data support can be provided for regulation and control of returned sludge of a sewage plant, and the practicability of a monitoring system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wastewater monitoring data transmission technology, and more specifically, to a data transmission method for a wastewater treatment plant channel external return sludge monitoring device. Background Technology

[0002] With increasingly stringent environmental regulations and continuously improving standards for wastewater treatment plant effluent discharge, the monitoring accuracy of parameters such as the concentration and flow rate of sludge returned from external channels directly affects wastewater treatment effectiveness. Existing monitoring systems require real-time data transmission to a central control unit. However, wastewater treatment plants experience strong electromagnetic interference, significant fluctuations in transmission distance, and variable operating conditions of the returned sludge, which can lead to unstable power supply to the sensors. Therefore, the stability and accuracy of data transmission have become core requirements for system operation.

[0003] Traditional data transmission methods for monitoring reflux sludge do not link the acquisition and transmission status to dynamic adjustment. The fixed power supply method is prone to signal distortion due to voltage and current fluctuations. The transmission is only a single channel, and data is easily lost when the connection is interrupted, and signal attenuation is not considered. The data is not specifically corrected, the temporary storage logic when the buffer queue is full is coarse, and the signal conversion and compression lack adaptability, resulting in high transmission delay and poor integrity, making it difficult to meet the real-time control requirements of the central control system.

[0004] Therefore, it is necessary to design a data transmission method for a sewage treatment plant channel external return sludge monitoring device to solve the problems of insufficient data transmission stability and accuracy in the current technology, such as unstable power supply, transmission interruption or attenuation leading to data distortion and loss, disordered temporary storage when the buffer queue is full, and poor signal processing adaptability. Summary of the Invention

[0005] In view of this, the present invention proposes a data transmission method for a monitoring device for sludge return from external channels in sewage treatment plants, aiming to solve the problems of insufficient data transmission stability and accuracy in the current technology, such as unstable power supply, data distortion and loss due to transmission interruption or attenuation, disordered temporary storage when the buffer queue is full, and poor signal processing adaptability.

[0006] This invention proposes a data transmission method for a monitoring device for sludge return from external channels in wastewater treatment plants, comprising: The monitoring data of the sludge returning from outside the channel is collected by the monitoring sensors of the monitoring device, and the monitoring data is transmitted to the data processing terminal through the transmission line; Acquire the acquisition status data of the monitoring sensor and the transmission status data of the transmission line, and determine the power supply method of the monitoring sensor and the transmission method of the monitoring data based on the status data; The status data is compared with preset standard status data, and the comparison result determines whether the monitoring data needs to be corrected. If so, the corrected monitoring data will be transmitted to the data processing terminal; If not, the monitoring data will be directly transmitted to the data processing terminal; The data processing terminal converts the monitoring data into signals and outputs them to the central control terminal.

[0007] Furthermore, the acquired status data includes the power supply voltage, power supply current, and acquired signal amplitude of the monitoring sensor; Determining the power supply method of the monitoring sensor based on the status data includes: When both the power supply voltage and the power supply current are within the preset power supply parameter range, the first power supply method is used to power the monitoring sensor. When the power supply voltage or power supply current exceeds the preset power supply parameter range, the system switches to the second power supply mode to power the monitoring sensor.

[0008] Furthermore, the transmission status data includes the on / off status of the transmission line; Determining the transmission method of the monitoring data based on the status data includes: When the transmission line is in the on / off state, the collected monitoring data is directly transmitted to the data processing terminal through the transmission line; When the transmission line is disconnected, the collected monitoring data is temporarily stored in a pre-set temporary storage component. The connection status of the transmission line is retrieved again at preset intervals until the connection status of the transmission line is connected. Then, the monitoring data in the temporary storage component is transmitted to the data processing terminal.

[0009] Furthermore, the transmission status data also includes the transmission signal attenuation. When the attenuation of the transmitted signal is within the preset range of transmission signal parameters, the first transmission line is used to transmit data. When the attenuation of the transmitted signal exceeds the preset range of transmission signal parameters, a second transmission line is used to transmit data.

[0010] Furthermore, the status data is compared with preset standard status data, and based on the comparison result, it is determined whether the monitoring data should be corrected, including: The amplitude of the acquired signal is compared with the preset standard range of acquired signal amplitude. When the amplitude of the acquired signal is within the preset standard range of the acquired signal amplitude, it is determined that the monitoring data will not be corrected. When the amplitude of the acquired signal exceeds the preset standard range of the acquired signal amplitude, it is determined that the monitoring data should be corrected. When correcting the monitoring data, the ratio of the acquired signal amplitude to the standard acquired signal amplitude is calculated, and this ratio is used as the error correction coefficient. The monitoring data is corrected according to the error correction coefficient.

[0011] Furthermore, after receiving the monitoring data or the corrected monitoring data, the data processing terminal identifies the signal type of the data, which includes analog signals and digital signals; The data processing terminal performs signal conversion on the monitoring data and outputs it to the central control terminal, including: When the data signal type is analog, the analog signal is converted into a standardized digital signal using a preset first conversion protocol; When the data signal type is a digital signal, a preset second conversion protocol is used to convert the digital signal into a standardized digital signal; After conversion, the standardized digital signal is output to the central control terminal; During the signal conversion process, the signal format and conversion duration are recorded in real time.

[0012] Furthermore, outputting the standardized digital signal to the central control terminal includes: The transmission rate for acquiring standardized digital signals; When the transmission rate is greater than the preset transmission rate threshold, the standardized digital signal is compressed before being sent to the central control terminal. When the transmission rate is less than or equal to a preset transmission rate threshold, the standardized digital signal is directly sent to the central control terminal. After sending, receive a confirmation signal from the central control unit.

[0013] Furthermore, the standardized digital signal is compressed before being sent to the central control unit, including: The standardized digital signal is divided into multiple sub-signals; Assign consecutive sequence numbers to each sub-signal according to the time sequence of the sub-signal segmentation, and add the total number of sub-signals as a total number identifier to each sub-signal; Send each sub-signal to the central control terminal in ascending order of serial number, and wait for the preset feedback time after sending each sub-signal; When a successful sub-signal reception signal is received from the central control unit within the preset feedback time, the next sequence number of the sub-signal is sent. If a successful sub-signal reception signal is not received from the central control unit or a failed reception signal is received from the central control unit within the preset feedback time, the sub-signal with the current sequence number will be retransmitted, and the number of retransmissions will not exceed the preset number. When all sub-signals have been sent and all successful reception signals sent by the central control unit have been received, the transmission completion information is recorded and the standardized digital signal is stored.

[0014] Furthermore, the data transmission method for the monitoring device of sludge returning to the external channel of a sewage treatment plant also includes: The data processing terminal receives monitoring data at different times; According to the order in which the monitoring data is received by the data processing terminal, the monitoring data is stored in a pre-established data buffer queue; Specifically, the current occupancy rate of the data buffer queue is monitored in real time, and the current occupancy rate is compared with a preset queue full threshold to determine whether the data buffer queue is full. If the data is not fully occupied, the monitoring data will be stored in the data buffer queue. If the buffer is full, the transmission of monitoring data to the data buffer queue will stop, and the monitoring data will be temporarily stored in a pre-set memory according to the order of receipt. The data buffer queue sends the monitoring data to the central control terminal in the order of storage time.

[0015] Furthermore, stopping the transmission of monitoring data to the data buffer queue and temporarily storing the monitoring data in a pre-set memory according to the receiving order includes: The current occupancy rate is compared with the preset queue idle threshold to determine whether the data buffer queue space is sufficient; If so, the temporary data in the memory is migrated to the data buffer queue in chronological order of its temporary storage time. If not, the temporary data in the memory will not be migrated to the data buffer queue.

[0016] Compared with existing technologies, the advantages of this invention are as follows: This invention collects monitoring data of sludge returning from external channels using monitoring sensors and transmits it to the data processing terminal. Simultaneously, it acquires sensor status data and transmission line status data, achieving dynamic monitoring of the entire data acquisition and transmission process. Based on the status data, the power supply and transmission methods are adapted to avoid problems such as unstable power supply and abnormal transmission lines, ensuring the continuity of data acquisition and transmission. By comparing the data with preset standard status data to determine whether data correction is needed, distorted data can be effectively filtered out, improving data accuracy. After signal conversion at the data processing terminal, the data is output to the central control terminal, ensuring efficient reception of adapted data at the central control terminal. This provides reliable data support for the regulation of sludge returning from wastewater treatment plants, significantly improving the stability and practicality of the monitoring system. Attached Figure Description

[0017] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings: Figure 1 A flowchart of a data transmission method for a monitoring device for sludge return from external channels in a wastewater treatment plant, provided in an embodiment of the present invention; Figure 2 This is a flowchart illustrating the transmission of monitoring data to a data processing terminal, provided as an embodiment of the present invention. Detailed Implementation

[0018] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the disclosure to those skilled in the art. It should be noted that, unless otherwise specified, embodiments and features in the embodiments of the present invention can be combined with each other. The present invention will now be described in detail with reference to the accompanying drawings and embodiments.

[0019] See Figure 1-2 As shown in some embodiments of this application, this embodiment provides a data transmission method for a monitoring device for sludge return from external channels in a wastewater treatment plant, including the following steps: S100: The monitoring data of the sludge returning from outside the channel is collected by the monitoring sensors of the monitoring device and transmitted to the data processing terminal through the transmission line; This involves acquiring the collection status data of the monitoring sensors and the transmission status data of the transmission lines, and determining the power supply method of the monitoring sensors and the transmission method of the monitoring data based on the status data. The status data is compared with the preset standard status data, and the comparison results determine whether the monitoring data needs to be corrected. If so, the corrected monitoring data will be transmitted to the data processing terminal; If not, the monitoring data will be directly transmitted to the data processing terminal; S200: The data processing terminal converts the monitoring data into signals and outputs them to the central control terminal.

[0020] Specifically, the monitoring data includes, but is not limited to, quantitative data such as sludge concentration, sludge flow rate, sludge temperature, and sludge settling ratio.

[0021] Specifically, the monitoring device's sensors are activated, bringing the sensor probes into contact with the sludge returning from outside the channel to collect monitoring data. This data is then initially transmitted to the data processing terminal via a pre-set transmission line. During this process, the sensors must maintain stable contact with the sludge to ensure the representativeness of the collected data.

[0022] It is understandable that the sensor's power supply circuit acquires the data acquisition status through its detection elements, while the transmission line acquires the data transmission status through its detection elements at both ends. The stability of the sensor's power supply directly affects the acquisition accuracy, and the status of the transmission line determines whether data can be transmitted effectively. By acquiring the status data and dynamically adjusting the power supply and transmission methods, data interruptions caused by power supply or line problems can be avoided.

[0023] It is understood that the data transmission method for the wastewater treatment plant channel external sludge return monitoring device provided in this embodiment first transmits the sludge return data to the data processing terminal after the monitoring sensor collects the sludge return data; simultaneously, it collects the sensor power supply voltage and other acquisition status data, as well as the line continuity and other transmission status data, and adapts the power supply and transmission mode accordingly; it compares the status data with the standard value to determine whether the data needs to be corrected; after correction, or directly transmits the data to the data processing terminal, and outputs it to the central control terminal after signal conversion. Through the above-mentioned progressive processing of acquisition, status monitoring, dynamic adaptation, data correction, and signal conversion, end-to-end quality control of data from acquisition to output can be achieved.

[0024] Understandably, this embodiment employs a "data acquisition-status monitoring" linkage mechanism to address the blind acquisition and transmission issues caused by the lack of status monitoring in traditional technologies; it adds a data correction stage to resolve data distortion; and it unifies signal conversion output to address the poor adaptability of the central control unit. This achieves full controllability of the data acquisition and transmission process, improves the continuity and accuracy of data transmission, and ensures reliable control data from the central control unit.

[0025] In some embodiments of this application, the acquired status data includes the power supply voltage, power supply current, and acquired signal amplitude of the monitoring sensor.

[0026] Specifically, the power supply method for the monitoring sensors is determined based on the status data, including: When both the power supply voltage and power supply current are within the preset power supply parameter range, the first power supply method is used to power the monitoring sensor. When the power supply voltage or current exceeds the preset power supply parameter range, the system switches to the second power supply mode to power the monitoring sensor.

[0027] It is understandable that the acquired status data are parameters that reflect the working status of the monitoring sensor. Among them, the power supply voltage and current reflect the stability of the sensor's power supply, and the amplitude of the acquired signal reflects the sensor's acquisition accuracy.

[0028] Specifically, the preset standard state data are reference data determined through calibration experiments and sensor rated parameters, including preset power supply parameter range, preset standard acquisition signal amplitude range, and preset transmission signal parameter range, which are used to determine whether the sensor and transmission line are working properly.

[0029] Specifically, the power supply parameter range is set to include the preset sensor operating voltage range and the preset sensor operating current range.

[0030] Specifically, the stability of the power supply is determined based on the collected status data: when the power supply voltage and current are both within the preset power supply parameter range, the first power supply mode, such as municipal power supply, is used to power the sensor; when the power supply voltage or current exceeds the preset range, the second power supply mode, such as battery power supply, is switched to.

[0031] Understandably, by using dual power supply modules and parameter threshold judgment, the power supply mode is switched when voltage and current fluctuate, in order to solve the problem of sensor signal distortion or even shutdown, so as to ensure the stability of sensor power supply, reduce acquisition errors caused by power supply abnormalities, and improve the continuity of data acquisition.

[0032] In some embodiments of this application, transmission status data includes the on / off status of the transmission line.

[0033] Specifically, the method of transmitting monitoring data is determined based on the status data, including: When the transmission line is in the on / off state, the collected monitoring data will be directly transmitted to the data processing terminal through the transmission line. When the transmission line is disconnected, the collected monitoring data is temporarily stored in a pre-set temporary storage component. The connection status of the transmission line is retrieved again at preset intervals until the connection status of the transmission line is connected. Then, the monitoring data in the temporary storage component is transmitted to the data processing terminal.

[0034] Understandably, the temporary storage component is a pre-configured storage medium for temporarily storing monitoring data. When the transmission line is disconnected, it temporarily saves the collected monitoring data to prevent data loss, and the temporarily stored data can be output after transmission is restored. The preset time is the interval for re-inspecting the continuity status, determined by statistically analyzing the historical fault repair time of the sewage treatment plant's transmission lines and considering the real-time requirements of data transmission. This interval is used to standardize the re-inspection frequency after a line disconnection.

[0035] Specifically, the transmission status data also includes the amount of transmission signal attenuation.

[0036] Specifically, when the attenuation of the transmitted signal is within the preset range of transmission signal parameters, the first transmission line is used to transmit data; When the attenuation of the transmitted signal exceeds the preset range of transmission signal parameters, a second transmission line is used to transmit data.

[0037] Specifically, when the transmission line is in the on / off state, the signal attenuation judgment stage is entered to further evaluate the transmission quality.

[0038] Specifically, when the signal attenuation is within the preset transmission signal parameter range, the first transmission line is used, that is, the wired transmission line is used to transmit data; when the signal attenuation exceeds the preset transmission signal parameter range, the system switches to the second transmission line, that is, the wireless circuit is used to transmit data.

[0039] It is understandable that transmission status data is a parameter reflecting the transmission capacity of the transmission line. The on / off status directly determines whether data can be transmitted, and the signal attenuation reflects the degree of signal loss during transmission. By monitoring the signal attenuation and switching to a suitable transmission line, the impact of attenuation on data transmission quality can be reduced.

[0040] Understandably, by monitoring the on / off status of the transmission circuit in real time and periodically re-checking and retransmitting, the complete preservation and restoration of disconnected data can be achieved, ensuring the integrity of data transmission and avoiding the impact of disconnection on subsequent control. When the transmission circuit is on, using attenuation quantification assessment and dual-line switching can avoid data transmission errors or delays caused by signal attenuation in single-line transmission. This ensures data transmission quality under different attenuation scenarios, improves transmission stability, and adapts to the complex on-site transmission environment of wastewater treatment plants.

[0041] Specifically, the status data is compared with preset standard status data, and the comparison results determine whether the monitoring data needs to be corrected, including: The amplitude of the acquired signal is compared with the preset standard range of acquired signal amplitude. If the amplitude of the acquired signal is within the preset standard range, then it is determined that no correction will be made to the monitoring data. If the amplitude of the acquired signal exceeds the preset standard range, the monitoring data will be corrected. When correcting monitoring data, the ratio of the acquired signal amplitude to the standard acquired signal amplitude is calculated, and this ratio is used as the error correction factor. The monitoring data are corrected based on the error correction factor.

[0042] Specifically, after the monitoring sensor collects the original monitoring data of the sludge returning from outside the channel, it converts it into an electrical signal. The intensity value of the electrical signal, i.e. the amplitude of the acquired signal, is extracted by the signal acquisition element. At the same time, the preset standard acquisition signal amplitude range and standard acquisition signal amplitude stored in the data processing terminal are retrieved.

[0043] Specifically, when the amplitude of the acquired signal falls within the preset standard amplitude range, the sensor is considered to be in normal acquisition mode, the original monitoring data has no significant error, and no correction operation is required; when the amplitude of the acquired signal is higher or lower than the preset standard amplitude range, the sensor is considered to be in abnormal acquisition mode, the original monitoring data has errors, and the data correction process needs to be initiated.

[0044] Specifically, the preset standard acquisition signal amplitude is extracted, and the coefficient is calculated using the formula "error correction coefficient = acquisition signal amplitude ÷ standard acquisition signal amplitude". If the acquisition signal amplitude is higher than the standard value, the coefficient is greater than 1, indicating that the original data is too large; if the acquisition signal amplitude is lower than the standard value, the coefficient is less than 1, indicating that the original data is too small.

[0045] Specifically, the calculated error correction coefficient is applied to the original monitoring data, and the correction is completed using the formula "corrected monitoring data = original monitoring data ÷ error correction coefficient". After the correction is completed, the corrected data is transmitted to the subsequent signal conversion stage.

[0046] Specifically, the corrected data is compared with the reasonable fluctuation range of the wastewater treatment plant's historical monitoring data for the same period. If the data is within the reasonable range, the correction is confirmed to be effective; if it still exceeds the range, the amplitude of the acquired signal is re-acquired and the above correction process is repeated until the data meets the reasonable range.

[0047] Understandably, by comparing the amplitude of the acquired signal with the standard value, quantifying and correcting the error, and filtering out distorted data in the acquisition process, the accuracy of the monitoring data is significantly improved, providing reliable data support for process control.

[0048] In some embodiments of this application, after receiving monitoring data or corrected monitoring data, the data processing terminal identifies the signal type of the data, including analog signals and digital signals; The data processing unit converts the monitoring data into signals and outputs them to the central control unit, including: When the data signal type is analog, the analog signal is converted into a standardized digital signal using a preset first conversion protocol; When the data signal type is a digital signal, a preset second conversion protocol is used to convert the digital signal into a standardized digital signal; After conversion, the standardized digital signal is output to the central control unit; During the signal conversion process, the signal format and conversion duration are recorded in real time.

[0049] Specifically, after receiving the data, the data processing terminal distinguishes between analog and digital signals using a signal recognition algorithm. The analog signal uses a 4-20mA to Modbus protocol, which is the first conversion protocol. The digital signal uses an RS485 to TCP / IP protocol, which is the second conversion protocol. All sludge monitoring data are converted into standardized digital signals. During the conversion, the signal format and conversion time are recorded by the log module and then output to the central control terminal.

[0050] Understandably, by using signal type identification, adaptation protocol conversion, and process logs, standardized processing of different types of signals can be achieved, improving the receiving adaptability of the central control terminal. The conversion logs provide a basis for troubleshooting and facilitate traceability.

[0051] Specifically, outputting standardized digital signals to the central control unit includes: The transmission rate for acquiring standardized digital signals; When the transmission rate exceeds the preset transmission rate threshold, the standardized digital signal is compressed before being sent to the central control terminal. When the transmission rate is less than or equal to the preset transmission rate threshold, the standardized digital signal will be sent directly to the central control terminal. After sending, receive a confirmation signal from the central control unit.

[0052] Specifically, the preset transmission rate threshold is a critical value determined by testing the maximum data receiving and processing capacity of the central control terminal and combining it with the real-time requirements of wastewater treatment plant monitoring data. When the transmission rate exceeds this value, the central control terminal may experience receiving delay or data overflow, which is the criterion for selecting "direct transmission" or "compressed transmission".

[0053] Specifically, the data processing unit directly transmits standardized digital signals to the central control unit via the transmission link, maintaining the signal format throughout the transmission process to ensure transmission efficiency. The data processing unit initiates a preset compression algorithm to encode and compress the standardized digital signals, reducing the signal data volume. During compression, the core numerical information of the monitoring data is preserved, ensuring data accuracy. After compression, the transmission rate of the compressed signal is re-acquired. Once confirmed to be less than or equal to a preset transmission rate threshold, the signal is transmitted to the central control unit via the transmission link.

[0054] Specifically, after sending a signal, the data processing end immediately enters a receiving wait state, waiting for a receiving confirmation signal from the central control end. When a "received successfully" confirmation signal is received, the transmission completion information is recorded, and the transmission process ends. If no confirmation signal is received or a "received failed" confirmation signal is received, the signal is resent after a preset interval until a "received successfully" signal is received or the maximum number of retransmissions is reached. If the maximum number of retransmissions is reached and the transmission is still unsuccessful, the transmission fault information is recorded and a prompt is triggered.

[0055] Understandably, by comparing the transmission rate with a threshold in real time, compression processing is automatically initiated when the rate exceeds the limit, reducing data volume to lower the transmission rate. This ensures that the signal transmission rate matches the receiving capability of the central control unit. Compared to the existing fixed transmission mode, this significantly reduces data congestion and latency, guaranteeing data real-time performance. A closed-loop verification mechanism is constructed by introducing a reception confirmation signal. A retransmission strategy addresses transmission failures, preventing data loss due to "no verification after transmission," ensuring complete transmission of monitoring data to the central control unit, and providing comprehensive data support for process control.

[0056] Specifically, the standardized digital signals are compressed before being sent to the central control unit, including: Divide the standardized digital signal into multiple sub-signals; Assign consecutive sequence numbers to each sub-signal according to the time sequence of the sub-signal segmentation, and add the total number of sub-signals as a total number identifier to each sub-signal; Send each sub-signal to the central control terminal in ascending order of serial number, and wait for the preset feedback time after sending each sub-signal; When a successful sub-signal reception signal is received from the central control unit within the preset feedback time, the next sequence number of the sub-signal is sent. If a successful sub-signal reception signal is not received from the central control unit or a failed reception signal is received from the central control unit within the preset feedback time, the sub-signal with the current sequence number will be retransmitted, and the number of retransmissions will not exceed the preset number. When all sub-signals have been sent and all successful reception signals sent by the central control unit have been received, the transmission completion information is recorded and the standardized digital signal is stored.

[0057] Specifically, the data processing end performs a segmentation operation on the compressed standardized digital signal. According to the preset segmentation rules, such as fixed data volume and data blocks divided according to monitoring parameter type, the full compressed signal is divided into multiple sub-signals. During the segmentation process, the data timing logic of the original signal is strictly followed to ensure that the segmentation time order of the sub-signals is consistent with the generation order of the original signal data, and to avoid timing disorder.

[0058] Specifically, according to the time sequence of the sub-signal segmentation, each sub-signal is assigned a consecutive Arabic numeral sequence number; at the same time, the total number of sub-signals is counted to generate a total quantity identifier; the consecutive sequence number and the total quantity identifier are embedded together in the header of each sub-signal to form a sub-signal structure of "identifier + data".

[0059] Specifically, the sub-signals are sent to the central control unit in ascending order of their sequence numbers via the transmission link. After a single sub-signal is sent, the data processing unit immediately enters a waiting state, starts a preset feedback timer, and waits for the central control unit to return a confirmation signal.

[0060] Specifically, if a "sub-signal received successfully" signal is received from the central control unit within the preset feedback time, the timer stops, and the system switches to the next sub-signal and repeats the send-wait process. If no feedback signal is received within the preset feedback time, or a "sub-signal received failed" signal is received, the current sub-signal number and the number of retransmissions are recorded. If the number of retransmissions does not exceed the preset number, the current sub-signal number is retransmitted, and the feedback timer is reset. If the number of retransmissions has reached the preset number and the transmission is still unsuccessful, the sub-signal transmission fault information is recorded and a prompt is triggered. At the same time, the system continues to send the next sub-signal number to avoid a single sub-signal failure blocking the overall transmission.

[0061] Specifically, the central control unit confirms that all sequenced sub-signals have been received based on the total quantity identifier, and that the timing is complete after the sequence number verification. Once all sequenced sub-signals have been sent, the data processing unit waits for the "full quantum signal reception successful" signal from the central control unit. Upon receiving this signal, the data processing unit records the transmission completion time, the number of sub-signals, and other transmission information, and stores the original uncompressed, unsegmented standardized digital signal in the local storage component for later retrieval. If the "full success" signal is not received, the corresponding sub-signals are selectively transmitted based on the missing sequence numbers fed back by the central control unit until the full success signal is received.

[0062] Understandably, by using data segmentation, ordered labeling, and feedback retransmission, the orderly and complete transmission of large volumes of data can be achieved, the number of retransmissions can be limited to avoid resource waste, and the reliability of data transmission can be guaranteed.

[0063] In some embodiments of this application, the data transmission method for a wastewater treatment plant channel external return sludge monitoring device further includes: Acquire monitoring data received by the data processing terminal at different times; According to the order in which the monitoring data is received by the data processing terminal, the monitoring data is stored in a pre-established data buffer queue; Among them, the current occupancy rate of the data buffer queue is monitored in real time, and the current occupancy rate is compared with the preset queue full threshold to determine whether the data buffer queue is full; If the data is not fully occupied, the monitoring data will be stored in the data buffer queue. If the buffer is full, the transmission of monitoring data to the data buffer queue will stop, and the monitoring data will be temporarily stored in a pre-set memory according to the order of receipt. The data buffer queue sends monitoring data to the central control terminal in the order of storage time.

[0064] Specifically, the data processing terminal continuously receives monitoring data transmitted from the monitoring sensors, including raw or corrected monitoring data, and records the reception time of each data point to ensure that the data reception order is consistent with the acquisition sequence. According to the reception order of the data processing terminal, the acquired monitoring data is sequentially written into a pre-established data buffer queue. The data buffer queue follows a "first-in, first-out" rule, meaning that the data received first is read and sent to the central control terminal first, and the data received later is stored in a queue to avoid data transmission sequence errors.

[0065] Specifically, when the current occupancy rate is less than the preset queue full threshold, the data buffer queue is determined to be not full; when the current occupancy rate is greater than or equal to the preset queue full threshold, the data buffer queue is determined to be full.

[0066] Understandably, when the current occupancy rate is greater than or equal to the preset queue full threshold, it means that the data buffer queue has no remaining storage space. The data buffer queue is determined to be full, and data writing to the queue is stopped. The subsequently received monitoring data is temporarily stored in the pre-set memory in the order of reception. During the temporary storage process, the reception timestamp of each data is recorded to ensure that the timing of the temporarily stored data is traceable.

[0067] Understandably, real-time monitoring of the buffer queue occupancy rate and dynamic allocation of data storage locations are necessary to avoid data loss due to a full queue, ensuring that all monitoring data received by the data processing end can be stored, thus providing a complete data foundation for subsequent transmission to the central control end.

[0068] Specifically, the transmission of monitoring data to the data buffer queue is stopped, and the monitoring data is temporarily stored in a pre-set memory according to the order of receipt, including: The current occupancy rate is compared with the preset queue idle threshold to determine whether the data buffer queue space is sufficient. If so, the temporary data in the memory will be moved to the data buffer queue in chronological order of its temporary storage time. If not, temporary data in memory will not be migrated to the data buffer queue.

[0069] Specifically, the preset queue idle threshold is usually set at 20%-40% of the maximum queue capacity. This is the benchmark for determining whether the queue has the ability to migrate and receive data. When the occupancy rate is lower than this value, the queue has enough space to accommodate the data to be migrated from the memory.

[0070] Specifically, when the current occupancy rate of the data buffer queue is less than the preset queue idle threshold, the data buffer queue space is determined to be sufficient; when the current occupancy rate of the data buffer queue is greater than or equal to the preset queue idle threshold, the data buffer queue space is determined to be insufficient.

[0071] Specifically, the data buffer queue continuously sends the monitoring data in the queue to the central control terminal in the order of storage time (consistent with the receiving order). As the data is sent, the amount of data in the queue gradually decreases, and the current occupancy rate decreases synchronously. When the current occupancy rate drops to the preset queue idle threshold, the memory data migration process is started. The monitoring data temporarily stored in the memory is written into the data buffer queue in the order of receiving timestamps, and the data buffer queue continues to send it to the central control terminal until it is determined that the data buffer queue is full, at which point the migration of data to the data buffer queue stops.

[0072] Understandably, the quantitative judgment method of "comparing the current occupancy rate with the full threshold" can predict the queue storage pressure in advance compared with the existing judgment mode of "absolute capacity overflow". This avoids the waste of storage resources caused by starting temporary storage before the queue reaches the actual full load, and at the same time prevents data overflow and loss caused by excessive queue storage. It is also suitable for data volume fluctuation scenarios caused by concurrent acquisition of multiple sensors in sewage treatment plants.

[0073] Understandably, by controlling the timing of migration initiation through a preset queue idle threshold, it is possible to ensure that the queue has sufficient space to accommodate the migration data and avoid queue congestion caused by migration; during the migration process, priority is given to receiving new data to further improve transmission continuity.

[0074] Understandably, after the data is filled, it is temporarily stored in the order of receipt and transferred in the order of temporary storage time during migration, maintaining the consistency between the data and the original acquisition time sequence throughout the process and avoiding data logic confusion. This time sequence consistency ensures that the data analysis results received by the central control terminal are consistent with the actual operating status of sludge return, providing accurate data support for processes such as return ratio control.

[0075] As can be seen, this invention effectively avoids the problems of data acquisition interruption or data loss caused by unstable power supply and line abnormalities in the traditional fixed mode by real-time detection of the power supply status of the monitoring sensor and the on / off status of the transmission line, as well as the signal attenuation, and dynamically switches the power supply mode and transmission line. When the line is disconnected, a data temporary storage and retransmission mechanism is activated. This invention is suitable for the complex on-site environment of sewage treatment plants.

[0076] This invention adds a signal amplitude verification and quantization correction mechanism. By calculating the ratio of the actual amplitude to the standard amplitude as the error correction coefficient, distorted data is specifically corrected, and signal deviations in the acquisition process are filtered out. This solves the problem of low accuracy caused by direct transmission of uncorrected data in traditional technology, and provides reliable data support for the control of wastewater treatment processes.

[0077] The data processing end of this invention identifies the signal type and converts it into a standardized digital signal using an adaptation protocol, ensuring that the central control end can receive the signal compatiblely. At the same time, it dynamically selects direct transmission or compressed transmission based on the transmission rate, and combines sub-signal block orderly transmission and feedback retransmission mechanism, which not only optimizes the allocation of transmission resources and reduces the latency of high-speed data transmission, but also avoids overall failure caused by the loss of a single block of data, thus improving the adaptability and integrity of data transmission.

[0078] This invention employs a hierarchical storage mechanism of data buffer queue and memory, which monitors the queue occupancy rate in real time. When the queue is not full, data is stored and sent in an orderly manner. When the queue is full, it is automatically temporarily stored in memory. When the queue is idle, the data is migrated in order. This solves the problems of data loss, backlog of temporary data, or damage during migration when the queue is full in traditional systems, and achieves orderly storage and continuous transmission of data throughout the entire data chain.

[0079] This invention records the signal format and conversion time during signal conversion, and records the transmission information and stores standardized digital signals after data transmission is completed, providing a basis for fault diagnosis and system optimization. The entire process technical solution forms a closed-loop control of "acquisition-status monitoring-dynamic adaptation-correction-conversion-storage-transmission", which significantly improves the overall practicality of the wastewater treatment plant return sludge monitoring system and indirectly ensures wastewater treatment efficiency and effluent discharge quality.

[0080] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program goods. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program goods embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0081] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program goods according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0082] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0083] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0084] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A data transmission method for a monitoring device for sludge return from external channels in a wastewater treatment plant, characterized in that, include: The monitoring data of the sludge returning from outside the channel is collected by the monitoring sensors of the monitoring device, and the monitoring data is transmitted to the data processing terminal through the transmission line; Acquire the acquisition status data of the monitoring sensor and the transmission status data of the transmission line, and determine the power supply method of the monitoring sensor and the transmission method of the monitoring data based on the status data; The status data is compared with preset standard status data, and the comparison result determines whether the monitoring data needs to be corrected. If so, the corrected monitoring data will be transmitted to the data processing terminal; If not, the monitoring data will be directly transmitted to the data processing terminal; The data processing terminal converts the monitoring data into signals and outputs them to the central control terminal.

2. The data transmission method for a sewage treatment plant channel external return sludge monitoring device according to claim 1, characterized in that, The acquired status data includes the power supply voltage, power supply current, and acquired signal amplitude of the monitoring sensor; Determining the power supply method of the monitoring sensor based on the status data includes: When both the power supply voltage and the power supply current are within the preset power supply parameter range, the first power supply method is used to power the monitoring sensor. When the power supply voltage or power supply current exceeds the preset power supply parameter range, the system switches to the second power supply mode to power the monitoring sensor.

3. The data transmission method for a sewage treatment plant channel external return sludge monitoring device according to claim 2, characterized in that, The transmission status data includes the on / off status of the transmission line; Determining the transmission method of the monitoring data based on the status data includes: When the transmission line is in the on / off state, the collected monitoring data is directly transmitted to the data processing terminal through the transmission line; When the transmission line is disconnected, the collected monitoring data is temporarily stored in a pre-set temporary storage component. The connection status of the transmission line is retrieved again at preset intervals until the connection status of the transmission line is connected. Then, the monitoring data in the temporary storage component is transmitted to the data processing terminal.

4. The data transmission method for a sewage treatment plant channel external return sludge monitoring device according to claim 3, characterized in that, The transmission status data also includes the transmission signal attenuation; When the attenuation of the transmitted signal is within the preset range of transmission signal parameters, the first transmission line is used to transmit data. When the attenuation of the transmitted signal exceeds the preset range of transmission signal parameters, a second transmission line is used to transmit data.

5. The data transmission method for a sewage treatment plant channel external return sludge monitoring device according to claim 4, characterized in that, The status data is compared with preset standard status data, and a determination is made based on the comparison result as to whether the monitoring data should be corrected, including: The amplitude of the acquired signal is compared with the preset standard range of acquired signal amplitude. When the amplitude of the acquired signal is within the preset standard range of the acquired signal amplitude, it is determined that the monitoring data will not be corrected. When the amplitude of the acquired signal exceeds the preset standard range of the acquired signal amplitude, it is determined that the monitoring data should be corrected. When correcting the monitoring data, the ratio of the acquired signal amplitude to the standard acquired signal amplitude is calculated, and this ratio is used as the error correction coefficient. The monitoring data is corrected according to the error correction coefficient.

6. The data transmission method for a sewage treatment plant channel external return sludge monitoring device according to claim 5, characterized in that, After receiving the monitoring data or the corrected monitoring data, the data processing terminal identifies the signal type of the data, which includes analog signals and digital signals. The data processing terminal performs signal conversion on the monitoring data and outputs it to the central control terminal, including: When the data signal type is analog, the analog signal is converted into a standardized digital signal using a preset first conversion protocol; When the data signal type is a digital signal, a preset second conversion protocol is used to convert the digital signal into a standardized digital signal; After conversion, the standardized digital signal is output to the central control terminal; During the signal conversion process, the signal format and conversion duration are recorded in real time.

7. The data transmission method for a sewage treatment plant channel external return sludge monitoring device according to claim 6, characterized in that, Outputting the standardized digital signal to the central control terminal includes: The transmission rate for acquiring standardized digital signals; When the transmission rate is greater than the preset transmission rate threshold, the standardized digital signal is compressed before being sent to the central control terminal. When the transmission rate is less than or equal to a preset transmission rate threshold, the standardized digital signal is directly sent to the central control terminal. After sending, receive a confirmation signal from the central control unit.

8. The data transmission method for a sewage treatment plant channel external return sludge monitoring device according to claim 7, characterized in that, The process of compressing the standardized digital signal before sending it to the central control unit includes: The standardized digital signal is divided into multiple sub-signals; Assign consecutive sequence numbers to each sub-signal according to the time sequence of the sub-signal segmentation, and add the total number of sub-signals as a total number identifier to each sub-signal; Send each sub-signal to the central control terminal in ascending order of serial number, and wait for the preset feedback time after sending each sub-signal; When a successful sub-signal reception signal is received from the central control unit within the preset feedback time, the next sequence number of the sub-signal is sent. If a successful sub-signal reception signal is not received from the central control unit or a failed reception signal is received from the central control unit within the preset feedback time, the sub-signal with the current sequence number will be retransmitted, and the number of retransmissions will not exceed the preset number. When all sub-signals have been sent and all successful reception signals sent by the central control unit have been received, the transmission completion information is recorded and the standardized digital signal is stored.

9. The data transmission method for a sewage treatment plant channel external return sludge monitoring device according to claim 8, characterized in that, The data transmission method for the monitoring device of sludge return from external channels in sewage treatment plants also includes: The data processing terminal receives monitoring data at different times; According to the order in which the monitoring data is received by the data processing terminal, the monitoring data is stored in a pre-established data buffer queue; Specifically, the current occupancy rate of the data buffer queue is monitored in real time, and the current occupancy rate is compared with a preset queue full threshold to determine whether the data buffer queue is full. If the data is not fully occupied, the monitoring data will be stored in the data buffer queue. If the buffer is full, the transmission of monitoring data to the data buffer queue will stop, and the monitoring data will be temporarily stored in a pre-set memory according to the order of receipt. The data buffer queue sends the monitoring data to the central control terminal in the order of storage time.

10. The data transmission method for a monitoring device for sludge return from external channels in a wastewater treatment plant, as described in claim 9, is characterized in that... The step of stopping the transmission of monitoring data to the data buffer queue and temporarily storing the monitoring data in a pre-set memory according to the receiving order includes: The current occupancy rate is compared with the preset queue idle threshold to determine whether the data buffer queue space is sufficient; If so, the temporary data in the memory is migrated to the data buffer queue in chronological order of its temporary storage time. If not, the temporary data in the memory will not be migrated to the data buffer queue.