Phase-unwrapping-based high-temperature liquid level measurement system and method
By constructing a time-series distance map and removing structural clutter, phase unwrapping technology was used to optimize liquid level measurement, solving the problem of unstable liquid level measurement under high-temperature conditions and improving the accuracy and stability of the measurement.
Patent Information
- Application Number
- CN202611428396.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-15
- Publication Date
- 2026-11-27
AI Technical Summary
In high-temperature liquid level measurement, existing technologies struggle to distinguish between real liquid surface echoes, structural clutter echoes, and dynamic disturbance clutter echoes, leading to unstable measurement results and large errors. In particular, under complex interference environments, it is difficult to effectively reduce measurement errors caused by phase distortion and misselection of false echoes.
A high-temperature liquid level measurement system based on phase unwrapping is adopted. By constructing a time-series distance map, structural clutter and dynamic disturbance clutter are eliminated. By using a structural clutter reference model and phase path optimization, a continuous phase sequence is generated to determine the echo trajectory of the target liquid surface and calculate the liquid level height.
It improves the stability and accuracy of liquid level measurement under high temperature and complex interference environment, reduces the probability of strong structure reflection peaks or instantaneous disturbance peaks being mistakenly selected as real liquid surface echoes, and realizes graded suppression processing of different types of clutter.
Smart Images

