Phase shift precision calibration circuitry, vector sum phase shifter, and wireless communication device
10530338 ยท 2020-01-07
Assignee
Inventors
- Takaya Maruyama (Tokyo, JP)
- Eiji Taniguchi (Tokyo, JP)
- Takanobu FUJIWARA (Tokyo, JP)
- Koji TSUTSUMI (Tokyo, JP)
Cpc classification
H03H11/20
ELECTRICITY
H03F1/3282
ELECTRICITY
H03F2200/336
ELECTRICITY
International classification
H03H11/20
ELECTRICITY
H03F1/32
ELECTRICITY
Abstract
There are provided: a table memory to store a relation between a control code and gains of variable gain amplifiers; a gain controller to apply the gains to the variable gain amplifiers; an amplitude phase detector to detect amplitude and a phase from an output signal of the vector sum phase shifter; an amplitude phase recorder to record, when the gains are applied by the gain controller, a combination of a control code corresponding to said gains and the amplitude and the phase detected by the detector; and a table calibrator to find a phase shift characteristic of a vector summed part from records of the amplitude phase recorder and calibrate the relation between a control code and gains recorded in the table memory by using the phase shift characteristic.
Claims
1. Phase shift precision calibration circuitry comprising: a table memory to store a relation between a control code corresponding to a phase shift amount and gains of variable gain amplifiers mounted in a vector sum phase shifter; a gain controller to apply the gains associated with the control code to the variable gain amplifiers; a detector to detect amplitude and a phase from an output signal of the vector sum phase shifter; a recorder to record, when the gains are applied by the gain controller, a combination of a control code corresponding to said gains and the amplitude and the phase detected by the detector; and a calibrator to find a phase shift characteristic of the vector sum phase shifter from records of the recorder and calibrate the relation between a control code and gains recorded in the table memory by using the phase shift characteristic.
2. A vector sum phase shifter comprising: a vector summed part including an orthogonal signal generator to generate, from an input signal, a first signal and a second signal which are orthogonal to each other, a first variable gain amplifier to amplify the first signal generated by the orthogonal signal generator, a second variable gain amplifier to amplify the second signal generated by the orthogonal signal generator, and a signal combiner to combine the first signal amplified by the first variable gain amplifier and the second signal amplified by the second variable gain amplifier and output a combined signal of the first signal and the second signal; a table memory to store a relation between a control code corresponding to a phase shift amount and gains of the first and second variable gain amplifiers; a gain controller to apply the gains associated with the control code to the first and second variable gain amplifiers; a detector to detect amplitude and a phase from the combined signal output by the signal combiner; a recorder to record, when the gains are applied by the gain controller, a combination of a control code corresponding to said gains and the amplitude and the phase detected by the detector; and a calibrator to find a phase shift characteristic of the vector summed part from records of the recorder and calibrate the relation between a control code and gains recorded in the table memory by using the phase shift characteristic.
3. The vector sum phase shifter according to claim 2, wherein the gain controller is configured to sequentially apply a plurality of gains as the gains to the first and second variable gain amplifiers, and the calibrator is configured to calculate, from the records of the recorder, a phase shift error between the first signal and the second signal and find the phase shift characteristic of the vector summed part from the calculated phase shift error and the records of the recorder.
4. A wireless communication device that mounts a vector sum phase shifter comprising: a vector summed part including an orthogonal signal generator to generate, from an input signal, a first signal and a second signal which are orthogonal to each other, a first variable gain amplifier to amplify the first signal generated by the orthogonal signal generator, a second variable gain amplifier to amplify the second signal generated by the orthogonal signal generator, and a signal combiner to combine the first signal amplified by the first variable gain amplifier and the second signal amplified by the second variable gain amplifier and output a combined signal of the first signal and the second signal; a table memory to store a relation between a control code corresponding to a phase shift amount and gains of the first and second variable gain amplifiers; a gain controller to apply the gains associated with the control code to the first and second variable gain amplifiers; a detector to detect amplitude and a phase from the combined signal output by the signal combiner; a recorder to record, when the gains are applied by the gain controller, a combination of a control code corresponding to said gains and the amplitude and the phase detected by the detector; and a calibrator to find a phase shift characteristic of the vector summed part from records of the recorder and calibrate the relation between a control code and gains recorded in the table memory by using the phase shift characteristic.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
DESCRIPTION OF EMBODIMENTS
(6) Hereinafter, to describe the present invention in more detail, embodiments for implementing the present invention will be described with reference to the accompanying drawings.
Embodiment 1
(7)
(8) The vector sum phase shifter of
(9) In
(10) The vector summed part 1 includes an orthogonal signal generator 11 and a vector signal combiner 12. When a differential RF signal as an input signal is input, the vector summed part 1 generates, from the RF signal, an in-phase (I) signal and a quadrature (Q) signal orthogonal to each other. The vector summed part 1 amplifies the I signal and the Q signal, performs the vector sum on the amplified I signal and the amplified Q signal, and outputs a combined signal for the I signal and the Q signal.
(11) The phase shift precision calibration circuitry 2 includes a table memory 21, a gain controller 22, a frequency converter 23, an analog-to-digital converter (hereinafter referred to as A/D converter) 24, an amplitude phase detector 25, an amplitude phase recorder 26, and a table calibrator 27. The phase shift precision calibration circuitry 2 controls gains G.sub.I (Wc) and G.sub.Q (Wc) of variable gain amplifiers 13 and 14 of the vector signal combiner 12 in accordance with a control code Wc provided from an outside. In addition, the phase shift precision calibration circuitry 2 calibrates a relation between the control code Wc and the gains G.sub.I (Wc) and G.sub.Q (Wc) of the variable gain amplifiers 13 and 14. The control code Wc has an integer value equal to or more than zero.
(12) In the Embodiment 1, it is assumed that the vector sum phase shifter has N-bit phase shift resolution, and a switching width of the phase shift is 360/2.sup.N. Therefore, the phase shift amount of the vector sum phase shifter is expressed by (360/2.sup.N)Wc.
(13) For example, the phase shift amount is 0 when Wc=0, the phase shift amount is 90 when Wc=2.sup.N2, the phase shift amount is 180 when Wc=2.sup.N1, and the phase shift amount is 270 when Wc=2.sup.N1+2.sup.N2.
(14) The gains G.sub.I (Wc) and G.sub.Q (Wc) of the variable gain amplifiers 13 and 14 are set to values of 0 to 1 in accordance with the control code Wc.
(15) In the Embodiment 1, an example will be described, in which the input signal to the vector sum phase shifter is the RF signal. However, the input signal is not limited to the RF signal, and a signal having a frequency other than a radio frequency may be input.
(16) The orthogonal signal generator 11 is realized by, for example, an RC polyphase filter including a resistor and a capacitor. The orthogonal signal generator 11 generates, from the differential RF signal being the input signal, an I signal (a first signal) and a Q signal (a second signal), which are orthogonal to each other. Further, the orthogonal signal generator 11 outputs the differential I signal to the variabl gain amplifier 13 and outputs the differential Q signal to the variable gain amplifier 14.
(17) The vector signal combiner 12 includes the variable gain amplifiers 13 and 14 and a signal combiner 15.
(18) The variable gain amplifier 13 is a first variable gain amplifier that amplifies the differential I signal output from the orthogonal signal generator 11 with the gain G.sub.I (Wc) applied by the gain controller 22 and outputs an amplified I signal to the signal combiner 15.
(19) The variable gain amplifier 14 is a second variable gain amplifier that amplifies the differential Q signal output from the orthogonal signal generator 11 with the gain G.sub.Q (Wc) applied by the gain controller 22 and outputs an amplified Q signal to the signal combiner 15.
(20) The signal combiner 15 combines the differential I signal amplified by the variable gain amplifier 13 and the differential Q signal amplified by the variable gain amplifier 14 and outputs a combined signal for the I signal and the Q signal.
(21) The table memory 21 is realized by a storage device, such as a random access memory (RAM) or a hard disk. The table memory 21 stores a table indicating a relation between the control code Wc corresponding to the phase shift amount and sign signals P.sub.I and P.sub.Q and the gains G.sub.I and G.sub.Q of the variable gain amplifiers 13 and 14. The sign signals P.sub.I and P.sub.Q indicates signs of the I signal and the Q signal output from the variable gain amplifiers 13 and 14.
(22) The gain controller 22 may be realized by a semiconductor integrated circuit on which a central processing unit (CPU) is mounted, or by a one-chip microcomputer.
(23) When calibrating the table stored in the table memory 21, the gain controller 22 sequentially applies a plurality of gains as the gains G.sub.I (Wc) and G.sub.Q (Wc) to the variable gain amplifiers 13 and 14.
(24) Specifically, as the gains G.sub.I (Wc) and G.sub.Q (Wc) of the variable gain amplifiers 13 and 14, gains G.sub.I (Wc=0) and G.sub.Q (Wc=0) corresponding to the phase shift amount of 0 degrees, gains G.sub.I (Wc=2.sup.N2) and G.sub.Q (Wc=2.sup.N2) corresponding to the phase shift amount of 90 degrees, gains G.sub.I (Wc=2.sup.N1) and G.sub.Q (Wc=2.sup.N1) corresponding to the phase shift amount of 180 degrees, and gains G.sub.I (Wc=2.sup.N1+2.sup.N2) and G.sub.Q (Wc=2.sup.N1+2.sup.N2) corresponding to the phase shift amount of 270 degrees are applied in sequence.
(25) In actual use in outputting the combined signal for the I signal and the Q signal, the gain controller 22 acquires from the table stored in the table memory 21 the sign signals P.sub.I and P.sub.Q associated with the control code Wc and the gain G.sub.I (Wc) and G.sub.Q (Wc). The gain controller 22 applies the sign signal P.sub.I and the gain G.sub.I (Wc) to the variable gain amplifier 13, and applies the sign signal P.sub.Q and the gain G.sub.Q (Wc) to the variable gain amplifier 14.
(26) The frequency converter 23 down-converts the output signal of the vector summed part 1, that is, the frequency of the combined signal output by the signal combiner 15 into, for example, an intermediate frequency.
(27) The A/D converter 24 converts the combined signal, whose frequencies has been converted by the frequency converter 23, into a digital signal, and outputs the digital signal to the amplitude phase detector 25.
(28) The amplitude phase detector 25 is a detector that detects amplitude and a phase from the digital signal output by the A/D converter 24.
(29) The amplitude phase recorder 26 may be realized by a storage device, such as a RAM or a hard disk. The amplitude phase recorder 26 is a recorder that records, when the gains are controlled by the gain controller 22, a combination of the control code Wc corresponding to the gains and the amplitude and the phase detected by the amplitude phase detector 25.
(30) The table calibrator 27 may be realized by a semiconductor integrated circuit on which a CPU is mounted, or by a one-chip microcomputer.
(31) The table calibrator 27 is a calibrator that finds a phase shift characteristic argOUT of the vector summed part 1 from records of the amplitude phase recorder 26, and calibrates the relation between the control code Wc and the gains G.sub.I (Wc) and G.sub.Q (Wc) recorded in the table memory 21 by using the phase shift characteristic argOUT.
(32)
(33)
(34) The IQ plan view of
(35) In
(36) In the second quadrant being P.sub.I=1 and P.sub.Q=1, the phase shift error between the I signal and the I signal is . The I signal indicates inversion of the I signal.
(37) In the third quadrant being P.sub.I=1 and P.sub.Q=1, the phase shift error between the I signal and the Q signal is . The Q signal indicates inversion of the Q signal.
(38) Next, an operation will be described.
(39) Processing details will be described, in which the phase shift precision calibration circuitry 2 calibrates the relation between the control code Wc and the gains G.sub.I (Wc) and G.sub.Q (Wc) recorded in the table of the table memory 21.
(40) This calibration processing is assumed to be performed at the time of shipment or at the time of power on of the vector sum phase shifter. However, the time to perform the calibration processing may be arbitrary.
(41) A table as illustrated in
(42)
(43) In this table, the control code Wc corresponding to the phase shift amount, sign signals P.sub.I and P.sub.Q indicating signs of the I signal and the Q signal output from the variable gain amplifiers 13 and 14, and the gains G.sub.I and G.sub.Q of the variable gain amplifiers 13 and 14 are recorded.
(44) The gain controller 22 of the phase shift precision calibration circuitry 2 refers to the table in the table memory 21 for acquiring the sign signals P.sub.I and P.sub.Q and the gains G.sub.I and G.sub.Q that are associated with the control code Wc corresponding to the phase shift amount of 0.
(45) Specifically, since the control code Wc=0 corresponds to the phase shift amount of 0, the gain controller 22 acquires (P.sub.I, P.sub.Q)=(1, 1) and (G.sub.1 (0), G.sub.Q (0))=(1, 0) that are associated with Wc=0.
(46) Upon acquiring the sign signals (P.sub.I, P.sub.Q)=(1, 1) and the gains (G.sub.1 (0), G.sub.Q (0))=(1, 0), the gain controller 22 applies the sign signal P.sub.I=1 and the gain G.sub.I (0)=1 to the variable gain amplifier 13 and also applies the sign signal P.sub.Q=1 and the gain G.sub.Q (0)=0 to the variable gain amplifier 14 (step ST1 in
(47) Note that the gain G=1 indicates the maximum gain of the variable gain amplifier. The gain G=0 indicates that the gain of the variable gain amplifier is zero and there is no signal output.
(48) The orthogonal signal generator 11 of the vector summed part 1 generates, from the differential RF signal being the input signal, the I signal and the Q signal that are orthogonal to each other. The orthogonal signal generator 11 outputs the differential I signal to the variable gain amplifier 13 and outputs the differential Q signal to the variable gain amplifier 14.
(49) The sign signal and the gain G.sub.I (Wc) having been applied by the gain controller 22 are P.sub.I=1 and G.sub.I (0)=1, respectively. Therefore, upon receiving the differential I signal from the orthogonal signal generator 11, the variable gain amplifier 13 amplifies the I signal by the maximum gain without inverting the sign of the I signal, and outputs an amplified I signal to the signal combiner 15.
(50) On the other hand, the gain G.sub.Q (Wc) having been applied by the gain controller 22 is G.sub.Q (0)=0. Therefore, the variable gain amplifier 14 does not output a Q signal to the signal combiner 15 even if receiving the differential Q signal from the orthogonal signal generator 11.
(51) The differential Q signal is not output from the variable gain amplifier 14. Therefore, upon receiving the amplified differential I signal from the variable gain amplifier 13, the signal combiner 15 outputs the differential I signal as a combined signal.
(52) Upon receiving the combined signal from the signal combiner 15, the frequency converter 23 of the phase shift precision calibration circuitry 2 performs the downconversion on the frequency of the combined signal into an intermediate frequency, or the like.
(53) The A/D converter 24 converts the combined signal with the frequency converted by the frequency converter 23 into a digital signal, and outputs the digital signal to the amplitude phase detector 25.
(54) Upon receiving the digital signal from the A/D converter 24, the amplitude phase detector 25 detects the amplitude A.sub.I and the phase .sub.I from the digital signal.
(55) After the amplitude phase detector 25 detects the amplitude A.sub.I and the phase .sub.I from the digital signal, the amplitude phase recorder 26 records a combination of the control code Wc=0 output from the gain controller 22 and the amplitude A.sub.I and the phase .sub.I (step ST2).
(56) Hereinafter, the amplitude A.sub.I and the phase .sub.I associated with the control code Wc=0 may be denoted as amplitude A.sub.I (0) and phase .sub.I (0).
(57) Subsequently, the gain controller 22 of the phase shift precision calibration circuitry 2 refers to the table of the table memory 21 for acquiring the sign signals P.sub.I and P.sub.Q and the gains G.sub.I and G.sub.Q, which are associated with the control code Wc corresponding to the phase shift amount of 90.
(58) Specifically, the control code Wc corresponding to the phase shift amount of 90 is 2.sup.N2. Therefore, the gain controller 22 acquires (P.sub.I, P.sub.Q)=(1, 1) and (G.sub.I (2.sup.N2), GQ (2.sup.N2))=(0, 1) associated with Wc=2.sup.N2.
(59) Upon acquiring the sign signal (P.sub.I, P.sub.Q)=(1, 1) and the gains (G.sub.I (2.sup.N2), G.sub.Q (2.sup.N2))=(0, 1), the gain controller 22 applies the sign signal P.sub.I=1 and the gain G.sub.I (2.sup.N2)=0 to the variable gain amplifier 13 and applies the sign signal P.sub.Q=1 and the gain G.sub.Q (2.sup.N2)=1 to the variable gain amplifier 14 (step ST3 in
(60) The orthogonal signal generator 11 of the vector summed part 1 generates, from the differential RF signal being the input signal, the I signal and the Q signal that are orthogonal to each other. The orthogonal signal generator 11 outputs the differential I signal to the variable gain amplifier 13 and outputs the differential Q signal to the variable gain amplifier 14.
(61) The gain G.sub.I (Wc) having been applied by the gain controller 22 is G.sub.I (2.sup.N2)=0. Therefore, the variable gain amplifier 13 does not output an I signal to the signal combiner 15 even if receiving the differential I signal from the orthogonal signal generator 11.
(62) The sign signal and the gain G.sub.Q (Wc) having been applied by the gain controller 22 are P.sub.Q=1 and G.sub.Q (2.sup.N2)=1, respectively. Therefore, upon receiving the differential Q signal from the orthogonal signal generator 11, the variable gain amplifier 14 amplifies the Q signal by the maximum gain without inverting the sign of the Q signal and outputs an amplified Q signal to the signal combiner 15.
(63) Upon receiving the amplified differential Q signal from the variable gain amplifier 14, the signal combiner 15 outputs the differential Q signal as a combined signal because the differential I signal are not output from the variable gain amplifier 13.
(64) Upon receiving the combined signal from the signal combiner 15, the frequency converter 23 of the phase shift precision calibration circuitry 2 performs the downconversion on the frequency of the combined signal into an intermediate frequency, or the like.
(65) The A/D converter 24 converts the combined signal with the frequency converted by the frequency converter 23 into a digital signal, and outputs the digital signal to the amplitude phase detector 25.
(66) Upon receiving the digital signal from the A/D converter 24, the amplitude phase detector 25 detects the amplitude A.sub.Q and the phase .sub.Q from the digital signal.
(67) After the amplitude phase detector 25 detects the amplitude A.sub.Q and the phase .sub.Q from the digital signal, the amplitude phase recorder 26 records a combination of the control code Wc=2.sup.N2 output from the gain controller 22 and the amplitude A.sub.Q and the phase .sub.Q (step ST4).
(68) Hereinafter, the amplitude A.sub.Q and the phase .sub.Q associated with the control code Wc=2.sup.N2 may be denoted as amplitude A.sub.Q (2.sup.N2) and phase .sub.Q (2.sup.N2).
(69) The table calibrator 27 calculates, through the following Expression (2), an amplitude ratio A.sub.Q/I1 of the amplitude A.sub.Q (2.sup.N2) to the amplitude A.sub.I (0) by using the amplitude A.sub.I (0) obtained with the phase shift amount of 0 and the amplitude A.sub.Q (2.sup.N2) obtained with the phase shift amount of 90, each of which has been recorded in the amplitude phase recorder 26. After that, the table calibrator 27 records the amplitude ratio A.sub.Q/I1 to the amplitude phase recorder 26.
(70)
(71) Further, the table calibrator 27 calculates, through the following Expression (3), a phase difference .sub.1 between the phase .sub.I (0) and the phase .sub.Q (2.sup.N2) by using the phase .sub.1 (0) obtained with the phase shift amount of 0 and the phase .sub.Q (2.sup.N2) obtained with the the phase shift amount of 90, each of which has been recorded in the amplitude phase recorder 26.
.sub.1=.sub.1(0).sub.Q(2.sup.N2)|(3)
(72) Upon calculating the phase difference .sub.1, the table calibrator 27 calculates though the following Expression (4) an error for an ideal value 90 of the phase difference .sub.1, that is, the phase shift error illustrated in
=.sub.190(4)
(73) Subsequently, the gain controller 22 of the phase shift precision calibration circuitry 2 refers to the table of the table memory 21 for acquiring the sign signals P.sub.I and P.sub.Q and the gains G.sub.I and G.sub.Q, which are associated with the control code Wc corresponding to the phase shift amount of 180.
(74) Specifically, the control code Wc corresponding to the phase shift amount of 180 is 2.sup.N1. Therefore, the gain controller 22 acquires (P.sub.I, P.sub.Q)=(1, 1) and (G.sub.1 (2.sup.N1), G.sub.Q (2.sup.N1))=(1, 0) associated with Wc=2.sup.N1.
(75) Upon acquiring the sign signal (P.sub.I, P.sub.Q)=(1, 1) and the gains (G.sub.1 (2.sup.N1), G.sub.Q (2.sup.N1))=(1, 0), the gain controller 22 applies the sign signal P.sub.I=1 and the gain G.sub.I (2.sup.N1)=1 to the variable gain amplifier 13 and applies the sign signal P.sub.Q=1 and the gain G.sub.Q (2.sup.N1)=0 to the variable gain amplifier 14 (step ST6 in
(76) The orthogonal signal generator 11 of the vector summed part 1 generates, from the differential RF signal being the input signal, the I signal and the Q signal that are orthogonal to each other. The orthogonal signal generator 11 outputs the differential I signal to the variable gain amplifier 13 and outputs the differential Q signal to the variable gain amplifier 14.
(77) The sign signal and the gain G.sub.I (Wc) having been applied by the gain controller 22 are P.sub.I=1 and G.sub.I (2.sup.N1), respectively. Therefore, upon receiving the differential I signal from the orthogonal signal generator 11, the variable gain amplifier 13 amplifies the received I signal by the maximum gain without inverting the sign of this I signal, and outputs an amplified I signal to the signal combiner 15.
(78) On the other hand, the gain G.sub.Q (Wc) having been applied by the gain controller 22 is G.sub.Q (2.sup.N1)=0. Therefore, the variable gain amplifier 14 does not output a Q signal to the signal combiner 15 even if receiving the differential Q signal from the orthogonal signal generator 11.
(79) The differential Q signal is not output from the variable gain amplifier 14. Therefore, upon receiving the amplified differential I signal from the variable gain amplifier 13, the signal combiner 15 outputs the differential I signal as a combined signal.
(80) Upon receiving the combined signal from the signal combiner 15, the frequency converter 23 of the phase shift precision calibration circuitry 2 performs the downconversion on the frequency of the combined signal into an intermediate frequency, or the like.
(81) The A/D converter 24 converts the combined signal with the frequency converted by the frequency converter 23 into a digital signal, and outputs the digital signal to the amplitude phase detector 25.
(82) Upon receiving the digital signal from the A/D converter 24, the amplitude phase detector 25 detects the amplitude A.sub.I and the phase .sub.I from the digital signal.
(83) After the amplitude phase detector 25 detects the amplitude A.sub.I and the phase .sub.I from the digital signal, the amplitude phase recorder 26 records a combination of the control code Wc=2.sup.N1 output from the gain controller 22 and the amplitude A.sub.I and the phase .sub.I (step ST7).
(84) Hereinafter, the amplitude A.sub.I and the phase .sub.1 associated with the control code Wc=2.sup.N1 may be denoted as amplitude A.sub.I (2.sup.N1) and phase .sub.1(2.sup.N1).
(85) The table calibrator 27 calculates, through the following Expression (5), a phase difference .sub.2 between the phase .sub.I (0) and the phase .sub.1(2.sup.N1) by using the phase .sub.I (0) obtained with the phase shift amount of 0 and the phase .sub.1 (2.sup.N1) obtained with the phase shift amount of 180, each of which has been recorded in the amplitude phase recorder 26.
.sub.2=|.sub.1(0).sub.1(2.sup.N1)|(5)
(86) Upon calculating the phase difference .sub.2, the table calibrator 27 calculates though the following Expression (6) an error for an ideal value 180 of the phase difference .sub.2, that is, the phase shift error illustrated in
=.sub.2180(6)
(87) Subsequently, the gain controller 22 of the phase shift precision calibration circuitry 2 refers to the table of the table memory 21 for acquiring the sign signals P.sub.I and P.sub.Q and the gains G.sub.I and G.sub.Q, which are associated with the control code Wc corresponding to the phase shift amount of 270.
(88) Specifically, the control code Wc corresponding to the phase shift amount of 270 is 2.sup.N1+2.sup.N2. Therefore, the gain controller 22 acquires (P.sub.I, P.sub.Q)=(1, 1) and (G.sub.1 (2.sup.N1+2.sup.N2), G.sub.Q (2.sup.N1+2.sup.N2))=(0, 1) associated with Wc=2.sup.N1+2.sup.N2.
(89) Upon acquiring the sign signal (P.sub.I, P.sub.Q)=(1, 1) and the gains (G.sub.1 (2.sup.N1+2.sup.N2), G.sub.Q (2.sup.N1+2.sup.N2))=(0, 1), the gain controller 22 applies the sign signal P.sub.I=1 and the gain G.sub.I (2.sup.N1+2.sup.N2)=0 to the variable gain amplifier 13 and applies the sign signal P.sub.Q=1 and the gain G.sub.Q (2.sup.N1+2.sup.N2)=1 to the variable gain amplifier 14 (step ST9 in
(90) The orthogonal signal generator 11 of the vector summed part 1 generates, from the differential RF signal being the input signal, the I signal and the Q signal that are orthogonal to each other. The orthogonal signal generator 11 outputs the differential I signal to the variable gain amplifier 13 and outputs the differential Q signal to the variable gain amplifier 14.
(91) The gain G.sub.I (Wc) having been applied by the gain controller 22 is (G.sub.I (2.sup.N1+2.sup.N2)=0. Therefore, the variable gain amplifier 13 does not output an I signal to the signal combiner 15 even if receiving the differential I signal from the orthogonal signal generator 11.
(92) The sign signal and the gain G.sub.Q (Wc) having been applied by the gain controller 22 are P.sub.Q=1 and G.sub.Q (2.sup.N1+2.sup.N2)=1, respectively. Therefore, upon receiving the differential Q signal from the orthogonal signal generator 11, the variable gain amplifier 14 amplifies the Q signal by the maximum gain and inverts the signs of the amplified Q signal. After that, the variable gain amplifier 14 outputs an amplified Q signal, whose signs have been inverted, to the signal combiner 15.
(93) Upon receiving the amplified differential Q signal from the variable gain amplifier 14, the signal combiner 15 outputs the differential Q signal as a combined signal because the differential I signal are not output from the variable gain amplifier 13.
(94) Upon receiving the combined signal from the signal combiner 15, the frequency converter 23 of the phase shift precision calibration circuitry 2 performs the downconversion on the frequency of the combined signal into an intermediate frequency, or the like.
(95) The A/D converter 24 converts the combined signal with the frequency converted by the frequency converter 23 into a digital signal, and outputs the digital signal to the amplitude phase detector 25.
(96) Upon receiving the digital signal from the A/D converter 24, the amplitude phase detector 25 detects the amplitude A.sub.Q and the phase .sub.Q from the digital signal.
(97) After the amplitude phase detector 25 detects the amplitude A.sub.Q and the phase .sub.Q from the digital signal, the amplitude phase recorder 26 records a combination of the control code Wc=2.sup.N1+2.sup.N2 output from the gain controller 22 and the amplitude A.sub.Q and the phase .sub.Q (step ST10).
(98) Hereinafter, the amplitude A.sub.Q and the phase .sub.Q associated with the control code Wc=2.sup.N1+2.sup.N2 may be denoted as amplitude A.sub.Q (2.sup.N1+2.sup.N2) and phase .sub.Q (2.sup.N1+2.sup.N2).
(99) The table calibrator 27 calculates, through the following Expression (7), an amplitude ratio A.sub.Q/I2 of the amplitude A.sub.Q (2.sup.N1+2.sup.N2) to the amplitude A.sub.I (2.sup.N1) by using the amplitude A.sub.I (2.sup.N1) obtained with the phase shift amount of 180 and the amplitude A.sub.Q (2.sup.N1+2.sup.N2) obtained with the phase shift amount of 270, each of which has been recorded in the amplitude phase recorder 26. After that, the table calibrator 27 records the amplitude ratio A.sub.Q/I2 to the amplitude phase recorder 26.
(100)
(101) Further, the table calibrator 27 calculates, through the following Expression (8), a phase difference .sub.3 between the phase .sub.1(0) and the phase .sub.Q (2.sup.N1+2.sup.N2) by using the phase .sub.1 (0) obtained with the phase shift amount of 0 and the phase .sub.Q (2.sup.N1+2.sup.N2) obtained with the the phase shift amount of 270, each of which has been recorded in the amplitude phase recorder 26.
.sub.3=|.sub.1(0).sub.Q(2.sup.N1+2.sup.N2)|(8)
(102) Upon calculating the phase difference .sub.3, the table calibrator 27 calculates though the following Expression (9) an error for an ideal value 270 of the phase difference .sub.3, that is, the phase shift error illustrated in
=.sub.3270(9)
(103) Next, the table calibrator 27 finds, though in the following Expressions (10) to (13), the phase shift characteristic argOUT of the vector summed part 1 by using the sign signals (P.sub.I, P.sub.Q) and the gains (G.sub.I, G.sub.Q) obtained with the phase shift amount of 0, the sign signals (P.sub.I, P.sub.Q) and the gains (G.sub.I, G.sub.Q) obtained with the phase shift amount of 90, the sign signals (P.sub.I, P.sub.Q) and the gains (G.sub.I, G.sub.Q) obtained with the phase shift amount of 180, the sign signals (P.sub.I, P.sub.Q) and the gains (G.sub.I, G.sub.Q) obtained with the phase shift amount of 270, the phase shift errors , , and , and the amplitude ratios A.sub.Q/I1 and A.sub.Q/I2, each of which has been recorded in the amplitude phase recorder 26 (step ST12 in
(104)
(105) Upon finding the phase shift characteristic argOUT of the vector summed part 1, the table calibrator 27 defines an evaluation function E (Wc) as described in the following Expressions (14) to (17) by using the phase shift characteristic argOUT.
(106)
(107) After defining the evaluation function E (Wc), the table calibrator 27 obtains gains G.sub.I (Wc) and G.sub.Q (Wc) of the variable gain amplifiers 13 and 14, whose evaluation function E (Wc) indicates a minimum. Those gains G.sub.I (Wc) and G.sub.Q (Wc) are obtained for each control code Wc shifted by the width of 360/2.sup.N within 0 to 360.
(108) The processing of obtaining the gains G.sub.I (Wc) and G.sub.Q (Wc) whose evaluation function E (Wc) indicates a minimum is equivalent to processing of solving a so-called optimization problem. Although any method may be used for solving the optimization problem, a genetic algorithm or the like can be used, for example.
(109) After obtaining the gains G.sub.I (Wc) and G.sub.Q (Wc) of the variable gain amplifiers 13 and 14, each of whose evaluation function E (Wc) indicates a minimum, for each control code Wc, the table calibrator 27 calibrates the relation between the control code Wc and the gains G.sub.I (Wc) and G.sub.Q (Wc) by rewriting the gains G.sub.I (Wc) and G.sub.Q (Wc) associated with the control code Wc recorded in the table in the table memory 21 with the obtained gains G.sub.I (Wc) and G.sub.Q (Wc) (step ST13 in
(110)
(111) The characteristic of the phase shift amount before the calibration of gains includes a phase shift error and thus waves. In contrast, the characteristic of the phase shift amount after the calibration is linear because the phase shift error is eliminated.
(112) Next, processing contents of the phase shifter will be described, in which the I signal and the Q signal are generated from the RF signal and the combined signal of the I signal and the Q signal are output.
(113) Upon receiving from the outside the control code We corresponding to a desired phase shift amount, the gain controller 22 refers to the table stored in the table memory 21 for acquiring the sign signals P.sub.I and P.sub.Q and the gains G.sub.I and G.sub.Q associated with the control code Wc.
(114) For instance, when the desired phase shift amount is 90, the sign signals (P.sub.I, P.sub.Q)=(1, 1) and the gains (G.sub.I (2.sup.N2), G.sub.Q (2.sup.N2)) associated with Wc=2.sup.N2 are acquired. The acquired gains (G.sub.I (2.sup.N2), G.sub.Q (2.sup.N2)) have been rewritten.
(115) After acquiring the sign signals P.sub.I and P.sub.Q and the gains G.sub.I and G.sub.Q associated with the control code Wc, the gain controller 22 applies the sign signal P.sub.I and the gain G.sub.I to the variable gain amplifier 13, and also applies the sign signal P.sub.Q and the gain G.sub.Q to the variable gain amplifier 14.
(116) The orthogonal signal generator 11 of the vector summed part 1 generates, from the differential RF signal being the input signal, the I signal and the Q signal that are orthogonal to each other. The orthogonal signal generator 11 outputs the differential I signal to the variable gain amplifier 13 and outputs the differential Q signal to the variable gain amplifier 14.
(117) Upon receiving the differential I signal from the orthogonal signal generator 11, the variable gain amplifier 13 amplifies and inverts the I signal depending on an amount of the gain G.sub.I and a polarity of the sign signal P.sub.I applied by the gain controller 22, and outputs the inverted amplified I signal to the signal combiner 15.
(118) Upon receiving the differential Q signal from the orthogonal signal generator 11, the variable gain amplifier 14 amplifies and inverts the Q signal depending on an amount of the gain G.sub.Q and a polarity of the sign signal P.sub.Q applied by the gain controller 22, and outputs the inverted amplified Q signal to the signal combiner 15.
(119) Upon receiving the differential I signal from the variable gain amplifier 13 and receiving the differential Q signal from the variable gain amplifier 14, the signal combiner 15 combines the I signal and the Q signal, and outputs a combined signal for the I signal and the Q signal.
(120) As is clear from the above description, according to the Embodiment 1, the table calibrator 27 is configured to find the phase shift characteristic argOUT of the vector summed part 1 from records of the amplitude phase recorder 26, and calibrate the relation between the control code Wc recorded in the table memory 21 and the gains G.sub.I (Wc) and G.sub.Q (Wc) by using the phase shift characteristic argOUT. Therefore, an effect is exhibited to improve the phase shift precision of the vector summed part 1.
(121) That is, according to the Embodiment 1, the relation between the control code Wc and the gains G.sub.I (Wc) and G.sub.Q (Wc) can be calibrated without adding a new circuit onto a signal line in the vector summed part 1. Therefore, the phase shift error caused by the manufacturing variation or the like can be eliminated without being affected by characteristic deterioration accompanying the addition of a new circuit. As a result, the yield of the vector sum phase shifter can be increased.
(122) In the Embodiment 1, when the phase shift precision calibration circuitry 2 calibrates the relation between the control code Wc and the gains G.sub.I (Wc) and G.sub.Q (Wc) recorded in the table of the table memory 21, the gain controller 22 acquires the sign signals P.sub.I and P.sub.Q and the gains G.sub.I and G.sub.Q that are associated with the control codes Wc corresponding to the phase shift amounts of 0, 90, 180, and 270 and applies the sign signals P.sub.I and the gain G.sub.I to the variable gain amplifier 13 and also applies the sign signal P.sub.Q and the gain G.sub.Q to the variable gain amplifier 14.
(123) However, the sign signals P.sub.I and P.sub.Q and the gains G.sub.I and G.sub.Q acquired by the phase shift precision calibration circuitry 2 are not limited to the sign signals P.sub.I and P.sub.Q and the gains G.sub.I and G.sub.Q that are associated with the control codes Wc corresponding to the phase shift amounts of 0, 90, 180, and 270.
(124) Specifically, the sign signals P.sub.I and P.sub.Q and the gains G.sub.I and G.sub.Q that are associated with the control codes Wc corresponding to a phase shift amount satisfying 0 the phase shift amount <90, a phase shift amount satisfying 90 the phase shift amount <180, a phase shift amount satisfying 180 the phase shift amount <270, and a phase shift amount satisfying 270 the phase shift amount <360 may be respectively acquired. By acquiring those amounts, the phase shift characteristic argOUT of the vector summed part 1 can be found, and the relation between the control code Wc recorded in the table of the table memory 21 and the gains G.sub.I (Wc) and G.sub.Q (Wc) can be calibrated, similarly to the above-described Embodiment 1.
Embodiment 2
(125) In the Embodiment 1, the table calibrator 27 calculates the amplitude ratio A.sub.Q/I1 of the amplitude A.sub.Q (2.sup.N2) to the amplitude A.sub.I (0) by using the amplitude A.sub.I (0) obtained with the phase shift amount of 0 and the amplitude A.sub.Q (2.sup.N2) obtained with the phase shift amount of 90, and also calculates the amplitude ratio A.sub.Q/I2 of the amplitude A.sub.Q (2.sup.N1+2.sup.N2) to the amplitude A.sub.I (2.sup.N1) by using the amplitude A.sub.I (2.sup.N1) obtained with the phase shift amount of 180 and the amplitude A.sub.Q (2.sup.N1+2.sup.N2) obtained with the phase shift amount of 270.
(126) However, the amplitude ratio A.sub.Q/I1 is limited to be calculated from the amplitude A.sub.I (0) at the phase shift amount 0 and the amplitude A.sub.Q (2.sup.N2) at the phase shift amount 90. For example, the amplitude ratio A.sub.Q/I1 may be calculated from the amplitude A.sub.I (0) at the phase shift amount 0 and the amplitude A.sub.Q obtained with the phase shift amount satisfying 0 the phase shift amount <180.
(127) Similarly, the amplitude ratio A.sub.Q/I2 is not limited to be calculated from the amplitude A.sub.I (2.sup.N1) at the phase shift amount 180 and the amplitude A.sub.Q (2.sup.N1+2.sup.N2) at the phase shift amount 270. For example, the amplitude ratio A.sub.Q/I2 may be calculated from the amplitude A.sub.I (2.sup.N1) at the phase shift amount 180 and the amplitude A.sub.Q obtained with the phase shift amount satisfying 180 the phase shift amount <360.
(128) In the Embodiment 2, an example will be described, in which an amplitude ratio A.sub.Q/I1 of the amplitude A.sub.Q (2.sup.N3) to the amplitude A.sub.I (0) is calculated from the amplitude A.sub.I (0) at the phase shift amount 0 and the amplitude A.sub.Q (2.sup.N3) at the phase shift amount 45, and an amplitude ratio A.sub.Q/I2 of the amplitude A.sub.Q (2.sup.N1+2.sup.N3) to the amplitude A.sub.I (2.sup.N1) is calculated from the amplitude A.sub.I (2.sup.N1) at the phase shift amount 180 and the amplitude A.sub.Q (2.sup.N1+2.sup.N3) at the phase shift amount 225.
(129) Specifically, it is as follows.
(130) The gain controller 22 of the phase shift precision calibration circuitry 2 refers to the table of the table memory 21 for acquiring sign signals P.sub.I and P.sub.Q and gains G.sub.I and G.sub.Q that are associated with a control code Wc corresponding to the phase shift amount of 45.
(131) That is, since the control code Wc corresponding to the phase shift amount of 45 is 2.sup.N3, the gain controller 22 acquires (P.sub.I, P.sub.Q)=(1, 1) and (G.sub.I (2.sup.N3), G.sub.Q (2.sup.N3))=(1/2, 1/2) associated with Wc=2.sup.N3.
(132) After acquiring the sign signals (P.sub.I, P.sub.Q)=(1, 1) and the gains ((G.sub.I (2.sup.N3), G.sub.Q (2.sup.N3))=(1/2, 1/2), the gain controller 22 applies the sign signal P.sub.I=1 and the gain G.sub.I (2.sup.N3)=1/2 to the variable gain amplifier 13 and applies the sign signal P.sub.Q=1 and the gain G.sub.Q (2.sup.N3)=1/2 to the variable gain amplifier 14. The gain controller 22 outputs the control code Wc=2.sup.N3 to the amplitude phase recorder 26.
(133) The orthogonal signal generator 11 of the vector summed part 1 generates an I signal and a Q signal orthogonal to each other from a differential RF signal being an input signal, and outputs a differential I signal to the variable gain amplifier 13 and outputs a differential Q signal to the variable gain amplifier 14.
(134) The sign signal and the gain G.sub.I (Wc) having been applied by the gain controller 22 are P.sub.I=1 and G.sub.I (2.sup.N3)=1/2, respectively. Therefore, upon receiving the differential I signal from the orthogonal signal generator 11, the variable gain amplifier 13 amplifies the I signal with the gain 1/2 without inverting the signs thereof, and outputs an amplified I signal to the signal combiner 15.
(135) The sign signal and the gain G.sub.Q (Wc) having applied by the gain controller 22 are P.sub.Q=1 and is G.sub.Q (2.sup.N3)=1/2, respectively. Therefore, upon receiving the differential Q signal from the orthogonal signal generator 11, the variable gain amplifier 14 amplifies the received Q signal with the gain 1/2 without inverting the signs thereof, and outputs an amplified Q signal to the signal combiner 15.
(136) Upon receiving the amplified differential I signal from the variable gain amplifier 13 and receiving the amplified differential Q signal from the variable gain amplifier 14, the signal combiner 15 combines the received I signal and Q signal, and outputs a combined signal for the I signal and the Q signal.
(137) Upon receiving the combined signal from the signal combiner 15, the frequency converter 23 of the phase shift precision calibration circuitry 2 performs the downconversion on the frequency of the combined signal into an intermediate frequency, or the like.
(138) The A/D converter 24 converts the combined signal whose frequency has been converted by the frequency converter 23 into a digital signal, and outputs the digital signal to an amplitude phase detector 25.
(139) Upon receiving the digital signal from the A/D converter 24, the amplitude phase detector 25 detects a phase .sub.45 from the digital signal.
(140) After the amplitude phase detector 25 detects the phase .sub.45 of the digital signal, the amplitude phase recorder 26 records a combination of the control code Wc=2.sup.N3 output from the gain controller 22 and the phase .sub.45.
(141) Hereinafter, the phase .sub.45 obtained with the control code Wc=2.sup.N3 may be described as phase .sub.45 (2.sup.N3).
(142) The table calibrator 27 calculates, through the following Expression (18), a phase difference .sub.4 between the phase .sub.I (0) and the phase .sub.45 (2.sup.N3) by using the phase .sub.I (0) at the phase shift amount of 0 and the phase .sub.45 (2.sup.N3) at the phase shift amount of 45 recorded in the amplitude phase recorder 26.
.sub.4=|.sub.1(0).sub.45(2.sup.N3)|(18)
(143) After calculating the phase difference .sub.4, the table calibrator 27 calculates, through the following Expression (19), an error for an ideal value 45 of the phase difference .sub.4, that is, the phase shift error .sub.1. The table calibrator 27 records the calculated phase shift error .sub.1 to the amplitude phase recorder 26.
.sub.1=.sub.445(19)
(144) The table calibrator 27 calculates, through the following Expression (20), an amplitude ratio A.sub.Q/I1 by using the phase shift errors , , and .sub.1 recorded in the amplitude phase recorder 26, and records the calculated amplitude ratio A.sub.Q/I1 to the amplitude phase recorder 26.
(145)
(146) The gain controller 22 of the phase shift precision calibration circuitry 2 refers to a table in the table memory 21 for acquiring the sign signals P.sub.I and P.sub.Q and the gains G.sub.I and G.sub.Q that are associated with the control code Wc corresponding to the phase shift amount of 225.
(147) Since the control code Wc corresponding to the phase shift amount of 225 is 2.sup.N1+2.sup.N3, the gain controller 22 acquires (P.sub.I, P.sub.Q)=(1, 1) and (G.sub.1 (2.sup.N1+2.sup.N3), G.sub.Q (2.sup.N1+2.sup.N3))=(1/2, 1/2) associated with Wc=2.sup.N1+2.sup.N3.
(148) Upon acquiring the sign signals (P.sub.I, P.sub.Q)=(1, 1) and the gains ((G.sub.I (2.sup.N1+2.sup.N3), G.sub.Q (2.sup.N1+2.sup.N3))=(1/2, 1/2), the gain controller 22 applies the sign signal P.sub.I=1 and the gain G.sub.I (2.sup.N1+2.sup.N3)=1/2 to the variable gain amplifier 13 and also applies the sign signal P.sub.Q=1 and the gain G.sub.Q (2.sup.N1+2.sup.N3)=1/.Math.2 to the variable gain amplifier 14. The gain controller 22 outputs the control code Wc=2.sup.N1+2.sup.N3 to the amplitude phase recorder 26.
(149) The orthogonal signal generator 11 of the vector summed part 1 generates an I signal and a Q signal orthogonal to each other from a differential RF signal being an input signal, and outputs a differential I signal to the variable gain amplifier 13 and outputs a differential Q signal to the variable gain amplifier 14.
(150) The sign signal and the gain G.sub.I (Wc) having been applied by the gain controller 22 are P.sub.I=1 and is G.sub.I (2.sup.N1+2.sup.N3)=1/2, respectively. Therefore, upon receiving the differential I signal from the orthogonal signal generator 11, the variable gain amplifier 13 amplifies the received I signal with the gain 1/2 and inverts the signs thereof, and outputs an inverted amplified I signal to the signal combiner 15.
(151) The sign signal and the gain G.sub.Q (Wc) having been applied by the gain controller 22 are P.sub.Q=1 and G.sub.Q (2.sup.N1+2.sup.N3)=1/2, respectively. Therefore, upon receiving the differential Q signal from the orthogonal signal generator 11, the variable gain amplifier 14 amplifies the received Q signal with the gain 1/2 and inverts the signs thereof, and outputs an inverted amplified Q signal to the signal combiner 15.
(152) Upon receiving the amplified differential I signal from the variable gain amplifier 13 and receiving the amplified differential Q signal from the variable gain amplifier 14, the signal combiner 15 combines the I signal and the Q signal, and outputs a combined signal for the I signal and the Q signal.
(153) Upon receiving the combined signal from the signal combiner 15, the frequency converter 23 of the phase shift precision calibration circuitry 2 performs the downconversion on the frequency of the combined signal into an intermediate frequency, or the like.
(154) The A/D converter 24 converts the combined signal whose frequency has been converted by the frequency converter 23 into a digital signal, and outputs the digital signal to an amplitude phase detector 25.
(155) Upon receiving the digital signal from the A/D converter 24, the amplitude phase detector 25 detects a phase .sub.225 from the digital signal.
(156) After the amplitude phase detector 25 detects the phase .sub.225 of the digital signal, the amplitude phase recorder 26 records a combination of the control code Wc=2.sup.N1+2.sup.N3 output from the gain controller 22 and the phase .sub.225.
(157) Hereinafter, the phase .sub.225 obtained with the control code Wc=2.sup.N1+2.sup.N3 may be described as .sub.225 (2.sup.N1+2.sup.N3).
(158) The table calibrator 27 calculates, through the following Expression (21), a phase difference .sub.5 between the phase .sub.I (2.sup.N1) and the phase .sub.225 (2.sup.N1+2.sup.N3) by using the phase .sub.I (2.sup.N1) at the phase shift amount of 180 and the phase .sub.225 (2.sup.N1+2.sup.N3) at the phase shift amount of 225 recorded in the amplitude phase recorder 26.
.sub.5=|.sub.I(2.sup.N1).sub.225(2.sup.N1+2.sup.N3)|(21)
(159) After calculating the phase difference .sub.5, the table calibrator 27 calculates, through the following Expression (22), an error for the ideal value 45 (=225180) of the phase difference .sub.5, that is, the phase shift error .sub.2. The table calibrator 27 records the calculated phase shift error .sub.2 to the amplitude phase recorder 26.
.sub.2=.sub.545(22)
(160) The table calibrator 27 calculates, through the following Expression (23), an amplitude ratio A.sub.Q/I2 by using the phase shift errors , , and .sub.2 recorded in the amplitude phase recorder 26, and records the amplitude ratio A.sub.Q/I2 to the amplitude phase recorder 26.
(161)
(162) The rest of the configuration is similar to that of the Embodiment 1, and thus the detailed description is omitted.
(163) Similarly to the Embodiment 1, in the Embodiment 2 as well, the phase shift precision of the vector summed part 1 can be improved.
(164) That is, according to the Embodiment 2, the relation between the control code Wc and the gains G.sub.I (Wc) and G.sub.Q (Wc) can be calibrated without adding a new circuit onto a signal line in the vector summed part 1. Therefore, the phase shift error associated with the manufacturing variation or the like can be eliminated without being affected by characteristic deterioration associated with the addition of a new circuit. As a result, the yield of the vector sum phase shifter can be increased.
(165) Note that the invention of the present application allows free combinations of the embodiments, modifications of arbitrary configuration elements of the embodiments, or omissions of arbitrary configuration elements in the embodiments, within the scope of the invention.
(166) The phase shift precision calibration circuitry according to the present invention is suitable for calibrating the phase shift precision of the vector sum phase shifter.
REFERENCE SIGNS LIST
(167) 1: Vector summed part, 2: Phase shift precision calibration circuitry, 11: Orthogonal signal generator, 12: Vector signal combiner, 13: Variable gain amplifier (First variable gain amplifier), 14: Variable gain amplifier (Second variable gain amplifier), 15: Signal combiner, 21: Table memory, 22: Gain controller, 23: Frequency converter, 24: A/D converter, 25: Amplitude phase detector (Detector), 26: Amplitude phase recorder (Recorder), 27: Table calibrator