TWI393895B - Detecting device for measuring currents flowing through multiple loads under a supply voltage - Google Patents

Detecting device for measuring currents flowing through multiple loads under a supply voltage Download PDF

Info

Publication number
TWI393895B
TWI393895B TW98126962A TW98126962A TWI393895B TW I393895 B TWI393895 B TW I393895B TW 98126962 A TW98126962 A TW 98126962A TW 98126962 A TW98126962 A TW 98126962A TW I393895 B TWI393895 B TW I393895B
Authority
TW
Taiwan
Prior art keywords
coupled
resistor
circuit
under test
detecting device
Prior art date
Application number
TW98126962A
Other languages
Chinese (zh)
Other versions
TW201105982A (en
Inventor
Hsiang Chi Hsieh
Ching Hung Lin
Original Assignee
Genesys Logic Inc
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 Genesys Logic Inc filed Critical Genesys Logic Inc
Priority to TW98126962A priority Critical patent/TWI393895B/en
Publication of TW201105982A publication Critical patent/TW201105982A/en
Application granted granted Critical
Publication of TWI393895B publication Critical patent/TWI393895B/en

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • Measurement Of Current Or Voltage (AREA)

Description

可於一電源下偵測各負載電流的偵測裝置Detection device capable of detecting each load current under a power source

本發明係關於一種偵測裝置,尤指一種可於一電源下量測各負載電流的偵測裝置。The invention relates to a detecting device, in particular to a detecting device capable of measuring each load current under a power source.

請參閱第1A圖,第1A圖係先前技術之量測單元10量測受測裝置12之示意圖。傳統上,擁有類比數位轉換器(Analog to Digital Converter,ADC)介面的量測單元10只能限制使用在量測電壓變化。如需要量測受測裝置(Device Under Test,DUT)12的電流變化,則需串連電阻R3在受測裝置12的輸入電源端,將輸入受測裝置12的電流轉換為電阻R3的跨壓。當開關SW根據I/O腳位切換控制讀取參考電壓或受測裝置12電壓變化時,供給受測裝置12的輸入電壓Vdin=VDC-I3(R1+R3),輸入電壓Vdin比來源電源電壓VDC小。較小的輸入電壓Vdin有可能造成受測裝置12無法滿足正常輸入所需的標準電壓值。所以必須要相對增加來源電源電壓VDC使其近似於受測裝置12所需電壓,但一般電路設計上來源電源電壓VDC是固定的,因此加入來源電源電壓VDC的設計將會更加困難且增加成本。除此之外,因為功耗大的受測裝置12必須消耗更大電流,所以電阻R3會因受測裝置12本身的功耗增加而造成更大的壓差。由於電阻R3受限電流的關係,所以無法利用小電阻來產生較小壓降而必須使用電阻值較大的電阻,這將進一步導致電流與電阻值都需增加而產生更大的壓降。這麼一來,受測裝置12本身所定義接收的輸入電壓規格就造成更大的挑戰,另外電阻R3所產生的不必要功耗對整個系統來說也是不必要的浪費。Please refer to FIG. 1A. FIG. 1A is a schematic diagram of the measuring device 10 of the prior art measuring the device under test 12. Traditionally, the measurement unit 10, which has an analog to digital converter (ADC) interface, can only be used to limit voltage changes. If it is necessary to measure the current change of the Device Under Test (DUT) 12, the series resistor R3 is required to convert the current input to the device under test 12 into the voltage across the resistor R3 at the input power terminal of the device under test 12. . When the switch SW reads the reference voltage or the voltage of the device under test 12 according to the I/O pin switching control, the input voltage Vdin=VDC-I3 (R1+R3) supplied to the device under test 12, and the input voltage Vdin is greater than the source power voltage. The VDC is small. A small input voltage Vdin may cause the device under test 12 to fail to meet the standard voltage value required for normal input. Therefore, it is necessary to relatively increase the source power supply voltage VDC to approximate the voltage required by the device under test 12, but the source voltage VDC is generally fixed in the circuit design, so the design of adding the source power voltage VDC will be more difficult and costly. In addition, since the device under test 12 that consumes a large amount of power must consume a larger current, the resistor R3 causes a larger voltage difference due to an increase in power consumption of the device under test 12 itself. Since the resistor R3 has a limited current relationship, it is not possible to use a small resistor to generate a small voltage drop and a resistor having a large resistance value, which further causes a larger voltage drop in both the current and the resistance value. In this way, the input voltage specification defined by the device under test 12 itself poses a greater challenge, and the unnecessary power consumption generated by the resistor R3 is also an unnecessary waste for the entire system.

請參閱第1B圖,第1B圖係繪示另一類比數位轉換器量測單元10量測受測裝置12之示意圖。相較於第1A圖,在第1B圖中,利用穩壓元件14來取代電阻R3。穩壓元件14可將類比數位轉換器的最大基準電壓值侷限於穩壓元件14的可承受電壓Vz以下。因為一般類比數位轉換器量測單元10的最大可量測電壓與來源電源電壓VDC差異較大,而穩壓元件14耐受電壓\電流特性多半只能承受小額定電流,所以容易導致穩壓元件14崩潰而無法正確量測到參考電壓。如果選擇較大耐壓\耐流的穩壓元件14則須承擔更高的成本。Please refer to FIG. 1B . FIG. 1B is a schematic diagram showing another analog-to-digital converter measuring unit 10 for measuring the device under test 12 . In contrast to FIG. 1A, in the first FIG. BB, the voltage stabilizing element 14 is used instead of the resistor R3. The voltage stabilizing element 14 limits the maximum reference voltage value of the analog digital converter to less than the withstand voltage Vz of the voltage stabilizing element 14. Because the maximum measurable voltage of the general analog-to-digital converter measuring unit 10 is greatly different from the source power supply voltage VDC, and the voltage-carrying component 14 withstand voltage/current characteristics can only withstand small rated current, so it is easy to cause the voltage stabilizing component. 14 crashed and the reference voltage could not be measured correctly. If a higher voltage/flow resistant voltage stabilizing element 14 is selected, it is subject to higher costs.

請參閱第2圖,第2圖係另一量測單元20量測複數個受測裝置22a、22b、22c、22d之示意圖。類比數位轉換器量測單元20例如擁有四組的ADC量測埠ADCP1、ADCP2、ADCP3、ADCP4。但是每一量測埠ADCP1、ADCP2、ADCP3、ADCP4本身必須對各受測裝置22a、22b、22c、22d分別對應一個先量測其基準電壓值的穩壓元件24a、24b、24c、24d以及偵測電路26a、26b、26c、26d,才能同時可量測不同受測裝置22a、22b、22c、22d的電流變化。但是,除仍會有前述VDC與Vdin不一致的問題外,每一受測裝置都必須配置一組對應的穩壓元件以及偵測電路,而且每一量測埠ADCP1、ADCP2、ADCP3、ADCP4量測的基準電壓值皆不相同,所以偵測電路26a、26b、26c、26d分別所包含電阻的電阻值都不相同。舉例來說,受測裝置22a對應於穩壓元件24a以及偵測電路26a、受測裝置22b對應於穩壓元件24b以及偵測電路26b、受測裝置22c對應於穩壓元件24c以及偵測電路26c、受測裝置22d對應於穩壓元件24d以及偵測電路26d,而偵測電路26a電阻的阻值比R11/R12、偵測電路26b電阻的阻值比R21/R22、偵測電路26c電阻的阻值比R31/R32、偵測電路26d電阻的阻值比R41/R42皆不相同。所以針對每一量測埠ADCP1、ADCP2、ADCP3、ADCP4都必須分別對應一個穩壓元件24a、24b、24c、24d以及偵測電路26a、26b、26c、26d的設計,將會增加額外成本。Please refer to FIG. 2, which is a schematic diagram of another measuring unit 20 for measuring a plurality of devices 24a, 22b, 22c, and 22d. The analog-to-digital converter measurement unit 20 has, for example, four sets of ADC measurements 埠ADCP1, ADCP2, ADCP3, ADCP4. However, each of the measured ADCP1, ADCP2, ADCP3, and ADCP4 must correspond to each of the devices 22a, 22b, 22c, and 22d, respectively, to a voltage stabilizing element 24a, 24b, 24c, and 24d that first measures the reference voltage value thereof. The measuring circuits 26a, 26b, 26c, 26d can simultaneously measure the current changes of the different devices under test 22a, 22b, 22c, 22d. However, in addition to the problem that the aforementioned VDC and Vdin are inconsistent, each device under test must be configured with a corresponding set of voltage regulator components and detection circuits, and each measurement of ADCP1, ADCP2, ADCP3, and ADCP4 is measured. The reference voltage values are all different, so the resistance values of the resistors included in the detection circuits 26a, 26b, 26c, and 26d are different. For example, the device under test 22a corresponds to the voltage stabilizing element 24a and the detecting circuit 26a, the device under test 22b corresponds to the voltage stabilizing element 24b and the detecting circuit 26b, and the device under test 22c corresponds to the voltage stabilizing element 24c and the detecting circuit. 26c, the device under test 22d corresponds to the voltage stabilizing element 24d and the detecting circuit 26d, and the resistance ratio of the detecting circuit 26a is R11/R12, the resistance ratio of the detecting circuit 26b is R21/R22, and the detecting circuit 26c is resistant. The resistance ratio of R31/R32 and the detection circuit 26d is different from that of R41/R42. Therefore, for each measurement ADCP1, ADCP2, ADCP3, ADCP4 must correspond to the design of one voltage regulator component 24a, 24b, 24c, 24d and detection circuit 26a, 26b, 26c, 26d, respectively, which will add additional cost.

本發明之目的係提供一種可於一電源下偵測至少一受測裝置之電流的偵測裝置,其包含一量測單元以及一偵測電路,該量測單元包含一類比數位轉換器(Analog to Digital Converter,ADC)量測埠,該量測埠對應一受測裝置。每一偵測電路對應於該量測埠以及該受測裝置,用來量測流經對應之該受測裝置之電流,其包含一共用電路、分支電路以及一開關。該共用電路包含第一電阻與第二電阻,第一電阻的一端耦接於該電源之一電壓端,另一端耦接於對應之該量測埠。該第二電阻其一端耦接於對應之該量測埠,另一端耦接於該電源之一接地端。該分支電路包含一第三電阻以及一第四電阻。第三電阻的一端耦接於對應該量測埠,另一端耦接於對應之該受測裝置。該第四電阻的一端耦接於該電源之該接地端,另一端耦接於對應之該受測裝置。該開關的一端耦接於該電源之該電壓端,另一端耦接於對應之該受測裝置,用來依據一第一控制訊號開啟或關閉。各ADC量測埠輸入電壓值的量測除了可利用韌體方式切換線路達成外,亦可設計一切換器於量測單元內部,透過硬體切換量測各ADC量測埠的輸入電壓值,可同時連接多組受測裝置並量測其個別電流變化,同時配合部份共用電路之設計,以節省整體成本。The object of the present invention is to provide a detecting device capable of detecting current of at least one device under test, comprising a measuring unit and a detecting circuit, the measuring unit comprising an analog digital converter (Analog) To Digital Converter, ADC) measures the 埠, which corresponds to a device under test. Each detecting circuit corresponds to the measuring device and the device under test for measuring a current flowing through the corresponding device under test, and includes a common circuit, a branch circuit and a switch. The common circuit includes a first resistor and a second resistor. One end of the first resistor is coupled to one of the voltage terminals of the power source, and the other end is coupled to the corresponding one. The second resistor is coupled to the corresponding one of the measuring electrodes, and the other end is coupled to one of the ground terminals of the power source. The branch circuit includes a third resistor and a fourth resistor. One end of the third resistor is coupled to the corresponding measuring port, and the other end is coupled to the corresponding device under test. One end of the fourth resistor is coupled to the ground end of the power source, and the other end is coupled to the corresponding device under test. One end of the switch is coupled to the voltage end of the power source, and the other end is coupled to the corresponding device under test for turning on or off according to a first control signal. The measurement of the input voltage value of each ADC is not only achieved by the firmware switching circuit, but also a switch is designed inside the measuring unit, and the input voltage value of each ADC is measured by hardware switching. Multiple sets of devices under test can be connected at the same time and their individual current changes can be measured, and the design of some shared circuits can be matched to save the overall cost.

