CN112051447B - Method, equipment and medium for calibrating direct current bias of mixer - Google Patents
Method, equipment and medium for calibrating direct current bias of mixer Download PDFInfo
- Publication number
- CN112051447B CN112051447B CN202010724082.XA CN202010724082A CN112051447B CN 112051447 B CN112051447 B CN 112051447B CN 202010724082 A CN202010724082 A CN 202010724082A CN 112051447 B CN112051447 B CN 112051447B
- Authority
- CN
- China
- Prior art keywords
- scanning
- voltage value
- value
- mixer
- optimal voltage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 114
- 230000008569 process Effects 0.000 claims abstract description 72
- 230000010355 oscillation Effects 0.000 claims description 16
- 238000001228 spectrum Methods 0.000 claims description 16
- 230000005540 biological transmission Effects 0.000 claims description 15
- 230000000694 effects Effects 0.000 claims description 12
- 238000004422 calculation algorithm Methods 0.000 claims description 9
- 230000003247 decreasing effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 8
- 238000006243 chemical reaction Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 7
- 238000004458 analytical method Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 241000084490 Esenbeckia delta Species 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R23/00—Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
- G01R23/16—Spectrum analysis; Fourier analysis
- G01R23/173—Wobbulating devices similar to swept panoramic receivers
Landscapes
- Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- General Physics & Mathematics (AREA)
- Transmitters (AREA)
- Amplifiers (AREA)
Abstract
The application discloses a method, equipment and medium for calibrating direct current offset of a mixer, which are applied to a direct current offset calibration system, wherein the method comprises the following steps: the upper computer determines preset scanning information; determining an optimal voltage value and a stepping value based on the scanning information, wherein the optimal voltage value comprises a voltage value of an input signal of the mixer; and repeatedly executing the scanning process until the step value accords with the preset condition, stopping the scanning process, and taking the optimal voltage value corresponding to the last scanning process as the final optimal voltage value. By the method, the scanning process is repeatedly executed for a plurality of times, and when each time of scanning is performed, parameters for executing the scanning are correspondingly modified based on the scanning result of the last scanning, so that the scanning process has higher scanning precision under the condition of narrowing the scanning range. Therefore, in the whole scanning process, the same scanning precision as that in the prior art can be achieved only by needing less scanning times, and the whole scanning time is effectively reduced.
Description
Technical Field
The application relates to the field of mixers, in particular to a method, equipment and medium for calibrating direct current offset of a mixer.
Background
A mixer is a circuit in which the output signal frequency is equal to the sum, difference, or other combination of the two input signal frequencies. The mixer is typically composed of a nonlinear element and a frequency selective loop.
In the daily use working process, the mixer needs to be calibrated by direct current bias. In the process of direct current offset calibration, the direct current offset voltage of the input port needs to be respectively adjusted so as to seek that the signal output by the output end has the minimum local oscillation signal output, namely the influence of the local oscillation signal on the output signal is minimum.
However, in the prior art, when performing dc offset calibration, it is required to perform a plurality of scans by applying input signals of different voltage values to the input port. During the scanning process, the number of scanning points, i.e. the voltage value to be applied, needs to be set. And the number of the scanning points corresponds to the number of scanning times, if the number of the scanning points is set to be small, the direct current offset calibration effect may be poor, and the local oscillation signal leakage cannot be effectively restrained. If the number of scan points is set too large, this results in too long a calibration time.
Disclosure of Invention
In order to solve the above problems, the present application proposes a method for calibrating dc offset of a mixer, which is applied in a dc offset calibration system, where the dc offset calibration system includes an arbitrary signal generator, a microwave source, a mixer, a spectrum analyzer, and an upper computer, and the method includes: the upper computer determines preset scanning information, wherein the scanning information comprises a scanning range and scanning points corresponding to each scanning; determining an optimal voltage value and a stepping value based on the scanning information, wherein the optimal voltage value comprises a voltage value of the input signal of the mixer; and repeatedly executing a scanning process until the step value meets a preset condition, stopping the scanning process, and taking the optimal voltage value corresponding to the last scanning process as a final optimal voltage value, wherein the scanning process comprises the following steps of: controlling the arbitrary signal generator to send the input signal to the mixer based on the step value, the scanning range and the optimal voltage value, and controlling the microwave source to send a local oscillation signal to the mixer; receiving a scanning result sent by the spectrum analyzer, wherein the scanning result is determined by the spectrum analyzer based on an output signal of the mixer; the optimal voltage value is redetermined based on the scanning result, the stepping value is redecalculated based on a preset algorithm, and the scanning range is redetermined through the redetermined stepping value and the scanning point number; the redetermined optimal voltage value, the redetermined step value and the redetermined scanning range are used for the scanning process of the next round.
In one example, the scan range in the scan information corresponds to a voltage output range of the arbitrary signal generator; the scanning points corresponding to each scanning include a first scanning point and other scanning points, and the other scanning points are the same.
In one example, determining an optimal voltage value based on the scan information includes: determining the highest voltage value and the lowest voltage value corresponding to the scanning range in the scanning information; and taking the average value of the highest voltage value and the lowest voltage value as an optimal voltage value.
In one example, the mixer is provided with a plurality of input ports for receiving the input signals, and the scanning range includes a scanning range corresponding to each input port; determining the highest voltage value and the lowest voltage value corresponding to the scanning range in the scanning information comprises the following steps: determining the highest voltage value and the lowest voltage value corresponding to each input port according to the scanning range corresponding to the input port; taking the average value of the highest voltage value and the lowest voltage value as an optimal voltage value, comprising: for each input port, taking the average value of the highest voltage value and the lowest voltage value corresponding to the input port as the optimal voltage value corresponding to the input port; and combining the optimal voltage values corresponding to all the input ports into an optimal voltage value combination, and using the optimal voltage value combination for the executed scanning process.
In one example, controlling the arbitrary signal generator to send the input signal to the mixer based on the step value, the scan range, the optimal voltage value includes: and repeatedly executing a transmission process until the voltage value corresponding to the transmitted input signal exceeds the voltage value corresponding to the scanning range, and stopping the transmission process, wherein the transmission process comprises the following steps: controlling the arbitrary signal generator to send the input signal corresponding to the optimal voltage value to the mixer; and after the optimal voltage value is increased or decreased by the step value, a recalculated voltage value is obtained, and the recalculated voltage value is used for the next transmission process.
In one example, the scan result includes sub-scan results corresponding to all the sending processes in the current scan process; re-determining the optimal voltage value based on the scan result, including: and taking the voltage value corresponding to the sending process with the best effect in all the sub-scanning results as the redetermined optimal voltage value, wherein the best effect means that the output signal of the mixer is least influenced by the local oscillation signal.
In one example, recalculating the step value based on a preset algorithm includes: and recalculating to obtain the step value based on delta= (delta×4)/(points [ sweep_time ] -1), wherein delta refers to the step value, and points [ sweep_time ] refers to the number of scanning points corresponding to the scanning process.
In one example, the scanning process is repeatedly performed until the step value meets a preset condition, and stopping the scanning process includes: and repeatedly executing the scanning process until the step value is smaller than a preset threshold value, and stopping the scanning process, wherein the preset threshold value is a preset multiple of voltage precision, and the voltage precision refers to the voltage precision of the arbitrary signal generator.
In another aspect, the present application further proposes a mixer dc offset calibration device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described in any one of the examples above.
In another aspect, the present application further proposes a non-volatile computer storage medium storing computer executable instructions for calibrating a mixer dc offset, wherein the computer executable instructions are configured to: a method as in any one of the examples above.
The method for calibrating the direct current offset of the mixer has the following beneficial effects:
by the method, the scanning process is repeatedly executed for a plurality of times, and when each time of scanning is performed, parameters for executing the scanning are correspondingly modified based on the scanning result of the last scanning, so that the scanning process has higher scanning precision under the condition of narrowing the scanning range. Therefore, in the whole scanning process, the same scanning precision as that in the prior art can be achieved only by needing less scanning times, and the whole scanning time is effectively reduced.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
fig. 1 is a flow chart of a method for calibrating a dc offset of a mixer according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a DC offset calibration apparatus for a mixer in an embodiment of the present application;
FIG. 3 is a schematic diagram of a DC offset calibration system for a mixer in an embodiment of the present application
Fig. 4 is a schematic flow chart of a scanning process in an embodiment of the present application.
Detailed Description
For the purposes, technical solutions and advantages of the present application, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The following describes in detail the technical solutions provided by the embodiments of the present application with reference to the accompanying drawings.
The embodiment of the application provides a direct current offset calibration method of a mixer, which is applied to a direct current offset calibration system, as shown in fig. 3, wherein the direct current offset calibration system comprises an arbitrary signal generator, a microwave source, the mixer, a spectrum analyzer and an upper computer.
Wherein any signal generator is connected to the mixer, which may represent a combination of signal generators, any waveform generators or similar devices. The arbitrary signal generator is mainly used for transmitting corresponding input signals to the mixer, and then scanning in the direct current offset calibration process is carried out through the transmitted input signals. In addition, in operation, up-conversion or down-conversion is required due to different requirements, where any signal generator needs to be connected to different ports of the mixer. For example, in up-conversion, any signal generator needs to be connected to the Intermediate Frequency (IF) port of the mixer, while in down-conversion, any signal generator needs to be connected to the Radio Frequency (RF) port of the mixer. For convenience of description in the embodiment of the present application, the up-conversion is taken as an example for explanation, that is, an arbitrary signal generator is connected to an intermediate frequency port of a mixer, and an intermediate frequency signal is input. However, it should be understood by those skilled in the art that when performing the down-conversion, the method in the embodiment of the present application may be implemented only by performing a corresponding change according to common general knowledge, so that a detailed description of the corresponding method of the down-conversion is omitted.
A microwave source means a device capable of generating microwave energy and is connected to a Local Oscillator (LO) port (i.e., the L port shown in fig. 3) of a mixer, and is mainly used to transmit a corresponding local oscillator signal to perform a scanning process.
The intermediate frequency port of the mixer is connected with any signal generator, and the local oscillation port is connected with a microwave source and is used for combining the received local oscillation signal with the intermediate frequency signal and outputting a radio frequency signal through a radio frequency port (namely an R port shown in figure 3). The input port of the mixer (in this embodiment, the intermediate frequency port is taken as an example) may have only one port, or may include multiple ports, for example, two ports including an in-phase component (I) and a quadrature component (Q), i.e., the I port and the Q port shown in fig. 3.
The spectrum analyzer is connected with the radio frequency port of the mixer and is mainly used for receiving the radio frequency signal output by the mixer and carrying out corresponding analysis to generate an analysis result.
The upper computer is connected with any signal generator, a microwave source and a spectrum analyzer, and is mainly used for correspondingly controlling the start and stop of the signal generator and the generated intermediate frequency signal, correspondingly controlling the start and stop of the microwave source and the generated local oscillator signal, acquiring an analysis result generated by the spectrum analyzer and carrying out corresponding parameter calculation.
As shown in fig. 1, the method includes:
s101, the upper computer determines preset scanning information, wherein the scanning information comprises a scanning range and scanning points corresponding to each scanning.
Before the initial scanning is performed, the scanning information needs to be set correspondingly, which may be set by a user or may be set according to a corresponding rule, for example, according to a history of operation. After the scanning information is set, the upper computer can acquire the scanning information. The scan information may include a scan range and a number of scan points corresponding to each scan. The scanning range refers to a range of voltage values when an arbitrary signal generator transmits a signal during scanning. In general, the scan range in the scan information set by the user is used only for the first scan, which may be referred to herein as the first scan range. The number of scanning points refers to the number of points to be scanned in the scanning range, wherein different scanning points correspond to different voltage values of signals input by any signal generator, and each scanning point is generally uniformly distributed in the scanning range, that is, the difference between the voltage values corresponding to every two scanning points is the same, and the difference can be called a step value in the working process.
Further, the scanning range may correspond to the voltage output range of any signal generator, and the scanning range is made as close to the voltage output range of any signal generator as possible, so that the scanning range is as large as possible. The scan points may include a first scan point and other scan points, where the user typically only needs to set the first scan point, and the subsequent other scan points are fixed values.
Still further, the first scanning point number point0 may be set to between 11 and 41, for example, to 11, and the other scanning points may be set to 11, at which time the corresponding scanning point number points= [ point0,11,11,11,11,11,11,11] for each scanning.
S102, based on the scanning information, determining an optimal voltage value and a stepping value, wherein the optimal voltage value comprises the voltage value of the input signal of the mixer.
After the scan information is determined, an optimal voltage value and a step value can be determined according to the scan information. How to determine the step values is described in the above embodiments, and the step values may be implemented according to the explanation related to the step values, which is not described herein. The optimal voltage value includes the voltage value of the input signal of the mixer, that is, the voltage value of the signal output by any signal generator, and the optimal voltage value refers to the voltage value corresponding to the time when the final direct current bias calibration effect is best, that is, the voltage value corresponding to the scanning process with the least influence of the local oscillation signal on the radio frequency signal output by the mixer.
Specifically, the optimal voltage value may be set randomly or may be set based on a preset algorithm. The preset algorithm may be: firstly, determining the highest voltage value and the lowest voltage value corresponding to the scanning range, then, calculating the average value of the highest voltage value and the lowest voltage value, and taking the average value as the optimal voltage value. For example, when the highest voltage value is 0.1V and the lowest voltage value is-0.1V, the optimal voltage value is 0V.
Further, when a plurality of input ports for receiving input signals are provided in the mixer, a plurality of ports for transmitting input signals are also provided in any signal generator, for example, when the number of input ports is two, it may be two input ports of in-phase component (I) and quadrature component (Q), respectively, and in this case, the scanning range includes a scanning range corresponding to each input port. When determining the optimal voltage value, the highest voltage value and the lowest voltage value of each input port can be determined respectively, then an average value is calculated to obtain the optimal voltage value corresponding to each input port, then the optimal voltage values corresponding to each input port are combined to obtain a final voltage value combination, and in the following embodiments, the optimal voltage value is replaced by the optimal voltage value combination for scanning.
In addition, in general, for the mixers of the I and Q dual input ports, the voltage ranges of the Q port and the I port are the same, so the scan ranges and the number of scan points of the two input ports are generally set to be the same, which may be referred to herein as I port minimum voltage value offset_i_l= -0.1, I port maximum voltage value offset_i_h=0.1, and Q port minimum voltage value offset_q_l=offset_i_l, and Q port maximum voltage value offset_q_h=offset_i_h. And the optimum voltage value of the I port initial_optimal_offset_i= (offset_i_l+offset_i_h)/2=0, the optimum voltage value of the q port initial_optimal_offset_q= (offset_q_l+offset_q_h)/2=0, the optimum voltage value combination initial_optimal_offset_combination= (initial_optimal_offset_i, initial_optimal_offset_q) = (0, 0).
And S103, repeatedly executing the scanning process until the step value meets a preset condition, stopping the scanning process, and taking the optimal voltage value corresponding to the last scanning process as a final optimal voltage value.
After the relevant parameters are determined, a scanning process may be performed. In this embodiment of the present application, the scanning process is a cyclic process, from the first scanning process at the beginning until the step value in the scanning process reaches the preset condition position, the scanning process is stopped, and then the corresponding optimal voltage value in the last scanning process is used as the final optimal voltage value (or the final optimal voltage value combination).
Specifically, in the process of repeatedly performing the scanning, the preset condition set for the step value may be that the scanning process may be continuously performed when the step value is greater than or equal to a preset threshold value, and the scanning process may be stopped when the step value is less than or equal to the preset threshold value. The preset threshold may be a preset multiple of the voltage accuracy, for example, set to 2.5 times the preset. And the voltage accuracy here refers to the voltage accuracy of any signal generator, which may be 0.0000305, for example.
Specifically, as shown in fig. 4, each scanning process includes:
s301, controlling the arbitrary signal generator to send the input signal to the mixer and controlling the microwave source to send a local oscillation signal to the mixer based on the stepping value, the scanning range and the optimal voltage value.
Firstly, based on the determined parameters including a step value, a scanning range and an optimal voltage value, an arbitrary signal generator is controlled to send an input signal to a mixer, and a microwave source is controlled to send a local oscillation signal to the mixer. When the microwave source is controlled to transmit the local oscillation signal, the transmitted local oscillation signal is not required to be changed, and the transmitted input signal is required to be changed.
Specifically, in one scanning process, the transmission process needs to be repeatedly performed to transmit the input signal to the mixer.
The transmission process comprises the following steps: firstly, controlling an arbitrary signal generator to send an input signal corresponding to an optimal voltage value to a mixer, then increasing or decreasing the voltage value corresponding to the stepping value on the optimal voltage value each time, then obtaining a recalculated voltage value, and using the recalculated voltage value for the next round of sending process. And stopping the sending process until the recalculated voltage value reaches the voltage value corresponding to the scanning range, and finishing the scanning process.
S302, receiving a scanning result sent by the spectrum analyzer, wherein the scanning result is determined by the spectrum analyzer based on the output signal of the mixer.
After each sending process is finished, the mixer outputs a corresponding output signal to the spectrum analyzer, and the spectrum analyzer can perform corresponding analysis on the output signal to obtain a scanning result. The scan result obtained by ending each transmission process may be referred to as a sub-scan result. And then the spectrum analyzer can send the scanning result to the upper computer, and the upper computer can perform corresponding calculation and processing.
S303, based on the scanning result, the optimal voltage value is redetermined, the step value is redecalculated based on a preset algorithm, and the scanning range is redetermined through the redetermined step value and the scanning point number.
S304, using the redetermined optimal voltage value, the redetermined stepping value and the redetermined scanning range for a scanning process of a next round.
After receiving the scanning result sent by the spectrum analyzer, the optimal voltage value can be redetermined according to the scanning result, the step value can be redefined based on a preset algorithm, then the scanning range can be redetermined according to the redetermined step value and the corresponding scanning point number, and the redetermined optimal voltage value, the redetermined step value and the redetermined scanning range can be used for replacing corresponding parameters in the scanning process of the current round and executing the scanning process of the next round.
Specifically, when the optimal voltage value is recalculated, it may be determined, based on each sub-scan result of the scan results, which sub-scan result corresponds to the transmission process that can achieve the best effect, and the voltage value corresponding to the transmission process with the best effect is taken as the redetermined optimal voltage value. The effect herein preferably means that the output signal of the mixer is least affected by the local oscillation signal, i.e. the output signal contains the smallest local oscillation signal.
When the step value is recalculated based on the preset algorithm, the step value can be obtained by calculating delta= (delta×4)/(points [ sweep_time ] -1), wherein delta refers to the step value, and points [ sweep_time ] refers to the corresponding scanning point number in the scanning process. The step values can thus be reduced in size, so that a more accurate scan can be performed in a smaller range.
In addition, in determining the total number of scans, the total number of scans may be set to 0, i.e., sweep_time=0, before scanning. Then, a step value delta=initial_range/(points [ sweep_time ] -1) is calculated, wherein initial_range represents a scanning range, and points [ sweep_time ] represents the number of scanning points corresponding to the current scanning. When the scanning is finished, the number of scans is increased by 1, i.e., sweep_time=sweep_time+1. Then when the step value is greater than or equal to a preset threshold, for example greater than or equal to 2.5 times the voltage accuracy, i.e. delta > = (dac_delta×2.5), wherein dac_delta is the voltage accuracy, the step value can be recalculated, i.e. by delta= (delta×4)/(points [ sweep_time ] -1).
Taking the example of the embodiment of the present application including two input ports I and Q, the scan ranges of the I and Q ports are set to be-0.1V to 0.1V, the number of scan points corresponding to each scan is 11, the step value is recalculated by delta= (delta×4)/points [ I ] -1), and the voltage precision dac_delta= 0.0000305, so that it can be calculated that the step value is smaller than the preset threshold after 9 times of shrinking, and thus the total scan times are 8 times, and because there are two input ports, each input port corresponds to 11 scan points, each scan corresponds to 11×11=121 times of operation times, the total operation times corresponding to the 8 scan processes are 968 times, and the final step value precision achieved by the method can be 0.000032768V. However, if the method of the prior art is used, even if the number of scanning points reaches 101, only a step value of the dc bias voltage of 0.2/100=0.002V can be achieved, but the total operation times at this time have reached 10201, and the calibration accuracy and the calibration speed are not the same as those of the method described in the embodiment of the present application.
As shown in fig. 2, an embodiment of the present application further provides a dc offset calibration device for a mixer, including:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the embodiments described above.
The embodiment of the application also provides a non-volatile computer storage medium for calibrating the direct current bias of the mixer, which stores computer executable instructions, and is characterized in that the computer executable instructions are configured to: a method as in any one of the above embodiments.
All embodiments in the application are described in a progressive manner, and identical and similar parts of all embodiments are mutually referred, so that each embodiment mainly describes differences from other embodiments. In particular, for the apparatus and medium embodiments, the description is relatively simple, as it is substantially similar to the method embodiments, with reference to the section of the method embodiments being relevant.
The devices and media provided in the embodiments of the present application are in one-to-one correspondence with the methods, so that the devices and media also have similar beneficial technical effects as the corresponding methods, and since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media are not described in detail herein.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.
Claims (6)
1. The direct current offset calibration method of the mixer is characterized by being applied to a direct current offset calibration system, wherein the direct current offset calibration system comprises an arbitrary signal generator, a microwave source, a mixer, a spectrum analyzer and an upper computer, and the method comprises the following steps:
the upper computer determines preset scanning information, wherein the scanning information comprises a scanning range and scanning points corresponding to each scanning;
determining an optimal voltage value and a stepping value based on the scanning information, wherein the optimal voltage value comprises a voltage value of the input signal of the mixer;
and repeatedly executing a scanning process until the step value meets a preset condition, stopping the scanning process, and taking the optimal voltage value corresponding to the last scanning process as a final optimal voltage value, wherein the scanning process comprises the following steps of:
controlling the arbitrary signal generator to send the input signal to the mixer based on the step value, the scanning range and the optimal voltage value, and controlling the microwave source to send a local oscillation signal to the mixer;
receiving a scanning result sent by the spectrum analyzer, wherein the scanning result is determined by the spectrum analyzer based on an output signal of the mixer;
the optimal voltage value is redetermined based on the scanning result, the stepping value is redecalculated based on a preset algorithm, and the scanning range is redetermined through the redetermined stepping value and the scanning point number;
using the redetermined optimal voltage value, the redetermined step value and the redetermined scanning range for a scanning process of a next round;
the scanning range in the scanning information corresponds to the voltage output range of the arbitrary signal generator; the scanning points corresponding to each scanning comprise first scanning points and other scanning points, and the other scanning points are the same;
based on the scan information, determining an optimal voltage value includes:
determining the highest voltage value and the lowest voltage value corresponding to the scanning range in the scanning information;
taking the average value of the highest voltage value and the lowest voltage value as an optimal voltage value;
controlling the arbitrary signal generator to transmit the input signal to the mixer based on the step value, the scan range, the optimal voltage value, comprising:
and repeatedly executing a transmission process until the voltage value corresponding to the transmitted input signal exceeds the voltage value corresponding to the scanning range, and stopping the transmission process, wherein the transmission process comprises the following steps:
controlling the arbitrary signal generator to send the input signal corresponding to the optimal voltage value to the mixer;
after the optimal voltage value is increased or decreased by the step value, a recalculated voltage value is obtained, and the recalculated voltage value is used for a next transmission process;
the scanning result comprises all sub-scanning results corresponding to the sending process in the scanning process at this time;
re-determining the optimal voltage value based on the scan result, including:
and taking the voltage value corresponding to the sending process with the best effect in all the sub-scanning results as the redetermined optimal voltage value, wherein the best effect means that the output signal of the mixer is least influenced by the local oscillation signal.
2. The method of claim 1, wherein the mixer is provided with a plurality of input ports for receiving the input signals, the scan ranges including a corresponding scan range for each of the input ports;
determining the highest voltage value and the lowest voltage value corresponding to the scanning range in the scanning information comprises the following steps:
determining the highest voltage value and the lowest voltage value corresponding to each input port according to the scanning range corresponding to the input port;
taking the average value of the highest voltage value and the lowest voltage value as an optimal voltage value, comprising:
for each input port, taking the average value of the highest voltage value and the lowest voltage value corresponding to the input port as the optimal voltage value corresponding to the input port;
and combining the optimal voltage values corresponding to all the input ports into an optimal voltage value combination, and using the optimal voltage value combination for the executed scanning process.
3. The method of claim 1, wherein recalculating the step value based on a preset algorithm comprises:
and recalculating to obtain the step value based on delta= (delta×4)/(points [ sweep_time ] -1), wherein delta refers to the step value, and points [ sweep_time ] refers to the number of scanning points corresponding to the scanning process.
4. The method of claim 1, wherein repeatedly performing the scanning process until the step value meets a preset condition, comprises:
and repeatedly executing the scanning process until the step value is smaller than a preset threshold value, and stopping the scanning process, wherein the preset threshold value is a preset multiple of voltage precision, and the voltage precision refers to the voltage precision of the arbitrary signal generator.
5. A mixer dc offset calibration apparatus comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-4.
6. A non-volatile computer storage medium storing computer executable instructions for mixer dc offset calibration, the computer executable instructions configured to: the method of any one of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010724082.XA CN112051447B (en) | 2020-07-24 | 2020-07-24 | Method, equipment and medium for calibrating direct current bias of mixer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010724082.XA CN112051447B (en) | 2020-07-24 | 2020-07-24 | Method, equipment and medium for calibrating direct current bias of mixer |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112051447A CN112051447A (en) | 2020-12-08 |
CN112051447B true CN112051447B (en) | 2024-02-13 |
Family
ID=73601292
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010724082.XA Active CN112051447B (en) | 2020-07-24 | 2020-07-24 | Method, equipment and medium for calibrating direct current bias of mixer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112051447B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112255456B (en) * | 2020-12-22 | 2021-03-16 | 深圳市鼎阳科技股份有限公司 | Frequency sweeping method and frequency sweeping device for spectrum analyzer |
CN114745063B (en) * | 2022-06-10 | 2022-08-16 | 中星联华科技(北京)有限公司 | Local oscillator leakage calibration method and system based on grid sampling and extreme value acquisition |
CN116384499B (en) * | 2023-04-18 | 2024-08-23 | 量子科技长三角产业创新中心 | Calibration method, device and equipment for quantum regulation and control signals |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB1157986A (en) * | 1965-07-29 | 1969-07-09 | Commissariat Energie Atomique | Improvements in or relating to a Method for Measuring Time Intervals and Apparatus including the Application of said Method |
US6900448B1 (en) * | 2000-07-31 | 2005-05-31 | Hewlett-Packard Development Company L.P. | Method and system for dynamic scanner calibration |
CN101330332A (en) * | 2007-06-22 | 2008-12-24 | 中兴通讯股份有限公司 | Zero intermediate frequency calibration method for board for receiving and sending message |
CN102123116A (en) * | 2011-03-11 | 2011-07-13 | 京信通信系统(中国)有限公司 | Direct-current offset calibration method and device |
CN102223330A (en) * | 2011-06-24 | 2011-10-19 | 中兴通讯股份有限公司 | Method and device for IQ (intelligence quotient) signal real-time calibration |
CN103701754A (en) * | 2013-12-23 | 2014-04-02 | 北京航天测控技术有限公司 | Automatic calibration method of vector modulation signal |
CN105395200A (en) * | 2015-12-02 | 2016-03-16 | 沈阳东软医疗系统有限公司 | Scanning method and radio-frequency power calibration method and device of magnetic resonance imaging system |
CN110865235A (en) * | 2019-11-29 | 2020-03-06 | 山东浪潮人工智能研究院有限公司 | Automatic calibration system and method for frequency mixer |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8615205B2 (en) * | 2007-12-18 | 2013-12-24 | Qualcomm Incorporated | I-Q mismatch calibration and method |
-
2020
- 2020-07-24 CN CN202010724082.XA patent/CN112051447B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB1157986A (en) * | 1965-07-29 | 1969-07-09 | Commissariat Energie Atomique | Improvements in or relating to a Method for Measuring Time Intervals and Apparatus including the Application of said Method |
US6900448B1 (en) * | 2000-07-31 | 2005-05-31 | Hewlett-Packard Development Company L.P. | Method and system for dynamic scanner calibration |
CN101330332A (en) * | 2007-06-22 | 2008-12-24 | 中兴通讯股份有限公司 | Zero intermediate frequency calibration method for board for receiving and sending message |
CN102123116A (en) * | 2011-03-11 | 2011-07-13 | 京信通信系统(中国)有限公司 | Direct-current offset calibration method and device |
CN102223330A (en) * | 2011-06-24 | 2011-10-19 | 中兴通讯股份有限公司 | Method and device for IQ (intelligence quotient) signal real-time calibration |
CN103701754A (en) * | 2013-12-23 | 2014-04-02 | 北京航天测控技术有限公司 | Automatic calibration method of vector modulation signal |
CN105395200A (en) * | 2015-12-02 | 2016-03-16 | 沈阳东软医疗系统有限公司 | Scanning method and radio-frequency power calibration method and device of magnetic resonance imaging system |
CN110865235A (en) * | 2019-11-29 | 2020-03-06 | 山东浪潮人工智能研究院有限公司 | Automatic calibration system and method for frequency mixer |
Non-Patent Citations (1)
Title |
---|
扫频接收机中宽带频响自动补偿技术;张宁;《电子质量》(第04期);35-37页 * |
Also Published As
Publication number | Publication date |
---|---|
CN112051447A (en) | 2020-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112051447B (en) | Method, equipment and medium for calibrating direct current bias of mixer | |
US4546326A (en) | Fast automatic gain control arrangement | |
JP2005217911A (en) | Adjusting device and method of orthogonal modulator, communication equipment and program | |
JP2017514391A (en) | Method and apparatus for monitoring optical signal to noise ratio | |
JP3779714B2 (en) | Jitter tolerance measuring apparatus and method enabling efficient measurement and accurate evaluation of jitter tolerance characteristics | |
CN105388435A (en) | Tuning device and method for magnetic resonance imaging system radio frequency coil | |
CN112083370B (en) | Method, equipment and medium for calibrating direct current bias of mixer | |
JP2009531930A (en) | Self-calibrating mixer | |
CN112422463B (en) | Direct current offset calibration method, device and medium | |
CN111614588B (en) | Signal modulation method, device, equipment and computer readable storage medium | |
CN110401474B (en) | Method and system for determining control voltage of phased antenna vector modulator | |
US8750420B2 (en) | Method and apparatus for generating modulated radio waves | |
CN116562379B (en) | Quantum ratio ultra-high energy level transition frequency measuring method and device and quantum computer | |
CN111327375B (en) | Channel scanning method, communication terminal and storage medium | |
CN115840126B (en) | Quantum bit frequency acquisition method, quantum measurement and control system and quantum computer | |
CN112671681B (en) | Sideband suppression method and device, computer equipment and storage medium | |
CN114325301A (en) | Test equipment and method for ADC chip | |
US11506749B2 (en) | Apparatus and method for adjusting a suppression signal for suppressing an RF interference signal | |
US7058371B2 (en) | Mechanism for modulating wireless communication signals | |
CN113824508A (en) | Intensity modulator bias point calibration equipment and method | |
CN210225227U (en) | Ultrasonic power supply system and ultrasonic equipment | |
CN116886257B (en) | Local oscillation adjusting method, equipment and medium of multichannel coherent signal source | |
US11689192B1 (en) | Signal generation apparatus, level correction value calculation system, and level correction value calculation method | |
JP2023006377A (en) | Signal generator and linearity correction method thereof | |
US12074651B2 (en) | Signal generation apparatus, level correction value calculation system, and level correction value calculation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20240118 Address after: 250101 building S02, 1036 Chaochao Road, high tech Zone, Jinan City, Shandong Province Applicant after: Shandong Inspur Scientific Research Institute Co.,Ltd. Address before: Floor 6, Chaochao Road, Shandong Province Applicant before: JINAN INSPUR HIGH-TECH TECHNOLOGY DEVELOPMENT Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |