Stepping frequency sweep signal phase continuity and transition section optimization method
By optimizing the phase continuity and transition section of the step frequency sweep signal, and using high-order zero-phase filtering and Bessel interpolation method, the problem of improper handling of phase discontinuity and transition section of the traditional step frequency sweep signal during frequency conversion is solved. problem, improving audio signal quality and measurement accuracy.
Patent Information
- Application Number
- CN202410730929.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-06
AI Technical Summary
Traditional step frequency sweep signals are prone to phase discontinuity during the frequency conversion process, resulting in signal spectrum distortion, waveform distortion and quality degradation. Improper handling of the transition section during frequency switching introduces spectrum leakage and noise, affecting the accuracy and accuracy of measurement results. reliability.
By constructing a signal model, optimizing the phase continuity and transition section, using high-order zero-phase filtering smoothing algorithm and Bessel interpolation method, an optimized step frequency sweep signal is generated to ensure the phase continuity of the signal and the smooth processing of the transition section. , reduce spectrum distortion and noise interference.
Significantly improves the overall quality of the audio signal and the measurement accuracy of the test system, reduces signal spectrum distortion and waveform distortion, improves the phase continuity of the signal and the smoothness of the transition section, reduces spectrum leakage and noise interference, and enhances audio testing and measurement system reliability.
Smart Images