依據本發明,本發明之偵測電路另包含至少一穩壓電路,每一穩壓電路對應於一類比數位轉換器以及一偵測電路,其一端耦接於該接地端,另一端耦接於該對應之類比數位轉換器。該穩壓電路例如為一曾納二極體(zener diode)。According to the present invention, the detection circuit of the present invention further includes at least one voltage stabilizing circuit, each voltage stabilizing circuit corresponding to an analog-to-digital converter and a detecting circuit, one end of which is coupled to the grounding end, and the other end of which is coupled to This corresponds to an analog digital converter. The voltage stabilizing circuit is, for example, a Zener diode.

依據本發明,該第三電阻的阻值係為該第四電阻阻值的100倍-1000倍。而每一開關例如為一電晶體。According to the invention, the resistance of the third resistor is between 100 and 1000 times the resistance of the fourth resistor. And each switch is, for example, a transistor.

本發明之優點在於,利用此設計不會因為要將電流變化轉為ADC可量測的電壓變化而導致受測裝置的輸入電壓降低造成受測裝置不穩並產生不必要的功耗問題,加上透過韌體控制或內部切換器可以偵測多組裝置而不需設計多組偵測電路或多個獨立輸入電源(例如一對多繞線變壓器),而導致硬體成本大增,且可避免因為繞線變壓器而增加不必要的雜訊。The invention has the advantages that the design does not cause the input device of the device under test to be unstable due to the change of the current to the measurable voltage of the ADC, thereby causing the device under test to be unstable and generating unnecessary power consumption problems. Multiple sets of devices can be detected through the firmware control or internal switch without designing multiple sets of detection circuits or multiple independent input power sources (for example, one-to-many winding transformers), resulting in a large increase in hardware cost. Avoid adding unnecessary noise due to the winding transformer.

為讓本發明之上述內容能更明顯易懂,下文特舉較佳實施例,並配合所附圖式,作詳細說明如下:In order to make the above-mentioned contents of the present invention more comprehensible, the preferred embodiments are described below, and the detailed description is as follows:

請參閱第3圖,第3圖係本發明第一實施例之偵測裝置100與受測裝置110之示意圖。偵測裝置100包含一量測單元120以及一偵測電路140。量測單元120包含一類比數位轉換器(Analog to Digital Converter,ADC)量測埠ADCP。該ADC量測埠ADCP對應一受測裝置110,用來量測對應之受測裝置110的電流變化。偵測電路140對應於ADC量測埠ADCP,偵測電路140包第一電阻R1、第二電阻R2、第三電阻R3、第四電阻R4和開關SW。第一電阻R1的一端耦接於電壓端VDC,另一端耦接於對應之ADC量測埠ADCP。第二電阻R2的一端耦接於對應之ADC量測埠ADCP,另一端耦接於接地端。第三電阻R3的一端耦接於對應之ADC量測埠ADCP,另一端耦接於對應之受測裝置110之接地端。第四電阻R4的一端耦接於接地端,另一端耦接於對應之受測裝置110之接地端。開關SW的一端耦接於電壓端VDC,另一端耦接於對應之受測裝置110電源端,用來依據來自輸出入埠(I/O port)的控制訊號來決定開啟或關閉。其中第三電阻R3的電阻值例如為第四電阻R4電阻值的100倍-1000倍。Please refer to FIG. 3, which is a schematic diagram of the detecting device 100 and the device under test 110 according to the first embodiment of the present invention. The detecting device 100 includes a measuring unit 120 and a detecting circuit 140. The measurement unit 120 includes an analog to digital converter (ADC) measurement 埠 ADCP. The ADC measurement 埠ADCP corresponds to a device under test 110 for measuring the current change of the corresponding device under test 110. The detecting circuit 140 corresponds to the ADC measuring 埠ADCP, and the detecting circuit 140 includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4 and a switch SW. One end of the first resistor R1 is coupled to the voltage terminal VDC, and the other end is coupled to the corresponding ADC measurement 埠ADCP. One end of the second resistor R2 is coupled to the corresponding ADC measurement 埠ADCP, and the other end is coupled to the ground. One end of the third resistor R3 is coupled to the corresponding ADC measurement 埠 ADCP, and the other end is coupled to the ground of the corresponding device under test 110. One end of the fourth resistor R4 is coupled to the ground end, and the other end is coupled to the ground end of the corresponding device under test 110. One end of the switch SW is coupled to the voltage terminal VDC, and the other end is coupled to the corresponding power supply end of the device under test 110 for determining whether to turn on or off according to a control signal from an I/O port. The resistance value of the third resistor R3 is, for example, 100 times to 1000 times the resistance value of the fourth resistor R4.

