Method for Avoiding Phase Jumps
20170254891 · 2017-09-07
Inventors
Cpc classification
G01S13/88
PHYSICS
G01S13/34
PHYSICS
G01S7/023
PHYSICS
International classification
G01S13/34
PHYSICS
Abstract
A method for processing a measurement signal that is captured by a measuring device, wherein, in order to capture the measurement signal, the measuring device emits a transmission signal and receives a component of the transmission signal that is reflected by an object as a reception signal, wherein a first phase difference between a first target phase position and a first actual phase position contained in the measurement signal is determined, and wherein a second phase difference between a second target phase position and a second actual phase position contained in the measurement signal is determined, and a phase difference progression in the form of an, in particular, linear, functional relationship is determined on the basis of the first and the second phase differences, and a measured value is determined by means of the functional relationship.
Claims
1-11. (canceled)
12. A method for processing a measurement signal that is captured by a measuring device, comprising the steps of: emitting with the measuring device a transmission signal and receiving a component of the transmission signal that is reflected by an object as a reception signal; determining a first phase difference between a first target phase position and a first actual phase position contained in the measurement signal; determining a second phase difference between a second target phase position and a second actual phase position contained in the measurement signal; ascertaining a phase difference progression in the form of an, in particular, linear, functional relationship on the basis of the first and the second phase differences; and determining a measured value by means of the functional relationship.
13. The method according to claim 12, wherein: the functional relationship is ascertained as a function of a distance of the object to be determined from the measurement signal.
14. The method according to claim 12, wherein: the functional relationship is used to avoid a phase jump when determining the measured value.
15. The method according to claim 14, further comprising the step of: using a parameter of the phase difference progression—especially, a slope and/or an axial offset of the, in particular, linear functional relationship to recognize and/or eliminate a phase jump of the measured value.
16. The method according to claim 12, wherein the measuring device is a radar measuring device, and the method further comprises the steps of: converting the received signal into a digital measurement signal, especially by means of a scanning method; and determining the distance of the object with runtime information contained in the measurement signal, in order to ascertain the functional relationship.
17. The method according to claim 12, wherein: the functional relationship is ascertained with the assistance of a linear regression.
18. The method according to claim 12, wherein: the functional relationship is updated iteratively with additionally ascertained phase differences.
19. The method according to claim 12, further comprising the step of: determining the first phase difference at a first distance of the object, wherein the first target phase position is calculated for this first distance; ascertaining the first actual phase difference at this first distance; determining the second phase difference at a second distance of the object; calculating the second target phase position for this second distance; and ascertaining the second actual phase position at this second distance.
20. The method according to claim 12, wherein: the first target phase position and/or the second target phase position are/is ascertained with a target phase progression; that the target phase progression is ascertained by means of a calibration; and that the calibration is carried out by means of at least one known distance.
21. A measuring device that serves to capture and process a measurement signal, wherein the measuring device serves to emit a transmission signal, and receiving a component of the transmission signal reflected by an object as a reception signal, comprising: an electronics unit, wherein: said electronics unit serves to determine a first phase difference between a first target phase position and a first actual phase position contained in the measurement signal; said electronics unit serves to determine a second phase difference between a second target phase position and a second actual phase position contained in the measurement signal; and said electronics unit serves to ascertain a phase difference progression in the form of an, in particular, linear, functional relationship on the basis of the first and the second phase differences, thereby determining a measured value by means of the functional relationship.
22. The measuring device according to claim 21, wherein: the measuring device is a fill-level measuring device.
Description
[0038] A preferred embodiment of the invention will be explained in more detail with reference to the following figures. Illustrated are:
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046] To form the echo function 1, first, a direct component of the digitized intermediate frequency signal IF is eliminated. The different frequency components contained in the intermediate frequency signal IF are retained.
[0047] A Hilbert transformation can be performed as the next step, in which the imaginary part belonging to the real-valued intermediate frequency signal IF is calculated. As the result of the Hilbert transformation, a complete, complex-valued intermediate frequency signal IF within the time range is obtained. This complex-valued signal then serves as a basis for the further processing of the signal.
[0048] Subsequently, a device-specific correction curve can be applied to the complex-valued signal. With the assistance of this device-specific correction curve, the specific characteristics of the radar measuring device can be taken into account that are caused, inter alia, by the HF module, the mode converter, and the antenna, as well as the HF cable, connecting elements, and/or plug-in connectors.
[0049] Subsequently, a fast Fourier transform (FFT) is carried out. The frequency spectrum of the intermediate frequency signal IF is obtained as result of the fast Fourier transform. Subsequently, the echo frequency component contained in this frequency spectrum is detected. In the process, each frequency peak A, B, C in the frequency spectrum is assigned an object. Of particular interest in fill-level measurement is the frequency peak A of the useful echo that is produced by the reflection of the radar signals from the surface of the liquid or medium. This relevant frequency peak A of the useful echo, which is relevant for measuring the fill level, can be identified by means of a search algorithm. A person skilled in the art is aware of many such search algorithms. The actual phase position is determined as a phase position at the position of the frequency peak A as a result of the Fourier transform.
[0050] Alternatively, a digital bandpass filter can be defined for determining the phase position, which is configured to filter out from the frequency spectrum the frequency peak produced by the surface of the medium, and to suppress other interfering frequency peaks. To accomplish this, the lower limit frequency and the upper limit frequency of the bandpass filter are set so that the frequency peak caused by the surface of the medium lies within the passband of the bandpass filter. Interfering frequency components that lie below the lower limit frequency, or above the upper limit frequency, of the bandpass filter are filtered out. As a result of bandpass filtering, a frequency spectrum is obtained that basically contains a single frequency peak, i.e., frequency peak A, which is relevant to measuring the fill level and is produced by reflection from the surface of the medium.
[0051] This bandpass-filtered frequency spectrum is then transformed back into the time domain by means of an inverse Fourier transform. For example, an inverse fast Fourier transform (IFFT) can be carried out. As a result of the inverse fast Fourier transform, a complex-valued time signal is obtained that basically contains a single frequency component, i.e., the frequency component that arose from the reflection of the radar signal from the surface of the medium. The actual phase position can then be ascertained directly from this time signal, and a determination of the measuring distance can be performed.
[0052]
[0053] Accordingly, a device-specific target phase progression 2 can be created. The target phase progression 2 as shown in
[0054] In measuring mode, an unknown distance is precisely ascertained by means of this target phase progression 2. In determining the distance, a rough determination 4 is performed using the position of the frequency peak A of the useful echo in the echo function 1 as depicted in
[0055]
[0056] The phase difference progression 5 depicted in
[0057] If this radar measuring device is used with another surge pipe, this correspondence no longer exists.
[0058] The systematic error in this case is, for example, an incorrectly indicated surge pipe diameter. The phase difference 7 rises linearly at a measuring distance X between about 2 and 15 m from the radar measuring device. The phase difference 7 changes over this measuring is distance X by 2*π radian. At about 15 m, the phase difference 7 is accordingly about +1*π, and the difference between target phase position 2a and actual phase position 4 jumps between +1*π and −1*π. Here, the actual phase position is 4π radian distant from a target phase position 2a in a first phase period, and π radian distant from the target phase position in a second phase period. Accordingly, there is an ambiguity as to which target phase position of the two target phase positions in the first and second phase periods should be assigned the actual phase position 4.
[0059] This ambiguity is eliminated by means of the, in particular, linear functional relationship 6. A line 6 is accordingly adapted to the phase difference progression 7, wherein this line, or this linear functional relationship 6, is ascertained while determining the phase difference progression 7. The slope and axial offset of the line are ascertained and compared to set criteria, in order to ensure that the actual phase position 4 is always assigned to a target phase position 2a that lies within a single phase period. This is explained in greater detail in conjunction with
[0060]
[0061] 1) the average measuring distance of the frequency peak of the useful echo, which captures the measuring distance X from the runtime information of the measurement signal,
[0062] 2) the average phase difference 5 between the actual phase position 4 at frequency peak A of the useful echo and the target phase position 2a,
[0063] 3) the average value of the square of the measuring distance X,
[0064] 4) the average value of the product of the measuring distance X and the phase difference 5, and
[0065] 5) a number n of learning points.
[0066] The number of learning points is the number of measuring distances X that are used to adapt the linear functional relationship 6 to the phase difference progression 5, 7. This number n starts at zero and is incremented by one with each new learning point until a set limit value n.sub.max is reached.
[0067] During measuring mode, these numerical values are ascertained and saved in a memory unit of the radar measuring device. An arithmetic unit of the radar measuring device can use these numerical values for determining the slope and the axial offset of the line 6 to be adapted by means of the following formulas:
wherein the numerical values can be updated while ascertaining learning points, i.e., new measuring distances X and phase differences 5, 7, using the following formulas:
[0068] The linear functional relationship 6 is accordingly adapted to the phase difference progression 5, 7. During this dynamic adaptation, the slope and axial offset of the adapted line vary correspondingly. By specifying a first value range W1 for the slope and a second value range W2 for the axial offset, the arithmetic unit can check the adaptation after each update. It is accordingly determined whether the actual phase position 4 can be clearly assigned a target phase position 2a of the target phase progression 2.
[0069] For example, the first value range W1 can be so specified for the slope that first ascertained phase difference values 7a, which are shown in
[0070] In
[0071]
[0072] The line 6 runs flat through the first measuring point. The flat line 6 has a slope equal to zero. The phase jump is excluded at the first measuring point; consequently, a correction of the phase difference value is also unnecessary.
[0073] If numerical values already exist, the line 6, after step 100, is calculated in step 300 according to the above formulas, and the phase difference is immediately shifted from the line 6 to the value range W2 +/− *π by adding +/−2*π.
[0074] Then, the number n of learning points can be limited in step 400 by specifying a limit value n.sub.max. Upon reaching the limit value n.sub.max (i.e.: n=n.sub.max), the number n of learning points is then no longer incremented or increased stepwise with each new learning point. This ensures that the new learning points are still taken into consideration with a minimum weight of 1/n.sub.max even during a lengthy measurement operation. This ensures that the line 6 is continuously adapted to the current numerical values. The adaptation of the line 6 is accordingly sensitive to newly ascertained learning points, as well as dynamically updatable.
[0075] The numerical values or learning points are then updated in step 500, and the line 6 is updated or calculated with the added learning points. Then, the standard deviation of the average measuring distance X is evaluated in step 600 and compared with the specified limit values.
[0076] If the standard deviation of the average measuring distance X exceeds the specified limit values, the axial offset of the line 6 is checked in step 700. If the maximum amount of the axial offset of the line 6a is greater than π, or perhaps π plus a tolerance value, the axial offset is brought in step 800 to the value range W2 between +/−π by adding +/−2*π to the axial offset of the line 6a. In so doing, the numerical values or learning data must be correspondingly adapted in the memory unit of the radar measuring device.
[0077] If the standard deviation of the measuring distance does not exceed the specified limit value, or if the axial offset is less than π, or perhaps π plus a tolerance value, the slope of line 6 is investigated in step 900. If the slope lies outside of the first specified value range W1, the numerical values are re-initialized according to step 200 and inserted into a flat line 6 as a first learning point. If the slope in step 900 is within the first value range W1, or if the slope is not excessively large, +/−2*π is, in step 1000, added in turn to the phase difference until it lies between +/−π of the line 6 in the value range W2. A reliable phase difference value 8 that is without the phase jumps can accordingly be provided, to increase the precision of the radar measuring device.
LIST OF REFERENCE NUMBERS
[0078] 1 Echo function
[0079] 2 Target phase progression
[0080] 2a Target phase position
[0081] 3 Phase period
[0082] 4 Actual phase position
[0083] 5 First phase difference progression
[0084] 6 Linear functional relationship/line
[0085] 6a Line
[0086] 7 Second phase difference progression
[0087] 7a First phase difference values
[0088] 7b Jumping phase difference values
[0089] 7c Phase difference values at a measuring distance range of 16-20 m
[0090] 8 Corrected phase difference progression
[0091] 9 Phase jump
[0092] A, B, C Echo peaks/frequency peaks
[0093] X Distance/measuring distance
[0094] IF Intermediate frequency signal
[0095] W1, W2 First, second values range