Water supply safety water quality monitoring control method of shared water gun system

By constructing an electromagnetic interference feature capture chain and a time-varying isolation loop in the shared water gun system, electromagnetic spurious peaks are identified and reduced, ensuring the stable operation of water quality monitoring nodes in a strong electromagnetic radiation environment. This solves the problem of false signals triggering supply interruptions and achieves water supply safety and monitoring stability.

CN121899352APending Publication Date: 2026-04-21HEFEI PINGUAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
HEFEI PINGUAN TECH CO LTD
Filing Date
2025-12-30
Publication Date
2026-04-21

Smart Images

  • Figure CN121899352A_ABST
    Figure CN121899352A_ABST
Patent Text Reader

Abstract

The invention discloses a water supply safety water quality monitoring control method of a shared water gun system, and relates to the technical field of Internet of Things and intelligent water affair monitoring, and the method comprises the following steps: constructing an electromagnetic interference characteristic capture chain along a monitoring node signal path, taking a continuous time sequence as a reference to extract a continuous distribution curve of a high-frequency burst peak value, and calibrating the position of electromagnetic coupling entering a signal channel, and generating an interference time domain stripe. According to the invention, through cooperative control of electrical domain anti-phase suppression and time domain slippage avoidance, adaptive anti-interference and stable transmission of signals are realized, so that the monitoring node keeps continuous operation in a strong electromagnetic environment. Through combination of peak clipping, isolation and delay compensation, balanced distribution of signals in energy and time is realized, supply interruption caused by false triggering is prevented, and safety and monitoring precision of public water supply are guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of Internet of Things and smart water monitoring technology, specifically to a method for monitoring and controlling the water quality and safety of a shared water gun system. Background Technology

[0002] Water quality monitoring and control for shared water gun systems refers to establishing a safety assurance mechanism that integrates sensor detection, data acquisition, intelligent analysis, and automatic control within public water supply equipment such as shared water guns. The system continuously samples key indicators such as flow rate, water pressure, temperature, residual chlorine, turbidity, pH, and conductivity by deploying multi-parameter sensor nodes along the water supply pipeline and at the outlet, forming a real-time water quality monitoring data chain. This data is then transmitted to a cloud control center via a wireless communication network to perform water quality safety assessments based on threshold judgment and trend prediction. When abnormal detection results are detected, the system automatically triggers valve control, water shut-off, or backwashing operations, and issues warning commands in conjunction with these actions, achieving intelligent supervision and dynamic safety control of the water supply process and ensuring a hygienic and stable supply of public water.

[0003] The existing technology has the following shortcomings: In existing technologies, shared water gun systems typically rely on water quality monitoring nodes installed in the water supply pipeline to monitor key indicators such as residual chlorine, turbidity, and conductivity in real time. However, these monitoring nodes generally employ high-sensitivity analog front-end circuit structures, which are weakly resistant to interference from the external electromagnetic environment. When a high-power wireless transmitting device approaches the monitoring node, the strong electromagnetic radiation signal it generates can enter the analog front-end circuit through spatial coupling or wire induction, forming a high-amplitude pseudo-signal peak. This pseudo-signal is numerically similar to the characteristics of a real pollution abrupt change, causing the monitoring algorithm to misinterpret the situation. The system mistakenly believes that the water quality has deteriorated drastically, thus incorrectly triggering a pollution outbreak warning and initiating an emergency supply interruption process.

[0004] The information disclosed in the background section is only intended to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0005] The purpose of this invention is to provide a method for monitoring and controlling the water quality of a shared water gun system to solve the problems mentioned in the background art.

[0006] To achieve the above objectives, the present invention provides the following technical solution: a method for monitoring and controlling the water quality and safety of a shared water gun system, comprising the following steps: An electromagnetic interference feature capture chain is constructed along the signal path of the monitoring node. The continuous distribution curve of high-frequency burst peaks is extracted based on the continuous time series. The position of electromagnetic coupling entering the signal path is calibrated, and interference time-domain ripples are generated. The interference time-domain ripples are used as dynamic input data for subsequent identification. Phase shift trajectories are extracted from the energy concentration segments in the interference time-domain ripples. The phase shift trajectories are compared with the energy change curves of real water quality fluctuations to identify abnormal peaks that do not have water quality change characteristics. An electromagnetic pseudo-peak identification list is generated and used as the basis for signal filtering. Based on the electromagnetic pseudo-peak identification list, a blocking control window is set at the front end of the signal path. The phase absorption layer is injected in advance along the identified timing trajectory so that the interference energy is absorbed and reduced before entering the amplifier circuit, thereby obtaining a peak-shaving stable signal flow and providing a stable input for subsequent isolation processing. A time-varying isolation loop is constructed based on the peak-shaving stable signal stream to disperse and release residual interference energy along both ends of the time axis. The peak-shaving boundary is extended by the reverse compensation pulse segment to output a purified detection signal and provide a continuous signal channel for dynamic control. Using the purification detection signal as input, an anti-phase signal is injected into the electrical domain to suppress the pulse chain, and a sliding delay window is applied in the time domain to enable the signal flow to actively avoid strong electromagnetic interference, maintain the stable operation of the monitoring node, and prevent false triggering of power outage control.

[0007] Preferably, the steps for generating interference temporal banding are as follows: The raw electrical signal output by the water quality sensing element is continuously transmitted to the signal acquisition path via the input interface, and a continuous time-series signal stream with time tags is formed at a fixed sampling frequency. Based on the time series, the signal amplitude change trend is scanned point by point along the signal path. High-frequency burst peaks are extracted and the start time, peak amplitude, decay time and duration are recorded to form a high-frequency burst peak continuous distribution curve. The signal path is divided into multiple continuous segments, and the location where electromagnetic coupling enters the signal path is determined by comparing the burst peak distribution curves based on the time delay of each segment. The high-frequency burst peak distribution curve is superimposed with the calibration results to form a two-dimensional correspondence between time and space, generating interference time-domain ripples, and the interference time-domain ripples are used as dynamic input data to be transmitted to the subsequent recognition stage.