當輸出入埠輸出之控制訊號將開關SW關閉使其不導通時,受測裝置110無法得到電源電壓VDC而關閉,此時量測埠ADCP會根據R1/R2所產生的電壓,也就是1/(1+(R1/R2))×VDC,當做基準電壓值。由於每一ADC也有其電壓量測的上限值(upper threshold),因此R1/R2所分壓出來的初始電壓不能超越此上限值。而穩壓電路150的目的係用來限制該上限值使其達到預設最佳值。一般穩壓電路150可以為曾納二極體(zener diode)。第三電阻R3作為一限流及量測電阻以避免輸入至量測埠ADCP1的電流過大而導致類比數位轉換器燒燬,並用來產生電壓變化。第四電阻R4為一小電阻(歐姆級),用來使受測裝置110與偵側裝置100間仍有一近似共地作用,以預防提供給受測裝置110的電壓因為沒有共地而導致電壓不穩。When the control signal of the input/output output turns off the switch SW to make it non-conductive, the device under test 110 cannot be turned off by the power supply voltage VDC. At this time, the measurement 埠ADCP will generate a voltage according to R1/R2, that is, 1/ (1+(R1/R2))×VDC, as the reference voltage value. Since each ADC also has an upper threshold for its voltage measurement, the initial voltage divided by R1/R2 cannot exceed this upper limit. The purpose of the voltage stabilizing circuit 150 is to limit the upper limit value to a preset optimum value. Generally, the voltage stabilizing circuit 150 can be a Zener diode. The third resistor R3 acts as a current limiting and measuring resistor to prevent the current input to the measuring 埠ADCP1 from being too large, causing the analog digital converter to burn out and to generate a voltage change. The fourth resistor R4 is a small resistance (ohm level) for causing an approximately common function between the device under test 110 and the detecting device 100 to prevent the voltage supplied to the device under test 110 from being caused by the voltage without common ground. Unstable.

當輸出入埠輸出之控制訊號將開關SW關閉使其不導通時,受測裝置110無法得到電源電壓VDC而關閉,此時VADC=I3R3+I3R4,其中I3表示流過電阻R3的電流。又因為R4的電阻值遠小於R3的電阻值,所以。當輸出入埠輸出之控制訊號將開關SW開啟使其導通時,受測裝置110接收電源電壓VDC,所以輸入受測裝置110a、110b的輸入電壓Vdin=VDC,而VADC=(I3-Id)×R3。因為ADC是由受測裝置110的接地端判讀電流的變化,所以不會因為壓差而影響受測裝置110的電壓輸入準位,也就是說輸入受測裝置110的輸入電壓Vdin一直等於電壓端VDC。此外,第三電阻R3會因為各受測裝置110的電流變化而產生電壓的變化使得ADC得到的分壓值VADC跟著變化。When the control signal of the input/output output turns off the switch SW to make it non-conductive, the device under test 110 cannot be turned off by the power supply voltage VDC. At this time, VADC=I3R3+I3R4, where I3 represents the current flowing through the resistor R3. And because the resistance of R4 is much smaller than the resistance of R3, . When the control signal of the input/output output turns on the switch SW to be turned on, the device under test 110 receives the power supply voltage VDC, so the input voltage of the device under test 110a, 110b is Vdin=VDC, and VADC=(I3-Id)× R3. Because the ADC is determined by the grounding end of the device under test 110 to change the current, the voltage input level of the device under test 110 is not affected by the voltage difference, that is, the input voltage Vdin of the input device under test 110 is always equal to the voltage terminal. VDC. In addition, the third resistor R3 changes the voltage due to the current change of each device under test 110, so that the voltage divider value VADC obtained by the ADC changes.

請參閱第4圖,第4圖係本發明之第二實施例之偵測裝置200與受測裝置110a、110b之示意圖。偵測裝置200包含量測單元220以及至少一偵測電路140。不同於第3圖之量測單元120,量測單元220包含二個以上的ADC量測埠ADCP1、ADCP2。每一ADC量測埠ADCP1、ADCP2分別對應一受測裝置110a、110b,用來量測對應之受測裝置110a、110b的電流變化。偵測裝置200的操作原理與第3圖之偵測裝置100相同,在此不再贅述。Please refer to FIG. 4, which is a schematic diagram of a detecting device 200 and a device under test 110a, 110b according to a second embodiment of the present invention. The detecting device 200 includes a measuring unit 220 and at least one detecting circuit 140. Unlike the measurement unit 120 of FIG. 3, the measurement unit 220 includes two or more ADC measurement units ADCP1, ADCP2. Each ADC measurement 埠ADCP1, ADCP2 corresponds to a device under test 110a, 110b, respectively, for measuring the current change of the corresponding device under test 110a, 110b. The operation principle of the detecting device 200 is the same as that of the detecting device 100 of FIG. 3, and details are not described herein again.

請參閱第5圖,第5圖係以一般受測裝置內建鋰電池做充電動作時,流經受測裝置的電流Id之時間變化示意圖。由於Id會隨受測裝置110a、110b的負載變化而改變,當受測裝置110a、110b電壓不足時,電壓輸入後,會消耗一大電流Imax以加速充電,一旦電壓回穩後電流消耗會漸漸變小,待充飽電後,會維持一微小固定電流Imin。所以量測埠ADCP1、ADCP2可以藉由Id由大變小而產生的電壓變化量判斷受測裝置110a、110b是否已經充飽電。Please refer to FIG. 5, which is a schematic diagram showing the time variation of the current Id flowing through the measuring device when the lithium battery is charged in the general device under test. Since the Id changes with the load of the device under test 110a, 110b, when the voltage of the device under test 110a, 110b is insufficient, after the voltage is input, a large current Imax is consumed to accelerate the charging. Once the voltage is stabilized, the current consumption will gradually decrease. It becomes smaller, and after a full charge, a small fixed current Imin is maintained. Therefore, the measurement 埠ADCP1, ADCP2 can determine whether the device under test 110a, 110b is fully charged by the amount of voltage change caused by the Id becoming large and small.

舉例來說,受測裝置110a、110b為可充電裝置,當I/O埠的控制訊號使開關SW關閉時,紀錄此時的ADC的基準電壓值VADC1。接著當I/O埠的控制訊號讓開關SW開啟導通時而電源接上後,一開始受測裝置110a、110b會有大電流的消耗而使得量測埠ADCP1、ADCP2所量測到的電壓值產生較大變化。持續一段時間當受測裝置110a、110b的電力慢慢充飽後,消耗電流會漸漸變小,此時量測埠ADCP1、ADCP2量測的電壓值會慢慢變大。當受測裝置110a、110b充飽電後由於充電特性,消耗電流會變成一固定的小電流值,在一段時間後即可認定受測裝置110a、110b已充電完畢進而關閉所供應的電源。反之,當一段長時間充電過程中,發現量測埠ADCP1、ADCP2量測的電壓值仍然偏低,經過一段時間則可認定有故障或危險狀況發生而加入斷電的保護機制,以保護充電裝置及受測裝置110a、110b避免過熱而發生危險。For example, the device under test 110a, 110b is a chargeable device. When the control signal of the I/O port causes the switch SW to be turned off, the reference voltage value VADC1 of the ADC at this time is recorded. Then, when the control signal of the I/O埠 causes the switch SW to be turned on and the power is connected, the device under test 110a, 110b initially consumes a large current, so that the measured voltage values of the ADCP1 and ADCP2 are measured. A big change has occurred. After a period of time, when the power of the devices under test 110a, 110b is gradually filled, the current consumption will gradually decrease. At this time, the measured voltage values of ADCP1 and ADCP2 will gradually increase. When the devices under test 110a, 110b are fully charged, the current consumption will become a fixed small current value due to the charging characteristics. After a period of time, it can be determined that the devices under test 110a, 110b have been charged and the supplied power is turned off. Conversely, during a long period of charging, it is found that the measured voltages of ADCP1 and ADCP2 are still low. After a period of time, a fault or dangerous situation can be identified and a power-off protection mechanism is added to protect the charging device. And the devices under test 110a, 110b are protected from overheating and are in danger.

