Signal peak clipping method, device, equipment and storage medium
Through quadratic curve fitting and decimal delay filter technology, accurate peak information calculation and peak cutting factor calculation are performed on OFDM signals, which solves the leakage, miscut and multiple cutting of OFDM signals during peak cutting in the prior art. Peaking problem achieves more efficient and accurate signal peak cutting effect.
Patent Information
- Application Number
- CN202411269354.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-11
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2044-09-11
AI Technical Summary
The prior art is prone to problems of leakage, miscut and multiple peak cutting when pinching OFDM signals, especially when sampling rates are low.
The peak information calculation and peak cutting factor calculation of the target signal is calculated using quadratic curve fitting and decimal delay filter to obtain the real and imaginary peak cutting factors, and the total excitation of the pulse is calculated based on these factors, and finally treated The signal is processed for peak cutting.
It effectively avoids problems such as missing cutting, miscutting and multiple peak cutting during OFDM signal peak cutting, and improves the accuracy and efficiency of signal processing.
Smart Images

Figure CN118827309B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a signal peak clipping method, device, equipment and storage medium. Background Art
[0002] Current mainstream communication technologies such as 4G, 5G and Wi-Fi (Wireless Fidelity) generally use Orthogonal Frequency Division Multiplexing (OFDM) technology for communication signal transmission. This technology uses multiple carriers to achieve high spectrum utilization and flexible resource allocation.
[0003] In the time domain, each subcarrier transmits a data stream separately, and then these subcarrier signals are arranged orthogonally in the spectrum according to certain rules, and finally merged together to form an OFDM signal in the time domain. When these subcarrier signals are superimposed together, a superposition effect of multiple periodic waveforms will appear in the time domain. This superposition causes the amplitude of the overall signal to be enhanced and offset at different time points, resulting in a signal amplitude close to a Gaussian distribution, which produces a large peak-to-average power ratio (PAPR). In particular, as communication technology evolves towards larger bandwidths and higher rates, the high PAPR problem of OFDM signals in the time domain has become particularly prominent. High PAPR may cause the instantaneous power of the OFDM signal to be too high, causing the power amplifier (PA) to enter the nonlinear or saturation region, causing severe distortion and radiation.
[0004] In related technologies, Peak Cancellation Crest Factor Reduction (PC-CFR) technology is often used to clip the peak by matching the pulse waveform of the original signal spectrum, effectively reducing the PAPR of OFDM signals. However, when PC-CFR clips the peak of OFDM signals with a lower sampling rate, problems such as missed clipping, wrong clipping, and multiple clipping may occur.
[0005] Therefore, how to provide a signal peak clipping technology to avoid problems such as missed clipping, wrong clipping and multiple clipping when OFDM signals are clipped is a technical problem that technicians in this field urgently need to solve. Summary of the invention
[0006] Based on the above problems, the present application provides a signal peak clipping method, device, equipment and storage medium, which can avoid problems such as missed clipping, wrong clipping and multiple clipping when clipping OFDM signals.
[0007] The embodiments of the present application disclose the following technical solutions:
[0008] A signal peak clipping method, the method comprising:
[0009] Acquire multiple signals to be processed from a buffer, and select the signals to be processed whose amplitude is greater than a first amplitude threshold as target signals; the multiple signals to be processed are sampling signals of orthogonal frequency division multiplexing (OFDM) signals in the time domain; the buffer has N sampling points, each sampling point stores a signal to be processed, and N is a positive integer; the signals to be processed are sampled in chronological order;
[0010] Using a quadratic curve fitting method and a fractional delay filter to calculate the peak information and the peak clipping factor of each target signal, to obtain the real peak clipping factor and the imaginary peak clipping factor of each target signal; the real peak clipping factor and the imaginary peak clipping factor are calculated according to the precise peak position of the target signal;
[0011] Utilizing the fractional delay filter, based on the real part peak clipping factor and the imaginary part peak clipping factor of each of the target signals, a total cancellation pulse excitation of the plurality of signals to be processed is calculated;
[0012] Peak clipping is performed on a plurality of signals to be processed in the slave buffer based on the total excitation of the cancellation pulse.
[0013] In a possible implementation, peak information calculation and peak clipping factor calculation are performed on each of the target signals by using a quadratic curve fitting method and a fractional delay filter to obtain a real peak clipping factor and an imaginary peak clipping factor of each of the target signals, including:
[0014] Acquire the first initial peak position of each target signal; each target signal corresponds to a first initial peak position; the first initial peak position is set according to the sampling order of the signal to be processed;
[0015] Utilizing the fractional delay filter and the quadratic curve fitting method, based on the to-be-processed signal adjacent to the target signal in the buffer and the first initial peak position corresponding to the target signal, calculate the precise signal of each target signal and the precise peak position corresponding to each precise signal;
[0016] The real part peak clipping factor and the imaginary part peak clipping factor of the precise signal whose amplitude is greater than the second amplitude threshold are used as the real part peak clipping factor and the imaginary part peak clipping factor of the target signal; the second amplitude threshold is greater than the first amplitude threshold; the amplitude of the precise signal is calculated based on the real part and the imaginary part of the precise signal.
[0017] In a possible implementation, the method of using the fractional delay filter and the quadratic curve fitting to calculate the precise signals of each target signal and the precise peak positions corresponding to each precise signal based on the first initial peak positions corresponding to the to-be-processed signal and the target signal adjacent to the target signal in the buffer includes:
[0018] In the buffer, searching forward and backward respectively for the signal to be processed adjacent to the target signal as a first adjacent signal and a second adjacent signal starting from a first initial peak position of the target signal according to a preset first data interval;
[0019] Calculating the precise peak position of the target signal as the second initial peak position according to the amplitude of the first adjacent signal, the amplitude of the second adjacent signal and the first initial peak position of the target signal by using the quadratic curve fitting method;
[0020] According to a preset second data interval, the second initial peak position is shifted forward and backward respectively to obtain a first shifted peak position and a second shifted peak position;
[0021] Using a plurality of groups of the fractional delay filters, respectively calculating the signal data corresponding to the second initial peak position, the first offset peak position, and the second offset peak position;
[0022] The signal data with the largest amplitude is selected from the signal data corresponding to the second initial peak position, the first offset peak position and the second offset peak position as the precise signal of the target signal, and the peak position corresponding to the signal data with the largest amplitude is taken as the precise peak position of the precise signal.
[0023] In a possible implementation, the using the fractional delay filter to calculate the total excitation of the cancellation pulses of the plurality of signals to be processed based on the real part peak clipping factor and the imaginary part peak clipping factor of each of the target signals includes:
[0024] Determining a first filter group number of the fractional delay filter according to the precise peak position of the target signal and the first initial peak position;
[0025] Determine, according to the first filter group number, a first fractional delay filter coefficient array pre-stored in the fractional delay filter;
[0026] Multiplying the real part peak clipping factor and the imaginary part peak clipping factor of the target signal with a first fractional delay filter coefficient array pre-stored in the fractional delay filter to obtain a cancellation pulse excitation of the target signal;
[0027] The cancellation pulse excitations of the target signals are summed to obtain the total cancellation pulse excitation.
[0028] In a possible implementation, the process of calculating the signal data corresponding to the second initial peak position by using the fractional delay filter includes:
[0029] Determining a second filter group number of the fractional delay filter according to the second initial peak position and the first initial peak position;
[0030] According to the second filter group number, the second fractional delay filter coefficient array pre-stored in the fractional delay filter is determined, and the to-be-processed signal corresponding to each second fractional delay filter coefficient array is determined; the to-be-processed signal corresponding to each second fractional delay filter coefficient array is queried to the left on the basis of the target signal positions, n is the number of each coefficient in the second fractional delay filter coefficient array, and s is the total number of coefficients in the second fractional delay filter coefficient array corresponding to the second filter group number;
[0031] Each of the second fractional delay filter coefficient arrays is multiplied in turn by its corresponding signal to be processed to obtain signal data corresponding to the second initial peak position.
[0032] In a possible implementation, the fitting formula of the quadratic curve fitting method is:
[0033] ;
[0034] Among them, X 0 ' is the second initial peak position; X 0 is the first initial peak position; abs(y 0 ) is the amplitude of the target signal; abs(y 1 ) is the amplitude of the second adjacent signal of the target signal; abs(y- 1 ) is the amplitude of the first adjacent signal of the target signal.
[0035] In a possible implementation manner, the step of performing peak clipping on the plurality of signals to be processed in the slave buffer based on the total excitation of the cancellation pulse includes:
[0036] Convolving the total cancellation pulse excitation with a preset cancellation pulse template to obtain an actual cancellation pulse;
[0037] The actual cancellation pulse is used to clip peaks of a plurality of signals to be processed in the slave buffer.
[0038] A signal peak clipping device, the signal peak clipping device comprising:
[0039] A data acquisition unit is used to acquire a plurality of signals to be processed in a buffer; the plurality of signals to be processed are sampling signals of orthogonal frequency division multiplexing (OFDM) signals in the time domain; the buffer has N sampling points, each sampling point stores a signal to be processed, and N is a positive integer; the signals to be processed are sampled in chronological order;
[0040] A first screening unit, used for screening out the to-be-processed signal whose amplitude is greater than a first amplitude threshold as a target signal;
[0041] A comprehensive unit is used to calculate the peak information and peak clipping factor of each target signal by using a quadratic curve fitting method and a fractional delay filter to obtain the real peak clipping factor and the imaginary peak clipping factor of each target signal; the real peak clipping factor and the imaginary peak clipping factor are calculated according to the precise peak position of the target signal;
[0042] A cancellation pulse total excitation calculation unit, configured to calculate the cancellation pulse total excitation of the plurality of signals to be processed based on the real part peak clipping factor and the imaginary part peak clipping factor of each of the target signals by using the fractional delay filter;
[0043] The first peak clipping unit is used to clip the peaks of the multiple signals to be processed in the slave buffer based on the total excitation of the cancellation pulse.
[0044] A signal peak clipping device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the signal peak clipping method as described above is implemented.
[0045] A computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device executes the signal peak clipping method as described above.
[0046] Compared with the prior art, this application has the following beneficial effects:
[0047] The present application provides a signal peak clipping method, device, equipment and storage medium. Specifically, when executing the signal peak clipping method provided in the embodiment of the present application, the signal to be processed can be first extracted from the buffer, and the target signal with an amplitude higher than the specified threshold can be screened out. These signals to be processed are sampling signals of continuous OFDM signals in the time domain. Then, the quadratic curve fitting method is used to calculate the peak information of each target signal to obtain the peak information, that is, to determine the precise peak position of the target signal. On the basis of this peak information, the peak clipping factor of each target signal is calculated with the help of a fractional delay filter to obtain the real and imaginary peak clipping factors. The fractional delay filter is used again to calculate the total excitation of the cancellation pulse of the signal to be processed based on the obtained real and imaginary peak clipping factors. Finally, the total excitation of the cancellation pulse is used to perform peak clipping on the signal to be processed in the buffer. The present application calculates the peak information of the target signal by means of quadratic curve fitting, and can locate the precise peak position with a small deviation, and then can calculate the peak clipping factor with high precision when calculating the peak clipping factor, thereby providing accurate basic data for subsequent OFDM signal peak clipping, thereby effectively avoiding problems such as missed clipping, wrong clipping and multiple clipping during the OFDM signal peak clipping process. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0049] Figure 1 A method flow chart of a signal peak clipping method provided in an embodiment of the present application;
[0050] Figure 2 A method flow chart of a peak information calculation method provided in an embodiment of the present application;
[0051] Figure 3 A method flow chart of a method for calculating an accurate signal and an accurate peak position provided in an embodiment of the present application;
[0052] Figure 4 A method flow chart of a method for calculating a total excitation cancellation pulse provided in an embodiment of the present application;
[0053] Figure 5a A schematic diagram of a pulse excitation cancellation method provided in an embodiment of the present application;
[0054] Figure 5b A schematic diagram of a pulse excitation cancellation method provided in an embodiment of the present application;
[0055] Figure 5c A schematic diagram of a method for canceling total pulse excitation provided in an embodiment of the present application;
[0056] Figure 5d A schematic diagram of a method for canceling total pulse excitation provided in an embodiment of the present application;
[0057] Figure 6 A schematic diagram of the structure of a signal peak clipping device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] To facilitate understanding of the technical solutions provided by the embodiments of the present application, the background technology involved in the embodiments of the present application will be described below.
[0059] OFDM is a multi-carrier modulation technique commonly used in digital communication systems. OFDM divides a high-speed data stream into multiple low-speed sub-streams and transmits these sub-streams in parallel to improve communication efficiency.
[0060] Current mainstream communication technologies such as 4G, 5G, and Wi-Fi widely use OFDM technology for signal transmission, using multi-carriers to improve spectrum utilization and resource allocation flexibility. Each subcarrier transmits a data stream independently in the time domain, and then arranges them orthogonally in the spectrum according to rules and merges them into an OFDM signal. This superposition causes the signal to present a high PAPR, which may cause power amplifier distortion. To reduce PAPR, PC-CFR technology can be used to reduce PAPR through pulse waveform matching, but low sampling rate signals will face challenges such as missed clipping, wrong clipping, and multiple clipping.
[0061] Missed clipping: The sampling point of the OFDM signal deviates greatly from the actual peak position of the OFDM signal, resulting in failure to identify the peak and thus missing the peak;
[0062] Wrong clipping: There is a certain deviation between the sampling point of the OFDM signal and the actual peak position of the OFDM signal, resulting in the amplitude and phase of the sampled peak not being consistent with the actual one, which in turn generates an erroneous cancellation pulse. Using the erroneous cancellation pulse to clip the OFDM signal will lead to erroneous peak clipping;
[0063] Multiple peak clipping: Since there is a fractional deviation between the sampling point of the OFDM signal and the actual peak position of the OFDM signal, a large peak may be mistakenly sampled into two smaller peaks. If both of these peaks exceed the preset threshold, multiple erroneous peak clipping may occur.
[0064] In order to solve this problem, a signal peak clipping method, device, equipment and storage medium are provided in an embodiment of the present application. First, the signal to be processed is extracted from the buffer, and the target signals whose amplitude is higher than a specific threshold are screened. These signals to be processed represent the results of sampling of continuous OFDM signals in the time domain. Then, the peak information of each target signal is calculated using a quadratic curve fitting method, and the peak clipping factor is calculated based on the result of the peak information calculation with the help of a fractional delay filter to obtain accurate real and imaginary peak clipping factors. The cancellation pulse excitation of each target signal is calculated, and the sum of the cancellation pulse excitations of all target signals is taken as the total cancellation pulse excitation. Finally, the signal to be processed in the buffer is clipped with the help of the total cancellation pulse excitation to ensure stable signal quality and effectively reduce the peak value, thereby avoiding possible problems such as missed clipping, wrong clipping and multiple clipping, thereby improving the accuracy and efficiency of signal processing.
[0065] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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 creative work are within the scope of protection of this application.
[0066] See also Figure 1 , which is a flow chart of a signal peak clipping method provided by an embodiment of the present application, such as Figure 1 As shown, the signal peak clipping method may include steps S101-S104:
[0067] S101: Acquire multiple signals to be processed from a buffer, and select the signals to be processed whose amplitudes are greater than a first amplitude threshold as target signals.
[0068] In the signal processing process, multiple signals to be processed are extracted from the buffer and screened according to whether the amplitude exceeds the first threshold to determine the target signal. These signals to be processed represent the sampled signals of the OFDM time domain continuous signal. The buffer contains N sampling points, each of which stores a signal to be processed, where N is a positive integer, to ensure the integrity and continuity of the data. These signals to be processed are sampled in chronological order, ensuring the timing correctness and effectiveness of data processing, and providing a basis for further signal analysis and processing. Since the amplitude of the target signal is greater than the first amplitude threshold, the target signal has a peak to be clipped that needs to be clipped.
[0069] Optionally, the first amplitude threshold is obtained by appropriately offsetting the actual peak clipping threshold, so as to ensure that the peak of the OFDM signal will not be missed. This offset may be based on system-specific requirements, signal properties, or actual needs in the application scenario. By making adjustments based on the actual peak clipping threshold, the data screening and processing process can be better controlled to ensure that the quality of the selected target signal meets expectations and meets system performance and application requirements. This method allows flexibility and adjustability so that the threshold can be accurately adjusted according to the specific situation, thereby effectively optimizing the signal processing process.
[0070] It should be noted that all signals in this application are in complex form, so their amplitudes are obtained by taking the square root of the sum of the squares of their real and imaginary parts. The actual peak clipping threshold is usually determined by system performance requirements, signal characteristics, and actual application scenarios. A common method is to set the threshold value through prior knowledge and experience to ensure that the signal is properly processed without losing important information. Another method is through data analysis and statistical techniques. In general, the determination of the actual peak clipping threshold is a process of comprehensive consideration of factors, which needs to be balanced and optimized while ensuring signal quality.
[0071] It should also be noted that because the signal to be processed is an OFDM signal sampled in the time domain, and the subcarrier data of each OFDM signal is orthogonally modulated, the signal to be processed is complex data, consisting of a real part and an imaginary part. Complex data can more effectively represent the phase and amplitude information of the signal, so it is widely used in many signal processing algorithms, such as modulation and demodulation, digital filtering, spectrum analysis and other fields.
[0072] In a possible implementation, the method further includes:
[0073] The target signals selected from the signals to be processed are sorted from large to small according to the amplitude to obtain a data sequence. Starting from the target signal with the largest amplitude in the data sequence, M data are selected as the final target signal for subsequent curve fitting and cancellation pulse total excitation calculation steps.
[0074] Wherein, M is a positive integer, and the specific value of M can be determined according to the actual situation. This application does not limit the specific value of M.
[0075] S102: Calculate the peak information and the peak clipping factor of each target signal by using a quadratic curve fitting method and a fractional delay filter to obtain the real peak clipping factor and the imaginary peak clipping factor of each target signal.
[0076] First, the peak information of each target signal is calculated by using the quadratic curve fitting method, that is, the precise peak position is determined. Then, based on this peak information, the precise signal of the target signal is determined by a fractional delay filter, and the real and imaginary peak clipping factors of the precise signal are calculated to obtain the real and imaginary peak clipping factors corresponding to this peak information, and the obtained real and imaginary peak clipping factors are used as the real and imaginary peak clipping factors of the target signal.
[0077] See also Figure 2 , Figure 2 A method flow chart of a peak information calculation method provided in an embodiment of the present application. Accordingly, step S102 calculates the peak information of each target signal by means of quadratic curve fitting to obtain an accurate signal set of each target signal, which can be specifically implemented by steps A1-A3:
[0078] A1: Obtain the first initial peak position of each target signal.
[0079] In the peak information calculation process, the first initial peak position corresponding to each target signal is first obtained. Each target signal has an independent first initial peak position, which is set according to the order in which the signal to be processed is sampled. By setting the first initial peak position according to the time sequence of the signal to be processed, it is ensured that the peak position of each target signal is consistent with its sampling order, providing a basic reference point and sequence for subsequent processing. This operation method helps to accurately locate the peak position of each target signal, laying the foundation for further data analysis and processing.
[0080] Exemplarily, assuming that there are 32 sampling points in the buffer, starting from the first sampling point, each sampling point stores a signal to be processed, and the first initial peak position numbering of the sampling points begins from the first sampling point. The first initial peak position of the first sampling point is 1, the first initial peak position of the second sampling point is 2, the first initial peak position of the third sampling point is 3, and so on, the first initial peak position of the last sampling point is 32.
[0081] A2: Utilizing the fractional delay filter and the quadratic curve fitting method, based on the to-be-processed signal adjacent to the target signal in the buffer and the first initial peak position corresponding to the target signal, calculate the precise signal of each target signal and the precise peak position corresponding to each precise signal.
[0082] After obtaining the first initial peak position of each target signal, the fractional delay filter and quadratic curve fitting method can be used to calculate the precise signal based on the first initial peak position corresponding to the target signal and the to-be-processed signal adjacent to the target signal in the buffer. This process can calculate the precise signal of each target signal and determine the accurate peak position corresponding to the precise signal by combining the fractional delay filter and quadratic curve fitting method. This method effectively combines filtering and fitting techniques, provides more reliable and accurate results in the analysis process, and provides important support for further data processing and analysis.
[0083] It should be noted that the exact signal is also in complex form, consisting of a real part and an imaginary part.
[0084] A3: Calculate the real part peak clipping factor and the imaginary part peak clipping factor of the precise signal whose amplitude is greater than the second amplitude threshold.
[0085] For those parts of the precise signal whose amplitude is higher than the second amplitude threshold, the real part clipping factor and the imaginary part clipping factor are calculated. The second amplitude threshold is set higher than the first amplitude threshold, which means that only those parts of the signal with larger amplitude will be selected for subsequent processing. By calculating the clipping factor, the system can accurately identify and extract data with important signal characteristics, which helps to further optimize the signal processing process and ensure the quality and validity of the selected data.
[0086] It should be noted that the real clipping factor and the imaginary clipping factor are coefficients used to describe the reduction or adjustment of the amplitude of the real and imaginary parts of a complex signal. In signal processing, these factors are usually used to adjust the amplitude or magnitude characteristics of a signal in order to further analyze or process the signal data.
[0087] In a possible implementation, the real part peak clipping factor and the imaginary part peak clipping factor may be calculated by the following formula:
[0088] ;
[0089] Among them, γ I is the real part peak clipping factor; γ Q is the imaginary part peak clipping factor; Z peak is the precise signal; real (Z peak ) is the real part of the exact signal; imag(Z peak ) is the imaginary part of the exact signal; abs(Z peak ) is the amplitude corresponding to the precise signal; L is the second amplitude threshold.
[0090] Optionally, the second amplitude threshold may be, but is not limited to, an actual peak clipping threshold, but the second amplitude threshold must be greater than the first amplitude threshold.
[0091] See also Figure 3 , Figure 3 A method flow chart of a method for calculating an accurate signal and an accurate peak position provided in an embodiment of the present application. Accordingly, step A2 uses the fractional delay filter and the quadratic curve fitting method to calculate the accurate signal of each target signal and the accurate peak position corresponding to each accurate signal based on the first initial peak position corresponding to the signal to be processed adjacent to the target signal in the buffer and the target signal, which can be specifically implemented by steps B1-B5:
[0092] B1: In the buffer, starting from the first initial peak position of the target signal according to a preset first data interval, searching forward and backward for the signal to be processed adjacent to the target signal as the first adjacent signal and the second adjacent signal.
[0093] In a buffer in which signals to be processed are stored in a time sequence, based on a preset first data interval, starting from the first initial wave peak position of the target signal, the signals to be processed adjacent to the target signal are searched forward and backward respectively. These found data are marked as the first adjacent signal and the second adjacent signal respectively. Specifically, if the first initial wave peak position of the target signal is determined to be a certain point, then before and after this point, according to the preset interval, the data point closest to the point is found as the first adjacent signal and the second adjacent signal.
[0094] For example, suppose we have a buffer containing the following multiple pending signals:
[0095] Multiple signals to be processed: [A1, A2, A3, A4, A5, A6, A7, A8, A9, A10], where A1, A2, A3, A4, A5, A6, A7, A8, A9, A10 are all separate signals to be processed. Assume that the first initial peak position of the target signal is the 5th data point, that is, A5. Now we search for adjacent data forward and backward according to the preset data interval. Assume that the preset first data interval is 1 data point. Then according to the requirements of step B1, search for the first adjacent signal forward: push forward 1 data point from the first initial peak position, that is, find the adjacent signal A4 at the 4th data point; search for the second adjacent signal backward: push back 1 data point from the first initial peak position, that is, find the adjacent signal A6 at the 6th data point.
[0096] It should be noted that the preset first data interval can be selected according to actual needs, and the present application does not impose any specific restrictions on the preset data interval.
[0097] B2: Calculate the precise peak position of the target signal as the second initial peak position according to the amplitude of the first adjacent signal, the amplitude of the second adjacent signal and the first initial peak position of the target signal by using the quadratic curve fitting method.
[0098] First, the amplitudes of the first adjacent signal and the second adjacent signal are determined, and then the precise peak position in the target signal is calculated based on the first initial peak position of the target signal according to the amplitudes of the first adjacent signal and the second adjacent signal using a quadratic curve fitting method, and this position is used as the second initial peak position.
[0099] In a possible implementation, the fitting formula of the quadratic curve fitting method is:
[0100] ;
[0101] Among them, X 0 ' is the second initial peak position; X 0 is the first initial peak position; abs(y 0 ) is the amplitude of the target signal; abs(y 1 ) is the amplitude of the second adjacent signal of the target signal; abs(y- 1 ) is the amplitude of the first adjacent signal of the target signal.
[0102] Exemplarily, assuming that the first adjacent signal z = a + bi, then the amplitude of the first adjacent signal .
[0103] B3: The second initial peak position is shifted forward and backward respectively according to a preset second data interval to obtain a first shifted peak position and a second shifted peak position.
[0104] The calculated second initial peak position is adjusted according to the preset second data interval. Forward shift means moving the second initial peak position forward by a certain data interval to obtain the first shifted peak position; backward shift means moving the second initial peak position backward by the same data interval to obtain the second shifted peak position.
[0105] It should be noted that the present application does not impose any specific limitation on the size of the second data interval, and the size of the second data interval can be adjusted according to actual needs.
[0106] B4: Using a plurality of groups of the fractional delay filters, respectively calculate the signal data corresponding to the second initial peak position, the first offset peak position, and the second offset peak position.
[0107] By using multiple groups of fractional delay filters, each peak position is calculated so as to measure and record the signal corresponding to each peak position in the buffer area. Specifically, the second starting peak position and the signals corresponding to the first and second peak positions after the offset are calculated in the buffer area by using three groups of fractional delay filters.
[0108] In a possible implementation, the process of calculating the signal data corresponding to the second initial peak position by using the fractional delay filter includes:
[0109] According to the second initial peak position and the first initial peak position, the second filter group number of the fractional delay filter is determined. Then, according to the second filter group number, the second fractional delay filter coefficient array pre-stored in the fractional delay filter is determined, and the to-be-processed signal corresponding to each second fractional delay filter coefficient array is determined; the to-be-processed signal corresponding to each second fractional delay filter coefficient array is queried to the left based on the target signal The second fractional delay filter coefficient array is obtained by multiplying the second fractional delay filter coefficient array by the corresponding signal to be processed to obtain the signal data corresponding to the second initial peak position.
[0110] Exemplarily, it is assumed that there are 11 groups of fractional delay filters with fractional delays of -0.5, -0.4, … 0.5 pre-stored in the fractional delay filter, where m=0,1,...,10 represents the number of each filter group. n=0,1,...,S-1 is the tap number of a group of filters, and one tap number corresponds to a fractional delay filter coefficient. Therefore, n is also the number of the fractional delay filter coefficient, and s is the total number of the fractional delay filter coefficient. Assume that the second initial peak position X 0 '=10.2, the first initial peak position X 0 =10, then the required filter group number can be obtained Assume that the filter group number m'=7 corresponds to the time delay filter coefficient array [h m ' ,0 ,h m ' ,1 , ..., h m ' ,s-1 ]=[0, -0.0059, 0.0283, -0.0952, 0.9482, 0.1675,-0.0591, 0.0215, -0.0044], then s=9.
[0111] Then after this filter processing, the second initial peak position (i.e. X 0 ') corresponding signal data Z 1 : , where m' is the filter group number, each filter group number corresponds to a list of fractional delay filter coefficients; n is the number of each coefficient in the second fractional delay filter coefficient array; is the signal to be processed corresponding to the second fractional delay filter coefficient array, which is queried to the left based on the target signal Assume that When it is -1, it queries the pending signal at position -1 to the left, that is, it queries the pending signal at position 1 to the right.
[0112] In a possible implementation, the method further includes: extending a multi-bit signal to be processed before and after the buffer area, and the present application does not specifically limit the specific number of bits of the extended signal to be processed. The user can extend the signal to be processed according to actual needs. The extended signal to be processed can meet the query requirements of the signal to be processed, and provides sufficient signal length for determining the signal to be processed corresponding to the second fractional delay filter coefficient array.
[0113] In a possible implementation, if the signal to be processed corresponding to the second fractional delay filter coefficient array is queried leftward or rightward and the queried signal is not in the buffer area, the extended signal can be used to query the signal data corresponding to the second initial peak position.
[0114] It should also be noted that the processes of determining the signal data corresponding to the second initial peak position, determining the signal data corresponding to the first offset peak position, and determining the signal data corresponding to the second offset peak position are similar and will not be repeated here.
[0115] B5: Filter out the signal data with the largest amplitude from the signal data corresponding to the second initial peak position, the first offset peak position and the second offset peak position as the precise signal of the target signal, and use the peak position corresponding to the signal data with the largest amplitude as the precise peak position of the precise signal.
[0116] The signal data with the largest amplitude is selected from the multiple signal data, and the corresponding peak position is used as the peak position of the final precise signal. The specific process includes the following steps: first, the data with the largest amplitude is selected from the signal data of the second initial peak position, the first offset peak position and the second offset peak position; second, the peak position of the data with the largest amplitude is determined as the precise peak position of the final precise signal.
[0117] S103: Using the fractional delay filter, calculate the total excitation of the cancellation pulses of the plurality of signals to be processed based on the real part peak clipping factor and the imaginary part peak clipping factor of each of the target signals.
[0118] The total excitation of the cancellation pulses of multiple signals to be processed is calculated based on the real and imaginary clipping factors in the target signal using the fractional delay filter. Specifically, multiple groups of signals to be processed are processed and adjusted by applying the fractional delay filter in combination with the real and imaginary clipping factors in the target signal to obtain a comprehensive, optimized data output. This processing helps to optimize data quality and extract the desired excitation signal features to meet specific data processing or analysis needs.
[0119] The multiple signals to be processed refer to the signals to be processed in the buffer. Assuming that the buffer has 32 sampling points, there are 32 signals to be processed.
[0120] See also Figure 4 , Figure 4 A method flow chart of a method for calculating a total cancellation pulse excitation provided in an embodiment of the present application. Accordingly, step S103 uses the fractional delay filter to calculate the total cancellation pulse excitation of the multiple signals to be processed based on the real part clipping factor and the imaginary part clipping factor of each of the target signals, which can be implemented by steps C1-C4:
[0121] C1: Determine a first filter group number of the fractional delay filter according to the precise peak position of the target signal and the first initial peak position.
[0122] A unique first filter group number can be determined according to the precise peak position and the first initial peak position.
[0123] Specifically, the first filter group number , X 0 is the first initial peak position of the target signal; X peak is the precise peak position corresponding to the target signal; X 0 is the first initial peak position.
[0124] C2: Determine, according to the first filter group number, a first fractional delay filter coefficient array pre-stored in the fractional delay filter.
[0125] Each filter group number corresponds to a group of fractional delay filter coefficients, and the fractional delay filter coefficients determined according to the first filter group number are defined as the first fractional delay filter coefficient array. There are multiple fractional delay filter coefficients in each group of fractional delay filters, and the multiple fractional delay filter coefficients constitute the first fractional delay filter coefficient array. Each coefficient in the first fractional delay filter coefficient array can be expressed as hm*,n , n=0,1,…,s-1, n is the number of each coefficient in the first fractional delay filter coefficient array.
[0126] C3: multiplying the real part peak clipping factor and the imaginary part peak clipping factor of the target signal with the first fractional delay filter coefficient array pre-stored in the fractional delay filter to obtain the cancellation pulse excitation of the target signal.
[0127] Multiply this coefficient by the peak clipping factor γ of the real and imaginary parts respectively. I and γ Q Then the cancellation pulse excitation of this target signal is formed: n= γ Q ·h m*,n +j·γ Q ·h m*,n , n=0,1,...,s-1.
[0128] C4: summing the cancellation pulse excitations of the target signals to obtain the total cancellation pulse excitation.
[0129] Based on the first initial peak position corresponding to each peak to be clipped (i.e., target signal), the pulse excitation [u i,0 ,u i,1, ...,u i,s-1 ] is aligned to the center of the buffer. Assuming the first initial peak position is 5, then [u i,0 ,u i,1, ...,u i,s-1 Center of Align to the peak position 5 in the buffer. i is a non-negative integer used to distinguish the cancellation pulse excitations of different target signals.
[0130] After the pulse elimination excitation alignment is performed, the signal to be processed aligned to the buffer can be excitation-expanded, and the excitation of the position without the pulse elimination excitation is set to 0, and the pulse elimination excitation [u i,0 ,u i,1, ...,u i,s-1 ] after alignment and expansion of the final cancellation pulse excitation [u i,0 ',u i,1 ' , ...,u i,w-1 '], W is the length of the buffer (in the above example W = 32). Because each target signal has a [u i,0 ',u i,1 ' , ...,u i,w-1 '], and then the peak to be clipped corresponding to the first initial peak position of each target signal can be clipped, that is, each peak to be clipped corresponds to a [ui,0 ',u i,1 ' , ...,u i,w-1 '].
[0131] In order to clip all the peaks to be clipped of the target signals in the buffer at one time, it is also necessary to cancel the final pulse excitation u corresponding to all the peaks to be clipped of all the target signals. i,n 'Add and sum to get the total excitation g of the cancellation pulse n , g n= u 1,n '+u 2,n '+...+u i,n ', n=0,1...,w-1.
[0132] By adding the cancellation pulse excitations of each precise target signal, the total cancellation pulse excitation is obtained, which further improves the quality and effectiveness of the excitation signal and provides a more accurate basis for subsequent data processing and analysis.
[0133] Example 1: Assume that there are only two target signals, and the two target signals correspond to two precise signals respectively. The first initial peak position of the first target signal is 5. The final cancellation pulse excitation of the precise signal corresponding to the first target signal (referring to the signal to be processed with an amplitude greater than the first amplitude threshold) is [u 1,0 ',u 1,1 ' , ...,u 1,w-1 '],[u 1,0 ',u 1,1 ' , ...,u 1,w-1 ']like Figure 5a The first initial peak position of the second target signal (also the signal to be processed whose amplitude is greater than the first amplitude threshold) is 25, and the final cancellation pulse excitation of the precise signal corresponding to the first target signal is [u 2,0 ',u 2,1 ' , ...,u 2,w-1 '],[u 2,0 ',u 2,1 ' , ...,u 2,w-1 ']like Figure 5b As shown. The final cancellation pulse excitation [u 1,0 ',u 1,1 ' , ...,u 1,w-1 '] and the final cancellation pulse excitation of the precise signal corresponding to the second target signal [u 2,0 ',u 2,1 ' ,...,u 2,w-1 '] can be added to get Figure 5c The total excitation of the cancellation pulse [g 0 , g 1 , ..., g w-1 ]. Figure 5a , Figure 5b and Figure 5c The numbers on the horizontal axis are the initial peak positions, and the amplitudes on the vertical axis are the excitation amplitudes.
[0134] against Figure 5a For example, the first initial peak position will cancel the pulse excitation [u 1,0 ,u 1,1, ...,u 1,s-1 ] is aligned to the buffer, which means that the first initial peak position is 5, and the pulse excitation is [u 1,0 ,u 1,1, ...,u 1,s-1 Center of Align to the initial peak position 5 in the buffer.
[0135] It should also be noted that the number of n corresponding to the buffer area that has been expanded with the signal to be processed before and after and the buffer area that has not been expanded is different. The number of n corresponding to the buffer area that has been expanded with the signal to be processed is greater than the number of n corresponding to the buffer area that has not been expanded.
[0136] S104: performing peak clipping on a plurality of signals to be processed in the slave buffer based on the cancellation pulse total excitation.
[0137] Based on the total excitation of the cancellation pulse, peak clipping of multiple signals to be processed in the buffer means using the total excitation of the cancellation pulse to adjust the amplitude characteristics of these signals. By applying the peak clipping technology, the peak value in the OFDM signal can be reduced and its amplitude can be adjusted so that the signal better meets the expected processing requirements. This process helps to optimize signal quality, improve signal characteristics, and provide a more accurate and reliable data basis for further data analysis.
[0138] Specifically, first, the total excitation of the cancellation pulse is convolved with the preset cancellation pulse template to obtain the actual cancellation pulse. This convolution process matches and processes the total excitation signal of the cancellation pulse with the cancellation pulse template to generate a cancellation pulse signal that meets the expected peak clipping effect. Next, the actual cancellation pulse is used to perform a peak clipping operation on the OFDM signal of multiple signals to be processed in the buffer. This means that the actual cancellation pulse is applied to the OFDM signal to adjust the amplitude or shape of the signal, thereby optimizing the quality of the data and the identification of specific signal components. This process is often used in data processing, especially in situations where it is necessary to highlight key signals or reduce noise interference, to improve the accuracy and efficiency of data analysis.
[0139] Example 2, taking Example 1 as an example to continue the explanation, the total excitation of the cancellation pulse of Example 1 is convolved with the preset cancellation pulse template to obtain the following Figure 5d Actual cancellation pulses shown. Figure 5d The numbers on the horizontal axis are the initial peak positions, and the amplitudes on the vertical axis are the excitation amplitudes.
[0140] Based on the contents of S101-S104, it can be known that, first, in the data processing process, the required signal is extracted from the buffer, and the target signal that meets the conditions is screened out by setting the amplitude threshold. These signals are sampling signals of OFDM signals in the time domain. Subsequently, the quadratic curve fitting method is used to accurately calculate the precise peak position of the target signal by performing peak information on each target signal. Then, based on this precise peak position, the precise signal of the target signal is determined with the help of a fractional delay filter, and the real and imaginary peak clipping factors of the precise signal are calculated. According to the obtained real and imaginary peak clipping factors, the total excitation of the cancellation pulse of the signal to be processed is calculated. Finally, in the final stage of signal processing, under the guidance of the total excitation of the cancellation pulse, an effective peak clipping operation is performed on the corresponding OFDM signal in the buffer. The present application calculates the peak information of the target signal by quadratic curve fitting, and can accurately locate the precise peak position, thereby selecting the corresponding real peak clipping factor and imaginary peak clipping factor to calculate the total excitation of the cancellation pulse. This accurate peak position positioning provides a reliable basis for the subsequent OFDM signal peak clipping operation, helping to avoid problems such as missed clipping, wrong clipping and multiple clipping that may occur during the peak clipping process.
[0141] See also Figure 6 , Figure 6 A schematic diagram of the structure of a signal peak clipping device provided in an embodiment of the present application.
[0142] like Figure 6 As shown, the signal peak clipping device includes:
[0143] The data acquisition unit 601 is used to acquire multiple signals to be processed from a buffer; the multiple signals to be processed are sampling signals of orthogonal frequency division multiplexing (OFDM) signals in the time domain; the buffer has N sampling points, each sampling point stores a signal to be processed, and N is a positive integer; the signals to be processed are sampled in chronological order;
[0144] A first screening unit 602 is used to screen out the to-be-processed signal whose amplitude is greater than a first amplitude threshold as a target signal;
[0145] The integration unit 603 is used to calculate the peak information and the peak clipping factor of each target signal by using a quadratic curve fitting method and a fractional delay filter to obtain the real peak clipping factor and the imaginary peak clipping factor of each target signal; the real peak clipping factor and the imaginary peak clipping factor are calculated according to the precise peak position of the target signal;
[0146] A cancellation pulse total excitation calculation unit 604 is used to calculate the cancellation pulse total excitation of the multiple signals to be processed based on the real part peak clipping factor and the imaginary part peak clipping factor of each of the target signals by using the fractional delay filter;
[0147] The first peak clipping unit 605 is configured to perform peak clipping on the plurality of signals to be processed in the slave buffer based on the total excitation of the cancellation pulse.
[0148] In a possible implementation, the integration unit 603 specifically includes:
[0149] A first initial peak position acquisition unit, used to acquire the first initial peak position of each target signal; each target signal corresponds to a first initial peak position; the first initial peak position is set according to the sampling order of the signal to be processed;
[0150] An accurate signal calculation unit, configured to calculate the accurate signals of each target signal and the accurate peak position corresponding to each accurate signal based on the first initial peak position corresponding to the signal to be processed adjacent to the target signal in the buffer and the target signal by using the fractional delay filter and the quadratic curve fitting method;
[0151] A setting unit is used to use the real part peak clipping factor and the imaginary part peak clipping factor of the precise signal whose amplitude is greater than the second amplitude threshold as the real part peak clipping factor and the imaginary part peak clipping factor of the target signal; the second amplitude threshold is greater than the first amplitude threshold; the amplitude of the precise signal is calculated based on the real part and the imaginary part of the precise signal.
[0152] In a possible implementation, the precise signal calculation unit specifically includes:
[0153] an adjacent signal searching unit, configured to search forward and backward in the buffer from a first initial peak position of the target signal according to a preset first data interval for the signal to be processed adjacent to the target signal as a first adjacent signal and a second adjacent signal;
[0154] a second initial peak position calculation unit, configured to calculate the precise peak position of the target signal as the second initial peak position according to the amplitude of the first adjacent signal, the amplitude of the second adjacent signal and the first initial peak position of the target signal by using the quadratic curve fitting method;
[0155] An offset unit, used for offsetting the second initial peak position forward and backward respectively according to a preset second data interval to obtain a first offset peak position and a second offset peak position;
[0156] A first calculation unit, configured to respectively calculate the signal data corresponding to the second initial peak position, the first offset peak position, and the second offset peak position by using a plurality of groups of the fractional delay filters;
[0157] The second screening unit is used to screen out the signal data with the largest amplitude from the signal data corresponding to the second initial peak position, the first offset peak position and the second offset peak position as the precise signal of the target signal, and use the peak position corresponding to the signal data with the largest amplitude as the precise peak position of the precise signal.
[0158] In a possible implementation, the cancellation pulse total excitation calculation unit 604 specifically includes:
[0159] A first determining unit, configured to determine a first filter group number of the fractional delay filter according to the precise peak position of the target signal and the first initial peak position;
[0160] A second determining unit, configured to determine a first fractional time delay filter coefficient array pre-stored in the fractional time delay filter according to the first filter group number;
[0161] A cancellation pulse excitation calculation unit, used for multiplying the real part peak clipping factor and the imaginary part peak clipping factor of the target signal with a first fractional delay filter coefficient array pre-stored in the fractional delay filter to obtain a cancellation pulse excitation of the target signal;
[0162] The excitation summing unit is used to sum the cancellation pulse excitations of the target signals to obtain the total cancellation pulse excitation.
[0163] In a possible implementation manner, the device further includes:
[0164] A third determining unit, configured to determine a second filter group number of the fractional delay filter according to the second initial peak position and the first initial peak position;
[0165] The fourth determination unit is used to determine the second fractional delay filter coefficient array pre-stored in the fractional delay filter according to the second filter group number, and determine the signal to be processed corresponding to the second fractional delay filter coefficient array; the signal to be processed corresponding to the second fractional delay filter coefficient array is queried to the left on the basis of the target signal positions, n is the number of each coefficient in the second fractional delay filter coefficient array, and s is the total number of coefficients in the second fractional delay filter coefficient array corresponding to the second filter group number;
[0166] The second calculation unit is used to multiply each of the second fractional delay filter coefficient arrays by its corresponding signal to be processed in sequence to obtain signal data corresponding to the second initial peak position.
[0167] In a possible implementation, the fitting formula of the quadratic curve fitting method is:
[0168] ;
[0169] Among them, X 0 ' is the second initial peak position; X 0 is the first initial peak position; abs(y 0 ) is the amplitude of the target signal; abs(y 1 ) is the amplitude of the second adjacent signal of the target signal; abs(y- 1 ) is the amplitude of the first adjacent signal of the target signal.
[0170] In a possible implementation, the first peak clipping unit 605 includes:
[0171] A convolution unit, used for convolving the total cancellation pulse excitation with a preset cancellation pulse template to obtain an actual cancellation pulse;
[0172] The second peak clipping unit is used to use the actual cancellation pulse to clip the peaks of the multiple signals to be processed in the slave buffer.
[0173] In addition, an embodiment of the present application also provides a signal peak clipping device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the signal peak clipping method as described above is implemented.
[0174] In addition, an embodiment of the present application further provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device executes the signal peak clipping method as described above.
[0175] The embodiment of the present application provides a signal peak clipping device, first using a data acquisition unit 601 to obtain multiple signals to be processed from a buffer, and using a first screening unit 602 to screen out the signals to be processed whose amplitude is greater than a first amplitude threshold as target signals. The synthesis unit 603 uses a quadratic curve fitting method and a fractional delay filter to calculate the peak information and peak clipping factor of each target signal to obtain the real peak clipping factor and imaginary peak clipping factor of each target signal. Then, the cancellation pulse total excitation calculation unit 604 uses a fractional delay filter to calculate the cancellation pulse total excitation of multiple signals to be processed in the buffer based on the real peak clipping factor and imaginary peak clipping factor of each target signal, so that the first peak clipping unit 605 can clip the multiple signals to be processed in the buffer based on the cancellation pulse total excitation. The present application can ensure the stability of the OFDM signal quality and reduce possible signal abnormalities, such as missed clipping, wrong clipping or multiple peak clipping problems, so as to improve the accuracy and efficiency of the overall signal processing.
[0176] The above is a detailed introduction to a signal peak clipping method, device, equipment and storage medium provided by the present application. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
[0177] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0178] It should also be noted that, in this article, relational terms such as first and second, etc. 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 presence of other identical elements in the process, method, article or device including the elements.
Claims
1. A signal peak clipping method, characterized in that: The method comprises: Acquire multiple signals to be processed from a buffer, and select the signals to be processed whose amplitude is greater than a first amplitude threshold as target signals; the multiple signals to be processed are sampling signals of orthogonal frequency division multiplexing (OFDM) signals in the time domain; the buffer has N sampling points, each sampling point stores a signal to be processed, and N is a positive integer; the signals to be processed are sampled in chronological order; Using a quadratic curve fitting method and a fractional delay filter to calculate the peak information and the peak clipping factor of each target signal, to obtain the real peak clipping factor and the imaginary peak clipping factor of each target signal; the real peak clipping factor and the imaginary peak clipping factor are calculated according to the precise peak position of the target signal; Utilizing the fractional delay filter, based on the real part peak clipping factor and the imaginary part peak clipping factor of each of the target signals, a total cancellation pulse excitation of the plurality of signals to be processed is calculated; Based on the total excitation of the cancellation pulse, peak clipping is performed on a plurality of signals to be processed in the slave buffer; The peak information and the peak clipping factor of each target signal are calculated by using a quadratic curve fitting method and a fractional delay filter to obtain the real peak clipping factor and the imaginary peak clipping factor of each target signal, including: Acquire a first initial wave peak position of each target signal; each target signal corresponds to a first initial wave peak position; the first initial wave peak position is set according to the sampling order of the signal to be processed; Utilizing the fractional delay filter and the quadratic curve fitting method, based on the to-be-processed signal adjacent to the target signal in the buffer and the first initial peak position corresponding to the target signal, calculate the precise signal of each target signal and the precise peak position corresponding to each precise signal; The real part peak clipping factor and the imaginary part peak clipping factor of the precise signal whose amplitude is greater than the second amplitude threshold are used as the real part peak clipping factor and the imaginary part peak clipping factor of the target signal; the second amplitude threshold is greater than the first amplitude threshold; the amplitude of the precise signal is calculated based on the real part and the imaginary part of the precise signal.
2. The method according to claim 1, characterized in that The method of using the fractional delay filter and the quadratic curve fitting to calculate the precise signals of each target signal and the precise peak positions corresponding to each precise signal based on the first initial peak positions corresponding to the signals to be processed and the target signal adjacent to the target signal in the buffer includes: In the buffer, searching forward and backward respectively for the signal to be processed adjacent to the target signal as a first adjacent signal and a second adjacent signal starting from a first initial peak position of the target signal according to a preset first data interval; Calculating the precise peak position of the target signal as the second initial peak position according to the amplitude of the first adjacent signal, the amplitude of the second adjacent signal and the first initial peak position of the target signal by using the quadratic curve fitting method; According to a preset second data interval, the second initial peak position is shifted forward and backward respectively to obtain a first shifted peak position and a second shifted peak position; Using a plurality of groups of the fractional delay filters, respectively calculating the signal data corresponding to the second initial peak position, the first offset peak position, and the second offset peak position; The signal data with the largest amplitude is selected from the signal data corresponding to the second initial peak position, the first offset peak position and the second offset peak position as the precise signal of the target signal, and the peak position corresponding to the signal data with the largest amplitude is taken as the precise peak position of the precise signal.
3. The method according to claim 2, characterized in that The using the fractional delay filter to calculate the total excitation of the cancellation pulses of the plurality of signals to be processed based on the real part peak clipping factor and the imaginary part peak clipping factor of each of the target signals comprises: Determining a first filter group number of the fractional delay filter according to the precise peak position of the target signal and the first initial peak position; Determine, according to the first filter group number, a first fractional delay filter coefficient array pre-stored in the fractional delay filter; Multiplying the real part peak clipping factor and the imaginary part peak clipping factor of the target signal with a first fractional delay filter coefficient array pre-stored in the fractional delay filter to obtain a cancellation pulse excitation of the target signal; The cancellation pulse excitations of the target signals are summed to obtain the total cancellation pulse excitation.
4. The method according to claim 2, characterized in that: The process of calculating the signal data corresponding to the second initial peak position by using the fractional delay filter includes: Determining a second filter group number of the fractional delay filter according to the second initial peak position and the first initial peak position; According to the second filter group number, the second fractional delay filter coefficient array pre-stored in the fractional delay filter is determined, and the to-be-processed signal corresponding to each second fractional delay filter coefficient array is determined; the to-be-processed signal corresponding to each second fractional delay filter coefficient array is queried to the left on the basis of the target signal positions, n is the number of each coefficient in the second fractional delay filter coefficient array, and s is the total number of coefficients in the second fractional delay filter coefficient array corresponding to the second filter group number; Each of the second fractional delay filter coefficient arrays is multiplied in turn by its corresponding signal to be processed to obtain signal data corresponding to the second initial peak position.
5. The method according to claim 1 or 2, characterized in that: The fitting formula of the quadratic curve fitting method is: ; Among them, X0' is the second initial peak position; X0 is the first initial peak position; abs(y0) is the amplitude of the target signal; abs(y1) is the amplitude of the second adjacent signal of the target signal; abs(y-1) is the amplitude of the first adjacent signal of the target signal.
6. The method according to claim 1, characterized in that The step of performing peak clipping on the plurality of signals to be processed in the slave buffer based on the total excitation of the cancellation pulse comprises: Convolving the total cancellation pulse excitation with a preset cancellation pulse template to obtain an actual cancellation pulse; The actual cancellation pulse is used to clip peaks of a plurality of signals to be processed in the slave buffer.
7. A signal peak clipping device, characterized in that: The signal peak clipping device comprises: A data acquisition unit, used for acquiring a plurality of signals to be processed from a buffer; the plurality of signals to be processed are sampling signals of orthogonal frequency division multiplexing (OFDM) signals in the time domain; the buffer has N sampling points, each sampling point stores a signal to be processed, and N is a positive integer; the signals to be processed are sampled in chronological order; A first screening unit, used for screening out the to-be-processed signal whose amplitude is greater than a first amplitude threshold as a target signal; A comprehensive unit is used to calculate the peak information and peak clipping factor of each target signal by using a quadratic curve fitting method and a fractional delay filter to obtain the real peak clipping factor and the imaginary peak clipping factor of each target signal; the real peak clipping factor and the imaginary peak clipping factor are calculated according to the precise peak position of the target signal; A cancellation pulse total excitation calculation unit, configured to calculate the cancellation pulse total excitation of the plurality of signals to be processed based on the real part peak clipping factor and the imaginary part peak clipping factor of each of the target signals by using the fractional delay filter; A first peak clipping unit, configured to clip the peaks of the plurality of signals to be processed in the slave buffer based on the total excitation of the cancellation pulse; The peak information and the peak clipping factor of each target signal are calculated by using a quadratic curve fitting method and a fractional delay filter to obtain the real peak clipping factor and the imaginary peak clipping factor of each target signal, including: Acquire a first initial wave peak position of each target signal; each target signal corresponds to a first initial wave peak position; the first initial wave peak position is set according to the sampling order of the signal to be processed; Utilizing the fractional delay filter and the quadratic curve fitting method, based on the to-be-processed signal adjacent to the target signal in the buffer and the first initial peak position corresponding to the target signal, calculate the precise signal of each target signal and the precise peak position corresponding to each precise signal; The real part peak clipping factor and the imaginary part peak clipping factor of the precise signal whose amplitude is greater than the second amplitude threshold are used as the real part peak clipping factor and the imaginary part peak clipping factor of the target signal; the second amplitude threshold is greater than the first amplitude threshold; the amplitude of the precise signal is calculated based on the real part and the imaginary part of the precise signal.
8. A signal peak clipping device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the signal peak clipping method according to any one of claims 1 to 5 is implemented.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device executes the signal peak clipping method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Data processing method and device and computer readable storage medium
CN111343119A
Signal peak clipping method, device and apparatus and computer readable storage medium
CN111385231A