[0008] Preferably, the steps for generating the electromagnetic pseudo-peak identification list are as follows: Based on the analysis of interference time-domain ripples, the energy distribution curve is continuously scanned to identify time periods in which the energy continuously increases and the amplitude is higher than that of the neighboring region, and adjacent high-energy peaks are merged to form energy concentration sections. Select a time series signal within the energy concentration zone, trace the rising and falling segments of the signal waveform point by point along the time axis, record the direction of phase change, and form a phase shift trajectory. The phase shift trajectory is compared with the actual water quality fluctuation energy change curve, and the abnormal peak value is determined based on the difference in energy distribution and phase direction. Abnormal peak values ​​are recorded in chronological order, and an electromagnetic spurious peak identification list is established, which includes time range, energy intensity, and phase direction. This electromagnetic spurious peak identification list is used as the basis for signal filtering.

[0009] Preferably, during the phase offset trajectory extraction process within the energy concentration section, the signal amplitude change trend of each sampling point is recorded sequentially based on the start time of the energy concentration section, and the phase extension continuity is determined according to the time interval and change direction between adjacent peaks and troughs, so that the formed phase offset trajectory remains continuous on the time axis and is used to distinguish between electromagnetic interference signals and real water quality fluctuation signals.

[0010] Preferably, the peak-shaving stable signal stream generation steps are as follows: Using the interference time information in the electromagnetic pseudo-peak identification list as the time control benchmark, a blocking interval corresponding to the interference timing is established at the signal path input end, and the signal path amplitude is constrained before the interference energy enters. Using the start time of the blocking control window as the injection reference point, a phase absorption layer is injected along the identified timing trajectory at the front end of the signal path, so that the interference signal is partially canceled out during the energy action period. The phase absorption layer absorbs and reduces interference energy, decomposes the high-amplitude components of the interference signal and converts them into low-amplitude energy, thus obtaining a peak-shaving stable signal stream. Introducing the peak-shaving and stabilized signal stream into the subsequent signal path ensures that the signal remains time-continuous and phase-stable during transmission, providing a balanced input for subsequent isolation processing.

[0011] Preferably, the phase absorption layer is provided with a primary absorption region, a delayed absorption region and an attenuation absorption region in sequence in the signal path. The primary absorption region is used to cancel the initial impact energy of the interference signal, the delayed absorption region is used to absorb the continuous part of the interference energy, and the attenuation absorption region is used to dissipate the residual energy at the tail, so that the peak clipping stable signal stream maintains waveform smoothness and time continuity after energy reduction.

[0012] Preferably, the purification detection signal output process is as follows: Using the peak-shaving stable signal stream as the input signal source, a time-varying isolation ring structure is established in the time dimension of the signal path, so that the high-energy components in the peak-shaving stable signal stream are diverted to the outer isolation path through the energy transfer node; The residual interference energy after diversion is dispersed and released along both ends of the time axis. An energy release segment is established in the outer path, and a slow-release zone is set at both ends of the release segment to keep the energy diffusion process smooth. Reverse compensation pulse segments are injected before and after the time boundary of the peak clipping region. The front compensation pulse segment is used to compensate for energy attenuation, and the back compensation pulse segment is used to balance signal recovery, forming a continuous energy extension band. The time-varying isolation loop and the reverse compensation pulse segment output a purification detection signal, making the signal waveform continuous and the energy balanced, and providing a continuous signal channel for dynamic control.

[0013] Preferably, the steps of using the purification detection signal as input, injecting an inverting signal in the electrical domain to suppress pulse chain, and applying a sliding delay window in the time domain are as follows: Using the purification detection signal as the input signal source, an anti-phase injection path parallel to the main signal path is established in the signal path, so that the positive and negative potentials are mapped in opposite directions to form energy flow directions with opposite phases. Based on the opposite potential sequence in the reverse injection path, a continuous reverse signal pulse chain is injected into the main signal path, so that the interference energy generates phase offset in space and achieves energy cancellation. Using the signal stream processed by the inverse suppression pulse chain as input, a sliding delay window is applied on the time axis to generate a short time delay in signal propagation during high interference periods and achieve active avoidance. The combined effect of phase rejection in the electrical domain and phase shift delay in the time domain results in a stable output signal stream, ensuring continuous signal waveform, balanced energy, stable phase, and continuous operation of the monitoring node.

[0014] The technical effects and advantages provided by the present invention in the above technical solution are as follows: This invention enables monitoring nodes to develop adaptive anti-interference capabilities in environments with strong electromagnetic radiation by constructing an electrical domain anti-phase suppression path and a time domain sliding avoidance mechanism at the front end of the signal path. This structure cancels out interference energy in real time and automatically adjusts the signal transmission time during periods of frequent interference, ensuring continuous and stable signal amplitude, phase, and energy flow, thereby avoiding waveform distortion and signal falsification caused by transient interference. This mechanism effectively ensures that monitoring nodes maintain normal signal acquisition and water quality analysis functions in complex environments, significantly improving the stability and reliability of the water supply monitoring process.

[0015] This invention utilizes the synergistic effects of multi-layer peak clipping, isolation, and delay compensation to pre-reduce interference energy and balance waveforms before the signal enters the amplification stage, resulting in a uniform distribution of the output signal along both the time and energy axes. This technical solution enables the water supply monitoring device to maintain the accuracy of data transmission and the reliability of judgment results even when high-power wireless devices are near or when strong electromagnetic fields change. It fundamentally prevents false triggering of supply interruptions and erroneous warnings, ensuring the safe continuity of public water supply and the long-term stable operation of the monitoring system. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this invention. For those skilled in the art, other drawings can be obtained based on these drawings.

[0017] Figure 1 This is a flowchart of the water supply safety and water quality monitoring and control method of the shared water gun system of the present invention. Detailed Implementation

[0018] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, they are provided so that the description of this disclosure will be more complete and fully convey the concept of the exemplary embodiments to those skilled in the art.

