A Multi-Depth Synchronous Sampling Control Method and System for Wastewater Based on Fluid Disturbance Prevention
By calculating the static pressure impedance characteristic and coordinating control commands, the problems of motion deviation and turbulence caused by static pressure differences in deep sewage sampling were solved, realizing undisturbed sampling in the multi-depth synchronous sampling process and maintaining the representativeness of the water layer.
Patent Information
- Application Number
- CN202611275018.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-21
- Publication Date
- 2026-11-17
AI Technical Summary
During deep wastewater sampling, static water pressure differences cause deviations in the sampling mechanism's operation, disrupting the static pressure balance in the vertical direction of the water body. Furthermore, the high pressure difference causes turbulence, impairing the representativeness of the sampling.
The main controller calculates the hydrostatic impedance characteristics of each sampling unit, generates a multi-depth hydrostatic impedance matrix, synthesizes a coordinated control command to make the sampling valves open synchronously, and outputs a pulse width modulation signal through the motor drive circuit to control the inlet flow rate, suppress turbulence, and maintain the integrity of the water layer.
It achieves zero-time-difference, undisturbed synchronous sampling at various water depths, protecting the original particle size distribution integrity of biological flocs and sedimented particles in wastewater.
Smart Images

Figure CN123113516A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of water sampling technology, specifically relating to a method and system for simultaneous multi-depth sampling control of sewage based on fluid disturbance prevention. Background Technology
[0002] Currently, there are large-scale deep water treatment facilities such as deep drainage tunnel systems for cities, ultra-high vertical anaerobic reactors for industrial wastewater, and leachate collection wells for large landfills. These facilities typically require vertical gradient monitoring of deep-water wastewater quality to assess treatment efficiency and operational status. In these deep-water wastewater environments, wastewater often exhibits significant physical stratification along the vertical direction due to gravity settling, with stable water layers of varying suspended particle concentrations and floc structures distributed from top to bottom. To obtain the true distribution of pollution indicators at each level in the water body, it is necessary to simultaneously collect water samples at multiple depths using sampling devices to accurately reconstruct the vertical distribution characteristics of water quality.
[0003] However, during deep wastewater sampling, the static water pressure at each sampling point increases linearly with increasing sampling depth, resulting in significant differences in the external fluid resistance faced by sampling mechanisms at different depths at the moment of activation. Under conventional control mode, when sampling mechanisms at different depths receive a unified action command, the difference in resistance caused by the static water pressure on the actuators leads to deviations in the activation time of the actuators, thereby disrupting the static pressure balance in the vertical direction of the water body. Simultaneously, the large internal and external pressure difference in the deep water area causes wastewater to impact the sampling port at a high velocity in the initial stage of inflow, inducing turbulence in local areas. This causes cross-layer entrainment flow, destroying the original morphology of suspended particles and bioflocs, ultimately resulting in the loss of stratification representativeness of the collected water samples. Summary of the Invention
[0004] This invention provides a method and system for simultaneous multi-depth sampling control of sewage based on fluid disturbance prevention, in order to solve the above-mentioned technical problems.
[0005] In a first aspect, the present invention provides a multi-depth synchronous sampling control method for wastewater based on fluid disturbance prevention, applied to a sampling device including a main controller and several sampling units arranged along the depth direction. Each sampling unit includes a sampling chamber equipped with a sampling valve, a drive motor for controlling the sampling valve, a motor drive circuit, and a current sampling circuit. The main controller is electrically connected to the motor drive circuit and the current sampling circuit in each sampling unit. The method includes the following steps: The main controller controls each motor drive circuit to send pulse signals to the corresponding drive motor, and the current sampling circuit collects the slope of the response current rise of the drive motor during the duration of the pulse signal. The hydrostatic impedance characteristics of each sampling unit at the corresponding water depth are calculated based on the rise slope of the response current, and a multi-depth hydrostatic impedance matrix is constructed based on all hydrostatic impedance characteristics. The start-up delay time and power increment slope of each sampling unit are calculated based on the multi-depth static pressure impedance matrix. By combining the start-up delay time and the power increment slope to synthesize a coordinated control command, and based on the coordinated control command, the phase bias drive is executed through each motor drive circuit to drive the sampling valves of each sampling unit to open synchronously at the same time. During the water intake process after the sampling valve is opened, the motor drive circuit outputs a pulse width modulation signal to drive the drive motor to maintain operation, and the back electromotive force characteristics of the drive motor are collected through the current sampling circuit. Based on the back electromotive force characteristics, the duty cycle of the pulse width modulation signal is dynamically adjusted by the main controller to control the water intake velocity of the sampling chamber within the preset velocity threshold. When a sudden change in the operating current of the drive motor is detected by the current sampling circuit, the control pulse width modulation signal is output in a decreasing manner according to a preset attenuation curve to decelerate and close the sampling valve.
[0006] Optionally, the step of calculating the hydrostatic impedance characteristic of each sampling unit at the corresponding water depth based on the rise slope of the response current, and constructing a multi-depth hydrostatic impedance matrix based on all hydrostatic impedance characteristic values includes the following steps: During the duration of the pulse signal, the stator winding current of the drive motor is continuously sampled by the current sampling circuit to obtain a discrete current response sequence. By performing a difference operation on the discrete current response sequence, the linear rising interval of the rising slope of the response current is extracted. The equivalent dynamic inductance value of the drive motor is obtained by fitting the rise slope of the response current in the linear rise interval. The equivalent dynamic inductance value is input into the preset impedance mapping model to calculate the static friction torque generated by the hydrostatic pressure on the sampling valve at the corresponding water depth. The static friction torque is then calibrated as the static pressure impedance characteristic quantity of the sampling unit at the corresponding water depth. All hydrostatic impedance characteristics are reconstructed according to the depth order of each sampling unit, generating a multi-depth hydrostatic impedance matrix representing the full-depth water pressure distribution.
[0007] Optionally, the step of inputting the equivalent dynamic inductance value into a preset impedance mapping model to calculate the static friction torque generated by the hydrostatic pressure exerted by the sampling valve at the corresponding water depth includes the following steps: The equivalent dynamic inductance value is substituted into the baseline function curve representing the relationship between inductance change and rotor resistance in the preset impedance mapping model, and the external mechanical impedance value borne by the rotor of the drive motor when it remains stationary is calculated by inversion. The static lateral positive pressure borne by the valve core of the sampling valve is obtained by removing the pre-calibrated inherent mechanical damping of the drive motor from the external mechanical impedance value. The friction coefficient of the valve core sealing surface of the sampling valve is used to convert the static water lateral normal pressure by multiplying it with the friction coefficient of the valve core sealing surface of the sampling valve to obtain the tangential frictional resistance acting on the valve core sealing surface of the sampling valve. Calculate the product of the tangential frictional resistance and the rotation radius of the sampling valve to obtain the static frictional torque generated by the hydrostatic pressure exerted by the sampling valve at the corresponding water depth.
[0008] Optionally, the step of calculating the start-up delay time and power increment slope of each sampling unit based on the multi-depth hydrostatic impedance matrix includes the following steps: Traverse all static pressure impedance characteristics in the multi-depth static pressure impedance matrix, and select the sampling unit corresponding to the static pressure impedance characteristic with the largest value as the reference sampling unit; The reference resistance overcoming time required for the reference sampling unit to overcome the hydrostatic pressure and open the sampling valve is calculated based on the hydrostatic impedance characteristic of the reference sampling unit. For each of the remaining non-reference sampling units, the estimated action time required for each non-reference sampling unit to overcome the hydrostatic pressure and open the sampling valve is calculated based on the hydrostatic impedance characteristic of each non-reference sampling unit. The difference between the reference overcoming resistance time and the estimated action time corresponding to each non-reference sampling unit is calculated to obtain the start-up delay time of each non-reference sampling unit relative to the reference sampling unit, and the start-up delay time of the reference sampling unit is marked as zero. By combining the static pressure impedance characteristic of each sampling unit with the preset target opening acceleration, the time growth rate of the output voltage duty cycle of the sampling valve corresponding to each sampling unit during the valve opening process is calculated, and the time growth rate is used as the power increase slope of the corresponding sampling unit.
[0009] Optionally, the power increase slope is calculated using the following formula: In the formula, Let be the power increment slope of the i-th sampling unit. The moment of inertia of the drive motor. Activate acceleration for the preset target. Let be the characteristic quantity of the static voltage impedance of the i-th sampling unit. Due to the inherent mechanical damping of the drive motor, The critical angular velocity at the instant the sampling valve opens. This refers to the internal resistance of the stator winding of the drive motor. This is the preset torque constant of the drive motor. Provide a reference voltage for supplying power to the busbar of the motor drive circuit. The preset electrical time constant of the drive motor, It is the maximum hydrostatic impedance characteristic quantity in the multi-depth hydrostatic impedance matrix.
[0010] Optionally, during the water inflow process after the sampling valve is opened, the motor drive circuit outputs a pulse width modulation signal to drive the drive motor to maintain operation, and the back electromotive force characteristics of the drive motor are collected through the current sampling circuit. Based on the back electromotive force characteristics, the duty cycle of the pulse width modulation signal is dynamically adjusted by the main controller to control the water inflow velocity of the sampling chamber within a preset flow velocity threshold. This includes the following steps: During the water intake process after the sampling valve is opened, the motor drive circuit outputs a pulse width modulation signal to drive the drive motor to maintain operation. During the period when the pulse width modulation signal is at a low level and off, the current sampling circuit collects the terminal voltage of the drive motor to obtain the back electromotive force signal. The back electromotive force (EMF) signal of multiple consecutive pulse width modulation cycles is filtered and component stripped, and the high-frequency fluctuation amplitude of the back EMF signal is extracted as the back EMF feature. The instability index, representing the intensity of turbulence in the inlet channel of the sampling valve, is calculated based on the characteristics of the back electromotive force. By comparing the instability index with the preset instability threshold, when the instability index exceeds the instability threshold, the duty cycle of the pulse width modulation signal output to the motor drive circuit is reduced according to the preset negative feedback proportional coefficient, so as to reduce the opening of the sampling valve and constrain the water flow rate in the sampling chamber within the preset flow rate threshold.
[0011] Optionally, filtering and component stripping of the back EMF signal across multiple consecutive pulse width modulation cycles, and extracting the high-frequency fluctuation amplitude of the back EMF signal as a back EMF feature, includes the following steps: Set a fixed-length sliding time window and extract the back electromotive force signal contained within the sliding time window in multiple consecutive pulse width modulation cycles; The back electromotive force signal within the sliding time window is subjected to moving average filtering to fit the fundamental component signal representing the reference state of the rotational speed. The fundamental component signal is subtracted from the back electromotive force signal to separate the ripple interference signal; Perform a discrete Fourier transform on the ripple interference signal to generate the ripple energy spectrum distribution; Locate a preset characteristic frequency window associated with fluid disturbance in the ripple energy spectrum distribution; The energy integral of the spectral amplitude within the characteristic frequency window is calculated by performing energy integration on the frequency band corresponding to the characteristic frequency window. The high-frequency fluctuation amplitude of the back EMF signal is obtained by quantization calculation based on the frequency band energy integral value, and the high-frequency fluctuation amplitude is used as the back EMF characteristic.
[0012] Optionally, when a sudden change in the operating current of the drive motor is detected by the current sampling circuit, the control pulse width modulation signal is output in a decreasing manner according to a preset attenuation curve to decelerate and close the sampling valve to achieve a seal, including the following steps: Throughout the water intake sampling process, the operating current of the drive motor is collected through a current sampling circuit at a preset monitoring cycle; Calculate the differential rate of change of operating current within two adjacent preset monitoring cycles; When the differential rate of change exceeds the preset rate of change threshold and the duration of exceeding the rate of change threshold reaches the preset filtering time window, it is determined that the operating current has changed abruptly and a full sampling chamber signal is generated. In response to the full sampling chamber signal, a preset attenuation curve containing multiple consecutive step-decreasing segments is generated; The duty cycle of the pulse width modulation signal output to the motor drive circuit is gradually reduced according to the preset attenuation curve, driving the drive motor to decelerate smoothly until the sampling valve is fully closed and pressed.
[0013] In a second aspect, the present invention also provides a wastewater multi-depth synchronous sampling control system based on fluid disturbance prevention, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the wastewater multi-depth synchronous sampling control method based on fluid disturbance prevention as described in any one of the first aspects.
[0014] Thirdly, the present invention also provides a computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to perform the wastewater multi-depth synchronous sampling control method based on fluid disturbance prevention according to any one of the first aspects.
[0015] The beneficial effects of this invention are: This invention applies pulse signals to the drive motors of each depth sampling unit before valve opening and detects the rise slope of the response current. It utilizes the physical mapping mechanism between the motor's electromagnetic response and the rotor's static resistance to obtain the static pressure impedance at each depth. Then, based on the multi-depth static pressure impedance matrix, a coordinated control command with time offset and power increment slope is synthesized. This allows each sampling valve in different water depth static pressure environments to open synchronously at the same physical moment, overcoming static friction. This eliminates local pressure changes in the water column caused by actuator timing deviations, making longitudinal convection between different water layers difficult. Furthermore, by implementing a power-progressive slope drive for each drive channel, the sampling valve opening is smoothly amplified from a small gap, suppressing the inflow jet and confluence vortex generated during the release of high pressure differential in deep water areas, and preventing vertical entrainment of different water layers around the sampling port. During the influent sampling process, the high-frequency ripple characteristics of the motor's back electromotive force are captured, and the drive pulse width modulation duty cycle is adjusted back when a flow instability trend is detected. This keeps the influent flow velocity within the laminar flow range with low shear rate as much as possible, effectively protecting the integrity of the original particle size distribution of bioflocs and sedimented particles in the wastewater. Attached Figure Description
[0016] Figure 1 This is a flowchart illustrating a wastewater multi-depth synchronous sampling control method based on fluid disturbance prevention in one embodiment of this application. Detailed Implementation
[0017] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0018] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0019] This application describes a multi-depth synchronous sampling control method for wastewater based on fluid disturbance prevention, applied to a sampling device comprising a main controller and several sampling units arranged along the depth direction. Each sampling unit includes a sampling chamber equipped with a sampling valve, a drive motor for controlling the sampling valve, a motor drive circuit, and a current sampling circuit. The main controller is electrically connected to the motor drive circuit and current sampling circuit in each sampling unit. Specifically, the sampling device includes a rigid support frame and three sampling units fixed at equal intervals along the vertical depth direction on the rigid support frame. Each sampling unit is located at depths of 1m, 3m, and 5m underwater, respectively. Each sampling unit includes a cylindrical pressure-resistant sampling chamber with a volume of 1500mL and an inlet port equipped with a rotating spherical sampling valve with a rotation radius of 0.02m. The valve core sealing surface is fitted with a 2mm thick fluororubber sealing ring. The drive motor is a 48W rated power, 24V rated voltage DC brushless motor, and the output shaft is mechanically connected to the valve stem of the sampling valve via a planetary reduction gearbox with a reduction ratio of 1:30. Each sampling valve has a reset component.
[0020] The motor drive circuit employs a three-phase full-bridge inverter circuit built with six 60V N-channel MOSFET transistors, with the gate drive terminals electrically connected to a dedicated driver chip. The current sampling circuit includes a 0.01Ω manganese-copper shunt resistor connected in series in the lower arm of the inverter bridge. A differential amplifier with a gain of 20 and a bandwidth of 100kHz is connected in parallel across the shunt resistor. The amplifier's output pin is connected to a 12-bit analog-to-digital converter with a conversion rate of 1MSPS. The main controller is equipped with multiple complementary PWM output channels, high-speed analog-to-digital acquisition pins, and an RS485 differential communication bus. The PWM signal output terminals of the main controller are electrically connected to the input terminals of the motor drive circuits in each sampling unit via shielded, tensile-resistant, waterproof cables. The data acquisition input terminals of the main controller are electrically connected to the signal output terminals of the current sampling circuits in each sampling unit, ensuring high anti-interference transmission of multi-depth drive signals and feedback data in the underwater environment.
[0021] Figure 1 This is a flowchart illustrating a wastewater multi-depth synchronous sampling control method based on fluid disturbance prevention in one embodiment. It should be understood that, although... Figure 1 The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 1At least some steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed alternately or in turn with other steps or at least a portion of the sub-steps or stages of other steps. For example Figure 1 As shown, the wastewater multi-depth synchronous sampling control method based on fluid disturbance prevention disclosed in this invention specifically includes the following steps: S101. The main controller controls each motor drive circuit to send pulse signals to the corresponding drive motor, and the current sampling circuit collects the slope of the response current rise of the drive motor during the duration of the pulse signal.
[0022] In this process, after the sampling device is deployed to the water body to be tested, each motor drive circuit outputs a single DC square wave voltage pulse to the stator winding of the drive motor. The amplitude of the DC square wave voltage pulse is set to 24V and the pulse width is set to 5ms. Under the short-time pulse excitation, the rotor of the drive motor remains stationary, and the current inside the stator winding begins to rise. The current sampling circuit uses a 0.01Ω shunt resistor and a differential amplifier circuit with a gain of 20 to continuously and discretely sample the loop current of the stator winding at a sampling frequency of 200kHz, generating a discrete current response sequence containing 1000 current values. A backward first-order differential calculation is performed on the discrete current response sequence, and the range of differential value fluctuation within ±2% is identified as the linear rise interval, corresponding to 1.5ms to 3.5ms after the pulse is applied. Within the linear rise interval, the quotient of the current change divided by the time change is extracted, and the slope of the response current rise is calculated by least squares fitting, with a specific slope value of 8.5A / ms. By extracting the slope of the response current in the linear rising range, we can avoid the interference of stray capacitance charging and discharging generated in the early stage of power device conduction, and obtain the electromagnetic response characteristics without the drive motor generating actual mechanical displacement, thus avoiding any flow disturbance to the water stratification structure.
[0023] S102. Calculate the hydrostatic impedance characteristic of each sampling unit at the corresponding water depth based on the rise slope of the response current, and construct a multi-depth hydrostatic impedance matrix based on all hydrostatic impedance characteristic values.
[0024] The equivalent dynamic inductance of the drive motor was calculated based on the rise slope of the response current and the applied voltage. Dividing the applied voltage of 24V by the rise slope of the response current (8.5A / ms) yielded an equivalent dynamic inductance of 2.82mH. This equivalent dynamic inductance was input into a pre-calibrated impedance mapping model. The reference function curve in the impedance mapping model represents the nonlinear relationship between the inductance change and the rotor's mechanical load resistance. The inverse calculation revealed that the external mechanical impedance borne by the drive motor rotor when stationary was 1.45 N·m. Subtracting the pre-measured inherent mechanical damping of the drive motor (0.15 N·m) from the external mechanical impedance value yielded a static water lateral pressure of 260 N borne by the valve core of the sampling valve. Multiplying the static lateral pressure of 260N by the friction coefficient of the valve core sealing surface (0.25) yields a tangential frictional resistance of 65N. Multiplying this tangential frictional resistance of 65N by the rotation radius of the sampling valve (0.02m) calculates the static friction torque of the sampling valve at the corresponding water depth as 1.30N·m. This 1.30N·m is then calibrated as the static pressure impedance characteristic quantity of the sampling unit at the corresponding water depth. Following a physical deployment order from shallow to deep, the static pressure impedance characteristic quantities calculated from the three sampling units are arranged and combined to generate a multi-depth static pressure impedance matrix.
[0025] S103. Calculate the start-up delay time and power increment slope of each sampling unit based on the multi-depth static pressure impedance matrix.
[0026] S104. Combine the start-up delay time and the power increment slope to synthesize a coordinated control command. Based on the coordinated control command, execute the phase bias drive through each motor drive circuit to drive the sampling valves of each sampling unit to open synchronously at the same time.
[0027] The calculated start-up delay time and power increment slope are packaged into a coordinated control command and sent to each motor drive circuit. The motor drive circuit executes phase bias drive according to the coordinated control command. At time zero, the third sampling unit, located in the deep water zone and experiencing the greatest resistance, starts its drive motor first, with the output voltage duty cycle increasing upwards at a preset slope of 180% / s. At time 25ms, the second sampling unit, located in the middle water zone, starts its drive motor, with the output voltage duty cycle increasing at a slope of 130.8% / s. At time 50ms, the first sampling unit, located in the shallow water zone, starts its drive motor, with the output voltage duty cycle increasing at a slope of 85% / s. The shallow water sampling valves, due to lower hydrostatic pressure and a longer start-up delay, and the deep water sampling valves, due to higher hydrostatic pressure, start earlier and apply a greater power increase rate. At the same time node of time 80ms, all three sampling units simultaneously overcome the static friction resistance of their respective sealing surfaces, driving the valve cores of each sampling valve to move synchronously and disengage from the sealing base at the same absolute physical moment. By eliminating the valve opening time difference caused by static water pressure at different water depths, and avoiding water column convection oscillation caused by opening the valve first in shallow water areas, zero-time-difference, undisturbed synchronous sampling and initiation of sewage at multiple depth levels can be achieved.
[0028] S105. During the water inlet process after the sampling valve is opened, the motor drive circuit outputs a pulse width modulation signal to drive the drive motor to maintain operation, and the back electromotive force characteristics of the drive motor are collected through the current sampling circuit. Based on the back electromotive force characteristics, the duty cycle of the pulse width modulation signal is dynamically adjusted by the main controller to control the water inlet flow rate of the sampling chamber within the preset flow rate threshold.
[0029] During the valve opening and water intake process, the motor drive circuit outputs a pulse width modulation (PWM) signal with a frequency of 20kHz and an initial duty cycle of 35% to drive the motor to rotate smoothly. During the low-level off phase of each PWM cycle, the current sampling circuit collects the terminal voltage of the drive motor to obtain the back electromotive force (EMF) signal. A sliding time window covering 50 PWM cycles is set, and a moving average filter is applied to the back EMF signal within the time window to fit the fundamental component signal characterizing the steady-state rotational angular velocity of the motor. The original back EMF signal is subtracted from the fundamental component signal to remove the ripple interference signal, and a 256-point discrete Fourier transform is performed on the ripple interference signal to generate a spectral distribution. The spectral amplitude is integrated within a characteristic frequency window from 200Hz to 800Hz to calculate the integrated band energy value. This integrated band energy value is converted into the high-frequency fluctuation amplitude of the back EMF and an instability index of 0.68 is generated. The preset instability threshold is set to 0.50. When the instability index of 0.68 is greater than the instability threshold of 0.50, the duty cycle of the pulse width modulation signal is reduced by 2.7% according to the negative feedback proportional coefficient of 0.15. The duty cycle is adaptively reduced from 35% to 32.3%, and then the opening of the sampling valve is reduced to constrain the sewage inflow velocity at the sampling chamber inlet to within the threshold of 0.15m / s, so as to prevent high-speed turbulent flow from causing suspended particles to break up and stratify.
[0030] S106. When a sudden change in the operating current of the drive motor is detected by the current sampling circuit, the control pulse width modulation signal is output in a decreasing manner according to the preset attenuation curve to decelerate and close the sampling valve.
[0031] During water intake sampling, the current sampling circuit continuously collects the operating current of the drive motor at a monitoring cycle of 1ms. The differential rate of change of the operating current between two adjacent monitoring cycles is calculated. When the operating current rapidly increases from 0.8A to 2.2A, the calculated differential rate of change reaches 700A / s, exceeding the preset rate of change threshold of 300A / s and lasting for a duration of 5ms within the filtering time window. This indicates that the sampling chamber is full of water and triggers the sealing limit, generating a full-chamber signal. In response to the full-chamber signal, a preset attenuation curve containing four stepped segments is generated. The duty cycle of each stepped segment decreases every 20ms, with the output duty cycle decreasing sequentially from 30% to 20%, 10%, and finally 0%. The motor drive circuit drives the motor to rotate smoothly at a reduced speed according to the preset attenuation curve, causing the sealing ring of the sampling valve to press against the valve seat sealing surface with a slow and uniform mechanical feed stroke, ultimately achieving a complete closure and seal. Through multi-stage stepped amplitude reduction buffer control, mechanical collisions and water hammer shock waves caused by sudden power failure of the motor are avoided. While ensuring the sealing and isolation effect of the sampling chamber, the impact energy is prevented from propagating along the water body, thus fully protecting the original physical stratification state of the target water area after sampling.
[0032] In one implementation, the hydrostatic impedance characteristic of each sampling unit at the corresponding water depth is calculated based on the rise slope of the response current, and a multi-depth hydrostatic impedance matrix is constructed based on all hydrostatic impedance characteristic values, including the following steps: During the duration of the pulse signal, the stator winding current of the drive motor is continuously sampled by the current sampling circuit to obtain a discrete current response sequence. By performing a difference operation on the discrete current response sequence, the linear rising interval of the rising slope of the response current is extracted. The equivalent dynamic inductance value of the drive motor is obtained by fitting the rise slope of the response current in the linear rise interval. The equivalent dynamic inductance value is input into the preset impedance mapping model to calculate the static friction torque generated by the hydrostatic pressure on the sampling valve at the corresponding water depth. The static friction torque is then calibrated as the static pressure impedance characteristic quantity of the sampling unit at the corresponding water depth. All hydrostatic impedance characteristics are reconstructed according to the depth order of each sampling unit, generating a multi-depth hydrostatic impedance matrix representing the full-depth water pressure distribution.
[0033] In this embodiment, during the application of a 24V DC single-pulse voltage excitation with a pulse width and duration of 5ms to the stator winding of the drive motor by the motor drive circuit, the stator winding current exhibits an exponential increase with time due to the inductor filtering effect. Because the pulse duration is short and the initial input energy is insufficient to overcome the static mechanical resistance, the rotor of the drive motor remains mechanically locked and stationary during the pulse excitation phase. The current sampling circuit uses a high-stability manganese copper shunt resistor with a resistance of 0.01Ω connected in series in the drive bridge arm bus circuit to detect the loop current flowing through the stator winding. When the current passes through the shunt resistor, a linearly proportional millivolt-level weak voltage drop signal is generated. This weak voltage drop signal is then linearly amplified without distortion by a differential amplifier circuit with a gain of 20 times and a bandwidth of 100kHz. The amplified analog voltage signal is then directly sent to the analog-to-digital converter.
[0034] The analog-to-digital converter (ADC) continuously samples the amplified voltage signal at equal time intervals using a constant sampling clock frequency of 200 kHz. Each sampling period is 5 microseconds, resulting in 1000 discrete voltage sampling points collected within the 5 ms pulse cycle. Scale transformation is performed on the discrete voltage sampling points using the shunt resistor value and amplification factor, converting the voltage amplitude back into the corresponding instantaneous stator winding current. These values are then stored and arranged sequentially according to the time acquisition order, ultimately constructing a discrete current response sequence that reflects the entire transient current response process. This provides raw sequence data for subsequent extraction of electromagnetic response characteristics under displacement-free conditions.
[0035] Discrete current response sequences are prone to spikes caused by parasitic capacitance charging and discharging during power transistor switching. Furthermore, as the current approaches steady state in the later stages of the pulse, it exhibits nonlinear bending due to the voltage divider effect of the stator resistance. To eliminate interference and pinpoint the purely inductive linear growth phase, a forward first-order difference operation is performed on the discrete current response sequence containing 1000 sampling points, considering adjacent data points. The first-order difference calculation formula is as follows: ; In the formula, Let be the discrete current change rate at the k-th sampling point. This represents the stator winding current value corresponding to the kth sampling point. This represents the stator winding current value corresponding to the k+1th sampling point. The preset current sampling time interval was used. After acquiring the discrete current change rate of the entire sequence, a coefficient of variation threshold of 3% was set, and continuous data intervals with discrete current change rate fluctuations within a tolerance range of ±3% were searched along the time axis. The search revealed that the discrete current change rate within the time window of 1.5ms to 3.5ms after pulse application exhibited highly stable characteristics, and this interval was extracted and locked as a linear rising interval. Within this linear rising interval, all 400 discrete current data points were selected, and a linear regression fitting algorithm was used to regress the time and current data sequences. The slope of the fitted line was the slope of the response current rise, yielding a stable and reliable response current rise slope value of 8.5A / ms, eliminating transient interference and saturation effects.
[0036] Within the linear rise range, the dynamic response of the stator winding circuit of the drive motor is mainly determined by its inductive reactance characteristics. Since the rotor is stationary during the pulse and no back electromotive force is generated, the voltage applied across the stator terminals mainly drops across the stator winding inductance. Based on the physical relationship between the inductor voltage and the differential of the current, the equivalent dynamic inductance value of the drive motor is obtained by quotienting the bus power supply reference voltage and the rise slope of the response current. The calculation formula is as follows: ; In the formula, This is the equivalent dynamic inductance value of the drive motor. Provide a reference voltage for supplying power to the busbar of the motor drive circuit. The slope of the response current rise obtained by fitting within the linear rise interval is given. Substituting the bus power supply reference voltage of 24V and the fitted response current rise slope of 8.5A / ms into the calculation, dividing 24V by 8500A / s yields an equivalent dynamic inductance value of 0.00282H, or 2.82mH. The micro-gap magnetic reluctance between the stator and rotor of the drive motor undergoes slight elastic deformation depending on the degree of external force pressing on the valve core sealing surface. The greater the external mechanical load pressing force, the greater the air gap magnetic flux impedance caused by the lateral compression eccentricity of the rotor, which ultimately manifests as a quantitative shift in the equivalent dynamic inductance value of the stator winding. By calculating the equivalent dynamic inductance value, a physical mapping medium is established between the electrical transient response parameters and the external mechanical static pressure load on the non-operating mechanism.
[0037] The calculated equivalent dynamic inductance value of 2.82mH was input into the preset impedance mapping model. The impedance mapping model pre-stores the curves relating dynamic inductance and external mechanical impedance obtained through offline calibration. By looking up tables and using cubic spline interpolation, the external mechanical impedance of the drive motor rotor in a stationary state was calculated to be 1.45 N·m. Subtracting the inherent mechanical damping of the drive motor (0.15 N·m) from the external mechanical impedance value, the static water lateral pressure acting directly on the sampling valve core by external water pressure was obtained as 260 N. This static water lateral pressure perpendicularly presses against the valve core sealing surface, causing tangential frictional resistance that hinders valve opening. Combining the valve's geometric parameters and material properties, the static friction torque generated under the static water pressure was calculated using the following formula: In the formula, Let be the characteristic quantity of the static voltage impedance of the i-th sampling unit. To sample the friction coefficient of the valve core sealing surface, The static lateral positive pressure that the valve core bears. The sampling valve's rotation radius is set to 0.25. The coefficient of friction between the fluororubber sealing ring and the valve core is set to 0.02m. Multiplying 260N by 0.25 and then by 0.02m yields a static friction torque of 1.30 N·m. This 1.30 N·m is then calibrated as the characteristic quantity of static pressure resistance at the corresponding water depth, achieving a quantitative reproduction of the external hydrostatic pressure resistance.
[0038] After calculating the hydrostatic impedance characteristics of each independent sampling unit at its respective water depth, the physical depth topology number of each sampling unit, pre-installed in the storage medium, is extracted. The hydrostatic impedance characteristic of the first sampling unit located in the shallow water layer (1m below the surface) is calibrated to 0.42 N·m, the hydrostatic impedance characteristic of the second sampling unit located in the middle water layer (3m below the surface) is calibrated to 0.86 N·m, and the hydrostatic impedance characteristic of the third sampling unit located in the deep water layer (5m below the surface) is calibrated to 1.30 N·m. Following the geometric spatial arrangement of the sampling depth from shallow to deep, the three hydrostatic impedance characteristics are spatially reorganized and their dimensions increased to generate a multi-depth hydrostatic impedance matrix representing the full-depth water pressure distribution. The matrix expression is as follows: ; In the formula, For multi-depth hydrostatic impedance matrix, This refers to the hydrostatic impedance characteristic of the first sampling unit located at a shallow water depth. This refers to the hydrostatic impedance characteristic of the second sampling unit located at the middle water layer depth. This represents the hydrostatic impedance characteristic of the third sampling unit located at a deep water depth. The multi-depth hydrostatic impedance matrix transforms the originally dispersed and discrete single-point hydraulic mechanical impedance into a digital spatial state vector with spatially continuous gradient characteristics. The magnitude of each element within the matrix intuitively reflects the hydrostatic external pressure load that increases linearly with water depth.
[0039] In one embodiment, the equivalent dynamic inductance value is input into a preset impedance mapping model to calculate the static friction torque generated by the hydrostatic pressure exerted by the sampling valve at the corresponding water depth, including the following steps: The equivalent dynamic inductance value is substituted into the baseline function curve representing the relationship between inductance change and rotor resistance in the preset impedance mapping model, and the external mechanical impedance value borne by the rotor of the drive motor when it remains stationary is calculated by inversion. The static lateral positive pressure borne by the valve core of the sampling valve is obtained by removing the pre-calibrated inherent mechanical damping of the drive motor from the external mechanical impedance value. The friction coefficient of the valve core sealing surface of the sampling valve is used to convert the static water lateral normal pressure by multiplying it with the friction coefficient of the valve core sealing surface of the sampling valve to obtain the tangential frictional resistance acting on the valve core sealing surface of the sampling valve. Calculate the product of the tangential frictional resistance and the rotation radius of the sampling valve to obtain the static frictional torque generated by the hydrostatic pressure exerted by the sampling valve at the corresponding water depth.
[0040] In this embodiment, the impedance mapping model is pre-calibrated experimentally to establish a nonlinear reference function curve relating the stator's equivalent dynamic inductance to the rotor's applied force. When the rotor of the drive motor is initially at rest and subjected to external force, the tiny air gap between the stator and rotor undergoes mechanical elastic deformation under radial lateral force, causing a regular change in the air gap magnetic flux distribution, which is reflected in the external circuit as a quantitative drift in the equivalent dynamic inductance value. In the impedance mapping model, a quadratic polynomial fitting function is used to characterize the mapping relationship between the equivalent dynamic inductance and the external mechanical impedance. The inverse expression of the reference function curve is as follows: ; In the formula, The external mechanical resistance that the rotor of the drive motor experiences when it remains stationary. This is the equivalent dynamic inductance value of the drive motor. , and These are the coefficients of the pre-calibrated quadratic fitting polynomial. Taking the third sampling unit in the deep water area as an example, the equivalent dynamic inductance value of 2.82mH obtained from the measurement calculation is substituted into the reference function curve, and the pre-calibrated coefficients are used. Set to 120 N·m / H 2 , Set to 250 N·m / H, constant term The value was set to 0.24 N·m. Substituting the numerical values, a second-order polynomial inversion was performed, calculating the external mechanical impedance of the rotor at zero speed and stationary state to be 1.45 N·m. The loading state of the mechanism was obtained before the sampling valve produced displacement. After the drive motor completes its mechanical assembly, there are inherent initial mechanical frictional impedances between the internal bearing assembly, sealing frame, and meshing pairs of the reduction gearbox. To isolate the mechanical load purely induced by the hydrostatic pressure from the external mechanical impedance value, the sampling unit was calibrated in a standard laboratory environment that was dry, anhydrous, and at normal pressure. The inherent mechanical damping value of the drive motor under zero load was measured and recorded as 0.15 N·m.
[0041] Under actual sampling conditions, the external mechanical impedance value of 1.45 N·m obtained from the inversion solution is calculated by subtracting the inherent mechanical damping of 0.15 N·m from the pre-calibrated inherent mechanical damping. The net static pressure torque applied to the sampling valve by the weight of the water column is then obtained, which is 1.30 N·m. Dividing this net static pressure torque by the eccentric lever arm of the valve core (0.005 m) yields the static lateral normal pressure acting vertically on the lateral sealing contact surface of the sampling valve core, specifically calculated to be 260 N. By eliminating the interference of motor assembly mechanical damping, the true lateral load component induced by the external static environmental pressure is isolated, eliminating the negative impact of individual motor assembly tolerances on water pressure perception and providing unbiased normal load data support for subsequent friction resistance calculations.
[0042] The valve core and seat sealing surfaces of the sampling valve are in a tight fit under the pressure of the hydrostatic lateral normal pressure. According to the frictional mechanics mechanism of solid contact surfaces, the tangential static friction force that hinders relative sliding between the sealing surfaces is directly proportional to the normal pressure borne by the contact surfaces. The valve core sealing surface of the sampling valve is made of fluororubber material with high wear resistance and corrosion resistance. The friction coefficient of the valve core sealing surface with the stainless steel valve seat was measured to be 0.25 under sewage immersion environment. Substituting the extracted hydrostatic lateral normal pressure and the friction coefficient of the valve core sealing surface into the tangential friction resistance conversion formula, the tangential friction resistance conversion calculation formula is as follows: In the formula, The tangential frictional resistance acting on the valve core sealing surface of the sampling valve. To sample the friction coefficient of the valve core sealing surface, This represents the hydrostatic lateral pressure exerted on the valve core. The hydrostatic lateral pressure of 260N is multiplied by the valve core sealing surface friction coefficient of 0.25. Multiplying 260N by 0.25 yields a tangential frictional resistance of 65N. This calculation directly quantifies the critical tangential mechanical resistance limit that the valve core sealing surface must overcome to achieve initial relative sliding under specific water pressure at a specific depth.
[0043] The sampling valve employs a spherical rotary valve core structure. The valve core's opening process involves angular displacement around a fixed central axis of rotation. The tangential frictional resistance acting on the valve core's sealing contact surface forms a frictional torque that opposes the valve stem's rotation at a position far from the rotation axis. The geometric rotational structure of the sampling valve determines the perpendicular distance from the rotation axis to the tangential line of action at the center of the sealing surface; this geometric distance is the sampling valve's rotation radius, specifically designed and manufactured to be 0.02m. The calculated tangential frictional resistance is multiplied by the sampling valve's rotation radius. The formula for calculating the product of tangential frictional resistance and rotation radius is as follows: In the formula, Let be the characteristic quantity of the static voltage impedance of the i-th sampling unit. The tangential frictional resistance acting on the valve core sealing surface of the sampling valve. Let be the rotation radius of the sampling valve. Multiplying the tangential frictional resistance of 65 N by the rotation radius of 0.02 m, the static friction torque required to open the sampling valve to overcome the hydrostatic pressure at a specific water depth is calculated to be 1.30 N·m. This calculated static friction torque of 1.30 N·m is directly calibrated as the characteristic quantity of the hydrostatic impedance of the third sampling unit at a specific water depth. Through the calibration of this physical quantity of torque, a torque matching benchmark between the electrical control power output requirements and the mechanical resistance of the water depth and pressure is directly established.
[0044] In one embodiment, calculating the start-up delay time and power ramp rate of each sampling unit based on the multi-depth hydrostatic impedance matrix includes the following steps: Traverse all static pressure impedance characteristics in the multi-depth static pressure impedance matrix, and select the sampling unit corresponding to the static pressure impedance characteristic with the largest value as the reference sampling unit; The reference resistance overcoming time required for the reference sampling unit to overcome the hydrostatic pressure and open the sampling valve is calculated based on the hydrostatic impedance characteristic of the reference sampling unit. For each of the remaining non-reference sampling units, the estimated action time required for each non-reference sampling unit to overcome the hydrostatic pressure and open the sampling valve is calculated based on the hydrostatic impedance characteristic of each non-reference sampling unit. The difference between the reference overcoming resistance time and the estimated action time corresponding to each non-reference sampling unit is calculated to obtain the start-up delay time of each non-reference sampling unit relative to the reference sampling unit, and the start-up delay time of the reference sampling unit is marked as zero. By combining the static pressure impedance characteristic of each sampling unit with the preset target opening acceleration, the time growth rate of the output voltage duty cycle of the sampling valve corresponding to each sampling unit during the valve opening process is calculated, and the time growth rate is used as the power increase slope of the corresponding sampling unit.
[0045] In this embodiment, the element sequence in the multi-depth hydrostatic impedance matrix is read sequentially. The value corresponding to the first sampling unit is 0.42 N·m, the value corresponding to the second sampling unit is 0.86 N·m, and the value corresponding to the third sampling unit is 1.30 N·m. A one-way sequential traversal comparison logic is initiated, setting a temporary variable to store the initial value of the first element, 0.42 N·m. Subsequently, subsequent elements are extracted sequentially and compared with the temporary variable to perform value amplitude comparisons. When the value of the second sampling unit (0.86 N·m) is read, it is determined that the value is greater than the temporary variable, and the value is overwritten. When the value of the third sampling unit (1.30 N·m) is read, it is again determined that the value is greater than the current temporary variable, and the maximum impedance value is finally locked as 1.30 N·m. After full matrix traversal confirmation, the third sampling unit, located at a depth of 5 m underwater, bears the maximum lateral hydrostatic pressure induced by the gravity of the external water column, exhibiting the highest tightness of the valve core sealing surface and the largest initial motion resistance torque. The third sampling unit corresponding to the largest static pressure impedance characteristic quantity of 1.30 N·m is marked as the reference sampling unit for the coordinated control of the entire device, and the value of 1.30 N·m is recorded as the maximum static pressure impedance characteristic quantity of the matrix.
[0046] An integral model of motor electromagnetic dynamics is established based on the maximum static pressure impedance characteristic of the reference sampling unit. The reference resistance overcoming time required for the reference sampling unit to overcome initial static friction and open the sampling valve is calculated by the following formula: ; In the formula, The reference resistance overcoming time required for the reference sampling unit to overcome hydrostatic pressure and open the sampling valve. This represents the maximum hydrostatic impedance characteristic quantity in the multi-depth hydrostatic impedance matrix. This refers to the internal resistance of the stator winding of the drive motor. This is the preset torque constant of the drive motor. Provide a reference voltage for supplying power to the busbar of the motor drive circuit. The preset reference voltage rise slope, This is the preset electrical time constant for the drive motor. The stator winding internal resistance is set to 1.2Ω, the preset torque constant to 0.08N·m / A, the bus power supply reference voltage to 24V, the preset electrical time constant to 0.01s, and the reference voltage rise slope to 300V / s. Substituting the maximum static pressure resistance characteristic value of 1.30N·m into the formula, the square root of the term yields 0.0736s, the natural logarithm term yields 0.0064s, and the sum of these two terms calculates the reference overcoming resistance time to be 0.080s, or 80ms.
[0047] For non-reference sampling units, such as the first sampling unit at 1m underwater and the second sampling unit at 3m underwater, the corresponding hydrostatic impedance characteristics of 0.42 N·m and 0.86 N·m were extracted, respectively. Due to the lower hydrostatic pressure in shallow and mid-water areas, the lateral pressure on the valve core sealing surface is smaller, significantly shortening the electromagnetic torque ramp-up process required for the drive motor stator winding to overcome the static friction torque. Using the same electromechanical integral model as the reference time, substituting the hydrostatic impedance characteristic of 0.42 N·m for the first sampling unit into the integral model, the estimated action time required for the first sampling unit to overcome its own hydrostatic pressure and open the sampling valve is calculated to be 30 ms. Substituting the hydrostatic impedance characteristic of 0.86 N·m for the second sampling unit into the integral model, the estimated action time required for the second sampling unit to overcome its own hydrostatic pressure and open the sampling valve is calculated to be 55 ms.
[0048] The calculated baseline resistance-overcoming time of 80ms is compared with the estimated action time of each non-baseline sampling unit using algebraic difference calculations. The start-up delay time of the first sampling unit relative to the baseline sampling unit is calculated by subtracting the estimated action time of 30ms from 80ms, resulting in 50ms. The start-up delay time of the second sampling unit relative to the baseline sampling unit is calculated by subtracting the estimated action time of 55ms from 80ms, resulting in 25ms. Since the estimated action time of the baseline sampling unit is the same as the baseline resistance-overcoming time of 80ms, the difference between the two is zero, therefore the start-up delay time of the baseline sampling unit is marked as 0ms. The start-up delay time represents the time offset length that each non-baseline sampling unit needs to manually remain stationary after receiving the global sampling trigger command.
[0049] By setting the maximum impedance unit as the zero point and assigning decreasing waiting delays to the remaining units, the third sampling unit, which bears the maximum impedance, is energized and activated first at time zero, while the shallow water layer units start later. This ultimately causes all sampling units to synchronously cross the static friction critical point at 80ms, eliminating the asynchronous valve opening phenomenon caused by water depth pressure differences and preventing longitudinal convection between upper and lower fluid layers due to pressure pulsations. Combining the static pressure impedance characteristics of each sampling unit with the preset target opening acceleration, the time growth rate of the output voltage duty cycle during valve opening, i.e., the power increase slope, is calculated using the following formula: ; In the formula, Let be the power increment slope of the i-th sampling unit. The moment of inertia of the drive motor. Activate acceleration for the preset target. Let be the characteristic quantity of the static voltage impedance of the i-th sampling unit. Due to the inherent mechanical damping of the drive motor, The critical angular velocity at the instant the sampling valve opens. This refers to the internal resistance of the stator winding of the drive motor. This is the preset torque constant of the drive motor. Provide a reference voltage for supplying power to the busbar of the motor drive circuit. The preset electrical time constant of the drive motor, This represents the maximum hydrostatic impedance characteristic quantity in the multi-depth hydrostatic impedance matrix. The moment of inertia is set to 0.002 kg·m. 2 The target's activation acceleration is 50 rad / s². 2 The inherent mechanical damping is 0.15 N·m·s / rad, and the critical angular velocity is 2 rad / s. Substituting the hydrostatic impedance characteristic of the second sampling unit (0.86 N·m) into the formula, the power increase slope of the second sampling unit is calculated to be 130.8% / s.
[0050] In one embodiment, during the water inflow process after the sampling valve is opened, the motor drive circuit outputs a pulse width modulation signal to drive the drive motor to maintain operation, and the back electromotive force characteristics of the drive motor are collected by the current sampling circuit. Based on the back electromotive force characteristics, the duty cycle of the pulse width modulation signal is dynamically adjusted by the main controller to control the water inflow velocity of the sampling chamber within a preset flow velocity threshold. The process includes the following steps: During the water intake process after the sampling valve is opened, the motor drive circuit outputs a pulse width modulation signal to drive the drive motor to maintain operation. During the period when the pulse width modulation signal is at a low level and off, the current sampling circuit collects the terminal voltage of the drive motor to obtain the back electromotive force signal. The back electromotive force (EMF) signal of multiple consecutive pulse width modulation cycles is filtered and component stripped, and the high-frequency fluctuation amplitude of the back EMF signal is extracted as the back EMF feature. The instability index, representing the intensity of turbulence in the inlet channel of the sampling valve, is calculated based on the characteristics of the back electromotive force. By comparing the instability index with the preset instability threshold, when the instability index exceeds the instability threshold, the duty cycle of the pulse width modulation signal output to the motor drive circuit is reduced according to the preset negative feedback proportional coefficient, so as to reduce the opening of the sampling valve and constrain the water flow rate in the sampling chamber within the preset flow rate threshold.
[0051] In this embodiment, during the water inflow process after the sampling valve is opened, the motor drive circuit outputs a pulse width modulation (PWM) signal with a carrier frequency of 20kHz and an initial duty cycle of 35% to drive the drive motor to maintain stable operation. During the low-level turn-off phase of each control cycle of the PWM signal, all power switches of the drive bridge arm are in the off-state, and the freewheeling current inside the stator winding drops to zero after rapid decay. The rotor of the drive motor continues to rotate under the combined action of the impact torque of the inflow fluid and the mechanical rotational inertia, and the rotor permanent magnet cuts the stator winding coil to generate an induced electromotive force. The current sampling circuit uses a resistor voltage divider network and a filter operational amplifier circuit connected to both ends of the stator winding phase line to continuously acquire the terminal voltage of the phase line in the open-circuit floating state at a sampling rate of 1MSPS.
[0052] Three discrete voltage sampling points were extracted and their mean values were calculated during the second half of the turn-off interval of each 50-microsecond pulse width modulation cycle. This effectively filtered out the induced spikes caused by stray inductance during the turn-off of the power devices, ultimately demodulating to obtain a clean back electromotive force (EMF) signal. The instantaneous voltage amplitude of the back EMF signal directly characterizes the real-time angular velocity fluctuation of the rotor under the influence of fluid resistance, providing a continuous and distortion-free original electrical dynamic response sequence for subsequent evaluation of the disturbance of water flow at the valve inlet under inlet conditions. Time-frequency joint processing was performed on the back EMF signals within the 50 continuously acquired pulse width modulation cycles. A sliding time window with a duration of 2.5 ms was set, and a moving average smoothing filter was applied to the back EMF signal within the sliding time window to remove the steady-state DC bias and low-frequency rotation components generated by periodic rotation, fitting the fundamental component signal that characterizes the reference state of the average speed of the drive motor. Point-to-point differential operation was performed on the original back EMF signal and the fundamental component signal, successfully removing the ripple interference signal containing only random pulsation characteristics.
[0053] A 256-point Discrete Fourier Transform is performed on the ripple interference signal to calculate the ripple energy spectrum distribution in the frequency domain from 0Hz to 10kHz. Within the generated ripple energy spectrum distribution, a preset characteristic frequency window of 200Hz to 800Hz, closely related to the turbulent shedding frequency of the sampling valve inlet channel, is located. The energy squared summation integral is performed on all discrete spectral amplitudes within the characteristic frequency window to calculate the frequency band energy integral value. The square root of the frequency band energy integral value is then taken and quantized using a preset calibration coefficient to extract the high-frequency fluctuation amplitude of the back electromotive force signal, which is 0.18V. This high-frequency fluctuation amplitude is used as the back electromotive force characteristic, enabling sensorless quantization extraction of the intensity of irregular fluid disturbances within the flow channel.
[0054] The eddy currents and turbulent flow generated inside the sampling valve's inlet channel produce high-frequency hydrodynamic impacts with alternating direction and magnitude. These impacts directly react on the valve core and motor rotor, causing high-frequency torque pulsations. To quantitatively assess the severity of the turbulent flow inside the inlet channel, an instability index calculation model is established based on the extracted back electromotive force characteristics and the hydrostatic impedance of the water depth. The instability index is calculated using the following formula: ; In the formula, Instability index This represents the high-frequency fluctuation amplitude of the back electromotive force signal. The reference back electromotive force amplitude of the fundamental component signal is given. This is a preset fluid disturbance correction factor. Let be the characteristic quantity of the static voltage impedance of the i-th sampling unit. This represents the maximum hydrostatic impedance characteristic quantity in the multi-depth hydrostatic impedance matrix. The reference back electromotive force amplitude is set to 2.4V, the fluid disturbance correction factor to 0.5, and the maximum hydrostatic impedance characteristic quantity to 1.30 N·m. Taking the second sampling unit as an example, substituting the high-frequency fluctuation amplitude of 0.18V and the hydrostatic impedance characteristic quantity of 0.86 N·m into the formula, the high-frequency fluctuation ratio is calculated to be 0.075, the depth correction term is calculated to be 1.3307, and the instability index is obtained by multiplying the two and performing dimensionless amplification, resulting in a value of 0.68.
[0055] A preset instability threshold of 0.50 is set, and the calculated instability index of 0.68 is compared with the preset instability threshold of 0.50. When the instability index of 0.68 is greater than the instability threshold of 0.50, it indicates that the sewage flow velocity in the inlet channel of the sampling valve is too fast and has formed severe turbulence. If the turbulence continues, it will destroy the original stratification structure of the surrounding water body. The duty cycle of the pulse width modulation signal output to the motor drive circuit is reduced according to the preset negative feedback proportional coefficient of 0.15. The reduction in duty cycle is calculated by multiplying the difference between the instability index and the instability threshold of 0.18 by the negative feedback proportional coefficient of 0.15, and the specific reduction is 2.7%. The control motor drive circuit rapidly reduces the duty cycle of the pulse width modulation signal from the initial 35.0% to 32.3%. The reduction in duty cycle moderately reduces the electromagnetic torque of the drive motor, and the valve core of the sampling valve rotates slightly in the opposite direction under the combined action of the mechanical reset structure and the external water pressure. The flow cross-sectional area of the sampling valve is reduced from 100mm². 2 Reduced to 80mm 2 The active reduction of the valve opening directly increases the flow resistance, which smoothly constrains the sewage inflow velocity at the sampling chamber inlet from 0.28 m / s to within the preset velocity threshold of 0.15 m / s. This avoids excessively high inflow velocities from drawing in and causing shearing and colliding of the surrounding water, ensuring that the original physicochemical state of the stratified water samples is not damaged.
[0056] In one embodiment, filtering and component stripping of back electromotive force signals across multiple consecutive pulse width modulation cycles, and extracting the high-frequency fluctuation amplitude of the back electromotive force signal as a back electromotive force feature, includes the following steps: Set a fixed-length sliding time window and extract the back electromotive force signal contained within the sliding time window in multiple consecutive pulse width modulation cycles; The back electromotive force signal within the sliding time window is subjected to moving average filtering to fit the fundamental component signal representing the reference state of the rotational speed. The fundamental component signal is subtracted from the back electromotive force signal to separate the ripple interference signal; Perform a discrete Fourier transform on the ripple interference signal to generate the ripple energy spectrum distribution; Locate a preset characteristic frequency window associated with fluid disturbance in the ripple energy spectrum distribution; The energy integral of the spectral amplitude within the characteristic frequency window is calculated by performing energy integration on the frequency band corresponding to the characteristic frequency window. The high-frequency fluctuation amplitude of the back EMF signal is obtained by quantization calculation based on the frequency band energy integral value, and the high-frequency fluctuation amplitude is used as the back EMF characteristic.
[0057] In this embodiment, during the pulse width modulation (PWM) signal output process, a first-in-first-out (FIFO) circular queue containing 50 consecutive PWM cycles is opened in the data buffer, and the time span of the sliding time window is fixed at 2.5 ms. When the motor drive circuit operates at a carrier frequency of 20 kHz, each PWM cycle corresponds to a time length of 50 microseconds, and each cycle includes a high-level conduction phase and a low-level turn-off phase. During the low-level turn-off phase of each PWM cycle, the power switch is completely turned off, and the winding freewheeling current returns to zero after 20 microseconds of natural decay. Within the remaining 30 microsecond open-circuit floating window, the current sampling circuit triggers continuous equally spaced sampling at an analog-to-digital conversion rate of 1 MSPS. During a single turn-off phase, three discrete voltage sampling values are acquired, and the arithmetic mean is calculated as the instantaneous back electromotive force data point for the corresponding cycle.
[0058] An equal-weighted moving average filter is applied to 50 consecutive discrete back EMF voltage data points within the sliding time window. The fundamental component signal is then generated by fitting the data using the following moving average formula: ; In the formula, To represent the fundamental component signal of the speed reference state, This represents the total number of back electromotive force sampling points included in the sliding time window. This represents the nth discrete back EMF voltage data point within the sliding time window. The total number of sampling points within the sliding time window is set to 50. The 50 continuously collected discrete voltage data points are summed one by one and divided by 50 to generate a smooth-transition mean envelope curve on the time axis. Due to the large mechanical rotational inertia of the motor, the rate of change of the back EMF generated by the rotor's steady-state angular velocity is significantly lower than the dynamic fluctuation rate caused by fluid disturbance. The 50-point moving average filter effectively filters out high-frequency pulsation components, completely preserving the reference back EMF voltage baseline corresponding to the rotor at the current steady-state speed. The fundamental component signal at the current speed reference state is calculated to be 2.4V.
[0059] At the same time alignment node, the original back EMF signal recorded within the sliding time window is subjected to a point-to-point algebraic difference operation with the fitted fundamental component signal. The original back EMF signal is composed of a superposition of a DC steady-state component representing the average rotational angular velocity and a high-frequency alternating component representing the load torque fluctuation. The fundamental component signal fully reflects the steady-state rotational component and the slow-varying trend term. The 2.4V DC reference component and the low-frequency speed modulation component contained in the original back EMF signal are completely subtracted to cancel the back EMF voltage base generated by the steady-state rotation of the motor, separating the pure dynamic alternating voltage component with a bidirectional symmetrical oscillation around zero level. The alternating voltage component is the ripple interference signal. The ripple interference signal directly corresponds to the transient resistance torque fluctuation caused by the external fluid acting on the valve core during the sampling valve opening process, eliminating the active rotational energy component of the electromagnetic drive itself.
[0060] The extracted discrete ripple interference signal, containing 50 data points, underwent zero-padding expansion to pad the data points to a standard length of 256 points. A radix-2 Fast Discrete Fourier Transform (FFT) was then performed. The FFT converts the time-domain discrete ripple interference signal into a frequency-domain complex sequence. The square root of the sum of the squares of the real and imaginary parts of the complex sequence generates the spectral amplitude at the corresponding discrete frequency points, thus constructing a ripple energy spectrum distribution covering the entire sampling frequency band from 0Hz to 10kHz. The resolution of the frequency domain transformation is determined by both the sampling rate and the number of transformation points, with a frequency resolution of 78.125Hz. In the generated ripple energy spectrum distribution, the DC component and the harmonics corresponding to the motor commutation natural frequency exhibit isolated discrete spectral lines, while the mechanical disturbances induced by fluid turbulence exhibit continuous broadband spectral characteristics with specific energy accumulation properties.
[0061] Based on the inner diameter of the sampling valve inlet channel (0.02m) and the preset allowable inlet flow velocity (0.15m / s), and considering the dimensionless distribution of the Strouhal number in the Karman vortex street shedding in fluid dynamics, the characteristic vortex shedding frequencies generated during boundary layer separation and turbulent pulsation within the channel are mainly concentrated in the 200Hz to 800Hz range. The fundamental frequency of the motor rotor rotation and the commutation harmonic frequencies of the drive circuit phase current are mainly distributed in the high-frequency band above 1.2kHz, while the low-frequency steady-state rotational components are distributed in the frequency band below 100Hz. Based on the difference in distribution between the inherent frequency bands of hydrodynamic vortex shedding and those of mechanical and electrical systems, a discrete frequency band with a starting boundary of 200Hz and an ending boundary of 800Hz is defined in the constructed ripple energy spectrum distribution. This interval is locked and marked as a preset characteristic frequency window. The preset characteristic frequency window contains eight discrete Fourier spectrum calculation nodes, completely covering the frequency band of severe hydrodynamic pulsation induced by the abrupt change in the channel cross-section when sewage flows into the sampling chamber at high speed.
[0062] Within the locked preset characteristic frequency window, extract all discrete spectral amplitude data within the 200Hz to 800Hz frequency band, and perform a frequency band energy integration operation on the discrete spectral amplitudes. The frequency band energy integration value is calculated using the following discrete integration formula: ; In the formula, This represents the integral value of the frequency band energy corresponding to the characteristic frequency window. This is the starting discrete frequency index number corresponding to the characteristic frequency window. This is the index number of the terminating discrete frequency corresponding to the characteristic frequency window. Let be the spectral amplitude at the k-th discrete frequency point. This represents the frequency resolution of the Discrete Fourier Transform. Within the range of 200Hz to 800Hz, the starting index number is 3, the ending index number is 10, and the frequency resolution is 78.125Hz. Eight discrete spectral amplitudes within the index range of 3 to 10 are extracted, and the squared terms are calculated for each. These squared terms are then summed and multiplied by the frequency resolution of 78.125Hz to obtain the specific value of the band energy integral, which is 0.0324V. 2 The frequency band energy integral value quantifies and accumulates all the disturbance energy within a specific hydrodynamic turbulence frequency band, eliminating the random errors caused by amplitude fluctuations at a single discrete frequency point, and revealing the turbulence energy of the flow channel.
[0063] The calculated bandwidth energy integral value is 0.0324V. 2 Dimensional conversion and physical amplitude inversion calculations were performed. The high-frequency fluctuation amplitude was obtained by taking the arithmetic square root of the integral value of the frequency band energy. The calculation formula is as follows: In the formula, This represents the high-frequency fluctuation amplitude of the back electromotive force signal. This represents the integral value of the band energy corresponding to the characteristic frequency window. The integral value of the band energy is set to 0.0324V. 2 Substituting the values into the formula and performing a square root operation, the high-frequency fluctuation amplitude is calculated to be 0.18V. This calculated high-frequency fluctuation amplitude of 0.18V is then fixed and calibrated as the back electromotive force characteristic representing the intensity of hydrodynamic disturbance in the inlet channel. At the physical level, the high-frequency fluctuation amplitude truly maps the acceleration limit of the slight speed fluctuation of the drive motor rotor due to the impact of turbulent flow in the channel. The magnitude of the amplitude exhibits a strictly positive monotonically increasing relationship with the Reynolds number of the water flow inside the sampling valve's inlet channel and the eddy current dissipation power.
[0064] In one embodiment, when a sudden change in the operating current of the drive motor is detected by the current sampling circuit, the control pulse width modulation signal is output in a decreasing manner according to a preset attenuation curve to decelerate and close the sampling valve to achieve a seal, including the following steps: Throughout the water intake sampling process, the operating current of the drive motor is collected through a current sampling circuit at a preset monitoring cycle; Calculate the differential rate of change of operating current within two adjacent preset monitoring cycles; When the differential rate of change exceeds the preset rate of change threshold and the duration of exceeding the rate of change threshold reaches the preset filtering time window, it is determined that the operating current has changed abruptly and a full sampling chamber signal is generated. In response to the full sampling chamber signal, a preset attenuation curve containing multiple consecutive step-decreasing segments is generated; The duty cycle of the pulse width modulation signal output to the motor drive circuit is gradually reduced according to the preset attenuation curve, driving the drive motor to decelerate smoothly until the sampling valve is fully closed and pressed.
[0065] In this embodiment, during the entire water intake sampling process, the operating current of the drive motor is continuously collected by a current sampling circuit at a fixed preset monitoring cycle. The preset monitoring cycle is set to 1ms. During water intake of the sampling chamber, the current sampling circuit uses a 0.01Ω manganese copper shunt resistor connected in series in the inverter lower arm circuit to detect the operating current of the stator winding in real time. When the drive motor maintains a constant speed and the driving sampling valve remains open, the phase current flowing through the shunt resistor generates a linearly proportional analog voltage drop signal. The differential amplifier circuit linearly amplifies the analog voltage drop signal by 20 times. Subsequently, the analog-to-digital conversion interface densely collects 100 instantaneous current sampling points at a sampling frequency of 100kHz within each 1ms monitoring cycle. An arithmetic mean is calculated for the 100 sampling points collected in each monitoring cycle to eliminate high-frequency fluctuations in phase current commutation and electromagnetic noise interference, obtaining the effective average value of the operating current characterizing the steady-state operating load characteristics of the drive motor. The baseline value of the operating current under normal steady-state water intake conditions is measured to be 0.8A.
[0066] The operating current values within two adjacent preset monitoring periods are sequentially extracted from the circular storage data buffer. The differential rate of change of the operating current within two adjacent preset monitoring periods is calculated by algebraically subtracting the values from each period and then taking the quotient with time. The differential rate of change is calculated using the following formula: ; In the formula, This represents the differential rate of change of the operating current within two adjacent preset monitoring periods. The operating current value collected during the current preset monitoring cycle. The operating current value was collected in the previous preset monitoring cycle. The preset monitoring cycle time interval is set to 0.001s. If the operating current in the previous monitoring cycle is 0.8A, and then rises to 1.5A due to a sudden load increase, the two values are substituted into the formula. The difference between 1.5A and 0.8A (0.7A) is divided by 0.001s, yielding a differential change rate of 700A / s. When the water level inside the sampling chamber reaches the design volume limit, the mechanical float limit mechanism triggers and impedes the water flow impacting the valve core. This causes the rotor rotation resistance of the drive motor to increase instantaneously by a factor of two, and the stator winding back electromotive force drops rapidly, causing the bus current to surge sharply. The differential change rate index amplifies the stall-rotor sudden change characteristics.
[0067] The calculated differential rate of change of operating current is continuously compared with a preset rate of change threshold. The preset rate of change threshold is set to 300 A / s, and the preset filter time window is set to 5 ms, corresponding to 5 consecutive monitoring cycles. When the calculated differential rate of change reaches 700 A / s, it significantly exceeds the 300 A / s threshold, at which point the filter timer accumulator is activated. In the subsequent 5 consecutive preset monitoring cycles, the continuously calculated differential rate of change values are measured as 680 A / s, 710 A / s, 690 A / s, 720 A / s, and 705 A / s, respectively, all consistently higher than the 300 A / s threshold. The cumulative time exceeding the threshold reaches the 5 ms filter time window setting. When the filter time window expires and the rate of change continues to exceed the limit, it is finally determined that a substantial load change has occurred in the drive motor operating current, confirming that the water sample inside the sampling chamber is completely filled and generating a full sampling chamber signal. In response to the generated full sampling chamber signal, a preset attenuation curve containing four consecutive decreasing segments is automatically planned and generated. The preset attenuation curve divides the duty cycle of the pulse width modulation signal into discrete output steps with progressively decreasing values on the time axis.
[0068] The preset decay curve has a total duration of 80ms, containing four consecutive steps, each lasting 20ms. The first step, from 0ms to 20ms after the full-capacity signal is triggered, switches the output duty cycle from the current valve-open state to 30.0% to maintain a constant output. The second step, from 20ms to 40ms, reduces the output duty cycle from 30.0% to 20.0% to maintain a constant output. The third step, from 40ms to 60ms, reduces the output duty cycle from 20.0% to 10.0% to maintain a constant output. The fourth step, from 60ms to 80ms, completely reduces the output duty cycle from 10.0% to 0.0% and shuts down the inverter bridge output.
[0069] The duty cycle of the pulse width modulation signal output to the motor drive circuit strictly follows a preset attenuation curve, decreasing in stages. Upon receiving the preset attenuation curve, the motor drive circuit outputs a pulse width modulation signal with a 30% duty cycle within the first 20ms, causing the motor speed to smoothly decrease from its steady-state operating speed to 100 rad / s. In the subsequent 20ms to 40ms stage, the duty cycle decreases to 20%, and the motor speed further smoothly decelerates to 50 rad / s. In the 40ms to 60ms stage, the duty cycle decreases to 10%, and the motor speed decreases to 15 rad / s. In the final 60ms to 80ms stage, the duty cycle returns to zero, and the motor stops operating after the low-speed rotational inertia is eliminated. Under this multi-stage speed reduction drive, the valve core of the sampling valve drives the fluororubber sealing ring to smoothly rotate into the valve seat sealing groove at a slow mechanical progress of 0.001m / s, ultimately causing the sealing ring to undergo a uniform elastic compression deformation of 0.5mm, achieving a tight seal and isolation at the sampling chamber inlet. The stepped, smooth deceleration completely eliminates the severe mechanical impact and wear caused by traditional emergency stop valve closure and the water hammer shock wave in the pipeline, preventing the impact energy of valve closure from spreading to the external water body and preserving the original state of the multi-depth stratified water body.
[0070] The present invention also discloses a wastewater multi-depth synchronous sampling control system based on fluid disturbance prevention, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the wastewater multi-depth synchronous sampling control method based on fluid disturbance prevention as described above.
[0071] The processor can be a central processing unit (CPU). Of course, depending on the actual use, it can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), off-the-shelf programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc., and this application does not limit it.
[0072] The memory can be an internal storage unit of a computer device, such as a hard disk or RAM, or an external storage device, such as a plug-in hard disk, smart memory card (SMC), secure digital card (SD), or flash memory card (FC) provided on the computer device. Furthermore, the memory can be a combination of internal storage units and external storage devices of a computer device. The memory is used to store computer programs and other programs and data required by the computer device. The memory can also be used to temporarily store data that has been output or will be output. This application does not limit this.
[0073] The present invention also discloses a computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to perform the wastewater multi-depth synchronous sampling control method based on fluid disturbance prevention described in any of the above embodiments.
[0074] The computer program can be stored in a machine-readable medium. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or certain middleware. The machine-readable medium includes any entity or device capable of carrying computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the machine-readable medium includes, but is not limited to, the above-mentioned components.
[0075] The wastewater multi-depth synchronous sampling control method based on fluid anti-disturbance in the above embodiments is stored in the computer-readable storage medium and loaded and executed on the processor to facilitate the storage and application of the above method.
[0076] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of protection of this application is limited to these examples; within the framework of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of one or more embodiments of this application as described above, which are not provided in detail for the sake of brevity.
[0077] One or more embodiments in this application are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of this application. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of one or more embodiments in this application should be included within the protection scope of this application.
Claims
1. A fluid disturbance-based sewage multi-depth synchronous sampling control method, characterized in that, A sampling device is applied to a sampling unit comprising a main controller and several sampling units arranged along the depth direction. Each sampling unit includes a sampling chamber equipped with a sampling valve, a drive motor for controlling the sampling valve, a motor drive circuit, and a current sampling circuit. The main controller is electrically connected to the motor drive circuit and the current sampling circuit in each sampling unit. The method includes the following steps: The main controller controls each motor drive circuit to send pulse signals to the corresponding drive motor, and the current sampling circuit collects the slope of the response current rise of the drive motor during the duration of the pulse signal. The hydrostatic impedance characteristics of each sampling unit at the corresponding water depth are calculated based on the rise slope of the response current, and a multi-depth hydrostatic impedance matrix is constructed based on all hydrostatic impedance characteristics. The start-up delay time and power increment slope of each sampling unit are calculated based on the multi-depth static pressure impedance matrix. By combining the start-up delay time and the power increment slope to synthesize a coordinated control command, and based on the coordinated control command, the phase bias drive is executed through each motor drive circuit to drive the sampling valves of each sampling unit to open synchronously at the same time. During the water intake process after the sampling valve is opened, the motor drive circuit outputs a pulse width modulation signal to drive the drive motor to maintain operation, and the back electromotive force characteristics of the drive motor are collected through the current sampling circuit. Based on the back electromotive force characteristics, the duty cycle of the pulse width modulation signal is dynamically adjusted by the main controller to control the water intake velocity of the sampling chamber within the preset velocity threshold. When a sudden change in the operating current of the drive motor is detected by the current sampling circuit, the control pulse width modulation signal is output in a decreasing manner according to a preset attenuation curve to decelerate and close the sampling valve.
2. The fluid turbulence prevention based sewage multi-depth simultaneous sampling control method according to claim 1, wherein, The process of calculating the hydrostatic impedance characteristics of each sampling unit at the corresponding water depth based on the rise slope of the response current, and constructing a multi-depth hydrostatic impedance matrix based on all hydrostatic impedance characteristics, includes the following steps: During the duration of the pulse signal, the stator winding current of the drive motor is continuously sampled by the current sampling circuit to obtain a discrete current response sequence. By performing a difference operation on the discrete current response sequence, the linear rising interval of the rising slope of the response current is extracted. The equivalent dynamic inductance value of the drive motor is obtained by fitting the rise slope of the response current in the linear rise interval. The equivalent dynamic inductance value is input into the preset impedance mapping model to calculate the static friction torque generated by the hydrostatic pressure on the sampling valve at the corresponding water depth. The static friction torque is then calibrated as the static pressure impedance characteristic quantity of the sampling unit at the corresponding water depth. All hydrostatic impedance characteristics are reconstructed according to the depth order of each sampling unit, generating a multi-depth hydrostatic impedance matrix representing the full-depth water pressure distribution.
3. The wastewater multi-depth synchronous sampling control method based on fluid disturbance prevention according to claim 2, characterized in that, The step of inputting the equivalent dynamic inductance value into a preset impedance mapping model to calculate the static friction torque generated by the hydrostatic pressure exerted on the sampling valve at the corresponding water depth includes the following steps: The equivalent dynamic inductance value is substituted into the baseline function curve representing the relationship between inductance change and rotor resistance in the preset impedance mapping model, and the external mechanical impedance value borne by the rotor of the drive motor when it remains stationary is calculated by inversion. The static lateral positive pressure borne by the valve core of the sampling valve is obtained by removing the pre-calibrated inherent mechanical damping of the drive motor from the external mechanical impedance value. The friction coefficient of the valve core sealing surface of the sampling valve is used to convert the static water lateral normal pressure by multiplying it with the friction coefficient of the valve core sealing surface of the sampling valve to obtain the tangential frictional resistance acting on the valve core sealing surface of the sampling valve. Calculate the product of the tangential frictional resistance and the rotation radius of the sampling valve to obtain the static frictional torque generated by the hydrostatic pressure exerted by the sampling valve at the corresponding water depth.
4. The wastewater multi-depth synchronous sampling control method based on fluid disturbance prevention according to claim 2, characterized in that, The calculation of the start-up delay time and power increment slope of each sampling unit based on the multi-depth hydrostatic impedance matrix includes the following steps: Traverse all static pressure impedance characteristics in the multi-depth static pressure impedance matrix, and select the sampling unit corresponding to the static pressure impedance characteristic with the largest value as the reference sampling unit; The reference resistance overcoming time required for the reference sampling unit to overcome the hydrostatic pressure and open the sampling valve is calculated based on the hydrostatic impedance characteristic of the reference sampling unit. For each of the remaining non-reference sampling units, the estimated action time required for each non-reference sampling unit to overcome the hydrostatic pressure and open the sampling valve is calculated based on the hydrostatic impedance characteristic of each non-reference sampling unit. The difference between the reference overcoming resistance time and the estimated action time corresponding to each non-reference sampling unit is calculated to obtain the start-up delay time of each non-reference sampling unit relative to the reference sampling unit, and the start-up delay time of the reference sampling unit is marked as zero. By combining the static pressure impedance characteristic of each sampling unit with the preset target opening acceleration, the time growth rate of the output voltage duty cycle of the sampling valve corresponding to each sampling unit during the valve opening process is calculated, and the time growth rate is used as the power increase slope of the corresponding sampling unit.
5. The wastewater multi-depth synchronous sampling control method based on fluid disturbance prevention according to claim 4, characterized in that, The power increase slope is calculated using the following formula: In the formula, Let be the power increment slope of the i-th sampling unit. The moment of inertia of the drive motor. Activate acceleration for the preset target. Let be the characteristic quantity of the static voltage impedance of the i-th sampling unit. Due to the inherent mechanical damping of the drive motor, The critical angular velocity at the instant the sampling valve opens. This refers to the internal resistance of the stator winding of the drive motor. This is the preset torque constant of the drive motor. Provide a reference voltage for supplying power to the busbar of the motor drive circuit. The preset electrical time constant of the drive motor, It is the maximum hydrostatic impedance characteristic quantity in the multi-depth hydrostatic impedance matrix.
6. The wastewater multi-depth synchronous sampling control method based on fluid disturbance prevention according to claim 1, characterized in that, During the water inflow process after the sampling valve is opened, the motor drive circuit outputs a pulse width modulation signal to drive the drive motor to maintain operation, and the back electromotive force characteristics of the drive motor are collected through the current sampling circuit. Based on the back electromotive force characteristics, the duty cycle of the pulse width modulation signal is dynamically adjusted by the main controller to control the water inflow velocity of the sampling chamber within a preset flow velocity threshold. The process includes the following steps: During the water intake process after the sampling valve is opened, the motor drive circuit outputs a pulse width modulation signal to drive the drive motor to maintain operation. During the period when the pulse width modulation signal is at a low level and off, the current sampling circuit collects the terminal voltage of the drive motor to obtain the back electromotive force signal. The back electromotive force (EMF) signal of multiple consecutive pulse width modulation cycles is filtered and component stripped, and the high-frequency fluctuation amplitude of the back EMF signal is extracted as the back EMF feature. The instability index, representing the intensity of turbulence in the inlet channel of the sampling valve, is calculated based on the characteristics of the back electromotive force. By comparing the instability index with the preset instability threshold, when the instability index exceeds the instability threshold, the duty cycle of the pulse width modulation signal output to the motor drive circuit is reduced according to the preset negative feedback proportional coefficient, so as to reduce the opening of the sampling valve and constrain the water flow rate in the sampling chamber within the preset flow rate threshold.
7. The wastewater multi-depth synchronous sampling control method based on fluid disturbance prevention according to claim 6, characterized in that, The process of filtering and component stripping the back electromotive force (EMF) signal across multiple consecutive pulse width modulation cycles, and extracting the high-frequency fluctuation amplitude of the back EMF signal as a back EMF feature, includes the following steps: Set a fixed-length sliding time window and extract the back electromotive force signal contained within the sliding time window in multiple consecutive pulse width modulation cycles; The back electromotive force signal within the sliding time window is subjected to moving average filtering to fit the fundamental component signal representing the reference state of the rotational speed. The fundamental component signal is subtracted from the back electromotive force signal to separate the ripple interference signal; Perform a discrete Fourier transform on the ripple interference signal to generate the ripple energy spectrum distribution; Locate a preset characteristic frequency window associated with fluid disturbance in the ripple energy spectrum distribution; The energy integral of the spectral amplitude within the characteristic frequency window is calculated by performing energy integration on the frequency band corresponding to the characteristic frequency window. The high-frequency fluctuation amplitude of the back EMF signal is obtained by quantization calculation based on the frequency band energy integral value, and the high-frequency fluctuation amplitude is used as the back EMF characteristic.
8. The wastewater multi-depth synchronous sampling control method based on fluid disturbance prevention according to claim 1, characterized in that, When a sudden change in the operating current of the drive motor is detected by the current sampling circuit, the control pulse width modulation signal is output in a decreasing manner according to a preset attenuation curve to decelerate and close the sampling valve to achieve a seal. This includes the following steps: Throughout the water intake sampling process, the operating current of the drive motor is collected through a current sampling circuit at a preset monitoring cycle; Calculate the differential rate of change of operating current within two adjacent preset monitoring cycles; When the differential rate of change exceeds the preset rate of change threshold and the duration of exceeding the rate of change threshold reaches the preset filtering time window, it is determined that the operating current has changed abruptly and a full sampling chamber signal is generated. In response to the full sampling chamber signal, a preset attenuation curve containing multiple consecutive step-decreasing segments is generated; The duty cycle of the pulse width modulation signal output to the motor drive circuit is gradually reduced according to the preset attenuation curve, driving the drive motor to decelerate smoothly until the sampling valve is fully closed and pressed.
9. A multi-depth synchronous sampling control system for wastewater based on fluid disturbance prevention, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the wastewater multi-depth synchronous sampling control method based on fluid disturbance prevention as described in any one of claims 1 to 8.
10. A computer-readable storage medium storing instructions thereon, characterized in that, When executed by the processor, the instruction causes the processor to be configured to perform the wastewater multi-depth synchronous sampling control method based on fluid disturbance prevention as described in any one of claims 1 to 8.
