Disclosure of Invention
The technical problems to be solved by the invention are as follows: the traditional multichannel receiver amplitude and phase correction method is mainly used for carrying out multichannel receiver amplitude and phase correction according to channel difference parameters of the receiver, and larger errors exist when the multichannel receiver amplitude and phase correction method is applied to emergency broadcasting scenes, so that emergency response and rescue work can be influenced, and particularly in scenes with severe power supply changes and severe environment temperature changes; the invention aims to provide a multichannel receiver amplitude and phase correction method, a system and a medium based on FPGA (field programmable gate array), which are specially used for an emergency broadcasting scene, improve the method on the basis of the existing technology for carrying out multichannel receiver amplitude and phase correction based on channel difference parameters of a receiver, configure a starting mechanism of an amplitude and phase correction process based on operation environment information, consider the influence of the operation environment information on the amplitude and phase of each channel of the multichannel receiver in the amplitude and phase correction process, comprehensively consider the operation environment information in the starting amplitude and phase correction process, reduce amplitude and phase difference caused by environmental factors and provide the amplitude and phase correction method suitable for the emergency scene.
The invention is realized by the following technical scheme:
the scheme provides a multichannel receiver amplitude and phase correction method based on an FPGA, which comprises the following steps:
Acquiring operation environment information of the multichannel receiver;
configuring a starting mechanism of an amplitude-phase correction process based on the operation environment information;
Amplitude and phase correction process: performing amplitude phase correction on a target signal of the multichannel receiver based on a starting mechanism and an amplitude phase correction model of the amplitude phase correction process; the amplitude and phase correction model considers the influence of the running environment information on the amplitude and phase of each channel of the multichannel receiver;
Outputting the target signals after the amplitude and phase correction of each channel.
The working principle of the scheme is as follows: the traditional multichannel receiver amplitude and phase correction method is mainly used for carrying out multichannel receiver amplitude and phase correction according to channel difference parameters of the receiver, and larger errors exist when the multichannel receiver amplitude and phase correction method is applied to emergency broadcasting scenes, so that emergency response and rescue work can be influenced, and particularly in scenes with severe power supply changes and severe environment temperature changes; the scheme provides a new technical concept: the method is characterized in that a starting mechanism of an amplitude-phase correction process is configured based on the operation environment information, the influence of the operation environment information on the amplitude phase of each channel of the multichannel receiver is considered in the amplitude-phase correction process, the operation environment information is comprehensively considered in the starting amplitude-phase correction process and the amplitude-phase correction process, the amplitude phase difference caused by environmental factors is reduced, and the amplitude-phase correction method suitable for emergency sites is provided.
The further optimization scheme is that the operation environment information comprises power supply mode and power supply state information of the multichannel signal receiving equipment;
the power supply mode comprises a power grid power supply mode or a standby power supply mode;
When the power supply mode is a standby power supply mode, the power supply state information comprises standby power supply time, standby power supply noise, voltage fluctuation and environmental temperature;
when the power supply mode is a grid power supply mode, the power supply state information includes voltage fluctuation and ambient temperature.
The further optimization scheme is that the starting mechanism of the amplitude-phase correction process is configured based on the operation environment information, and the method comprises the following steps:
acquiring power supply mode and power supply state information of a multichannel receiver;
When the power supply mode is a standby power supply mode, starting an amplitude-phase correction process by taking T1 as a period;
When the power supply mode is a power grid power supply mode, starting an amplitude and phase correction process by taking T2 as a period;
when the voltage fluctuation exceeds a fluctuation threshold or the ambient temperature exceeds a temperature threshold, starting an amplitude-phase correction process by taking T3 as a period;
Wherein T3 > T2 > T1.
The further optimization scheme is that the amplitude phase correction is carried out on the target signal of the multichannel receiver based on the amplitude phase correction starting mechanism and the amplitude phase correction model; comprising the following steps:
According to the starting mechanism, the multichannel receiver continuously transmits auxiliary test signals to the multichannel receiver while receiving target signals;
synchronously collecting the received signals of all channels; the received signal includes a target signal and an auxiliary test signal;
Analyzing the received signal on a baseband, and performing amplitude-phase estimation to obtain an amplitude-phase error factor;
Optimizing the amplitude-phase error factor based on the operation environment information to obtain a final amplitude-phase error factor;
The target signal is corrected based on the final amplitude and phase error factor.
The further optimization scheme is that the receiving signals of all channels are synchronously collected, and the method comprises the following steps: enabling a plurality of high-speed acquisition circuits to synchronously and equally sample the received signals of all channels at a rate v to obtain time discrete signals Q (vT), wherein T represents a sampling interval; the target signal y (t) and the auxiliary test signal J (t) are determined from the time discrete signal Q (vT), t representing time.
The further optimization scheme is that the received signal is analyzed on a baseband, and amplitude phase estimation is carried out to obtain an amplitude phase error factor; comprising the following steps:
Obtaining an amplitude-phase error factor of channel a based on :
;
Wherein M is the gain of the auxiliary test signal; z is the total number of times of transmission of the auxiliary test signal; t represents time; Representing the z-th transmitted auxiliary test signal, the auxiliary test signal received via channel a; Representing the target signal received via channel a when the auxiliary test signal is sent for the z-th time; indicating the z-th transmission of the auxiliary test signal.
The further optimization scheme is that the amplitude-phase error factor is optimized based on the operation environment information to obtain a final amplitude-phase error factor; comprising the following steps:
optimizing the amplitude-phase error factor to obtain a final amplitude-phase error factor according to :
;
Wherein x=1 indicates that the power supply mode is a grid power supply mode; x=0 indicates that the power supply mode is a standby power supply mode; deltau represents voltage fluctuations; t represents the ambient temperature; n represents the power supply time of the standby power supply; alpha represents standby power supply noise; q 1 represents a first error coefficient, and the value is 0.5-1; q 2 represents the second error coefficient, and the value is 1-1.5.
The further optimization scheme is that the target signal is corrected based on the final amplitude-phase error factor; comprising the following steps:
g1, obtaining the bandwidth f of a target signal;
G2, for the case where the bandwidth f is less than the preset bandwidth f c, the modified target signal y a is: ;
Wherein, Representing the target signal received via channel a when the auxiliary test signal is sent for the z-th time; Representing the final amplitude and phase error factor of channel a;
And G3, for the situation that the bandwidth f is more than or equal to the preset bandwidth f c, segmenting the target signal into a plurality of segmented signals with the bandwidth smaller than f c, respectively calculating the final amplitude-phase error factor of each segmented signal, and correcting each segmented signal according to the final amplitude-phase error factor and the step G2.
The present solution also provides an FPGA-based multichannel receiver amplitude and phase correction system, configured to implement the above-mentioned FPGA-based multichannel receiver amplitude and phase correction method, where the system includes:
The acquisition module is used for acquiring the operation environment information of the multichannel receiver;
The configuration module is used for configuring a starting mechanism of the amplitude-phase correction process based on the running environment information;
A correction module for performing an amplitude phase correction process: performing amplitude phase correction on a target signal of the multichannel receiver based on a starting mechanism and an amplitude phase correction model of the amplitude phase correction process; the amplitude and phase correction model considers the influence of the running environment information on the amplitude and phase of each channel of the multichannel receiver;
And the output module is used for outputting the target signals after the amplitude-phase correction of the channels.
The present solution also provides a computer readable medium having stored thereon a computer program for execution by a processor to implement a method of FPGA-based multichannel receiver amplitude phase correction as described above.
Compared with the prior art, the invention has the following advantages and beneficial effects:
The invention provides a method, a system and a medium for correcting the amplitude and phase of a multichannel receiver based on an FPGA; the method is improved on the basis of the existing technology for carrying out the amplitude phase correction of the multichannel receiver based on the channel difference parameters of the receiver, a starting mechanism of the amplitude phase correction process is configured based on operation environment information, the influence of the operation environment information on the amplitude phase of each channel of the multichannel receiver is considered in the amplitude phase correction process, the operation environment information is comprehensively considered in the starting amplitude phase correction process and the amplitude phase correction process, the amplitude phase difference caused by environmental factors is reduced, and the amplitude phase correction method suitable for an emergency site is provided.
Detailed Description
For the purpose of making apparent the objects, technical solutions and advantages of the present invention, the present invention will be further described in detail with reference to the following examples and the accompanying drawings, wherein the exemplary embodiments of the present invention and the descriptions thereof are for illustrating the present invention only and are not to be construed as limiting the present invention.
The traditional multichannel receiver amplitude and phase correction method is mainly used for carrying out multichannel receiver amplitude and phase correction according to channel difference parameters of the receiver, and larger errors exist when the multichannel receiver amplitude and phase correction method is applied to emergency broadcasting scenes, so that emergency response and rescue work can be influenced, and particularly in scenes with severe power supply changes and severe environment temperature changes; in view of this, the present invention provides the following embodiments to solve the above-described technical problems.
Example 1: the embodiment provides an FPGA-based multichannel receiver amplitude and phase correction method, as shown in fig. 1, including:
step one, acquiring operation environment information of a multichannel receiver;
in the implementation process of the step, the operation environment information comprises the power supply mode and the power supply state information of the multichannel signal receiving equipment;
The power supply mode comprises a power grid power supply mode or a standby power supply mode;
When the power supply mode is a standby power supply mode, the power supply state information comprises standby power supply time, standby power supply noise, voltage fluctuation and environmental temperature;
when the power supply mode is a grid power supply mode, the power supply state information includes voltage fluctuation and ambient temperature.
Because the multichannel receiver is in the emergent scene that is located, the temperature variation can lead to the performance parameter of each part of receiving equipment to change, for example oscillator frequency's change, amplifier gain's change etc. to influence the signal amplitude looks uniformity of different channels, the stability problem of power supply appears more easily in the emergent scene, and the stability of power supply directly influences the job stabilization nature of each module and part of receiving equipment, including oscillator's frequency stability, analog-to-digital converter's performance etc. to influence amplitude looks uniformity. The stability of power supply is determined by the power supply mode and the power supply state information, and the scheme considers the power supply mode and the power supply state information in the amplitude and phase correction process and the starting judgment, so that on one hand, the timeliness of the amplitude and phase correction in an emergency scene is ensured, and on the other hand, the accuracy of the amplitude and phase correction process is ensured.
Step two, configuring a starting mechanism of the amplitude-phase correction process based on the operation environment information; the method specifically comprises the following steps:
acquiring power supply mode and power supply state information of a multichannel receiver;
When the power supply mode is a standby power supply mode, starting an amplitude-phase correction process by taking T1 as a period;
When the power supply mode is a power grid power supply mode, starting an amplitude and phase correction process by taking T2 as a period;
when the voltage fluctuation exceeds a fluctuation threshold or the ambient temperature exceeds a temperature threshold, starting an amplitude-phase correction process by taking T3 as a period;
Wherein T3 > T2 > T1.
In the specific implementation process, because the probability of using the standby power supply to supply power is higher in an emergency scene, and the difference between the standby power supply and the power grid power supply is larger, the amplitude and phase influence degree is different, so that the starting time of the amplitude and phase correction process is respectively set according to the power supply, the starting setting of the amplitude and phase correction process is more frequent for a power supply mode with larger amplitude and phase influence degree, and the starting of the amplitude and phase correction process can be set more sparsely for a power supply mode with smaller amplitude and phase influence degree; for situations with large voltage fluctuations (such as power grid load changes, power supply line problems or other power system factors causing transient or sustained voltage changes), a more frequent starting mechanism can be set, and amplitude and phase correction can be performed in time.
Step three, an amplitude phase correction process: performing amplitude phase correction on a target signal of the multichannel receiver based on a starting mechanism and an amplitude phase correction model of the amplitude phase correction process; the amplitude and phase correction model considers the influence of the running environment information on the amplitude and phase of each channel of the multichannel receiver; as shown in fig. 2, the method specifically includes:
s1, continuously transmitting auxiliary test signals to a multichannel receiver while the multichannel receiver receives target signals according to the starting mechanism;
S2, synchronously collecting the received signals of all channels; the received signal includes a target signal and an auxiliary test signal; the method specifically comprises the following steps: enabling a plurality of high-speed acquisition circuits to synchronously and equally sample the received signals of all channels at a rate v to obtain time discrete signals Q (vT), wherein T represents a sampling interval; determining a target signal y (t) and an auxiliary test signal J (t) according to the time discrete signal Q (vT), wherein t represents time;
S3, analyzing the received signals on a baseband, and performing amplitude-phase estimation to obtain an amplitude-phase error factor; the method specifically comprises the following steps:
Obtaining an amplitude-phase error factor of channel a based on :
Wherein M is the gain of the auxiliary test signal; z is the total number of times of transmission of the auxiliary test signal; t represents time; Representing the z-th transmitted auxiliary test signal, the auxiliary test signal received via channel a; Representing the target signal received via channel a when the auxiliary test signal is sent for the z-th time; indicating the z-th transmission of the auxiliary test signal.
S4, optimizing the amplitude-phase error factor based on the operation environment information to obtain a final amplitude-phase error factor; comprising the following steps:
optimizing the amplitude-phase error factor to obtain a final amplitude-phase error factor according to :
;
Wherein x=1 indicates that the power supply mode is a grid power supply mode; x=0 indicates that the power supply mode is a standby power supply mode; deltau represents voltage fluctuations; t represents the ambient temperature; n represents the power supply time of the standby power supply; alpha represents standby power supply noise; q 1 represents a first error coefficient, and the value is 0.5-1; q 2 represents the second error coefficient, and the value is 1-1.5.
The final calculation model of the amplitude-phase error factor and the calculation model of the amplitude-phase error factor beta are obtained through fitting simulation of a large amount of data based on the existing machine learning technology and simulation software.
S5, correcting the target signal based on the final amplitude-phase error factor.
In the actual implementation process, step S5 specifically includes:
g1, obtaining the bandwidth f of a target signal;
G2, for the case where the bandwidth f is less than the preset bandwidth f c, the modified target signal y a is: ;
Wherein, Representing the target signal received via channel a when the auxiliary test signal is sent for the z-th time; Representing the final amplitude and phase error factor of channel a;
And G3, for the situation that the bandwidth f is more than or equal to the preset bandwidth f c, segmenting the target signal into a plurality of segmented signals with the bandwidth smaller than f c, respectively calculating the final amplitude-phase error factor of each segmented signal, and correcting each segmented signal according to the final amplitude-phase error factor and the step G2.
According to the scheme, the multi-channel correction illumination bandwidth is divided into narrow-band correction and broadband correction, for a narrow-band signal, when the channel is inconsistent, channel errors and inconsistencies of signals with different frequencies can be ignored due to narrow bandwidth, so that each channel can select a final amplitude-phase error factor, and the value obtained by multiplying the final amplitude-phase error factor and a target signal received by each channel is used as a correction result. And the broadband signal, different frequency points may produce different amplitude errors and phase errors, at this time, the respective final amplitude-phase error factors are introduced for different frequency points, the scheme therefore cuts the wideband signal into a plurality of narrowband signals through a digital transversal filter, and each narrowband signal correspondingly calculates a final amplitude-phase error factor.
And step four, outputting target signals after amplitude-phase correction of all channels.
The scheme configures a starting mechanism of the amplitude-phase correction process based on the operation environment information, considers the influence of the operation environment information on the amplitude phase of each channel of the multichannel receiver in the amplitude-phase correction process, comprehensively considers the operation environment information in the starting amplitude-phase correction process and the amplitude-phase correction process, reduces amplitude phase difference caused by environmental factors, and provides an amplitude-phase correction method suitable for emergency sites.
Example 2: the present embodiment provides an FPGA-based multichannel receiver amplitude and phase correction system for implementing the FPGA-based multichannel receiver amplitude and phase correction method of embodiment 1, as shown in fig. 3, where the system includes:
The acquisition module is used for acquiring the operation environment information of the multichannel receiver;
The configuration module is used for configuring a starting mechanism of the amplitude-phase correction process based on the running environment information;
A correction module for performing an amplitude phase correction process: performing amplitude phase correction on a target signal of the multichannel receiver based on the amplitude phase correction starting mechanism and an amplitude phase correction model; the amplitude and phase correction model considers the influence of the running environment information on the amplitude and phase of each channel of the multichannel receiver;
And the output module is used for outputting the target signals after the amplitude-phase correction of the channels.
Because the FPGA-based multi-channel receiver amplitude-phase correction method of embodiment 1 requires that the multi-channel receiver continuously transmits the auxiliary test signal to the multi-channel receiver while receiving the target signal; and auxiliary test signals and target signals received by all channels are required to be synchronously collected; therefore, the FPGA is used as a correction platform to realize the amplitude and phase correction process, the FPGA can well meet the requirements of configuration auxiliary test signals and synchronous acquisition, the FPGA platform of the embodiment is an FPGA chip with the model of XC4VLX60, and the chip integrates 26624 slice160 block RAMs and 64 DSP modules, so that the FPGA chip has rich logic resources and strong processing capacity.
Example 3: the present embodiment provides a computer readable medium having stored thereon a computer program which is executed by a processor to implement the FPGA-based multichannel receiver amplitude phase correction method described in embodiment 1, specifically performing the steps of:
step one: acquiring operation environment information of the multichannel receiver;
Step two: configuring a starting mechanism of an amplitude-phase correction process based on the operation environment information;
Step three: amplitude and phase correction process: performing amplitude phase correction on a target signal of the multichannel receiver based on the amplitude phase correction starting mechanism and an amplitude phase correction model; the amplitude and phase correction model considers the influence of the running environment information on the amplitude and phase of each channel of the multichannel receiver;
step four: outputting the target signals after the amplitude and phase correction of each channel.
The embodiment dynamically carries out self-adaptive calibration on the amplitude phase according to the environmental parameters in the simulated emergency scene based on the proposed amplitude phase correction method. Through testing, the amplitude-phase consistency of the calibrated multi-channel reaches the index required by the equipment, the phase consistency among the intermediate frequency channels is better than 5 degrees, and the amplitude consistency among the intermediate frequency channels is better than 0.25dB.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.