[0019] This invention provides, for example Figure 1 The water supply safety and water quality monitoring and control method for the shared water gun system shown includes the following steps: An electromagnetic interference feature capture chain is constructed along the signal path of the monitoring node. The continuous distribution curve of high-frequency burst peaks is extracted based on the continuous time series. The position of electromagnetic coupling entering the signal path is calibrated, and interference time-domain ripples are generated. The interference time-domain ripples are used as dynamic input data for subsequent identification. The entire process of constructing an electromagnetic interference feature capture chain along the signal path of monitoring nodes includes continuous signal acquisition, time series formation, high-frequency burst peak extraction, electromagnetic coupling location calibration, and interference time-domain ripple generation. The entire process is based on the continuity of the signal path and uses the time dimension as the core reference, ensuring that the variation of interference energy on the time axis is fully captured and accurately mapped to the spatial path. The specific implementation steps are as follows: The raw electrical signal output from the water quality sensor is continuously transmitted to the signal acquisition path via the input interface. This path maintains a fixed sampling frequency, forming a continuous sequence of sampling points on the time axis, with each sampling point having a time stamp. The signal sampling interval is determined based on the rate of change of the sensor's output signal to fully cover the dynamic changes of parameters such as residual chlorine, conductivity, turbidity, pH, and temperature over time. During continuous sampling, each sample value is stored in chronological order, forming a seamless time-series signal stream. To prevent sampling interruptions caused by external interference, the acquisition channel maintains the stability of resistance, capacitance, and grounding impedance in the signal path, ensuring that the amplitude change between any two points in the time series originates entirely from the actual input signal or external electromagnetic coupling. The resulting time series contains the raw fluctuation information of all water quality parameter signals as well as any potential interference components, providing a continuous time-domain basis for subsequent interference extraction.

[0020] Using a time series as a reference, the amplitude variation trend of the signal is scanned point-by-point along the time axis of the signal path. By continuously comparing the amplitude change rate within adjacent time periods, bands exhibiting sharp increases or decreases in amplitude within a short period are identified. For each identified band, its start time, peak amplitude, decay time, and peak duration are recorded. In this way, the temporal distribution characteristics of multiple high-frequency burst peaks can be continuously recorded. Subsequently, all burst peaks are arranged in chronological order of their occurrence, forming a complete high-frequency burst peak duration distribution curve. This distribution curve reflects the energy concentration in different time periods within the signal path and shows the distribution trend of interference energy along the time axis. When electromagnetic interference enters the signal path, it typically forms multiple sharp-amplitude, short-duration burst peaks within a short period. This distribution curve clearly distinguishes the time range and duration characteristics of these peaks.

[0021] The signal path is divided into multiple continuous segments according to the transmission path. Each segment represents a different physical location the signal passes through, such as the sensor output segment, connecting wire segment, preamplifier segment, and input matching segment. By detecting the time delay of the signal response in each segment, the time segments in the high-frequency burst peak distribution curve are compared with the segment time delays of the signal path. If high-frequency burst peaks appear concentratedly within a certain time period, and the corresponding delay time matches a specific path segment, then that path segment can be identified as the entry point of the electromagnetically coupled signal. For example, when high-frequency burst peaks are detected to appear concentratedly within a time period corresponding to the input interface delay, this location can be identified as the main coupling point of interference energy; when the peak appears in the delay interval corresponding to the preamplifier path, it indicates that this location may be the propagation channel of the interference signal. In this way, the specific location where interference energy couples into the signal path from the outside can be calibrated in the time series. After calibration, the time point corresponding to each high-frequency burst peak in the time series is associated with the actual physical location of the signal path, thereby achieving a unified correspondence between the time dimension and the spatial path.

[0022] Using the high-frequency burst peak distribution curve as the main line of the time axis, the information of each calibrated coupling position is superimposed on this main line to form a correspondence between time and space. Subsequently, based on the amplitude, duration, and attenuation trend of each interference peak, a continuous distribution interval of interference energy on the time axis is plotted. Each interval forms energy distribution bands of varying depths vertically according to the change in interference intensity. All distribution bands are connected end-to-end to form a complete interference time-domain ripple. This interference time-domain ripple clearly represents the concentrated segment of interference energy in time, its propagation path in space, and its entry point in the signal path. The generated interference time-domain ripple corresponds one-to-one with the continuous time series of the signal path, enabling subsequent interference identification and signal modulation to be analyzed and controlled using this ripple as a reference. Finally, this interference time-domain ripple is continuously transmitted as dynamic input data to subsequent processing stages, allowing the signal path to be accurately identified and targeted for peak reduction control based on the energy changes and time distribution characteristics in the ripple in subsequent steps.

[0023] Phase shift trajectories are extracted from the energy concentration segments in the interference time-domain ripples. The phase shift trajectories are compared with the energy change curves of real water quality fluctuations to identify abnormal peaks that do not have water quality change characteristics. An electromagnetic pseudo-peak identification list is generated and used as the basis for signal filtering. The process of extracting phase shift trajectories from energy-concentrated segments in interference time-domain ripples involves refining the analysis of the time-domain characteristics and energy distribution patterns of electromagnetic interference signals based on the established interference time-domain ripples. This allows for the accurate identification of anomalous peaks that do not possess water quality characteristics, forming an electromagnetic pseudo-peak identification list for subsequent signal filtering. The specific implementation steps are as follows: Based on the analysis of interference temporal ripples, the energy distribution curves are continuously scanned to identify time periods where the energy continuously increases and the amplitude is significantly higher than that of neighboring regions. During these time periods, the energy density remains at a high level, typically corresponding to the energy concentration phase after the electromagnetic interference signal is coupled in the signal path. To achieve complete extraction, adjacent peaks are merged according to temporal continuity during identification, connecting multiple similar high-energy peaks into a complete energy concentration segment. Each energy concentration segment includes five parameters: start time, peak time, peak amplitude, decay time, and energy duration. These parameters collectively describe the distribution of interference energy in the time dimension. By extracting multiple segments, an energy concentration distribution map of the interference signal across the entire time axis can be obtained. After extraction, the start and end times and peak intensities of each segment are recorded in a data table and mapped to their positions in the interference temporal ripples, thus achieving temporal mapping and spatial positioning of the interference energy and providing a clear energy range for subsequent extraction of phase shift trajectories.

