FREQUENCY MIXING CIRCUIT AND METHOD FOR SUPPRESSING LOCAL OSCILLATION LEAKAGE IN FREQUENCY MIXING CIRCUIT
This application is a continuation of International Application No. PCT/CN2012/072243, filed on Mar. 13, 2012, which claims priority to Chinese Patent Application No. 201110083379.3, filed on Apr. 2, 2011, both of which are hereby incorporated by reference in their entireties. The present invention relates to a mixed input signal and a local oscillation signal, and in particular, to a frequency mixing circuit and a method for suppressing local oscillation leakage in the frequency mixing circuit. Frequency mixing, which is also called frequency conversion in terms of engineering, is a process of converting one value of a frequency of a signal into another value. A circuit that implements this frequency mixing function is called a frequency mixing circuit or frequency conversion circuit, and is also called a frequency mixer or frequency converter. The frequency mixing circuit has been widely applied to communications engineering and wireless technologies. Generally, every wireless communications apparatus has a transmitter and a receiver, where the transmitter is configured to convert user data into a radio frequency signal for data transmission, and the receiver is configured to convert a received radio frequency signal into user data for data receiving. The frequency mixing circuit plays an important role in transmitting/receiving a radio frequency signal, no matter in a transmitter or a receiver. In the transmitter, the frequency mixing circuit mixes an input signal (a baseband signal or an intermediate frequency signal) with a local oscillation signal to generate a to-be-transmitted radio frequency signal. In the receiver, the frequency mixing circuit mixes a radio frequency signal received by an antenna with a local oscillation signal to generate a baseband signal or an intermediate frequency signal. The frequency mixing circuit is more widely applied especially in a superheterodyne receiver, for example, converting an amplitude-modulated 535 KHZ-1605 KHZ signal into a 465 KHZ intermediate frequency signal by an AM broadcast receiver, converting a modulated 48.5 M-870 M image signal into a 38 MHZ intermediate frequency image signal by a television receiver, and one intermediate frequency and double intermediate frequency in mobile communications. A superheterodyne architecture is a main frequency-conversion manner of a current microwave transmitter, as shown in A frequency of a signal carrier is converted from fIFto fRF, and their relation may be fRF=fLO+fIFor fRF=fLO−fIF. Due to nonlinearity of the frequency mixing circuit, frequency components of an output signal may be expressed as fRF=n*fLO+m*fIF, where n and m are integers. If fRF=fLO+fIFis taken as an output signal of the frequency mixing circuit, generally, in addition to this signal, a spurious signal fLOis further included at an RF outputting port of the frequency mixing circuit, that is, local oscillation leakage occurs. To reduce the local oscillation leakage of the frequency mixing circuit, a filter may be used in the frequency mixing circuit. As shown in By adopting the foregoing solution to reduce the local oscillation leakage of the frequency mixing circuit, the filter needs to have better frequency selectivity, and the interconnection between the filter and a system is relatively complicated; and furthermore, performance of the filter is greatly affected by a process capability, so that implementability is poor. In addition, because the filter is an element that has frequency selectivity, and a frequency selectivity feature contradicts with wide area coverage of a frequency, this solution cannot satisfy a requirement of a broadband application of the frequency mixing circuit. Embodiments of the present invention provide a frequency mixing circuit and a method for suppressing local oscillation leakage in the frequency mixing circuit, so as to effectively reduce local oscillation leakage by using a frequency mixing circuit whose structure is simpler and is easier to be implemented. To achieve the foregoing objective, the embodiments of the present invention adopt the following technical solutions: A frequency mixing circuit includes: a direct current bias circuit, where the direct current bias circuit includes a direct current bias voltage source used for reducing a local oscillation current. A method for suppressing local oscillation leakage in a frequency mixing circuit, where the frequency mixing circuit includes a direct current bias circuit, and the method includes the following steps: calculating a value of Vbaccording to formulas where Vbrepresents a voltage value of a direct current bias voltage source, a1, a2, . . . , akrepresent coefficients of voltage values in a relation between a current and a voltage across a nonlinear resistor, k represents a non-zero natural number, VLorepresents a voltage value of a local oscillation voltage source, VIFrepresents a voltage value of an intermediate frequency voltage source, and fLo(a1, a2, . . . , ak, VLo, VIF, Vb) represents a value of a local oscillation current; and setting a voltage value of a voltage source of the direct current bias circuit to Vb. With the frequency mixing circuit and the method for suppressing local oscillation leakage in the frequency mixing circuit provided in the embodiments of the present invention, a direct current bias circuit that is simpler and is easier to be implemented is disposed in a frequency mixing circuit; when a voltage value of a bias voltage source of the direct current bias circuit changes, a value of a local oscillation current also changes correspondingly; and when the voltage value of the direct current bias voltage source is a certain specified value, the value of the local oscillation current can be decreased, thereby effectively reducing local oscillation leakage of the frequency mixing circuit. To illustrate the technical solutions in the embodiments of the present invention or in the prior art more clearly, the following briefly introduces the accompanying drawings required for describing the embodiments or the prior art. Apparently, the accompanying drawings in the following description show merely some embodiments of the present invention, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts. The following clearly describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the embodiments to be described are merely a part rather than all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention. An embodiment of the present invention provides a frequency mixing circuit, and as shown in This embodiment is applicable to a manner for implementing frequency mixing by using a field effect transistor FET shown in The field effect transistor FET may be equivalent to a nonlinear resistor. A principle of the frequency mixing circuit shown in As shown in It is assumed that a relation between a voltage and a current across the nonlinear resistor 6 satisfies the following relation: k≦7 (1), where I represents a current across the nonlinear resistor 6, V represents a voltage across the nonlinear resistor 6, and anrepresents a coefficient that indicates a device feature. A total loop voltage source Va=VLo*cos wLot+VIF*cos wIFt+Vb (2), where Va represents a voltage value of the total loop voltage source and includes a direct voltage and an alternating voltage, VLorepresents a voltage value of the local oscillation voltage source 3, VIFrepresents a voltage value of the intermediate frequency voltage source 4, and Vbrepresents a direct voltage value of the direct current bias voltage source 5. Direct current values generated by the local oscillation voltage source 3, the intermediate frequency voltage source 4, and the direct current bias voltage source 5 may be obtained by substituting formula (2) to formula (1). A direct current value generated by the direct current bias voltage source 5 is: Idc=fdc(a1, a2, . . . , ak, VLo, VIF, Vb), where Idcrepresents the direct current value generated by the direct current bias voltage source 5, and a1, a2, . . . , akrepresent coefficients of voltages across the nonlinear resistor 6 in formula (1). A current generated by the local oscillation voltage source 3 is: ILo=fLo(a1, a2, . . . , ak, VLo, VIF, Vb). Multiple different voltage values Vbare set for the direct current bias voltage source 5, and Idc, VLo, and VIFthat correspond to each voltage value Vbmay be obtained through measurement. The coefficient anin the expression of the nonlinear resistor 6 may be obtained by using a data-fitting method. The obtained coefficient anin the expression of the relation between the voltage and the current across the nonlinear resistor 6 is substituted to fLo(a1, a2, . . . , ak, VLo, VIF, Vb). A value of Vbis calculated according to formulas where the Vbthat is obtained through calculation can make a value of |fLo| minimum. The |fLo| is minimum, that is, the local oscillation current is minimum. If a voltage value of an external direct current bias voltage source is set to the foregoing Vbthat is obtained through calculation, suppression of the local oscillation leakage in the frequency mixing circuit can be implemented. With the frequency mixing circuit provided in this embodiment, a direct current bias circuit that is simpler and is easier to be implemented is disposed; when a voltage value of a direct current bias voltage source changes, a value of a local oscillation current also changes correspondingly; and when the voltage value of the direct current bias voltage source is a certain specified value, the value of the local oscillation current can be reduced, thereby effectively reducing local oscillation leakage of the frequency mixing circuit. As an implementation manner of this embodiment, the frequency mixing circuit provided in this embodiment is also applicable to a case where a radio frequency signal is mixed with a local oscillation signal to output an intermediate frequency signal. As another implementation manner of this embodiment, the direct current bias circuit 1 may also be disposed on a local oscillation signal side or a radio frequency signal side. As an improvement to this embodiment, an embodiment of the present invention provides another frequency mixing circuit. As shown in A first direct current bias circuit 10 and a second direct current bias circuit 11 are disposed on the side of the intermediate frequency inputting port 7, where the first direct current bias circuit 10 includes a direct current bias voltage source 12 that is used for reducing a local oscillation current and is marked as Vb1, and the second direct current bias circuit 11 includes a direct current bias voltage source 13 that is used for reducing the local oscillation current and is marked as Vb2. Because two direct current bias circuits are disposed, a problem of local oscillation leakage in the frequency mixing circuit can be effectively solved. The frequency mixing circuit further includes: a 90-degree bridge 14 and an orthogonal frequency mixer 15, where the orthogonal frequency mixer 15 includes a first frequency mixing unit circuit 16, a second frequency mixing unit circuit 17, and a combiner 18. An input signal passes through the 90-degree bridge 14 to generate a first input signal and a second input signal, where the first input signal and the second input signal are transferred to the first frequency mixing unit circuit 16 and the second frequency mixing unit circuit 17 of the orthogonal frequency mixer 15, respectively; and each of the first input signal and the second input signal is mixed with a local oscillation signal, and an output signal is generated after the mixed signals pass through the combiner 18. The frequency mixing circuit in this embodiment is applicable to a manner for implementing frequency mixing by using a field effect transistor FET shown in The field effect transistor FET may be equivalent to a nonlinear resistor. A principle of the frequency mixing circuit shown in It is assumed that a relation between a voltage and a current across a nonlinear resistor satisfies the following relation: k≦7 (1), where I represents a current across the nonlinear resistor, V represents a voltage across the nonlinear resistor, and anrepresents a coefficient that indicates a device feature. A total loop voltage source Va=VLo*cos wLot+VIF*cos wIFt+Vb (2), where Va represents a voltage value of the total loop voltage source, VLo*cos wLot represents a voltage value of a local oscillation voltage source, VIF*cos wIFt represents a voltage value of an intermediate frequency voltage source, and Vb represents a voltage value of a direct current bias voltage source. Current values generated by the local oscillation voltage source, the intermediate frequency voltage source, and the direct current bias voltage source may be obtained by substituting formula (2) to formula (1). A current value generated by the direct current bias voltage source is: Idc=fdc(a1, a2, . . . , ak, VLo, VIF, Vb), where Idcrepresents the current value generated by the direct current bias voltage source, and a1, a2, . . . , akrepresent coefficients of voltages across the nonlinear resistor in formula (1). A current generated by the local oscillation voltage source is: ILo=fLo(a1, a2, . . . , ak, VLo, VIF, Vb). Multiple voltage values Vbare set for the bias voltage source, and Idcthat corresponds to each voltage value Vbmay be obtained through measurement. In combination with constants VLoand VIF, the coefficient anin the expression of the nonlinear resistor may be obtained by using a data-fitting method. The obtained coefficient anin the expression of the nonlinear resistor is substituted to fLo(a1, a2, . . . , ak, VLo, VIF, Vb). A value of Vbis calculated according to formulas where the Vbthat is obtained through calculation can make a value of |fLo| minimum. The |fLo| is minimum, that is, a local oscillation current is minimum. If a voltage value of an external direct current bias voltage source is set to the foregoing Vbthat is obtained through calculation, suppression of the local oscillation leakage in the frequency mixing circuit can be implemented. With the frequency mixing circuit provided in this embodiment, a direct current bias circuit that is simpler and is easier to be implemented is disposed; when a voltage value of a bias voltage source of the direct current bias circuit changes, a value of a local oscillation current also changes correspondingly; and when the voltage value of the direct current bias voltage source is a certain specified value, the value of the local oscillation current can be reduced, thereby effectively reducing local oscillation leakage of the frequency mixing circuit. The frequency mixing circuit is implemented by adopting the foregoing implementation manner, and suppression of an image frequency is implemented by adopting an orthogonal phase cancellation technology, so that single-sideband up conversion may be implemented. As an improvement to this embodiment, to make input power of an intermediate frequency port and input power of a local oscillation port of the frequency mixing circuit to be constants, as shown in The foregoing solution can make the input power of the intermediate frequency port and the input power of the local oscillation port of the frequency mixing circuit to be constants, thereby making a value of VLoand a value of VIFto be constants. To facilitate measurement, as another improvement to this embodiment, the direct current bias circuit may further include a galvanometer used for measuring a bias current of the direct current bias circuit, as shown in Temperature drift may cause change of an internal junction potential of a device, which is equivalent to that an additional voltage source that drifts with temperature is added to Vb. The voltage source is set to Voffset. If an offset voltage at normal temperature is maintained in a high or low temperature environment, an actual equivalent bias voltage is Vb+Voffset, which may affect the effect of suppressing local oscillation leakage in the case of temperature drift. Because a relation among a direct current bias current I, a direct current bias voltage Vb, and a local oscillation current Ilo remains unchanged while Vb is a variable, only if I is constant, the local oscillation current can be stable, and the effect of suppressing local oscillation leakage can remain unchanged. As shown in It is assumed that a time step of an adjustment interval is u, u, that is, a coefficient updating step, may be preset as required, an error of a direct current bias current is error, and an expression of the error of the direct current bias circuit may be: error−I−Inormal(4). A feedback iterative formula of a direct current bias voltage is: Vb(n)=Vb(n−1)+u*error (5). That is, Vb(n)=Vb(n−1)+u*(I−Inormal), where Vb(n) represents a voltage value of the direct current bias voltage source in an nthtime period, Vb(n−1) represents a voltage value of the direct current bias voltage source in an (n−1)thtime period, u represents a coefficient updating step, I represents a bias current value measured in the nthtime period, and Inormalrepresents a bias current reference value. As a preferred implementation manner of this embodiment, one capacitor may further be disposed between the 90-degree bridge and the first frequency mixing unit circuit, one capacitor may further be disposed between the 90-degree bridge and the second frequency mixing unit circuit, one capacitor may further be disposed between the first frequency mixing unit circuit and the combiner, and one capacitor may further be disposed between the second frequency mixing unit circuit and the combiner. Coupling of direct currents between the first frequency mixing unit circuit and the second frequency mixing unit circuit that are orthogonal is avoided by using a feature that the capacitor can block a direct current. To better suppress local oscillation leakage of the frequency mixing circuit, the first frequency mixing unit circuit and the second frequency mixing unit circuit may also be frequency mixers having the same resistivity. The frequency mixing circuit in this embodiment may also be equivalent to the circuit shown in With the frequency mixing circuit provided in this embodiment of the present invention, that a microwave filter is used at an outputting port of an up converter is avoided, and the difficulty of implementation is lowered, so that a frequency mixer may be monolithically integrated with another device. Furthermore, in the solution of this embodiment of the present invention, a device with better frequency selectivity is not used, thereby improving the frequency extension capability of the up converter. An embodiment of the present invention provides a method for suppressing local oscillation leakage in a frequency mixing circuit, where the frequency mixing circuit includes a direct current bias circuit, and as shown in 801: Calculate a value of Vbby using a computer program according to formulas where Vbrepresents a voltage value of a direct current bias voltage source, a1, a2, . . . , akrepresent coefficients of voltage values in a relation between a current and a voltage across a nonlinear resistor, k represents a non-zero natural number, VLorepresents a voltage value of a local oscillation voltage source, VIFrepresents a voltage value of an intermediate frequency voltage source, and fLorepresents a value of a local oscillation current. 802: Set a voltage value of a voltage source of the direct current bias circuit to Vbby using a computer program. With the method for suppressing local oscillation leakage in a frequency mixing circuit provided in this embodiment, a direct current bias circuit that is simpler and is easier to be implemented is disposed in the frequency mixing circuit; when a voltage value of a bias voltage source of the direct current bias circuit changes, a value of a local oscillation current also changes correspondingly; and when the voltage value of the direct current bias voltage source is a certain specified value, the value of the local oscillation current can be reduced, thereby effectively reducing local oscillation leakage of the frequency mixing circuit. As an improvement to this embodiment, an embodiment of the present invention provides another method for suppressing local oscillation leakage in a frequency mixing circuit, where the frequency mixing circuit includes a direct current bias circuit, and as shown in The frequency mixing circuit in this embodiment is applicable to a manner for implementing frequency mixing by using a field effect transistor FET, and is also applicable to a manner for implementing frequency mixing by using a diode. The field effect transistor FET may be equivalent to a nonlinear resistor. 901: Calculate a formula for calculating a value of a local oscillation current, where only the voltage value Vbof a direct current bias voltage source in the formula is a variable, that is, calculate ILo=fLo(a1, a2, . . . , ak, VLo, VIF, Vb). It is assumed that a relation between a voltage and a current across the nonlinear resistor satisfies the following relation: k≦7 (1), where I represents a current across the nonlinear resistor, V represents a voltage across the nonlinear resistor, and anrepresents a preset coefficient. A total loop voltage source Va=VLo*cos wLot+VIF*cos wIFt+Vb (2), where Va represents a voltage value of the total loop voltage source, VLo* cos wLot represents a voltage value of a local oscillation voltage source, VIF*cos wIFt represents a voltage value of an intermediate frequency voltage source, and Vb represents a voltage value of a direct current bias voltage source. Current values generated by the local oscillation voltage source, the intermediate frequency voltage source, and the direct current bias voltage source may be obtained by substituting formula (2) to formula (1). A current value generated by the direct current bias voltage source is: Idc=fdc(a1, a2, . . . , ak, VLo, VIF, Vb), where Idcrepresents the current value generated by the direct current bias voltage source, and a1, a2, . . . , akrepresent coefficients of voltages across the nonlinear resistor in formula (1). A current generated by the local oscillation voltage source is: ILo=fLo(a1, a2, . . . , ak, VLo, VIF, Vb). Multiple voltage values Vbare set for the bias voltage source, and Idc, ILo, and VIFthat correspond to each voltage value Vbmay be obtained through measurement. The coefficient anin the expression of the nonlinear resistor may be obtained by using a data-fitting method. The formula for calculating the value of the local oscillation current ILo=fLo(a1, a2, . . . , ak, VLo, VIF, Vb) may be obtained by substituting the obtained coefficient anin the expression of the nonlinear resistor to fLo(a1, a2, . . . , ak, VLo, VIF, Vb). Only the voltage value Vbof the direct current bias voltage source in the formula is a variable. 902: Calculate a value of Vbaccording to formulas where Vbrepresents the voltage value of the direct current bias voltage source, a1, a2, . . . , akrepresent coefficients of voltage values in a relation between a current and a voltage across the nonlinear resistor, k represents a non-zero natural number, VLorepresents the voltage value of the local oscillation voltage source, VIFrepresents the voltage value of the intermediate frequency voltage source, and fLo(a1, a2, . . . , ak, VLo, VIF, Vb) represents the value of the local oscillation current. This step may be implemented by using a computer program, a manual manner, or a single-chip microcomputer. 903: Record a bias current value Inormalwhen the voltage value of the voltage source of the direct current bias circuit is set to Vb. 904: Obtain a bias current value I of the direct current bias circuit in a current time period. 905: Calculate Vb(n)=Vb(n−1)+u*(I−Inormal), where Vb(n) represents a voltage value of the direct current bias voltage source in an nthtime period, Vb(n−1) represents a voltage value of the direct current bias voltage source in an (n−1)thtime period, u represents a coefficient updating step, I represents a bias current value measured in the nthtime period, and Inormalrepresents a bias current reference value. 906: Reset the voltage value of the bias voltage source of the direct current bias circuit in the current time period to Vb(n). With the method for suppressing local oscillation leakage in a frequency mixing circuit provided in this embodiment, a direct current bias circuit that is simpler and is easier to be implemented is disposed in the frequency mixing circuit; when a voltage value of a bias voltage source of the direct current bias circuit changes, a value of a local oscillation current also changes correspondingly; and when the voltage value of the direct current bias voltage source is a certain specified value, the value of the local oscillation current can be reduced, thereby effectively reducing local oscillation leakage of the frequency mixing circuit. Through the foregoing description of the embodiments, persons skilled in the art may clearly understand that the present invention may be implemented by software plus necessary universal hardware, and definitely may also be implemented by hardware, but in many cases, the software implementation manner is preferred. Based on such understanding, the technical solutions of the present invention essentially, or the part contributing to the prior art may be implemented in the form of a software product. The computer software product is stored in a readable storage medium, for example, a floppy disk, a hard disk, or an optical disk of a computer, and includes several instructions for instructing a computer device (which may be a personal computer, a server, a network device, and so on) to execute the methods described in the embodiments of the present invention. The foregoing description is merely about exemplary embodiments of the present invention, but is not intended to limit the protection scope of the present invention. Any variation or replacement readily figured out by persons skilled in the art within the technical scope disclosed in the present invention shall all fall within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims. Embodiments of the present invention disclose a frequency mixing circuit and a method for suppressing local oscillation leakage in the frequency mixing circuit, where a mixed input signal and a local oscillation signal are involved, and local oscillation leakage can be effectively reduced by using a frequency mixing circuit whose structure is simpler and is easier to be implemented. The frequency mixing circuit includes a direct current bias circuit, where the direct current bias circuit includes a direct current bias voltage source used for reducing a local oscillation current. The frequency mixing circuit is mainly applied to frequency mixing, and especially to a case where an intermediate frequency signal is mixed with a local oscillation signal to output a radio frequency signal. 1. A frequency mixing circuit, comprising: a direct current bias circuit, wherein the direct current bias circuit comprises a direct current bias voltage source used for reducing a local oscillation current. 2. The frequency mixing circuit according to wherein Vbrepresents the voltage value of the direct current bias voltage source, a1, a2, . . . , akrepresent coefficients of voltage values in a relation between a current and a voltage across a nonlinear resistor, k represents a non-zero natural number, VLorepresents a voltage value of a local oscillation voltage source, VIFrepresents a voltage value of an intermediate frequency voltage source, and fLo(a1, a2, . . . , ak, VLo, VIF, Vb) represents a value of a local oscillation current. 3. The frequency mixing circuit according to 4. The frequency mixing circuit according to an input signal passes through the 90-degree bridge to generate a first input signal and a second input signal, wherein the first input signal and the second input signal are transferred to the first frequency mixing unit circuit and the second frequency mixing unit circuit of the orthogonal frequency mixer, respectively; and each of the first input signal and the second input signal is mixed with a local oscillation signal in the first frequency mixing unit circuit and the second frequency mixing unit circuit, and an output signal is generated after mixed signals pass through the combiner. 5. The frequency mixing circuit according to 6. The frequency mixing circuit according to 7. The frequency mixing circuit according to 8. The frequency mixing circuit according to 9. The frequency mixing circuit according to 10. The frequency mixing circuit according to 11. A method for suppressing local oscillation leakage in a frequency mixing circuit, wherein the frequency mixing circuit comprises a direct current bias circuit, and the method comprises the following steps:
calculating a value of Vbaccording to formulas wherein Vbrepresents a voltage value of a direct current bias voltage source, a1, a2, . . . , akrepresent coefficients of voltage values in a relation between a current and a voltage across a nonlinear resistor, k represents a non-zero natural number, VLorepresents a voltage value of a local oscillation voltage source, VIFrepresents a voltage value of an intermediate frequency voltage source, and fLo(a1, a2, . . . , ak, VLo, VIF, Vb) represents a value of a local oscillation current; and
setting a voltage value of a voltage source of the direct current bias circuit to Vb. 12. The method for suppressing local oscillation leakage in a frequency mixing circuit according to recording a bias current value Inormalwhen the voltage value of the voltage source of the direct current bias circuit is set to Vb; obtaining a bias current value I of the direct current bias circuit in a current time period; calculating Vb(n)=Vb(n−1)+u*(I−Inormal), wherein Vb(n) represents a voltage value of the direct current bias voltage source in an nthtime period, Vb(n−1) represents a voltage value of the direct current bias voltage source in an (n−1)thtime period, u represents a coefficient updating step, I represents a bias current value measured in the nthtime period, and Inormalrepresents a bias current reference value; and setting the voltage value of the bias voltage source of the direct current bias circuit in the current time period to Vb(n). CROSS-REFERENCE TO RELATED APPLICATIONS
FIELD OF THE INVENTION
BACKGROUND OF THE INVENTION
SUMMARY OF THE INVENTION
BRIEF DESCRIPTION OF THE DRAWINGS
DETAILED DESCRIPTION OF THE EMBODIMENTS