請參閱第6圖,第6圖係本發明之第三實施例之偵測裝置300與受測裝置110之示意圖。偵測裝置300包含量測單元320以及偵測電路340。量測單元320包含類比數位轉換器量測埠ADCP1、ADCP2以及切換器322。ADC量測埠ADCP1、ADCP2係分別依據不同的輸入電壓值作為基準電壓,以量測流經受測裝置110的電流變化。切換器322係依據第二控制訊號SEL來決定啟動(enable)ADC量測埠ADCP1或是ADCP2。偵測電路340包含共用電路342、分支電路344a、344b以及穩壓電路150。共用電路342包含第一電阻R1和第二電阻R2。第一電阻R1的一端耦接於電壓端VDC,另一端耦接於ADC量測埠ADCP1、ADCP2。第二電阻R2的一端耦接於對應之ADC量測埠ADCP1、ADCP2,另一端耦接於接地端。分支電路344a包含第三電阻R31、第四電阻R41和切換開關SW2。第三電阻R31的一端耦接於對應之ADC量測埠ADCP1,另一端耦接於對應之受測裝置110之接地端。分支電路344b包含第三電阻R32、第四電阻R42和切換開關SW3。第三電阻R32的一端耦接於ADC量測埠ADCP2,另一端耦接於對應之受測裝置110之接地端。電源開關SW1的一端耦接於電壓端VDC,另一端耦接於對應之受測裝置110的電源端Vdin,用來依據來自輸出入埠I/O的第一控制訊號來決定開啟或關閉。Please refer to FIG. 6. FIG. 6 is a schematic diagram of the detecting device 300 and the device under test 110 according to the third embodiment of the present invention. The detecting device 300 includes a measuring unit 320 and a detecting circuit 340. The measurement unit 320 includes analog-to-digital converter measurements 埠ADCP1, ADCP2, and a switch 322. The ADC measurement 埠ADCP1 and ADCP2 are respectively used as reference voltages according to different input voltage values to measure the current variation of the flow through the measuring device 110. The switch 322 determines to enable the ADC measurement 埠ADCP1 or ADCP2 according to the second control signal SEL. The detection circuit 340 includes a common circuit 342, branch circuits 344a, 344b, and a voltage stabilization circuit 150. The common circuit 342 includes a first resistor R1 and a second resistor R2. One end of the first resistor R1 is coupled to the voltage terminal VDC, and the other end is coupled to the ADC measurement signals ADCP1, ADCP2. One end of the second resistor R2 is coupled to the corresponding ADC measurement 埠 ADCP1, ADCP2, and the other end is coupled to the ground. The branch circuit 344a includes a third resistor R31, a fourth resistor R41, and a changeover switch SW2. One end of the third resistor R31 is coupled to the corresponding ADC measurement 埠ADCP1, and the other end is coupled to the ground of the corresponding device under test 110. The branch circuit 344b includes a third resistor R32, a fourth resistor R42, and a changeover switch SW3. One end of the third resistor R32 is coupled to the ADC measurement 埠ADCP2, and the other end is coupled to the ground of the corresponding device under test 110. One end of the power switch SW1 is coupled to the voltage terminal VDC, and the other end is coupled to the power terminal Vdin of the corresponding device under test 110 for determining whether to turn on or off according to the first control signal from the input/output I/O.

當第三控制訊號SEL=0時,切換器322會啟動量測埠ADCP1時,受測裝置並同時斷開與量測埠ADCP2的導通。當第三控制訊號SEL=1時,切換器322會啟動量測埠ADCP2時,受測裝置並同時斷開與量測埠ADCP1的導通。為便於說明,以下實施例將以啟動量測埠ADCP1做說明。當輸出入埠I/O輸出之第一控制訊號將電源開關SW1開啟使其導通時,受測裝置110a接收電源電壓VDC,同時,所以輸出入埠I/O1輸出之第二控制訊號將切換開關SW2開啟,但將切換開關SW3關閉。故輸入受測裝置110a的輸入電壓Vdin=VDC,而VADC=(I3-Id)×R31。因為ADC是由受測裝置110a的接地端判讀電流的變化,所以不會因為壓差而影響受測裝置110a的電壓輸入準位,也就是說輸入受測裝置110a的輸入電壓Vdin一直等於電壓端VDC。When the third control signal SEL=0, the switch 322 starts the measurement 埠ADCP1, and the device under test is simultaneously turned off and the measurement 埠ADCP2 is turned on. When the third control signal SEL=1, the switch 322 starts the measurement 埠ADCP2, and the device under test is simultaneously turned off and the measurement 埠ADCP1 is turned on. For ease of explanation, the following embodiment will be described with the start-up measurement 埠ADCP1. When the first control signal of the input/output I/O output turns on the power switch SW1 to be turned on, the device under test 110a receives the power supply voltage VDC, and at the same time, the second control signal outputted to the output of the I/O1 will switch. SW2 is turned on, but the switch SW3 is turned off. Therefore, the input voltage Vdin=VDC of the device under test 110a is input, and VADC=(I3-Id)×R31. Since the ADC is determined by the grounding end of the device under test 110a, the voltage input level of the device under test 110a is not affected by the voltage difference, that is, the input voltage Vdin of the input device under test 110a is always equal to the voltage terminal. VDC.

當輸出入埠I/O輸出之第一控制訊號將電源開關SW1關閉使其不導通時,同時,所以輸出入埠I/O1輸出之第二控制訊號將切換開關SW2關閉,但將切換開關SW3開啟導通。此時受測裝置110a無法得到電源電壓VDC而關閉,受測裝置110b會得到電壓Vdin啟動。量測埠ADCP1會根據共用電路340的R1/R2所產生的電壓,也就是1/(1+(R1/R2))×VDC,當做基準電壓值。由於每一ADC也有其電壓量測的上限值(upper threshold),因此R1/R2所分壓出來的初始電壓不能超越此上限值。而穩壓電路150的目的係用來限制該上限值使其達到預設最佳值。第三電阻R31作為一限流及量測電阻以避免輸入至量測埠ADCP1的電流過大而導致類比數位轉換器燒燬,並用來產生電壓變化。第四電阻R41為一小電阻(歐姆級),用來使受測裝置110a與偵側裝置300間仍有一近似共地作用,以預防提供給受測裝置110a的電壓因為沒有共地而導致電壓不穩。When the first control signal outputted to the I/O output turns off the power switch SW1 to make it non-conducting, at the same time, the second control signal outputted to the I/O1 output will switch the switch SW2 off, but the switch SW3 will be switched. Turn on the conduction. At this time, the device under test 110a cannot be turned off by the power supply voltage VDC, and the device under test 110b is activated by the voltage Vdin. The measurement 埠ADCP1 is based on the voltage generated by R1/R2 of the common circuit 340, that is, 1/(1+(R1/R2))×VDC, as the reference voltage value. Since each ADC also has an upper threshold for its voltage measurement, the initial voltage divided by R1/R2 cannot exceed this upper limit. The purpose of the voltage stabilizing circuit 150 is to limit the upper limit value to a preset optimum value. The third resistor R31 acts as a current limiting and measuring resistor to prevent the current input to the measuring 埠ADCP1 from being too large, causing the analog digital converter to burn out and used to generate a voltage change. The fourth resistor R41 is a small resistor (ohm level) for causing an approximately common function between the device under test 110a and the detecting device 300 to prevent the voltage supplied to the device under test 110a from being caused by the voltage. Unstable.

由於切換開關SW2與SW3的開啟/關閉時間正好不重疊,所以可以在不同的時間內分別測量受測裝置110a以及受測裝置110b的電流值。換言之,分支電路342a、342b係共用同一共用電路320與穩壓電路150。所以可減少設置額外共用電路320與穩壓電路150的成本。除此之外,量測單元320內的切換器322除了以硬體電路實現外,亦可以由軟體程式碼實現之。Since the on/off times of the changeover switches SW2 and SW3 do not overlap, the current values of the device under test 110a and the device under test 110b can be measured at different times. In other words, the branch circuits 342a and 342b share the same common circuit 320 and the voltage stabilization circuit 150. Therefore, the cost of setting the additional shared circuit 320 and the voltage stabilizing circuit 150 can be reduced. In addition, the switch 322 in the measuring unit 320 can be implemented by a software code in addition to being implemented by a hardware circuit.