[0024] The time-series signal within the energy concentration zone is selected as the analysis object, and the signal amplitude change trend at each sampling point is recorded sequentially. Using the start time of the energy concentration zone as a reference, the rising and falling segments of the signal waveform are traced point by point along the time axis, and the time interval and amplitude change direction of each segment are identified. Through this continuous tracking method, the phase change direction of the signal at each instant during time progression can be determined. The formation process of the phase shift trajectory includes four key elements: first, determining the correspondence between each peak and trough; second, recording the time interval between adjacent peaks and troughs; third, determining the change trend direction of each phase segment; and fourth, calculating the phase extension continuity throughout the entire zone. Normal water quality signals typically exhibit slow, uniform, and periodic phase changes, while the phase shift trajectory of electromagnetic interference signals within the energy concentration zone will show irregular directional jumps, short-term abrupt changes, or phase extension interruptions. By continuously tracking the phase changes throughout the entire energy concentration zone, a trajectory curve with continuity on the time axis but a phase shift direction significantly different from that of normal water quality signals can be obtained. After extraction, the phase shift trajectory is recorded in chronological order to form a temporal phase change sequence corresponding to the energy concentration segment.

[0025] The energy change curve of real water quality fluctuations recorded under stable water supply conditions was selected as the reference curve. This curve reflects the natural trend of water quality parameters changing over time under conditions without external interference. Real water quality fluctuation curves typically exhibit a flat amplitude, continuous energy change, and stable phase transition pattern on the time axis. Using the time range of the energy concentration section as a benchmark, the time scale of the phase shift trajectory was aligned one-to-one with the time scale of the real water quality fluctuation curve, comparing the energy change direction, amplitude change rate, and phase extension characteristics of both within the same time interval. If the phase shift trajectory exhibits frequent reverse changes, instantaneous energy jumps, or short and discontinuous durations within a certain time period, while the corresponding real water quality fluctuation curve maintains a flat change within the same time period, then the signal within that time period can be identified as an abnormal peak. The criteria for identifying abnormal peaks include energy distribution not conforming to the water quality change pattern, phase change direction inconsistent with the real fluctuation, and peak duration being too short and decaying too quickly. The time points, energy intensity, phase change direction, and decay characteristics of all abnormal peaks were summarized to distinguish the differences between interference signals and real water quality signals. By comparing segments in this way, interference spurious peak signals can be accurately separated from real water quality change signals, while maintaining a consistent time correspondence.

[0026] Each identified anomalous peak is arranged chronologically, and a record item containing multiple elements is created for each peak. Each record item includes the peak's time range, energy concentration intensity, phase change direction, duration, and relative energy decay rate. All records are compiled into an electromagnetic pseudo-peak identification list based on their chronological order. To ensure the list's traceability, each anomalous peak record also includes its position index in the interference time-domain ripple, allowing subsequent signal processing stages to directly correspond to the specific interference time period in the signal path. After the electromagnetic pseudo-peak identification list is generated, it serves as a signal filtering reference. During subsequent signal transmission and analysis, when a new signal data stream enters the processing path, if a signal segment on the time axis overlaps with the time range identified in the list, this signal segment is considered an interference signal interval. The signal amplitude in this interval can be weakened or shielded according to the list's content, thereby preventing interference energy from entering subsequent analysis stages. In this way, the electromagnetic pseudo-peak identification list not only achieves a systematic recording of interference peaks but also establishes a signal filtering foundation corresponding to the three dimensions of time, energy, and phase, enabling the signal path to maintain stable signal output even in complex electromagnetic environments.

[0027] Based on the electromagnetic pseudo-peak identification list, a blocking control window is set at the front end of the signal path. The phase absorption layer is injected in advance along the identified timing trajectory so that the interference energy is absorbed and reduced before entering the amplifier circuit, thereby obtaining a peak-shaving stable signal flow and providing a stable input for subsequent isolation processing. The process of setting a blocking control window at the front end of the signal path based on the electromagnetic spurious peak identification list is a crucial step in electromagnetic interference suppression. This process aims to utilize the previously identified interference time series and energy distribution characteristics to attenuate interference energy at the signal path's entry point through precise time blocking and phase absorption operations, before the signal enters the amplification circuit. This ensures a stable signal waveform during transmission, providing a stable input foundation for subsequent interference isolation and energy dispersion. The specific implementation process is as follows: Each interference record in the electromagnetic spurious peak identification list is used as a time control reference. The list includes the start time, duration, peak amplitude, energy concentration intensity, and phase shift direction of the interference, which together constitute a complete description of the interference timing trajectory. Based on this timing trajectory, a set of time-corresponding blocking intervals are established at the input of the signal path. The start time of each blocking interval corresponds to the occurrence time of the interference peak in the list, and its end time coincides with the interference energy decay time. The blocking control window is represented as a continuous and controllable time interval on the time axis, and its function is to constrain the amplitude of the input signal path in advance before the interference energy enters the signal path. During implementation, the input path of the signal path is divided into multiple continuous segments, each corresponding to one or more blocking control windows. When the time point of the detected input signal approaches a certain interference interval, the blocking control window of that interval is activated, causing the signal transmission channel of the input path to enter a controlled state during that time period. In the controlled state, the current transmission amplitude of the input signal is limited to a safe range to prevent high-amplitude interference energy from being directly transmitted to the subsequent amplification stage along the input path. The opening and closing of the blocking control window is carried out strictly in the order of interference in the identification list on the timeline, so as to intercept the interference period in advance and reserve time and space for subsequent energy absorption operations.

