Signal detection method and device, equipment, storage medium and program product
By determining candidate synchronization sequences in the wireless communication system and calculating their synchronization performance measurement values, and selecting the target synchronization sequence, the problem of poor signal synchronization performance is solved, the accuracy of signal synchronization is improved, and the system cost is reduced.
Patent Information
- Application Number
- CN202310161852.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-23
- Publication Date
- 2024-08-23
AI Technical Summary
In wireless communication systems, the problem of poor signal synchronization performance, especially in Bluetooth receivers, leads to reduced synchronization accuracy and high costs.
By determining multiple candidate synchronization sequences based on the received baseband signal and the preset synchronization sequence length, and calculating the synchronization performance measurement value based on the phase and amplitude of each candidate synchronization sequence, the target synchronization sequence is selected to improve signal synchronization performance.
The signal synchronization performance in the signal detection process is improved, the computational complexity and cost of the system are reduced, and the accuracy of signal synchronization is enhanced.
Smart Images

Figure CN118540779A
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless communication technology, and in particular to a signal detection method, apparatus, device, storage medium and program product. Background Art
[0002] In wireless communication systems, signal synchronization is one of the key technologies of receivers. In wireless communication systems, coherent synchronization algorithms and differential coherent synchronization algorithms are usually used to achieve signal synchronization. Although the synchronization accuracy is high and the frequency deviation resistance is strong, the calculation amount is large and the synchronization cost is high, so they are rarely used in Bluetooth receivers.
[0003] In the related art, in order to reduce the cost of the receiver, the receiver usually uses the phase information of the received signal to perform signal detection to achieve signal synchronization. However, the signal detection method in the related art has the problem of poor signal synchronization performance during the signal detection process. Summary of the invention
[0004] Based on this, it is necessary to provide a signal detection method, device, equipment, storage medium and program product to address the above technical problems, which can improve the signal synchronization performance in the signal detection process.
[0005] In a first aspect, the present application provides a signal detection method, the method comprising:
[0006] Determine a plurality of candidate synchronization sequences based on the received baseband signal and a preset synchronization sequence length;
[0007] Determine a synchronization performance metric value of each candidate synchronization sequence based on the phase and amplitude of each candidate synchronization sequence;
[0008] A target synchronization sequence is determined according to the synchronization performance metric values of each candidate synchronization sequence; the synchronization performance of the target synchronization sequence meets the preset requirements.
[0009] In one embodiment, determining a plurality of candidate synchronization sequences based on a received baseband signal and a preset synchronization sequence length includes:
[0010] Intercepting the baseband signal to obtain a signal to be detected;
[0011] A plurality of candidate synchronization sequences are determined according to the signal to be detected and the length of the synchronization sequence.
[0012] In one embodiment, intercepting a baseband signal to obtain a signal to be detected includes:
[0013] Obtaining the interception position and interception length of the baseband signal;
[0014] A baseband signal having the same length as the interception length is intercepted from the baseband signal at the interception position to obtain a signal to be detected.
[0015] In one embodiment, a plurality of candidate synchronization sequences are determined according to the signal to be detected and the synchronization sequence length, including:
[0016] Get the oversampling multiple of the baseband signal;
[0017] Based on the oversampling multiple, the synchronization sequence length is used to perform sliding window interception on the signal to be detected to obtain multiple candidate synchronization sequences.
[0018] In one embodiment, determining a synchronization performance metric value of each candidate synchronization sequence based on the phase and amplitude of each candidate synchronization sequence includes:
[0019] For any candidate synchronization sequence, determining a phase correlation value of the candidate synchronization sequence according to the phase of the candidate synchronization sequence;
[0020] Determining an amplitude correlation value of the candidate synchronization sequence according to the amplitude of the candidate synchronization sequence;
[0021] A synchronization performance metric value of the candidate synchronization sequence is determined according to the phase correlation value and the amplitude correlation value.
[0022] In one embodiment, determining a phase correlation value of a candidate synchronization sequence according to the phase of the candidate synchronization sequence includes:
[0023] Obtaining a phase difference value between every two adjacent symbols in the candidate synchronization sequence;
[0024] The phase correlation value of the candidate synchronization sequence is determined according to the phase difference value between every two adjacent symbols in the candidate synchronization sequence.
[0025] In one embodiment, determining a phase correlation value of a candidate synchronization sequence according to a phase difference value between every two adjacent symbols in the candidate synchronization sequence includes:
[0026] Perform frequency offset removal processing on each phase difference value to obtain a frequency offset removed phase difference value of each phase difference value;
[0027] The phase correlation value of the candidate synchronization sequence is determined according to each frequency offset phase difference value and the phase difference polarity of the preset synchronization sequence.
[0028] In one embodiment, determining the amplitude correlation value of the candidate synchronization sequence according to the amplitude of the candidate synchronization sequence includes:
[0029] The amplitude of each symbol in the candidate synchronization sequence is accumulated to obtain an amplitude correlation value of the candidate synchronization sequence.
[0030] In one embodiment, determining a synchronization performance metric value of a candidate synchronization sequence according to a phase correlation value and an amplitude correlation value includes:
[0031] Obtaining preset phase weight and amplitude weight;
[0032] According to the phase weight and the amplitude weight, the phase correlation value and the amplitude correlation value are weightedly added to obtain the synchronization performance metric value of the candidate synchronization sequence.
[0033] In one of the embodiments, determining a target synchronization sequence according to synchronization performance metrics of each candidate synchronization sequence includes:
[0034] The candidate synchronization sequence with the largest synchronization performance metric value among the candidate synchronization sequences is determined as the target synchronization sequence.
[0035] In one of the embodiments, before determining a plurality of candidate synchronization sequences according to the signal to be detected and the synchronization sequence length, the method further includes:
[0036] For any sample point in the signal to be detected, obtain the initial phase, initial amplitude and initial orthogonal component of the sample point;
[0037] The phase and amplitude of the sample point are determined according to the initial phase, initial amplitude and initial orthogonal components of the sample point.
[0038] In one embodiment, determining the phase and amplitude of the sample point according to the initial phase, initial amplitude and initial orthogonal component of the sample point includes:
[0039] Determine the rotation factor according to the initial orthogonal components;
[0040] According to the rotation factor, the phase, amplitude and orthogonal component of the sample point are iteratively updated until the preset convergence condition is reached to obtain the phase and amplitude of the sample point.
[0041] In a second aspect, the present application further provides a signal detection device, the device comprising:
[0042] A first determination module, configured to determine a plurality of candidate synchronization sequences based on a received baseband signal and a preset synchronization sequence length;
[0043] A second determination module, configured to determine a synchronization performance metric value of each candidate synchronization sequence based on the phase and amplitude of each candidate synchronization sequence;
[0044] The third determination module is used to determine a target synchronization sequence according to the synchronization performance measurement value of each candidate synchronization sequence; the synchronization performance of the target synchronization sequence meets the preset requirements.
[0045] In a third aspect, an embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method provided in any embodiment of the first aspect when executing the computer program.
[0046] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method provided in any embodiment of the first aspect above.
[0047] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the method provided in any embodiment of the first aspect above.
[0048] The above-mentioned signal detection method, device, equipment, storage medium and program product determine multiple candidate synchronization sequences based on the received baseband signal and the preset synchronization sequence length, and then determine the synchronization performance metric value of each candidate synchronization sequence based on the phase and amplitude of each candidate synchronization sequence, and determine the target synchronization sequence according to the synchronization performance metric value of each candidate synchronization sequence; wherein the synchronization performance of the target synchronization sequence meets the preset requirements. In this method, multiple candidate synchronization sequences are obtained in the baseband signal, and then the synchronization performance metric value of each candidate synchronization sequence is determined by the phase and amplitude of each candidate synchronization sequence. The synchronization performance metric value of the candidate synchronization sequence is determined by two different dimensions of phase and amplitude, which improves the accuracy of the synchronization performance metric value of the candidate synchronization sequence, and the candidate synchronization sequence whose synchronization performance meets the preset requirements is determined as the target synchronization sequence. When the accuracy of the synchronization performance metric value of the candidate synchronization sequence is high, the accuracy of the target synchronization sequence is also high, thereby improving the synchronization performance of the signal during the signal detection process. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 A diagram showing an application environment of a signal detection method in an embodiment;
[0050] Figure 2 is a flow chart of a signal detection method in one embodiment;
[0051] Figure 3 A schematic diagram of a process for determining a candidate synchronization sequence in one embodiment;
[0052] Figure 4 is a schematic diagram of the structure of a signal to be detected in an embodiment;
[0053] Figure 5 A schematic diagram of a flow chart of determining a candidate synchronization sequence in another embodiment;
[0054] Figure 6is a schematic diagram of the structure of a signal to be detected in another embodiment;
[0055] Figure 7 A schematic diagram of a process for determining a signal to be detected in one embodiment;
[0056] Figure 8 is a schematic diagram of the structure of a baseband signal in an embodiment;
[0057] Fig. 9 is a flow chart of a signal detection method in another embodiment;
[0058] Fig.10 is a flow chart of a signal detection method in another embodiment;
[0059] Fig.11 is a flow chart of a signal detection method in another embodiment;
[0060] Fig.12 A schematic diagram of the structure of a synchronization sequence defined in a specification in an embodiment;
[0061] Fig.13 is a flow chart of a signal detection method in another embodiment;
[0062] Fig.14 A schematic diagram of a process for obtaining phase and amplitude in one embodiment;
[0063] Fig.15 A schematic diagram of a process for obtaining phase and amplitude in another embodiment;
[0064] Fig.16 is a schematic diagram of comparison results in one embodiment;
[0065] Fig.17 is a flow chart of a signal detection method in another embodiment;
[0066] Fig.18 is a structural block diagram of a signal detection device in one embodiment;
[0067] Fig.19 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0068] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0069] The signal detection method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown, the transmitter 102 communicates with the receiver 104 via a wireless medium. The transmitter 102 and the receiver 104 are devices for sending and receiving signals in a wireless communication system, wherein the transmitter 102 and the receiver 104 correspond to each other, the transmitter 102 may be a Bluetooth transmitter, and the receiver 104 may be a Bluetooth receiver.
[0070] In the related art, in order to reduce the computational complexity, the receiver converts the baseband complex signal into a phase value for processing, but the root mean square error of the synchronization performance is relatively large.
[0071] Moreover, in actual applications, the Enhanced Data Rate (EDR) synchronization sequence in the Bluetooth frame is modulated using π / 4-Differential Quaternary Phase Shift Keying (DQPSK) or 8-phase Differential Phase Shift Keying (DPSK). At this time, the signal no longer maintains the constant envelope characteristics of the Gaussian Frequency Shift Keying (GFSK) signal. If only the phase information of the signal is used, the synchronization accuracy is significantly reduced.
[0072] Based on this, the present application provides a signal detection method, apparatus, device, storage medium and program product, which can improve the signal synchronization performance in the signal detection process.
[0073] In one embodiment, Figure 2 As shown, a signal detection method is provided. Figure 1 The receiver 104 in the figure is described as the execution subject, which includes the following steps:
[0074] S201, determining a plurality of candidate synchronization sequences based on a received baseband signal and a preset synchronization sequence length.
[0075] After the receiver receives the transmission signal sent by the transmitter, the transmission signal is received by the receiver after carrier demodulation. The signal received by the receiver is called a baseband signal, where the baseband signal includes an in-phase (I) / quadrature (Q) signal.
[0076] The baseband signal received by the receiver usually includes access code, header, synchronization sequence, tail and other information, and the signal synchronization of the receiver is mainly for the synchronization sequence part in the baseband signal. Therefore, after the receiver receives the baseband signal, it is necessary to obtain the synchronization sequence part in the baseband signal.
[0077] However, in practical applications, the receiver cannot accurately determine the position of the synchronization sequence in the baseband signal. Therefore, it is necessary to perform signal detection on the baseband signal to determine the synchronization sequence.
[0078] Therefore, a plurality of candidate synchronization sequences may be obtained in the baseband signal according to a preset synchronization sequence length, and a final target synchronization sequence may be determined by analyzing the plurality of candidate synchronization sequences.
[0079] S202: Determine a synchronization performance metric value of each candidate synchronization sequence based on the phase and amplitude of each candidate synchronization sequence.
[0080] Among them, the phase is a scale that describes the relative position of a point in a periodic signal in a cycle at a specific moment. It is a measure that describes the change in the signal waveform. The amplitude is the size corresponding to the signal vibration. Therefore, determining the synchronization performance metric of the candidate synchronization sequence based on the phase and amplitude of the candidate synchronization sequence can make the synchronization performance metric more accurate. The synchronization performance metric characterizes the quality of the candidate synchronization sequence.
[0081] After obtaining multiple candidate synchronization sequences, the synchronization performance metric value of each candidate synchronization sequence may be determined based on the phase and amplitude of each candidate synchronization sequence.
[0082] In one embodiment, the phase and amplitude of the candidate synchronization sequence can be obtained according to a preset solution model. Specifically, the candidate synchronization sequences are respectively input into the solution model, and the solution model analyzes each candidate synchronization sequence to output the phase and amplitude of each candidate synchronization sequence.
[0083] In another embodiment, the phase and amplitude of the candidate synchronization sequence are already stored in a database, and the phase and amplitude of each symbol in the candidate synchronization sequence are directly obtained from the database.
[0084] For any candidate synchronization sequence, the method for obtaining the synchronization performance measurement value of the candidate synchronization sequence can be to measure the phase and amplitude of the candidate synchronization sequence to obtain a phase measurement value and an amplitude measurement value, and then use the sum of the phase measurement value and the amplitude measurement value as the synchronization performance measurement value of the candidate synchronization sequence.
[0085] Optionally, the phase and amplitude of the candidate synchronization sequence can be measured by determining a phase measurement value based on the phase size and a preset phase threshold, wherein the phase measurement value indicates the degree of deviation between the phase size of the candidate synchronization sequence and the phase threshold; and determining an amplitude measurement value based on the amplitude size and a preset amplitude threshold, wherein the amplitude measurement value indicates the degree of deviation between the amplitude of the candidate synchronization sequence and the amplitude threshold.
[0086] The synchronization performance metric value of the candidate synchronization sequence may also be obtained by directly taking the sum of the phase and amplitude of the candidate synchronization sequence as the synchronization performance metric value of the candidate synchronization sequence.
[0087] S203, determining a target synchronization sequence according to the synchronization performance metric value of each candidate synchronization sequence; the synchronization performance of the target synchronization sequence meets a preset requirement.
[0088] The synchronization performance of the target synchronization sequence meets the preset requirements, wherein the preset requirement may be that the synchronization performance metric value is greater than a preset synchronization performance threshold, that is, a candidate synchronization sequence whose synchronization performance metric value is greater than the preset synchronization performance threshold is obtained from each candidate synchronization sequence, and the candidate synchronization sequence whose synchronization performance metric value is greater than the preset synchronization performance threshold is taken as the target synchronization sequence, or a middle candidate synchronization sequence is selected from the candidate synchronization sequences whose synchronization performance metric value is greater than the preset synchronization performance threshold as the target synchronization sequence.
[0089] Optionally, the preset requirement may also be that the synchronization performance metric value is the largest among all candidate synchronization sequences. When the preset requirement is that the synchronization performance metric value is the largest among all candidate synchronization sequences, the candidate synchronization sequence with the largest synchronization performance metric value among the candidate synchronization sequences is determined as the target synchronization sequence.
[0090] In the above signal detection method, multiple candidate synchronization sequences are determined based on the received baseband signal and the preset synchronization sequence length, and then the synchronization performance metric value of each candidate synchronization sequence is determined based on the phase and amplitude of each candidate synchronization sequence, and the target synchronization sequence is determined according to the synchronization performance metric value of each candidate synchronization sequence; wherein the synchronization performance of the target synchronization sequence meets the preset requirements. In this method, multiple candidate synchronization sequences are obtained in the baseband signal, and then the synchronization performance metric value of each candidate synchronization sequence is determined by the phase and amplitude of each candidate synchronization sequence. The synchronization performance metric value of the candidate synchronization sequence is determined by two different dimensions of phase and amplitude, which improves the accuracy of the synchronization performance metric value of the candidate synchronization sequence, and the candidate synchronization sequence whose synchronization performance meets the preset requirements is determined as the target synchronization sequence. When the accuracy of the synchronization performance metric value of the candidate synchronization sequence is high, the accuracy of the target synchronization sequence is also high, thereby improving the synchronization performance of the signal during the signal detection process.
[0091] The above embodiment determines the target synchronization sequence based on multiple candidate synchronization sequences. The specific process of how to obtain multiple candidate synchronization sequences is described below through an embodiment. In one embodiment, Figure 3 As shown, based on the received baseband signal and the preset synchronization sequence length, a plurality of candidate synchronization sequences are determined, including the following steps:
[0092] S301, intercepting a baseband signal to obtain a signal to be detected.
[0093] Since the baseband signal includes multiple parts such as the header, synchronization sequence, and tail, the baseband signal can be intercepted to intercept the part including the synchronization sequence to obtain the signal to be detected, wherein the signal to be detected includes the part of the synchronization sequence in the baseband signal and is not limited to the part of the synchronization sequence.
[0094] The length of the signal to be detected is greater than the length of the synchronization sequence.
[0095] S302: Determine a plurality of candidate synchronization sequences according to the signal to be detected and the synchronization sequence length.
[0096] The synchronization sequence length is used to perform sliding window interception on the signal to be detected to obtain multiple candidate synchronization sequences.
[0097] For example, Figure 4 As shown, Figure 4 The signal to be detected includes 15 symbols (S1-S15), and the synchronization sequence length is 11, so 5 candidate synchronization sequences are obtained: S1-S11, S2-S12, S3-S13, S4-S14 and S5-S15.
[0098] Figure 4 The example in the figure does not take into account the oversampling of the receiver, that is, the oversampling factor of the receiver is 1. The oversampling factor of the receiver represents the ratio of the sampling rate of the receiver to the bit rate of the transmitter. However, in actual applications, in order to improve the accuracy of the synchronization signal of the receiver, the receiver will be oversampled, that is, the oversampling factor of the receiver is greater than 1.
[0099] Therefore, when dividing multiple candidate synchronization sequences, the oversampling multiple of the baseband signal of the receiver is first obtained, and then multiple candidate synchronization sequences are determined based on the oversampling multiple and the synchronization sequence length. In one embodiment, Figure 5 As shown, determining multiple candidate synchronization sequences according to the signal to be detected and the synchronization sequence length includes the following steps:
[0100] S501, obtaining an oversampling multiple of a baseband signal.
[0101] S502 , based on the oversampling multiple, using the synchronization sequence length to perform sliding window interception on the signal to be detected, to obtain a plurality of candidate synchronization sequences.
[0102] According to the oversampling multiple of the baseband signal, a sliding window is performed on the signal to be detected according to the oversampling multiple and the synchronization sequence length to obtain multiple candidate synchronization sequences.
[0103] For example, taking the oversampling multiple of 4 as an example, each symbol in the signal to be detected includes 4 sampling points. The first sampling point in each symbol is taken as a signal to be detected, and the signal to be detected is subjected to sliding window interception with the synchronization sequence length to obtain multiple candidate synchronization sequences; the second sampling point in each symbol is taken as the second signal to be detected, and the second signal to be detected is subjected to sliding window interception with the synchronization sequence length, and multiple candidate synchronization sequences are also obtained; the third sampling point in each symbol is taken as the third signal to be detected, and the third signal to be detected is subjected to sliding window interception with the synchronization sequence length, and multiple candidate synchronization sequences are also obtained; the third sampling point in each symbol is taken as the fourth signal to be detected, and the fourth signal to be detected is subjected to sliding window interception with the synchronization sequence length, and multiple candidate synchronization sequences are also obtained; the candidate synchronization sequences obtained for each signal to be detected are all taken as candidate synchronization sequences.
[0104] Take the oversampling multiple of 2 as an example, Figure 6 As shown, Figure 6 The signal to be detected includes 8 symbols (S1-S8), each symbol includes two sampling points, and the synchronization sequence length is 5, then 8 candidate synchronization sequences are obtained: (S11, S21, S31, S41, S51), (S21, S31, S41, S51, S61), (S31, S41, S51, S61, S71), (S41, S51, S61, S71, S81), (S12, S22, S32, S42, S52), (S22, S32, S42, S52, S62), (S32, S42, S52, S62, S72) and (S42, S52, S62, S72, S82).
[0105] In the above signal detection method, the baseband signal is intercepted to obtain the signal to be detected, and multiple candidate synchronization sequences are determined according to the signal to be detected and the length of the synchronization sequence. In this method, the signal to be detected is obtained by intercepting the baseband signal, and the signal to be detected is intercepted by sliding window according to the preset synchronization sequence length to obtain multiple candidate synchronization sequences. Since the signal to be detected includes the synchronization sequence, each candidate synchronization sequence in the signal to be detected is obtained according to the synchronization sequence length, thereby improving the accuracy of signal synchronization during the signal detection process.
[0106] In one embodiment, Figure 7 As shown, intercepting the baseband signal to obtain the signal to be detected includes the following steps:
[0107] S701, obtaining a cut position and a cut length of a baseband signal.
[0108] Since the baseband signal includes multiple parts of signals such as the header, synchronization sequence, and tail, when intercepting the signal to be detected from the baseband signal, in order to ensure that the signal to be detected includes the synchronization sequence, it is necessary to determine the interception position and interception length of the baseband signal in advance. Among them, the interception length is greater than the synchronization sequence length.
[0109] According to the structure of the baseband signal, the interception position of the baseband signal is determined, and based on the interception position and the synchronization sequence length, the interception length is determined.
[0110] Taking the receiver as EDR 2M / EDR 3M system as an example, the baseband signal is an EDR frame structure, such as Figure 8 As shown, the EDR frame includes a GFSK modulation part, a protection interval (4.75μs to 5.25μs) and an EDR modulation part. The GFSK modulation part includes an access code and a header, and the EDR modulation part includes a synchronization sequence, an EDR payload and a tail.
[0111] exist Figure 8 Since the synchronization sequence is after the protection interval, the interception position of the baseband signal can be set between the protection intervals, and the interception length is greater than the synchronization sequence length. The interception length ensures that the intercepted signal to be detected includes part of the signal in the protection interval, the synchronization sequence and part of the signal in the EDR payload.
[0112] S702, intercepting a baseband signal having the same length as the interception length from the baseband signal at the interception position to obtain a signal to be detected.
[0113] Continue with Figure 8 For example, if the interception position is at point a of the protection interval, a baseband signal with the same interception length is intercepted from point a of the baseband signal, and point a to point b is the interception length, then the signal between point a and point b is the signal to be detected.
[0114] In the above signal detection method, the interception position and interception length of the baseband signal are obtained, and the baseband signal with the same interception length is intercepted from the interception position to obtain the signal to be detected. In this method, the signal to be detected is obtained based on the interception position and interception length of the baseband signal, ensuring that the signal to be detected includes a synchronization sequence.
[0115] The above embodiments are all descriptions of how to obtain multiple candidate synchronization sequences. The following is an embodiment of how to determine the synchronization performance metric value of each candidate synchronization sequence according to the phase and amplitude of each candidate synchronization sequence. In one embodiment, Fig. 9 As shown, based on the phase and amplitude of each candidate synchronization sequence, determining the synchronization performance metric value of each candidate synchronization sequence includes the following steps:
[0116] S901: For any candidate synchronization sequence, determine a phase correlation value of the candidate synchronization sequence according to the phase of the candidate synchronization sequence.
[0117] First, the candidate synchronization sequence needs to be demodulated. Phase differential demodulation is used as an example for explanation. In one embodiment, Fig.10 As shown, determining the phase correlation value of the candidate synchronization sequence according to the phase of the candidate synchronization sequence includes the following steps:
[0118] S1001, obtaining a phase difference between every two adjacent symbols in a candidate synchronization sequence.
[0119] In the candidate synchronization sequence, the phase difference between any two adjacent symbols is obtained to obtain multiple phase difference values. For example, if the candidate synchronization sequence includes 11 symbols, the phase difference between every two adjacent symbols in the candidate synchronization sequence is obtained to obtain 10 phase difference values.
[0120] S1002: Determine a phase correlation value of the candidate synchronization sequence according to a phase difference value between every two adjacent symbols in the candidate synchronization sequence.
[0121] The phase correlation value of the candidate synchronization sequence may be determined by weighting the phase difference between every two adjacent symbols in the candidate synchronization sequence to obtain the phase correlation value of the candidate synchronization sequence.
[0122] S902: Determine an amplitude correlation value of the candidate synchronization sequence according to the amplitude of the candidate synchronization sequence.
[0123] The candidate synchronization sequence includes multiple symbols, and the amplitude of the candidate synchronization sequence is the amplitude of each symbol in the candidate synchronization sequence. Therefore, the amplitude correlation value of the candidate synchronization sequence is determined according to the amplitude of each symbol in the candidate synchronization sequence.
[0124] In one embodiment, the amplitude correlation value of the candidate synchronization sequence can be determined directly according to a preset amplitude correlation algorithm. Specifically, the amplitude of each symbol in the candidate synchronization sequence is used as the input of the amplitude correlation algorithm, and the amplitude correlation value of the candidate synchronization sequence is finally output by running the amplitude correlation algorithm.
[0125] In another embodiment, the amplitude correlation value of the candidate synchronization sequence may also be determined by accumulating the amplitude of each symbol in the candidate synchronization sequence to obtain the amplitude correlation value of the candidate synchronization sequence.
[0126] S903: Determine a synchronization performance metric value of the candidate synchronization sequence according to the phase correlation value and the amplitude correlation value.
[0127] The synchronization performance metric value of the candidate synchronization sequence represents the synchronization performance of the candidate synchronization sequence. For example, the larger the synchronization performance metric value is, the better the synchronization performance of the corresponding candidate synchronization sequence is.
[0128] Therefore, the synchronization performance metric value of the candidate synchronization sequence may be determined by taking the sum of the phase correlation value and the amplitude correlation value of the candidate synchronization sequence as the synchronization sequence performance quantization value of the candidate synchronization sequence.
[0129] In the above signal detection method, for any candidate synchronization sequence, the phase correlation value of the candidate synchronization sequence is determined according to the phase of the candidate synchronization sequence, and the amplitude correlation value of the candidate synchronization sequence is determined according to the amplitude of the candidate synchronization sequence, and then the synchronization performance metric value of the candidate synchronization sequence is determined according to the phase correlation value and the amplitude correlation value. In this method, the synchronization performance metric value of each candidate synchronization sequence is determined according to the phase correlation value and the amplitude correlation value of each candidate synchronization sequence, respectively, and the synchronization performance metric value of the candidate synchronization sequence is determined from two dimensions of phase and amplitude, thereby improving the performance of signal synchronization in the signal detection process.
[0130] In one embodiment, Fig.11 As shown, determining the phase correlation value of the candidate synchronization sequence according to the phase difference value of every two adjacent symbols in the candidate synchronization sequence includes the following steps:
[0131] S1101, performing frequency offset removal processing on each phase difference value to obtain a frequency offset removed phase difference value of each phase difference value.
[0132] When the signal is frequency modulated or phase modulated, the deviation of the instantaneous phase angle of the frequency modulated wave or phase modulated wave from the carrier phase angle changes with the instantaneous value of the modulated signal, resulting in phase offset. At the receiver end, due to the influence of frequency offset, the center value of the phase offset shifts.
[0133] Therefore, it is necessary to perform frequency offset removal processing on the phase difference between every two adjacent symbols in the candidate synchronization sequence. The calculation method of frequency offset removal processing is shown in formula (1).
[0134] f off,k =f k -f off (1)
[0135] Among them, f off,k Indicates the phase difference value of frequency deviation removal, f k Indicates the phase difference, f off It indicates the phase DC offset corresponding to each adjacent symbol interval obtained in advance by the receiver.
[0136] Optionally, the phase DC offset can be obtained by obtaining the phase value of each symbol in the preamble part according to the preamble part in the access code signal of the baseband signal, and determining the average phase difference value of the preamble according to the phase difference value of each symbol in the preamble part. The average phase difference value is the phase DC offset corresponding to each adjacent symbol interval in the receiver.
[0137] It should be noted that, in view of the periodicity in the phase operation, after phase difference and phase DC offset removal, the frequency offset phase difference f off,k The quantization range of f k Same as -2 N-1 ~2 N-1 -1, corresponding to -π to π radians, and N represents the number of quantization bits.
[0138] S1102: Determine a phase correlation value of a candidate synchronization sequence according to each frequency offset removal phase difference value and a preset phase difference polarity of the synchronization sequence.
[0139] The phase difference polarity of the preset synchronization sequence is defined by the Bluetooth specification. Fig.12 The synchronization sequence defined in the Bluetooth specification includes 11 symbols and a phase difference between the 11 symbols. The set is: {3π / 4, -3π / 4, 3π / 4, -3π / 4, 3π / 4, -3π / 4, -3π / 4, 3π / 4, 3π / 4, 3π / 4}, then the phase difference polarity set corresponding to the synchronization sequence defined in the Bluetooth specification is {1, -1, 1, -1, 1, -1, -1, 1, 1, 1}. The phase difference polarity set corresponding to the synchronization sequence defined in the Bluetooth specification is the phase difference polarity of the preset synchronization sequence, also called the phase difference polarity of the local sequence.
[0140] The sum of the products of each frequency-offset phase difference value in the candidate synchronization sequence and the phase difference polarity of the preset synchronization sequence is taken as the phase correlation value of the candidate synchronization sequence, as shown in formula (2).
[0141]
[0142] Among them, c 1,k represents the phase correlation value of the kth candidate synchronization sequence, c local,i,k Indicates the polarity of the i-th phase difference in the preset synchronization sequence, f i,k represents the i-th frequency offset phase difference value in the k-th candidate synchronization sequence, and m is the number of frequency offset phase difference values in the k-th candidate synchronization sequence minus 1.
[0143] In the above signal detection method, each phase difference value is subjected to frequency offset processing to obtain a frequency offset phase difference value of each phase difference value, and the phase correlation value of the candidate synchronization sequence is determined according to each frequency offset phase difference value and the phase difference polarity of the preset synchronization sequence. In this method, by performing frequency offset processing on each phase difference value to obtain a frequency offset phase difference value after frequency offset, and calculating the phase correlation value of each frequency offset phase difference value of the candidate synchronization sequence according to the phase difference polarity of the preset synchronization sequence, the accuracy of the candidate synchronization sequence is quantified more accurately, so that the synchronization sequence finally obtained is more accurate.
[0144] When determining the synchronization performance metric value of the candidate synchronization sequence according to the phase correlation value and the amplitude correlation value, weights may be assigned to the phase correlation value and the amplitude correlation value, and the synchronization performance metric value of the candidate synchronization sequence may be determined according to the weights of the phase correlation value and the amplitude correlation value. This is described in detail below through an embodiment. In one embodiment, Fig.13 As shown, determining the synchronization performance metric value of the candidate synchronization sequence according to the phase correlation value and the amplitude correlation value includes the following steps:
[0145] S1301, obtaining preset phase weight and amplitude weight.
[0146] Among them, the phase weight and amplitude weight can respectively represent the importance of the phase and amplitude. For example, if it is determined that the importance of the phase is greater than the amplitude, the phase weight can be set greater than the amplitude weight. Otherwise, the phase weight is less than the amplitude weight; both the phase weight and the amplitude weight are greater than 0.
[0147] The preset phase weight and amplitude weight may be obtained by directly obtaining the values of the phase weight and amplitude weight from a preset database, or may be specifically set according to actual conditions, which will not be elaborated in detail in the embodiments of the present application.
[0148] S1302: Perform weighted addition processing on the phase correlation value and the amplitude correlation value according to the phase weight and the amplitude weight to obtain a synchronization performance metric value of the candidate synchronization sequence.
[0149] The phase correlation value and the amplitude correlation value are weightedly added according to the phase weight and the amplitude weight, and the synchronization performance metric value of the candidate synchronization sequence can be calculated using formula (3).
[0150] b k =w 1 c 1,k +w 2 c 2,k (3)
[0151] Among them, b k represents the synchronization performance metric of the kth candidate synchronization sequence, c 1,krepresents the phase correlation value of the kth candidate synchronization sequence, c 2,k represents the amplitude correlation value of the kth candidate synchronization sequence, w 1 represents the phase weight, w 2 Represents the amplitude weight.
[0152] Optionally, in order to facilitate weighted addition of the phase-related value and the amplitude-related value, the phase weight and the amplitude weight may be assigned an integer power of 2, for example, w 1 =1, w 2 =4.
[0153] In the above signal detection method, the preset phase weight and amplitude weight are obtained, and then the phase correlation value and the amplitude correlation value are weighted and added according to the phase weight and the amplitude weight to obtain the synchronization performance metric value of the candidate synchronization sequence. In this method, the phase correlation value and the amplitude correlation value are weighted and added by the phase weight and the amplitude weight, so that the synchronization performance metric value of the obtained candidate synchronization sequence is more accurate, thereby improving the signal synchronization performance in the signal detection process.
[0154] In the above embodiments, the calculation is performed based on the phase and amplitude of each candidate synchronization sequence. Before determining multiple candidate synchronization sequences according to the signal to be detected and the length of the synchronization sequence, it is necessary to obtain the phase and amplitude of each sample point in the signal to be detected, and then determine the phase and amplitude of each candidate synchronization sequence according to the phase and amplitude of each sample point in the signal to be detected. The following describes in detail how to obtain the phase and amplitude of the signal to be detected through an embodiment. In one embodiment, Fig.14 As shown, this embodiment includes the following steps:
[0155] S1401, for any sample point in the signal to be detected, obtain the initial phase, initial amplitude and initial orthogonal component of the sample point.
[0156] The method of obtaining the initial phase, initial amplitude and initial orthogonal component of the sample point can be:
[0157] First, determine the complex value z corresponding to the sample point 0 =I+jQ quadrant, if it is in the second quadrant, convert it to z 1 =Q-jI,θ 0 =π / 2*A; if it is in the third quadrant, convert it to z 1 =-Q+jI,θ 0 =-π / 2*A; otherwise, z 1 =z 0 ,θ 0 =0. Where A is the quantization coefficient, which can be 2 N-1 / π,θ 0 This is the initial phase.
[0158] In addition, the initial amplitude is: I 0 =real(z 1 ), that is, the initial amplitude is z 1 The real part of; the initial orthogonal components are: Q 0 =imag(z 1 ), that is, the initial orthogonal component is z 1 The imaginary part of .
[0159] Based on the above method, the initial phase, initial amplitude and initial orthogonal component of each sample point in the signal to be detected are obtained.
[0160] S1402, determining the phase and amplitude of the sample point according to the initial phase, initial amplitude and initial orthogonal component of the sample point.
[0161] The phase, amplitude and orthogonal components of the sample point can be iteratively updated to obtain the phase and amplitude of the sample point. In one embodiment, Fig.15 As shown, according to the initial phase, initial amplitude and initial orthogonal component of the sample point, the phase and amplitude of the sample point are determined, including the following steps:
[0162] S1501, determine the rotation factor according to the initial orthogonal components.
[0163] S1502, iteratively updating the phase, amplitude and orthogonal component of the sample point according to the rotation factor until a preset convergence condition is reached to obtain the phase and amplitude of the sample point.
[0164] First, the direction of the rotation factor is determined according to the sign of the initial orthogonal component. For example, if the initial orthogonal component is greater than or equal to 0, the rotation factor is -1; if the initial orthogonal component is less than 0, the rotation factor is 1, which can be expressed by formula (4).
[0165]
[0166] Among them, d i represents the rotation factor, Q i represents the orthogonal component, and i represents the number of iterations.
[0167] Then, based on the rotation factor, the phase, amplitude and orthogonal components of the sample point are iteratively updated. The iterative update process may include the following steps:
[0168]
[0169] Among them, I i+1 represents the amplitude at the i+1th iteration, Q i+1 represents the orthogonal component at the i+1th iteration, θ i+1 represents the phase at the i+1th iteration, di represents the rotation factor at the i-th iteration, and A is the quantization coefficient.
[0170] Optionally, the convergence condition of the above iterative process may be that the orthogonal component is 0 or a preset number of iterations is reached, for example, the iteration is stopped after 10 iterations.
[0171] After the iteration, the I value is the amplitude, and θ is the phase. It should be noted that the obtained phase value θ is fixed-point data, and its value range is -2 N-1 ~2 N-1 -1, where N is the number of quantization bits, for example, N is 12.
[0172] After the phase and amplitude of each sample point are acquired according to the above iterative method, the phase and amplitude of the signal to be detected are obtained.
[0173] In the above signal detection method, for any sample point in the signal to be detected, the initial phase, initial amplitude and initial orthogonal component of the sample point are obtained, and the phase and amplitude of the sample point are determined according to the initial phase, initial amplitude and initial orthogonal component of the sample point. In this method, when obtaining the phase and amplitude of each sample point in the signal to be detected, only data shifting and addition and subtraction operations are required, and complex multiplication and division operations are not required to simultaneously obtain the required phase and amplitude, thereby reducing the cost of the system.
[0174] In order to further illustrate the synchronization performance of the signal detection method in the present application, the signal detection method in the present application is compared with the synchronization performance obtained by using only phase information in the related art, such as Fig.16 As shown, the horizontal axis is the signal-to-noise ratio, and the vertical axis is the root mean square error of the synchronization point. Fig.16 It can be seen that under the condition of 16MHz sampling rate of the receiver, the EDR partial synchronization performance (phase + amplitude synchronization) obtained by the signal detection method of the present application is improved by about 2dB compared with the synchronization performance (phase synchronization) obtained by using only phase information.
[0175] In the embodiment of the present application, the phase value and amplitude information output by the coordinate rotation digital computer (CORDIC) method are simultaneously used to reduce the amount of synchronization operations and improve the system synchronization performance, thereby providing a good compromise between the amount of operations and the computational complexity: the characteristic that the differential phase and amplitude simultaneously reach the maximum at the optimal sampling point of the π / 4-DQPSK or 8DPSK signal is utilized to obtain a better synchronization effect than synchronization using only phase information, thereby improving the synchronization performance of the receiver; and, by simultaneously using the phase and amplitude information output by the CORDIC algorithm, only data shifting and addition and subtraction operations are required, without complex multiplication and division operations, the required input parameters can be obtained at the same time, thereby reducing the cost of the system.
[0176] In one embodiment, Fig.17 As shown, taking the synchronization of the EDR part in the Bluetooth EDR 2M / EDR 3M system as an example, the embodiment includes the following steps:
[0177] S1701, acquiring a signal to be detected in a baseband signal according to a preset EDR synchronization sequence detection window.
[0178] S1702, obtaining a phase value and an amplitude value of the signal to be detected according to a CORDIC algorithm.
[0179] S1703, performing symbol phase difference processing on the phase value of the signal to be detected to obtain a phase difference value of the signal to be detected;
[0180] f k =θ k+OS -θ k (6)
[0181] Among them, f k represents the phase difference value of the kth sampling point in the signal to be detected, OS is the ratio of the sampling rate of the receiver to the symbol rate, that is, the oversampling multiple, θ k+OS represents the phase value of the k+OSth sampling point in the signal to be detected, θ k Represents the phase value of the kth sampling point in the signal to be detected.
[0182] S1704, performing frequency offset removal processing on the phase difference value of the signal to be detected to obtain a frequency offset removed phase difference value;
[0183] f off,k =f k -f off (7)
[0184] Among them, f off,k represents the reference phase difference value of the kth sampling point in the signal to be detected, f off The phase DC offset corresponding to each symbol interval obtained in advance by the receiver.
[0185] S1705, determining a phase correlation value sequence according to a preset phase difference polarity of the synchronization sequence, a phase difference value after frequency offset removal, and a length of the synchronization sequence;
[0186]
[0187] Among them, c 1,k is the phase correlation value sequence, c local,i is the phase difference polarity of the preset synchronization sequence, and m is the length of the synchronization sequence minus 2.
[0188] S1706, performing an amplitude accumulation operation according to the length of the synchronization sequence and the amplitude of the signal to be detected to obtain an amplitude accumulation value sequence;
[0189]
[0190] Among them, c 2,k is the amplitude accumulation value sequence, and n is the length of the synchronization sequence minus 1.
[0191] S1707, performing weighted addition on the phase correlation value sequence and the amplitude accumulation value sequence according to preset phase weights and amplitude weights to obtain a synchronization performance measurement value sequence;
[0192] b k =w 1 c 1,k +w 2 c 2,k (10)
[0193] S1708, judging the synchronization performance metric value sequence, and taking the point corresponding to the maximum synchronization performance metric value as the synchronization point;
[0194]
[0195] Among them, p is the synchronization point.
[0196] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0197] Based on the same inventive concept, the embodiment of the present application also provides a signal detection device for implementing the signal detection method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more signal detection device embodiments provided below can refer to the limitations on the signal detection method above, and will not be repeated here.
[0198] In one embodiment, Fig.18As shown, a signal detection device 1800 is provided, comprising: a first determination module 1801, a second determination module 1802 and a third determination module 1803, wherein:
[0199] A first determination module 1801 is configured to determine a plurality of candidate synchronization sequences based on a received baseband signal and a preset synchronization sequence length;
[0200] A second determination module 1802 is used to determine a synchronization performance metric value of each candidate synchronization sequence based on the phase and amplitude of each candidate synchronization sequence;
[0201] The third determination module 1803 is used to determine a target synchronization sequence according to the synchronization performance metric value of each candidate synchronization sequence; the synchronization performance of the target synchronization sequence meets the preset requirement.
[0202] In one embodiment, the first determining module 1801 includes:
[0203] An interception unit, used for intercepting the baseband signal to obtain a signal to be detected;
[0204] The first determining unit is used to determine a plurality of candidate synchronization sequences according to the signal to be detected and the synchronization sequence length.
[0205] In one embodiment, the interception unit comprises:
[0206] A first acquisition subunit, used to acquire a cut position and a cut length of a baseband signal;
[0207] The first interception subunit is used to intercept a baseband signal having the same interception length from the baseband signal at the interception position to obtain a signal to be detected.
[0208] In one embodiment, the first determining unit includes:
[0209] A second acquisition subunit, used to acquire an oversampling multiple of a baseband signal;
[0210] The second interception subunit is used to perform sliding window interception on the to-be-detected signal based on the oversampling multiple and the length of the synchronization sequence to obtain a plurality of candidate synchronization sequences.
[0211] In one embodiment, the second determining module 1802 includes:
[0212] A second determining unit, configured to determine, for any candidate synchronization sequence, a phase correlation value of the candidate synchronization sequence according to the phase of the candidate synchronization sequence;
[0213] A third determining unit, configured to determine an amplitude correlation value of the candidate synchronization sequence according to the amplitude of the candidate synchronization sequence;
[0214] The fourth determining unit is used to determine the synchronization performance metric value of the candidate synchronization sequence according to the phase correlation value and the amplitude correlation value.
[0215] In one embodiment, the second determining unit includes:
[0216] A third acquisition subunit is used to obtain a phase difference value between every two adjacent symbols in the candidate synchronization sequence;
[0217] The first determining subunit is used to determine the phase correlation value of the candidate synchronization sequence according to the phase difference value between every two adjacent symbols in the candidate synchronization sequence.
[0218] In one embodiment, the first determining subunit includes:
[0219] The first obtaining subunit is used to perform frequency offset removal processing on each phase difference value to obtain a frequency offset removed phase difference value of each phase difference value;
[0220] The second determining subunit is used to determine the phase correlation value of the candidate synchronization sequence according to each frequency offset removal phase difference value and the phase difference polarity of the preset synchronization sequence.
[0221] In one embodiment, the third determining unit includes:
[0222] The second obtaining subunit is used to accumulate the amplitude of each symbol in the candidate synchronization sequence to obtain the amplitude correlation value of the candidate synchronization sequence.
[0223] In one embodiment, the fourth determining unit includes:
[0224] A fourth acquisition subunit, used to acquire a preset phase weight and amplitude weight;
[0225] The third obtaining subunit is used to perform weighted addition processing on the phase correlation value and the amplitude correlation value according to the phase weight and the amplitude weight to obtain the synchronization performance measurement value of the candidate synchronization sequence.
[0226] In one embodiment, the third determining module 1803 includes:
[0227] The fifth determining unit is configured to determine the candidate synchronization sequence having the largest synchronization performance metric value among the candidate synchronization sequences as the target synchronization sequence.
[0228] In one embodiment, the apparatus 1800 further includes:
[0229] An acquisition module, used for acquiring the initial phase, initial amplitude and initial orthogonal component of any sample point in the signal to be detected;
[0230] The fourth determination module is used to determine the phase and amplitude of the sample point according to the initial phase, initial amplitude and initial orthogonal component of the sample point.
[0231] In one embodiment, the fourth determining module includes:
[0232] A sixth determining unit, configured to determine a rotation factor according to the initial orthogonal component;
[0233] The iteration unit is used to iteratively update the phase, amplitude and orthogonal component of the sample point according to the rotation factor until a preset convergence condition is reached to obtain the phase and amplitude of the sample point.
[0234] Each module in the above-mentioned signal detection device can be implemented in whole or in part by software, hardware and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module above.
[0235] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig.19 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store signal detection data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a signal detection method is implemented.
[0236] Those skilled in the art will understand that Fig.19 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0237] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0238] The implementation principles and technical effects of each step implemented by the processor in the embodiment of the present application are similar to the principles of the above-mentioned signal detection method and will not be repeated here.
[0239] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0240] The implementation principles and technical effects of the steps implemented when the computer program in the embodiment of the present application is executed by the processor are similar to the principles of the above-mentioned signal detection method, and will not be repeated here.
[0241] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0242] The implementation principles and technical effects of the steps implemented when the computer program in the embodiment of the present application is executed by the processor are similar to the principles of the above-mentioned signal detection method, and will not be repeated here.
[0243] It should be noted that the data involved in this application (including but not limited to data used for analysis, stored data, displayed data, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0244] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0245] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0246] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A signal detection method, It is characterized in that The method comprises: Determine a plurality of candidate synchronization sequences based on the received baseband signal and a preset synchronization sequence length; Determining a synchronization performance metric value of each of the candidate synchronization sequences based on the phase and amplitude of each of the candidate synchronization sequences; A target synchronization sequence is determined according to the synchronization performance metric value of each candidate synchronization sequence; the synchronization performance of the target synchronization sequence meets the preset requirement.
2. The method according to claim 1, It is characterized in that The step of determining a plurality of candidate synchronization sequences based on the received baseband signal and a preset synchronization sequence length comprises: Intercepting the baseband signal to obtain a signal to be detected; The multiple candidate synchronization sequences are determined according to the signal to be detected and the synchronization sequence length.
3. The method according to claim 2, It is characterized in that The step of intercepting the baseband signal to obtain a signal to be detected includes: Obtaining a cut position and a cut length of the baseband signal; A baseband signal having the same length as the interception length is intercepted from the baseband signal at the interception position to obtain the signal to be detected.
4. The method according to claim 2, It is characterized in that The determining the plurality of candidate synchronization sequences according to the signal to be detected and the synchronization sequence length comprises: Obtaining an oversampling multiple of the baseband signal; Based on the oversampling multiple, the synchronization sequence length is used to perform sliding window interception on the signal to be detected to obtain a plurality of candidate synchronization sequences.
5. The method according to any one of claims 1 to 4, It is characterized in that The step of determining the synchronization performance metric value of each candidate synchronization sequence based on the phase and amplitude of each candidate synchronization sequence comprises: For any candidate synchronization sequence, determining a phase correlation value of the candidate synchronization sequence according to the phase of the candidate synchronization sequence; Determining an amplitude correlation value of the candidate synchronization sequence according to the amplitude of the candidate synchronization sequence; A synchronization performance metric value of the candidate synchronization sequence is determined according to the phase correlation value and the amplitude correlation value.
6. The method according to claim 5, It is characterized in that The determining, according to the phase of the candidate synchronization sequence, a phase correlation value of the candidate synchronization sequence comprises: Obtaining a phase difference value between every two adjacent symbols in the candidate synchronization sequence; A phase correlation value of the candidate synchronization sequence is determined according to a phase difference value between every two adjacent symbols in the candidate synchronization sequence.
7. The method according to claim 6, It is characterized in that The determining, according to the phase difference between every two adjacent symbols in the candidate synchronization sequence, a phase correlation value of the candidate synchronization sequence comprises: Performing frequency offset removal processing on each of the phase difference values to obtain a frequency offset removed phase difference value of each phase difference value; The phase correlation value of the candidate synchronization sequence is determined according to each of the frequency offset phase difference values and the phase difference polarity of the preset synchronization sequence.
8. The method according to claim 5, It is characterized in that The determining, according to the amplitude of the candidate synchronization sequence, an amplitude correlation value of the candidate synchronization sequence comprises: The amplitude of each symbol in the candidate synchronization sequence is accumulated to obtain an amplitude correlation value of the candidate synchronization sequence.
9. The method according to claim 5, It is characterized in that The step of determining the synchronization performance metric value of the candidate synchronization sequence according to the phase correlation value and the amplitude correlation value comprises: Obtaining preset phase weight and amplitude weight; The phase correlation value and the amplitude correlation value are weightedly added according to the phase weight and the amplitude weight to obtain a synchronization performance metric value of the candidate synchronization sequence.
10. The method according to any one of claims 1 to 4, It is characterized in that The determining a target synchronization sequence according to the synchronization performance metric value of each candidate synchronization sequence includes: The candidate synchronization sequence with the largest synchronization performance metric value among the candidate synchronization sequences is determined as the target synchronization sequence.
11. The method according to any one of claims 1 to 4, It is characterized in that Before determining the multiple candidate synchronization sequences according to the signal to be detected and the synchronization sequence length, the method further includes: For any sample point in the signal to be detected, obtaining the initial phase, initial amplitude and initial orthogonal component of the sample point; The phase and amplitude of the sample point are determined according to the initial phase, initial amplitude and initial orthogonal component of the sample point.
12. The method according to claim 11, It is characterized in that The determining the phase and amplitude of the sample point according to the initial phase, initial amplitude and initial orthogonal component of the sample point comprises: Determine a rotation factor according to the initial orthogonal components; According to the rotation factor, the phase, amplitude and orthogonal component of the sample point are iteratively updated until a preset convergence condition is reached to obtain the phase and amplitude of the sample point.
13. A signal detection device, It is characterized in that The device comprises: A first determination module, configured to determine a plurality of candidate synchronization sequences based on a received baseband signal and a preset synchronization sequence length; A second determination module, configured to determine a synchronization performance metric value of each of the candidate synchronization sequences based on the phase and amplitude of each of the candidate synchronization sequences; The third determination module is used to determine a target synchronization sequence according to the synchronization performance measurement value of each candidate synchronization sequence; the synchronization performance of the target synchronization sequence meets the preset requirements.
14. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 12 are implemented.
15. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 12 are implemented.
16. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 12 are implemented.
Citation Information
Cited By
Frame synchronization method and device for broadband power line communication
CN120238410A
A Frame Synchronization Method and Device for Broadband Power Line Communication
CN120238410B