請參閱第7圖,第7圖係本發明之第四實施例之偵測裝置400與受測裝置110之示意圖。偵測裝置400包含量測單元420以及偵測電路440。量測單元420包含類比數位轉換器量測埠ADCP1-ADCP4以及切換器422。每一ADC量測埠ADCP1-ADCP4係分別依據不同的輸入電壓值作為基準電壓,以量測流經受測裝置110的電流變化。切換器422的功能就是在於依據一第三控制訊號SEL1、SEL0來決定啟動其中之一ADC量測埠。而切換器422可以利用複數個開關電路、或解碼器、或多工器、或是軟體程式碼加以實現。偵測電路440包含共用電路442、分支電路444a-444d以及穩壓電路150。共用電路442包含第一電阻R1和第二電阻R2。第一電阻R1的一端耦接於電壓端VDC,另一端耦接於ADC量測埠ADCP1-ADCP4。第二電阻R2的一端耦接於對應之ADC量測埠ADCP1-ADCP4,另一端耦接於接地端。分支電路444a,444b,444c,444d包含第三電阻R31,R32,R33,R34和第四電阻R41,R42,R43,R44。電源開關SW1的一端耦接於電壓端VDC,另一端耦接於對應之受測裝置110的電源端Vdin,用來依據來自輸出入埠I/O的第一控制訊號來決定開啟或關閉。除此之外,第7圖之偵測裝置400與第6圖之偵測300的差別還在於,偵測電路440另包含一多工器446,耦接於共用電路442以及每一分支電路444a-444d之第三電阻R31-R34,用來依據一第四控制訊號I/O1、I/O2來決定選取其中之一分支電路與共用電路442導通。換言之,多工器446會根據第四控制訊號I/O1、I/O2切換共用電路442與其中之一分支電路444a-444d的導通,就可以在不同的時間內分別測量複數個受測裝置110的電流值。換言之,分支電路442a-442d係共用同一共用電路420與穩壓電路150。所以可減少設置額外共用電路420與穩壓電路150的成本。Please refer to FIG. 7. FIG. 7 is a schematic diagram of the detecting device 400 and the device under test 110 according to the fourth embodiment of the present invention. The detecting device 400 includes a measuring unit 420 and a detecting circuit 440. Measurement unit 420 includes analog-to-digital converter measurements 埠ADCP1-ADCP4 and switch 422. Each ADC measurement 埠ADCP1-ADCP4 is used as a reference voltage according to different input voltage values to measure the current variation of the flow through the measuring device 110. The function of the switch 422 is to decide to start one of the ADC measurements according to a third control signal SEL1, SEL0. Switch 422 can be implemented using a plurality of switching circuits, or decoders, or multiplexers, or software code. The detection circuit 440 includes a common circuit 442, branch circuits 444a-444d, and a voltage stabilization circuit 150. The common circuit 442 includes a first resistor R1 and a second resistor R2. One end of the first resistor R1 is coupled to the voltage terminal VDC, and the other end is coupled to the ADC measurement 埠ADCP1-ADCP4. One end of the second resistor R2 is coupled to the corresponding ADC measurement 埠ADCP1-ADCP4, and the other end is coupled to the ground. The branch circuits 444a, 444b, 444c, 444d include third resistors R31, R32, R33, R34 and fourth resistors R41, R42, R43, R44. One end of the power switch SW1 is coupled to the voltage terminal VDC, and the other end is coupled to the power terminal Vdin of the corresponding device under test 110 for determining whether to turn on or off according to the first control signal from the input/output I/O. In addition, the detecting device 400 of FIG. 7 is different from the detecting 300 of FIG. 6 in that the detecting circuit 440 further includes a multiplexer 446 coupled to the common circuit 442 and each branch circuit 444a. The third resistor R31-R34 of the -444d is configured to select one of the branch circuits and the common circuit 442 to be turned on according to a fourth control signal I/O1, I/O2. In other words, the multiplexer 446 switches the common circuit 442 and one of the branch circuits 444a-444d according to the fourth control signal I/O1, I/O2, and can measure the plurality of devices under test 110 at different times. Current value. In other words, the branch circuits 442a-442d share the same common circuit 420 and the voltage stabilizing circuit 150. Therefore, the cost of setting the additional shared circuit 420 and the voltage stabilizing circuit 150 can be reduced.

請參閱第8圖,第8圖係本發明之第五實施例之偵測裝置500與受測裝置110之示意圖。偵測裝置500包含量測單元520以及偵測電路540。量測單元520包含類比數位轉換器量測埠ADCP1-ADCP4以及切換器522。每一ADC量測埠ADCP1-ADCP4係分別依據不同的輸入電壓值作為基準電壓,以量測流經受測裝置110的電流變化。切換器522的功能就是在於依據一第三控制訊號SEL1、SEL0來決定啟動其中之一ADC量測埠。而切換器522可以利用複數個開關電路、或解碼器、或多工器、或是軟體程式碼加以實現。偵測電路540包含共用電路542、分支電路544a-544d以及穩壓電路150。共用電路542包含第一電阻R1、第二電阻R2以及第四電阻R4。第一電阻R1的一端耦接於電壓端VDC,另一端耦接於ADC量測埠ADCP1-ADCP4。第二電阻R2的一端耦接於對應之ADC量測埠ADCP1-ADCP4,另一端耦接於接地端,第四電阻R4則耦接於對應之受測裝置110的電源端Vdin以及接地端。分支電路544a,544b,544c,544d分別包含第三電阻R31、R32、R33、R34。換言之,相較於第7圖之偵測裝置400將第四電阻R4設置於各分支電路的設計,本實施例之偵測裝置500將第四電阻R4設置於共用電路542。電源開關SW1的一端耦接於電壓端VDC,另一端耦接於對應之受測裝置110的電源端Vdin,用來依據來自輸出入埠I/O的第一控制訊號來決定開啟或關閉。多工器546耦接於共用電路542以及每一分支電路544a-544d之第三電阻R31-R34,用來依據一第四控制訊號I/O1、I/O2來決定選取其中之一分支電路與共用電路542導通。多工器546根據第四控制訊號I/O1、I/O2切換共用電路542與其中之一分支電路544a-544d的導通,就可以在不同的時間內分別測量複數個受測裝置110的電流值。Please refer to FIG. 8. FIG. 8 is a schematic diagram of the detecting device 500 and the device under test 110 according to the fifth embodiment of the present invention. The detecting device 500 includes a measuring unit 520 and a detecting circuit 540. Measurement unit 520 includes analog-to-digital converter measurements 埠ADCP1-ADCP4 and switch 522. Each ADC measurement 埠ADCP1-ADCP4 is used as a reference voltage according to different input voltage values to measure the current variation of the flow through the measuring device 110. The function of the switch 522 is to decide to start one of the ADC measurements according to a third control signal SEL1, SEL0. Switch 522 can be implemented using a plurality of switching circuits, or decoders, or multiplexers, or software code. The detection circuit 540 includes a common circuit 542, branch circuits 544a-544d, and a voltage stabilization circuit 150. The common circuit 542 includes a first resistor R1, a second resistor R2, and a fourth resistor R4. One end of the first resistor R1 is coupled to the voltage terminal VDC, and the other end is coupled to the ADC measurement 埠ADCP1-ADCP4. The second resistor R2 is coupled to the corresponding ADC measurement 埠ADCP1-ADCP4, and the other end is coupled to the ground terminal. The fourth resistor R4 is coupled to the power terminal Vdin and the ground terminal of the corresponding device under test 110. The branch circuits 544a, 544b, 544c, 544d respectively include third resistors R31, R32, R33, R34. In other words, the detecting device 500 of the present embodiment sets the fourth resistor R4 to the sharing circuit 542 as compared with the design of the branching device 400 of FIG. One end of the power switch SW1 is coupled to the voltage terminal VDC, and the other end is coupled to the power terminal Vdin of the corresponding device under test 110 for determining whether to turn on or off according to the first control signal from the input/output I/O. The multiplexer 546 is coupled to the common circuit 542 and the third resistors R31-R34 of each of the branch circuits 544a-544d for determining a branch circuit according to a fourth control signal I/O1, I/O2. The shared circuit 542 is turned on. The multiplexer 546 switches the common circuit 542 and one of the branch circuits 544a-544d according to the fourth control signal I/O1, I/O2, and can measure the current values of the plurality of devices under test 110 at different times. .