[0028] Using the start time of the blocking control window as the injection reference point, a phase absorption layer is introduced into the front end of the signal path during the extremely short time before the interference energy enters the input path. The phase absorption layer is a time-delay structure used to create an energy phase opposite to the interference signal in the signal transmission path, thereby weakening and dissipating the interference energy. The injection process employs a step-by-step superposition method. First, a primary absorption region is established in the input path, coinciding with the start of the blocking control window in time, to offset the initial impact energy of the interference signal. Then, a delayed absorption region is established in the middle section to absorb the sustained portion of the interference energy. Finally, an attenuation absorption region is established at the end to eliminate residual energy at the tail of the interference signal. The entire injection process maintains complete consistency with the time trajectory of the blocking control window, ensuring the phase absorption layer remains active throughout the interference energy's action. By superimposing its phase inverse with the interference signal, the phase absorption layer partially cancels out the transient energy, thus reducing the signal amplitude. After processing by the phase absorption layer, the peak energy of the interference signal is effectively reduced, and the waveform becomes smoother. The phase absorption layer automatically returns to its initial state after the interference period ends to prevent it from affecting the phase of the normal signal, thereby maintaining the time consistency of the signal path.

[0029] When an interfering signal encounters the phase absorption layer, the energy components with opposite phases form a local energy cancellation region in the signal path. This region has a low energy density, causing the high-amplitude components of the interfering signal to be gradually decomposed and converted into low-amplitude energy. During this process, the blocking control window remains semi-open, allowing the weakened signal to pass through but limiting its energy peak value to prevent excessive energy accumulation of the input signal before the amplification circuit. After passing through the phase absorption layer, the amplitude waveform of the interfering signal gradually becomes flat, and the energy density changes from a concentrated state to a dispersed state. At this point, the energy flow within the signal path remains stable, and sudden peaks no longer occur. To ensure continuous signal transmission, the entire absorption and reduction process is carried out using a time-continuous control method. That is, during the attenuation of interfering energy, the intensity of the phase absorption layer is gradually reduced, allowing the signal to naturally transition to a stable state after the peak-shaving stage. The signal flow after absorption and reduction retains the original fluctuation trend of water quality parameter changes while removing abnormal high-frequency components caused by electromagnetic interference. This signal flow maintains a balanced amplitude and continuous energy distribution, providing a stable input for subsequent energy isolation and dispersed release.

[0030] After phase absorption and energy reduction processing, the peak-shaving stabilized signal stream has a smooth waveform and continuous time. This signal stream is introduced into the subsequent isolation path, enabling subsequent stages to operate under stable input conditions. At this point, the peak-shaving stabilized signal stream no longer contains high-energy abrupt changes, and its peak amplitude is within the allowable range of the signal path. To maintain the continuity of the signal path, the peak-shaving stabilized signal stream is transmitted within the original sampling time step, ensuring that the input of the subsequent path and the output of the previous stage are completely consistent on the time axis. After passing through the inlet section of the signal path, the peak-shaving stabilized signal stream serves as the basic input for the subsequent time-varying isolation loop and reverse compensation structure, providing the starting conditions for the redistribution and reverse release of interference energy. Since the phase of the peak-shaving stabilized signal stream has been corrected, its input will not trigger new interference reflections or phase distortions, thus keeping the signal stable in the transmission link. Finally, the output of the peak-shaving stabilized signal stream provides a balanced energy input for subsequent stages, enabling the entire signal path to maintain stable operation and output a true and effective water quality monitoring signal in an electromagnetic interference environment.

[0031] A time-varying isolation loop is constructed based on the peak-shaving stable signal stream to disperse and release residual interference energy along both ends of the time axis. The peak-shaving boundary is extended by the reverse compensation pulse segment to output a purified detection signal and provide a continuous signal channel for dynamic control. The process of constructing a time-varying isolation loop based on the peak-shaving stabilized signal flow is a crucial step undertaken after the peak-shaving stabilized signal flow is formed, in order to further diffuse and rebalance the residual electromagnetic interference energy in the signal over time. The specific steps are as follows: Using a peak-shaving stabilized signal stream as the input signal source, this signal stream, after undergoing blocking and phase absorption processing in the previous stage, has eliminated high-amplitude abrupt changes. However, some residual interference energy remains in the energy distribution. To prevent this residual energy from re-accumulating or superimposing in the signal path, a time-varying isolation ring structure is established along the time dimension of the signal path. This time-varying isolation ring uses the time axis as a reference coordinate, forming a ring-shaped energy conduction path in the signal path. The inner ring is responsible for transmitting the main signal energy after peak-shaving processing, while the outer ring is responsible for separating and carrying residual interference energy. In implementation, multiple energy transfer nodes are sequentially arranged along the time axis in the signal path, allowing the peak-shaving stabilized signal stream to transfer some high-energy components to the outer isolation ring path based on its local energy density as it passes through. Each energy transfer node independently responds to changes in the input signal's energy during operation. When the local energy of the signal exceeds a set threshold, the node instantaneously opens its energy transfer channel, guiding the excess energy from the main path to the outer layer of the isolation ring. In this way, the energy in the peak-shaving and stabilizing signal stream is redistributed over time. The high-energy portion is orderly diverted to the outer path, while the low-energy portion remains continuously transmitted in the main path, thus forming a transmission state with distinct energy levels and continuous time in the overall signal. This time-varying isolation loop can adjust the energy transfer ratio in real time according to changes in signal energy, making the isolation process time-responsive and energy-balanced, providing stable starting conditions for the subsequent dispersion and release of interference energy.

[0032] The residual interference energy introduced into the outer path through energy transfer nodes is dispersed and released over time. To achieve a smooth expansion of energy in the time dimension, multiple energy release segments are established in the outer path, each corresponding to a different time interval in the signal path. The release duration of each energy release segment is determined based on the waveform period of the peak-shaving stabilized signal flow, ensuring that the energy release process is synchronized with the time variation of the signal. When the residual interference energy is introduced into the outer path, it diffuses sequentially towards the front and back ends of the time in the release segment, gradually releasing energy that was originally concentrated at a certain time point over a wider time range through time extension. To prevent the formation of new fluctuation peaks during the energy release process, a slow-release zone is set at both ends of each release segment. The slow-release zone gradually slows down the energy release rate, making the boundary transition of energy diffusion natural and without abrupt changes. Through this process, the energy remaining after peak clipping no longer accumulates but extends forward and backward along the time axis, making the energy density distribution within the signal path more uniform. The energy gradient of the signal flow after dispersed release is relatively gentle on the time axis, providing a good energy foundation for subsequent peak-shaving boundary extension and waveform compensation.

