This application claims priority of German Application No. 10 2015 105 880.4 filed on Apr. 17, 2015, the entire contents of which is hereby incorporated by reference herein.
The present disclosure relates to a method for digitizing a sensed signal in a digitally assisted current sense circuit.
The present disclosure also relates to a digitally assisted current sense circuit that uses the disclosed method.
Current sensing circuits are an important part of digital controllers in dc to dc converters. There are three broad measurement methods that are used in current sense circuits, sense-fets for example by C. F. Lee, P. K. T. Mok, et al. in “A Monolithic Current-Mode CMOS DC-DC Converter With On-Chip Current-Sensing Technique”, vol. 39, no. 1, pp. 3-14, 2004, sensorless observer circuits for example by P. Midya, P. T. Krein, and M. F. Greuel, “Sensorless Current Mode Control—An Observer-Based Technique for Dc-Dc Converters”, Trans. Power Electron., vol. 16, no. 4, pp. 522-526, 2001 and A. Kelly and K. Rinne, “Sensorless current-mode control of a digital dead-beat DC-DC converter”, Ninet. Annu. IEEE Appl. Power Electron. Conf. Expo. 2004. APEC '04., vol. 3, pp. 1790-1795, and voltage drop measurement techniques for example by H. D. C. Dc, M. Supplies, et al., “Lossless Current Sensing in Low-Voltage,” IEEE Trans. IDUSTRIAL Electron., vol. 47, no. 6, pp. 1249-1252, 2000.
Each of these methods has different advantages and disadvantages when used with digital power controllers. Sense-fet's require the power fet and the sensing fet to match accurately and hence are limited by needing the digital power controller to be integrated onto the same process as the power-stage, because the two transistors must experience the same effects like temperature, voltage, process variations, and so on and hence must be fabricated on the same chip, or in multi-chip solutions require the use of a power-stage with integrated sense-fets included. Observer circuits synthesize the inductor current from known variables such as input voltage, output voltage and duty cycle but suffer from limited accuracy which can only be improved with tuning circuits for example by A. Prodic, Z. Lukic, et al., “Self-Tuning Digital Current Estimator For Low-Power Switching Converters”, pp. 529-534, 2011. While in voltage drop methods the voltage across a known resistance is sensed and used to generate the current. These circuits are also difficult to design as the resistance used is typically small for efficiency reasons and hence a small voltage must be sensed with high accuracy and bandwidth.
From above it can be seen that there is no simple way to sense and convert the current signal. Any method to ease this conversion is of great benefit.
Current sensing circuits are an important part of digital controllers in dc to dc converters. The current sense signal IL is usually a small voltage Vsense which must be digitized with high resolution, accuracy and bandwidth. Hence the analogue-to-digital converters (ADC's) used in these circuits are difficult to design, require significant silicon area and consume high current.
The disclosed invention describes a method to ease the design of the current sense ADC by using a modified digital observer circuit in parallel with the current sense path to provide an estimate of the sensed signal to the ADC. Depending on the ADC architecture used this estimate allows the ADC to use less current, have a smaller area or complete its conversion in less time and hence provides a significant advantage in the design of these circuits.
The present invention relates to a method for digitizing a sensed signal in a digitally assisted current sense circuit comprising the following steps: generating a voltage corresponding to a sensed inductor current; amplifying and buffering the voltage for creating an input signal to be converted by an analogue-to-digital converter (ADC) and the ADC uses an estimate of the inductor current provided by a modified digital observer circuit as a starting point for an analogue-to-digital conversion. The digital observer circuit is modified by using the previous ADC measurement to calculate the present estimate. Typically the previous estimate would be used. But as described later equation 4 is used rather than equation 3.
The modified digital observer circuit is used to estimate the current to be sensed. This estimate is then used by the ADC in the current sense path and this eases the operation of the ADC.
The inductor current is estimated from already known variables such as input voltage, output voltage and duty cycle. Hence the inductor current can be synthesized by a sensor-less digital circuit. One method to realize the estimate of the inductor current involves applying a bi-linear transformation to an I-V-relationship of a voltage across a power inductor whereas the estimate is performed in a controller of the modified digital observer circuit.
The inductor current IL,est can be calculated by the following I-V-relationship:
where VL is the voltage across the power inductor of inductance value L and dc resistance RL and Ts is the power converters switching frequency.
To make the above equation practical to use VL[n] can be replaced with the average voltage across the inductor, VL,ave[n], over one switching period of the converter. This voltage can be approximated by
V
L,ave
[n]=d[n]V
in
[n]−V
out
[n] (2)
where d[n] is the duty cycle for the nth period, Vin is the sampled input voltage and Vout is the sampled output voltage. This then leads to
The accuracy of the estimated current is mainly compromised by errors in the approximated value for VL,ave due to unknown parasitic resistances such as the power mosfet Rdson. These errors cause the estimated inductor current and the actual inductor current to diverge. To prevent such divergence the previous inductor current estimate is replaced with the accurate previous adc measurement of the inductor current. The previous inductor current is the current that was determined in the previous clock cycle [n−1], if [n] is the actual clock cycle.
In one embodiment of the invention it is advantageous to use a successive-approximation register analogue-to-digital converter (SAR ADC) that uses a modified data dependent algorithm for the analogue-to-digital conversion whereas the calculated estimate is used as the starting point for the SAR ADC conversion.
Data-dependent SAR ADCs are typically used in situations where the input signal has short periods of high activity as well as long periods of low activity. In these situations the input signal can be well approximated by the previous adc output and hence a data dependent successive approximation algorithm can be used to advantage over a binary search algorithm.
The modified data dependent algorithm uses 4 clock cycles (corresponding to 4 duty cycles) for sampling the input signal. Then RANGE+2 additional clock cycles are used for completing the analogue-to-digital conversion, if the estimate of the inductor current provided by the digital observer circuit is within a range of +/−2RANGE lsbs (last significant bits) of the final result. The purpose of this algorithm is to reduce the number of clock cycles needed per conversion by using the estimate provided by the observer circuit. If the estimate is accurate then the ADC quickly completes the conversion to full resolution however in cases where the estimate is not accurate, such as during transient current ramps, the ADC reduces its resolution and completes the conversion to less accuracy.
That means, if the sampled input falls within the range the SAR ADC completes the analogue-to-digital conversion to the full resolution of the SAR ADC; if the sampled input is outside the range, the SAR ADC widens its search range by a factor of 2 with each further clock cycle and once the range is found where the sampled input falls in the analogue-to-digital conversion is completed to less accuracy.
The variable RANGE is set based on an expected error of the estimator and noise of the sampled inductor current.
The present invention also relates to a digitally assisted current sense circuit comprising means for generating a voltage corresponding to a sensed inductor current; amplifier for amplifying and means for buffering the voltage for creating an input signal to be converted to a corresponding digital signal; an analogue-to-digital converter (ADC) for converting the input signal to the digital signal; and a modified digital observer circuit for providing an estimate of the inductor current as a starting point for the analogue-to-digital conversion of the ADC.
The modified digital observer circuit comprises a controller providing inputs for an input voltage, an output voltage, a clock cycle and a previous inductor current measurement and an output connected to an input of the ADC for forwarding an estimate of the inductor current to the ADC.
In one embodiment of the invention the ADC is a successive-approximation-register analogue-to-digital converter (SAR ADC).
The ADC can also be a flash analogue-to-digital converter (Flash ADC) that uses the modified digital observer circuit for reducing the necessary number of comparators that are needed to convert an analogue signal into a digital signal.
By using the modified digital observer circuit that is connected to the input of the Flash ADC the number of comparators is reduced in comparison to instead of 2B-1 comparators that are typically needed in conventional Flash ADCs to realize a conversion of B bits resolution. The modified digital observer uses an estimator.
Reference will be made to the accompanying drawings, wherein:
The operation of the modified digital observer circuit 7 is described below in more detail.
Digital observer circuits work by estimating the inductor current IL from already known variables in the controller 9 such as input voltage 10, output voltage 11 and duty cycle 12. Hence the inductor current can be synthesized by a sensor-less digital circuit. One method to realize the inductor current involves applying the bi-linear transformation to an i-v relationship of the voltage across the power inductor L. This leads to the following equation
Where VL is the voltage across the power inductor of inductance value L and dc resistance RL, Ts is the power converters switching frequency and IL,est is the estimated inductor current. To make the above equation practical to use we replace VL[n] with the average voltage across the inductor, VL,ave[n], over one switching period of the converter. This voltage can be approximated by
V
L,ave
[n]=d[n]V
in
[n]−V
out
[n] (2)
Where d[n] is the duty cycle for the nth period, Vin is the sampled input voltage and Vout is the sampled output voltage. This then leads to
The accuracy of the estimated current is mainly compromised by errors in the approximated value for VL,ave due to unknown parasitic resistances such as the power mosfet Rdson. These errors cause the estimated inductor current and the actual inductor current to diverge. To prevent such divergence the previous inductor current estimate is replaced with the accurate previous adc measurement of the inductor current.
This estimate is then used as the starting point for the SAR ADC conversion.
The operation of the modified data dependent SAR ADC conversion is described below in more detail.
Data-dependent SAR ADCs are typically used in situations where the input signal has short periods of high activity as well as long periods of low activity. In these situations the input signal can be well approximated by the previous adc output and hence a data dependent successive approximation algorithm can be used to advantage over a binary search algorithm.
In the proposed current sense circuit a SAR ADC 21 with modified data dependent algorithm is used. The purpose of this algorithm is to reduce the number of clock cycles needed per conversion by using the estimate 8 provided by the observer circuit 7. If the estimate 8 is accurate then the ADC 21 quickly completes the conversion to full resolution however in cases where the estimate is not accurate, such as during transient current ramps, the ADC reduces its resolution and completes the conversion to less accuracy. In this way one ADC with low frequency clock can be used to digitize the current of 2 current sense channels to high resolution at times when the sensed current is static.
To explain how the algorithm works in detail a 12 bit SAR ADC is used. Such an ADC would normally take 16 clock cycles to complete its conversion to 12 bit accuracy if 4 cycles are used for input sampling and a further 12 cycles are used for the 12 bit conversion. However with the modified algorithm only (RANGE+2) additional clocks are needed in addition to the sampling phases to complete the conversion to 12 bit accuracy if the estimate provided by the observer circuit is within +/−2RANGE lsbs of the final result. RANGE is set based on the expected error of the estimator and noise of the sampled current. Referring to the example conversion shown in
For illustration purposes and for showing the functionality of the present circuit operations
For another example, if a 0.25 A resolution should be achieved, and the estimator was accurate to +/−5 A and the full scale range was +/−40 A. Then (2*5 A/0.25)=40 comparators are needed with the estimator. With-out the estimator (2*40 A/0.25)=320 comparators are needed. Hence the saving is 280 comparators.
Number | Date | Country | Kind |
---|---|---|---|
10 2015 105 880.4 | Apr 2015 | DE | national |