The present disclosure relates to an analog signal generation device for generating a test signal and a calibration method of the same.
A signal generation device for generating a test signal for testing a mobile communication device is proposed (see, for example, Patent Document 1). The signal generation device disclosed in Patent Document 1 attenuates the power of a signal generated by a signal generation unit, and outputs a test signal. Patent Document 1 discloses a method of detecting the output power of a test signal by a level detection unit such as a detector, and adjusting a variable attenuation unit such that the output power becomes a desired power.
In the signal generation device disclosed in Patent Document 1, the control unit stores the slope of the characteristic of the level detection unit. Then, the control unit applies the power of the test signal detected by the level detection unit to the slope of the characteristic, and adjusts the variable attenuation unit to obtain the desired power. Note that the slope of the characteristic means the following. The level detection unit converts the signal power into a voltage, and the variation amount of the voltage with respect to the unit variation amount of the signal power for this conversion is defined as the “slope of the characteristic.”
Here, the slope of the characteristic of the level detection unit varies depending on temperature, frequency, time, or the like. In a case where the slope of the characteristic of the level detection unit deviates from the slope of the characteristic stored in the control unit, there is a problem in that adjusting the power of the test signal requires a large number of trial and errors, making it difficult to make adjustments in a short time.
Therefore, in order to solve the above problems, an object of the present invention is to provide an analog signal generation device that can adjust the output power of a test signal to a desired value in a short time, and a calibration method of the same.
In order to achieve the above object, an analog signal generation device according to the present invention is configured to correct the slope of the characteristic stored in the storage unit when the adjustment of the output power of the test signal (analog signal) is not completed within a predetermined number of times.
Specifically, the analog signal generation device according to claim 1 of the present invention includes:
The present analog signal generation device converts a digital signal of a constant level into an analog signal by using a DA converter. At this time, the DA converter sets the power of the analog signal according to the DAC correction value. Further, the present analog signal generation device also includes a detector that outputs the power of the analog signal as a detection voltage, and the control unit calculates a DAC correction value based on a characteristic equation such that the detection voltage becomes a predetermined voltage, and sets the DAC correction value in the DA converter.
Here, when the detection voltage does not fall within a predetermined voltage even after correcting the DAC correction value a predetermined number of times, the control unit determines that the characteristic equation for calculating the DAC correction value deviates from the current detector characteristic, and corrects the characteristic equation based on the correction amount when the DAC correction value is corrected and the behavior of the detection voltage. In other words, since the deviation between the slope of the characteristic of the detector and the slope of the characteristic stored in the control unit is corrected, it is possible to easily bring the detection voltage close to the predetermined voltage.
For example, as in the analog signal generation device according to claim 2 of the present invention, the control unit corrects the characteristic equation, when the characteristic equation is a linear expression, by setting a quotient obtained by dividing a value obtained by subtracting an immediately preceding detection voltage from a latest detection voltage, by an immediately preceding differential voltage, as a new slope.
Therefore, the present invention can provide an analog signal generation device that can adjust the output power of a test signal to a desired value in a short time.
A method according to claim 3 of the present invention is a calibration method of the analog signal generation device according to claim 1, the calibration method includes
As described above, the present analog signal generation device can easily bring the detection voltage close to the predetermined voltage using the present calibration method.
For example, as in the calibration method according to claim 4 of the present invention, when the characteristic equation is a linear expression, the characteristic equation is corrected, by setting a quotient obtained by dividing a value obtained by subtracting an immediately preceding detection voltage from a latest detection voltage, by an immediately preceding differential voltage, as a new slope.
Therefore, the present invention can provide a calibration method that can adjust the output power of a test signal to a desired value in a short time.
The above inventions can be combined as much as possible.
The present invention can provide an analog signal generation device that can adjust the output power of a test signal to a desired value in a short time, and a calibration method of the same.
Hereinafter, an embodiment of the present disclosure will be described in detail with reference to the drawings. The present disclosure is not limited to the embodiment described below. These implementation examples are merely illustrative, and the present disclosure can be implemented in various modified and improved forms based on the knowledge of those skilled in the art. In the present specification and the drawings, the components having the same reference numerals shall indicate the same components.
The signal source 1 includes a signal generation device 3 that generates a digital signal, and a DA converter 4 that converts the digital signal into an analog signal.
An RF module 2 up-converts the frequency of the analog signal to a radio frequency to convert the analog signal into an analog RF signal, and outputs the analog RF signal from the antenna 10 as a test signal for testing a mobile communication device. The RF module 2 includes a variable attenuator 5 that adjusts the amplitude (power) of the analog RF signal, a divider 6 that divides the power-adjusted analog RF signal, and a detector 7 that detects the divided analog RF signal and outputs the amplitude (power) of the analog RF signal as a detection voltage. The detector 7 corresponds to the level detection unit disclosed in Patent Document 1. In addition, the RF module 2 includes a circuit having a function of up-converting the frequency, and an amplifier in at least one of the front stage and the rear stage of the variable attenuator 5, which are not shown.
First, in a case where the differential voltage when the digital signal of which signal power is a predetermined value is input to the DA converter 4 is larger than a threshold value, the control unit 8 calculates a new DAC correction amount based on the differential voltage by using the characteristic equation (steps S01 to S06).
The control unit 8 causes the signal source 1 to output a digital signal at a predetermined level. Note that during the present calibration, the predetermined level of the digital signal is constant and is not changed. The DA converter 4 converts the digital signal into an analog signal according to the DAC correction amount given from the control unit 8. Note that the DAC correction amount is an amount by which the amplitude (power) of the analog signal is varied to become a predetermined value. The analog signal is input to the RF module 2.
The RF module 2 uses a variable attenuator 5 to adjust the amplitude of the analog signal. Note that during the present calibration, the amount of attenuation in the variable attenuator 5 is constant and is not changed. The detector 7 outputs a detection voltage (V) corresponding to the amplitude of the analog signal divided by the divider 6.
The control unit 8 calculates the differential voltage 4 from the reference voltage, which is obtained from the characteristic equation stored in the storage unit 9 and the current DAC correction amount.
The control unit 8 determines whether the differential voltage Δ is within a threshold value. When the differential voltage Δ is within the threshold value, the control unit 8 ends the calibration (step S13).
On the other hand, in a case where the differential voltage Δ does not fall within the threshold value, the control unit 8 determines whether or not the threshold value determination in step S04 has been performed a prescribed number of times.
In a case where the number of threshold value determinations in step S04 does not reach the prescribed number of times, the control unit 8 calculates the amount-to-be-corrected of the DAC correction amount based on the differential voltage 4 by using the above-described characteristic equation.
The control unit 8 corrects the current DAC correction amount using the calculated amount-to-be-corrected 8° C., and applies the corrected DAC correction amount to the DA converter 4 as a new DAC correction amount. Then, steps S01 to S07 are repeated again.
On the other hand, in a case where the differential voltage Δ is larger than the threshold value even after calculating the new DAC correction amount a prescribed number of times, the control unit 8 returns the new DAC correction amount to the original DAC correction amount, and corrects the characteristic equation based on a relationship between the DAC correction amount for the differential voltage Δ and a variation amount (amount-to-be-corrected) oC of the detection voltage (steps S08 to S11).
The control unit 8 first returns the current DAC correction amount to its initial value.
The control unit 8 calculates the slope of the characteristic equation based on the DAC correction amount and the differential voltage Δ obtained during calibration. This will be explained using a specific example.
The control unit 8 corrects the characteristic equation, when the characteristic equation is a linear expression, by setting a quotient obtained by dividing a value obtained by subtracting an immediately preceding detection voltage from a latest detection voltage, by an immediately preceding differential voltage Δ, as a new slope.
The prescribed number of times is set to 6 times. In other words, assume that the differential voltage Δ does not fall within the threshold value even after the DAC correction amount is updated five times.
Each differential voltage Δ is as follows.
The control unit 8 obtains the slope a of the characteristic equation, from the result of the calibration process in which a detection voltage Vd (5) is obtained by correcting the DAC correction amount for a differential voltage Δ(4) at the detection voltage Vd (4) at the DAC correction amount after the fourth correction.
Note that the control unit 8 may set to a, the average value of the slope calculated from the result of each correction time i.
However, n is the number of times the threshold value determination is performed.
The control unit 8 stores the characteristic equation with the new slope a in the storage unit 9.
The control unit 8 calculates the DAC correction amount based on the latest differential voltage Δ(for example, Δ(5)) using the characteristic equation with the slope corrected, and applies the calculated DAC correction amount to the DA converter 4. Then, the detection voltage at this time is acquired.
The control unit 8 calculates the differential voltage Δ from the reference voltage, obtained from the latest characteristic equation stored in the storage unit 9 and the current DAC correction amount.
The control unit 8 determines whether the differential voltage Δ is within a threshold value. When the differential voltage Δ is within the threshold value, the control unit 8 ends the calibration (step S13). On the other hand, if the differential voltage Δ is not within the threshold value, the control unit 8 performs the operation from step S01 using a new characteristic equation.
The number of times the DA converter is adjusted until the differential voltage between the detection voltage and the reference voltage falls within the threshold value can be reduced (calibration time can be shortened).
The present disclosure can be applied to information communication industry.
Number | Date | Country | Kind |
---|---|---|---|
2023-061206 | Apr 2023 | JP | national |