[0033] The time boundary of the peak-clipping region is identified in the signal path, and reverse compensation pulse segments are injected on both sides of this time boundary as a reference. The reverse compensation pulse segment is a time-symmetric energy compensation structure. Its function is to establish a balanced energy band before and after the peak-clipping region to fill the energy gap generated during the peak-clipping process, ensuring the continuity of energy transfer in the signal waveform at the peak-clipping boundary. Specifically, a first compensation pulse segment is injected at the front end of the peak-clipping region. The energy amplitude of this pulse segment is slightly lower than the signal energy before peak-clipping, and its duration corresponds to the energy decrease time in the peak-clipping region, compensating for the energy attenuation of the signal when entering the peak-clipping stage. Subsequently, a second compensation pulse segment is injected at the rear end of the peak-clipping region. The energy amplitude of this pulse segment is slightly higher than the signal energy after peak-clipping, balancing the signal recovery process after peak-clipping. The two compensation pulse segments are symmetrically distributed in time and matched in energy, thus forming a smooth energy extension band in the peak-clipping region. To ensure the continuity of energy transfer, a transition zone is established at the intersection of the compensation pulse segments. The transition zone connects the energy of the two pulse segments, allowing the compensated energy to exhibit a continuous change of gradual increase and gradual decrease in time. Through this reverse compensation method, the sudden drop in energy at the peak clipping boundary is eliminated, the energy change of the signal waveform inside and outside the peak clipping region tends to be smooth, the continuity of the signal is guaranteed, and the impact of the peak clipping process on the overall shape of the signal is effectively reduced.

[0034] After the energy dispersion by the time-varying isolation ring and the energy extension by the reverse compensation pulse segment, the energy flow in the signal path has achieved time distribution equilibrium and phase extension uniformity. At this point, the signal waveform remains continuous on the time axis, with smooth amplitude changes, no longer containing high-frequency spikes caused by residual electromagnetic interference, and no energy gaps formed during peak clipping. This signal flow is used as the purification detection signal and continuously transmitted from the output of the signal path to the subsequent processing stage of the monitoring device. The purification detection signal maintains the sampling period of the original monitoring signal in time, the stable energy ratio after peak clipping in amplitude, and the continuity before peak clipping in phase, thus ensuring that the signal data obtained by the monitoring node truly reflects the actual changes in water quality parameters. To maintain the stability of the purification detection signal during long-term operation, the time-varying isolation ring continuously monitors the energy distribution during signal transmission. When changes in the external electromagnetic environment cause increases or decreases in interference energy, the isolation ring can automatically adjust the energy transfer ratio to keep the output signal in a balanced state. Therefore, the purification detection signal not only completes the complete isolation and compensation of electromagnetic interference energy, but also provides a continuous input channel for subsequent dynamic control in terms of time, enabling the monitoring node to maintain stable signal output performance and continuous data transmission capability in complex electromagnetic environments.

[0035] Using the purification detection signal as input, an anti-phase signal is injected into the electrical domain to suppress the pulse chain, and a sliding delay window is applied in the time domain to enable the signal flow to actively avoid strong electromagnetic interference, maintain the stable operation of the monitoring node, and prevent false triggering of power outage control. The process of injecting an inverted signal to suppress pulse chains in the electrical domain and applying a sliding delay window in the time domain, using the purification detection signal as input, is a crucial stage designed to further enhance the signal's immunity to disturbances in strong electromagnetic interference environments, following peak clipping, isolation, and energy compensation. This process, through the synergistic effect of inverted energy cancellation in the electrical domain and delay sliding in the time domain, enables the signal to automatically adjust its transmission state when electromagnetic interference intensity changes, forming an active avoidance mechanism. This establishes a stable signal operation channel within the monitoring node, preventing false alarms or power outages caused by transient interference. The specific steps are as follows: The purified detection signal, after peak clipping and isolation, is used as the input signal source. This signal has a smooth waveform and stable energy distribution. To create an anti-phase energy cancellation path in the electrical domain, an anti-phase injection path corresponding to the main signal path needs to be established in the signal path. The anti-phase injection path and the main signal path are arranged in parallel in structure, with their length, path impedance, and signal delay characteristics consistent to ensure synchronous propagation of the two signals in space. This path uses a common ground reference point for electrical connection. By introducing a phase reversal structure at the input, the positive and negative potentials of the purified detection signal are mapped in reverse to an anti-phase energy signal. During signal flow, when the potential in the main path is a positive half-wave, the anti-phase path generates a negative half-wave of equal amplitude; when the potential in the main path is a negative half-wave, the anti-phase path generates a positive half-wave of equal amplitude, thus forming potential changes in completely opposite directions. At this time, two energy flow directions with opposite phases exist simultaneously in the electrical domain, providing a stable phase reference and energy path for the subsequent generation of anti-phase signal suppression pulse chains. In this way, the main pathway and the anti-pathway form a complementary relationship, so that at the same time, the main pathway undertakes the task of signal transmission and the anti-pathway undertakes the task of energy cancellation. The synergistic effect of the two provides the basic conditions for interference suppression.

