Differential frequency-mixing circuit, spectrum analyzer, differential frequency-mixing method, and medium
Through the differential mixing circuit and phase-shifting operation, the circuit structure of the spectrum analyzer is simplified, the problem of complexity and loss of the three-stage superheterodyne mixing circuit is solved, and the effective filtering and sensitivity improvement of the intermediate frequency signal are achieved.
Patent Information
- Application Number
- PCT/CN2023/123740
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-20
- Filing Date
- 2023-10-10
- Publication Date
- 2024-08-29
AI Technical Summary
The three-stage superheterodyne mixing circuit in the existing spectrum analyzer has a complex structure, which makes it difficult to miniaturize the receiver and causes high losses, which reduces the sensitivity.
A differential mixing circuit is used to achieve effective filtering of intermediate frequency signals through two frequency conversion and phase shifting operations, simplifying the circuit structure and reducing the number of amplifiers.
The circuit structure is simplified, the size of the spectrum analyzer is reduced, the sensitivity of the receiver is improved, and the image frequency signal is effectively suppressed.
Smart Images

Figure CN2023123740_29082024_PF_FP_ABST
Abstract
Description
A differential mixing circuit, spectrum analyzer, differential mixing method and medium Technical Field
[0001] The present invention relates to the technical field of spectrum analysis, and in particular to a differential mixing circuit, a spectrum analyzer, a differential mixing method and a medium. Background Art
[0002] With the advancement of communication technology, RF circuits are also moving towards greater precision and higher frequencies. To meet these demands, circuit structures are becoming more complex. In spectrum analyzer circuits, as a typical receiver, a downconversion circuit is often used to downconvert the received RF signal. This converts the RF signal or a higher-frequency signal to a lower intermediate frequency or baseband signal, making the downconverted signal easier to process in the receiver.
[0003] When the RF signal is downconverted by the mixer, it mixes with the local oscillator signal to produce the desired intermediate frequency signal IF6 (IF6 = RF7 - LO6). In addition, its image frequency signal IF7 (IF7 = LO6 - RF8) also exists, where IF6 = IF7. Furthermore, when the frequency of the intermediate frequency signal IF6 is low, the difference between the main signal RF7 and the image signal RF8 is minimal. Therefore, with only one or two downconversions, the image signal RF8 corresponding to the image frequency signal IF7 is difficult to filter out. This allows the image frequency to fall into the intermediate frequency, generating spurious signals that affect measurement results. To address this issue, traditional spectrum analyzers typically use a three-stage frequency conversion structure, known as a three-stage superheterodyne conversion circuit, which effectively suppresses the image frequency signals.
[0004] However, a three-stage superheterodyne mixer requires three steps of mixing, amplification, and filtering to produce the desired intermediate frequency signal. This makes the circuit structure complex and limits the miniaturization of receivers. Furthermore, the three-stage frequency conversion structure suffers from high losses and requires additional amplifiers, whose noise figures reduce the receiver's sensitivity. Technical issues
[0005] The main technical problem solved by the present invention is how to simplify the mixing circuit of the receiver so as to facilitate miniaturization of the receiver and improve the sensitivity of the receiver. Technical Solutions
[0006] According to the first aspect, an embodiment provides a differential mixing circuit, comprising:
[0007] a first frequency conversion unit, configured to mix a signal received at its input end with a first local oscillator signal to output a signal having a first intermediate frequency;
[0008] a differential signal conversion unit, the input end of which is used to receive the signal with the first intermediate frequency, and convert the signal with the first intermediate frequency into a differential signal and then output it, wherein the differential signal includes a first signal and a second signal with opposite phases;
[0009] a second frequency conversion unit, wherein the first input terminal is used to receive the first signal and mix the first signal with a second local oscillator signal to output a third signal having a second intermediate frequency; the second input terminal is used to receive the second signal and mix the second signal with the second local oscillator signal having a phase shift of ninety degrees to output a fourth signal having a second intermediate frequency; or, after shifting the phase of the second signal by ninety degrees, mix the second signal with the second local oscillator signal to output a fourth signal having a second intermediate frequency;
[0010] a first phase shifting unit, the input end of which is used to receive the fourth signal, and output a fifth signal having a second intermediate frequency after shifting the phase of the fourth signal by ninety degrees, so that the signal of the second intermediate frequency in the fifth signal and the signal of the second intermediate frequency in the third signal are differential signals with opposite phases to each other, and the signal of the mirror image frequency of the second intermediate frequency in the fifth signal and the signal of the mirror image frequency of the second intermediate frequency in the third signal are in the same phase;
[0011] The second intermediate frequency differential channel has a first input end for receiving the third signal and a second input end for receiving the fifth signal, and differentially amplifies and differentially filters the second intermediate frequency signal in the fifth signal and the second intermediate frequency signal in the third signal to obtain a differential intermediate frequency signal.
[0012] In some embodiments, the second frequency conversion unit includes:
[0013] A second local oscillator, used to generate the second local oscillator signal;
[0014] a second phase shifting unit, whose input end is used to receive the second local oscillator signal and output the second local oscillator signal after shifting its phase by ninety degrees; or a second phase shifting unit, whose input end is used to receive the second signal and output the second local oscillator signal after shifting its phase by ninety degrees;
[0015] a first mixer, wherein a first input terminal is used to receive the first signal, a second input terminal is used to receive the second local oscillator signal, and the first signal is mixed with the second local oscillator signal to output the third signal;
[0016] A second mixer, wherein the first input end is used to receive the second signal, the second input end is used to receive the second local oscillator signal with a phase shift of ninety degrees, and the second signal is mixed with the second local oscillator signal with a phase shift of ninety degrees to output the fourth signal; or, the first input end is used to receive the second signal with a phase shift of ninety degrees, the second input end is used to receive the second local oscillator signal, and the second signal with a phase shift of ninety degrees is mixed with the second local oscillator signal to output the fourth signal.
[0017] In some embodiments, when the second local oscillator signal is a low local oscillator signal, a direction in which the second local oscillator signal is phase-shifted by ninety degrees is the same as a direction in which the fourth signal is phase-shifted by ninety degrees; or, a direction in which the second signal is phase-shifted by ninety degrees is opposite to a direction in which the fourth signal is phase-shifted by ninety degrees.
[0018] or,
[0019] When the second local oscillation signal is a high local oscillation signal, the direction of the second local oscillation signal phase shift by ninety degrees is opposite to the direction of the fourth signal phase shift by ninety degrees; or, the direction of the second signal phase shift by ninety degrees is the same as the direction of the fourth signal phase shift by ninety degrees.
[0020] In some embodiments, the differential signal conversion unit includes:
[0021] A balun transformer, wherein the first end of its input end is used to receive the signal with the first intermediate frequency, the second end of its input end is grounded, and the signal with the first intermediate frequency is converted into a differential signal, and the first signal is output through the first end of its output end, and the second signal is output through the second end of its output end.
[0022] In some embodiments, the differential mixing circuit further includes:
[0023] Two first intermediate frequency amplifiers, one of which is used to amplify the first intermediate frequency signal in the first signal before the first input end of the second frequency conversion unit receives the first signal; the other first intermediate frequency amplifier is used to amplify the first intermediate frequency signal in the second signal before the second input end of the second frequency conversion unit receives the second signal.
[0024] In some embodiments, the first frequency conversion unit includes:
[0025] A pre-filter, configured to filter the signal received at its input end and then output it, so as to filter out the signal of the mirror frequency of the first intermediate frequency in the received signal;
[0026] a first local oscillator, configured to generate the first local oscillator signal;
[0027] A third mixer, whose first input end is used to receive the signal filtered by the prefilter, and whose second input end is used to receive the first local oscillator signal, mixes the signal filtered by the prefilter with the first local oscillator signal to output the signal with the first intermediate frequency.
[0028] In some embodiments, the second intermediate frequency differential channel includes:
[0029] a second intermediate frequency differential amplifier, wherein a first input terminal of the amplifier is used to receive the third signal, a second input terminal of the amplifier is used to receive the fifth signal, and the amplifier is used to differentially amplify the second intermediate frequency signal in the fifth signal and the second intermediate frequency signal in the third signal;
[0030] The second intermediate frequency differential filter is used to perform second intermediate frequency differential filtering on the differential signal after differential amplification by the second intermediate frequency differential amplifier to obtain the differential intermediate frequency signal.
[0031] According to the second aspect, an embodiment provides a spectrum analyzer, comprising:
[0032] The differential mixing circuit as described in the first aspect is used to mix, amplify and filter the input signal and then output a differential intermediate frequency signal;
[0033] an analog-to-digital sampling module, configured to perform analog-to-digital conversion on the differential intermediate frequency signal and output a digital signal;
[0034] A digital signal processing module, configured to process the digital signal and output a frequency domain waveform;
[0035] A display module is used to display the frequency domain waveform.
[0036] According to a third aspect, an embodiment provides a differential mixing method, including:
[0037] Acquire an input signal, and mix the input signal with a first local oscillator signal to obtain a signal with a first intermediate frequency;
[0038] Converting the signal having the first intermediate frequency into a differential signal, wherein the differential signal includes a first signal and a second signal having opposite phases;
[0039] Mixing the first signal with a second local oscillator signal to obtain a third signal having a second intermediate frequency, and mixing the second local oscillator signal with the second signal after shifting its phase by ninety degrees to obtain a fourth signal having the second intermediate frequency; or mixing the second signal with the second local oscillator signal after shifting its phase by ninety degrees to obtain a fourth signal having the second intermediate frequency;
[0040] shifting the phase of the fourth signal by ninety degrees to obtain a fifth signal having a second intermediate frequency, such that the signal of the second intermediate frequency in the fifth signal and the signal of the second intermediate frequency in the third signal are differential signals having opposite phases to each other, and the signal of the mirror image frequency of the second intermediate frequency in the fifth signal and the signal of the mirror image frequency of the second intermediate frequency in the third signal have the same phase;
[0041] The signal of the second intermediate frequency in the fifth signal and the signal of the second intermediate frequency in the third signal are differentially amplified and differentially filtered to obtain a differential intermediate frequency signal.
[0042] According to a fourth aspect, an embodiment provides a computer-readable storage medium, on which a program is stored. The program can be executed by a processor to implement the method according to the third aspect. Beneficial effects
[0043] According to the differential mixing circuit of the above embodiment, the second frequency conversion unit mixes the first signal with the second local oscillator signal to obtain a third signal, and mixes the second signal with the second local oscillator signal, which is phase-shifted by 90 degrees, to obtain a fourth signal. The first phase shift unit then phase-shifts the fourth signal to obtain a fifth signal. This ensures that the intermediate frequency signals in the fifth signal and the third signal remain differential signals with opposite phases, while the mirror frequency signals of the intermediate frequency signal remain signals with the same phase. Finally, the mirror frequency signals of the intermediate frequency signal are filtered out through the second intermediate frequency differential channel. Because only two frequency conversions are required to obtain the desired intermediate frequency signal and eliminate its mirror frequency signals, the elimination of one stage of mixing, amplification, and filtering circuitry simplifies the circuit structure, reducing the size of the spectrum analyzer. Furthermore, fewer amplifiers can also improve receiver sensitivity. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] FIG1 is a schematic structural diagram of a three-stage superheterodyne frequency conversion circuit;
[0045] FIG2 is a schematic structural diagram of a differential mixing circuit according to an embodiment;
[0046] FIG3 is a schematic structural diagram of a differential mixing circuit according to another embodiment;
[0047] FIG4 is a schematic structural diagram of a spectrum analyzer according to an embodiment;
[0048] FIG5 is a schematic flow chart of a differential mixing method according to an embodiment. Modes for Carrying Out the Invention
[0049] The present invention will be further described in detail below by means of specific embodiments in conjunction with the accompanying drawings. Similar elements in different embodiments are numbered with associated similar elements. In the following embodiments, many detailed descriptions are provided to enable the present application to be better understood. However, those skilled in the art will readily appreciate that some of the features may be omitted in different circumstances, or may be replaced by other elements, materials, or methods. In some cases, some operations related to the present application are not shown or described in the specification. This is to avoid the core portion of the present application being overwhelmed by excessive descriptions, and for those skilled in the art, it is not necessary to describe these related operations in detail. They will fully understand the related operations based on the description in the specification and the general technical knowledge in the art.
[0050] In addition, the features, operations, or characteristics described in the specification may be combined in any appropriate manner to form various embodiments. Furthermore, the steps or actions in the method description may be reordered or adjusted in a manner readily apparent to those skilled in the art. Therefore, the various sequences in the specification and drawings are provided solely for the purpose of clearly describing a particular embodiment and are not intended to be mandatory, unless otherwise specified.
[0051] Component numbers used herein, such as "first" and "second," are used solely to distinguish the components being described and do not convey any sequential or technical meaning. References to "connection" and "coupling" herein, unless otherwise specified, include both direct and indirect connections (couplings).
[0052] Referring to Figure 1, a three-stage superheterodyne frequency conversion circuit includes a first-stage frequency conversion unit 11, a second-stage frequency conversion unit 13, and a third-stage frequency conversion unit 15. Each of the first-stage frequency conversion unit 11, the second-stage frequency conversion unit 13, and the third-stage frequency conversion unit 15 includes a filter, a mixer, a local oscillator, and an amplifier. First-stage frequency conversion unit 11 is used for illustration. Its filter is used to suppress the image signal corresponding to the image frequency of the first intermediate frequency. The filtered signal is mixed with the signal from the local oscillator through the mixer to output a first intermediate frequency signal, which is then amplified by the first intermediate frequency amplifier. Second-stage frequency conversion unit 13 and third-stage frequency conversion unit 15 are used to generate a second intermediate frequency signal and a third intermediate frequency signal, respectively, and suppress the image signals corresponding to the image frequencies of the second and third intermediate frequencies, respectively. As can be seen, since each stage of the frequency conversion unit includes a filter, a mixer, a local oscillator, and an amplifier, the circuit structure of the three-stage superheterodyne frequency conversion circuit is relatively complex, limiting the miniaturization of the receiver. At the same time, its three-stage frequency conversion structure has large losses, and more amplifiers will reduce the sensitivity of the receiver.
[0053] In an embodiment of the present invention, after the received signal undergoes frequency conversion in a first frequency conversion unit, it is converted by a differential signal conversion unit to obtain a differential signal. The first and second signals in the differential signal are then frequency-converted separately by a second frequency conversion unit. Phase shifting is then performed by a first phase shifter, so that the intermediate frequency signal remains as a differential signal with opposite phases, while the image frequency signal of the intermediate frequency signal remains in phase with the image frequency signal. Finally, the image frequency signal of the intermediate frequency signal is filtered out by a second intermediate frequency differential channel. Because only two frequency conversions are required to obtain the desired intermediate frequency signal and eliminate its image frequency signal, the reduction in the number of mixer, amplifier, and filter circuits simplifies the circuit structure, reducing the size of the spectrum analyzer. Furthermore, fewer amplifiers can also improve receiver sensitivity.
[0054] Some embodiments provide a differential mixing circuit for mixing, amplifying, and filtering a received signal to obtain a desired intermediate frequency (IF) signal while simultaneously filtering out signals with mirror frequencies of the IF. Referring to Figures 2 and 3 , the differential mixing circuit includes an RF input attenuator 10, a first frequency conversion unit 20, a differential signal conversion unit 30, two first IF amplifiers 40, a second frequency conversion unit 50, a first phase shifter 60, and a second IF differential channel 70, each of which is described in detail below.
[0055] The RF input attenuator 10 is used to attenuate the signal to an appropriate level, thereby preventing overload, gain compression, and distortion. The RF input attenuator 10 includes an input terminal and an output terminal. The input terminal is used to receive an input signal, and the RF input attenuator 10 is used to attenuate the input signal and output the attenuated signal to the first frequency conversion unit 20 through its output terminal.
[0056] Referring again to Figure 2 , the first frequency conversion unit 20 has an input and an output. It is configured to mix a signal received at its input with a first local oscillator signal to generate a signal having a first intermediate frequency (IF). The first frequency conversion unit 20 then outputs the signal having the first IF through its output, thereby performing spectral shifting on the received signal to facilitate subsequent frequency conversion and filtering. In this embodiment, the signal having the first IF generated by mixing the received signal with the first local oscillator signal by the first frequency conversion unit 20 includes not only the first IF signal but also other signals generated by the mixing or other interference signals.
[0057] Referring again to FIG. 3 , in some embodiments, the first frequency conversion unit 20 includes a prefilter 22, a first local oscillator 24, and a third mixer 26. The prefilter 22 is configured to filter the signal received at its input and output it to remove the signal having the mirror frequency of the first intermediate frequency from the received signal. The first local oscillator 24 is configured to generate a first local oscillator signal. The third mixer 26 has a first input, a second input, and an output. The first input is configured to receive the signal filtered by the prefilter 22, and the second input is configured to receive the first local oscillator signal. The third mixer 26 is configured to mix the signal filtered by the prefilter 22 with the first local oscillator signal to obtain a signal having the first intermediate frequency, and output the signal having the first intermediate frequency through its output.
[0058] Referring again to Figure 2 , the differential signal conversion unit 30 is configured to convert a single input signal into two differential signals for output. The differential signal conversion unit 30 has an input terminal, a first output terminal, and a second output terminal. The input terminal is configured to receive a signal having a first intermediate frequency (IF). The differential signal conversion unit 30 is configured to convert the signal having the first IF into a differential signal comprising a first signal and a second signal having opposite phases. The first output terminal is configured to output the first signal, and the second output terminal is configured to output the second signal.
[0059] Referring again to FIG. 3 , in some embodiments, the differential signal conversion unit 30 includes a balun transformer having an input terminal and an output terminal. The first input terminal is configured to receive a signal having a first intermediate frequency, and the second input terminal is grounded. The balun transformer is configured to convert the signal having the first intermediate frequency into a differential signal, and output the first signal through the first output terminal and the second output terminal. In some embodiments, the differential signal conversion unit 30 may also be implemented using other differential signal converters, as long as they can convert the input signal into a differential signal output.
[0060] The first intermediate frequency amplifier 40 is used to amplify the signal of the first intermediate frequency and output it. One of the first intermediate frequency amplifiers 40 is used to amplify the signal of the first intermediate frequency in the first signal, and the other first intermediate frequency amplifier 40 is used to amplify the signal of the first intermediate frequency in the second signal. In this embodiment, after the differential signal conversion unit 30 converts one signal with the first intermediate frequency into two signals of the first signal and the second signal, in addition to being used for subsequent differential processing of the signals, the power of the first signal and the second signal can be reduced by 3dB compared to the signal with the first intermediate frequency, thereby reducing the performance requirements of the first intermediate frequency amplifier 40, thereby improving the P1dB and IP3 performance of the circuit.
[0061] Referring again to Figure 2 , the second frequency conversion unit 50 has a first input, a second input, a first output, and a second output. Its first input is used to receive the first signal amplified by the first intermediate frequency amplifier 40, and its second input is used to receive the second signal amplified by the first intermediate frequency amplifier 40. The second frequency conversion unit 50 is used to mix the first signal with the second local oscillator signal to obtain a third signal having a second intermediate frequency, and output the third signal through its first output. It is also used to mix the second signal with the second local oscillator signal with a ninety-degree phase shift to obtain a fourth signal having a second intermediate frequency, and output the fourth signal through its second output. In this embodiment, the third and fourth signals include not only the second intermediate frequency signal but also other signals generated by mixing or other interference signals.
[0062] Referring again to FIG. 3 , in some embodiments, the second frequency conversion unit 50 includes a second local oscillator 52, a second phase shifter 54, a first mixer 56, and a second mixer 58. The second local oscillator 52 is configured to generate a second local oscillator signal. The second phase shifter 54 has an output and an input. The input is configured to receive the second local oscillator signal. The second phase shifter 54 is configured to shift the phase of the second local oscillator signal by 90 degrees and output the second local oscillator signal with a phase shift of 90 degrees through its output. The first mixer 56 has a first input, a second input, and an output. The first input is configured to receive the amplified first signal, and the second input is configured to receive the second local oscillator signal. The first mixer 56 is configured to mix the first signal with the second local oscillator signal to generate a third signal and output the third signal through its output. The second mixer 58 has a first input terminal, a second input terminal and an output terminal. Its first input terminal is used to receive the amplified second signal, and its second input terminal is used to receive the second local oscillator signal with a phase shift of ninety degrees. The second mixer 58 is used to mix the second signal with the second local oscillator signal with a phase shift of ninety degrees to obtain a fourth signal, and output the fourth signal through its output terminal.
[0063] The first phase shifter 60 is configured to phase-shift the input signal and output it. The first phase shifter 60 has an input and an output. The input is configured to receive the fourth signal. The first phase shifter 60 is configured to shift the phase of the fourth signal by ninety degrees to obtain a fifth signal having a second intermediate frequency, and then output the fifth signal. In this embodiment, after phase shifting by the first phase shifter 60 and the second phase shifter 54, the second intermediate frequency signal in the fifth signal and the second intermediate frequency signal in the third signal can be differential signals having opposite phases, and the mirror image frequency of the second intermediate frequency in the fifth signal and the mirror image frequency of the second intermediate frequency in the third signal can be in phase. In some embodiments, when the first mixer 56 in the second frequency conversion unit 50 is configured to mix the first signal with the second local oscillator signal having a ninety-degree phase shift to obtain the third signal, the first phase shifter 60 is configured to shift the phase of the third signal by ninety degrees to obtain the fifth signal having the second intermediate frequency.
[0064] Referring again to Figure 2 , the second IF differential channel 70 is used to amplify and filter the second IF differential signal before outputting it. The second IF differential channel 70 has a first input, a second input, a first output, and a second output. The first input is used to receive the third signal, and the second input is used to receive the fifth signal. The second IF differential channel 70 is used to differentially amplify and filter the second IF signal in the fifth signal and the second IF signal in the third signal to generate a differential IF signal, and output the differential IF signal through its first and second outputs.
[0065] Referring again to FIG. 3 , in some embodiments, the second IF differential channel 70 includes a second IF differential amplifier 72 and a second IF differential filter 74. The first input of the second IF differential amplifier 72 is used to receive the third signal, and the second input of the second IF differential amplifier 72 is used to receive the fifth signal. The amplifier 72 is used to differentially amplify the second IF signal in the fifth signal and the second IF signal in the third signal. The second IF differential filter 74 is used to perform a second IF differential filter on the differential signal after differential amplification by the second IF differential amplifier 72 to obtain a differential IF signal. In some embodiments, before the differential IF signal is input to the analog-to-digital converter, the second IF differential filter 74 can also be used to suppress signals at the Nyquist image frequency of the analog-to-digital converter.
[0066] Please refer to FIG. 2 again, and the working principle of the differential mixing circuit will be described in detail below.
[0067] After the radio frequency signal received by the differential mixing circuit passes through the first frequency conversion unit 20 and the differential signal conversion unit 30 , two signals, a first signal and a second signal, are generated, which have a phase difference of 180°.
[0068] Assume that the signal of the first intermediate frequency in the first signal is:
[0069] RF1=cos(w1*t)
[0070] Then the signal of the first intermediate frequency in the second signal is:
[0071] RF2=cos(w1*t+π)
[0072] The second local oscillator signal is:
[0073] LO1= cos(w2*t)
[0074] The second phase shift unit 54 shifts the second local oscillation signal by 90 degrees to obtain the signal:
[0075] LO2= cos(w2*t+π / 2)
[0076] The first mixer 56 mixes the third signal, and the signal of the second intermediate frequency in the third signal is:
[0077] IF1=RF1-LO1= cos(w1*t-w2*t)
[0078] The second mixer 58 mixes the fourth signal, and the signal of the second intermediate frequency in the fourth signal is:
[0079] IF2=RF2-LO2= cos(w1*t-w2*t+π / 2)
[0080] The first phase shift unit 60 shifts the fourth signal by 90 degrees to obtain a fifth signal, and the second intermediate frequency signal in the fifth signal is:
[0081] IF3= cos(w1*t-w2*t+π)
[0082] It can be seen that after phase shifting by the first phase shifter 60 and the second phase shifter 54 , the second intermediate frequency signal IF3 in the fifth signal and the second intermediate frequency signal IF1 in the third signal have a phase difference of 180°, so they can be amplified subsequently by the second intermediate frequency differential channel 70 .
[0083] The signal of the mirror frequency of the second intermediate frequency in the third signal is:
[0084] IF4= LO1- RF1= cos(w2*t-w1*t)
[0085] The signal of the mirror frequency of the second intermediate frequency in the fourth signal is:
[0086] IF5= LO2- RF2= cos(w2*t-w1*t-π / 2)
[0087] The first phase shift unit 60 shifts the fourth signal by 90 degrees to obtain a fifth signal. The signal of the mirror frequency of the second intermediate frequency in the fifth signal is:
[0088] IF6= cos(w2*t-w1*t)
[0089] As can be seen, after phase shifting by the first phase shifter 60 and the second phase shifter 54, the phase of the image frequency signal IF6 of the second IF in the fifth signal is the same as the phase of the image frequency signal IF4 of the second IF in the third signal. Therefore, it will not be amplified by the second IF differential channel 70, and therefore no filter is needed to suppress the image signal.
[0090] As can be seen from the above embodiment, the signal is first converted into a differential signal by the differential signal conversion unit 30. Then, for one of the differential signals, the second local oscillator signal is phase-shifted by 90 degrees by the second phase shifter 54 before mixing. After mixing, the second local oscillator signal is phase-shifted by 90 degrees by the first phase shifter 60. As a result, the phases of the second intermediate frequency signals in the two signals differ by 180 degrees, and the phases of the mirror frequency signals of the second intermediate frequency in the two signals are the same. Finally, the second intermediate frequency differential channel 70 prevents the signal of the mirror frequency of the second intermediate frequency from being amplified, thereby eliminating the need for a filter to suppress the mirror signal.
[0091] As can be seen from the above embodiment, compared to existing three-stage superheterodyne frequency conversion circuits, this embodiment requires only two frequency conversion stages: the first frequency conversion unit 20 and the second frequency conversion unit 50. This effectively suppresses the image frequencies of the intermediate frequency signal, thereby simplifying the circuit structure and facilitating the miniaturization of the spectrum analyzer. Furthermore, the reduction of one frequency conversion stage also reduces the number of amplifiers in the circuit, thereby lowering the system's noise figure and improving the receiver sensitivity of the differential mixer circuit.
[0092] As can be seen from the above embodiment, since the second local oscillator signal is a low local oscillator signal and the second mixer 58 shifts the phase of the second local oscillator signal by 90 degrees via the second phase shifter 54 before mixing, the direction of the 90-degree phase shift of the second local oscillator signal needs to be the same as the direction of the 90-degree phase shift of the fourth signal. As a result, the second intermediate frequency signal IF3 in the fifth signal and the second intermediate frequency signal IF1 in the third signal have a phase difference of 180°, and the second intermediate frequency image frequency signal IF6 in the fifth signal and the second intermediate frequency image frequency signal IF4 in the third signal have the same phase.
[0093] In some embodiments, when the second local oscillator signal is a low local oscillator signal and the second mixer 58 performs a ninety-degree phase shift on the second signal via the second phase shift unit 54 before mixing, the direction in which the second signal is phase shifted by ninety degrees is opposite to the direction in which the fourth signal is phase shifted by ninety degrees, thereby achieving the same effect.
[0094] In some embodiments, when the second local oscillator signal is a high local oscillator signal, and the second mixer 58 performs a ninety-degree phase shift on the second local oscillator signal via the second phase shift unit 54 before mixing, the direction of the ninety-degree phase shift of the second local oscillator signal is opposite to the direction of the ninety-degree phase shift of the fourth signal, thereby achieving the same effect.
[0095] In some embodiments, when the second local oscillator signal is a high local oscillator signal, and the second mixer 58 performs a ninety-degree phase shift on the second signal through the second phase shift unit 54 before mixing, the direction in which the second signal is phase shifted by ninety degrees is the same as the direction in which the fourth signal is phase shifted by ninety degrees, thereby achieving the same effect.
[0096] As can be seen from the above embodiments, the first phase shift unit 60 and the second phase shift unit 54 respectively shift the phase of the signal before and after mixing. The phase shift directions can be the same or opposite depending on the situation and achieve the same effect.
[0097] 4 , some embodiments provide a spectrum analyzer including a differential mixing circuit 82 , an analog-to-digital sampling module 84 , a digital signal processing module 86 , and a display module 88 , which are described in detail below.
[0098] The differential mixing circuit 82 adopts the differential mixing circuit in the above embodiment, which is used to mix, amplify and filter the input signal and then output a differential intermediate frequency signal.
[0099] The analog-to-digital sampling module 84 is used to perform analog-to-digital conversion on the differential intermediate frequency signal and output a digital signal.
[0100] The digital signal processing module 86 is used to process the digital signal and output a frequency domain waveform.
[0101] The display module 88 is used to display the frequency domain waveform.
[0102] Please refer to Figure 5 again. In some embodiments, a differential mixing method is provided, which is used to mix, amplify, and filter the received signal to obtain a required intermediate frequency signal, while also filtering out the mirror frequency signal of the intermediate frequency. A detailed description of this method is provided below.
[0103] Step 100: Acquire an input signal, and mix the input signal with a first local oscillator signal to obtain a signal with a first intermediate frequency.
[0104] Step 200: Convert the signal having the first intermediate frequency into a differential signal, wherein the differential signal includes a first signal and a second signal having opposite phases.
[0105] Step 300: Mixing the first signal with a second local oscillator signal to obtain a third signal having a second intermediate frequency, and mixing the second local oscillator signal with the second signal after shifting its phase by ninety degrees to obtain a fourth signal having a second intermediate frequency; or, mixing the second signal with the second local oscillator signal after shifting its phase by ninety degrees to obtain a fourth signal having a second intermediate frequency.
[0106] Step 400: Shift the phase of the fourth signal by ninety degrees to obtain a fifth signal having a second intermediate frequency, so that the signal of the second intermediate frequency in the fifth signal and the signal of the second intermediate frequency in the third signal are differential signals with opposite phases to each other, and the signal of the mirror image frequency of the second intermediate frequency in the fifth signal and the signal of the mirror image frequency of the second intermediate frequency in the third signal have the same phase.
[0107] Step 500: differentially amplify and differentially filter the signal of the second intermediate frequency in the fifth signal and the signal of the second intermediate frequency in the third signal to obtain a differential intermediate frequency signal.
[0108] In some embodiments, when the second local oscillator signal is a low local oscillator signal, the direction of the ninety-degree phase shift of the second local oscillator signal is the same as the direction of the ninety-degree phase shift of the fourth signal; alternatively, the direction of the ninety-degree phase shift of the second signal is opposite to the direction of the ninety-degree phase shift of the fourth signal. Alternatively, when the second local oscillator signal is a high local oscillator signal, the direction of the ninety-degree phase shift of the second local oscillator signal is opposite to the direction of the ninety-degree phase shift of the fourth signal; alternatively, the direction of the ninety-degree phase shift of the second local oscillator signal is the same as the direction of the ninety-degree phase shift of the fourth signal.
[0109] In some embodiments, the differential mixing method further includes: amplifying the first intermediate frequency signal in the first signal before mixing the first signal with the second local oscillator signal, and amplifying the first intermediate frequency signal in the second signal before mixing the second local oscillator signal with the second signal after shifting the phase of the second local oscillator signal by ninety degrees.
[0110] Some embodiments provide a computer-readable storage medium having a program stored thereon. The program can be executed by a processor to implement the above-mentioned differential mixing method.
[0111] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above embodiments can be implemented by hardware or by computer program. When all or part of the functions in the above embodiments are implemented by computer program, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above functions can be implemented. In addition, when all or part of the functions in the above embodiments are implemented by computer program, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and saved in the memory of the local device by downloading or copying, or the system of the local device is updated. When the program in the memory is executed by the processor, all or part of the functions in the above embodiments can be implemented.
[0112] The above examples are used to illustrate the present invention, which are only used to help understand the present invention and are not intended to limit the present invention. Those skilled in the art can make several simple deductions, modifications or substitutions based on the concept of the present invention.
Claims
1. A differential mixer circuit, It is characterized in that include: A first frequency conversion unit, configured to mix a signal received at its input end with a first local oscillator signal to output a signal having a first intermediate frequency; A differential signal conversion unit, whose input end is used to receive the signal with the first intermediate frequency, and convert the signal with the first intermediate frequency into a differential signal and then output it, wherein the differential signal includes a first signal and a second signal with opposite phases; a second frequency conversion unit, wherein a first input terminal of the second frequency conversion unit is used to receive the first signal and mix the first signal with a second local oscillator signal to output a third signal with a second intermediate frequency; Its second input terminal is used to receive the second signal, and mix the second signal with the second local oscillator signal with a phase shift of ninety degrees to output a fourth signal with a second intermediate frequency; Alternatively, the second signal is phase-shifted by ninety degrees and then mixed with the second local oscillator signal to output a fourth signal having a second intermediate frequency; a first phase shift unit, whose input end is used to receive the fourth signal, and output a fifth signal with a second intermediate frequency after shifting the phase of the fourth signal by ninety degrees, so that the signal of the second intermediate frequency in the fifth signal and the signal of the second intermediate frequency in the third signal are differential signals with opposite phases to each other, and the signal of the mirror frequency of the second intermediate frequency in the fifth signal and the signal of the mirror frequency of the second intermediate frequency in the third signal have the same phase; A second intermediate frequency differential channel, whose first input end is used to receive the third signal, and whose second input end is used to receive the fifth signal, and differentially amplifies and differentially filters the signal of the second intermediate frequency in the fifth signal and the signal of the second intermediate frequency in the third signal to obtain a differential intermediate frequency signal; The differential mixing circuit further includes two first intermediate frequency amplifiers, one of which is used to amplify a first intermediate frequency signal in the first signal before the first input end of the second frequency conversion unit receives the first signal; Another first intermediate frequency amplifier is used to amplify the first intermediate frequency signal in the second signal before the second input end of the second frequency conversion unit receives the second signal.
2. The differential mixer circuit according to claim 1, It is characterized in that The second frequency conversion unit comprises: A second local oscillator, used to generate the second local oscillator signal; A second phase shift unit, whose input end is used to receive the second local oscillator signal and output the second local oscillator signal after shifting the phase of the second local oscillator signal by ninety degrees; or, whose input end is used to receive the second signal and output the second local oscillator signal after shifting the phase of the second signal by ninety degrees; a first mixer, wherein a first input terminal of the first mixer is used to receive the first signal, a second input terminal of the first mixer is used to receive the second local oscillator signal, and the first signal is mixed with the second local oscillator signal to output the third signal; A second mixer, whose first input end is used to receive the second signal, and whose second input end is used to receive the second local oscillator signal with a phase shift of ninety degrees, and mix the second signal with the second local oscillator signal with a phase shift of ninety degrees to output the fourth signal; or, whose first input end is used to receive the second signal with a phase shift of ninety degrees, and whose second input end is used to receive the second local oscillator signal, and mix the second signal with a phase shift of ninety degrees with the second local oscillator signal to output the fourth signal.
3. The differential mixer circuit according to claim 1 or 2, It is characterized in that When the second local oscillator signal is a low local oscillator signal, the direction in which the second local oscillator signal is phase-shifted by ninety degrees is the same as the direction in which the fourth signal is phase-shifted by ninety degrees; or, the direction in which the second signal is phase-shifted by ninety degrees is opposite to the direction in which the fourth signal is phase-shifted by ninety degrees; or, When the second local oscillation signal is a high local oscillation signal, the direction of the second local oscillation signal phase shift of ninety degrees is opposite to the direction of the fourth signal phase shift of ninety degrees; or, the direction of the second signal phase shift of ninety degrees is the same as the direction of the fourth signal phase shift of ninety degrees.
4. The differential mixer circuit according to claim 1, It is characterized in that The differential signal conversion unit comprises: A balun transformer, wherein a first end of its input terminal is used to receive the signal with the first intermediate frequency, a second end of its input terminal is grounded, and the signal with the first intermediate frequency is converted into a differential signal, and the first signal is output through a first end of its output terminal, and the second end of its output terminal outputs the second signal.
5. The differential mixer circuit according to claim 1, It is characterized in that The first frequency conversion unit comprises: A pre-filter, used for filtering the signal received at its input end and then outputting it, so as to filter out the signal of the mirror frequency of the first intermediate frequency in the received signal; A first local oscillator, used to generate the first local oscillator signal; The third mixer has a first input end for receiving the signal filtered by the prefilter and a second input end for receiving the first local oscillator signal, and mixes the signal filtered by the prefilter with the first local oscillator signal to output the signal with the first intermediate frequency.
6. The differential mixer circuit according to claim 1, It is characterized in that The second intermediate frequency differential channel includes: A second intermediate frequency differential amplifier, whose first input end is used to receive the third signal, whose second input end is used to receive the fifth signal, and used to differentially amplify the signal of the second intermediate frequency in the fifth signal and the signal of the second intermediate frequency in the third signal; The second intermediate frequency differential filter is used to perform second intermediate frequency differential filtering on the differential signal after differential amplification by the second intermediate frequency differential amplifier to obtain the differential intermediate frequency signal.
7. A spectrum analyzer, It is characterized in that include: The differential mixer circuit according to any one of claims 1 to 6, used to mix, amplify and filter the input signal and then output a differential intermediate frequency signal; An analog-to-digital sampling module, used for performing analog-to-digital conversion on the differential intermediate frequency signal and outputting a digital signal; A digital signal processing module, used for processing the digital signal and outputting a frequency domain waveform; A display module is used to display the frequency domain waveform.
8. A differential mixing method, It is characterized in that include: Acquire an input signal, and mix the input signal with a first local oscillator signal to obtain a signal with a first intermediate frequency; Converting the signal having the first intermediate frequency into a differential signal, wherein the differential signal includes a first signal and a second signal having opposite phases; Mixing the first signal with a second local oscillator signal to obtain a third signal with a second intermediate frequency, and mixing the second local oscillator signal with the second signal after shifting its phase by ninety degrees to obtain a fourth signal with a second intermediate frequency; Alternatively, the second signal is phase-shifted by ninety degrees and then mixed with the second local oscillator signal to obtain a fourth signal having a second intermediate frequency; A fifth signal having a second intermediate frequency is obtained by shifting the phase of the fourth signal by ninety degrees, so that the signal of the second intermediate frequency in the fifth signal and the signal of the second intermediate frequency in the third signal are differential signals with opposite phases to each other, and the signal of the mirror image frequency of the second intermediate frequency in the fifth signal and the signal of the mirror image frequency of the second intermediate frequency in the third signal have the same phase; Performing differential amplification and differential filtering on the signal of the second intermediate frequency in the fifth signal and the signal of the second intermediate frequency in the third signal to obtain a differential intermediate frequency signal; Before mixing the first signal with the second local oscillator signal, the signal of the first intermediate frequency in the first signal is amplified, and before mixing the second local oscillator signal with the second signal after shifting its phase by ninety degrees, the signal of the first intermediate frequency in the second signal is amplified; Alternatively, before mixing the second signal with the second local oscillator signal after shifting the phase of the second signal by ninety degrees, the signal of the first intermediate frequency in the second signal is amplified.
9. A computer-readable storage medium, It is characterized in that The medium stores a program, which can be executed by a processor to implement the method according to claim 8 .
Citation Information
Patent Citations
A down-conversion device and method for a superheterodyne signal receiving and analyzing instrument
CN109743069A
Harmonic suppression circuit and receiver
CN114826306A
Differential mixing circuit, spectrum analyzer, differential mixing method and medium
CN115833859A
Superheterodyne apparatus with improved image rejection
EP3843282A1
Image rejection mixer
JP2015070363A
Cited By
Radio frequency transmitter and electronic equipment
CN121012524A
