Signal residence position detection method and device, computer equipment and storage medium
The use of energy ratio as a judgment variable in burst signal detection by the dual sliding window method, and the problem related to channel gain in the traditional method is solved, and the accurate detection of the effective signal start and end is achieved, which improves the accuracy and robustness of signal detection.
Patent Information
- Application Number
- CN202011051651.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-29
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2040-09-29
AI Technical Summary
The traditional sliding window method has problems related to channel gain in burst signal detection, which leads to large changes in the decision variables and makes it difficult to accurately detect the start and end of the effective signal.
The dual-sliding window method is used to set two continuous sliding windows and calculate the received energy of the windows separately, and use the energy ratio as the judgment variable, which solves the problem that the effective signal start and end cannot be accurately obtained in signal detection.
This method makes the value of the decision variable only related to the signal-to-noise ratio and independent of the channel gain, improves the accuracy and robustness of signal detection, and can detect effective signals and their residency positions in different observation scenarios.
Smart Images

Figure CN114337869B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of signal detection technology, and in particular to a signal residence position detection method, a signal residence position detection device, a computer device and a computer-readable storage medium. Background Art
[0002] The most commonly used burst signal detection algorithm based on the received signal energy is the sliding window method. Although the algorithm is simple to implement, the threshold selection is related to the channel gain of the received signal. Because in the actual device, when the receiver performs burst signal detection, if the burst signal has not arrived, there is only noise in the received signal, and the power value of the noise is generally unknown. In addition, when the receiver adjusts the RF amplifier settings or there is a fluctuation in the same-channel interference in the required device, the decision variable will change greatly, which has great limitations. Summary of the invention
[0003] In order to solve the above technical problem or at least partially solve the above technical problem, the present invention provides a signal residence position detection method, a signal residence position detection device, a computer device and a computer-readable storage medium.
[0004] In a first aspect, the present invention provides a signal residence position detection method, comprising:
[0005] receiving a reference signal;
[0006] Detecting a reference value peak of the reference signal, and determining whether a first value peak and a second value peak exist in the reference value peak;
[0007] If at least one of the first value peak and the second value peak exists in the reference value peak, determining the residence position of the valid signal in the reference signal according to the first value peak and / or the second value peak;
[0008] The resident position of the valid signal includes the starting end and the ending end of the valid signal.
[0009] Optionally, the detecting a reference value peak of the reference signal and judging whether a first value peak and a second value peak exist in the reference value peak comprises:
[0010] If there are at least two reference value peaks, and the difference between the product of one reference value peak and another reference value peak behind the reference value peak and larger than the reference value peak and 1 is less than or equal to a preset difference, then of the two reference value peaks, the one with the larger value is the first value peak, and the one with the smaller value is the second value peak.
[0011] Optionally, the detecting a reference value peak of the reference signal and judging whether a first value peak and a second value peak exist in the reference value peak comprises:
[0012] If the value of any one of the reference value peaks is greater than 1.5, and there is no other reference value peak in front of the reference value peak, so that the difference between the product of the two and 1 is less than or equal to the preset difference, then the any one of the reference value peaks is the first value peak;
[0013] If the value of any one of the reference value peaks is less than 0.67, and there is no other reference value peak behind the reference value peak, so that the difference between the product of the two and 1 is less than or equal to the preset difference, then the any one of the reference value peaks is the second value peak.
[0014] Optionally, judging a residence position of a valid signal in a reference signal according to the first value peak and / or the second value peak includes:
[0015] When the first value peak and the second value peak exist, the residence position of the valid signal is obtained through the first value peak and the second value peak, wherein the second value peak is the starting end of the valid signal and the first value peak is the ending end of the valid signal.
[0016] Optionally, judging a residence position of a valid signal in a reference signal according to the first value peak and / or the second value peak includes:
[0017] When the first value peak and the second value peak do not exist, determining whether the reference signal is noise; or,
[0018] When there are at least two first value peaks, and there is no second value peak between two adjacent first value peaks, determining whether the reference signal between two adjacent first value peaks is noise; or,
[0019] When there are at least two second value peaks, and there is no first value peak between two adjacent second value peaks, determining whether the reference signal between two adjacent second value peaks is noise; or,
[0020] When the first value peak and the second value peak exist, and the value peak adjacent to the first value peak is the second value peak, determining whether the reference signal between the first value peak and the second value peak behind the first value peak is noise;
[0021] If it is noise, it is determined that there is no resident position of the reference signal;
[0022] If not, the residence position of the valid signal in the reference signal is obtained.
[0023] Optionally, the determining whether the reference signal is noise includes:
[0024] If the signal-to-noise ratio of the reference signal is less than a preset signal-to-noise ratio threshold, the reference signal is determined to be noise; or,
[0025] If the power spectrum of the reference signal is less than a preset power spectrum threshold, the reference signal is determined to be noise.
[0026] Optionally, judging a residence position of a valid signal in a reference signal according to the first value peak and / or the second value peak includes:
[0027] When only the first value peak or the second value peak exists, a buffer signal is added before the start end and after the end end of the reference signal respectively; or,
[0028] When the second value peak appears without a matching first value peak, a buffer signal is added before the start end and after the end end of the reference signal, or,
[0029] There is no matching second value peak before the first value peak, and a buffer signal is added before the start end and after the end end of the reference signal respectively;
[0030] After the sliding window, the buffer signal is deleted and the reference signal is retained;
[0031] A dwelling position of the reference signal is detected.
[0032] Optionally, the buffer signal is a signal obtained by superimposing the starting segment of the reference signal with the ending segment and then dividing it by a buffer factor, wherein the value range of the buffer factor is greater than 3.33; the starting segment and the ending segment are preset ranges after the starting end and before the ending end of the reference signal, respectively.
[0033] In a second aspect, the present invention provides a signal residence position detection device, comprising:
[0034] A receiving module, wherein the receiving module is used to receive a reference signal;
[0035] A detection module, the detection module is used to detect a reference value peak of the reference signal, and determine whether there is a first value peak and a second value peak in the reference value peak;
[0036] A judgment module, the judgment module is used to judge the residence position of the valid signal in the reference signal according to the first value peak and / or the second value peak;
[0037] The resident position of the valid signal includes the starting end and the ending end of the valid signal.
[0038] In a third aspect, the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0039] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.
[0040] The above technical solution provided by the embodiment of the present invention has the following advantages compared with the prior art:
[0041] The signal residence position detection method provided by the embodiment of the present invention uses a double sliding window method to determine that the value of the variable is only related to the signal-to-noise ratio and has nothing to do with the channel gain, which better solves the threshold setting problem of the burst signal detection algorithm. And by setting two continuous sliding windows and calculating the received energy of the two windows respectively, the energy ratio is used as the decision variable. It can solve the problem that the starting end and the ending end of the effective signal cannot be accurately obtained during the signal detection process, and the demodulation of the effective signal is prone to errors. It has the effect of detecting effective signals and their residence positions in different observation scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0044] Figure 1 is a flow chart of a signal residence position detection method provided by an embodiment of the present invention;
[0045] Figure 2 is a ratio curve diagram provided by an embodiment of the present invention;
[0046] Figure 3 is a theoretical value diagram of the first value peak provided by an embodiment of the present invention;
[0047] Figure 4 is a theoretical value diagram of the second value peak provided by an embodiment of the present invention;
[0048] Figure 5 is a flowchart of a specific implementation of the signal residence position detection method provided by an embodiment of the present invention;
[0049] Figure 6is a structural schematic diagram of a signal residence position detection device provided by an embodiment of the present invention;
[0050] Figure 7 It is a diagram of the internal structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0052] In order to solve the problem that the traditional sliding window method only judges whether there is a signal and has great limitations, the embodiment of the present invention adopts a double sliding window method, that is, a double sliding window method. The value of the decision variable of the double sliding window method is only related to the signal-to-noise ratio and has nothing to do with the channel gain, which better solves the threshold setting problem of the burst signal detection algorithm. In this way, by setting two continuous sliding windows and calculating the received energy of the windows respectively, and using the energy ratio as the decision variable, the problem that the starting and ending ends of the effective signal cannot be accurately obtained during the signal detection process, and the demodulation signal is prone to errors can be solved. It also has the effect of detecting effective signals and their resident positions in different observation scenarios. The specific scheme is as follows:
[0053] refer to Figures 1 to 5 , Figure 1 A flow chart of a signal residence position detection method provided by an embodiment of the present invention, the method specifically comprises the following steps:
[0054] S101: Receive a reference signal.
[0055] S102: Detect a reference value peak of a reference signal, and determine whether there is a first value peak and a second value peak in the reference value peak.
[0056] The step of detecting a reference value peak of a reference signal and determining whether a first value peak and a second value peak exist in the reference value peak comprises:
[0057] If there are at least two reference value peaks, and the difference between the product of one reference value peak and another reference value peak behind the reference value peak and larger than the reference value peak and 1 is less than or equal to a preset difference, then of the two reference value peaks, the one with the larger value is the first value peak, and the one with the smaller value is the second value peak.
[0058] Specifically, among two or more reference value peaks, the difference between the product of the values of any two adjacent reference value peaks and 1 is less than or equal to the preset difference, and the value of the value peak that appears first among any two reference value peaks is less than the value of the value peak that appears later. Then the larger value of any two reference value peaks is the first value peak, and the smaller value of any two reference value peaks is the second value peak. Specifically, in theory, the product of the first value peak and the second value peak is basically 1, that is, the first value peak and the second value peak are reciprocals of each other, but in actual applications, due to the influence of noise and other conditions, the product of the first value peak and the second value peak will not be strictly equal to 1, so it is usually set to be close to 1. The preset difference can be set to a value of 0.001 or less.
[0059] Specifically, the first value peak and the second value peak are a group, that is, determined as one signal. The existence of multiple groups of value peaks indicates that there are multiple signals or multiple signal segments.
[0060] It should be noted that, for a certain signal, the first value peak and the second value peak appear in pairs, that is, the second value peak appears first, and then the first value peak. If there is a double peak, it means that the first value peak and the second value peak are a pair. That is, the order of the peaks is the second value peak first, and then the first value peak.
[0061] The step of detecting a reference value peak of a reference signal and determining whether a first value peak and a second value peak exist in the reference value peak comprises:
[0062] If the value of any reference value peak is greater than 1.5, and there is no other reference value peak in front of the reference value peak, so that the difference between the product of the two and 1 is less than or equal to the preset difference, then the any reference value peak is the first value peak;
[0063] If the value of any reference value peak is less than 0.67, and there is no other reference value peak behind the reference value peak, so that the difference between the product of the two and 1 is less than or equal to the preset difference, then the any reference value peak is the second value peak.
[0064] In practical applications, it can also be set that if the value of any reference value peak is less than 0.6661, then the reference value peak whose value is less than 0.6661 is the second value peak.
[0065] Specifically, the reference signal is set to fs=1MHz, the bandwidth is B=fs / 8=125kHz LFM signal, the number of sampling points N=12288, the center frequency f0=0, and the window length is 256 points. If the reference signal is smaller than the window length, it is relatively short and the detection is meaningless. It can be used as a useless reference signal and does not need to be detected.
[0066] In order to simulate the working scenario of the receiver, the generated reference signal is padded with 0 before and after, and then noise is added so that it can be detected as a burst signal. The signal-to-noise ratio is set to SNR = 0dB. When the signal-to-noise ratio is -3dB, the noise jitter in the time domain is relatively large, which seriously affects the fluctuation of the signal and cannot directly detect the signal. By using the double sliding window method, a ratio curve can be obtained. Figure 2 shown.
[0067] The reference signal has two obvious value peaks, the first value peak and the second value peak. The second value peak position corresponds to when sliding window A does not enter the signal, and sliding window B completely enters the signal. At this time, A represents the noise energy, and B represents the signal plus noise energy. When the sliding window continues to move to the right, the maximum value position corresponds to sliding window A in the signal, and sliding window B just comes out of the signal. At this time, A represents the signal plus noise energy, and B represents the noise energy. The first value peak and the second value peak are theoretically inversely related:
[0068]
[0069]
[0070] In fact, the calculation of SNR is the power ratio of the signal bandwidth to the power in the entire frequency domain. Here, the noise only selects a section and is calculated using the average power like the signal, so the signal-to-noise ratio is too large. When the window length is less than or equal to the signal length, the average power of the signal is high and the signal-to-noise ratio is too large. When the window length is greater than the signal, the average power of the signal is close to the actual value, but it is still too large. The theoretical m is calculated by the signal-to-noise ratio peak_up :
[0071] SNR = 10 × lg (SNB)
[0072] m peak_up =10 0.1×SNR +1,
[0073] Therefore, the theoretical curve is Figure 3 .
[0074] When SNR is very small, it is close to 1, and reaches 1.5 at SNR = -3. If the signal can be detected at this time, it is ideal. The actual value should be greater than 1.5, which can be used as a reference for subsequent threshold settings. peak_low The theoretical curve can also be obtained by inferring the signal-to-noise ratio:
[0075]
[0076] Therefore, the theoretical curve is Figure 4 .
[0077] When the SNR is small, it tends to 1. When the SNR increases, the minimum value gradually decreases. When SNR=-3, the minimum value is 0.6661. Since the SNR is actually larger, the actual minimum value is smaller, that is, when SNR=-3, the actual minimum value should be less than 0.6661.
[0078] If there is only one continuous signal, it can be detected by the first value peak and the second value peak. Each pair of the first value peak and the second value peak appears in pairs. If there are multiple signals, the received signal can also be segmented by detecting the paired peaks, and then segmented detection. For each segment, the detection standard is:
[0079] |m peak_low ×m peak_up -1|≤0.2,
[0080] Theoretically, the first value peak and the second value peak are in a reciprocal relationship, and the multiplication of the two is 1, but due to noise jitter, there will be deviations. Setting the tolerance to 0.2 can roughly detect the existence of the signal, and anything within this range can be considered a signal. When SNR = -3:
[0081] |m peak_low ×m peak_up -1|=|0.3752×2.309-1|=0.1337≤0.2,
[0082] At this point, it can be judged as a signal. By returning its subscript value, we can get the start and end points of the signal in the time domain. The subscript obtained by the sliding window method is [4065,8202], but the actual start and end points of the signal are set to [4097,8192], which has a small disturbance.
[0083] At the same time, according to the value peak information, it can also be set to the maximum and minimum values to meet the following conditions:
[0084] m peak_low ≤0.6661
[0085] m peak_up ≥1.5,
[0086] The above thresholds are obtained based on the analysis of the theoretical curve, that is, to ensure the detection of signals under -3dB. If both meet this condition at the same time, the result can be judged as a signal, but this ignores the relationship between the amplitudes and may judge noise as a signal. Therefore, it is possible to consider combining the two discrimination criteria, considering both the relationship between the amplitudes and the size of the amplitudes, so that the detection result is more robust. That is, set the second value peak to be less than 0.6661, the first value peak to be greater than 1.5, and the product of the first value peak and the second value peak to be approximately equal to 1.
[0087] S103: If at least one of the first value peak and the second value peak exists in the reference value peak, determine the residence position of the valid signal in the reference signal according to the first value peak and / or the second value peak; wherein the residence position of the valid signal is the starting end and the ending end of the valid signal.
[0088] Wherein, judging the residence position of the valid signal in the reference signal according to the first value peak and / or the second value peak includes:
[0089] When there are the first value peak and the second value peak, the residence position of the effective signal is obtained through the first value peak and the second value peak. Among them, the second value peak is the starting end of the effective signal, and the first value peak is the ending end of the effective signal. Specifically, the time between the starting end and the ending end of the effective signal is the existence time of the effective signal, and the residence time of the effective signal can be calculated by the sampling rate.
[0090] Specifically, judging the residence position of the valid signal in the reference signal according to the first value peak and / or the second value peak includes:
[0091] When the first value peak and the second value peak do not exist, determining whether the reference signal is noise;
[0092] If it is noise, it is determined that there is no resident position of the reference signal;
[0093] If not, the residence position of the valid signal in the reference signal is obtained.
[0094] Specifically, judging the residence position of the valid signal in the reference signal according to the first value peak and / or the second value peak further includes:
[0095] When there are at least two first value peaks, and there is no second value peak between two adjacent first value peaks, determining whether the reference signal between the two adjacent first value peaks is noise; or,
[0096] When there are at least two second value peaks, and there is no first value peak between two adjacent second value peaks, determining whether the reference signal between the two adjacent second value peaks is noise; or,
[0097] When there are a first value peak and a second value peak, and the value peak adjacent to the first value peak is the second value peak, determining whether a reference signal between the first value peak and the second value peak behind the first value peak is noise;
[0098] If it is noise, it is determined that there is no resident position of the reference signal;
[0099] If not, the residence position of the valid signal in the reference signal is obtained.
[0100] Optionally, determining whether the reference signal is noise includes:
[0101] If the signal-to-noise ratio of the reference signal is less than a preset signal-to-noise ratio threshold, the reference signal is determined to be noise; or,
[0102] If the power spectrum of the reference signal is less than a preset power spectrum threshold, the reference signal is determined to be noise.
[0103] The calculation formula of the signal-to-noise ratio threshold is:
[0104]
[0105] Among them, S and N represent signal energy and noise energy respectively, Len is the sequence length, SNR is the signal-to-noise ratio, and the signal-to-noise ratio calculation formula is:
[0106]
[0107] In practical applications, it is also possible to detect whether the reference signal is noise by using a power spectrum. Detecting whether the reference signal is noise by using a power spectrum includes the following steps:
[0108] First, consider the signal as a long sequence, divide it into segments, and perform L times M-point complex Fourier transform:
[0109] X i (k) = FFT(x i (n)),i=1,2,...,L,
[0110] Use the periodogram method to perform spectrum analysis and average it to obtain better noise immunity:
[0111]
[0112] By smoothing M(k) in the formula, G(k) is obtained to obtain better noise resistance. The negative impact is the reduction of resolution, but it has little effect on the accuracy of signal detection.
[0113] Normalize G(k) and find its mean
[0114] Set the threshold height to Then search among the M points. When a point higher than the threshold is found, it proves that there is a peak in the power spectrum, that is, the signal exists.
[0115] Specifically, there may be multiple reference signals in the receiving position of the receiver. For multiple reference signals, since their amplitudes are different, but one reference signal exists between two reference signals and its amplitude is smaller than the reference signals on both sides, it is easy to be treated as noise. For one of the reference signals, since its amplitude is small, there is no first value peak and second value peak when sliding the window, so the double sliding window method cannot determine whether it is a signal or noise, and no judgment is made. However, this is a useful signal. If it is discarded, some information may be lost and the signal cannot be demodulated. Therefore, for this situation, the received sequence should be segmented first, and it should be accurately divided into several segments according to the value peak point, rather than detecting it after obtaining the value peak point, which is easy to miss some reference signals. For this multi-segment signal, it is necessary to first ensure that it is segmented, and then detect each segment. If the rules are set according to the first value peak and the second value peak, such a signal will be submerged because it has no value peak point information, so it is necessary to establish a signal detection rule. Based on the calculation of the signal-to-noise ratio, we can first estimate the signal-to-noise ratio of the signal, and then infer the mean amplitude of the noise as the detection threshold. Each segment of the signal is detected. If it is greater than this threshold, it is judged as a signal, and if it is less than this threshold, it is judged as noise.
[0116] Wherein, judging the residence position of the valid signal in the reference signal according to the first value peak and / or the second value peak includes:
[0117] When only the first value peak or the second value peak exists, a buffer signal is added before the start end and after the end end of the reference signal respectively;
[0118] After the sliding window, the buffered signal is deleted and the reference signal is retained;
[0119] Detect the dwelling position of the reference signal.
[0120] Specifically, the buffer signal needs to be added when there is no paired first value peak and second value peak, that is, only a single peak appears. Of course, in the case of multiple peaks, if the first value peak and the second value peak cannot be matched and combined, that is, after the second value peak appears, there is no matching first value peak, or before the first value peak, there is no matching second value peak, it also belongs to the case of a single peak. In these cases, a buffer signal must be added.
[0121] Optionally, the buffer signal is a signal obtained by superimposing the starting segment of the reference signal and the ending segment and then dividing it by the buffer factor, wherein the value range of the buffer factor is greater than 3.33; the starting segment is a preset range after the starting end of the reference signal, and the ending segment is a preset range before the ending end of the reference signal.
[0122] Specifically, for a signal that appears from the beginning or starts from a certain position and continues until the end, if a sliding window is performed, only one peak will appear, the first value peak or the second value peak. If the signal appears when the receiver starts working and continues for a certain position, and then the receiver receives noise, at this time, since the A sliding window and the B sliding window both start from the signal at the beginning and the amplitude is within a range, there is no obvious second value peak at the signal appearance point, and its appearance point cannot be determined. However, at the end of the signal, since the receiver does not stop working and continues to receive noise, the A sliding window and the B sliding window contain signals and noise respectively, and the ratio will show the first value peak.
[0123] Similarly, if the signal does not appear when the receiver starts working, the receiver receives noise. After working for a certain position, the signal begins to appear. At this time, since the A sliding window and the B sliding window contain noise and signal respectively, the second value peak can appear, but the signal continues until the receiver stops working. At this end point, the A sliding window and the B sliding window both contain signals, and the ratio is at the same order of magnitude. The first value peak at the end of the signal will not appear, and the end point of the signal cannot be determined. At the same time, for those signals that exist from the time the receiver is turned on to the time it is turned off, the first value peak and the second value peak of the signal cannot be detected, that is, the existence of the signal cannot be determined.
[0124] For this endpoint situation, consider adding a buffer signal, that is, adding a buffer signal of the sliding window length before the start and after the end of the reference signal, and delete it after the sliding window to retain the length of the original reference signal in order to detect the start and end. Consider the signal received by the receiver as the reference signal, select the L-length time domain observation sequence at its start and end as the buffer signal, and add the buffer factor K.
[0125] Specifically, when the reference signal appears from the beginning, the first value peak can be detected at this time, and after adding the buffer factor, the second value peak can be obtained as:
[0126]
[0127] Since the second value peak and the first value peak appear in pairs and the second value peak appears earlier than the first value peak, when the first value peak exists, it is only necessary to detect whether the second value peak exists before the peak.
[0128] When the signal appears from the middle section to the end, the second peak can be detected, but the first peak cannot be detected. After adding the buffer factor, the first peak is:
[0129]
[0130] After adding the buffer factor, the first value peak can be detected, but at the same time, another first value peak is also introduced, which is the intersection of the buffer factor and the effective sequence:
[0131]
[0132] To ensure that the signal is detected, the first peak must be the end point of the signal, so m peak_up >m buff_up ,Right now:
[0133]
[0134] For pure signals:
[0135]
[0136]
[0137] In order to ensure consistency with previous judgment criteria,
[0138]
[0139] Therefore, the buffer factor K>3.33, and the buffer factor K is generally 4. For pure noise, that is, when there is no signal, it is still impossible to determine whether it is noise or signal through buffering. After adding the buffer factor, the endpoint value of the signal can be detected. Compared with the ratio curve without adding the buffer factor, the first value peak and the second value peak of the signal can be detected without losing the signal length.
[0140] Determining the residence position of the valid signal in the reference signal according to the first value peak and / or the second value peak includes:
[0141] When the second value peak appears without a matching first value peak, a buffer signal is added before the start end and after the end end of the reference signal, or,
[0142] There is no matching second value peak before the first value peak, and a buffer signal is added before the start end and after the end end of the reference signal respectively;
[0143] After the sliding window, the buffered signal is deleted and the reference signal is retained;
[0144] Detect the dwelling position of the reference signal.
[0145] Specifically, a group of valid signals refers to the second value peak that appears first, and then the first value peak appears, which is a group of valid signals. When there are multiple groups of continuous valid signals, a group of weak signals is sandwiched between two groups of strong signals. In multiple groups of continuous valid signals, weak signals are easily submerged by strong signals, making them difficult to detect. Therefore, weak signals can be detected by using the signal-to-noise ratio threshold.
[0146] The buffer signal is a signal obtained by superimposing the starting segment of the reference signal with the ending segment and then dividing it by the buffer factor, wherein the value range of the buffer factor is greater than 3.33; the starting segment and the ending segment are respectively the preset ranges after the starting end and before the ending end of the reference signal.
[0147] refer to Figure 5 In a specific embodiment of the present invention, the signal residence position detection method comprises the following steps:
[0148] S210: receiving a reference signal;
[0149] S220: Detecting the value peak of the reference signal using a double sliding window method;
[0150] S231: if there are a first value peak and a second value peak; then proceed to S232: determine the stationary position of the valid signal in the reference signal by the first value peak and the second value peak;
[0151] S241: if there is a first value peak or a second value peak; then proceed to S242: add a buffer signal to detect the stationary position of the valid signal in the reference signal;
[0152] S251: There is no first value peak and second value peak; S252: Determine whether the reference signal is noise by using the signal-to-noise ratio threshold or the power spectrum; S253: If it is not noise, obtain the residence position of the effective signal; if it is noise, determine that the reference signal is noise;
[0153] S260: Output whether a valid signal exists and give the residence position of the valid signal.
[0154] refer to Figure 6 , Figure 6 A signal resident position detection device provided by an embodiment of the present invention includes: a receiving module 100, the receiving module 100 is used to receive a reference signal;
[0155] A detection module 200, the detection module 200 is used to detect a reference value peak of a reference signal, and determine whether there is a first value peak and a second value peak in the reference value peak;
[0156] The judgment module 300 is used to judge the residence position of the valid signal in the reference signal according to the first value peak and / or the second value peak, wherein the residence position of the valid signal includes the starting end and the ending end of the reference signal.
[0157] The signal residence position detection device provided by the embodiment of the present invention can solve the problem that the start and end ends of the effective signal cannot be accurately obtained during the signal detection process, and the demodulation is prone to errors. It has the effect of detecting the effective signal and its residence position in different observation scenarios.
[0158] refer to Figure 7 In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0159] Receive a reference signal; detect a reference value peak of the reference signal, and determine whether a first value peak and a second value peak exist in the reference value peak; if at least one of the first value peak and the second value peak exists in the reference value peak, determine the residence position of a valid signal in the reference signal according to the first value peak and / or the second value peak; wherein the residence position of the valid signal is the starting end and the ending end of the valid signal.
[0160] In one embodiment, when the processor executes the computer program, the steps of the above method are also implemented, which will not be described in detail here.
[0161] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0162] Receive a reference signal; detect a reference value peak of the reference signal, and determine whether a first value peak and a second value peak exist in the reference value peak; if at least one of the first value peak and the second value peak exists in the reference value peak, determine the residence position of a valid signal in the reference signal according to the first value peak and / or the second value peak; wherein the residence position of the valid signal is the starting end and the ending end of the valid signal.
[0163] In one embodiment, when the computer program is executed by the processor, the steps of the above method are also implemented, which will not be described in detail here.
[0164] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the following steps:
[0165] Receive a reference signal; detect a reference value peak of the reference signal, and determine whether there is a first value peak and a second value peak in the reference value peak; if there is at least one of the first value peak and the second value peak in the reference value peak, determine the residence position of the valid signal in the reference signal according to the first value peak and / or the second value peak; wherein the residence position of the valid signal is the starting end and the ending end of the valid signal. In one embodiment, when the computer program product or the computer program is executed, the steps of the above method are also implemented, which will not be repeated here.
[0166] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0167] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0168] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A signal dwelling position detection method, applied to a receiver, characterized in that: The method comprises: receiving a reference signal; Detecting a reference value peak of the reference signal using a double sliding window method, and determining whether there is a first value peak and a second value peak in the reference value peak; If the value of any one of the reference value peaks is greater than 1.5, and there is no other reference value peak in front of the reference value peak, so that the difference between the product of the two and 1 is less than or equal to the preset difference, then the any one of the reference value peaks is the first value peak; If the value of any one of the reference value peaks is less than 0.67, and there is no other reference value peak behind the reference value peak, so that the difference between the product of the two and 1 is less than or equal to the preset difference, then the any one of the reference value peaks is the second value peak; If at least one of the first value peak and the second value peak exists in the reference value peak, the residence position of the valid signal in the reference signal is determined according to the first value peak and / or the second value peak; the residence position of the valid signal includes the starting end and the ending end of the valid signal; Wherein, judging the residence position of the valid signal in the reference signal according to the first value peak and / or the second value peak includes: When the first value peak and the second value peak exist, the residence position of the valid signal is obtained through the first value peak and the second value peak, wherein the second value peak is the starting end of the valid signal and the first value peak is the ending end of the valid signal; When only the first value peak or the second value peak exists, a buffer signal is added before the starting end and after the ending end of the reference signal respectively; the buffer signal is a signal obtained by superimposing the starting segment of the reference signal with the ending segment and then dividing it by the buffer factor, wherein the value range of the buffer factor is greater than 3.33; the starting segment and the ending segment are respectively the preset ranges after the starting end and before the ending end of the reference signal; Wherein, when only the first value peak or the second value peak exists, it means: when the second value peak appears, there is no matching first value peak, or, there is no matching second value peak before the first value peak; Then, the double sliding window method is used to detect the reference value peak in the reference signal, and after the detection, the buffer signal is deleted and the reference signal is retained; then the valid signal in the reference signal and its residence position are judged; Output whether a valid signal exists and give the valid signal's location.
2. The signal residence position detection method according to claim 1, characterized in that: The determining the residence position of the valid signal in the reference signal according to the first value peak and / or the second value peak comprises: When the first value peak and the second value peak do not exist, determining whether the reference signal is noise; or, When there are at least two first value peaks, and there is no second value peak between two adjacent first value peaks, determining whether the reference signal between two adjacent first value peaks is noise; or, When there are at least two second value peaks, and there is no first value peak between two adjacent second value peaks, determining whether the reference signal between two adjacent second value peaks is noise; or, When the first value peak and the second value peak exist, and the value peak adjacent to the first value peak is the second value peak, determining whether the reference signal between the first value peak and the second value peak behind the first value peak is noise; If it is noise, it is determined that there is no resident position of the reference signal; If not, the residence position of the valid signal in the reference signal is obtained.
3. The signal residence position detection method according to claim 2, characterized in that: The determining whether the reference signal is noise includes: If the signal-to-noise ratio of the reference signal is less than a preset signal-to-noise ratio threshold, the reference signal is determined to be noise; or, If the power spectrum of the reference signal is less than a preset power spectrum threshold, the reference signal is determined to be noise.
4. A signal residence position detection device, applied to a receiver, characterized in that: The device comprises: A receiving module, wherein the receiving module is used to receive a reference signal; A detection module, the detection module is used to detect a reference value peak of the reference signal by using a double sliding window method, and determine whether there is a first value peak and a second value peak in the reference value peak; If the value of any one of the reference value peaks is greater than 1.5, and there is no other reference value peak in front of the reference value peak, so that the difference between the product of the two and 1 is less than or equal to the preset difference, then the any one of the reference value peaks is the first value peak; If the value of any one of the reference value peaks is less than 0.67, and there is no other reference value peak behind the reference value peak, so that the difference between the product of the two and 1 is less than or equal to the preset difference, then the any one of the reference value peaks is the second value peak; A judgment module, the judgment module is used to judge the residence position of the valid signal in the reference signal according to the first value peak and / or the second value peak; the residence position of the valid signal includes the starting end and the ending end of the valid signal; Wherein, judging the residence position of the valid signal in the reference signal according to the first value peak and / or the second value peak includes: When the first value peak and the second value peak exist, the residence position of the valid signal is obtained through the first value peak and the second value peak, wherein the second value peak is the starting end of the valid signal and the first value peak is the ending end of the valid signal; When only the first value peak or the second value peak exists, a buffer signal is added before the starting end and after the ending end of the reference signal respectively; the buffer signal is a signal obtained by superimposing the starting segment of the reference signal with the ending segment and then dividing it by the buffer factor, wherein the value range of the buffer factor is greater than 3.33; the starting segment and the ending segment are respectively the preset ranges after the starting end and before the ending end of the reference signal; Wherein, when only the first value peak or the second value peak exists, it means: when the second value peak appears, there is no matching first value peak, or, there is no matching second value peak before the first value peak; Then, the double sliding window method is used to detect the reference value peak in the reference signal, and after the detection, the buffer signal is deleted and the reference signal is retained; then the valid signal in the reference signal and its residence position are judged; Output whether a valid signal exists and give the valid signal's location.
5. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When a processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program implements the steps of the method according to any one of claims 1 to 3 when executed by a processor.
Citation Information
Patent Citations
Full-digital demodulation method based on open loop structure
CN109981506A