[0036] Using the opposite potential sequence formed in the anti-phase injection path, anti-phase signal pulses are periodically injected into the main signal path. Each anti-phase signal pulse maintains the same time period as the main signal waveform, and its start time corresponds to the peak time of the interference signal. The pulse energy amplitude is determined based on the energy intensity of the purification detection signal, ensuring that the anti-phase energy is completely opposite in direction to the interference energy in the main path. When the interference signal suddenly enters the main path with a high amplitude, the anti-phase pulse releases a potential of opposite polarity within the same time period, causing the interference energy to spatially phase-counteract, thus achieving energy cancellation. To maintain the continuity of the cancellation effect, the suppression pulse chain consists of multiple adjacent pulses, which are connected end-to-end in time to form a continuous energy band. The width of the pulse chain covers the entire time interval of the interference signal's action, and its amplitude distribution gradually weakens from the center to both ends, making the energy cancellation process a smooth transition in time. After injection, the interference energy in the main path is weakened, the high-frequency components are balanced, the remaining signal energy remains stable in amplitude, and the waveform tends to be flat. At this time, the energy flow in the electrical domain is bidirectional. Part of the energy propagates forward along the main path, while the other part propagates backward along the reverse path. Through continuous anti-phase injection, the interference energy is dynamically weakened, so that the signal path maintains an energy balance at the electrical level.

[0037] Using the signal stream processed by the anti-phase suppression pulse chain as the input signal, a sliding delay window is applied to the signal propagation process on the time axis, enabling the signal to automatically adjust its transmission time according to the temporal distribution characteristics of electromagnetic interference intensity. The sliding delay window slides along the signal time axis, its function being to provide a short delay to the signal propagation during periods of high interference, thereby avoiding areas of dense interference energy. When high-power electromagnetic radiation or transient discharge interference occurs in the external environment, the detected interference signal fluctuations will trigger the time offset function of the sliding window, causing the signal path to pause its forward propagation during that period, resuming normal time stepping after the interference energy weakens. To ensure the continuity of the signal waveform, the sliding delay window employs a gradual time offset method when opening and closing; that is, the time offset is gradually increased at the beginning of the delay and gradually decreased during the recovery phase, making the signal change on the time axis smooth and without abrupt changes. This process enables the signal to actively avoid interference in the time dimension, thereby preventing the overlap of interference energy and signal energy in time. After the signal undergoes slip delay processing, its timing is automatically adjusted according to the interference intensity, ensuring that the signal can be transmitted at a stable speed under any interference conditions, thereby maintaining the continuity and integrity of the signal flow inside the monitoring node.

[0038] After dual-domain processing, the signal stream maintains waveform continuity, energy distribution equilibrium, and phase stability. The anti-phase suppression pulse chain in the electrical domain spatially cancels out interference energy, limiting the signal amplitude range to a safe interval. The sliding delay window in the time domain finely controls signal propagation time, ensuring the signal avoids high-interference periods and achieves stable time progression. The resulting signal stream exhibits stable transmission characteristics, with smooth amplitude changes and uniform, continuous energy distribution along the time axis. This signal stream is directly transmitted to the data acquisition terminal of the monitoring node for real-time water quality parameter measurement. Because the signal possesses automatic suppression and avoidance capabilities during transmission, it will not experience erroneous amplitude fluctuations or sudden anomalies when external environmental disturbances such as electromagnetic interference waves, transient signals from wireless transmitters, or high-voltage discharge disturbances occur, thus preventing the monitoring node from misinterpreting a sudden change in water quality. This stable output signal ensures that the monitoring node can maintain continuous operation even in environments with strong electromagnetic interference, avoiding supply interruptions due to misidentification. The entire process ensures energy balance at the electrical level and stable transmission at the temporal level, enabling monitoring nodes to have adaptive anti-interference capabilities in complex environments, and ensuring the continuous, accurate and reliable operation of the public water supply safety monitoring process.

[0039] This invention enables monitoring nodes to develop adaptive anti-interference capabilities in environments with strong electromagnetic radiation by constructing an electrical domain anti-phase suppression path and a time domain sliding avoidance mechanism at the front end of the signal path. This structure cancels out interference energy in real time and automatically adjusts the signal transmission time during periods of frequent interference, ensuring continuous and stable signal amplitude, phase, and energy flow, thereby avoiding waveform distortion and signal falsification caused by transient interference. This mechanism effectively ensures that monitoring nodes maintain normal signal acquisition and water quality analysis functions in complex environments, significantly improving the stability and reliability of the water supply monitoring process.

[0040] This invention utilizes the synergistic effects of multi-layer peak clipping, isolation, and delay compensation to pre-reduce interference energy and balance waveforms before the signal enters the amplification stage, resulting in a uniform distribution of the output signal along both the time and energy axes. This technical solution enables the water supply monitoring device to maintain the accuracy of data transmission and the reliability of judgment results even when high-power wireless devices are near or when strong electromagnetic fields change. It fundamentally prevents false triggering of supply interruptions and erroneous warnings, ensuring the safe continuity of public water supply and the long-term stable operation of the monitoring system.

[0041] The foregoing has only described certain exemplary embodiments of the present invention by way of illustration. Undoubtedly, those skilled in the art can modify the described embodiments in various ways without departing from the spirit and scope of the present invention. Therefore, the foregoing drawings and descriptions are illustrative in nature and should not be construed as limiting the scope of protection of the claims of the present invention.

Claims

1. A method for monitoring and controlling the water quality and safety of a shared water gun system, characterized in that, Includes the following steps: An electromagnetic interference feature capture chain is constructed along the signal path of the monitoring node. The continuous distribution curve of high-frequency burst peaks is extracted based on the continuous time series, the position of electromagnetic coupling entering the signal path is calibrated, and interference time domain ripples are generated. Phase shift trajectories are extracted from the energy concentration segments in the interference time-domain ripples. The phase shift trajectories are compared with the energy change curves of real water quality fluctuations to identify abnormal peaks that do not have water quality change characteristics and generate an electromagnetic pseudo-peak identification list. Based on the electromagnetic pseudo-peak identification list, a blocking control window is set at the front end of the signal path, and the phase absorption layer is injected in advance along the identified timing trajectory so that the interference energy is absorbed and reduced before entering the amplifier circuit, thereby obtaining a peak-shaving stable signal flow. A time-varying isolation loop is constructed based on the peak-shaving stable signal stream to disperse and release residual interference energy along both ends of the time axis. The peak-shaving boundary is extended by the reverse compensation pulse segment to output a purified detection signal. Using the purification detection signal as input, an anti-phase signal suppression pulse chain is injected into the electrical domain, and a sliding delay window is applied in the time domain, enabling the signal flow to actively avoid strong electromagnetic interference environments.

