The present application relates to devices and methods, and more particularly to devices and methods for testing a mixer.
With the increased demand for millimeter wave-based radio frequency (RF) systems, there has been a corresponding interest in integrating such RF systems on silicon-based integrated circuits instead of using discrete III/V-based semiconductor components. Millimeter wave frequencies as used herein may refer to frequencies between about 30 GHz and about 300 GHz. Common applications for millimeter wave-based RF systems include, for example, automotive radar and high frequency communication systems. By using silicon integration, large volumes of these RF systems can be manufactured at lower costs than discrete component-based systems.
Testing millimeter wave-based systems, however, may be difficult and comparatively expensive. For example, in systems that operate at over 10 GHz, precision test fixtures and equipment conventionally used to test these systems are expensive. These test fixtures and equipment are comparatively time consuming to operate, calibrate and maintain, and RF probes used for testing have a limited lifetime and wear out over time. Physical deformations, such as bent contacts, can affect high frequency matching networks and corrosion of contacts and connectors can degrade attenuation characteristics of such a test setup. Furthermore, the expertise required to maintain and operate such RF equipment is not often available in high volume semiconductor test environments. As such, even if large volumes of millimeter wave RF integrated circuits can be manufactured, the testing of the integrated circuits may result in a bottleneck that reduces throughput.
One type of circuit component frequently employed in such RF systems, but also in other systems, is a mixer. Mixers generally mix a signal having a first frequency with a signal having a second frequency, resulting in a signal having a third frequency. For example, such mixers are used in frequency downconverters such as homodyne millimeter wave frequency downconverters. For such downconverters, for example, an incoming RF signal is mixed with a local oscillator (LO) signal resulting in an intermediate frequency (IF) signal which may then be further processed. For testing such mixers or other RF circuits, conventional and comparatively expensive RF test equipment has to be placed and operated within a production environment, which is not desirable. Furthermore, high frequency test signals have to be provided to the device under test and also measured at the device under test. For mass fabrication, the precision of this test approach may be limited, and the costs are high.
An alternative approach to the above-described test equipment which has been developed recently is to generate the necessary signals for performing a test on the chip itself. This approach may be used for built-in self-test (BIST) without the use of any external testing equipment if corresponding evaluation circuitry for evaluating the test measurements are also included on the chip. With current testing approaches, for example, a LO signal is generated by a digitally controlled VCO (voltage controlled oscillator), and a test signal for an RF input of the mixer is generated using a single side band modulator. For operation of these single side band modulators, two external IF input signals with a relative phase shift of 90° are required. For supplying these signals, an additional analog test interface is required with additional package pins. Furthermore, while this approach works generally well and is an improvement over previous approaches that use test equipment, the additional components required on the chip will require considerable chip area.
According to an embodiment of a radio frequency (RF) device, the device includes a mixer and a test circuit. The mixer includes a RF input, a local oscillator (LO) input and an output. The test circuit includes a phase shifter and is configured to apply, in a test mode, a first input signal to the LO input and a second input signal to the RF input. The first input signal and the second input signal have essentially a same frequency. The phase shifter is configured to phase-shift the first input signal relative to the second input signal.
According to an embodiment of a method, the method includes providing a first test signal and a second test signal, where the first test signal and the second test signal have essentially a same frequency. The method includes setting one or more phase differences between the first test signal and the second test signal and applying, for each one of the one or more phase differences, the first test signal to a LO input of a mixer and the second test signal to a RF input of the mixer. The method includes measuring an output of the mixer for each one of the one or more phase differences to provide a corresponding one or more measurement results, and evaluating the one or more measurement results to determine one or more values for the mixer.
According to an embodiment of a RF device, the device includes a LO terminal, a RF signal terminal, and a mixer that includes a LO input, a RF input and an intermediate frequency (IF) output. The LO input is coupled to the LO terminal via a first coupler and the RF input is coupled to the RF terminal via a second coupler. The device includes a buffer configured to couple the first coupler to the second coupler during a test mode, a controllable phase shifter configured to phase-shift a LO input signal relative to a RF input signal during the test mode and a power detector configured to detect a power of the RF input signal.
The above summary is merely intended to provide a brief overview of some embodiments and features and is not to be construed as limiting. In particular, other embodiments may include different features than the ones set forth above.
The accompanying drawings are included to provide a further understanding of embodiments and are incorporated in and constitute a part of this specification. The drawings illustrate embodiments and together with the description serve to explain principles of embodiments. Other embodiments and many of the intended advantages of embodiments will be readily appreciated as they become better understood by reference to the following detailed description. The elements of the drawings are not necessarily to scale relative to each other. Like reference numerals designate corresponding similar parts.
In the following, various embodiments will be discussed in reference to the attached drawings. While embodiments may be described using particular details, features or elements, this is for illustration purposes only and is not to be construed as limiting. For example, in other embodiments some of the details, features or elements may be omitted and/or be replaced by alternative details, features or elements. Furthermore, in embodiments apart from the features or elements explicitly discussed and shown in the drawings, other features or elements, for example features or elements conventionally used in mixer testing and/or in RF circuits, may be provided.
Features or elements from different embodiments may be combined to form further embodiments. Variations or modifications described with respect to one of the embodiments may also be applicable to other elements. Any electrical connections or couplings between elements shown may be direct connections or couplings, i.e. connections or coupling without additional intervening elements, for example may be simple metal connections, or may be indirect connections or couplings, i.e. connections or couplings including one or more additional intervening elements, as long as the general purpose of the connection or coupling, for example to transmit a certain kind of signal or information or to provide a certain kind of control, is essentially maintained. Any numerical values or signal waveforms given are merely for illustration purposes, and numerical values or signal waveforms may vary according to a particular implementation.
In various embodiments, a first test signal applied to a radio frequency (RF) input of a mixer and a second test signal applied to a local oscillator (LO) input of the mixer have essentially the same frequency, for example, are derived from or based on the same signal. In embodiments, the first and second test signals are applied with varying phase differences, and based on a response of the mixer a property of the mixer may be determined, or correct operation of the mixer may be ascertained. Examples for such concepts and techniques will now be discussed referring to the Figures by way of example.
Turning now to the Figures, in
RF circuit portion 11 includes a mixer 13. Mixer 13 receives an RF signal RFin at an RF input and a local oscillator signal LOin at an LO input and outputs an intermediate frequency (IF) signal IFout at an IF output. In various embodiments, any suitable implementation may be used for mixer 13.
The RF signal RFin may for example be or be derived from an RF signal received via an input terminal 16, and the RF circuit portion 11 may output a signal based on IFout via an output terminal 17. It should be noted that as the following explanations will focus on how to test mixer 13, only mixer 13 is illustrated in RF circuit portion 11 of
To test mixer 13, a signal schematically labelled 18 in
Signal 18 may be generated by a signal source such as a voltage controlled oscillator and may have a frequency similar to the frequency of the LO signal LOin. In some embodiments, a local oscillator that is used for generating LOin in normal operation may also be used for generating the signal 18. In other embodiments, the signal 18 may be applied via an external signal input, for example via input terminal 16. Therefore, various configurations are possible as long as two signals having the same or essentially the same (for example ±5% or ±10%) frequency to two inputs of mixer 13 with an adjustable phase shift.
The embodiment of
Furthermore, the circuit of
For testing purposes, the circuit of
In test mode, a LO signal generated by a local oscillator continues to be supplied at terminal 29. Furthermore, in test mode, buffer 27 is controlled via SPI 23 to be active such that the LO signal is forwarded via coupler 25 to the RF input of mixer 22. It should be noted that in regular operation (outside of test mode), buffer 27 is deactivated, thus effectively interrupting the path from coupler 20 to coupler 25 via buffer 27. Phase shifter 21 is controlled to provide varying phase shifts. In the position of phase shifter 21 shown in
Phase shifter 21 may be implemented in a variety of ways. In various embodiments, a passive phase shifter that includes, for example, switchable delay lines and/or varactor tuned delays may be used. In other embodiments, active phase shifters, for example vector modulators or phase shifters using a synthesis by superpositioning of sine waves may be used. In other embodiments, other suitable types of phase shifters may be used.
Buffer 27 as described in the illustrated embodiments provides an on/off functionality to selectively couple coupler 20 to coupler 25 via buffer 27. In some embodiments, instead of a buffer, a simple switch may be used which may be opened or closed.
In addition, the device of
The IF signal generated by mixer 22 may be output in analog form or in digital form via an optional analog to digital converter 24. For testing mixer 22 and/or for determining properties thereof, the IF signal is evaluated for example for different phase shifts applied by phase shifter 21. This will be now explained with reference to
Generally, mixer 22 for signals at its local oscillator LO and radio frequency RF inputs having the same frequency outputs a DC signal (i.e. a signal with frequency zero). As apart from phase-shifting with the testing scheme of
With the embodiment of
To illustrate testing further,
At 40 in
At 41, the method includes setting a phase difference, for example by controlling phase shifter 19 of
At 44, if all desired phases are not measured, the method reverts to 41 to set a different phase difference, for example by incrementing the phase difference by a predetermined value (e.g. 22.5° or 45°). When all the phases are measured (for example over) 360°, at 45 the method comprises evaluating the measurements. For example, a sine function or cosine function may be fitted to the measurements, and the peak-to-peak DC offset value may be determined based on the fit. In other embodiments, other algorithms or approaches may be used to find peak values in the measurement and to determine a peak-to-peak offset. In other embodiments, only half of a period may be measured, and a peak-to-zero ratio may be determined. In some embodiments, measuring at least one full period (from 0 to 360°) may increase accuracy. In the illustrated embodiment, based on the DC offset and the power of the RF signal, as explained above, a conversion gain of the mixer may be determined.
As already mentioned, in some embodiments it may be desirable to test a mixer together with circuitry coupled to the mixer. In some embodiments, components acting as high pass filters, for example serial capacitors, may be coupled to the IF output of the mixer, which then blocks a DC signal. In some embodiments, the phase difference may be set to a new value with a comparatively high frequency (for example 41 to 43 may be performed repetitively using a comparatively high frequency such as every 0.125 microseconds which corresponds to a speed of 8 MHz) such that a resulting signal at the IF output of the mixer may be, at least in part, transferred via such a high frequency path. In one embodiment, a periodic signal with a corresponding frequency of 8 MHz may be generated. An example for such an approach will now be explained with reference to
An oscillator 55 generates a LO signal, which is fed via a splitter 54 and a phase shifter 53 to an LO input of mixer 52. It should be noted that in normal operation (outside of test mode), splitter 54 and phase shifter 53 are inactive and, for example, just pass through the signal generated by oscillator 55 to the LO input of mixer 52. An IF signal is output to an analog-to-digital converter 59 via a serial capacitance represented as a high pass filter 56, a variable gain amplifier 57 and a low pass filter 58. Low pass filter 58 may in particular serve as an anti-aliasing filter. Analog-to-digital converter 59 then outputs a digital representation of the received and down-converted signal.
In test mode, which may be controlled via digital control interface 510 (for example, a SPI), no RF signal is received externally. Instead, splitter 54 is operated to split the signal received from oscillator 55 and to feed a part of this signal, via coupler 50, to low noise amplifier 51 and therefore to the RF input of mixer 52. The other part of the signal is fed to the LO terminal of mixer 52 via phase shifter 53. Phase shifter 53 is now active to rapidly change the phase difference between the signals, as explained previously. For example, in one embodiment, digital control interface 510 may have a programming speed of 8 MHz and 45° phase steps are programmed every 0.125 μs. Generally, in various embodiments, the frequency of change of phase shifting is selected to be higher than a corner frequency of high pass filter 56.
This results in a DC offset of the signal output of the IF terminal of mixer 52 which has discrete values changing with a high frequency while 511 denotes an example signal. While high pass filter 56 removes DC components, as the signal 511 is periodic with a high frequency (e.g. 1 MHz in the example above, 8 MHz×45°/360°, an essentially differentiated version of the signal as schematically represented as 512 is output by high pass filter 56. This signal is amplified by amplifier 57, resulting in a signal waveform similar to the one schematically labelled with numeral 513. Low pass filter 58 then “smoothes” this signal. Depending on how exactly higher harmonic components are removed, a more or less sinusoidal waveform 514 results, which is then converted to a digital signal. This on the one hand may test the conversion range of analog-to-digital converter 59, and on the other hand tests the complete receive chain, and with an additional power measurement conversion gain may also be determined as explained above. Therefore, by changing the phase with a sufficiently high frequency, even in case of a high pass filter 56 a testing may be performed. In other embodiments, an additional output bypassing high pass filter 56 may be provided for testing purposes, which is then deactivated in normal operation.
In some embodiments, additionally the frequency of change of phase shifting may be varied to include at least one frequency below a nominal corner frequency of high pass filter 56. “Nominal” here refers to the corner frequency high pass filter 56 was designed for. In this way, an actual corner frequency of the high pass filter may be estimated e.g. by monitoring the signal strength passing high pass filter 56. Additionally or alternatively, the frequency of change of phase shift may be varied to include a frequency above a nominal corner frequency (also referred to as cutoff frequency) of low pass filter 58. By evaluating the attenuation of a signal at an output of low pass filter 58 compared to a signal where the frequency of change of phase shift is below the corner frequency of low pass filter 58, the actual corner frequency of low pass filter 58 may be estimated in some embodiments.
Device 69 of
First downconverter 61A to 66A receives a first radio frequency signal RF1, and second downconverter 61B to 66B receives a second radio frequency signal RF2. Components 61A to 66A of the first downconverter correspond to components 61B to 66B of the second downconverter, respectively (i.e. 61A corresponds to 61B, 62A corresponds to 62B etc.). Therefore, only components 61A to 66A will be described in detail and the description applies correspondingly to components 61B to 66B.
In the first downconverter, signal RF1 is fed to a low noise amplifier (LNA) 65A via a coupler 66A. LNA 65A outputs an amplified version of the radio frequency signal RF1 as a differential signal to respective RF inputs of a first mixer 63A and a second mixer 64A.
Furthermore, in the first downconverter, the LO signal is received from power splitter 60 at a LO buffer 61A. The LO signal is then fed to a polyphase filter 62A which outputs two versions of the LO signal with a phase offset of 90° relative to each other. In the example of
To test the mixers 63A, 64A, 63B and 64B, a test circuit 68 is provided. Test circuit 68 may operate as discussed previously with respect to
In view of the variations, modifications and alternatives discusses above, it is evident that the embodiments serve merely as examples, and are not to be construed as limiting.