The present invention relates to a digital transmitter and a method for calibrating a digital transmitter, and more particularly to a low noise and low cost digital transmitter and related calibration method.
In wireless communication system, using a digital transmitter to digitally amplify and transmit RF (Radio Frequency) signal can be the most area saving and power efficient way. Conventionally, there have two ways to implement the digital transmitter. The first type is thermo-coding, and the second type is binary-coding. For the thermo-coding digital transmitter, the output power is a combination of a plurality of unit powers outputted by a plurality of unit cells. Therefore, a thermo-coding digital transmitter may need a lots of unit cells to generate a high power output signal. On the other hand, the binary-coding digital transmitter uses a plurality of binary-coding cells to generate an amplified output signal. The number of the binary-coding cells is less than the number of unit cells of the thermo-coding digital transmitter because the binary-coding cell may generate power higher than the unit power of the thermo-coding digital transmitter. However, the coding cells may have different cell delays. The different cell delays of the coding cells may increase the noise floor of the amplified output signal because the coding cells may output their respective signals at different time.
Therefore, how to solve the cell delay problem of a digital transmitter is an urgent problem in the field of wireless communication system.
One objective of the present embodiment is to provide a low noise and low cost digital transmitter and related calibration method.
According to a first embodiment of the present invention, a digital transmitter is disclosed. The digital transmitter comprises a plurality of adjustable delay lines, a plurality of converting devices, and a calibration device. The plurality of adjustable delay lines is arranged to delay a plurality of digital input signals by a plurality of delay times to generate a plurality of delayed digital input signals respectively. The plurality of converting devices are arranged to convert the plurality of delayed digital input signals into a plurality of converting signals respectively. The calibration device is arranged to adjust a delay time of at least one adjustable delay line in the plurality of adjustable delay lines.
According to a second embodiment of the present invention, a method for calibrating a digital transmitter is disclosed. The method comprises the steps: using a plurality of adjustable delay lines to delay a plurality of digital input signals by a plurality of delay times to generate a plurality of delayed digital input signals respectively; using a plurality of converting devices to convert the plurality of delayed digital input signals into a plurality of converting signals respectively; and adjusting a delay time of at least one adjustable delay line in the plurality of adjustable delay lines.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Certain terms are used throughout the description and following claims to refer to particular components. As one skilled in the art will appreciate, electronic equipment manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
Please refer to
Following takes the binary-coding scheme as an example to explain the proposed calibration mechanism. The plurality of digital input signals D_1-D_n are a plurality of binary-coding digital bits respectively, wherein the digital input signal D_1 is the least significant bit (LSB) and the digital input signal D_n is the most significant bit (MSB) in the binary-coding digital bits. Therefore, the significances of the plurality of digital input signals D_1-D_n are orderly increased from D_1 to D_n. The plurality of binary-coding converting devices 104_1-104_n are arranged to generate the plurality of converting signals So_1-So_n having powers of P*20, P*21, P*22, . . . , P*2(n−1) respectively when plurality of binary-coding converting devices 104_2-104_n are turned on individually, in which P is the power of the converting signal So_1 generated by the converting device 102_1. In other words, the areas of the plurality of binary-coding converting devices 104_1-104_n are A*20, A*21, A*22, . . . , A*2(n−1) respectively in order to generate the above mentioned powers, in which A is the area of the converting device 102_1. However, in practice, the plurality of binary-coding converting devices 104_1-104_n may not receive the plurality of digital input signals D_1-D_n at the same time. Accordingly, the plurality of adjustable delay lines 102_1-102_n are used to provide the plurality of delay times t_1-t_n to the plurality of digital input signals D_1-D_n in order to make the plurality of delayed digital input signals Dt_1-Dt_n reach the plurality of binary-coding converting devices 104_1-104_n substantially at the same time. Therefore, the present calibration device 106 is aimed on adjust the plurality of delay times t_1-t_n to make the plurality of delayed digital input signals Dt_1-Dt_n reach the plurality of binary-coding converting devices 104_1-104_n substantially at the same time.
By using the concept of the digital transmitter 100 as shown in
The baseband data processing circuit 208 is arranged to modulate a digital baseband data N′ to generate a plurality of digital input signals D_1′-D_n′ according to an oscillating signal LO′. For example, the digital baseband data N′ is a differential digital baseband data having a differential in-phase component and a differential quadrature component, and the oscillating signal LO′ is arranged to sample the differential in-phase component and the differential quadrature component to generate the plurality of digital input signals D_1′-D_n′.
The plurality of adjustable delay lines 202_1-202_n are arranged to delay the plurality of digital input signals D_1′-D_n′ by a plurality of delay times t_1′-t_n′ to generate a plurality of delayed digital input signals Dt_1′-Dt_n′ respectively. The plurality of binary-coding converting devices 204_1-204_n are arranged to convert the plurality of delayed digital input signals Dt_1′-Dt_n′ into a plurality of converting signals So_1′-So_n′ respectively. It is noted that the plurality of converting signals So_1′-So_n′ are combined to be an amplified transmitting signal when the digital transmitter 200 is under the normal transmitting operation.
The calibration device 206 comprises a plurality of edge detecting circuits 2062_1-2062_(n−1), an adjusting circuit 2064, and a pattern determining circuit 2066. As shown in
More specifically, according the second embodiment, each edge detecting circuit is a bang-bang detector arranged to detect a first signal edge of a first delayed digital input signal and a second signal edge of a second delayed digital input signal. When the digital transmitter 200 performs the cell delay calibration, the plurality of edge detecting circuits 2062_1-2062_(n−1) are turned on one-by-one to detect the signal edges of two delayed digital input signals outputted by two consecutive adjustable delay lines respectively, and to one-by-one output plurality of determination signals Sd_1′-Sd_(n−1)′. Meanwhile, the adjusting circuit 2064 also one-by-one adjusts the plurality of delay times t_1′-t_n′ of the plurality of adjustable delay lines 202_1-202_n according to the plurality of determination signals Sd_1′-Sd_(n−1)′.
For example, when the cell delay calibration of the digital transmitter 200 begins, the first edge detecting circuit 2062_1 is first activated or enabled to detect the signal edges (e.g. rising edges or falling edges) of the first delayed digital input signal Dt_1′ and the second delayed digital input signal Dt_2′. Then, the first edge detecting circuit 2062_1 outputs the first determination signal Sd_1′ to the adjusting circuit 2064. The adjusting circuit 2064 determines if the second delayed digital input signal Dt_2′ leads or lags behind the first delayed digital input signal Dt_1′ according to the first determination signal Sd_1′. Then, the adjusting circuit 2064 outputs a second adjusting signal Sad_2′ to adjust the delay time t_2′ of the second adjustable delay lines 202_2 to align the signal edges of the first delayed digital input signal Dt_1′ and the second delayed digital input signal Dt_2′, which turns to make the first delayed digital input signal Dt_1′ and the second delayed digital input signal Dt_2′ to reach the binary-coding converting devices 204_1 and 204_2 substantially at the same time.
Then, the second edge detecting circuit 2062_2 is activated to detect the signal edges of the second delayed digital input signal Dt_2′ and the third delayed digital input signal Dt_3′ for generating the second determination signal Sd_2′ to the adjusting circuit 2064. The adjusting circuit 2064 determines if the third delayed digital input signal Dt_3′ leads or lags behind the second delayed digital input signal Dt_2′ according to the second determination signal Sd_2′. Then, the adjusting circuit 2064 outputs a third adjusting signal Sad_3′ to adjust the delay time t_3′ of the third adjustable delay lines 202_3 to make the second delayed digital input signal Dt_2′ and the third delayed digital input signal Dt_3′ to reach the binary-coding converting devices 204_2 and 204_3 substantially at the same time.
By using the similar idea, the calibration repeats until all of the plurality of delay times t_1′-t_n′ of the plurality of adjustable delay lines 202_1-202_n are calibrated such that the plurality of delayed digital input signals Dt_1′-Dt_n′ reach the plurality of binary-coding converting devices 204_1-204_n substantially at the same time. It is noted that the calibration may be started at the first adjustable delay line 202_1 and stopped at the first adjustable delay line 202_1 to form a closed loop calibration, or started at the first adjustable delay line 202_1 and stopped at the last adjustable delay line 202_n to form an open loop calibration.
Moreover, for two consecutive adjustable delay lines, the edge detecting circuit and the adjusting circuit 2064 are arranged to perform at least twice (or any even times) of the calibration upon an adjustable delay line in the two consecutive adjustable delay lines in order to overcome the dead-zone problem of the edge detecting circuit. More specifically, please refer to
To overcome the above problem, the first edge detecting circuit 2062_1 and the adjusting circuit 2064 perform twice (or any even times) of the calibration upon the second adjustable delay line 202_2. In the right side 304 of
In another embodiment, using an amplifier to amplify the time difference between the signal edges of the two delayed digital input signals before deciding their lead/lag relationship can reduce the dead-zone affect as well. In yet another embodiment, a dithering technique maybe applied onto the determination signal output by the adjusting circuit 2064 to decrease the accumulated error probability. These modifications shall all fall within the scope of the present invention.
Moreover, for two consecutive adjustable delay lines, to detect the signal edges of the two delayed digital input signals outputted by the two consecutive adjustable delay lines respectively, the corresponding two digital input signals must be conformed to a predetermined digital signal pattern. In other words, the two digital input signals must have the same rising-edge time and/or the same falling-edge time. Take the first adjustable delay line 202_1 and the second adjustable delay line 202_2 for example,
In this embodiment, the pattern determining circuit 2066 is arranged to detect if the digital signal patterns of the first digital input signal D_1′ and the second digital input signal D_2′ conform to the predetermined digital signal pattern according to the digital baseband data N′. If the digital signal patterns of the first the digital input signal D_1′ and the second digital input signal D_2′ conform to the predetermined digital signal pattern, the pattern determining circuit 2066 generates the valid signal Sv′ to active/enable the first edge detecting circuit 2062_1 to start detect the signal edges of the first the digital input signal D_1′ and the second digital input signal D_2′. After the calibration of the first adjustable delay line 202_1 and the second adjustable delay line 202_2, the pattern determining circuit 2066 then goes on to detect the digital signal patterns of the next two digital input signal (e.g. the digital input signal D_2′ and the third digital input signal D_3′) until all the plurality of adjustable delay lines 202_1-202_n are calibrated.
The edge detection is performed when the predetermined digital pattern is recognized from the digital baseband data N′, and this is for achieving background calibration. In other designs, the baseband data processing circuit 208 may generate a test pattern for performing delay calibration, and then the pattern determination step may be omitted.
Please refer to
Take the first adjustable delay line 202_1 and the second adjustable delay line 202_2 for example,
Although
By using the concept of the digital transmitter 100 as shown in
The plurality of adjustable delay lines 702_1-702_n are arranged to delay a plurality of digital input signals D_1″-D_n″ by a plurality of delay times t_1″-t_n″ to generate a plurality of delayed digital input signals Dt_1″-Dt_n″ respectively. The plurality of converting devices 704_1-704_n are arranged to convert the plurality of delayed digital input signals Dt_1″-Dt_n″ into a plurality of converting signals So_1″-So_n″ respectively. The plurality of converting signals So_1″-So_n″ are combined to be an amplified transmitting signal when the digital transmitter 700 is under the normal transmitting operation.
The calibration device 706 comprises a phase detecting circuit 7062 and an adjusting circuit 7064. The phase detecting circuit 7062 is coupled to the outputs of the plurality of converting devices 704_1-704_n. The phase detecting circuit 7062 is arranged to detect a phase difference between a first converting signal and a second converting signal in the plurality of converting signals So_1″-So_n″, wherein the first converting signal corresponds to a first delayed digital input signal in the plurality of delayed digital input signals Dt_1″-Dt_n″, the first delayed digital input signal is outputted by a first adjustable delay line in the plurality of adjustable delay lines 702_1-702_n, the second converting signal corresponds to a second delayed digital input signal in the plurality of delayed digital input signals Dt_1″-Dt_n″, and the second delayed digital input signal is outputted by a second adjustable delay line in the plurality of adjustable delay lines 702_1-702_n. The adjusting circuit 7064 is arranged to adjust a first delay time of the first adjustable delay line and/or a second delay time of the second adjustable delay line to substantially cancel the phase difference between the first converting signal and the second converting signal.
It is noted that if there has phase mismatch occurs between the plurality of converting signals So_1″-So_n″, noise and unwanted spurs may be induced in the amplified transmitting signal. Therefore, to reduce the noise and unwanted spurs in the amplified transmitting signal, the calibration device 706 in the third embodiment is arranged to one-by-one detect the phase difference between two converting signals in the plurality of converting signals So_1″-So_n″ and adjust one of the corresponding two adjustable delay lines to eliminate or reduce the phase difference between two converting signals. For example, the phase detecting circuit 7062 is arranged to first detect a phase difference between the first converting signal So_1″ and the second converting signal So_2″ to generate a determination signal Sd″ to the adjusting circuit 7064. Then, the adjusting circuit 7064 adjusts the second adjustable delay line 702_2 to cancel the phase difference between the first converting signal So_1″ and the second converting signal So_2″.
Then, the phase detecting circuit 7062 goes on detect a phase difference between the second converting signal So_2″ and the third converting signal So_3″ to generate the determination signal Sd″ to the adjusting circuit 7064. Then, the adjusting circuit 7064 adjusts the third adjustable delay line 702_3 to cancel the phase difference between the second converting signal So_2″ and the third converting signal So_3″. Then, the calibration device 706 goes on the calibration until all of the adjustable delay lines 702_1-702_n are calibrated such that the plurality of converting signals So_1″-So_n″ have substantially the same phase. It is noted that the calibration may be start at the first adjustable delay line 702_1 and stop at the first adjustable delay line 702_1 to form a closed loop calibration, or start at the first adjustable delay line 702_1 and stop at the last adjustable delay line 702_n to form an open loop calibration.
In addition, the calibration device 706 is not the limitation of the present invention. In another embodiment of the calibration device 706, the phase detecting circuit 7062 is arranged to detect a phase difference between a first converting signal in the plurality of converting signals So_1″-So_n″ and a second converting signal, wherein the first converting signal corresponds to a first delayed digital input signal in the plurality of delayed digital input signals Dt_1″-Dt_n″, the first delayed digital input signal is outputted by a first adjustable delay line in the plurality of adjustable delay lines 702_1-702_n, the second converting signal is a combination signal of the plurality of converting signals So_1″-So_n″. The adjusting circuit 7064 is arranged to adjust a first delay time of the first adjustable delay line to substantially cancel the phase difference between the first converting signal and the second converting signal.
More specifically, a reference signal generating circuit (not shown) is further included in the calibration device 706. The reference signal generating circuit is a duplicate circuit of the first adjustable delay line 702_1 and the first converting device 704_1. Therefore, the reference signal generating circuit generates a reference signal similar to the first converting signal So_1″. When the calibration device 706 starts the calibration, the phase detecting circuit 7062 is arranged to first detect a phase difference between the second converting signal So_2″ and a combination signal of the first converting signal So_1″ and the reference signal to generate a determination signal Sd″ to the adjusting circuit 7064. Then, the adjusting circuit 7064 adjusts the second adjustable delay line 702_2 to cancel the phase difference between the second converting signal So_2″ and the combination signal of the first converting signal So_1″ and the reference signal combination signal of the first converting signal So_1″ and the reference signal. It should be noted that, in this embodiment, the power of the combination signal of the first converting signal So_1′ and the reference signal is equal to the power of the second converting signal So_2″. For example, if the power of the first converting signal So_1′ is P, then the power of the reference signal is also P, the power of the power of the combination signal of the first converting signal So_1″ and the reference signal, and the power of the second converting signal So_2″ is also 2*P. In this calibration, the second converting signal So_2″ and the combination signal of the first converting signal So_1″ and the reference signal are generated in different times.
Then, the phase detecting circuit 7062 is arranged to detect a phase difference between the third converting signal So_3″ and a combination signal of the second converting signal So_2′, the first converting signal So_1″, and the reference signal to generate the determination signal Sd″ to the adjusting circuit 7064. Then, the adjusting circuit 7064 adjusts the third adjustable delay line 702_3 to cancel the phase difference between the third converting signal So_3″ and the combination signal of the second converting signal So_2″, the first converting signal So_1″, and the reference signal. Now, the power of third converting signal So_3″ is 4*P, and the power of the combination signal of the second converting signal So_2″, the first converting signal So_1″, and the reference signal is also 4*P (i.e. 2*P+P+P).
Then, the phase detecting circuit 7062 goes on detect a phase difference between the fourth converting signal So_4″ and a combination signal of the third converting signal So_3″, the second converting signal So_2″, the first converting signal So_1″, and the reference signal to generate the determination signal Sd″ to the adjusting circuit 7064. Then, the adjusting circuit 7064 adjusts the fourth adjustable delay line 702_4 to cancel the phase difference between the fourth converting signal So_4″ and the combination signal of the third converting signal So_3″, the second converting signal So_2″, the first converting signal So_1″, and the reference signal. Then, the calibration device 706 goes on the calibration until all of the adjustable delay lines 702_1-702_n are calibrated such that the plurality of converting signals So_1″-So_n″ have substantially the same phase. It is noted that the calibration may be start at the first adjustable delay line 702_1 and stop at the first adjustable delay line 702_1 to form a closed loop calibration, or start at the first adjustable delay line 702_1 and stop at the last adjustable delay line 702_n to form an open loop calibration.
As mentioned above, since the phase mismatch between the plurality of converting signals So_1″-So_n″ may induce noise and unwanted spurs, the phase detecting circuit 7062 may be modified to detect noise levels instead of phase characteristics. The calibration device 706 may one-by-one adjusts the plurality of adjustable delay lines 702_1-702_n according to a noise level of the plurality of converting signals So_1″-So_n″ in order to reduce the noise level. By calibrating the noise floor, the delay mismatch between the plurality of delay lines 702_1-702_n is calibrated simultaneously.
Step 802: Use the plurality of adjustable delay lines 202_1-202_n to delay the plurality of digital input signals D_1′-D_n′ by the plurality of delay times t_1′-t_n′ to generate the plurality of delayed digital input signals Dt_1′-Dt_n′ respectively;
Step 804: Use the plurality of binary-coding converting devices 204_1-204_n to convert the plurality of delayed digital input signals Dt_1′-Dt_n′ into the plurality of converting signals So_1′-So_n′ respectively;
Step 806: Generate the valid signal Sv′ by determining the digital signal pattern of the digital baseband data N′;
Step 808: Determine if the signal edges of two delayed digital input signal outputted by two consecutive adjustable delay lines are aligned and generate the determination signal; and
Step 810: Adjust one of the corresponding two adjustable delay lines to make the corresponding two converting devices receive the two delayed digital input signals substantially at the same time according to the determination signal;
Step 812: Determine if all of the adjustable delay lines 702_1-702_n are calibrated, if yes, go to step 814; if no, go to step 808;
Step 814: Calibration end.
Moreover,
Step 902: Use the plurality of adjustable delay lines 702_1-702_n to delay the plurality of digital input signals D_1″-D_n″ by the plurality of delay times t_1″-t_n″ to generate the plurality of delayed digital input signals Dt_1″ -Dt_n″ respectively;
Step 904: Use the plurality of binary-coding converting devices 704_1-704_n to convert the plurality of delayed digital input signals Dt_1″ -Dt_n″ into the plurality of converting signals So_1″-So_n″ respectively;
Step 906: Detect a phase difference between two converting signals in the plurality of converting signals So_1″-So_n″ to generate the determination signal Sd″;
Step 908: Adjust one of the corresponding two delay lines to substantially cancel the phase difference between the two converting signals;
Step 910: Determine if all of the adjustable delay lines 702_1-702_n are calibrated, if yes, go to step 912; if no, go to step 906;
Step 912: Calibration end.
Briefly, according to the description of the above embodiments, the present invention solves/reduces the output noise problem arises from the delay mismatch between the plurality of converting devices. The present invention uses a feedback loop to detect the signal edges of the delayed digital input signals or to detect the phase differences or noises of the converting signals, and accordingly adjust the adjustable delay lines for reducing the noise floor of output amplified signal. Accordingly, the present invention has the advantages of high accuracy and high resolution. The present invention is also simple to be implemented. The area and current consumption of the present digital power amplifying apparatus are small either.
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
This application claims the benefit of U.S. Provisional Application No. 61/825,630, which was filed on 2013 May 21 and is included herein by reference.
Number | Date | Country | |
---|---|---|---|
61825630 | May 2013 | US |