2. The method for monitoring and controlling water quality and safety in a shared water gun system according to claim 1, characterized in that, The steps for generating interference temporal banding are as follows: The raw electrical signal output by the water quality sensing element is continuously transmitted to the signal acquisition path via the input interface, and a continuous time-series signal stream with time tags is formed at a fixed sampling frequency. Based on the time series, the signal amplitude change trend is scanned point by point along the signal path. High-frequency burst peaks are extracted and the start time, peak amplitude, decay time and duration are recorded to form a high-frequency burst peak continuous distribution curve. The signal path is divided into multiple continuous segments, and the location where electromagnetic coupling enters the signal path is determined by comparing the burst peak distribution curves based on the time delay of each segment. The high-frequency burst peak distribution curve is superimposed with the calibration results to form a two-dimensional correspondence between time and space, generating interference time-domain ripples, and the interference time-domain ripples are used as dynamic input data to be transmitted to the subsequent recognition stage.

3. The water quality monitoring and control method for the shared water gun system according to claim 2, characterized in that, The steps for generating the electromagnetic pseudo-peak identification list are as follows: Based on the analysis of interference time-domain ripples, the energy distribution curve is continuously scanned to identify time periods in which the energy continuously increases and the amplitude is higher than that of the neighboring region, and adjacent high-energy peaks are merged to form energy concentration sections. Select a time series signal within the energy concentration zone, trace the rising and falling segments of the signal waveform point by point along the time axis, record the direction of phase change, and form a phase shift trajectory. The phase shift trajectory is compared with the actual water quality fluctuation energy change curve, and the abnormal peak value is determined based on the difference in energy distribution and phase direction. Abnormal peak values ​​are recorded in chronological order and an electromagnetic spurious peak identification list is established, which is then used as the basis for signal filtering.

4. The water supply safety and water quality monitoring and control method for the shared water gun system according to claim 3, characterized in that, During the extraction of phase offset trajectory within the energy concentration zone, the starting time of the energy concentration zone is used as a reference to record the signal amplitude change trend of each sampling point in sequence. The phase extension continuity is determined based on the time interval and change direction between adjacent peaks and troughs, so that the formed phase offset trajectory remains continuous on the time axis and is used to distinguish between electromagnetic interference signals and real water quality fluctuation signals.

5. The water quality monitoring and control method for the shared water gun system according to claim 3, characterized in that, The steps for generating a peak-shaving stable signal stream are as follows: Using the interference time information in the electromagnetic pseudo-peak identification list as the time control benchmark, a blocking interval corresponding to the interference timing is established at the signal path input end, and the amplitude of the signal path is constrained before the interference energy enters. Using the start time of the blocking control window as the injection reference point, a phase absorption layer is injected along the identified timing trajectory at the front end of the signal path, so that the interference signal is partially canceled out during the energy action period. The phase absorption layer absorbs and reduces interference energy, decomposes the high-amplitude components of the interference signal and converts them into low-amplitude energy, thus obtaining a peak-shaving stable signal stream. Introducing the peak-shaving and stabilized signal stream into the subsequent signal path ensures that the signal remains time-continuous and phase-stable during transmission, providing a balanced input for subsequent isolation processing.

6. The method for monitoring and controlling water quality and safety in a shared water gun system according to claim 5, characterized in that, The phase absorption layer has a primary absorption region, a delayed absorption region, and an attenuation absorption region in sequence in the signal path. The primary absorption region is used to cancel the initial impact energy of the interference signal, the delayed absorption region is used to absorb the continuous part of the interference energy, and the attenuation absorption region is used to dissipate the residual energy at the tail, so that the peak clipping stable signal stream maintains waveform smoothness and time continuity after energy reduction.

7. The method for monitoring and controlling water quality and safety in a shared water gun system according to claim 5, characterized in that, The purification detection signal output process is as follows: Using the peak-shaving stable signal stream as the input signal source, a time-varying isolation ring structure is established in the time dimension of the signal path, so that the high-energy components in the peak-shaving stable signal stream are diverted to the outer isolation path through the energy transfer node; The residual interference energy after diversion is dispersed and released along both ends of the time axis. An energy release segment is established in the outer path, and a slow-release zone is set at both ends of the release segment to keep the energy diffusion process smooth. Reverse compensation pulse segments are injected before and after the time boundary of the peak clipping region. The front compensation pulse segment is used to compensate for energy attenuation, and the back compensation pulse segment is used to balance signal recovery, forming a continuous energy extension band. The time-varying isolation loop and the reverse compensation pulse segment output a purification detection signal, making the signal waveform continuous and the energy balanced, and providing a continuous signal channel for dynamic control.

8. The method for monitoring and controlling the water quality of a shared water gun system according to claim 7, characterized in that, Using the purification detection signal as input, the steps of injecting an inverting signal in the electrical domain to suppress pulse chain and applying a sliding delay window in the time domain are as follows: Using the purification detection signal as the input signal source, an anti-phase injection path parallel to the main signal path is established in the signal path, so that the positive and negative potentials are mapped in opposite directions to form energy flow directions with opposite phases. Based on the opposite potential sequence in the reverse injection path, a continuous reverse signal pulse chain is injected into the main signal path, so that the interference energy generates phase offset in space and achieves energy cancellation. Using the signal stream processed by the inverse suppression pulse chain as input, a sliding delay window is applied on the time axis to generate a short time delay in signal propagation during high interference periods and achieve active avoidance. The combined effect of phase rejection in the electrical domain and phase shift delay in the time domain results in a stable output signal stream, ensuring continuous signal waveform, balanced energy, stable phase, and continuous operation of the monitoring node.