請參閱第9圖,第9圖係本發明之第六實施例之偵測裝置600與受測裝置110之示意圖。偵測裝置600包含量測單元220以及偵測電路540。量測單元220包含類比數位轉換器量測埠ADCP1。ADC量測埠ADCP1係依據不同的輸入電壓值作為基準電壓,以量測流經受測裝置110的電流變化。偵測電路540包含共用電路542、分支電路544a-544d以及穩壓電路150。共用電路542包含第一電阻R1、第二電阻R2以及第四電阻R4。第一電阻R1的一端耦接於電壓端VDC,另一端耦接於ADC量測埠ADCP1。第二電阻R2的一端耦接於對應之ADC量測埠ADCP1,另一端耦接於接地端,第四電阻R4則耦接於對應之受測裝置110的電源端Vdin以及接地端。分支電路544a,544b,544c,544d分別包含第三電阻R31、R32、R33、R34。相較於第8圖之偵測裝置500,本實施例之偵測裝置600的量測單元220只有一個ADC量測埠ADCP1。電源開關SW1的一端耦接於電壓端VDC,另一端耦接於對應之受測裝置110的電源端Vdin,用來依據來自輸出入埠I/O的第一控制訊號來決定開啟或關閉。多工器546耦接於共用電路542以及每一分支電路544a-544d之第三電阻R31-R34,用來依據一第四控制訊號I/O1、I/O2來決定選取其中之一分支電路與共用電路542導通。多工器546根據第四控制訊號I/O1、I/O2切換共用電路542與其中之一分支電路544a-544d的導通,就可以在不同的時間內分別測量複數個受測裝置110的電流值。Please refer to FIG. 9. FIG. 9 is a schematic diagram of a detecting device 600 and a device under test 110 according to a sixth embodiment of the present invention. The detecting device 600 includes a measuring unit 220 and a detecting circuit 540. The measurement unit 220 includes an analog to digital converter measurement 埠 ADCP1. The ADC measurement 埠ADCP1 is used as a reference voltage according to different input voltage values to measure the current variation of the flow through the measuring device 110. The detection circuit 540 includes a common circuit 542, branch circuits 544a-544d, and a voltage stabilization circuit 150. The common circuit 542 includes a first resistor R1, a second resistor R2, and a fourth resistor R4. One end of the first resistor R1 is coupled to the voltage terminal VDC, and the other end is coupled to the ADC measurement 埠ADCP1. The second resistor R2 is coupled to the corresponding ADC measurement 埠 ADCP1, and the other end is coupled to the ground terminal. The fourth resistor R4 is coupled to the power terminal Vdin and the ground terminal of the corresponding device under test 110. The branch circuits 544a, 544b, 544c, 544d respectively include third resistors R31, R32, R33, R34. Compared with the detecting device 500 of FIG. 8, the measuring unit 220 of the detecting device 600 of the embodiment has only one ADC measuring 埠ADCP1. One end of the power switch SW1 is coupled to the voltage terminal VDC, and the other end is coupled to the power terminal Vdin of the corresponding device under test 110 for determining whether to turn on or off according to the first control signal from the input/output I/O. The multiplexer 546 is coupled to the common circuit 542 and the third resistors R31-R34 of each of the branch circuits 544a-544d for determining a branch circuit according to a fourth control signal I/O1, I/O2. The shared circuit 542 is turned on. The multiplexer 546 switches the common circuit 542 and one of the branch circuits 544a-544d according to the fourth control signal I/O1, I/O2, and can measure the current values of the plurality of devices under test 110 at different times. .

相較於先前技術,本發明是利用硬體線路設計的方式達到僅使用一組輸入電源及一輸出入埠統一控制所有受測裝置的電源開啟或關閉實現量測一至多組的受測裝置負載變化。實際應用上,在不影響受測裝置之輸入電壓下,透過ADC來配合充電裝置的使用,當同時供電給一或多組受測裝置時,各組ADC經由裝置的電流變化來得知各受測裝置是否已經充飽電,並藉由得知此變化進一步由程式控制顯示相對應的燈號及關閉電源等後續的相關動作。也可以經由電流的變化預防當長時間受測裝置消耗的電流持續沒有變化時能做到相對應的保護機制。Compared with the prior art, the present invention utilizes a hardware circuit design method to achieve measurement of one or more groups of test device loads by using only one set of input power sources and one input port to uniformly control power on or off of all devices under test. Variety. In practical applications, the input of the charging device is not affected by the input voltage of the device under test. When the power supply is applied to one or more groups of devices under test, each group of ADCs is informed by the current change of the device. Whether the device has been fully charged, and by knowing the change, the program further controls the corresponding signal and the subsequent related actions such as turning off the power. It is also possible to prevent a corresponding protection mechanism from being maintained when the current consumed by the device under test does not change continuously over a long period of time.

雖然本發明已用較佳實施例揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作各種之更動與修改,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。While the present invention has been described in its preferred embodiments, the present invention is not intended to limit the invention, and the invention may be variously modified and modified without departing from the spirit and scope of the invention. The scope of protection is subject to the definition of the scope of the patent application.

10...量測單元10. . . Measuring unit

12...受測裝置12. . . Device under test

20...量測單元20. . . Measuring unit

22a-22d...受測裝置22a-22d. . . Device under test

24a-24d...穩壓元件24a-24d. . . Voltage regulator component

26a-26d...偵測電路26a-26d. . . Detection circuit

R1-R3...電阻R1-R3. . . resistance

ADCP1-ADCP4...量測埠ADCP1-ADCP4. . . Measurement

100、200...偵測裝置100, 200. . . Detection device

110a、110b...受測裝置110a, 110b. . . Device under test

120、220...量測單元120, 220. . . Measuring unit

140...偵測電路140. . . Detection circuit

150...穩壓電路150. . . Regulator circuit

R11-R42...電阻R11-R42. . . resistance

300、400...偵測裝置300, 400. . . Detection device

110...受測裝置110. . . Device under test

320、420...量測單元320, 420. . . Measuring unit

340、440、540...偵測電路340, 440, 540. . . Detection circuit

SW1-SW4...開關SW1-SW4. . . switch

322、422...切換器322, 422. . . Switcher

446...多工器446. . . Multiplexer

342、442...共用電路342, 442. . . Shared circuit

344、444...分支電路344, 444. . . Branch circuit

第1A圖係先前技術之類比數位轉換器量測單元量測受測裝置之示意圖。Figure 1A is a schematic diagram of a prior art analog-to-digital converter measurement unit for measuring a device under test.

第1B圖係繪示另一類比數位轉換器量測單元量測受測裝置之示意圖。FIG. 1B is a schematic diagram showing another analog-to-digital converter measuring unit for measuring the device under test.

第2圖係另一類比數位轉換器量測單元量測複數個受測裝置之示意圖。Figure 2 is a schematic diagram of another analog-to-digital converter measuring unit for measuring a plurality of devices under test.

第3圖係本發明第一實施例之偵測裝置與受測裝置之示意圖。Fig. 3 is a schematic view showing a detecting device and a device under test according to the first embodiment of the present invention.

第4圖係本發明第二實施例之偵測裝置與受測裝置之示意圖。Fig. 4 is a schematic view showing a detecting device and a device under test according to a second embodiment of the present invention.

第5圖係以一般受測裝置內建鋰電池做充電動作時,流經受測裝置的電流之時間變化示意圖。Fig. 5 is a schematic diagram showing the time variation of the current flowing through the measuring device when the lithium battery is built in the general device under test.

第6圖係本發明之第三實施例之偵測裝置與受測裝置之示意圖。Figure 6 is a schematic view of a detecting device and a device under test according to a third embodiment of the present invention.

第7圖係本發明之第四實施例之偵測裝置與受測裝置之示意圖。Figure 7 is a schematic view of a detecting device and a device under test according to a fourth embodiment of the present invention.

第8圖係本發明之第五實施例之偵測裝置與受測裝置之示意圖。Figure 8 is a schematic view showing a detecting device and a device under test according to a fifth embodiment of the present invention.

第9圖係本發明之第六實施例之偵測裝置與受測裝置之示意圖。Figure 9 is a schematic view of a detecting device and a device under test according to a sixth embodiment of the present invention.

ADC1-ADCP2‧‧‧量測埠ADC1-ADCP2‧‧‧ Measure

100‧‧‧偵測裝置100‧‧‧Detection device

110‧‧‧受測裝置110‧‧‧Device under test

120‧‧‧量測單元120‧‧‧Measurement unit

140‧‧‧共用電路140‧‧‧Common circuit

150‧‧‧穩壓電路150‧‧‧Variable circuit

R1-R3‧‧‧電阻R1-R3‧‧‧ resistance

Claims (31)

