US8624766B2 - Method and system for auto-ranging analog-to-digital converter for current sensing - Google Patents

Method and system for auto-ranging analog-to-digital converter for current sensing Download PDF

Info

Publication number
US8624766B2
US8624766B2 US13/307,022 US201113307022A US8624766B2 US 8624766 B2 US8624766 B2 US 8624766B2 US 201113307022 A US201113307022 A US 201113307022A US 8624766 B2 US8624766 B2 US 8624766B2
Authority
US
United States
Prior art keywords
auto
ranging
current
adc
replicated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active, expires
Application number
US13/307,022
Other versions
US20130135130A1 (en
Inventor
Srinivas K. Pulijala
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Microchip Technology Inc
Original Assignee
Standard Microsystems LLC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Standard Microsystems LLC filed Critical Standard Microsystems LLC
Priority to US13/307,022 priority Critical patent/US8624766B2/en
Assigned to STANDARD MICROSYSTEMS CORPORATION reassignment STANDARD MICROSYSTEMS CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: PULIJALA, SRINIVAS K.
Publication of US20130135130A1 publication Critical patent/US20130135130A1/en
Application granted granted Critical
Publication of US8624766B2 publication Critical patent/US8624766B2/en
Assigned to MICROCHIP TECHNOLOGY INCORPORATED reassignment MICROCHIP TECHNOLOGY INCORPORATED MERGER (SEE DOCUMENT FOR DETAILS). Assignors: STANDARD MICROSYSTEMS CORPORATION
Assigned to JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT reassignment JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT SECURITY INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ATMEL CORPORATION, MICROCHIP TECHNOLOGY INC., MICROSEMI CORPORATION, MICROSEMI STORAGE SOLUTIONS, INC., SILICON STORAGE TECHNOLOGY, INC.
Assigned to MICROSEMI STORAGE SOLUTIONS, INC., MICROCHIP TECHNOLOGY INC., SILICON STORAGE TECHNOLOGY, INC., MICROSEMI CORPORATION, ATMEL CORPORATION reassignment MICROSEMI STORAGE SOLUTIONS, INC. RELEASE BY SECURED PARTY (SEE DOCUMENT FOR DETAILS). Assignors: JPMORGAN CHASE BANK, N.A, AS ADMINISTRATIVE AGENT
Assigned to WELLS FARGO BANK, NATIONAL ASSOCIATION reassignment WELLS FARGO BANK, NATIONAL ASSOCIATION SECURITY INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ATMEL CORPORATION, MICROCHIP TECHNOLOGY INC., MICROSEMI CORPORATION, MICROSEMI STORAGE SOLUTIONS, INC., SILICON STORAGE TECHNOLOGY, INC.
Assigned to WELLS FARGO BANK, NATIONAL ASSOCIATION, AS COLLATERAL AGENT reassignment WELLS FARGO BANK, NATIONAL ASSOCIATION, AS COLLATERAL AGENT SECURITY INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ATMEL CORPORATION, MICROCHIP TECHNOLOGY INCORPORATED, MICROSEMI CORPORATION, MICROSEMI STORAGE SOLUTIONS, INC., SILICON STORAGE TECHNOLOGY, INC.
Assigned to WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT reassignment WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT SECURITY INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ATMEL CORPORATION, MICROCHIP TECHNOLOGY INCORPORATED, MICROSEMI CORPORATION, MICROSEMI STORAGE SOLUTIONS, INC., SILICON STORAGE TECHNOLOGY, INC.
Assigned to MICROSEMI CORPORATION, SILICON STORAGE TECHNOLOGY, INC., MICROCHIP TECHNOLOGY INCORPORATED, MICROSEMI STORAGE SOLUTIONS, INC., ATMEL CORPORATION reassignment MICROSEMI CORPORATION RELEASE BY SECURED PARTY (SEE DOCUMENT FOR DETAILS). Assignors: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
Assigned to MICROCHIP TECHNOLOGY INCORPORATED, ATMEL CORPORATION, MICROSEMI STORAGE SOLUTIONS, INC., SILICON STORAGE TECHNOLOGY, INC., MICROSEMI CORPORATION reassignment MICROCHIP TECHNOLOGY INCORPORATED RELEASE BY SECURED PARTY (SEE DOCUMENT FOR DETAILS). Assignors: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
Assigned to ATMEL CORPORATION, MICROCHIP TECHNOLOGY INCORPORATED, MICROSEMI CORPORATION, MICROSEMI STORAGE SOLUTIONS, INC., SILICON STORAGE TECHNOLOGY, INC. reassignment ATMEL CORPORATION RELEASE BY SECURED PARTY (SEE DOCUMENT FOR DETAILS). Assignors: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers
    • H03G3/20Automatic control
    • H03G3/30Automatic control in amplifiers having semiconductor devices
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03GCONTROL OF AMPLIFICATION
    • H03G3/00Gain control in amplifiers or frequency changers
    • H03G3/001Digital control of analog signals
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/18Automatic control for modifying the range of signals the converter can handle, e.g. gain ranging
    • H03M1/181Automatic control for modifying the range of signals the converter can handle, e.g. gain ranging in feedback mode, i.e. by determining the range to be selected from one or more previous digital output values
    • H03M1/183Automatic control for modifying the range of signals the converter can handle, e.g. gain ranging in feedback mode, i.e. by determining the range to be selected from one or more previous digital output values the feedback signal controlling the gain of an amplifier or attenuator preceding the analogue/digital converter

Definitions

  • the present disclosure relates generally to the field of analog integrated circuit design and, more particularly, to methods and systems for power management in electronic circuits.
  • a conventional solution for removal detection is to employ a very high resolution analog-to-digital converter (ADC) to measure current over a wide range, from Amperes on the high-end to micro amperes at the lower end of the scale.
  • ADC analog-to-digital converter
  • the high resolution ADCs require output of 16-bits and more. As is well understood in the art, that degree of resolution calls for high die area requirements.
  • adding high resolution ADCs to an integrated chip increases the overall power consumption of the chip.
  • the present disclosure describes a method and system for an auto-ranging analog-to-digital converter (ADC) for dynamically scaling inputs to an ADC.
  • the auto-ranging ADC includes a dynamically configurable transistor arrangement for providing a load current and a replica device for replicating the load current.
  • the replica device outputs a replicated load voltage based on the replicated current.
  • the ADC generates a digital value based on the replicated load voltage.
  • the auto-ranging ADC also includes an auto-ranging controller for dynamically configuring the transistor arrangement based on the digital value to scale the inputs to the ADC.
  • the present disclosure describes an auto-ranging method for dynamically scaling inputs to an analog-to-digital converter (ADC).
  • the auto-ranging method includes providing a load current by a dynamically configurable transistor arrangement and replicating the load current.
  • the method further includes generating a replicated load voltage based on the replicated current.
  • the method includes generating a digital value based on the replicated load voltage by the ADC.
  • the method includes dynamically configuring the transistor arrangement based on the digital value to scale the inputs to the ADC.
  • FIG. 1 is a block diagram of one embodiment of an auto-ranging system configured according to principles of the present invention.
  • FIG. 2 is a circuit diagram of one embodiment of an auto-ranging system configured according to principles of the present invention
  • FIG. 3 is a flowchart depicting an exemplary method for auto-ranging an ADC.
  • Embodiments of the present disclosure provide a method and system for an auto-ranging analog-to-digital converter (ADC) for dynamically scaling inputs to the ADC.
  • the auto-ranging ADC is used for high-precision measurement of current values.
  • the auto-ranging ADC includes a dynamically configurable transistor arrangement for generating a replica current based on a load current. The load current is generated to meet the varying demands of downstream devices.
  • the dynamically configurable transistor arrangement modifies the prior transistor arrangement to generate a replica current depending on the load current requirement.
  • a replica device is connected to the transistor arrangement in a configuration which generates a replica current based on the load current drawn by a downstream device.
  • the replica current is mirrored to flow through a current sense resistor.
  • a voltage is developed across the current sense resistor.
  • the developed voltage is fed to an ADC to generate a digital value corresponding to the developed voltage.
  • the developed voltage may be input to a sample-and-hold, and anti-aliasing filter circuit to avoid the aliasing of higher frequency signals back into the ADC. This voltage may then be fed to the ADC.
  • the digital value output by the ADC is fed to an auto-ranging controller.
  • the auto-ranging controller Based on the digital value, the auto-ranging controller generates switching signals. When the digital value falls below a threshold value, the auto-ranging controller changes the state of the switching signals. The state of the switching signals determines the configuration of the transistor arrangement.
  • the switching signals dynamically configure the transistor arrangement to scale the inputs to the ADC.
  • the transistor arrangement includes at least two transistors connected in parallel.
  • the dynamic re-configuration involves switching on one or more transistors to provide the required load current to the downstream device.
  • the switching signals connect the switches coupling the input voltage supply to the gate terminals of the transistors. Depending on the state of one or more transistors, load current flows through the transistor arrangement. Therefore, the input to the ADC is scaled accordingly.
  • the auto-ranging ADC can be used in a wide variety of electronic applications.
  • a USB Port Power Controller can use an embodiment of the disclosure to control a 5V bus voltage, capable of delivering up to 2.5 A load current.
  • the port power switch including three transistor switches connected in parallel, can be tailored to the anticipated ADC reading.
  • an eight-bit SAR ADC may perform power-rationing by employing a replica device in parallel with the port power switch to generate a copy current based port power switch current.
  • the port power switch is downsized to generate a replica current within the dynamic range of the ADC.
  • the port power switch is downsized based on the prior reading of the ADC when all the transistors in the port power switch are connected.
  • FIG. 1 is a block diagram illustrating an exemplary auto-ranging system 100 including an analog-to-digital converter (ADC) 108 for high precision current sensing.
  • the auto-ranging system 100 includes a transistor arrangement 102 electronically coupled to a replica device 104 for replicating a load current (ILoad) 124 flowing through the transistor arrangement 102 .
  • a current sense resistor 106 is electronically coupled to the replica device 104 for generating a replicated load voltage 128 based on the replicated current, and that voltage is fed to the ADC 108 . That device generates a digital value based on the replicated load voltage 128 .
  • An auto-ranging controller 110 receives the ADC output and generates switching signals “Ibus_super_low” and “Ibus_low”. Those signals are fed to the transistor arrangement 102 , which accordingly configures transistor arrangement 102 .
  • a downstream device 122 demands a load current 124 ILoad to meet the power requirement of the downstream device 122 and its components.
  • Inputs to the transistor arrangement 102 are reference supply voltage VS and control voltage Vg.
  • the transistor arrangement 102 can be dynamically configured among two or more current ranges, controlled by inputs “Ibus_super_low” and “Ibus_low”.
  • the replica device 104 also receives control voltage Vg as an input, together with a signal based on the load current 124 , and it accordingly outputs a replica current 126 .
  • the replica current 126 is fed to current sense resistor 106 , which in turn produces a replicated load voltage 128 .
  • the replica device 104 may mirror the replica current 126 before generating the replicated load voltage 128 , which is then fed as an input to the ADC 108 .
  • the ADC 108 receives the replicated load voltage 128 and generates a corresponding digital value adc_data ⁇ N:0>. Other inputs include “adc_start”, an active high signal, which initiates the conversion of the ADC 108 .
  • a clock signal “adc_clk” is also provided, as is a voltage reference signal Vref.
  • the ADC 108 may also include an anti-aliasing filter for restricting the frequency bandwidth of the replicated load voltage 128 .
  • the ADC 108 is an 8-bit successive-approximation-register (SAR) analog-to-digital converter (ADC).
  • the ADC 108 outputs a digital value adc_data ⁇ N:0>, where N represents the number of bits in the output digital value. For example, an eight bit ADC will generate a digital value adc_data ⁇ 8:0>.
  • the auto-ranging controller 110 uses the output digital value adc_data ⁇ N:0> to generate switching signals “Ibus_super_low” and “Ibus_low”. Those signals are used by the transistor arrangement 102 to dynamically configure the prior transistor arrangement 102 .
  • the switching signal output is based on the value of adc_data ⁇ N:0>, and thus the auto-ranging controller 110 may include sensing and response circuitry, such as a logic circuit, a microprocessor, a microcontroller, or similar circuits and devices known in the art for generating the switching signals.
  • the auto-ranging controller 110 may include a memory device, such as a one-time programmable memory (OTP), for storing the threshold values of the digital value for determining the configuration of the transistor arrangement 102 .
  • OTP one-time programmable memory
  • the transistor arrangement 102 is configured for maximum load current 124 . Then, if the ADC 108 reading crosses a threshold value, the auto-ranging controller 110 sends an appropriate signal to the transistor arrangement 102 via switching signals “Ibus_super_low” and “Ibus_low”.
  • FIG. 2 is a circuit diagram illustrating an exemplary auto-ranging system 200 including an analog-to-digital converter (ADC) 208 for high precision current sensing.
  • the auto-ranging system 200 includes a pass transistor PM1 202 , which in turn includes three transistors PM1-A 202 -A, PM1-B 202 -B, and PM1-C 202 -C connected in parallel.
  • a control voltage Vg is connected to the gates of the three transistors PM1-A 202 -A, PM1-B 202 -B, and PM1-C 202 -C, coupled through switches S1 203 -A and S2 203 -B.
  • the switches S1 203 -A and S2 203 -B are controlled by switching signals “Ibus_super_low” and “Ibus_low” respectively. All three switches are closed at start-up.
  • the polarities of the switching signals “Ibus_low” and “Ibus_super_low” are determined by the previous ADC 208 reading, which in turn is determined by the load current ILoad drawn by the downstream device 122 .
  • an extremely low current is accommodated by turning PM1-B 202 -B, and PM1-C 202 -C off, so that current flows only through PM1-A 202 -A.
  • that branch is designed to receive only a negligible amount of the total available capacity of the pass transistor PM1 202 .
  • a medium current level can be provided for by also turning on transistor PM1-B 202 -B, which in the illustrated device accommodates 1/16 of the possible FET current. Full capacity is achieved by also turning on PM1-C 202 -C. Details of how those results are accomplished are set out below, together with a truth table for the device and the associated input signals.
  • a replica transistor PM0 204 generates a replica current based on the load current ILoad using an error amplifier 207 .
  • the error amplifier 207 forces the drain voltage of replica transistor PM0 204 to be the same voltage as voltage Vbus through a negative feedback.
  • the error amplifier 207 drives the gate of a transistor PM2 205 to maintain the transistor PM2 205 in saturation while transistors PM1 202 and PM0 204 are controlled by gate voltage Vg.
  • the gate voltage Vg can be used for current limiting purposes. This arrangement results in accurate replication of the load current ILoad.
  • the replicated current is mirrored by the current mirrors NM1-A 244 -A and NM1-B 244 -B, and PM3-A 264 -A and PM3-B 264 -B to flow through the current sense resistor 206 , developing the replicated load voltage 128 .
  • ADC 208 receives analog replicated load voltage 128 and performs analog to digital conversion.
  • ADC 208 includes both sample-and-hold and anti-aliasing filter circuits.
  • the anti-aliasing feature prevents aliasing higher frequency signals back into the baseband of the ADC 208 .
  • Reference amplifier 209 provides a 2.5V reference voltage, generated based on a band gap voltage. As the maximum current drawn across the pass transistor PM1 202 cannot exceed 2.5 A, the full-scale voltage of the ADC 208 is set to 2.5V. The mathematical calculation for calculating the resolution of an 8-bit ADC is shown below.
  • 1 LSB equaling 9.76 mA corresponds to 9.76 mV. This mode is used for power rationing.
  • the ADC 208 receives the replicated load voltage 128 signal and generates a corresponding digital value adc_data ⁇ N:0>.
  • Other inputs include “adc_start”, an active high signal, which initiates the functioning of the ADC 108 .
  • a clock signal “adc_clk” is also provided, as is a voltage reference signal Vref.
  • the ADC 108 may also include an anti-aliasing filter for restricting the frequency bandwidth of the replicated load voltage 128 .
  • the ADC 208 is an 8-bit successive-approximation-register (SAR) analog-to-digital converter (ADC).
  • the ADC 208 outputs a digital value adc_data ⁇ N:0>, where N represents the number of bits in the output digital value. For example, an eight bit ADC will generate a digital value adc_data ⁇ 8:0>.
  • the auto-ranging controller 110 uses the output digital value adc_data ⁇ N:0> to generate switching signals “Ibus_super_low” and “Ibus_low”. Those signals are used by the transistor arrangement 102 to dynamically configure the transistor arrangement 102 .
  • the switching signal output is based on the value of adc_data ⁇ N:0>, and thus the auto-ranging controller 110 may include sensing and response circuitry, such as a logic circuit, a microprocessor, a microcontroller, or similar circuits and devices known in the art for generating the switching signals
  • the auto-ranging controller 110 may include a memory device, such as a one-time programmable memory (OTP), for storing the threshold values of the digital value for determining the configuration of the transistor arrangement 102 . In normal operation, the transistor arrangement 102 is configured for maximum load current. Then, if the ADC 108 reading crosses a threshold value, the auto-ranging controller 110 sends an appropriate signal to the transistor arrangement 102 via switching signals “Ibus_super_low” and “Ibus_low”.
  • OTP one-time programmable memory
  • the auto-ranging system 200 may also operate in a charger emulation mode.
  • the charger emulation mode demands greater accuracy in terms of the ADC resolution for load currents ILoad below 150 mA.
  • a USB Port Power Controller using the auto-ranging system 200 may operate in the charger emulation mode for accurately determining the load current flow in microamperes.
  • the transistor PM1-C 15/16 FET is turned off. Therefore, the auto-ranging controller 110 drives the switching signal “Ibus_super_low” low, and “Ibus_low” high.
  • the switch S2 203 -B is in an open state, i.e., an off state.
  • the control voltage Vg is cut off from the transistor PM1-C 202 -C.
  • the transistor PM1-C gets turned off.
  • a hysteresis of 10 LSB's was added to prevent switching between the FET's around the threshold of 156.25 mA.
  • the auto-ranging system 200 may also operate in a third mode, removal detection.
  • the removal detection mode demands even greater accuracy in terms of the ADC resolution for load current ILoad below 200 microamperes.
  • a USB Port Power Controller using the auto-ranging system 200 may operate in the removal detection mode for accurately determining events when the downstream device 122 is removed and the load current falls below 200 micro amperes.
  • the USB Port Power controller has a removal detection mechanism to detect the removal event.
  • the auto-ranging system 200 When the auto-ranging system 200 is in charger emulation mode (i.e., the transistors PM1-A 202 -A and PM1-B 202 -B are turned ON), and the ADC 208 reading drops below 16 LSB's (each LSB being 610 micro amperes), only the transistor PM1-A 202 -A in the pass transistor PM1 202 is turned ON. If the ADC reading falls below a threshold reading, a removal event is detected.
  • the threshold for removal detection can be set by one-time programmable memory (OTP) included in the auto-ranging controller 110 .
  • OTP one-time programmable memory
  • a hysteresis of 6 LSB's was used to switch between the state when only the transistor PM1-A 202 -A is turned ON and the state when all the three transistors are turned ON.
  • a 200 mV drop comparator across Vbus was used to turn ON the Full transistor PM1 202 , if the drop across Vbus exceeds 200 mV.
  • the current sense resistor 206 can be trimmed for process variations using OTP.
  • the truth table below shows the combination for which the different transistors PM1-A 202 -A, PM1-B 202 -B, and PM1-C 202 -C in the pass transistor PM1 202 are turned ON for different values of switching signals “Ibus_low” and “Ibus_super_low”.
  • pass transistor PM1 operates in one of three ranges depending on how many of its component transistors is turned on.
  • the range labeled Full FET is enabled when all the three transistors PM1-A 202 -A, PM1-B 202 -B, and PM1-C 202 -C are turned ON, allowing current flow in all three branches of the pass transistor PM1 202 .
  • Range 1/16 FET which passes 1/16 th of the maximum current, is operative when the transistors PM1-A 202 -A, and PM1-B 202 -B are turned ON.
  • the lowest range, allowing only small amounts of current, range Small FET is operative when only the transistor PM1-A 202 -A is turned ON. This system yields a high precision measurement of load current by not only accurately detecting amperes of current in the high end but also detecting few microamperes of current at the low end.
  • FIG. 3 is a flowchart depicting an exemplary method for auto-ranging an analog-to-digital converter for high precision current sensing.
  • the method 300 illustrated in FIG. 3 may be used in conjunction with any of the systems or devices shown in the previously described figures, among other devices. In various embodiments, some of the method elements shown may be performed concurrently, in a different order than shown, or may be omitted. Additional method elements may be performed as desired. As shown, the method 300 may operate as follows.
  • the transistor arrangement 102 provides load current 124 ILoad to meet the power requirements of the downstream device 122 .
  • the transistor arrangement 102 connected to the downstream device 122 , is coupled between the supply voltage VS and the voltage Vbus.
  • a control voltage signal Vg is provided to the transistor arrangement 102 to provide the required amount of the load current 124 ILoad.
  • Switching signals “Ibus_super_low” and “Ibus_low” are fed to the transistor arrangement 102 to determine the configuration of the transistor arrangement 102 .
  • the replica device 104 replicates the load current 124 ILoad.
  • the replica device 104 is connected to the transistor arrangement 102 to generate a replica current 126 based on the load current 124 .
  • An auto-zeroed error amplifier 207 forces the VDS on replica transistor PM0 204 to be the same as the pass transistor PM1 202 . This causes accurate replication of the load current 214 ILoad to the replica current 126 .
  • the replica current 126 is transferred to the current sense resistor 106 .
  • the replica current 126 is mirrored to flow through the current sense resistor 106 .
  • a current mirror may be used to mirror the replicated current to the current sense resistor 106 .
  • the current sense resistor 106 generates the replicated load voltage 128 based on the replicated current flowing through the current sense resistor 106 .
  • the replicated load voltage 128 is fed to the ADC 108 as an input.
  • the current sense resistor 106 monitors the replica current 126 and translates the amount of current into the replicated load voltage 128 that can be easily measured and monitored.
  • the ADC 108 generates a digital value based on the replicated load voltage 128 .
  • the replicated load voltage 128 is fed to the ADC 108 for analog to digital conversion of the voltage signal.
  • the ADC 108 receives the replicated load voltage 128 signal and generates a digital value adc_data ⁇ N:0> corresponding to the replicated load voltage 128 .
  • a signal “adc_start” initiates the functioning of the ADC 108 .
  • the signal “adc_start” is an active high signal. Therefore, a high state of the signal “adc_start” signals the ADC 108 to start functioning.
  • a clock signal “adc_clk” is supplied to the ADC 108 to clock the functioning of the ADC 108 .
  • the ADC 108 also receives an auto-zero signal “adc_az_sar” to remove the offsets present in the ADC 108 .
  • a voltage reference signal Vref is also provided to the ADC 108 to meet the voltage requirements.
  • the replicated load voltage 128 is input to a sample-and-hold, and anti-aliasing filter circuit for filtering the replicated load voltage 128 signal to restrict frequency bandwidth of the replicated load voltage 128 signal.
  • the sample-and-hold, and anti-aliasing filter circuit prevents the aliasing of higher frequency signals back into the baseband of the ADC 208 . This voltage is then fed to the ADC 108 .
  • the transistor arrangement 102 is dynamically configured based on the digital value.
  • the auto-ranging controller 110 uses the output digital value adc_data ⁇ N: 0 > to generate switching signals “Ibus_super_low” and “Ibus_low”.
  • the switching signals “Ibus_super_low” and “Ibus_low” are used to dynamically change the configuration of the transistor arrangement 102 . If the ADC 108 reading crosses a threshold value, the auto-ranging controller 110 sends an appropriate signal to the transistor arrangement 102 via signals “Ibus_super_low” and “Ibus_low”.
  • the auto-ranging controller 110 may include a memory device for storing the threshold values of the digital value for determining the configuration of the transistor arrangement 102 .
  • the memory device may include a one-time programmable memory (OTP).
  • the auto-ranging method 300 may also include switching the state of at least one of the transistors PM1-A 202 -A, PM1-B 202 -B, and PM1-C 202 -C to dynamically change the configuration of the transistor arrangement 102 .
  • One or more of the three transistors PM1-A 202 -A, PM1-B 202 -B, and PM1-C 202 -C may be switched ON to provide the desired amount of current.
  • the auto-ranging method 300 may also include determining a state of switching signals “Ibus_super_low” and “Ibus_low” from a switching table for a configuration of the transistor arrangement 102 .
  • the auto-ranging controller 110 including a memory device may store a switching table. The switching table tabulates the state of switching signals for various configurations of the transistor arrangement 102 .
  • the methods and systems discussed in the present disclosure provide techniques for auto-ranging an ADC for high precision current measurement.
  • the disclosed techniques present a high precision auto-ranging scheme with low quiescent current demands.
  • the circuit implementations of the auto-ranging systems will consume lesser die area.
  • the auto-ranging technique allows the use of low resolution ADCs to achieve high resolution for very small load currents.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Dc-Dc Converters (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

Embodiments of the present disclosure provide a method and system for an auto-ranging analog-to-digital converter (ADC) for dynamically scaling inputs to an ADC. The auto-ranging ADC includes a dynamically configurable transistor arrangement for delivering a load current and a replica device for replicating the load current. A current sense resistor generates a replicated load voltage based on the replicated current. The ADC generates a digital value based on the replicated load voltage. The auto-ranging ADC also includes an auto-ranging controller for dynamically configuring the transistor arrangement based on the digital value to scale the inputs to the ADC.

Description

TECHNICAL FIELD
The present disclosure relates generally to the field of analog integrated circuit design and, more particularly, to methods and systems for power management in electronic circuits.
BACKGROUND
The need to accurately and precisely measure the flow of current in electronic systems is becoming increasingly critical and widespread. The growth of battery-powered portable devices has increased the need to minimize energy usage and manage power requirements of devices, and the spread of electrically actuated systems in various practical applications account for the widespread need.
The latest trends in power management products require performing not only power rationing for downstream devices, but also removal detection events, detecting when a device is physically removed from a circuit. Power rationing requires measuring large amounts of current data of the order of amperes, but removal detection events require measuring low current, usually of the order of few hundred micro amperes. At the end of the charging cycle, for example, a battery under charge may draw extremely low current, but the system needs to know when the device is actually removed from the charger.
A conventional solution for removal detection is to employ a very high resolution analog-to-digital converter (ADC) to measure current over a wide range, from Amperes on the high-end to micro amperes at the lower end of the scale. The high resolution ADCs require output of 16-bits and more. As is well understood in the art, that degree of resolution calls for high die area requirements. Moreover, adding high resolution ADCs to an integrated chip increases the overall power consumption of the chip.
Alternatively, designers use multiple ADCs to perform the desired current sensing and measurement. That solution, however, increases the die area requirements. In addition, multiple ADCs increase the digital signal processing requirements as well as the power consumption.
Thus, there remains a need for an ADC capable of accurately measuring high resolution current values for efficient power management.
SUMMARY
Briefly described, and according to one embodiment, the present disclosure describes a method and system for an auto-ranging analog-to-digital converter (ADC) for dynamically scaling inputs to an ADC. The auto-ranging ADC includes a dynamically configurable transistor arrangement for providing a load current and a replica device for replicating the load current. The replica device outputs a replicated load voltage based on the replicated current. The ADC generates a digital value based on the replicated load voltage. The auto-ranging ADC also includes an auto-ranging controller for dynamically configuring the transistor arrangement based on the digital value to scale the inputs to the ADC.
According to another embodiment, the present disclosure describes an auto-ranging method for dynamically scaling inputs to an analog-to-digital converter (ADC). The auto-ranging method includes providing a load current by a dynamically configurable transistor arrangement and replicating the load current. The method further includes generating a replicated load voltage based on the replicated current. Moreover, the method includes generating a digital value based on the replicated load voltage by the ADC. In addition, the method includes dynamically configuring the transistor arrangement based on the digital value to scale the inputs to the ADC.
BRIEF DESCRIPTION OF THE FIGURES
FIG. 1 is a block diagram of one embodiment of an auto-ranging system configured according to principles of the present invention.
FIG. 2 is a circuit diagram of one embodiment of an auto-ranging system configured according to principles of the present invention
FIG. 3 is a flowchart depicting an exemplary method for auto-ranging an ADC.
While embodiments of the present disclosure are amendable to various modifications and alternative forms, specific embodiments are shown by way of example in the drawings and are described in detail. It should be understood, however, that the drawings and detailed description thereto are not intended to limit the present disclosure to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the present disclosure as defined by the appended claims.
DETAILED DESCRIPTION
The following detailed description is made with reference to the figures. Embodiments are described to illustrate the disclosed system and method, not to limit their scope. With the insight provided by the instant disclosure, those of ordinary skill in the art should recognize a variety of equivalent variations on the description that follows.
Overview
Embodiments of the present disclosure provide a method and system for an auto-ranging analog-to-digital converter (ADC) for dynamically scaling inputs to the ADC. The auto-ranging ADC is used for high-precision measurement of current values. The auto-ranging ADC includes a dynamically configurable transistor arrangement for generating a replica current based on a load current. The load current is generated to meet the varying demands of downstream devices. The dynamically configurable transistor arrangement modifies the prior transistor arrangement to generate a replica current depending on the load current requirement. A replica device is connected to the transistor arrangement in a configuration which generates a replica current based on the load current drawn by a downstream device. The replica current is mirrored to flow through a current sense resistor. Based on the current flowing through the current sense resistor, a voltage is developed across the current sense resistor. The developed voltage is fed to an ADC to generate a digital value corresponding to the developed voltage. The developed voltage may be input to a sample-and-hold, and anti-aliasing filter circuit to avoid the aliasing of higher frequency signals back into the ADC. This voltage may then be fed to the ADC.
The digital value output by the ADC is fed to an auto-ranging controller. Based on the digital value, the auto-ranging controller generates switching signals. When the digital value falls below a threshold value, the auto-ranging controller changes the state of the switching signals. The state of the switching signals determines the configuration of the transistor arrangement. The switching signals dynamically configure the transistor arrangement to scale the inputs to the ADC. The transistor arrangement includes at least two transistors connected in parallel. The dynamic re-configuration involves switching on one or more transistors to provide the required load current to the downstream device. The switching signals connect the switches coupling the input voltage supply to the gate terminals of the transistors. Depending on the state of one or more transistors, load current flows through the transistor arrangement. Therefore, the input to the ADC is scaled accordingly.
The auto-ranging ADC can be used in a wide variety of electronic applications. For example, a USB Port Power Controller can use an embodiment of the disclosure to control a 5V bus voltage, capable of delivering up to 2.5 A load current. The port power switch, including three transistor switches connected in parallel, can be tailored to the anticipated ADC reading. In a normal mode of operation, an eight-bit SAR ADC may perform power-rationing by employing a replica device in parallel with the port power switch to generate a copy current based port power switch current. In order to detect the presence of a down-stream device, which could potentially draw only a few hundred micro-Amps through the port power switch, the port power switch is downsized to generate a replica current within the dynamic range of the ADC. The port power switch is downsized based on the prior reading of the ADC when all the transistors in the port power switch are connected.
Exemplary Systems
FIG. 1 is a block diagram illustrating an exemplary auto-ranging system 100 including an analog-to-digital converter (ADC) 108 for high precision current sensing. The auto-ranging system 100 includes a transistor arrangement 102 electronically coupled to a replica device 104 for replicating a load current (ILoad) 124 flowing through the transistor arrangement 102. A current sense resistor 106 is electronically coupled to the replica device 104 for generating a replicated load voltage 128 based on the replicated current, and that voltage is fed to the ADC 108. That device generates a digital value based on the replicated load voltage 128. An auto-ranging controller 110 receives the ADC output and generates switching signals “Ibus_super_low” and “Ibus_low”. Those signals are fed to the transistor arrangement 102, which accordingly configures transistor arrangement 102.
As shown in FIG. 1, a downstream device 122 demands a load current 124 ILoad to meet the power requirement of the downstream device 122 and its components. Inputs to the transistor arrangement 102 are reference supply voltage VS and control voltage Vg. The transistor arrangement 102 can be dynamically configured among two or more current ranges, controlled by inputs “Ibus_super_low” and “Ibus_low”.
The replica device 104 also receives control voltage Vg as an input, together with a signal based on the load current 124, and it accordingly outputs a replica current 126. The replica current 126 is fed to current sense resistor 106, which in turn produces a replicated load voltage 128. In an embodiment, the replica device 104 may mirror the replica current 126 before generating the replicated load voltage 128, which is then fed as an input to the ADC 108.
The ADC 108 receives the replicated load voltage 128 and generates a corresponding digital value adc_data <N:0>. Other inputs include “adc_start”, an active high signal, which initiates the conversion of the ADC 108. A clock signal “adc_clk” is also provided, as is a voltage reference signal Vref. An auto-zero signal “adc_az_sar”, removes any offsets present in the ADC 108. The ADC 108 may also include an anti-aliasing filter for restricting the frequency bandwidth of the replicated load voltage 128.
In an embodiment, the ADC 108 is an 8-bit successive-approximation-register (SAR) analog-to-digital converter (ADC). The ADC 108 outputs a digital value adc_data <N:0>, where N represents the number of bits in the output digital value. For example, an eight bit ADC will generate a digital value adc_data <8:0>.
The auto-ranging controller 110 uses the output digital value adc_data <N:0> to generate switching signals “Ibus_super_low” and “Ibus_low”. Those signals are used by the transistor arrangement 102 to dynamically configure the prior transistor arrangement 102. The switching signal output is based on the value of adc_data <N:0>, and thus the auto-ranging controller 110 may include sensing and response circuitry, such as a logic circuit, a microprocessor, a microcontroller, or similar circuits and devices known in the art for generating the switching signals. In an embodiment, the auto-ranging controller 110 may include a memory device, such as a one-time programmable memory (OTP), for storing the threshold values of the digital value for determining the configuration of the transistor arrangement 102. In operation, the transistor arrangement 102 is configured for maximum load current 124. Then, if the ADC 108 reading crosses a threshold value, the auto-ranging controller 110 sends an appropriate signal to the transistor arrangement 102 via switching signals “Ibus_super_low” and “Ibus_low”.
FIG. 2 is a circuit diagram illustrating an exemplary auto-ranging system 200 including an analog-to-digital converter (ADC) 208 for high precision current sensing. The auto-ranging system 200 includes a pass transistor PM1 202, which in turn includes three transistors PM1-A 202-A, PM1-B 202-B, and PM1-C 202-C connected in parallel. A control voltage Vg is connected to the gates of the three transistors PM1-A 202-A, PM1-B 202-B, and PM1-C 202-C, coupled through switches S1 203-A and S2 203-B. The switches S1 203-A and S2 203-B are controlled by switching signals “Ibus_super_low” and “Ibus_low” respectively. All three switches are closed at start-up. The polarities of the switching signals “Ibus_low” and “Ibus_super_low” are determined by the previous ADC 208 reading, which in turn is determined by the load current ILoad drawn by the downstream device 122.
In the pass transistor PM1 202, an extremely low current is accommodated by turning PM1-B 202-B, and PM1-C 202-C off, so that current flows only through PM1-A 202-A. In the illustrated circuit, that branch is designed to receive only a negligible amount of the total available capacity of the pass transistor PM1 202. A medium current level can be provided for by also turning on transistor PM1-B 202-B, which in the illustrated device accommodates 1/16 of the possible FET current. Full capacity is achieved by also turning on PM1-C 202-C. Details of how those results are accomplished are set out below, together with a truth table for the device and the associated input signals.
A replica transistor PM0 204 generates a replica current based on the load current ILoad using an error amplifier 207. The error amplifier 207 forces the drain voltage of replica transistor PM0 204 to be the same voltage as voltage Vbus through a negative feedback. The error amplifier 207 drives the gate of a transistor PM2 205 to maintain the transistor PM2 205 in saturation while transistors PM1 202 and PM0 204 are controlled by gate voltage Vg. The gate voltage Vg can be used for current limiting purposes. This arrangement results in accurate replication of the load current ILoad. The replicated current is mirrored by the current mirrors NM1-A 244-A and NM1-B 244-B, and PM3-A 264-A and PM3-B 264-B to flow through the current sense resistor 206, developing the replicated load voltage 128.
ADC 208 receives analog replicated load voltage 128 and performs analog to digital conversion. In an embodiment, ADC 208 includes both sample-and-hold and anti-aliasing filter circuits. The anti-aliasing feature prevents aliasing higher frequency signals back into the baseband of the ADC 208. Reference amplifier 209 provides a 2.5V reference voltage, generated based on a band gap voltage. As the maximum current drawn across the pass transistor PM1 202 cannot exceed 2.5 A, the full-scale voltage of the ADC 208 is set to 2.5V. The mathematical calculation for calculating the resolution of an 8-bit ADC is shown below. A LSB, thus, equals
1 LSB=(2.5 Amperes/28)=9.76 mA  (1)
For an eight-bit ADC, 1 LSB equaling 9.76 mA corresponds to 9.76 mV. This mode is used for power rationing.
The ADC 208 receives the replicated load voltage 128 signal and generates a corresponding digital value adc_data <N:0>. Other inputs include “adc_start”, an active high signal, which initiates the functioning of the ADC 108. A clock signal “adc_clk” is also provided, as is a voltage reference signal Vref. An auto-zero signal “adc_az_sar”, removes any offsets present in the ADC 108. The ADC 108 may also include an anti-aliasing filter for restricting the frequency bandwidth of the replicated load voltage 128.
In an embodiment, the ADC 208 is an 8-bit successive-approximation-register (SAR) analog-to-digital converter (ADC). The ADC 208 outputs a digital value adc_data <N:0>, where N represents the number of bits in the output digital value. For example, an eight bit ADC will generate a digital value adc_data <8:0>.
The auto-ranging controller 110 uses the output digital value adc_data <N:0> to generate switching signals “Ibus_super_low” and “Ibus_low”. Those signals are used by the transistor arrangement 102 to dynamically configure the transistor arrangement 102. The switching signal output is based on the value of adc_data <N:0>, and thus the auto-ranging controller 110 may include sensing and response circuitry, such as a logic circuit, a microprocessor, a microcontroller, or similar circuits and devices known in the art for generating the switching signals In an embodiment, the auto-ranging controller 110 may include a memory device, such as a one-time programmable memory (OTP), for storing the threshold values of the digital value for determining the configuration of the transistor arrangement 102. In normal operation, the transistor arrangement 102 is configured for maximum load current. Then, if the ADC 108 reading crosses a threshold value, the auto-ranging controller 110 sends an appropriate signal to the transistor arrangement 102 via switching signals “Ibus_super_low” and “Ibus_low”.
In an embodiment, the auto-ranging system 200 may also operate in a charger emulation mode. The charger emulation mode demands greater accuracy in terms of the ADC resolution for load currents ILoad below 150 mA. For example a USB Port Power Controller using the auto-ranging system 200 may operate in the charger emulation mode for accurately determining the load current flow in microamperes. In the charger emulation mode when the ADC reading falls below 16 LSB's for four consecutive conversions, which is equivalent to 156.25 mA, the transistor PM1-C (15/16 FET) is turned off. Therefore, the auto-ranging controller 110 drives the switching signal “Ibus_super_low” low, and “Ibus_low” high. As a result, the switch S2 203-B is in an open state, i.e., an off state. Thus, the control voltage Vg is cut off from the transistor PM1-C 202-C. As a result, the transistor PM1-C gets turned off. A hysteresis of 10 LSB's was added to prevent switching between the FET's around the threshold of 156.25 mA. Thus, the LSB in the charger emulation mode for an 8-bit ADC is
1 LSB=(156.25 milli Amperes/28)=610 micro Amperes  (2)
In another embodiment, the auto-ranging system 200 may also operate in a third mode, removal detection. The removal detection mode demands even greater accuracy in terms of the ADC resolution for load current ILoad below 200 microamperes. For example, a USB Port Power Controller using the auto-ranging system 200 may operate in the removal detection mode for accurately determining events when the downstream device 122 is removed and the load current falls below 200 micro amperes. The USB Port Power controller has a removal detection mechanism to detect the removal event. When the auto-ranging system 200 is in charger emulation mode (i.e., the transistors PM1-A 202-A and PM1-B 202-B are turned ON), and the ADC 208 reading drops below 16 LSB's (each LSB being 610 micro amperes), only the transistor PM1-A 202-A in the pass transistor PM1 202 is turned ON. If the ADC reading falls below a threshold reading, a removal event is detected. The threshold for removal detection can be set by one-time programmable memory (OTP) included in the auto-ranging controller 110. A hysteresis of 6 LSB's was used to switch between the state when only the transistor PM1-A 202-A is turned ON and the state when all the three transistors are turned ON. As the current sense ADC conversion rate is only 2 KHz, a 200 mV drop comparator across Vbus was used to turn ON the Full transistor PM1 202, if the drop across Vbus exceeds 200 mV. The current sense resistor 206 can be trimmed for process variations using OTP. The truth table below shows the combination for which the different transistors PM1-A 202-A, PM1-B 202-B, and PM1-C 202-C in the pass transistor PM1 202 are turned ON for different values of switching signals “Ibus_low” and “Ibus_super_low”.
TABLE I
Pass Transistor transition
Ibus_low Ibus_super_low Pass transistor PM1
0 0 Full FET
1 0 1/16 FET
1 1 Small FET
Thus, pass transistor PM1 operates in one of three ranges depending on how many of its component transistors is turned on. The range labeled Full FET is enabled when all the three transistors PM1-A 202-A, PM1-B 202-B, and PM1-C 202-C are turned ON, allowing current flow in all three branches of the pass transistor PM1 202. Range 1/16 FET, which passes 1/16th of the maximum current, is operative when the transistors PM1-A 202-A, and PM1-B 202-B are turned ON. The lowest range, allowing only small amounts of current, range Small FET is operative when only the transistor PM1-A 202-A is turned ON. This system yields a high precision measurement of load current by not only accurately detecting amperes of current in the high end but also detecting few microamperes of current at the low end.
It will be understood that though embodiments of the present disclosure may be described using PMOS or NMOS transistors, the embodiments of this disclosure are not restricted to MOS transistors. The embodiments may, just as easily, be incorporated in an auto-ranging scheme, without departing from the scope of the present disclosure.
Exemplary Methods
FIG. 3 is a flowchart depicting an exemplary method for auto-ranging an analog-to-digital converter for high precision current sensing. The method 300 illustrated in FIG. 3 may be used in conjunction with any of the systems or devices shown in the previously described figures, among other devices. In various embodiments, some of the method elements shown may be performed concurrently, in a different order than shown, or may be omitted. Additional method elements may be performed as desired. As shown, the method 300 may operate as follows.
At step 302, the transistor arrangement 102 provides load current 124 ILoad to meet the power requirements of the downstream device 122. The transistor arrangement 102, connected to the downstream device 122, is coupled between the supply voltage VS and the voltage Vbus. A control voltage signal Vg is provided to the transistor arrangement 102 to provide the required amount of the load current 124 ILoad. Switching signals “Ibus_super_low” and “Ibus_low” are fed to the transistor arrangement 102 to determine the configuration of the transistor arrangement 102.
At step 304, the replica device 104 replicates the load current 124 ILoad. The replica device 104 is connected to the transistor arrangement 102 to generate a replica current 126 based on the load current 124. An auto-zeroed error amplifier 207 forces the VDS on replica transistor PM0 204 to be the same as the pass transistor PM1 202. This causes accurate replication of the load current 214 ILoad to the replica current 126. The replica current 126 is transferred to the current sense resistor 106. In an embodiment, the replica current 126 is mirrored to flow through the current sense resistor 106. A current mirror may be used to mirror the replicated current to the current sense resistor 106.
At step 306, the current sense resistor 106 generates the replicated load voltage 128 based on the replicated current flowing through the current sense resistor 106. The replicated load voltage 128 is fed to the ADC 108 as an input. The current sense resistor 106 monitors the replica current 126 and translates the amount of current into the replicated load voltage 128 that can be easily measured and monitored.
At step 308, the ADC 108 generates a digital value based on the replicated load voltage 128. The replicated load voltage 128 is fed to the ADC 108 for analog to digital conversion of the voltage signal. The ADC 108 receives the replicated load voltage 128 signal and generates a digital value adc_data <N:0> corresponding to the replicated load voltage 128. A signal “adc_start” initiates the functioning of the ADC 108. The signal “adc_start” is an active high signal. Therefore, a high state of the signal “adc_start” signals the ADC 108 to start functioning. A clock signal “adc_clk” is supplied to the ADC 108 to clock the functioning of the ADC 108. The ADC 108 also receives an auto-zero signal “adc_az_sar” to remove the offsets present in the ADC 108. A voltage reference signal Vref is also provided to the ADC 108 to meet the voltage requirements. In an embodiment, the replicated load voltage 128 is input to a sample-and-hold, and anti-aliasing filter circuit for filtering the replicated load voltage 128 signal to restrict frequency bandwidth of the replicated load voltage 128 signal. The sample-and-hold, and anti-aliasing filter circuit prevents the aliasing of higher frequency signals back into the baseband of the ADC 208. This voltage is then fed to the ADC 108.
At step 310, the transistor arrangement 102 is dynamically configured based on the digital value. The auto-ranging controller 110 uses the output digital value adc_data <N:0> to generate switching signals “Ibus_super_low” and “Ibus_low”. The switching signals “Ibus_super_low” and “Ibus_low” are used to dynamically change the configuration of the transistor arrangement 102. If the ADC 108 reading crosses a threshold value, the auto-ranging controller 110 sends an appropriate signal to the transistor arrangement 102 via signals “Ibus_super_low” and “Ibus_low”. In an embodiment, the auto-ranging controller 110 may include a memory device for storing the threshold values of the digital value for determining the configuration of the transistor arrangement 102. The memory device may include a one-time programmable memory (OTP). In another embodiment, the auto-ranging method 300 may also include switching the state of at least one of the transistors PM1-A 202-A, PM1-B 202-B, and PM1-C 202-C to dynamically change the configuration of the transistor arrangement 102. One or more of the three transistors PM1-A 202-A, PM1-B 202-B, and PM1-C 202-C may be switched ON to provide the desired amount of current.
In another embodiment, the auto-ranging method 300 may also include determining a state of switching signals “Ibus_super_low” and “Ibus_low” from a switching table for a configuration of the transistor arrangement 102. The auto-ranging controller 110, including a memory device may store a switching table. The switching table tabulates the state of switching signals for various configurations of the transistor arrangement 102.
The methods and systems discussed in the present disclosure provide techniques for auto-ranging an ADC for high precision current measurement. The disclosed techniques present a high precision auto-ranging scheme with low quiescent current demands. The circuit implementations of the auto-ranging systems will consume lesser die area. The auto-ranging technique allows the use of low resolution ADCs to achieve high resolution for very small load currents.
Those in the art will understand that the steps set out in the discussion above may be combined or altered in specific adaptations of the disclosure. The illustrated steps are set out to explain the embodiment shown, and it should be anticipated that ongoing technological development will change the manner in which particular functions are performed. These depictions do not limit the scope of the present disclosure, which is determined solely by reference to the appended claims.

Claims (17)

What is claimed is:
1. An auto-ranging system for dynamically scaling inputs to an analog-to-digital converter, the auto-ranging system comprising:
a dynamically configurable transistor arrangement for providing a load current;
a replica device for replicating the load current and generating a replicated load voltage based on the replicated current;
an analog-to-digital converter for generating a digital value based on the replicated load voltage; and
an auto-ranging controller for dynamically configuring the transistor arrangement based on the digital value to scale the inputs to the analog-to-digital converter.
2. The auto-ranging system of claim 1, further comprising an anti-aliasing filter for restricting frequency bandwidth of the replicated load voltage.
3. The auto-ranging system of claim 1, further comprising a current mirror for mirroring the replicated load current.
4. The auto-ranging system of claim 1, further comprising a current sense resistor for generating the replicated load voltage based on the replicated current.
5. The auto-ranging system of claim 1, wherein the transistor arrangement includes at least three transistors connected in parallel to each other.
6. The auto-ranging system of claim 5, wherein a state of a transistor is switched to dynamically configure of the transistor arrangement.
7. The auto-ranging system of claim 1, wherein the auto-ranging controller includes a memory device for storing a threshold value of the digital value for determining the configuration of the transistor arrangement.
8. The auto-ranging system of claim 7, wherein the memory device is a one-time programmable memory.
9. The auto-ranging system of claim 7, wherein the memory device stores a switching table for determining a state of switches which change the configuration of transistor arrangement.
10. The auto-ranging system of claim 1, wherein the analog-to-digital converter is an 8-bit successive-approximation-register (SAR) analog-to-digital converter (ADC).
11. An auto-ranging method for dynamically scaling inputs to an analog-to-digital converter, the auto-ranging method comprising:
providing a load current by a dynamically configurable transistor arrangement;
replicating the load current;
generating a replicated load voltage based on the replicated current;
generating a digital value based on the replicated load voltage by the analog-to-digital converter; and
dynamically configuring the transistor arrangement based on the digital value to scale the inputs to the analog-to-digital converter.
12. The auto-ranging method of claim 11, further comprising filtering the replicated load voltage to restrict frequency bandwidth of the replicated load voltage.
13. The auto-ranging method of claim 11, further comprising mirroring the replicated load current by a current mirror.
14. The auto-ranging method of claim 11, wherein the transistor arrangement includes at least three transistors connected in parallel to each other.
15. The auto-ranging method of claim 14, further comprising switching a state of a transistor to dynamically configure of the transistor arrangement.
16. The auto-ranging method of claim 11, further comprising determining the configuration of the transistor arrangement based on a threshold value of the digital value.
17. The auto-ranging method of claim 11, further comprising determining a state of switching signals from a switching table for a configuration of the transistor arrangement.
US13/307,022 2011-11-30 2011-11-30 Method and system for auto-ranging analog-to-digital converter for current sensing Active 2031-12-27 US8624766B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/307,022 US8624766B2 (en) 2011-11-30 2011-11-30 Method and system for auto-ranging analog-to-digital converter for current sensing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US13/307,022 US8624766B2 (en) 2011-11-30 2011-11-30 Method and system for auto-ranging analog-to-digital converter for current sensing

Publications (2)

Publication Number Publication Date
US20130135130A1 US20130135130A1 (en) 2013-05-30
US8624766B2 true US8624766B2 (en) 2014-01-07

Family

ID=48466337

Family Applications (1)

Application Number Title Priority Date Filing Date
US13/307,022 Active 2031-12-27 US8624766B2 (en) 2011-11-30 2011-11-30 Method and system for auto-ranging analog-to-digital converter for current sensing

Country Status (1)

Country Link
US (1) US8624766B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9444414B2 (en) 2014-07-11 2016-09-13 Qualcomm Incorporated Current sense circuit using a single opamp having DC offset auto-zeroing

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5815107A (en) * 1996-12-19 1998-09-29 International Business Machines Corporation Current source referenced high speed analog to digitial converter
US6121913A (en) * 1997-09-30 2000-09-19 Intel Corporation Electronic system with high speed, low power, A/D converter
US20020113723A1 (en) * 1999-08-25 2002-08-22 Greig David Vetea CMOS DAC with high impedance differential current drivers
US7221191B2 (en) * 2005-05-23 2007-05-22 Analog Devices, Inc. Signal samplers with enhanced dynamic range
US7425909B2 (en) * 2006-07-31 2008-09-16 Analog Devices, Inc. Low-noise programmable current source
US7446683B2 (en) * 2005-11-03 2008-11-04 Samsung Electronics Co., Ltd. Digital current source
US20100085225A1 (en) * 2008-10-07 2010-04-08 Soon-Jyh Chang Successive approximation adc with binary error tolerance mechanism
US20110063154A1 (en) * 2009-09-11 2011-03-17 Steven Porter Hotelling Touch controller with improved analog front end
US20110140689A1 (en) * 2009-12-10 2011-06-16 Fernando Lalinda D Signal amplitude adjustment to improve resolver-to-digital converter performance
US8078122B2 (en) * 2000-01-21 2011-12-13 Qualcomm Incorporated Interface between digital and analog circuits
US20110304489A1 (en) * 2010-06-15 2011-12-15 Zoran Corporation Methods of and arrangements for offset compensation of an analog-to-digital converter
US20120013495A1 (en) * 2010-07-16 2012-01-19 Analog Devices, Inc. System for digitizing a parameter having an unknown value
US8325072B2 (en) * 2011-01-10 2012-12-04 Intel Mobile Communications GmbH Calibration circuit and method for calibrating capacitive compensation in digital-to-analog converters

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5815107A (en) * 1996-12-19 1998-09-29 International Business Machines Corporation Current source referenced high speed analog to digitial converter
US6121913A (en) * 1997-09-30 2000-09-19 Intel Corporation Electronic system with high speed, low power, A/D converter
US20020113723A1 (en) * 1999-08-25 2002-08-22 Greig David Vetea CMOS DAC with high impedance differential current drivers
US8078122B2 (en) * 2000-01-21 2011-12-13 Qualcomm Incorporated Interface between digital and analog circuits
US7221191B2 (en) * 2005-05-23 2007-05-22 Analog Devices, Inc. Signal samplers with enhanced dynamic range
US7446683B2 (en) * 2005-11-03 2008-11-04 Samsung Electronics Co., Ltd. Digital current source
US7425909B2 (en) * 2006-07-31 2008-09-16 Analog Devices, Inc. Low-noise programmable current source
US20100085225A1 (en) * 2008-10-07 2010-04-08 Soon-Jyh Chang Successive approximation adc with binary error tolerance mechanism
US20110063154A1 (en) * 2009-09-11 2011-03-17 Steven Porter Hotelling Touch controller with improved analog front end
US20110140689A1 (en) * 2009-12-10 2011-06-16 Fernando Lalinda D Signal amplitude adjustment to improve resolver-to-digital converter performance
US20110304489A1 (en) * 2010-06-15 2011-12-15 Zoran Corporation Methods of and arrangements for offset compensation of an analog-to-digital converter
US20120013495A1 (en) * 2010-07-16 2012-01-19 Analog Devices, Inc. System for digitizing a parameter having an unknown value
US8274421B2 (en) * 2010-07-16 2012-09-25 Analog Devices, Inc. System for digitizing a parameter having an unknown value
US8325072B2 (en) * 2011-01-10 2012-12-04 Intel Mobile Communications GmbH Calibration circuit and method for calibrating capacitive compensation in digital-to-analog converters

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9444414B2 (en) 2014-07-11 2016-09-13 Qualcomm Incorporated Current sense circuit using a single opamp having DC offset auto-zeroing

Also Published As

Publication number Publication date
US20130135130A1 (en) 2013-05-30

Similar Documents

Publication Publication Date Title
US9680471B2 (en) Apparatus for a reduced current wake-up circuit for a battery management system
US7957116B2 (en) System and method for detection of multiple current limits
US9797959B2 (en) Battery fuel gauges using FET segment control to increase low current measurement accuracy
JP6669856B2 (en) Apparatus and scheme for IO pinless calibration or trimming of on-chip regulator
US8400862B2 (en) Wake-up control circuit for power-gated IC
EP0851583A1 (en) Data processing system having an auto-ranging low voltage detection circuit
US8970283B2 (en) Switching arrangement, integrated circuit comprising same, method of controlling a switching arrangement, and related computer program product
US8339296B2 (en) Amplifying circuit and analog-digital converting circuit including same
US10296025B2 (en) Apparatus for electric current measurement or calibration and associated methods
JP3994098B2 (en) Method and circuit for testing a regulated power supply in an integrated circuit
US7741870B2 (en) Multi-function input terminal
US9229053B2 (en) Methods and apparatus for debugging lowest power states in System-On-Chips
US20140375130A1 (en) Circuit, Use, and Method for Operating a Circuit
US8624766B2 (en) Method and system for auto-ranging analog-to-digital converter for current sensing
CN110580096B (en) Micro control unit capable of reducing power consumption and control method thereof
US10425073B1 (en) Digital active diode circuit
Li et al. A 0.78-µw 96-ch. deep sub-vt neural spike processor integrated with a nanowatt power management unit
KR100728572B1 (en) Semiconductor memory apparatus
US10497455B2 (en) Apparatus for sampling electrical signals with reduced leakage current and associated methods
US20240162894A1 (en) Semiconductor Integrated Circuit and Semiconductor Device
CN110096843B (en) LDO repair control circuit
CN117630517A (en) Mode detector for DC-DC converter
CN116599530A (en) Chip configuration circuit and chip
US20160313376A1 (en) Detection circuit
JPH0491466A (en) Semiconductor storage device

Legal Events

Date Code Title Description
AS Assignment

Owner name: STANDARD MICROSYSTEMS CORPORATION, NEW YORK

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:PULIJALA, SRINIVAS K.;REEL/FRAME:027303/0477

Effective date: 20111130

STCF Information on status: patent grant

Free format text: PATENTED CASE

FPAY Fee payment

Year of fee payment: 4

AS Assignment

Owner name: MICROCHIP TECHNOLOGY INCORPORATED, ARIZONA

Free format text: MERGER;ASSIGNOR:STANDARD MICROSYSTEMS CORPORATION;REEL/FRAME:044865/0164

Effective date: 20120501

AS Assignment

Owner name: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT, DELAWARE

Free format text: SECURITY INTEREST;ASSIGNORS:MICROCHIP TECHNOLOGY INC.;SILICON STORAGE TECHNOLOGY, INC.;ATMEL CORPORATION;AND OTHERS;REEL/FRAME:053311/0305

Effective date: 20200327

AS Assignment

Owner name: MICROSEMI STORAGE SOLUTIONS, INC., ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:JPMORGAN CHASE BANK, N.A, AS ADMINISTRATIVE AGENT;REEL/FRAME:053466/0011

Effective date: 20200529

Owner name: MICROSEMI CORPORATION, CALIFORNIA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:JPMORGAN CHASE BANK, N.A, AS ADMINISTRATIVE AGENT;REEL/FRAME:053466/0011

Effective date: 20200529

Owner name: SILICON STORAGE TECHNOLOGY, INC., ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:JPMORGAN CHASE BANK, N.A, AS ADMINISTRATIVE AGENT;REEL/FRAME:053466/0011

Effective date: 20200529

Owner name: ATMEL CORPORATION, ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:JPMORGAN CHASE BANK, N.A, AS ADMINISTRATIVE AGENT;REEL/FRAME:053466/0011

Effective date: 20200529

Owner name: MICROCHIP TECHNOLOGY INC., ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:JPMORGAN CHASE BANK, N.A, AS ADMINISTRATIVE AGENT;REEL/FRAME:053466/0011

Effective date: 20200529

AS Assignment

Owner name: WELLS FARGO BANK, NATIONAL ASSOCIATION, MINNESOTA

Free format text: SECURITY INTEREST;ASSIGNORS:MICROCHIP TECHNOLOGY INC.;SILICON STORAGE TECHNOLOGY, INC.;ATMEL CORPORATION;AND OTHERS;REEL/FRAME:053468/0705

Effective date: 20200529

AS Assignment

Owner name: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS COLLATERAL AGENT, MINNESOTA

Free format text: SECURITY INTEREST;ASSIGNORS:MICROCHIP TECHNOLOGY INCORPORATED;SILICON STORAGE TECHNOLOGY, INC.;ATMEL CORPORATION;AND OTHERS;REEL/FRAME:055671/0612

Effective date: 20201217

AS Assignment

Owner name: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT, MINNESOTA

Free format text: SECURITY INTEREST;ASSIGNORS:MICROCHIP TECHNOLOGY INCORPORATED;SILICON STORAGE TECHNOLOGY, INC.;ATMEL CORPORATION;AND OTHERS;REEL/FRAME:057935/0474

Effective date: 20210528

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 8

AS Assignment

Owner name: MICROSEMI STORAGE SOLUTIONS, INC., ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT;REEL/FRAME:059863/0400

Effective date: 20220228

Owner name: MICROSEMI CORPORATION, ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT;REEL/FRAME:059863/0400

Effective date: 20220228

Owner name: ATMEL CORPORATION, ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT;REEL/FRAME:059863/0400

Effective date: 20220228

Owner name: SILICON STORAGE TECHNOLOGY, INC., ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT;REEL/FRAME:059863/0400

Effective date: 20220228

Owner name: MICROCHIP TECHNOLOGY INCORPORATED, ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT;REEL/FRAME:059863/0400

Effective date: 20220228

AS Assignment

Owner name: MICROSEMI STORAGE SOLUTIONS, INC., ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT;REEL/FRAME:059363/0001

Effective date: 20220228

Owner name: MICROSEMI CORPORATION, ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT;REEL/FRAME:059363/0001

Effective date: 20220228

Owner name: ATMEL CORPORATION, ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT;REEL/FRAME:059363/0001

Effective date: 20220228

Owner name: SILICON STORAGE TECHNOLOGY, INC., ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT;REEL/FRAME:059363/0001

Effective date: 20220228

Owner name: MICROCHIP TECHNOLOGY INCORPORATED, ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT;REEL/FRAME:059363/0001

Effective date: 20220228

AS Assignment

Owner name: MICROSEMI STORAGE SOLUTIONS, INC., ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT;REEL/FRAME:060894/0437

Effective date: 20220228

Owner name: MICROSEMI CORPORATION, ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT;REEL/FRAME:060894/0437

Effective date: 20220228

Owner name: ATMEL CORPORATION, ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT;REEL/FRAME:060894/0437

Effective date: 20220228

Owner name: SILICON STORAGE TECHNOLOGY, INC., ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT;REEL/FRAME:060894/0437

Effective date: 20220228

Owner name: MICROCHIP TECHNOLOGY INCORPORATED, ARIZONA

Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT;REEL/FRAME:060894/0437

Effective date: 20220228