Figure CN123175392A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of liquid level measurement technology, specifically a high-temperature liquid level measurement system and method based on phase unwrapping. Background Technology
[0002] In high-temperature liquid level measurement, radar echo signals are easily affected by high-temperature steam disturbances, inhomogeneous spatial media, and multipath reflections from the container's inner wall and internal components. This results in received echo signals often containing multiple reflection paths, superimposed with dynamic propagation disturbances and structural multipath clutter. Existing liquid level detection schemes using radar range sensors rely heavily on features such as range spectrum peak values, echo amplitude, or signal-to-noise ratio for target identification, making it difficult to reliably distinguish between genuine liquid surface echoes, structural reflection echoes, and false multipath echoes formed by propagation medium disturbances in complex interference environments. Furthermore, signal attenuation, propagation path disturbances, and changes in medium parameters caused by high temperatures can easily lead to discontinuous random jumps in echo phase information, resulting in abrupt changes or instability in phase-based liquid level calculations. Current technologies lack high-temperature liquid level measurement techniques for complex interference environments, making it difficult to effectively reduce measurement errors caused by phase distortion and misselection of false echoes. Summary of the Invention
[0003] To address the aforementioned problems, this invention discloses a high-temperature liquid level measurement system and method based on phase unwrapping. It aims to solve the problems in existing high-temperature liquid level measurements that rely on single-frame echo features for target identification, making it difficult to distinguish between real liquid surface echoes, structural clutter echoes, and dynamic disturbance clutter echoes. Furthermore, it addresses the issue that random phase jumps in high-temperature environments can lead to abrupt changes or instability in liquid level calculation results. This invention improves the stability and accuracy of liquid level measurement under complex high-temperature interference environments.
[0004] The technical solution to achieve the purpose of this invention is as follows:
[0005] On one hand, the present invention provides a high-temperature liquid level measurement system based on phase unwrapping, comprising:
[0006] The acquisition module transmits radar signals into the container under test, receives echo signals, and processes them to obtain frequency domain echo spectrum data.
[0007] The echo processing module extracts multiple candidate echo components based on frequency domain echo spectrum data, constructs a time-series distance map containing multiple consecutive measurement frames with the current measurement frame as the window endpoint, and associates the candidate echo components of different measurement frames based on cross-frame connection conditions to generate candidate echo trajectories.
[0008] The path optimization module removes structural clutter from candidate echo trajectories using a preset structural clutter reference model, performs temporal phase unwrapping and path cost optimization on the wrapped phase of the remaining candidate echo trajectories, removes dynamic disturbance clutter, and obtains effective candidate echo trajectories and their continuous phase sequences.
[0009] The liquid level output module determines the target liquid surface echo trajectory from the valid candidate echo trajectories, calculates the distance value from the radar to the liquid surface based on the continuous phase sequence of the target liquid surface echo trajectory, converts it into the liquid level height, and outputs it.
[0010] Furthermore, the acquisition module includes an acquisition unit and a preprocessing unit;
[0011] The acquisition unit is used to transmit frequency-modulated continuous wave radar signals into the container under test and receive the original echo signals formed by the liquid surface, container structure and internal components, and the disturbance of the high-temperature medium environment.
[0012] The preprocessing unit amplifies, filters, and down-converts the original echo signal to obtain an intermediate frequency (IF) echo signal. Within each measurement update cycle, the IF signal is sampled to obtain a discrete time-domain signal. The discrete time-domain signal is then weighted by a window function and subjected to a fast Fourier transform to obtain frequency-domain echo spectrum data containing multiple reflection components.
[0013] Furthermore, the echo processing module includes a component extraction unit and a trajectory generation unit;
[0014] The component extraction unit is used to perform peak detection on the frequency domain echo spectrum data of each measurement frame, retain multiple candidate peaks as candidate echo components, and obtain the distance position, amplitude, signal-to-noise ratio and wrapping phase of each candidate echo component.
[0015] The trajectory generation unit is used to construct and update a sliding window with the current measurement frame as the window endpoint, map the candidate echo components of each measurement frame in the sliding window to graph nodes of the time-series distance graph, establish connection edges between graph nodes of different measurement frames based on cross-frame connection conditions, and generate candidate echo trajectories based on the connection edges.
[0016] Specifically, the cross-frame connection conditions include the distance change continuity condition and the package phase change continuity condition;
[0017] The distance change continuity condition is determined based on the measurement frame interval and distance change amount between graph nodes in different measurement frames; the wrapping phase change continuity condition is determined based on the wrapping phase difference between graph nodes in different measurement frames.
[0018] When two graph nodes simultaneously satisfy the conditions for continuous distance change and continuous wrapping phase change, a connecting edge is established between the two graph nodes, and a continuous node chain is formed based on the connecting edge, and the continuous node chain is used as a candidate echo trajectory.
[0019] As a new measurement frame arrives, the sliding window moves forward synchronously, taking the candidate echo component corresponding to the new measurement frame as a new graph node, and removing historical graph nodes outside the sliding window.
[0020] Furthermore, the path optimization module includes a structure clutter matching unit and a phase path optimization unit;
[0021] The structure clutter matching unit is used to determine the structure clutter matching cost between each candidate echo trajectory and the fixed structure reflection position based on a preset structure clutter reference model, and to eliminate structure clutter trajectories according to the structure clutter matching cost.
[0022] The phase path optimization unit is used to construct a phase unfolding state space for the wrapped phase corresponding to the candidate echo trajectory after structural clutter removal, construct the path cost based on phase continuity and distance continuity, complete the temporal phase unwrapping through minimum cost path search, remove dynamic disturbance clutter trajectories based on the search results, and output the effective candidate echo trajectory and its continuous phase sequence.
[0023] Specifically, the structure clutter reference model includes multiple structure clutter reference terms, which include the distance range, frequency of occurrence, and distance fluctuation amount corresponding to fixed structure reflections;
[0024] The structure clutter matching unit is used to match the distance position sequence corresponding to the candidate echo trajectory with the fixed structure reflection distance interval in the structure clutter reference model, and to determine the structure clutter matching cost based on the matching ratio and distance deviation.
[0025] When the structural clutter matching cost of a candidate echo trajectory meets the preset structural clutter removal conditions, the corresponding candidate echo trajectory is determined to be a structural clutter trajectory and removed.
[0026] Specifically, the phase path optimization unit obtains the corresponding package phase sequence according to the time order of the graph nodes in each candidate echo trajectory, and performs phase expansion on the package phase sequence; determines the initial number of phase cycles based on the distance position of the first graph node in the candidate echo trajectory and the package phase; determines the phase cycle increment range between adjacent graph nodes based on the maximum allowable change rate of the measured liquid level, the actual measurement frame interval between adjacent graph nodes, the measurement update cycle, and the working wavelength of the radar signal; and expands the package phase corresponding to each graph node into multiple candidate phase expansion states within the phase cycle increment range.
[0027] Furthermore, the phase path optimization unit determines the distance change corresponding to continuous phase changes based on the candidate phase expansion state of adjacent graph nodes.
[0028] The change in spectral ranging is determined based on the distance and position of adjacent graph nodes;
[0029] Based on the difference between the distance change corresponding to the continuous phase change and the spectral ranging change, a state transition cost is constructed;
[0030] A minimum cumulative cost path search is performed among the candidate phase unfolding states to obtain the minimum cost phase unfolding path and continuous phase sequence corresponding to the candidate echo trajectory.
[0031] Based on the reachability of the minimum cost phase unfolding path and the normalized phase unwrapping residual, candidate echo trajectories are screened, corresponding dynamic disturbance clutter trajectories are eliminated, and valid candidate echo trajectories and their continuous phase sequences are output.
[0032] Furthermore, the liquid level output module includes a trajectory determination unit and a liquid level calculation unit;
[0033] The trajectory determination unit acquires the valid candidate echo trajectories and their continuous phase sequences output by the path optimization module. Based on the effective measurement range of the liquid level, candidate echo trajectories that do not conform to the measurement range are eliminated. Based on the trajectory continuity relationship with the previous measurement cycle and the normalized phase unwrapping residual, the target liquid surface echo trajectory is determined.
[0034] The liquid level calculation unit is used to calculate the straight-line distance from the radar antenna to the liquid surface based on the distance position and continuous phase sequence of the target liquid surface echo trajectory, and then convert the straight-line distance into liquid level height according to the radar installation parameters of the container being measured before outputting it.
[0035] On the other hand, the present invention provides a high-temperature liquid level measurement method based on phase unwrapping, comprising the following steps:
[0036] The radar signal is transmitted into the container under test, the echo signal is received and processed to obtain frequency domain echo spectrum data;
[0037] Multiple candidate echo components are extracted based on frequency domain echo spectrum data. A time-series distance map containing multiple consecutive measurement frames is constructed with the current measurement frame as the window endpoint. Candidate echo components of different measurement frames are associated based on cross-frame connection conditions to generate candidate echo trajectories.
[0038] By using a pre-defined structural clutter reference model, structural clutter is removed from candidate echo trajectories. The wrapped phase of the remaining candidate echo trajectories is then subjected to time-series phase unwrapping and path cost optimization to remove dynamic disturbance clutter, thus obtaining effective candidate echo trajectories and their continuous phase sequences.
[0039] The target liquid surface echo trajectory is determined from the valid candidate echo trajectories. The distance from the radar to the liquid surface is calculated based on the continuous phase sequence of the target liquid surface echo trajectory. The liquid level height is then calculated and output.
[0040] Compared with the prior art, the significant advantages of this invention are:
[0041] 1. By constructing a time-series distance map within a sliding window, candidate echo components in continuous measurement frames are correlated to form candidate echo trajectories. This transforms the traditional single-frame peak judgment into cross-frame continuous trajectory analysis, avoiding the selection of liquid surface echoes based solely on single-frame amplitude or signal-to-noise ratio, and reducing the probability of strong structure reflection peaks or instantaneous disturbance peaks being mistakenly selected as true liquid surface echoes.
[0042] 2. By identifying and eliminating structural clutter formed by reflections from fixed structures through a structural clutter reference model, and then using the consistency between phase change and spectral ranging change to screen out dynamic disturbance clutter trajectories that do not conform to the continuous change law, short-term false echoes caused by high-temperature steam, bubbles, heat flow disturbances, etc. are eliminated, thus achieving graded suppression processing of different types of clutter.
[0043] 3. The phase unfolding range is limited by the maximum allowable rate of change of the measured liquid level, the measurement frame interval, the measurement update cycle and the radar operating wavelength. The number of phase cycles is determined by the minimum cumulative cost path search, and the continuous phase sequence corresponding to the candidate echo trajectory is obtained, which reduces the impact of phase error unfolding and wrapped phase jump on the liquid level measurement results. Attached Figure Description
[0044] Figure 1 This is a diagram illustrating the architecture of a high-temperature liquid level measurement system based on phase unwrapping.
[0045] Figure 2 Flowchart for constructing and updating time-series distance graphs;
[0046] Figure 3 A flowchart for removing structural clutter and dynamic disturbance clutter;
[0047] Figure 4 This is a flowchart of a high-temperature liquid level measurement method based on phase unwrapping. Detailed Implementation
[0048] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments.
[0049] like Figure 1 As shown, this invention discloses a high-temperature liquid level measurement system based on phase unwrapping, including an acquisition module, an echo processing module, a path optimization module, and a liquid level output module;
[0050] The acquisition module transmits radar signals into the container under test, receives echo signals, and processes them to obtain frequency domain echo spectrum data.
[0051] The echo processing module extracts multiple candidate echo components based on frequency domain echo spectrum data, constructs a temporal distance map containing multiple consecutive measurement frames with the current measurement frame as the window endpoint, maps the candidate echo components of each measurement frame to graph nodes of the temporal distance map, establishes connection edges between graph nodes of different measurement frames based on cross-frame connection conditions, and generates candidate echo trajectories; wherein, the temporal distance map is used to characterize the distribution relationship of candidate echo components in the measurement frame sequence and distance position;
[0052] The path optimization module removes structural clutter from candidate echo trajectories using a preset structural clutter reference model, performs temporal phase unwrapping and path cost optimization on the wrapped phase of the remaining candidate echo trajectories, removes dynamic disturbance clutter, and obtains effective candidate echo trajectories and their continuous phase sequences.
[0053] The liquid level output module determines the target liquid surface echo trajectory from the valid candidate echo trajectories, calculates the distance value from the radar to the liquid surface based on the continuous phase sequence of the target liquid surface echo trajectory, converts it into the liquid level height, and outputs it.
[0054] Furthermore, the acquisition module is used to acquire the raw echo signal of the container under test and convert the raw echo signal into frequency domain echo spectrum data. The acquisition module includes an acquisition unit and a preprocessing unit.
[0055] The acquisition unit transmits frequency-modulated continuous wave radar signals into the container under test and receives the original echo signals reflected by the liquid surface, container structure, and internal components, and disturbed by the high-temperature medium environment.
[0056] In this embodiment, the radar transceiver system is installed at the measurement position on the top or side of the container under test, transmitting radar signals toward the liquid surface. Frequency-modulated continuous wave (FMCH) radar is used as a non-contact distance sensor to acquire distance information and echo phase information corresponding to the liquid surface and the internal reflective template of the container. After the radar signal enters the container under test, part of it is reflected by the liquid surface to form a liquid surface echo, and part is reflected by the container's inner wall, pipe openings, supports, stirrers, coils, or other built-in components to form a fixed structure echo. Additionally, some radar signals are attenuated, scattered, or have propagation phase disturbances under conditions of high-temperature steam, bubbles, thermal flow disturbances, or inhomogeneous spatial media. The acquisition unit receives these echo signals and obtains the original echo signal containing the liquid surface echo, structural reflection clutter, and dynamic propagation disturbance clutter.
[0057] The preprocessing unit amplifies, filters, and down-converts the original echo signal to obtain an intermediate frequency (IF) echo signal; it samples the IF signal to obtain a discrete time-domain (DTD) signal, and performs window function weighting and fast Fourier transform on the DTD signal to obtain frequency domain echo spectrum data.
[0058] In this embodiment, the preprocessing unit is connected to the acquisition unit and performs low-noise amplification, intermediate frequency bandpass filtering, and down-conversion processing on the original echo signal. The low-noise amplification is used to improve the detectability of weak echo components and suppress the noise of the receiving link itself. The intermediate frequency bandpass filtering is used to suppress noise and interference components outside the radar operating frequency band and retain the effective difference frequency signal. The down-conversion is used to convert the high-frequency echo signal into an intermediate frequency echo signal that is easy to sample and process.
[0059] According to sampling interval The intermediate frequency echo signal is sampled, and N discrete sampling points are obtained within one measurement frame to form a discrete time domain signal. ,in Here is the sampling point number, and the duration of a single measurement frame is... Between two adjacent measurement frames, corresponding frequency domain echo data is generated according to the measurement update cycle Tu. The measurement update cycle Tu is determined by the maximum liquid level change rate, radar ranging resolution, and system real-time processing capability. It is necessary to ensure that the liquid level change within adjacent measurement frames does not exceed the distance range that can be continuously tracked by subsequent phase path optimization. In a typical industrial high-temperature liquid level measurement system scenario, the value of Tu ranges from 10ms to 100ms. For example, in this embodiment, the measurement update cycle Tu = 50ms.
[0060] To reduce the impact of spectral leakage on the separation of adjacent echo components, the discrete-time domain signal within a measurement frame is... The weighted signal is obtained by performing window function weighting. :
[0061] ,
[0062] in, For window functions, optional. The Hanning window is used, and its representation is as follows:
[0063] ,
[0064] The Hanning window is used to reduce spectral sidelobe leakage and minimize the impact of strong structure echoes on the echo components of adjacent weak liquid surfaces. Then, a fast Fourier transform is performed on the weighted discrete-time signal to obtain frequency domain echo spectrum data composed of N frequency units. The formula for calculating the complex spectrum value corresponding to frequency unit k is as follows:
[0065] ,
[0066] in, For frequency unit index, Let j be the complex spectral value corresponding to frequency unit k, and j be the imaginary unit. The dataset composed of the complex spectral values of all frequency units is the frequency domain echo spectrum data, which contains three types of information: first, the difference frequency of each frequency unit, which can be converted into the distance position of different reflection components based on the radar ranging principle; second, the magnitude of each complex spectral value, which corresponds to the echo amplitude of the reflection component and is used to characterize the echo intensity; and third, the real and imaginary parts of each complex spectral value, which are used by the echo processing module to extract candidate echo components, calculate the wrapping phase, and construct candidate echo trajectories.
[0067] In high-temperature liquid level measurement scenarios, fixed structures such as container walls, pipe openings, supports, stirrers, or coils may generate structural reflection peaks with strong amplitudes. High-temperature steam, bubbles, and thermal disturbances may also generate spurious peaks with instantaneous enhancement within a short period. If the echo peak with the largest amplitude or the highest signal-to-noise ratio within a single measurement frame is directly taken as the liquid surface echo, it is easy to misjudge structural reflection clutter or dynamic disturbance clutter as the real liquid surface echo. Therefore, this embodiment does not directly determine the target liquid surface echo within a single measurement frame. Instead, it first retains multiple candidate echo components from each measurement frame, and then establishes candidate echo trajectories based on the distance changes, phase changes, and echo intensity changes of the candidate echo components between consecutive measurement frames. This transforms the liquid surface echo identification criterion from single-frame amplitude feature judgment to cross-frame temporal continuous feature judgment. The echo processing module includes a component extraction unit and a trajectory generation unit.
[0068] like Figure 2 As shown, the component extraction unit is used to perform peak detection on the frequency domain echo spectrum data of each measurement frame, retain multiple candidate peaks as candidate echo components, and obtain the distance position, amplitude, signal-to-noise ratio and wrapping phase of each candidate echo component.
[0069] In this embodiment, for the frequency domain echo spectrum corresponding to the q-th measurement frame Where k is the frequency unit index, the amplitude spectrum of each frequency unit is first calculated. It is determined by the modulus of the complex spectrum, and is expressed as:
[0070] ,
[0071] in, This represents the echo amplitude corresponding to frequency unit k in the q-th measurement frame, used to characterize the intensity of the echo component. For modulo operation; then in the amplitude spectrum In the process of local peak detection, optionally, a neighborhood extremum method is used to identify candidate peak points. When the amplitude spectrum of frequency unit k is simultaneously greater than the amplitudes of its left and right neighboring Nw frequency units, and also greater than the minimum amplitude threshold, the frequency unit is marked as a candidate peak point. Here, Nw is the peak detection neighborhood width, with an exemplary value of 3-5, used to suppress false spikes caused by spectral sidelobes and noise fluctuations. The minimum amplitude threshold can be taken as 3-5 times the neighborhood noise floor to filter out false peaks corresponding to noise. To avoid an excessive number of candidate echo components leading to an increase in subsequent computation, they can be sorted from high to low according to amplitude or signal-to-noise ratio, and the top L candidate peak points are retained as candidate echo components. Here, L can be determined according to the number of reflection peaks of the fixed structure inside the container and the real-time processing capability of the system. The more reflection peaks of the fixed structure or the stronger the real-time processing capability of the system, the larger L should be. For example, L is taken as 5 to 10.
[0072] For the p-th candidate peak point within the q-th measurement frame, extract the distance position of its corresponding frequency cell. Amplitude Signal-to-noise ratio and package phase Generate candidate echo components; wherein, the amplitude Determined by the modulus of the complex spectrum value of the corresponding frequency unit, it is expressed as:
[0073] ,
[0074] in, Let k be the frequency unit corresponding to the p-th candidate peak point in the q-th measurement frame; based on the difference frequency range conversion relationship of frequency-modulated continuous wave radar, the difference frequency corresponding to the candidate peak is converted into the distance position of the radar reaching the reflecting surface, and the calculation formula is:
[0075] ,
[0076] Where c is the speed of electromagnetic wave propagation. The difference frequency of the p-th candidate echo component in the q-th measurement frame is calculated from the frequency cell number, sampling frequency, and number of sampling points; S is the frequency modulation slope, determined by the radar signal bandwidth and sweep period; signal-to-noise ratio. Determined based on the candidate peak value and the estimated value of the neighborhood noise floor, expressed as:
[0077] ,
[0078] in, The average amplitude of Nn non-peak frequency units to the left and right of the p-th candidate peak point is used to characterize the noise floor level near the candidate peak point, where Nn is the noise estimation neighborhood length, determined according to the sampling frequency and echo peak width, so that the noise estimation region covers the noise region next to the candidate peak and avoids adjacent echo peaks; an example value of 10 is used. (Wrapping phase) Determined by the real and imaginary parts of the corresponding complex spectral value, it is expressed as:
[0079] ,
[0080] in, The wrap-around phase of the frequency unit of the p-th candidate peak point in the q-th measurement frame. This represents the arctangent operation in the four quadrants. For complex spectral values The imaginary part, For complex spectral values The real part, The range of values is Therefore, each candidate echo component can be represented as a quadruple: ,in, This represents the p-th candidate echo component within the q-th measurement frame. All candidate echo components in the same measurement frame constitute the candidate echo component set. .
[0081] The trajectory generation unit constructs a sliding window with the current measurement frame as the window endpoint and builds a temporal distance map to generate candidate echo trajectories.
[0082] In this embodiment, a sliding window is constructed by backtracking M consecutive measurement frames, with the current measurement frame as the end point of the window. M is the number of measurement frames included in the sliding window, which is determined based on the liquid level change rate and the system's real-time processing capability. With the measurement update cycle Tu remaining constant, the slower the change rate of the measured liquid level, the more sufficient the cross-frame continuous information can be obtained, and the stronger the system's real-time processing capability, the more M can be increased. For example, when the measurement update cycle Tu is 50ms, M can be 10.
[0083] The multiple candidate echo components corresponding to each measurement frame within the sliding window are mapped to an independent graph node in the time-series distance graph. For the p-th candidate echo component in the q-th measurement frame, the corresponding graph node is defined as follows: Where q is the measurement frame number, , , and The distance, amplitude, signal-to-noise ratio, and wrapping phase of the candidate echo components are respectively. The time-series distance graph uses the measurement frame number as the horizontal axis and the distance and position of the candidate echo components as the vertical axis. Each graph node represents a candidate echo component detected at a certain measurement time. Multiple candidate echo components in the same measurement frame form multiple graph nodes under the same time coordinate. The connecting edges between graph nodes represent the temporal continuity relationship of the candidate echo components.
[0084] For two graph nodes belonging to different measurement frames within the sliding window and ,in The measurement frame interval between the two is expressed as: When 1≤ When ≤B, it is determined whether the two satisfy the cross-frame connection condition, where B is the maximum frame interval allowed for cross-frame connection. In order to maintain the continuity of the trajectory when the candidate echo is weakened or missing for a short time, as an example, B can be 1 to 2.
[0085] Specifically, the cross-frame connection conditions include a distance change continuity condition and a wrap-around phase change continuity condition; the distance change continuity condition is used to limit the distance jump of candidate echo components between different measurement frames, and the wrap-around phase change continuity condition is used to limit the phase jump of candidate echo components between different measurement frames.
[0086] The distance change continuity condition is used to limit distance jumps in candidate echo components that do not conform to the liquid level change pattern between consecutive measurement frames. For two graph nodes... and Change in distance between Represented as:
[0087] ,
[0088] when Two graph nodes are considered to satisfy the condition of continuous distance variation when the following equation is met:
[0089] ,
[0090] in, The maximum allowable rate of change of the measured liquid level is the maximum distance change rate corresponding to the liquid surface along the radar ranging direction. It is set according to the limit speed of liquid level rise and fall in industrial scenarios, with an example value of 1m / s-2m / s. This constraint ensures that the change of echo distance conforms to the physical law of liquid level movement and eliminates false clutter components caused by abrupt changes in distance. The measurement frame interval between two graph nodes is used to exclude spurious echo nodes that exhibit distance jumps within a short period of time.
[0091] The wrap phase change continuity condition is used to restrict abrupt changes in phase change between two graph nodes. Since the wrap phase value range is... The wrap phase difference between two graph nodes It can be represented as: ,
[0092] in, This indicates that the phase difference is mapped to... Phase normalization operation, when When the phase change is less than or equal to a preset phase change threshold, the two graph nodes are considered to satisfy the condition of continuous phase change in the enclosed phase. The preset phase change threshold can also be determined based on the measurement update cycle, the maximum rate of change in liquid level, and the system phase noise level. For example, it can be taken as... The phase of adjacent frames of the real liquid surface echo changes continuously and slowly with distance, while the phase of high temperature disturbance clutter is prone to random jumps, which can initially filter out false components with abrupt phase changes.
[0093] When two graph nodes simultaneously satisfy the conditions of continuous distance change and continuous wrapping phase change, the trajectory generation unit establishes a connection edge between the two graph nodes. Based on all the connection edges in the temporal distance graph of the current sliding window, it uses a depth-first search to traverse all continuous node chains formed by the connection edges. Each unbranched continuous node chain is a candidate echo trajectory. Each trajectory contains a sequence of graph nodes from multiple consecutive frames, as well as the corresponding temporal data of distance, amplitude, signal-to-noise ratio, and wrapping phase.
[0094] The trajectory generation unit forms continuous node chains based on the connecting edges in the time-series distance graph and uses each continuous node chain as a candidate echo trajectory. For continuous node chains with branches, the trajectory generation unit does not force a unique trajectory determination during the echo processing stage. Instead, it retains multiple candidate node chains as multiple candidate echo trajectories for joint output. This avoids losing the true liquid surface echo due to premature single trajectory determination when there are high-temperature steam disturbances, short-term attenuation of liquid surface echo amplitude, or changes in the order of multipath reflection peaks. The final time-series distance graph can be represented as follows: ,in This represents the set of graph nodes within the current sliding window. This represents the set of connection edges that satisfy the cross-frame connection condition.
[0095] As new measurement frames are input frame by frame, the sliding window slides forward synchronously, taking the candidate echo component corresponding to the current measurement frame as a new graph node, removing the historical graph nodes and their connecting edges outside the sliding window, and incrementally updating the temporal distance graph and the candidate echo trajectory set based on the cross-frame connection conditions between the new graph nodes and the graph nodes inside the sliding window.
[0096] In this embodiment, the structural clutter trajectory formed by fixed structure reflections is typically distributed at a relatively stable distance position over a long period, exhibiting a high degree of matching with the fixed structure reflection position in the structural clutter reference model. Dynamic disturbance clutter trajectories formed by high-temperature steam, bubbles, or heat flow disturbances typically have characteristics such as short duration, abrupt changes in distance position, frequent phase jumps, or large fluctuations in echo intensity. Based on these differences in characteristics among different types of clutter, the path optimization module constructs structural clutter matching costs and dynamic disturbance costs respectively, and performs hierarchical suppression. The path optimization module includes a structural clutter matching unit and a phase path optimization unit.
[0097] like Figure 3 As shown, the structure clutter matching unit is used to determine the structure clutter matching cost between each candidate echo trajectory and the fixed structure reflection position based on a preset structure clutter reference model, and to eliminate structure clutter trajectories according to the structure clutter matching cost.
[0098] In this embodiment, the structural clutter reference model is used to describe the stable distance distribution characteristics of the reflected echoes from fixed structures inside the tested container. These fixed structure reflections include, but are not limited to, stable reflections formed by the container's inner wall, mounting ports, supports, coils, the edge of the agitator, or other built-in components. Since the positions of these fixed structure reflections typically remain stable over a relatively long period, while the actual liquid surface echoes continuously move with changes in liquid level, a pre-calibrated structural clutter reference model is constructed.
[0099] After the container structure is installed, under calibration conditions where the container is unloaded or the liquid level is known and does not obstruct the reflection of the target fixed structure, and there is no significant steam, bubble, or medium flow disturbance, frequency domain echo spectrum data of multiple historical measurement frames are continuously collected, and candidate echo components are extracted from each historical measurement frame. Statistical analysis is performed on the candidate echo components in each historical measurement frame, counting the frequency of echo peaks and the distance fluctuation range at each distance position. For a candidate echo component corresponding to a certain distance position, its frequency of occurrence and distance fluctuation range in historical measurement frames are counted. Candidate echo components with a frequency not lower than a preset frequency threshold and a distance fluctuation range not greater than a preset stability threshold are marked as fixed structure reflection components, and a pair of... The corresponding structural clutter reference term is composed of multiple structural clutter reference terms forming a structural clutter reference model. The preset frequency threshold is positively correlated with the number of historical sampling periods and the expected occurrence ratio of fixed structure reflections. A higher number of historical sampling periods corresponds to a higher cumulative occurrence rate of fixed structure reflections within a complete calibration period, and thus a higher preset frequency threshold. For example, when continuously collecting 200 historical measurement frames with an expected occurrence ratio of 80%, the preset frequency threshold can be 160. The preset stability threshold is determined based on radar ranging resolution, radar installation error, and the range of thermal changes in the container structure. Lower radar ranging resolution, larger installation error, or larger range of container structure changes result in a correspondingly higher preset stability threshold, and vice versa. Specifically, for the h-th fixed structure reflection component, a corresponding structural clutter reference term is generated, expressed as:
[0100] ,
[0101] in, For the distance interval corresponding to the reflection of the h-th fixed structure, This indicates the frequency of reflections from the fixed structure. This represents the distance fluctuation reflected by the fixed structure; the distance range It can be determined based on the historical average distance and distance tolerance corresponding to the reflection of the same fixed structure, expressed as: ,in, The mean distance of the fixed structure reflection in historical measurement frames. For distance tolerance, the distance tolerance can be determined based on the radar ranging resolution and system installation error. For example, The range can be 1 to 3 times the radar ranging resolution; the frequency of occurrence indicates the degree of repetition of the fixed structure reflection in historical measurement frames. The higher the frequency of occurrence, the more likely the reflection originates from a fixed structure; the distance fluctuation indicates the degree of fluctuation in the distance position corresponding to the fixed structure reflection, which can be determined by the standard deviation of the distance position of the fixed structure reflection in historical measurement frames. The smaller the distance fluctuation value, the more stable the reflection position is, and the more it conforms to the characteristics of a fixed structure reflection; specifically, the distance fluctuation can be expressed as:
[0102] ,
[0103] in, This indicates the number of times the h-th fixed structure reflection component appears in the historical measurement frames. This represents the distance position corresponding to the r-th occurrence of the h-th fixed structure reflection component.
[0104] In the actual measurement process, the structure clutter matching unit obtains the i-th candidate echo trajectory within the current sliding window, represented as:
[0105] ,
[0106] in, , , and Let represent the distance position, amplitude, signal-to-noise ratio, and wrapping phase of the t-th graph node contained in the i-th candidate echo trajectory, respectively. For each candidate echo trajectory, the distance position sequence within its sliding window is matched one by one with each structural clutter reference term in the structural clutter reference model, and the structural clutter matching cost is calculated based on the matching ratio and distance deviation. For the i-th candidate echo trajectory and the h-th structural clutter reference term, the distance positions in the candidate echo trajectory that fall within the distance interval are counted. The number of measurement frames is used to calculate the matching ratio. A higher matching ratio indicates that the candidate echo trajectory overlaps with the distance range of the corresponding fixed structure reflection in more measurement frames. Then, the average distance between each distance position in the candidate echo trajectory and the h-th fixed structure reflection is used as the basis for the matching ratio. The deviation between them is used to calculate the normalized distance deviation:
[0107] ,
[0108] in, The normalized distance deviation between the i-th candidate echo trajectory and the h-th structure clutter reference term is... Let i be the set of measurement frame numbers contained in the i-th candidate echo trajectory; This represents the number of graph nodes it contains. The distance position is the position of the t-th graph node in the i-th candidate echo trajectory; the smaller the normalized distance deviation, the closer the distance position of the candidate echo trajectory is to the distance range of the corresponding fixed structure reflection.
[0109] For candidate echo trajectories and structural clutter reference terms The structural clutter matching cost between them is calculated using the following formula:
[0110] ,
[0111] in, Candidate echo trajectories and structural clutter reference terms The matching ratio between them The normalized distance deviation is used; the lower the structural clutter matching cost, the higher the degree of matching between the candidate echo trajectory and the reflection from the fixed structure, and the greater the probability that it is structural clutter.
[0112] For the same candidate echo trajectory The structure clutter matching unit calculates its structure clutter matching cost with each structure clutter reference term, and takes the minimum value as the structure clutter matching cost of the candidate echo trajectory.
[0113] ,
[0114] Where R is the number of structural clutter reference terms included in the structural clutter reference model.
[0115] When the structural clutter matching cost of a candidate echo trajectory is less than or equal to a preset structural clutter rejection threshold, the candidate echo trajectory is identified as a structural clutter trajectory and rejected. For example, the preset structural clutter rejection threshold can be between 0.20 and 0.40. The specific value can be determined based on the distribution of matching costs between structural clutter trajectories and non-structural clutter trajectories in pre-calibrated historical measurement frames. The structural clutter matching cost that minimizes the number of misclassifications between structural clutter trajectories and non-structural clutter trajectories is selected as the preset structural clutter rejection threshold. Candidate echo trajectories whose structural clutter matching cost does not reach the preset structural clutter rejection threshold are not rejected temporarily and are retained for further differentiation in the subsequent phase path optimization stage to avoid erroneously deleting weak liquid surface echoes.
[0116] After processing by the structure clutter matching unit, candidate echo trajectories identified as structure clutter are removed from the candidate echo trajectory set. Based on the graph nodes and connecting edges corresponding to the remaining candidate echo trajectories, a time-series distance subgraph after structure clutter removal is obtained, represented as follows: ,in, This represents the set of graph nodes corresponding to the remaining candidate echo trajectories. This is the set of connecting edges corresponding to the remaining candidate echo trajectories.
[0117] The phase path optimization unit is used to construct a phase unfolding state space for the wrapped phase corresponding to the candidate echo trajectory after structural clutter removal. It constructs the state transition cost based on phase continuity and distance continuity, completes the temporal phase unwrapping through minimum cost phase unfolding path search, and removes dynamic disturbance clutter trajectories by combining the temporal continuity and distance continuity of the candidate echo trajectory, and outputs the effective candidate echo trajectory and its continuous phase sequence.
[0118] In this embodiment, the phase path optimization unit obtains the time-series distance sub-map retained after processing by the structure clutter matching unit. and a set of candidate echo trajectories, wherein the set of candidate echo trajectories is represented as: ,in, This represents the number of candidate echo trajectories retained within the current sliding window. This represents the i-th candidate echo trajectory;
[0119] According to the time order of the graph nodes in each candidate echo trajectory, phase unrolling and minimum cost path search are performed on the package phase sequence corresponding to each candidate echo trajectory.
[0120] Since the package phase only represents the modulus To obtain the continuous phase corresponding to the spectral ranging result, it is necessary to determine the integer phase cycle number corresponding to each graph node; for the first graph node of the candidate echo trajectory, based on its distance position... Determine the initial phase period number:
[0121] ,
[0122] in, The operating wavelength of the radar signal. To take the closest integer, Let the wrapping phase of the first graph node in the i-th candidate echo trajectory be defined. By determining the initial phase period number, a correspondence can be established between the wrapping phase and the radar coarse range measurement results. This avoids the continuous phase sequence having only relative changes and lacking an initial range reference, thus obtaining the initial unfolded phase, expressed as:
[0123] ,
[0124] in, Let be the initial unfolding phase of the i-th candidate echo trajectory.
[0125] For the (p-1)th graph node and the pth graph node, the measurement frame interval between them is: Based on the maximum allowable rate of change of the measured liquid level The product of the measurement update period Tu and the maximum allowable distance change between two graph nodes is determined. Due to the variation in radar round-trip propagation distance and phase change The formula between them is satisfied: Therefore, the maximum allowed number of phase cycles between graph nodes in adjacent measurement frames can be determined as follows:
[0126] ,
[0127] in, To round up, The expansion margin reserved for phase noise and boundary error is, for example, taken as 0 or 1; thus, for the p-th graph node, based only on the phase period number of the previous graph node, the following phase period increment is searched: For example, when the maximum rate of change of liquid level is The measurement update cycle is When the measurement frame interval between adjacent graph nodes is 1, the theoretical maximum distance change is approximately 0.05m. The corresponding maximum number of phase cycles can be determined by combining this with the radar operating wavelength. If candidate echo trajectories have cross-frame connections, the phase unfolding range is expanded accordingly based on the actual measurement frame interval. Through this method, the number of phase unfolding cycles is determined by the maximum liquid level change rate, the actual measurement frame interval, the measurement update cycle, and the radar operating wavelength. This approach covers potential phase cycle changes in real-world application scenarios while avoiding the increase in invalid states caused by setting an excessively large fixed unfolding order.
[0128] For any candidate unfold phase of the previous graph node Phase with any candidate unfolding node of the current graph Calculate the distance change corresponding to the phase based on continuous phase changes:
[0129] ,
[0130] in, For the candidate unfolded phase of the p-th graph node in the i-th candidate echo trajectory Phase of candidate expansion with the previous graph node The change in distance between them, and simultaneously, the change in spectral ranging is calculated based on the distance position extracted from the aforementioned frequency domain echo spectrum data:
[0131] ,
[0132] Based on the consistency between the distance change corresponding to the phase and the spectral ranging change, the state transition cost is constructed and expressed as:
[0133] ,
[0134] in, The phase-range tolerance can be determined based on the radar ranging resolution, the equivalent range error corresponding to the phase noise, and the ranging error caused by high-temperature medium disturbance. The smaller the state transition cost, the more consistent the range change corresponding to the current phase unfolding state is with the spectrum ranging result, and the more the current phase unfolding state conforms to the true echo propagation law.
[0135] As an optional implementation, the phase path optimization unit performs a minimum cost path search among multiple phase unfolded states of the candidate echo trajectory; the search is performed using dynamic programming, and the minimum cumulative path cost for the z-th candidate phase unfolded state of the p-th graph node is expressed as:
[0136] ,
[0137] in, Indicates reaching the node of the previous graph. The minimum cumulative path cost of each candidate phase expansion state. The state transition cost is the cost of transitioning from the previous candidate state to the current candidate state. The phase path optimization unit records the optimal predecessor state corresponding to each candidate phase unfolding state. After the cumulative cost calculation of all graph nodes of the i-th candidate echo trajectory is completed, the candidate state with the minimum cumulative path cost is selected at the end of the trajectory, and backtracking is performed according to the recorded optimal predecessor state to obtain the minimum cost phase unfolding path corresponding to the i-th candidate echo trajectory.
[0138] ,
[0139] in, Let i be the minimum cost phase expansion path corresponding to the i-th candidate echo trajectory. Let be the continuous phase value of the i-th candidate echo trajectory in the q-th measurement frame; the minimum cost phase unfolding path is the continuous phase sequence corresponding to the i-th candidate echo trajectory. Furthermore, the normalized phase unwrapping residual of the candidate echo trajectory is calculated based on the minimum cumulative path cost, using the following formula:
[0140] ,
[0141] in, The minimum cumulative path cost among the i-th candidate echo trajectories. This represents the number of state transitions in the candidate echo trajectory; since the cost of a single state transition is limited to the range of 0 to 1, the normalized phase unwrapping residual... It also falls within the range of 0 to 1; the smaller the value, the higher the consistency between continuous phase changes and spectral ranging changes. During the minimum cumulative path search process, state transitions that do not meet the phase unfolding range constraints are not considered as candidate state transitions for cumulative path cost calculation; when at least one candidate phase unfolding state of the current graph node has a valid predecessor state, the cumulative path cost calculation continues for subsequent graph nodes; when all candidate phase unfolding states of a graph node lack valid predecessor states, resulting in the inability to form a complete phase unfolding path through the corresponding candidate echo trajectory, the normalized phase unwrapping residual of the candidate echo trajectory is set to 1.
[0142] When the normalized phase unwrapping residual of the i-th candidate echo trajectory When the normalized phase unwrapping residual is greater than a preset unwrapping residual threshold, it indicates that the candidate echo trajectory cannot form a valid continuous phase path, and the candidate echo trajectory is judged as a dynamic disturbance clutter trajectory and discarded. When the normalized phase unwrapping residual is less than or equal to the preset unwrapping residual threshold, the candidate echo trajectory is determined as a valid candidate echo trajectory, and its corresponding continuous phase sequence is output. The preset unwrapping residual threshold can be determined based on the distribution of the normalized phase unwrapping residual of the actual liquid surface echo trajectory under stable liquid level conditions. For example, it can be the sum of the mean of the normalized phase unwrapping residual under stable liquid level conditions and its standard deviation of 2 to 3 times. Finally, the phase path optimization unit outputs a set of valid candidate echo trajectories and their continuous phase sequence. This output result is used for subsequent screening of target liquid surface echo trajectories.
[0143] Furthermore, the liquid level output module is used to acquire the valid candidate echo trajectory and its continuous phase sequence output by the path optimization module, determine the target liquid surface echo trajectory, calculate the distance value of the radar to the liquid surface based on the continuous phase sequence of the target liquid surface echo trajectory, and convert the distance value into liquid level height based on the radar installation parameters of the container under test before outputting it; the liquid level output module includes a trajectory determination unit and a liquid level calculation unit.
[0144] The trajectory determination unit is used to acquire the effective candidate echo trajectories and their continuous phase sequences output by the path optimization module, and to determine the target liquid surface echo trajectory from the effective candidate echo trajectories based on the effective liquid level measurement range and the trajectory continuity relationship between adjacent measurement cycles.
[0145] In this embodiment, after structural clutter removal, temporal phase unwrapping, and dynamic disturbance clutter removal, the path optimization module outputs one or more valid candidate echo trajectories, as well as the continuous phase sequence and normalized phase unwrapping residual corresponding to each valid candidate echo trajectory. The valid candidate echo trajectories and their continuous phase sequences are obtained. Combined with the effective measurement range of the measured container, the liquid level output result of the previous measurement cycle, and the liquid level motion constraints, the target liquid surface echo trajectory is determined.
[0146] First, the effective liquid level range is verified for the valid candidate echo trajectories. The effective liquid level measurement range is determined based on the radar installation height, the height of the measured container, the radar blind zone, the lower limit of the measurement range, and the upper limit of the measurement range. The distance and position corresponding to each valid candidate echo trajectory are then converted into a preliminary liquid level height. If the liquid level height calculated from the distance and position of a candidate echo trajectory exceeds the effective liquid level measurement range, the candidate echo trajectory is determined to be unlikely to be the target liquid surface echo trajectory and is discarded.
[0147] For valid candidate echo trajectories within the effective liquid level measurement range, the trajectory determination unit determines whether the target liquid level echo trajectory determined in the previous measurement cycle has a continuing trajectory within the current sliding window. The continuing trajectory is determined based on shared graph nodes or connecting edges between adjacent sliding windows; when the current candidate echo trajectory and the previous target liquid level echo trajectory contain the same historical graph nodes, or when the two form a continuous node connection relationship through sliding window updates, the current candidate echo trajectory is determined as a continuing trajectory of the previous target liquid level echo trajectory.
[0148] When there is only one continuing trajectory, the continuing trajectory is determined as the target liquid surface echo trajectory for the current measurement cycle; when there are multiple continuing trajectories, the candidate echo trajectory with the smallest normalized phase unwrapping residual is selected from the multiple continuing trajectories as the target liquid surface echo trajectory.
[0149] When there is no valid target liquid surface echo trajectory from the previous measurement cycle, or when there is no continuing trajectory of the previous target liquid surface echo trajectory within the current sliding window, the candidate echo trajectory with the smallest normalized phase unwrapping residual is selected from the valid candidate echo trajectories within the effective measurement range of the liquid level as the target liquid surface echo trajectory.
[0150] Finally, the trajectory determination unit outputs the target liquid surface echo trajectory and its continuous phase sequence, represented as follows: ,in This indicates the trajectory of the liquid surface echo in the current sliding window. This represents the continuous phase sequence corresponding to the echo trajectory of the target liquid surface.
[0151] The liquid level calculation unit is used to calculate the straight-line distance from the radar antenna to the liquid surface based on the distance position and continuous phase sequence of the target liquid surface echo trajectory, and then convert the straight-line distance into liquid level height according to the radar installation parameters of the container being measured before outputting it.
[0152] In this embodiment, the graph nodes corresponding to each measurement frame in the target liquid surface echo trajectory include distance position, amplitude, signal-to-noise ratio, and encapsulated phase. The continuous phase sequence is the non-encapsulated phase sequence obtained after the temporal phase unwrapping is completed by the phase path optimization unit.
[0153] First, based on the distance positions of each measurement frame in the target liquid surface echo trajectory, the coarse distance value of the radar to the liquid surface is determined. Specifically, for the graph node of the target liquid surface echo trajectory in the q-th measurement frame, the coarse distance value from the radar antenna to the liquid surface is calculated based on the difference frequency corresponding to the graph node and the frequency modulation slope of the frequency-modulated continuous wave radar. The coarse distance value is used to provide an absolute position reference for the distance to the liquid surface, avoiding the cumulative error of phase cycles when calculating the distance based solely on the phase change.
[0154] Based on the continuous phase sequence of the target liquid surface echo trajectory, the distance change between adjacent measurement frames is calculated. Since the continuous phase sequence has been unwrapped, the continuous phase difference between adjacent measurement frames can reflect minute changes in the liquid surface distance. For the continuous phase change between the q-th measurement frame and the reference measurement frame, the liquid level calculation unit converts it into a distance change based on the radar carrier wavelength. As an optional implementation, the distance change can be determined according to the following formula:
[0155] ,
[0156] in, This represents the distance change of the q-th measurement frame relative to the reference measurement frame. For radar carrier wavelength, The continuous phase values corresponding to the q-th measurement frame. For reference measurement frames, the corresponding continuous phase value is used, where b is the phase direction coefficient. This phase direction coefficient is pre-calibrated based on the correspondence between the direction of continuous phase change and the direction of target range change in frequency-modulated continuous wave radar. When the continuous phase increases, corresponding to an increase in target range, the phase direction coefficient takes a positive value; when the continuous phase increases, corresponding to a decrease in target range, the phase direction coefficient takes a negative value. Since radar signals propagate in a round trip, the range change and phase change are calculated using... The correspondence is as follows: the reference measurement frame can be the starting measurement frame in the current sliding window, or it can be the measurement frame that has output a valid liquid level result in the previous measurement cycle.
[0157] The fine range value of the current measurement frame is determined based on the coarse range value of the reference measurement frame and the range change obtained from the continuous phase sequence. Specifically, this includes: using the coarse range value of the reference measurement frame as a range reference, superimposing the range change obtained from phase conversion onto the range reference to obtain the straight-line distance from the radar antenna to the liquid surface in the current measurement frame.
[0158] Preferably, a first-order low-pass smoothing filter is applied to the high-precision distance results of multiple consecutive frames within the sliding window to further suppress the small distance fluctuations caused by high-temperature medium disturbances, and output the final straight-line distance from the radar antenna to the liquid surface. Compared with the traditional single-frame amplitude peak ranging method, the ranging method based on unwrapped continuous phase has higher distance resolution and can avoid the sudden distance changes caused by phase jump.
[0159] Furthermore, the liquid level calculation unit converts the straight-line distance into liquid level height based on the radar installation parameters and then outputs the result.
[0160] In this embodiment, the radar installation parameters include at least the installation height of the radar antenna phase center relative to the zero point of the container liquid level, the installation angle of the radar beam relative to the vertical direction, the radar blind zone, the effective range, and the installation calibration offset.
[0161] As an alternative implementation, when the radar is installed vertically downwards, the liquid level height is obtained by subtracting the straight-line distance from the radar to the liquid surface from the installation height of the radar antenna phase center relative to the zero point of the container liquid level, and then corrected by the installation calibration offset.
[0162] When the radar is installed at an angle relative to the vertical direction, the straight-line distance from the radar to the liquid surface is first converted to a vertical distance based on the installation angle. Then, the liquid level height is calculated based on the installation height of the radar antenna phase center relative to the zero point of the container liquid level. The liquid level height corresponding to the qth measurement frame can be expressed as:
[0163] ,
[0164] in, This represents the liquid level height corresponding to the q-th measurement frame. This indicates the installation height of the radar antenna phase center relative to the zero point of the container liquid level. This represents the straight-line distance from the radar to the liquid surface. This indicates the installation angle of the radar beam relative to the vertical direction. This indicates the installation calibration offset.
[0165] Optionally, to reduce minor random fluctuations in the final liquid level output, a moving average, median filtering, or first-order low-pass filtering is applied to the liquid level heights that have passed validity verification over multiple consecutive measurement periods to obtain the final liquid level output value. The smoothing process only applies to the final liquid level height and does not alter the target liquid surface echo trajectory or its continuous phase sequence.
[0166] like Figure 4 As shown, this invention provides a high-temperature liquid level measurement method based on phase unwrapping, comprising the following steps:
[0167] The radar signal is transmitted into the container under test, the echo signal is received and processed to obtain frequency domain echo spectrum data;
[0168] Multiple candidate echo components are extracted based on frequency domain echo spectrum data. A sliding window containing multiple consecutive measurement frames is constructed with the current measurement frame as the window endpoint. The candidate echo components of each measurement frame within the sliding window are used as graph nodes of the temporal distance graph. The temporal distance graph is used to characterize the distribution relationship of candidate echo components in the measurement frame sequence and distance position. Based on cross-frame connection conditions, connection edges between graph nodes of different measurement frames are established to generate candidate echo trajectories.
[0169] By using a pre-defined structural clutter reference model, structural clutter is removed from candidate echo trajectories. The wrapped phase of the remaining candidate echo trajectories is then subjected to time-series phase unwrapping and path cost optimization to remove dynamic disturbance clutter, thus obtaining effective candidate echo trajectories and their continuous phase sequences.
[0170] The target liquid surface echo trajectory is obtained by filtering based on the continuous phase sequence of each candidate echo trajectory;
[0171] The distance from the radar to the liquid surface is calculated based on the continuous phase sequence of the echo trajectory of the target liquid surface, and the liquid level height is obtained and output.
[0172] The above description is merely a preferred embodiment of the present invention. The scope of protection of the present invention is not limited to the above embodiments. All technical solutions falling within the scope of the present invention's concept are within the scope of protection of the present invention. It should be noted that for those skilled in the art, any improvements and modifications made without departing from the principles of the present invention should also be considered within the scope of protection of the present invention.
Claims
1. A high-temperature liquid level measurement system based on phase unwrapping, characterized in that, include: The acquisition module transmits radar signals into the container under test, receives echo signals, and processes them to obtain frequency domain echo spectrum data. The echo processing module extracts multiple candidate echo components based on frequency domain echo spectrum data, constructs a time-series distance map containing multiple consecutive measurement frames with the current measurement frame as the window endpoint, and associates the candidate echo components of different measurement frames based on cross-frame connection conditions to generate candidate echo trajectories. The path optimization module removes structural clutter from candidate echo trajectories using a preset structural clutter reference model, performs temporal phase unwrapping and path cost optimization on the wrapped phase of the remaining candidate echo trajectories, removes dynamic disturbance clutter, and obtains effective candidate echo trajectories and their continuous phase sequences. The liquid level output module determines the target liquid surface echo trajectory from the valid candidate echo trajectories, calculates the distance value from the radar to the liquid surface based on the continuous phase sequence of the target liquid surface echo trajectory, converts it into the liquid level height, and outputs it.
2. The high-temperature liquid level measurement system based on phase unwrapping as described in claim 1, characterized in that, The acquisition module includes an acquisition unit and a preprocessing unit; The acquisition unit is used to transmit frequency-modulated continuous wave radar signals into the container under test and receive the original echo signals formed by the liquid surface, container structure and internal components, and the disturbance of the high-temperature medium environment. The preprocessing unit is used to amplify, filter, and down-convert the original echo signal to obtain the intermediate frequency echo signal; The intermediate frequency signal is sampled in each measurement update cycle to obtain a discrete time domain signal. The discrete time domain signal is then weighted by a window function and subjected to a fast Fourier transform to obtain frequency domain echo spectrum data containing multiple reflection components.
3. The high-temperature liquid level measurement system based on phase unwrapping as described in claim 1, characterized in that, The echo processing module includes a component extraction unit and a trajectory generation unit; The component extraction unit is used to perform peak detection on the frequency domain echo spectrum data of each measurement frame, retain multiple candidate peaks as candidate echo components, and obtain the distance position, amplitude, signal-to-noise ratio and wrapping phase of each candidate echo component. The trajectory generation unit is used to construct and update a sliding window with the current measurement frame as the window endpoint, map the candidate echo components of each measurement frame in the sliding window to graph nodes of the time-series distance graph, establish connection edges between graph nodes of different measurement frames based on cross-frame connection conditions, and generate candidate echo trajectories based on the connection edges.
4. The high-temperature liquid level measurement system based on phase unwrapping as described in claim 3, characterized in that, The cross-frame connection conditions include the distance change continuity condition and the package phase change continuity condition; The distance change continuity condition is determined based on the measurement frame interval and distance change amount between graph nodes in different measurement frames; the wrapping phase change continuity condition is determined based on the wrapping phase difference between graph nodes in different measurement frames. When two graph nodes simultaneously satisfy the conditions for continuous distance change and continuous wrapping phase change, a connecting edge is established between the two graph nodes, and a continuous node chain is formed based on the connecting edge, and the continuous node chain is used as a candidate echo trajectory. As a new measurement frame arrives, the sliding window moves forward synchronously, taking the candidate echo component corresponding to the new measurement frame as a new graph node, and removing historical graph nodes outside the sliding window.
5. The high-temperature liquid level measurement system based on phase unwrapping as described in claim 1, characterized in that, The path optimization module includes a structure clutter matching unit and a phase path optimization unit; The structure clutter matching unit is used to determine the structure clutter matching cost between each candidate echo trajectory and the fixed structure reflection position based on a preset structure clutter reference model, and to eliminate structure clutter trajectories according to the structure clutter matching cost. The phase path optimization unit is used to construct a phase unfolding state space for the wrapped phase corresponding to the candidate echo trajectory after structural clutter removal, construct the path cost based on phase continuity and distance continuity, complete the temporal phase unwrapping through minimum cost path search, remove dynamic disturbance clutter trajectories based on the search results, and output the effective candidate echo trajectory and its continuous phase sequence.
6. The high-temperature liquid level measurement system based on phase unwrapping as described in claim 5, characterized in that, The structural clutter reference model includes the distance range, frequency of occurrence, and distance fluctuation amount corresponding to fixed structural reflections; The structure clutter matching unit is used to match the distance position sequence corresponding to the candidate echo trajectory with the fixed structure reflection distance interval in the structure clutter reference model, and to determine the structure clutter matching cost based on the matching ratio and distance deviation. When the structural clutter matching cost of a candidate echo trajectory meets the preset structural clutter removal conditions, the corresponding candidate echo trajectory is determined to be a structural clutter trajectory and removed.
7. The high-temperature liquid level measurement system based on phase unwrapping as described in claim 5, characterized in that, The phase path optimization unit obtains the corresponding package phase sequence according to the time order of the nodes in the graph of each candidate echo trajectory, and performs phase expansion on the package phase sequence; The initial phase period number is determined based on the distance position and wrapping phase of the first graph node in the candidate echo trajectory; The phase period increment range between adjacent map nodes is determined based on the maximum allowable rate of change of the measured liquid level, the actual measurement frame interval between adjacent map nodes, the measurement update cycle, and the working wavelength of the radar signal. Within the phase period increment range, the wrapper phase corresponding to each graph node is expanded into multiple candidate phase expansion states.
8. The high-temperature liquid level measurement system based on phase unwrapping as described in claim 7, characterized in that, The phase path optimization unit determines the distance change corresponding to continuous phase changes based on the candidate phase expansion state of adjacent graph nodes. The change in spectral ranging is determined based on the distance and position of adjacent graph nodes; Based on the difference between the distance change corresponding to the continuous phase change and the spectral ranging change, a state transition cost is constructed; A minimum cumulative cost path search is performed among the candidate phase unfolding states to obtain the minimum cost phase unfolding path and continuous phase sequence corresponding to the candidate echo trajectory. Based on the reachability of the minimum cost phase unfolding path and the normalized phase unwrapping residual, candidate echo trajectories are screened, corresponding dynamic disturbance clutter trajectories are eliminated, and valid candidate echo trajectories and their continuous phase sequences are output.
9. The high-temperature liquid level measurement system based on phase unwrapping as described in claim 1, characterized in that, The liquid level output module includes a trajectory determination unit; The trajectory determination unit acquires the valid candidate echo trajectories and their continuous phase sequences output by the path optimization module. Based on the effective measurement range of the liquid level, candidate echo trajectories that do not conform to the measurement range are eliminated. Based on the trajectory continuity relationship with the previous measurement cycle and the normalized phase unwrapping residual, the target liquid surface echo trajectory is determined.
10. The high-temperature liquid level measurement system based on phase unwrapping as described in claim 1, characterized in that, The liquid level output module also includes a liquid level calculation unit; The liquid level calculation unit is used to calculate the straight-line distance from the radar antenna to the liquid surface based on the distance position and continuous phase sequence of the target liquid surface echo trajectory, and then convert the straight-line distance into liquid level height according to the radar installation parameters of the container being measured before outputting it.
11. A high-temperature liquid level measurement method based on phase untangling, implemented based on the high-temperature liquid level measurement system based on phase untangling as described in any one of claims 1-10, characterized in that, include: The radar signal is transmitted into the container under test, the echo signal is received and processed to obtain frequency domain echo spectrum data; Multiple candidate echo components are extracted based on frequency domain echo spectrum data. A time-series distance map containing multiple consecutive measurement frames is constructed with the current measurement frame as the window endpoint. Candidate echo components of different measurement frames are associated based on cross-frame connection conditions to generate candidate echo trajectories. By using a pre-defined structural clutter reference model, structural clutter is removed from candidate echo trajectories. The wrapped phase of the remaining candidate echo trajectories is then subjected to time-series phase unwrapping and path cost optimization to remove dynamic disturbance clutter, thus obtaining effective candidate echo trajectories and their continuous phase sequences. The target liquid surface echo trajectory is determined from the valid candidate echo trajectories. The distance from the radar to the liquid surface is calculated based on the continuous phase sequence of the target liquid surface echo trajectory. The liquid level height is then calculated and output.