一種可於一電源下偵測至少一受測裝置之電流的偵測裝置,其包含:一量測單元,其包含至少一類比數位轉換器(Analog to Digital Converter,ADC)量測埠,該量測埠對應一受測裝置;以及至少一偵測電路,每一偵測電路對應於該量測埠以及該受測裝置,用來量測流經對應之該受測裝置之電流,其包含:一第一電阻,其一端耦接於該電源之一電壓端,另一端耦接於對應之該量測埠;一第二電阻,其一端耦接於對應之該量測埠,另一端耦接於該電源之一接地端;一第三電阻,其一端耦接於對應該量測埠,另一端耦接於對應之該受測裝置;一第四電阻,其一端耦接於該電源之該接地端,另一端耦接於對應之該受測裝置;以及一電源開關,其一端耦接於該電源之該電壓端,另一端耦接於對應之該受測裝置,用來依據一第一控制訊號開啟或關閉。A detecting device capable of detecting current of at least one device under test by a power source, comprising: a measuring unit comprising at least one analog to digital converter (ADC) measuring quantity, the quantity Detecting a device to be tested; and at least one detecting circuit, each detecting circuit corresponding to the measuring device and the device under test for measuring a current flowing through the corresponding device under test, comprising: a first resistor, one end of which is coupled to one of the voltage terminals of the power source, and the other end of which is coupled to the corresponding one of the measuring electrodes; a second resistor having one end coupled to the corresponding measuring pole and the other end coupled a third resistor, one end of which is coupled to the corresponding measurement port, and the other end is coupled to the corresponding device under test; a fourth resistor having one end coupled to the power source a grounding end, the other end is coupled to the corresponding device under test; and a power switch having one end coupled to the voltage end of the power source and the other end coupled to the corresponding device under test for The control signal is turned on or off. 如申請專利範圍第1項所述之偵測裝置,其中每一偵測電路另包含:一穩壓電路,其一端耦接於該接地端,另一端耦接於對應該量測埠。The detecting device of claim 1, wherein each detecting circuit further comprises: a voltage stabilizing circuit, one end of which is coupled to the grounding end, and the other end of which is coupled to the corresponding measuring unit. 如申請專利範圍第3項所述之偵測裝置,其中該穩壓電路係一曾納(zener diode)二極體。The detecting device of claim 3, wherein the voltage stabilizing circuit is a Zener diode. 如申請專利範圍第1項所述之偵測裝置,其中該第三電阻的電阻值係該第四電阻的電阻值的100倍-1000倍。The detecting device of claim 1, wherein the resistance value of the third resistor is 100 times to 1000 times the resistance value of the fourth resistor. 如申請專利範圍第1項所述之偵測裝置,其中每一開關係一電晶體。The detecting device of claim 1, wherein each of the open contacts has a transistor. 如申請專利範圍第1項所述之偵測裝置,其中該量測單元另包含一切換器,耦接於該至少一量測埠,用來依據一第二控制訊號決定啟動(enable)其中之一量測埠。The detecting device of claim 1, wherein the measuring unit further comprises a switch coupled to the at least one measuring unit for determining to enable the second control signal according to a second control signal. A measure of sputum. 如申請專利範圍第6項所述之偵測裝置,其中該切換器係一解碼器。The detecting device of claim 6, wherein the switch is a decoder. 如申請專利範圍第6項所述之偵測裝置,其中該切換器係一軟體程式碼。The detecting device of claim 6, wherein the switch is a software code. 一種可於一電源下偵測複數個受測裝置之電流的偵測裝置,其包含:一量測單元,其包含複數個類比數位轉換器量測埠,每一量測埠對應其中之一受測裝置;以及一偵測電路,用來量測流經該等受測裝置之電流,其包含:一共用電路,其包含:一第一電阻,其一端耦接於該電源之一電壓端,另一端耦接於該等量測埠;一第二電阻,其一端耦接於該等量測埠,另一端耦接於該電源之一接地端;以及一電源開關,其一端耦接於該電源之電壓端,另一端耦接於對應之該受測裝置,用來依據一第一控制訊號開啟或關閉;以及複數個分支電路,每一分支電路包含:一第三電阻,其一端耦接於對應之該量測埠,另一端耦接於對應之該受測裝置;一第四電阻,其一端耦接於該電源之該接地端,另一端耦接於對應之該受測裝置;以及一切換開關,其一端耦接於該共用電路,另一端耦接於該第三電阻,用來依據一第二控制訊號開啟或關閉。A detecting device capable of detecting currents of a plurality of devices under test under a power source, comprising: a measuring unit comprising a plurality of analog-digital converters, each of which corresponds to one of And a detecting circuit for measuring a current flowing through the devices to be tested, comprising: a common circuit, comprising: a first resistor, one end of which is coupled to one of the voltage ends of the power source, The other end is coupled to the equal measuring pole; a second resistor having one end coupled to the equal measuring pole and the other end coupled to one of the power grounds; and a power switch having one end coupled to the a voltage end of the power source, the other end is coupled to the corresponding device under test for turning on or off according to a first control signal; and a plurality of branch circuits each comprising: a third resistor coupled at one end thereof The other end is coupled to the corresponding device under test; a fourth resistor having one end coupled to the ground end of the power source and the other end coupled to the corresponding device under test; a switch, one end of which is coupled to the common Circuit, and the other end coupled to the third resistor, to open or close according to a second control signal. 如申請專利範圍第9項所述之偵測裝置,其中該偵測電路另包含一穩壓電路,其一端耦接於該接地端,另一端耦接於對應該量測埠。The detecting device of claim 9, wherein the detecting circuit further comprises a voltage stabilizing circuit, one end of which is coupled to the grounding end and the other end of which is coupled to the corresponding measuring unit. 如申請專利範圍第10項所述之偵測裝置,其中該穩壓電路係一曾納二極體(zener diode)。The detecting device of claim 10, wherein the voltage stabilizing circuit is a Zener diode. 如申請專利範圍第9項所述之偵測裝置,其中該第三電阻的電阻值係該第四電阻的電阻值的100倍-1000倍。The detecting device of claim 9, wherein the resistance value of the third resistor is 100 times to 1000 times the resistance value of the fourth resistor. 如申請專利範圍第9項所述之偵測裝置,其中每一開關係一電晶體。The detecting device of claim 9, wherein each of the open contacts is a transistor. 如申請專利範圍第9項所述之偵測裝置,其中該量測單元另包含一切換器,耦接於該等量測埠,用來依據一第三控制訊號決定啟動(enable)其中之一量測埠。The detecting device of claim 9, wherein the measuring unit further comprises a switch coupled to the equal measuring device for enabling one of the third control signals to be enabled. Measuring 埠. 如申請專利範圍第14項所述之偵測裝置,其中該切換器係一解碼器。The detecting device of claim 14, wherein the switch is a decoder. 如申請專利範圍第14項所述之偵測裝置,其中該切換器係一軟體程式碼。The detecting device of claim 14, wherein the switch is a software code. 如申請專利範圍第9項所述之偵測裝置,其中該偵測電路另包含一多工器,耦接於該共用電路以及每一分支電路,其中該多工器係包含每一分支電路之該切換開關,該多工器用來依據該第三控制訊號及一第四控制訊號選取其中之一分支電路與該共用電路導通。The detecting device of claim 9, wherein the detecting circuit further comprises a multiplexer coupled to the common circuit and each branch circuit, wherein the multiplexer includes each branch circuit The switch is configured to select one of the branch circuits to be turned on according to the third control signal and the fourth control signal. 一種可於一電源下偵測複數個受測裝置之電流的偵測裝置,其包含:一量測單元,其包含複數個類比數位轉換器量測埠,每一量測埠對應其中之一受測裝置;以及一偵測電路,用來量測流經該等受測裝置之電流,其包含:一共用電路,其包含:一第一電阻,其一端耦接於該電源之一電壓端,另一端耦接於該等量測埠;一第二電阻,其一端耦接於該等量測埠,另一端耦接於該電源之一接地端;一電源開關,其一端耦接於該電源之電壓端,另一端耦接於對應之該受測裝置,用來依據一第一控制訊號開啟或關閉;一第四電阻,其一端耦接於該電源之該接地端,另一端耦接於每一該受測裝置;以及複數個分支電路,每一分支電路包含:一第三電阻,其一端耦接於對應之該量測埠,另一端耦接於對應之該受測裝置;以及一切換開關,其一端耦接於該共用電路,另一端耦接於該第三電阻,用來依據一第二控制訊號開啟或關閉。A detecting device capable of detecting currents of a plurality of devices under test under a power source, comprising: a measuring unit comprising a plurality of analog-digital converters, each of which corresponds to one of And a detecting circuit for measuring a current flowing through the devices to be tested, comprising: a common circuit, comprising: a first resistor, one end of which is coupled to one of the voltage ends of the power source, The other end of the power supply is coupled to the power supply, and the other end is coupled to the power supply. The other end is coupled to the ground. a voltage terminal, the other end of which is coupled to the corresponding device under test for turning on or off according to a first control signal; a fourth resistor having one end coupled to the ground end of the power source and the other end coupled to the ground end Each of the devices to be tested; and a plurality of branch circuits, each of the branch circuits includes: a third resistor having one end coupled to the corresponding measurement port and the other end coupled to the corresponding device under test; and a a switch having one end coupled to the shared circuit The other end coupled to the third resistor, according to a second control signal for opening or closing. 如申請專利範圍第18項所述之偵測裝置,其中該偵測電路另包含一穩壓電路,其一端耦接於該接地端,另一端耦接於對應該量測埠。The detecting device of claim 18, wherein the detecting circuit further comprises a voltage stabilizing circuit, one end of which is coupled to the grounding end and the other end of which is coupled to the corresponding measuring unit. 如申請專利範圍第19項所述之偵測裝置,其中該穩壓電路係一曾納二極體(zener diode)。The detecting device of claim 19, wherein the voltage stabilizing circuit is a Zener diode. 如申請專利範圍第18項所述之偵測裝置,其中該第三電阻的電阻值係該第四電阻的電阻值的100倍-1000倍。The detecting device of claim 18, wherein the resistance value of the third resistor is 100 times to 1000 times the resistance value of the fourth resistor. 如申請專利範圍第18項所述之偵測裝置,其中每一開關係一電晶體。The detecting device of claim 18, wherein each of the open contacts has a transistor. 如申請專利範圍第18項所述之偵測裝置,其中該量測單元另包含一切換器,耦接於該等量測埠,用來依據一第三控制訊號決定啟動(enable)其中之一量測埠。The detecting device of claim 18, wherein the measuring unit further comprises a switch coupled to the equal measuring device for enabling one of the third control signals to be enabled. Measuring 埠. 如申請專利範圍第23項所述之偵測裝置,其中該切換器係一解碼器。The detecting device of claim 23, wherein the switch is a decoder. 如申請專利範圍第23項所述之偵測裝置,其中該切換器係一軟體程式碼。The detecting device of claim 23, wherein the switch is a software code. 如申請專利範圍第18項所述之偵測裝置,其中該偵測電路另包含一多工器,耦接於該共用電路以及每一分支電路,其中該多工器係包含每一分支電路之該切換開關,該多工器用來依據該第三控制訊號及一第四控制訊號選取其中之一分支電路與該共用電路導通。The detecting device of claim 18, wherein the detecting circuit further comprises a multiplexer coupled to the common circuit and each branch circuit, wherein the multiplexer includes each branch circuit The switch is configured to select one of the branch circuits to be turned on according to the third control signal and the fourth control signal. 一種可於一電源下偵測複數個受測裝置之電流的偵測裝置,其包含:一量測單元,其包含複數個類比數位轉換器量測埠,每一量測埠對應其中之一受測裝置;以及一偵測電路,用來量測流經該等受測裝置之電流,其包含:一共用電路,其包含:一第一電阻,其一端耦接於該電源之一電壓端,另一端耦接於該等量測埠;一第二電阻,其一端耦接於該等量測埠,另一端耦接於該電源之一接地端;一電源開關,其一端耦接於該電源之電壓端,另一端耦接於對應之該受測裝置,用來依據一第一控制訊號開啟或關閉;以及一第四電阻,其一端耦接於該電源之該接地端,另一端耦接於每一該受測裝置;複數個分支電路,每一分支電路包含一第三電阻,其一端耦接於對應之該量測埠,另一端耦接於對應之該受測裝置;以及一切換裝置,其一端耦接於該共用電路,另一端耦接該些分支電路,用來依據一第二控制訊號選擇該些分支電路之一與該共用電路接通。A detecting device capable of detecting currents of a plurality of devices under test under a power source, comprising: a measuring unit comprising a plurality of analog-digital converters, each of which corresponds to one of And a detecting circuit for measuring a current flowing through the devices to be tested, comprising: a common circuit, comprising: a first resistor, one end of which is coupled to one of the voltage ends of the power source, The other end of the power supply is coupled to the power supply, and the other end is coupled to the power supply. The other end is coupled to the ground. a voltage terminal, the other end of which is coupled to the corresponding device under test for turning on or off according to a first control signal; and a fourth resistor having one end coupled to the ground end of the power source and the other end coupled Each of the devices to be tested; a plurality of branch circuits, each of the branch circuits includes a third resistor, one end of which is coupled to the corresponding measurement port, the other end of which is coupled to the corresponding device under test; and a switch a device, one end of which is coupled to the shared circuit, One end being coupled to the branch circuit, according to a second control signal for selecting one of the plurality of branch circuit connected to the common circuit. 如申請專利範圍第27項所述之偵測裝置,其中該偵測電路另包含一穩壓電路,其一端耦接於該接地端,另一端耦接於對應該量測埠。The detecting device of claim 27, wherein the detecting circuit further comprises a voltage stabilizing circuit, one end of which is coupled to the grounding end and the other end of which is coupled to the corresponding measuring unit. 如申請專利範圍第28項所述之偵測裝置,其中該穩壓電路係一曾納二極體(zener diode)。The detecting device of claim 28, wherein the voltage stabilizing circuit is a Zener diode. 如申請專利範圍第27項所述之偵測裝置,其中該第三電阻的電阻值係該第四電阻的電阻值的100倍-1000倍。The detecting device of claim 27, wherein the resistance value of the third resistor is 100 times to 1000 times the resistance value of the fourth resistor. 如申請專利範圍第27項所述之偵測裝置,其中每一開關係一電晶體。The detecting device of claim 27, wherein each of the open contacts has a transistor.
TW98126962A 2009-08-11 2009-08-11 Detecting device for measuring currents flowing through multiple loads under a supply voltage TWI393895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98126962A TWI393895B (en) 2009-08-11 2009-08-11 Detecting device for measuring currents flowing through multiple loads under a supply voltage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98126962A TWI393895B (en) 2009-08-11 2009-08-11 Detecting device for measuring currents flowing through multiple loads under a supply voltage

