US20130141829A1 - Current detection and limiting method and apparatus - Google Patents
Current detection and limiting method and apparatus Download PDFInfo
- Publication number
- US20130141829A1 US20130141829A1 US13/625,641 US201213625641A US2013141829A1 US 20130141829 A1 US20130141829 A1 US 20130141829A1 US 201213625641 A US201213625641 A US 201213625641A US 2013141829 A1 US2013141829 A1 US 2013141829A1
- Authority
- US
- United States
- Prior art keywords
- current
- value
- voltage
- generating
- current source
- 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.)
- Abandoned
Links
- 238000000034 method Methods 0.000 title claims description 29
- 238000001514 detection method Methods 0.000 title description 22
- 230000001681 protective effect Effects 0.000 claims 1
- 230000003247 decreasing effect Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 238000001914 filtration Methods 0.000 description 4
- 239000003990 capacitor Substances 0.000 description 3
- 238000004088 simulation Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000003321 amplification Effects 0.000 description 1
- 239000003637 basic solution Substances 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000003066 decision tree Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000036039 immunity Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000000243 solution Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02H—EMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
- H02H9/00—Emergency protective circuit arrangements for limiting excess current or voltage without disconnection
- H02H9/02—Emergency protective circuit arrangements for limiting excess current or voltage without disconnection responsive to excess current
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/266—Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
Definitions
- the invention relates to methods and apparatuses for current detection and limiting, and more specifically to a method and apparatus for current detection and limiting for devices driven from current limited sources, such as audio amplifiers driven from a USB bus.
- USB standard requires the USB host to supply a minimum of 500 mA of continuous current, with brief support of higher peak levels of limited duration. It is also the USB host's responsibility to detect when a device connected to any individual port violates the current limit and to act appropriately to protect the host as well as other devices connected to other USB ports. The offending port can be reset to see if that corrects the excessive current draw. If the current limit is repeatedly violated, the port could be disabled and the user would be notified that something is wrong and that the port will have to be manually reactivated.
- the current invention provides a method and apparatus for current detection and limiting that prevent device or port reset or other supply interruptions for systems or devices that receive power from a current limited source.
- an apparatus for detecting and controlling current is provided.
- a current detector generates a first value that represents an amount of current being delivered to a device, such as a voltage drop across a resistor that is in line with the current being provided to the device.
- a current limit circuit generates a second value that represents a maximum permitted current level from a current source, such as based on a voltage drop generated across a predetermined resistance that is driven by a predetermined bias current.
- a current controller controls the amount of current drawn by the device if the first value exceeds the second value, such as by decreasing the gain of a pre-amplifier to the device, where the device is an audio amplifier.
- FIG. 1 is a diagram of a system for current detection and limiting in accordance with an exemplary embodiment of the present invention
- FIG. 2 is a diagram of a system for current detection in accordance with an exemplary embodiment of the present invention
- FIG. 4 is a flow chart of a method for current detection and limiting in accordance with an exemplary embodiment of the present invention.
- FIG. 5 is a diagram of a system for current detection at multiple levels in accordance with an exemplary embodiment of the present invention.
- System 100 can be implemented in hardware, software, or a suitable combination of hardware and software, and can be one or more hardware components in an integrated circuit.
- “hardware” can include a combination of discrete components, an integrated circuit, an application-specific integrated circuit, a field programmable gate array, a digital signal processor, or other suitable hardware.
- “software” can include one or more objects, agents, threads, lines of code, subroutines, separate software applications, two or more lines of code or other suitable software structures operating in two or more software applications or on two or more processors, or other suitable software structures.
- software can include one or more lines of code or other suitable software structures operating in a general purpose software application, such as an operating system, and one or more lines of code or other suitable software structures operating in a specific purpose software application.
- a power signal is received at 5V USB 102 and provided to amplifier 114 through RSENSE 104 , which is used to generate a current measurement value for use by current detect 110 .
- Current detect 110 provides gain control to pre-amp 112 , which receives the audio signal being processed and performs pre-amplification of the audio signal before it is provided to amplifier 114 . In this manner, the current that is being drawn by amplifier 114 can be measured and used to control the gain of pre-amp 112 , so as to limit the current to a predetermined level.
- System 100 includes V — 5REG 106 , which is an input supply pin or other suitable input supply devices for system 100 .
- V — 5REG 106 can drive an on-chip regulator that generates the analog and digital voltage supplies and performs other suitable functions.
- V_AMP 108 is the supply pin or other suitable devices for the audio amplifier. Although a mono mode system having a single speaker 116 is shown, system 100 can be used for stereo amplifier configurations or other suitable devices. In one exemplary embodiment, for a stereo amplifier, V_AMP 108 may be separated into individual amplifier pins or other suitable devices, such as a V_AMP left pin and a V_AMP right pin.
- V — 5REG 106 and V_AMP 108 can be separated from each other by a predetermined distance, as well as from other components of system 100 , in order to minimize noise, crosstalk coupling and other undesired effects.
- Low-pass filtering can be provided by de-coupling capacitors C 1 and C 2 , which are typically present and do not need to be added.
- Current measurement can be accomplished with RSENSE 104 , which is coupled between the existing supply pins, thereby minimizing cost by eliminating the need for extra device pins or other connecting structures. Costs can be further reduced by including RSENSE 104 within the integrated circuit device package.
- RSENSE 104 can be implemented using bond wires at V_AMP 108 or in other suitable manners.
- the gain of pre-amplifier 112 can be reduced in order to reduce the supply current.
- the supply current drops below a second predetermined threshold (such as a lower voltage value than the voltage value representing the overcurrent threshold) and the status signal resets low, the gain of pre-amp 112 can then be returned to its nominal value. If reducing the gain of pre-amp 112 does not lower the current and a second, higher current status signal is generated, which may indicate a short circuit or other malfunction, then that second status signal can be used to disable amplifier 114 .
- Other suitable decision trees and actions can be implemented, so as to create a feedback loop that measures the supply current and that keeps it below a predetermined threshold.
- a current detection and limiting system is provided that can be used with an audio amplifier system or other suitable systems that are powered from a current-limited power supply, such as a USB host, or other suitable power supplies.
- the current detection and limiting provided by system 100 measures current being supplied to amplifier 114 directly, and uses this information to control the audio amplifier gain in a manner that lowers the supply current's peak magnitude and duration.
- the current detection and limiting of system 100 is low in device costs and requires no additional device pins, and can be applied in a suitable location, such that it does not need to be integrated into the audio amplifier.
- V comp high if I AMP ⁇ R SENSE ⁇ I BIAS ⁇ R INT
- V comp low if I AMP ⁇ R SENSE >I BIAS ⁇ R INT
- the equivalent current threshold can be defined as:
- bias current I BIAS 220 or internal resistor R INT 208 By making either bias current I BIAS 220 or internal resistor R INT 208 programmable, different thresholds can be set, such as by providing predetermined control data associated with each threshold. In this exemplary embodiment, variations in the value of R SENSE can be accommodated, variations in the current limit thresholds of the current supply can be provided, or other suitable conditions can be controlled, so as to allow system 200 to be used in a variety of different applications.
- Comparator 206 is coupled to blanking filter LPF 214 that can be implemented as a weak digital inverter driving an on-chip capacitor 216 or in other suitable manners.
- Blanking filter LPF 214 can be used to filter out transients or noise that can cause false detections.
- current sources 210 and 212 are coupled to transistor pair 222 , which receives the output of comparator 206 at the gate of each transistor.
- Capacitor 216 is used to provide additional low-pass filtering.
- the filtered signal can be stored in buffer 218 and output as a digital level. Additional filtering or post-processing can also be performed on this signal if suitable.
- hysteresis can be added to the thresholds by using the digital output to control a current source in parallel with the bias current.
- the effective bias current is the sum of the two currents I BIAS 220 and I HYS 222 .
- the hysteresis current source 222 can be disabled, such that the current threshold is reduced.
- the effective thresholds can be defined by:
- the upper threshold can be 450 mA while the lower threshold can be 400 mA, such as when a USB bus is providing the current.
- system 200 can be configured to trip when the supply current exceeds 450 mA, but not to reset until the supply current goes below 400 mA.
- This hysteresis function can be used to help avoid oscillations, such as when the supply current is varying near a threshold or in other suitable conditions.
- FIG. 3 is a diagram 300 of a simulation of the operation of a current detection and limiting system in accordance with an exemplary embodiment of the present invention.
- the simulated system utilizes one detector cell with hysteresis enabled.
- a 260 Hz square wave is applied to the amplifier.
- the top plot shows the output of the pre-amplifier (trace 302 ) and the output load voltage (trace 304 ).
- the middle plot shows the amplifier current flowing through the sense resistor (trace 306 ) and the USB supply current (trace 308 ).
- the USB current is greater than the amplifier current since it includes the current flowing into the V — 5REG pin.
- the lower trace (trace 310 ) is the current detector's digital output; a high signal indicates that an over-current situation is present.
- FIG. 4 is a flow chart of a method 400 for current detection and limiting in accordance with an exemplary embodiment of the present invention.
- Method 400 begins at 402 , where a supply current is provided through a sense resistor.
- the supply current can be the current that is provided to a peripheral device from a current source having maximum current limitations, such as an audio device that is driven from a USB bus or other suitable devices and current sources.
- the method then proceeds to 404 .
- a voltage difference V D across the sense resistor is detected, such as by comparing the voltage to a voltage generated across a second resistor driven by a bias current or in other suitable manners. The method then proceeds to 406 .
- the threshold value TH 1 can be determined based on a voltage that corresponds to a maximum current threshold that should be conducted through the sense resistor, or in other suitable manners. If it is determined that V D is less than the threshold value TH 1 , the method returns to 404 . Otherwise, the method proceeds to 408 .
- the gain or power level of a peripheral device that is receiving the drive current is reduced.
- the gain of a pre-amplifier for an audio amplifier can be reduced, so as to reduce the current being drawn by the audio amplifier.
- other suitable functions can be performed to reduce the current being drawn from the current source. The method then proceeds to 410 .
- the bias current for the current detector can be reduced so as to reduce the voltage provided to a comparator or other suitable devices.
- the bias voltage can be used to generate a reference voltage, such as TH 1 , that the voltage from the sense resistor is compared to, such that a reduction in the bias current reduces the reference voltage by a predetermined amount to a new level, such as TH 2 . In this manner, when the current being drawn from the current source is rapidly varying around the threshold current level, rapid fluctuations in gain can be avoided. The method then proceeds to 412 .
- the method proceeds to 414 , where the gain, power level or other setting of the device or system that is receiving current from the current source is increased.
- the second threshold can be omitted and it can be determined at 412 whether the voltage difference V D has decreased below the first threshold TH 1 , such as in embodiments where a second bias current source such as I HYS 22 of FIG. 2 is not used. The method then proceeds to 416 .
- the bias current of the current detector is increased, such as to increase the voltage that the detector uses to compare to a sensed voltage that corresponds to the current being received from the current source.
- the bias current can be decreased, as previously described, to avoid rapid fluctuations in gain, power level or other settings, and can be returned to a higher level once the current being drawn from the current source has decreased by a predetermined amount below the upper threshold.
- a second bias current source such as I HYS 22 of FIG. 2 is not used, 416 can be omitted. The method then returns to 404 .
- a second detector or other suitable configurations can be used to detect whether a higher sensed voltage has been measured, such as a sensed voltage that corresponds to a current level from the current source that is not sustainable.
- the device or system receiving the current from the current source may have malfunctioned, a short circuit may be present, or other conditions may exist that require an indication to be generated, the system or device to be disabled, or other actions to be taken.
- the method returns to 412 . Otherwise, the method proceeds to 420 where the amplifier or other device or system is disabled, a notification signal is generated, or other suitable processes are also or alternatively performed. Alternatively, 418 can be performed in parallel with 406 , instead of sequentially as shown.
- method 400 allows a device or system that is being driven from a current limited power source, such as an audio amplifier that is driven from a USB bus or other suitable devices or systems that are being driven from other suitable power sources, to be monitored so as to reduce the current provided to the device or system to prevent the current source from being overdriven, which can result in interruption of the current source and disruption of operation of the system or device.
- Method 400 can also prevent rapid fluctuations in the control state, and can also detect when a condition exists requiring the system or device to be disabled.
- FIG. 5 is a diagram of a system 500 for current detection at multiple levels in accordance with an exemplary embodiment of the present invention.
- System 500 can be implemented in hardware, such as in an integrated circuit, or in other suitable manners.
- a first detector cell could be set with a threshold at 450 mA and a second detector cell could be set with a threshold of 700 mA.
- the first detector cell's output can thus be used to lower the amplifier gain, while the second higher-threshold detector cell could be used to power off the amplifier and provide user notification data, such as through a fault indicator output as shown in FIG. 1 , as an indicator of a potential fault or short circuit.
- ports V — 5REG 502 and V_AMP 504 and the first detector CURRENT DECTECT 1 510 is as given for system 200 in FIG. 2 .
- a second current detection system 200 is added in parallel as CURRENT DETECT 2 520 .
- CURRENT DECTECT 1 510 is configured to have hysteresis enabled and has a high threshold of 450 mA and a low threshold of 400 mA.
- CURRENT DECTECTECT 1 510 has an output GAIN CTRL 506 that can be used to lower the amplifier gain.
- CURRENT DETECT 2 520 can be configured to have hysteresis disabled and has a threshold of 700 mA.
- CURRENT DECTECT 2 520 has an output DISBALE 508 that can be used to disable the amplifier and provide user notification data, such as an indicator of a potential fault or short circuit. Additional filtering can be added to the outputs of either or both of the detector cells to prevent inadvertent detections or disablement due to transients.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Engineering (AREA)
- Amplifiers (AREA)
Abstract
Description
- The invention relates to methods and apparatuses for current detection and limiting, and more specifically to a method and apparatus for current detection and limiting for devices driven from current limited sources, such as audio amplifiers driven from a USB bus.
- Audio systems that are powered by a USB bus supply require a tradeoff between the peak output power delivered to the speaker loads and proper compliance with USB standards. The USB standard requires the USB host to supply a minimum of 500 mA of continuous current, with brief support of higher peak levels of limited duration. It is also the USB host's responsibility to detect when a device connected to any individual port violates the current limit and to act appropriately to protect the host as well as other devices connected to other USB ports. The offending port can be reset to see if that corrects the excessive current draw. If the current limit is repeatedly violated, the port could be disabled and the user would be notified that something is wrong and that the port will have to be manually reactivated.
- In contrast to these host limitations, marketing directives push for the “loudest” or highest power audio system feasible (where power is proportional to current). Since the USB restrictions are rigid requirements, it is necessary to maximize output power without violating the USB current limitation. However, prior art solutions that violate the current limit often result in a device reset, which causes the audio device to become disconnected from the USB host and requires the device to be re-initiated by the host. When the device resets, the audio stream ends abruptly and the user has to restart the playback. Alternatively, if the device doesn't reset, the USB host can reset the port itself, resulting in similar consequences. If multiple resets occur, the USB host could ultimately disable the port completely.
- In order to avoid the issues described so far, two basic solutions have been seen: either limit the output level at all times to avoid ever drawing too much current, or add current limiting between the host and amplifier. The former disproportionately trades performance for compliance, while the latter adds considerable cost to the system. An alternative approach that is commonly seen it to add current detection in the amplifier's output to detect excessive load current draw. While this approach can handle gross situations like short-circuits, it is difficult to optimize load power because there usually isn't a simple relationship between the load current and supply current. Intermediate thresholds can be achieved, but the issue is that the load current isn't a precise measure of the supply current. Because the supply current is related to the load current via efficiency calculations, and the efficiency isn't well known in every condition, this method requires the designer to use the most conservative estimate of efficiency, thus resulting in a less than optimal design.
- The current invention provides a method and apparatus for current detection and limiting that prevent device or port reset or other supply interruptions for systems or devices that receive power from a current limited source.
- In accordance with an exemplary embodiment of the present invention, an apparatus for detecting and controlling current is provided. A current detector generates a first value that represents an amount of current being delivered to a device, such as a voltage drop across a resistor that is in line with the current being provided to the device. A current limit circuit generates a second value that represents a maximum permitted current level from a current source, such as based on a voltage drop generated across a predetermined resistance that is driven by a predetermined bias current. A current controller controls the amount of current drawn by the device if the first value exceeds the second value, such as by decreasing the gain of a pre-amplifier to the device, where the device is an audio amplifier.
- Those skilled in the art will further appreciate the advantages and superior features of the invention together with other important aspects thereof on reading the detailed description that follows in conjunction with the drawings.
-
FIG. 1 is a diagram of a system for current detection and limiting in accordance with an exemplary embodiment of the present invention; -
FIG. 2 is a diagram of a system for current detection in accordance with an exemplary embodiment of the present invention; -
FIG. 3 is a diagram of a simulation of the operation of a current detection and limiting system in accordance with an exemplary embodiment of the present invention; -
FIG. 4 is a flow chart of a method for current detection and limiting in accordance with an exemplary embodiment of the present invention; and -
FIG. 5 is a diagram of a system for current detection at multiple levels in accordance with an exemplary embodiment of the present invention. - In the description that follows, like parts are marked throughout the specification and drawings with the same reference numerals, respectively. The drawing figures might not be to scale, and certain components can be shown in generalized or schematic form and identified by commercial designations in the interest of clarity and conciseness.
-
FIG. 1 is a diagram of asystem 100 for current detection and limiting in accordance with an exemplary embodiment of the present invention.System 100 can be used with an audio amplifier system powered from a current-limited power supply, such as a USB host, other suitable systems driven from a USB host, other suitable systems driven from a current-limited power source, or for other suitable purposes. - System 100 can be implemented in hardware, software, or a suitable combination of hardware and software, and can be one or more hardware components in an integrated circuit. As used herein, “hardware” can include a combination of discrete components, an integrated circuit, an application-specific integrated circuit, a field programmable gate array, a digital signal processor, or other suitable hardware. As used herein, “software” can include one or more objects, agents, threads, lines of code, subroutines, separate software applications, two or more lines of code or other suitable software structures operating in two or more software applications or on two or more processors, or other suitable software structures. In one exemplary embodiment, software can include one or more lines of code or other suitable software structures operating in a general purpose software application, such as an operating system, and one or more lines of code or other suitable software structures operating in a specific purpose software application.
- A power signal is received at
5V USB 102 and provided to amplifier 114 through RSENSE 104, which is used to generate a current measurement value for use bycurrent detect 110.Current detect 110 provides gain control to pre-amp 112, which receives the audio signal being processed and performs pre-amplification of the audio signal before it is provided to amplifier 114. In this manner, the current that is being drawn byamplifier 114 can be measured and used to control the gain of pre-amp 112, so as to limit the current to a predetermined level. -
System 100 includes V—5REG 106, which is an input supply pin or other suitable input supply devices forsystem 100. V—5REG 106 can drive an on-chip regulator that generates the analog and digital voltage supplies and performs other suitable functions. V_AMP 108 is the supply pin or other suitable devices for the audio amplifier. Although a mono mode system having asingle speaker 116 is shown,system 100 can be used for stereo amplifier configurations or other suitable devices. In one exemplary embodiment, for a stereo amplifier,V_AMP 108 may be separated into individual amplifier pins or other suitable devices, such as a V_AMP left pin and a V_AMP right pin. - In one exemplary embodiment, V—5REG 106 and V_AMP 108 can be separated from each other by a predetermined distance, as well as from other components of
system 100, in order to minimize noise, crosstalk coupling and other undesired effects. Low-pass filtering can be provided by de-coupling capacitors C1 and C2, which are typically present and do not need to be added. Current measurement can be accomplished with RSENSE 104, which is coupled between the existing supply pins, thereby minimizing cost by eliminating the need for extra device pins or other connecting structures. Costs can be further reduced by including RSENSE 104 within the integrated circuit device package. RSENSE 104 can be implemented using bond wires at V_AMP 108 or in other suitable manners. - The voltage across
RSENSE 104 can be measured bycurrent detect 110 and compared against a predetermined voltage reference that represents a particular threshold current, such as a voltage reference that is based on the value ofRSENSE 104 and the current limits of the power source, such as a USB bus. If the measured voltage exceeds the predetermined voltage reference, which indicates that the sensed current exceeds a threshold current,current detect 110 can generate a signal that represents that the sensed current has exceeded the threshold, such as a predetermined digital value or other suitable signals. The signal, such as a digital indicator, can also be used to control the current drawn byamplifier 114 by controlling the gain of pre-amp 112. In one exemplary embodiment, if an overcurrent status signal is generated, the gain of pre-amplifier 112 can be reduced in order to reduce the supply current. In another exemplary embodiment, if the supply current drops below a second predetermined threshold (such as a lower voltage value than the voltage value representing the overcurrent threshold) and the status signal resets low, the gain of pre-amp 112 can then be returned to its nominal value. If reducing the gain of pre-amp 112 does not lower the current and a second, higher current status signal is generated, which may indicate a short circuit or other malfunction, then that second status signal can be used to disableamplifier 114. Other suitable decision trees and actions can be implemented, so as to create a feedback loop that measures the supply current and that keeps it below a predetermined threshold. - In operation, a current detection and limiting system is provided that can be used with an audio amplifier system or other suitable systems that are powered from a current-limited power supply, such as a USB host, or other suitable power supplies. The current detection and limiting provided by
system 100 measures current being supplied to amplifier 114 directly, and uses this information to control the audio amplifier gain in a manner that lowers the supply current's peak magnitude and duration. The current detection and limiting ofsystem 100 is low in device costs and requires no additional device pins, and can be applied in a suitable location, such that it does not need to be integrated into the audio amplifier. -
FIG. 2 is a diagram of asystem 200 for current detection in accordance with an exemplary embodiment of the present invention.System 200 can be implemented in hardware, such as in an integrated circuit, or in other suitable manners. - Current source IBIAS 220 causes a voltage drop across
internal resistor R INT 208, which introduces an offset at the input ofcomparator 206. The output ofcomparator 206 will remain high until the voltage difference between V—5REG 202 andV_AMP 204 is greater than the offset. Because the voltage between the two pins is proportional to the amplifier current, the following relationship can be used to define the operation of comparator 206: -
V comp=high if I AMP ·R SENSE <I BIAS ·R INT -
V comp=low if I AMP ·R SENSE >I BIAS ·R INT - Thus, the equivalent current threshold can be defined as:
-
- By making either bias current IBIAS 220 or
internal resistor R INT 208 programmable, different thresholds can be set, such as by providing predetermined control data associated with each threshold. In this exemplary embodiment, variations in the value of RSENSE can be accommodated, variations in the current limit thresholds of the current supply can be provided, or other suitable conditions can be controlled, so as to allowsystem 200 to be used in a variety of different applications. -
Comparator 206 is coupled to blankingfilter LPF 214 that can be implemented as a weak digital inverter driving an on-chip capacitor 216 or in other suitable manners.Blanking filter LPF 214 can be used to filter out transients or noise that can cause false detections. In one exemplary embodiment,current sources transistor pair 222, which receives the output ofcomparator 206 at the gate of each transistor.Capacitor 216 is used to provide additional low-pass filtering. The filtered signal can be stored inbuffer 218 and output as a digital level. Additional filtering or post-processing can also be performed on this signal if suitable. - For additional deglitching and improved noise immunity, hysteresis can be added to the thresholds by using the digital output to control a current source in parallel with the bias current. In this exemplary embodiment, when the supply current is below a predetermined threshold, the effective bias current is the sum of the two currents IBIAS 220 and IHYS 222. When the overcurrent protection of
system 200 is activated, the hysteresiscurrent source 222 can be disabled, such that the current threshold is reduced. The effective thresholds can be defined by: -
- In one exemplary embodiment, the upper threshold can be 450 mA while the lower threshold can be 400 mA, such as when a USB bus is providing the current. Thus,
system 200 can be configured to trip when the supply current exceeds 450 mA, but not to reset until the supply current goes below 400 mA. This hysteresis function can be used to help avoid oscillations, such as when the supply current is varying near a threshold or in other suitable conditions. -
FIG. 3 is a diagram 300 of a simulation of the operation of a current detection and limiting system in accordance with an exemplary embodiment of the present invention. The simulated system utilizes one detector cell with hysteresis enabled. A 260 Hz square wave is applied to the amplifier. The top plot shows the output of the pre-amplifier (trace 302) and the output load voltage (trace 304). The middle plot shows the amplifier current flowing through the sense resistor (trace 306) and the USB supply current (trace 308). The USB current is greater than the amplifier current since it includes the current flowing into the V—5REG pin. The lower trace (trace 310) is the current detector's digital output; a high signal indicates that an over-current situation is present. From the simulation it can be seen that when the amplifier current is above the predetermined threshold, the detector output goes high and the pre-amplifier's gain is reduced by 3 dB (see “notches” in the load waveform that align with the lower detection trace). This reduction in gain causes the supply current to begin reducing. Once the current dropped below the second lower threshold, the gain returns to its nominal value. - If a sinusoidal waveform is used, the current never goes too high and the gain isn't changed. Thus, the system allows the transmission of most signals without any additional distortion while at the same time passing square waves without drawing too much current. This allows the system to meet USB requirements without sacrificing output power.
-
FIG. 4 is a flow chart of a method 400 for current detection and limiting in accordance with an exemplary embodiment of the present invention. Method 400 begins at 402, where a supply current is provided through a sense resistor. In one exemplary embodiment, the supply current can be the current that is provided to a peripheral device from a current source having maximum current limitations, such as an audio device that is driven from a USB bus or other suitable devices and current sources. The method then proceeds to 404. - At 404, a voltage difference VD across the sense resistor is detected, such as by comparing the voltage to a voltage generated across a second resistor driven by a bias current or in other suitable manners. The method then proceeds to 406.
- At 406, it is determined whether the voltage difference VD is greater than a first threshold value TH1. In one exemplary embodiment, the threshold value TH1 can be determined based on a voltage that corresponds to a maximum current threshold that should be conducted through the sense resistor, or in other suitable manners. If it is determined that VD is less than the threshold value TH1, the method returns to 404. Otherwise, the method proceeds to 408.
- At 408, the gain or power level of a peripheral device that is receiving the drive current is reduced. In one exemplary embodiment, the gain of a pre-amplifier for an audio amplifier can be reduced, so as to reduce the current being drawn by the audio amplifier. Likewise, other suitable functions can be performed to reduce the current being drawn from the current source. The method then proceeds to 410.
- At 410, the bias current for the current detector can be reduced so as to reduce the voltage provided to a comparator or other suitable devices. In one exemplary embodiment, the bias voltage can be used to generate a reference voltage, such as TH1, that the voltage from the sense resistor is compared to, such that a reduction in the bias current reduces the reference voltage by a predetermined amount to a new level, such as TH2. In this manner, when the current being drawn from the current source is rapidly varying around the threshold current level, rapid fluctuations in gain can be avoided. The method then proceeds to 412.
- At 412, it is determined whether the voltage difference VD has decreased below a second threshold TH2. In one exemplary embodiment, when the voltage difference VD has decreased, that can indicate that the current being drawn from the current source has decreased below a level at which the current source will shut down, reset or otherwise interfere with the operation of the device being driven by the current source. If the voltage difference VD has decreased below TH2, the method proceeds to 414, where the gain, power level or other setting of the device or system that is receiving current from the current source is increased. Alternatively, the second threshold can be omitted and it can be determined at 412 whether the voltage difference VD has decreased below the first threshold TH1, such as in embodiments where a second bias current source such as IHYS 22 of
FIG. 2 is not used. The method then proceeds to 416. - At 416, the bias current of the current detector is increased, such as to increase the voltage that the detector uses to compare to a sensed voltage that corresponds to the current being received from the current source. In one exemplary embodiment, the bias current can be decreased, as previously described, to avoid rapid fluctuations in gain, power level or other settings, and can be returned to a higher level once the current being drawn from the current source has decreased by a predetermined amount below the upper threshold. Alternatively, where a second bias current source such as IHYS 22 of
FIG. 2 is not used, 416 can be omitted. The method then returns to 404. - If it is determined at 412 that the voltage difference VD has not decreased below a second threshold TH2, the method proceeds to 418, where it is determined whether the voltage difference VD has increased above a third threshold TH3. In one exemplary embodiment, a second detector or other suitable configurations can be used to detect whether a higher sensed voltage has been measured, such as a sensed voltage that corresponds to a current level from the current source that is not sustainable. In this exemplary embodiment, the device or system receiving the current from the current source may have malfunctioned, a short circuit may be present, or other conditions may exist that require an indication to be generated, the system or device to be disabled, or other actions to be taken. If it is determined at 418 that the voltage difference VD has not increased above the third threshold TH3, the method returns to 412. Otherwise, the method proceeds to 420 where the amplifier or other device or system is disabled, a notification signal is generated, or other suitable processes are also or alternatively performed. Alternatively, 418 can be performed in parallel with 406, instead of sequentially as shown.
- In operation, method 400 allows a device or system that is being driven from a current limited power source, such as an audio amplifier that is driven from a USB bus or other suitable devices or systems that are being driven from other suitable power sources, to be monitored so as to reduce the current provided to the device or system to prevent the current source from being overdriven, which can result in interruption of the current source and disruption of operation of the system or device. Method 400 can also prevent rapid fluctuations in the control state, and can also detect when a condition exists requiring the system or device to be disabled.
-
FIG. 5 is a diagram of asystem 500 for current detection at multiple levels in accordance with an exemplary embodiment of the present invention.System 500 can be implemented in hardware, such as in an integrated circuit, or in other suitable manners. - In order to detect multiple thresholds at the same time, additional instantiations of
system 200 can be added in parallel. In one exemplary embodiment, a first detector cell could be set with a threshold at 450 mA and a second detector cell could be set with a threshold of 700 mA. The first detector cell's output can thus be used to lower the amplifier gain, while the second higher-threshold detector cell could be used to power off the amplifier and provide user notification data, such as through a fault indicator output as shown inFIG. 1 , as an indicator of a potential fault or short circuit. - The description and behavior of ports V—5REG 502 and
V_AMP 504 and the firstdetector CURRENT DECTECT1 510 is as given forsystem 200 inFIG. 2 . A secondcurrent detection system 200 is added in parallel asCURRENT DETECT2 520. In one exemplary embodiment,CURRENT DECTECT1 510 is configured to have hysteresis enabled and has a high threshold of 450 mA and a low threshold of 400 mA.CURRENT DECTECT1 510 has anoutput GAIN CTRL 506 that can be used to lower the amplifier gain.CURRENT DETECT2 520 can be configured to have hysteresis disabled and has a threshold of 700 mA.CURRENT DECTECT2 520 has anoutput DISBALE 508 that can be used to disable the amplifier and provide user notification data, such as an indicator of a potential fault or short circuit. Additional filtering can be added to the outputs of either or both of the detector cells to prevent inadvertent detections or disablement due to transients. - Although exemplary embodiments of an apparatus of the present invention have been described in detail herein, those skilled in the art will also recognize that various substitutions and modifications can be made to the apparatus without departing from the scope and spirit of the appended claims.
Claims (21)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/625,641 US20130141829A1 (en) | 2008-12-22 | 2012-09-24 | Current detection and limiting method and apparatus |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US12/341,753 US8274772B2 (en) | 2008-12-22 | 2008-12-22 | Current detection and limiting method and apparatus |
US13/625,641 US20130141829A1 (en) | 2008-12-22 | 2012-09-24 | Current detection and limiting method and apparatus |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/341,753 Continuation US8274772B2 (en) | 2008-12-22 | 2008-12-22 | Current detection and limiting method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
US20130141829A1 true US20130141829A1 (en) | 2013-06-06 |
Family
ID=42265711
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/341,753 Active 2031-03-21 US8274772B2 (en) | 2008-12-22 | 2008-12-22 | Current detection and limiting method and apparatus |
US13/625,641 Abandoned US20130141829A1 (en) | 2008-12-22 | 2012-09-24 | Current detection and limiting method and apparatus |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/341,753 Active 2031-03-21 US8274772B2 (en) | 2008-12-22 | 2008-12-22 | Current detection and limiting method and apparatus |
Country Status (1)
Country | Link |
---|---|
US (2) | US8274772B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9954505B2 (en) | 2014-01-13 | 2018-04-24 | Samsung Electronics Co., Ltd | Audio output control method and electronic device supporting the same |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8760833B2 (en) | 2012-02-14 | 2014-06-24 | Hewlett Packard Development Company, L.P. | Apparatus and methods for limiting surges in load current |
EP2728439A1 (en) * | 2012-10-31 | 2014-05-07 | Thomson Licensing | Device and method for electric power management of a plurality of peripheral interfaces |
TW201430543A (en) * | 2013-01-31 | 2014-08-01 | Wistron Corp | Protection device, protection method thereof and electronic system thereof |
US9971947B2 (en) * | 2014-07-31 | 2018-05-15 | Magna Electronics Inc. | Vehicle vision system with camera power control |
EP3054624B1 (en) | 2015-02-06 | 2017-01-04 | Axis AB | Method for amplifying a signal and amplifying device |
US10976798B2 (en) | 2016-11-30 | 2021-04-13 | Trane International Inc. | Automated peripheral power management |
CN109217248B (en) * | 2017-07-05 | 2021-11-05 | 台达电子企业管理(上海)有限公司 | Fault processing method and system for connector |
CN114995565B (en) * | 2022-05-17 | 2024-02-09 | 深圳南云微电子有限公司 | Short-circuit protection method, circuit and bus driver |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4639609A (en) * | 1985-02-26 | 1987-01-27 | United Technologies Automotive, Inc. | Load current management system for automotive vehicles |
US5418453A (en) * | 1993-11-09 | 1995-05-23 | Delco Electronics Corporation | Method of measuring wheel speed sensor impedance |
US5973569A (en) * | 1998-02-25 | 1999-10-26 | National Semiconductor Corporation | Short-circuit protection and over-current modulation to maximize audio amplifier output power |
US6252529B1 (en) * | 1999-09-28 | 2001-06-26 | Rockwell Technologies, Llc | Adjustable gain precision full wave rectifier with reduced error |
US6600299B2 (en) * | 2001-12-19 | 2003-07-29 | Texas Instruments Incorporated | Miller compensated NMOS low drop-out voltage regulator using variable gain stage |
US6631064B2 (en) * | 2001-02-06 | 2003-10-07 | Semiconductor Components Industries Llc | Apparatus and method for providing overcurrent protection for switch-mode power supplies |
US20060241829A1 (en) * | 2005-04-22 | 2006-10-26 | Schmeisser Gordon F | Diagnostic display unit including replaceable display protector |
US7263483B2 (en) * | 2003-04-28 | 2007-08-28 | Dictaphone Corporation | USB dictation device |
US7501898B2 (en) * | 2005-11-10 | 2009-03-10 | Avago Technologies Ecbu Ip (Singapore) Pte. Ltd. | Method and apparatus for generating an optimized reference current threshold |
US7668321B2 (en) * | 2003-06-17 | 2010-02-23 | Texas Instruments Incorporated | Automatic power foldback for audio applications |
US7733061B2 (en) * | 2004-12-29 | 2010-06-08 | Linear Technology Corporation | Current control circuitry and methodology for controlling current from current constrained source |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
IT1210915B (en) * | 1982-08-04 | 1989-09-29 | Ates Componenti Elettron | PROTECTION CIRCUIT AGAINST THE SHORT CIRCUIT OF THE EXCITATION WINDING FOR LOW VOLTAGE ALTERNATOR EQUIPPED WITH VOLTAGE REGULATOR, PARTICULARLY FOR AUTOMOTIVE USE. |
FR2662319A1 (en) * | 1990-05-15 | 1991-11-22 | Philips Composants | CIRCUIT ARRANGEMENT FOR REGULATING THE LINE CURRENT IN A TELEPHONE SET. |
KR100492960B1 (en) * | 2002-09-12 | 2005-06-07 | 삼성전자주식회사 | Appratus for stabilizing transmission power in mobile communication terminal equipment for cdma |
US7773358B2 (en) * | 2005-05-18 | 2010-08-10 | Texas Instruments Incorporated | Output current control and overload protection in digital audio amplifiers |
US20070268642A1 (en) * | 2006-05-16 | 2007-11-22 | Olivier Metayer | Integrated programmable over-current protection circuit for optical transmitters |
-
2008
- 2008-12-22 US US12/341,753 patent/US8274772B2/en active Active
-
2012
- 2012-09-24 US US13/625,641 patent/US20130141829A1/en not_active Abandoned
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4639609A (en) * | 1985-02-26 | 1987-01-27 | United Technologies Automotive, Inc. | Load current management system for automotive vehicles |
US5418453A (en) * | 1993-11-09 | 1995-05-23 | Delco Electronics Corporation | Method of measuring wheel speed sensor impedance |
US5973569A (en) * | 1998-02-25 | 1999-10-26 | National Semiconductor Corporation | Short-circuit protection and over-current modulation to maximize audio amplifier output power |
US6252529B1 (en) * | 1999-09-28 | 2001-06-26 | Rockwell Technologies, Llc | Adjustable gain precision full wave rectifier with reduced error |
US6631064B2 (en) * | 2001-02-06 | 2003-10-07 | Semiconductor Components Industries Llc | Apparatus and method for providing overcurrent protection for switch-mode power supplies |
US6600299B2 (en) * | 2001-12-19 | 2003-07-29 | Texas Instruments Incorporated | Miller compensated NMOS low drop-out voltage regulator using variable gain stage |
US7263483B2 (en) * | 2003-04-28 | 2007-08-28 | Dictaphone Corporation | USB dictation device |
US7668321B2 (en) * | 2003-06-17 | 2010-02-23 | Texas Instruments Incorporated | Automatic power foldback for audio applications |
US7733061B2 (en) * | 2004-12-29 | 2010-06-08 | Linear Technology Corporation | Current control circuitry and methodology for controlling current from current constrained source |
US20060241829A1 (en) * | 2005-04-22 | 2006-10-26 | Schmeisser Gordon F | Diagnostic display unit including replaceable display protector |
US7501898B2 (en) * | 2005-11-10 | 2009-03-10 | Avago Technologies Ecbu Ip (Singapore) Pte. Ltd. | Method and apparatus for generating an optimized reference current threshold |
Non-Patent Citations (1)
Title |
---|
Kollma et al. Stealing USB-port power, EDN magazine, June 13, 2002, pp 1- 3. * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9954505B2 (en) | 2014-01-13 | 2018-04-24 | Samsung Electronics Co., Ltd | Audio output control method and electronic device supporting the same |
Also Published As
Publication number | Publication date |
---|---|
US20100157498A1 (en) | 2010-06-24 |
US8274772B2 (en) | 2012-09-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8274772B2 (en) | Current detection and limiting method and apparatus | |
JP4296811B2 (en) | Physical quantity sensor device | |
US7353410B2 (en) | Method, system and calibration technique for power measurement and management over multiple time frames | |
US9599651B2 (en) | Systems and methods of detecting ground faults in energy storage and/or generation systems that employ DC/AC power conversion systems | |
CN103268144B (en) | Apparatus for monitoring power supply and over-current protection method | |
US6768350B1 (en) | Microprocessor based solid state DC power controller | |
US20170359652A1 (en) | Method for limiting amplifier input current to avoid low voltage conditions | |
EP2857850B1 (en) | HRG ground fault detector and method | |
US8730636B2 (en) | Adaptive protection circuit module for operational amplifier and adaptive protection method thereof | |
US20130176012A1 (en) | Methods and apparatus for supply voltage transient protection | |
US10212514B2 (en) | Method for limiting amplifier input current to avoid low voltage conditions | |
US11425498B2 (en) | Speaker amplifier | |
GB2596153A (en) | Protection circuitry | |
JP4492640B2 (en) | amplifier | |
JP5121501B2 (en) | Overcurrent protection device and electronic device | |
JP5952388B2 (en) | Sequencer analog output unit | |
JP2017121049A (en) | Protection device | |
KR102472738B1 (en) | How to Limit Amplifier Input Current to Avoid Low Voltage Conditions | |
CN103716732A (en) | Loudspeaker system and detection method for the same | |
KR101446929B1 (en) | System for controlling power-up sequence | |
US20100079119A1 (en) | System and method for limiting current oscillation | |
US8552766B2 (en) | Threshold comparator with hysteresis and method for performing threshold comparison with hysteresis | |
JP4896173B2 (en) | Test equipment | |
TWI698732B (en) | Surge protection module and power factor correction circuit with surge protection | |
EP3128395A1 (en) | Power management method capable of preventing an over current event by performing a power control operation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A., I Free format text: SECURITY AGREEMENT;ASSIGNOR:CONEXANT SYSTEMS, INC.;REEL/FRAME:029216/0925 Effective date: 20121011 |
|
AS | Assignment |
Owner name: CONEXANT SYSTEMS, INC., CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:SKOV, JAMES;CRESPI, LORENZO;PATEL, KETAN B.;REEL/FRAME:029359/0705 Effective date: 20081219 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |
|
AS | Assignment |
Owner name: CONEXANT, INC., CALIFORNIA Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.;REEL/FRAME:038631/0452 Effective date: 20140310 Owner name: BROOKTREE BROADBAND HOLDING, INC., CALIFORNIA Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.;REEL/FRAME:038631/0452 Effective date: 20140310 Owner name: CONEXANT SYSTEMS, INC., CALIFORNIA Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.;REEL/FRAME:038631/0452 Effective date: 20140310 Owner name: CONEXANT SYSTEMS WORLDWIDE, INC., CALIFORNIA Free format text: RELEASE BY SECURED PARTY;ASSIGNOR:THE BANK OF NEW YORK MELLON TRUST COMPANY, N.A.;REEL/FRAME:038631/0452 Effective date: 20140310 |
|
AS | Assignment |
Owner name: LAKESTAR SEMI INC., NEW YORK Free format text: CHANGE OF NAME;ASSIGNOR:CONEXANT SYSTEMS, INC.;REEL/FRAME:038777/0885 Effective date: 20130712 |
|
AS | Assignment |
Owner name: CONEXANT SYSTEMS, INC., CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:LAKESTAR SEMI INC.;REEL/FRAME:038803/0693 Effective date: 20130712 |