Figure CN118737166A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of audio signal processing, and in particular to a method for optimizing phase continuity and transition section of a stepped frequency sweeping signal. Background Art
[0002] Step-sweep frequency signals are widely used in audio testing, acoustic measurement, and performance evaluation of high-fidelity audio systems. Traditional step-sweep frequency signals are prone to phase discontinuity during frequency conversion, resulting in signal spectrum distortion, waveform distortion, and quality degradation. In addition, improper handling of the transition section during frequency switching often introduces spectrum leakage and noise, which seriously affects the accuracy and reliability of the measurement results.
[0003] Therefore, it is necessary to propose a method for optimizing the phase continuity and transition section of a stepped frequency sweep signal to improve the overall quality of the audio signal and the measurement accuracy of the test system. Summary of the invention
[0004] The object of the present invention is to provide a method for optimizing the phase continuity and transition section of a stepped frequency sweep signal, so as to improve the overall quality of an audio signal and the measurement accuracy of a test system.
[0005] To achieve the above object, the present invention adopts a step-frequency sweep signal phase continuity and transition section optimization method, comprising the following steps:
[0006] Build a signal model and generate a step-and-sweep frequency signal;
[0007] Optimize phase continuity;
[0008] Optimize transition section;
[0009] The synthesized signal generates each step segment signal according to the optimized phase and transition segment, and the optimized transition segment signal is inserted between each step segment signal and spliced to generate a complete step frequency sweep signal.
[0010] Among them, in the step of building a signal model and generating a step-sweep frequency signal:
[0011] Define the step frequency sweep signal, set the initial frequency f0, frequency step length Δf, number of steps N and duration of each step T;
[0012] The signal expression used is: The step frequency sweep signal can be expressed as: Where n is the current step sequence, is the initial phase of each step;
[0013] Calculate frequency coverage: f min =f0;f max =f0+(N-1)Δf.
[0014] Among them, in the step of optimizing phase continuity:
[0015] Set the initial phase and determine the initial phase of the first frequency f0
[0016] Calculate the phase for each step:
[0017] Correct the phase cumulative error and use the phase offset correction method to perform phase fine-tuning. The fine-tuning formula is:
[0018] The phase is smoothed and a high-order zero-phase filter smoothing algorithm is sampled to optimize phase continuity.
[0019] Among them, in the step of optimizing the transition section:
[0020] Set the transition length to determine the transition length of each frequency step;
[0021] In the transition section of frequency step switching, the Bessel interpolation method is used to interpolate the signal of the transition section;
[0022] According to the interpolation algorithm, generate transition segment interpolation data: s(t) transition =Interpolate(s(t),Δt); where Δt is the interpolation time interval;
[0023] Apply a weighted window function and apply an efficient weighted window function in the transition section. The function is: s(t) transition =s(t)*w(t); wherein w(t) is a precisely designed transition window function.
[0024] Among them, in the step of synthesizing the signal, generating each step segment signal according to the optimized phase and transition segment, inserting the optimized transition segment signal between each step segment signal, and splicing them to generate a complete step frequency sweep signal:
[0025] Generate step segment signals, and generate various step segment signals according to the optimized phase and transition segment;
[0026] Inserting transition segment signals, inserting optimized transition segment signals between each step segment signal;
[0027] Splice and synthesize signals, splice each step segment signal with the transition segment signal to generate a complete step frequency sweep signal:
[0028] Among them, after the steps of splicing and synthesizing signals:
[0029] Verify and correct the signal, perform spectrum analysis and phase verification on the synthesized signal, and make corrections based on the analysis results;
[0030] Output and application signals, output optimized stepped frequency sweep signals, applied to audio equipment testing, acoustic measurement and performance evaluation of high-fidelity audio systems.
[0031] The invention discloses a method for optimizing phase continuity and transition segment of a stepped frequency sweep signal. The method generates a stepped frequency sweep signal by constructing a signal model; optimizing phase continuity; optimizing transition segment; synthesizing the signal, generating each step segment signal according to the optimized phase and transition segment, inserting the optimized transition segment signal between each step segment signal, and splicing them to generate a complete stepped frequency sweep signal. The method achieves the effect of improving the overall quality of the audio signal and the measurement accuracy of the test system. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0033] Figure 1 This is the effect diagram of ordinary step-sweep combination.
[0034] Figure 2 It is a step-sweep frequency combination effect diagram after being processed by the present invention.
[0035] Figure 3 It is a spectrum comparison diagram of common step frequency sweep and single-step frequency of step frequency sweep optimized by the present invention.
[0036] Figure 4 The present invention is an algorithm flow chart for optimizing the phase continuity and transition section of a stepped frequency sweeping signal according to an embodiment of the present invention.
[0037] Figure 5 It is a schematic diagram of the signal synthesis principle steps of the present invention.
[0038] Figure 6 It is a flow chart of the steps of the step-sweep frequency signal phase continuity and transition section optimization method of the present invention. DETAILED DESCRIPTION
[0039] See also Figure 1 to Figure 6 ,in Figure 1 This is a normal step-sweep combination effect diagram. Figure 2 This is a step-sweep frequency combination effect diagram after being processed by the present invention. Figure 3It is a spectrum comparison diagram of common step frequency sweep and single-step frequency of step frequency sweep optimized by the present invention. Figure 4 is a flow chart of an algorithm for optimizing phase continuity and transition section of a step-sweep frequency signal in an embodiment, Figure 5 This is a step diagram of the signal synthesis principle. Figure 6 It is a flow chart of the steps of the method for optimizing the phase continuity and transition section of the stepped frequency sweep signal.
[0040] The present invention provides a method for optimizing phase continuity and transition section of a stepped frequency sweeping signal, comprising the following steps:
[0041] S100: construct a signal model and generate a step-sweep frequency signal.
[0042] The specific process is as follows: define the step frequency sweep signal, set the initial frequency f0 = 20Hz, the frequency step length Δf, the number of steps N and the duration of each step T; the signal expression is: The step frequency sweep signal can be expressed as: Among them, n=121 is the current step sequence, is the initial phase of each step; calculate the frequency coverage: f max =20*1.059 121 ;f max =20579.8Hz.
[0043] The parameter selection of the signal model can adjust the initial frequency, frequency step, number of steps and duration of each step according to specific needs to meet the needs of different application scenarios, so as to generate a stepped frequency sweep signal that meets the actual test needs.
[0044] S200: Optimize phase continuity.
[0045] The specific process is as follows: Set the initial phase and determine the initial phase of the first frequency f0 Calculate the phase for each step: Correct the phase cumulative error and use the phase offset correction method to perform phase fine-tuning. The fine-tuning formula is: The phase is smoothed and a high-order zero-phase filter smoothing algorithm is sampled to optimize phase continuity.
[0046] Among them, the phase continuity optimization method has high real-time performance and can quickly adjust the phase at the moment of frequency step switching to ensure the continuity and stability of the signal. It is suitable for real-time audio testing and measurement scenarios.
[0047] S300: Optimize transition section.
[0048] The specific process is as follows: set the transition section length to determine the transition section length of each frequency step; in the transition section of the frequency step switching, the transition section length is set to T transition = 10ms, the Bessel interpolation method is used to interpolate the transition segment signal; according to the interpolation algorithm, the transition segment interpolation data is generated Among them B i (t) is the Bessel basis function, c i is the interpolation coefficient, M is the number of interpolation points. Weighted window function is applied, and Kaiser window function is applied in the transition section to reduce spectrum leakage x window (t) = x(t)*w(t), where w(t) is the Kaiser window function.
[0049] The transition segment optimization method is not only applicable to frequency step switching, but also to transition segment processing in signal processing such as amplitude modulation and phase modulation, and has a wide range of applications and practicality.
[0050] S400: synthesizing the signal, generating each step segment signal according to the optimized phase and transition segment, inserting the optimized transition segment signal between each step segment signal, and splicing them to generate a complete step frequency sweep signal.
[0051] The specific process is as follows: generate step segment signals, generate various step segment signals according to the optimized phase and transition segment; insert transition segment signals, insert the optimized transition segment signals between each step segment signal; splice and synthesize signals, splice each step segment signal with the transition segment signal, and generate a complete step frequency sweep signal: Verify and correct signals, perform spectrum analysis and phase verification on the synthesized signals, and make corrections based on the analysis results to ensure that the signal quality meets the expected standards; output and apply signals, output optimized stepped frequency sweep signals, which are used in audio equipment testing, acoustic measurement, and performance evaluation of high-fidelity audio systems.
[0052] In this embodiment, by optimizing the phase continuity of the step-sweep signal and the smoothing of the transition section, the signal spectrum distortion and waveform distortion are effectively reduced, thereby improving the overall quality of the audio signal; by optimizing the phase continuity of the step-sweep signal and the smoothing of the transition section, the signal spectrum distortion and waveform distortion are effectively reduced, thereby significantly improving the overall quality of the audio signal; by adopting a high-order zero-phase filtering algorithm and a Bessel interpolation method, the phase continuity and smooth transition of the signal are ensured, spectrum leakage and noise interference are reduced, and the accuracy and reliability of the audio test and measurement system are greatly improved; by setting a reasonable transition section length and using weighted window functions such as Kaiser windows, the transient effect caused by frequency mutations is reduced, and the smoothness and stability of the signal transition are ensured; the phase continuity optimization method has high real-time performance and can quickly adjust the phase at the moment of frequency step switching, which is suitable for real-time audio test and measurement scenarios. The effect of improving the overall quality of the audio signal and the measurement accuracy of the test system is obtained, and the research on the phase continuity and transition section optimization method of the step-sweep signal has important application value for engineering practice.
[0053] What is disclosed above is only a preferred embodiment of the present invention, and it certainly cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiment and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.
Claims
1. A method for optimizing phase continuity and transition section of a stepped frequency sweep signal, characterized in that: The steps include: Build a signal model and generate a step-and-sweep frequency signal; Optimize phase continuity; Optimize transition section; The synthesized signal generates each step segment signal according to the optimized phase and transition segment, inserts the optimized transition segment signal between each step segment signal, and splices them to generate a complete step frequency sweep signal.
2. The method for optimizing phase continuity and transition section of a stepped frequency sweep signal according to claim 1, characterized in that: In the steps of building a signal model and generating a step-sweep frequency signal: Define the step frequency sweep signal, set the initial frequency f0, frequency step length Δf, number of steps N and duration of each step T; The signal expression used is: The step frequency sweep signal can be expressed as: Where n is the current step sequence, is the initial phase of each step; Calculate frequency coverage: f min =f0;f max =f0+(N-1)Δf.
3. The method for optimizing phase continuity and transition section of a stepped frequency sweep signal according to claim 2, characterized in that: In the step of optimizing phase continuity: Set the initial phase and determine the initial phase of the first frequency f0 Calculate the phase for each step: Correct the phase cumulative error and use the phase offset correction method to perform phase fine-tuning. The fine-tuning formula is: The phase is smoothed and a high-order zero-phase filter smoothing algorithm is sampled to optimize phase continuity.
4. The method for optimizing phase continuity and transition section of a stepped frequency sweep signal according to claim 3, characterized in that: In the step of optimizing the transition: Set the transition length to determine the transition length of each frequency step; In the transition section of frequency step switching, the Bessel interpolation method is used to interpolate the signal of the transition section; According to the interpolation algorithm, generate transition segment interpolation data: s(t) transition =Interpolate(s(t),Δt); where Δt is the interpolation time interval; Apply a weighted window function and apply an efficient weighted window function in the transition section. The function is: s(t) transition =s(t)*w(t); wherein w(t) is a precisely designed transition window function.
5. The method for optimizing phase continuity and transition section of a stepped frequency sweep signal according to claim 4, characterized in that: In the step of synthesizing the signal, generating each step segment signal according to the optimized phase and transition segment, inserting the optimized transition segment signal between each step segment signal, and splicing them to generate a complete step frequency sweep signal: Generate step segment signals, and generate various step segment signals according to the optimized phase and transition segment; Inserting transition segment signals, inserting optimized transition segment signals between each step segment signal; Splice and synthesize signals, splice each step segment signal with the transition segment signal to generate a complete step frequency sweep signal:
6. The method for optimizing phase continuity and transition section of a stepped frequency sweep signal according to claim 5, characterized in that: After the steps of concatenating and compositing the signals: Verify and correct the signal, perform spectrum analysis and phase verification on the synthesized signal, and make corrections based on the analysis results; Output and application signals, output optimized stepped frequency sweep signals, applied to audio equipment testing, acoustic measurement and performance evaluation of high-fidelity audio systems.
Citation Information
Patent Citations
Multi-frequency sine voltage excitation waveform parameter optimization method for rapid frequency domain dielectric response testing
CN106501616A
Fourier transform LFM-BPSK composite modulation radar signal parameter estimation method
CN110764067A
Noise suppression method based on phase continuous swept-frequency fiber laser
CN111404006A
Method for quickly confirming distortion of horn or complete machine
CN112702687A
Multi-frequency dynamic phasor measurement method
CN115032453A