Publications (2)

Publication Number Publication Date
TW201105982A TW201105982A (en) 2011-02-16
TWI393895B true TWI393895B (en) 2013-04-21

Family

ID=44814182

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98126962A TWI393895B (en) 2009-08-11 2009-08-11 Detecting device for measuring currents flowing through multiple loads under a supply voltage

Country Status (1)

Country Link
TW (1) TWI393895B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI553460B (en) * 2013-08-21 2016-10-11 鴻海精密工業股份有限公司 Power supply detecting circuit

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108267663B (en) * 2016-12-30 2021-04-27 技嘉科技股份有限公司 Detection device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW413733B (en) * 1996-11-08 2000-12-01 Int Rectifier Corp Circuit for sensing motor load current
TW469363B (en) * 1998-10-30 2001-12-21 Volterra Semiconductor Corp Current measuring techniques
US6791315B2 (en) * 2000-01-06 2004-09-14 Delta Electrical Limited Current detector and current measuring apparatus including such detector with temperature compensation
TW200512556A (en) * 2003-09-30 2005-04-01 Samsung Electronics Co Ltd Sensors and sensor circuits which convert sense currents to digital values
CN101431298A (en) * 2007-10-23 2009-05-13 欧陆汽车有限责任公司 Switching arrangement for operating electrical load, and having load current measurement function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW413733B (en) * 1996-11-08 2000-12-01 Int Rectifier Corp Circuit for sensing motor load current
TW469363B (en) * 1998-10-30 2001-12-21 Volterra Semiconductor Corp Current measuring techniques
US6791315B2 (en) * 2000-01-06 2004-09-14 Delta Electrical Limited Current detector and current measuring apparatus including such detector with temperature compensation
TW200512556A (en) * 2003-09-30 2005-04-01 Samsung Electronics Co Ltd Sensors and sensor circuits which convert sense currents to digital values
CN101431298A (en) * 2007-10-23 2009-05-13 欧陆汽车有限责任公司 Switching arrangement for operating electrical load, and having load current measurement function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI553460B (en) * 2013-08-21 2016-10-11 鴻海精密工業股份有限公司 Power supply detecting circuit

Also Published As

Publication number Publication date
TW201105982A (en) 2011-02-16

Similar Documents

Publication Publication Date Title
JP7214391B2 (en) Fault detection for battery management systems
US8376611B2 (en) Circuits and methods for temperature detection
US10309841B2 (en) Temperature detecting apparatus
US20130002261A1 (en) Battery pack
JP6397019B2 (en) Battery fuel gauge with FET segment control for high small current measurement accuracy
US9116177B2 (en) Systems and methods for an open circuit current limiter
JP2007327772A (en) Method and apparatus for determining abnormality of battery pack, battery pack, and its battery charger
TWI816672B (en) Signal distribution apparatus
WO2019203080A1 (en) Charger having failure detection function and failure detection method
JP6272379B2 (en) Cable inspection device and cable inspection system
JP2015527867A (en) Method and system for voltage collapse protection
TWI393895B (en) Detecting device for measuring currents flowing through multiple loads under a supply voltage
TW201531030A (en) System and method for using an integrated circuit pin as both a current limiting input and an open-drain output
JP2011077847A (en) A/d converter and open detection method thereof
JP6549055B2 (en) Battery pack
CN110676804B (en) Detection circuit and switch module using same
TW201417433A (en) Over current protection chip of power supply and configuration method thereof
TWM517823U (en) Multifunctional pointer-meter with high voltage alarm and protection
JP7005380B2 (en) Surge test equipment and surge test method
RU2557014C1 (en) Automatic control method for accumulator battery consisting of n galvanic coupled accumulator cells and device for automatic control
JP5898971B2 (en) Semiconductor test apparatus, semiconductor test method, and semiconductor device
US20230008237A1 (en) Switch device, current determination method and computer program
KR20140072659A (en) Battery management system and driving method thereof
TWI386788B (en) Power switch circuit
TWI841050B (en) Voltage detector device and voltage protection method