JPH06351170A - Charge current detecting circuit - Google Patents

Charge current detecting circuit

Info

Publication number
JPH06351170A
JPH06351170A JP13215793A JP13215793A JPH06351170A JP H06351170 A JPH06351170 A JP H06351170A JP 13215793 A JP13215793 A JP 13215793A JP 13215793 A JP13215793 A JP 13215793A JP H06351170 A JPH06351170 A JP H06351170A
Authority
JP
Japan
Prior art keywords
current
change
detection
charging
signal
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.)
Withdrawn
Application number
JP13215793A
Other languages
Japanese (ja)
Inventor
Masashi Kawai
正志 河合
Takeo Ogawa
武男 小川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP13215793A priority Critical patent/JPH06351170A/en
Publication of JPH06351170A publication Critical patent/JPH06351170A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

PURPOSE:To provide a charge current detecting circuit for quickly and accurately detecting the end of charge of an electrostatic capacitance. CONSTITUTION:A current is detected in different timings with a couple of sample and hold circuits 20, 21 and the signal held by the sample and hold circuits 20, 21 is subtracted in a subtractor 22 to obtain a difference of current. The difference obtained is compared with the reference voltages V1, V2, V3, with comparatos 23, 24, 25. A current difference is decided depending on the result of comparison to control the timing of sample of the sample and hold circuits 20, 21. When a difference is fixed to almost zero, a charge end signal is outputted.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は充電電流検出回路に係
り、特に、静電容量への充電完了を検出する充電電流検
出回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a charging current detecting circuit, and more particularly to a charging current detecting circuit for detecting the completion of charging of a capacitance.

【0002】抵抗を測定する場合には一般に測定対象に
一定電圧を印加して、測定対象に流れる電流を測定する
方法が用いられている。しかし、測定対象となる電子部
品やプリント配線板等には一般に静電容量が含まれてお
り、そのまま測定を行なうと測定初期時には抵抗に供給
される電流以外に静電容量への充電電流も電流として検
出されてしまい測定に誤差が生じてしまい、正確な抵抗
測定が行なえない。
When measuring resistance, a method is generally used in which a constant voltage is applied to an object to be measured and the current flowing through the object is measured. However, the electronic components and printed wiring boards that are the objects of measurement generally contain capacitance, and if the measurement is performed as it is, in addition to the current supplied to the resistor at the beginning of the measurement, the charging current to the capacitance is also the current. As a result, a measurement error occurs, and accurate resistance measurement cannot be performed.

【0003】ただし、この充電電流は静電容量の値及び
抵抗の値に応じて決定される係数で次第に減少し、最終
的には零になる性質のものである。従って、高精度に抵
抗測定を行うためには充電電流が零になるかもしくは誤
差として影響されない値になった時点で測定を開始する
制御が必要となる。この制御を行なうためには測定開始
点を判定する回路が必要であった。
However, this charging current has a characteristic that it gradually decreases with a coefficient determined according to the value of electrostatic capacity and the value of resistance, and finally becomes zero. Therefore, in order to perform resistance measurement with high accuracy, control is required to start measurement when the charging current becomes zero or reaches a value that is not affected by an error. In order to carry out this control, a circuit for judging the measurement start point was necessary.

【0004】[0004]

【従来の技術】図7は本発明の一実施例のブロック構成
図を示す。同図中、10は測定対象を示す。測定対象1
0は電子部品、プリント配線板等で、抵抗の他、静電容
量を含む。このため、測定対象10の等価回路は抵抗R
とコンデンサCとの並列回路で表わされる。
2. Description of the Related Art FIG. 7 shows a block diagram of an embodiment of the present invention. In the figure, 10 indicates a measurement target. Measurement target 1
Reference numeral 0 denotes an electronic component, a printed wiring board, etc., which includes a capacitance as well as a resistance. Therefore, the equivalent circuit of the measuring object 10 has a resistance R
And a capacitor C in parallel.

【0005】11は抵抗測定装置を示す。抵抗測定装置
11はスイッチ12,電流検出部13,直流電源14,
電圧検出部15,充電電流検出部16,A/D変換器1
7,18,コントローラ19よりなり、測定対象10は
端子T11と端子T12との間に接続される。
Reference numeral 11 represents a resistance measuring device. The resistance measuring device 11 includes a switch 12, a current detector 13, a DC power supply 14,
Voltage detector 15, charging current detector 16, A / D converter 1
The measurement target 10 is connected between the terminals T 11 and T 12 and includes a controller 7, and a controller 19.

【0006】端子T11はスイッチ12及び電流検出部1
3を介して直流電源14のプラス側に接続される。ま
た、端子T12は直流電源14のマイナス側に接続され
る。
The terminal T 11 has a switch 12 and a current detector 1.
3 is connected to the positive side of the DC power supply 14. The terminal T 12 is connected to the negative side of the DC power supply 14.

【0007】スイッチ12はコントローラ19からのス
イッチ制御信号により制御され、抵抗測定時にはオン
し、測定終了後にはオフする構成とされている。電流検
出部13はスイッチ12がオンしたときに端子T11に流
れる電流I11を検出し、検出電流I11に応じた電流検出
信号を生成し、充電電流検出部16及びA/D変換器1
7に供給する。
The switch 12 is controlled by a switch control signal from the controller 19, and is turned on when the resistance is measured and turned off after the measurement is completed. The current detection unit 13 detects the current I 11 flowing through the terminal T 11 when the switch 12 is turned on, generates a current detection signal corresponding to the detection current I 11 , and charges the current detection unit 16 and the A / D converter 1.
Supply to 7.

【0008】充電電流検出部16は電流検出信号に基づ
いてコンデンサCの充電電流を検知し、コンデンサCの
充電が完了すると、充電完了信号をコントローラ19に
供給する。
The charging current detector 16 detects the charging current of the capacitor C on the basis of the current detection signal, and when the charging of the capacitor C is completed, supplies a charging completion signal to the controller 19.

【0009】また、A/D変換器17は電流検出部13
から供給された電流検出信号をディジタル信号に変換し
てコントローラ19に供給する。
The A / D converter 17 has a current detector 13
The current detection signal supplied from is converted into a digital signal and supplied to the controller 19.

【0010】電圧検出部15は直流電源14の両端に接
続されていて、直流電源14の電圧を検出し、その電圧
に応じて電圧検出信号を生成し、A/D変換器18に供
給する。A/D変換器18は電圧検出部15から供給さ
れた電圧検出信号をディジタル信号に変換してコントロ
ーラ19に供給する。
The voltage detector 15 is connected to both ends of the DC power supply 14, detects the voltage of the DC power supply 14, generates a voltage detection signal according to the voltage, and supplies the voltage detection signal to the A / D converter 18. The A / D converter 18 converts the voltage detection signal supplied from the voltage detection unit 15 into a digital signal and supplies the digital signal to the controller 19.

【0011】コントローラ19には外部から測定指示信
号、充電電流検出部16より充電完了信号、A/D変換
器17より測定対象10に流れる電流I11に応じたディ
ジタル信号、A/D変換器18より直流電源14の電圧
に応じたディジタル信号が供給され、スイッチ12を制
御するスイッチ制御信号を生成すると共に測定対象10
の抵抗値を算出する。このとき、測定対象10の抵抗R
は測定対象10に印加される電圧V及び電圧Vにより測
定対象10に流れる電流IよりR=V/Iで求められ
る。
The controller 19 receives a measurement instruction signal from the outside, a charging completion signal from the charging current detector 16, a digital signal corresponding to the current I 11 flowing from the A / D converter 17 to the measurement object 10, and the A / D converter 18. A digital signal corresponding to the voltage of the DC power supply 14 is supplied from the DC power supply 14 to generate a switch control signal for controlling the switch 12 and the measurement target 10
Calculate the resistance value of. At this time, the resistance R of the measurement target 10
Is calculated from the voltage V applied to the measuring object 10 and the current I flowing through the measuring object 10 by the voltage V as R = V / I.

【0012】図8に従来の充電電流検出部16の一例の
ブロック図を示す。従来の充電電流検出部16は微分回
路40及び比較器41により構成されていた。
FIG. 8 shows a block diagram of an example of the conventional charging current detector 16. The conventional charging current detector 16 is composed of a differentiating circuit 40 and a comparator 41.

【0013】微分回路40は抵抗R2 及びコンデンサC
2 よりなり、電流検出部13で検出された電流検出信号
の変化を緩和させて、比較器41の非反転入力端子に供
給される。比較器41の反転入力端子には基準電圧が印
加され、比較器41は微分回路40を介して供給された
電流検出信号と基準電圧とを比較し、電流検出信号が基
準電圧より小さくなるとハイレベル信号を出力する。
The differentiating circuit 40 includes a resistor R 2 and a capacitor C
2 , the change in the current detection signal detected by the current detection unit 13 is alleviated and the result is supplied to the non-inverting input terminal of the comparator 41. A reference voltage is applied to the inverting input terminal of the comparator 41, the comparator 41 compares the current detection signal supplied via the differentiating circuit 40 with the reference voltage, and when the current detection signal becomes smaller than the reference voltage, it becomes high level. Output a signal.

【0014】従来はこの比較器41の出力を充電完了信
号として用いていた。
Conventionally, the output of the comparator 41 has been used as a charge completion signal.

【0015】次に装置全体の動作を説明する。図8にコ
ントローラ19の動作説明図を示す。
Next, the operation of the entire apparatus will be described. FIG. 8 shows an operation explanatory diagram of the controller 19.

【0016】抵抗測定装置11により抵抗を測定しよう
とする場合、端子T11,T12に測定対象10を接続し、
スイッチ等の操作により測定指示信号を供給する。測定
指示信号はコントローラ19に供給され、コントローラ
19は測定信号に応じてまず、スイッチ12をオンにす
る(ステップS1,S2)。
When the resistance is to be measured by the resistance measuring device 11, the measuring object 10 is connected to the terminals T 11 and T 12 ,
A measurement instruction signal is supplied by operating a switch or the like. The measurement instruction signal is supplied to the controller 19, and the controller 19 first turns on the switch 12 according to the measurement signal (steps S1 and S2).

【0017】次にコントローラ19は充電電流検出部1
6から充電完了信号が供給されたか否かを判断する(ス
テップS3)。コントローラ19は充電完了信号が供給
されるまで待機し、充電完了信号が供給されれば、測定
対象10内の静電容量への充電が完了したことになり、
抵抗の測定が可能になるため、次にコントローラ19は
電流検出部13よりA/D変換器17を介して電流値を
読み込むと共に電圧検出部15よりA/D変換器18を
介して電圧値を読み込み、前述した式(1)より抵抗値
を算出し、出力する(ステップS4)。
Next, the controller 19 controls the charging current detector 1
It is determined whether the charging completion signal is supplied from 6 (step S3). The controller 19 waits until the charging completion signal is supplied, and if the charging completion signal is supplied, it means that the charging of the electrostatic capacitance in the measurement target 10 is completed.
Since the resistance can be measured, the controller 19 next reads the current value from the current detection unit 13 via the A / D converter 17 and the voltage value from the voltage detection unit 15 via the A / D converter 18. The resistance value is read, the resistance value is calculated from the above-mentioned equation (1), and the result is output (step S4).

【0018】コントローラ19は抵抗値算出後、スイッ
チ制御信号によりスイッチ12をオフし、測定動作を完
了する(ステップS5)。
After calculating the resistance value, the controller 19 turns off the switch 12 by the switch control signal and completes the measurement operation (step S5).

【0019】[0019]

【発明が解決しようとする課題】しかるに、従来の充電
電流検出回路は微分回路により電流検出信号を緩和し、
比較器で基準電圧との比較を行っていたため、図10
(A)に示すように電流の変化が急激な場合や回路に高
周波が入力された場合に微分回路と共振して図10
(B)に示すように発振が生じたり、図10(C)に示
すように電流の変化が緩やかな場合には図10(B)に
示すように感度が鈍くなり、検出が行なえず、また、微
分回路にコンデンサを有するため、電流検出信号が供給
されてからの待ち時間も必要となり、測定に時間がかか
る等の問題点があった。
However, the conventional charging current detection circuit relaxes the current detection signal by the differentiation circuit,
Since the comparison with the reference voltage was performed by the comparator, FIG.
As shown in (A), when the current changes rapidly or when a high frequency is input to the circuit, it resonates with the differentiating circuit and FIG.
When oscillation occurs as shown in (B) or when the change in current is gradual as shown in FIG. 10 (C), the sensitivity becomes dull as shown in FIG. 10 (B), and detection cannot be performed. Since the differentiating circuit has a capacitor, there is a problem that a waiting time after the current detection signal is supplied is required and it takes a long time for measurement.

【0020】さらに、電流検出信号の微小な変動は検出
できないため、充電完了を正確には検出できない等の問
題点があった。
Furthermore, since minute fluctuations in the current detection signal cannot be detected, there is a problem in that the completion of charging cannot be detected accurately.

【0021】本発明は上記の点に鑑みてなされたもの
で、迅速、かつ、正確に静電容量への充電完了を検出で
きる充電電流検出回路を提供することを目的とする。
The present invention has been made in view of the above points, and an object of the present invention is to provide a charging current detection circuit that can detect the completion of charging the electrostatic capacitance quickly and accurately.

【0022】[0022]

【課題を解決するための手段】図1に本発明の原理ブロ
ック図を示す。電流変化検出手段2は静電容量1に供給
される電流をクロック信号に応じた検出間隔で検出し、
検出間隔での電流の変化量を検出する。
FIG. 1 shows a block diagram of the principle of the present invention. The current change detection means 2 detects the current supplied to the electrostatic capacitance 1 at a detection interval according to the clock signal,
The amount of change in current at the detection interval is detected.

【0023】クロック制御手段3は電流変化検出手段2
で検出された電流の変化量に応じて前記電流変化検出手
段2に供給するクロック信号の同期を制御する。
The clock control means 3 is a current change detection means 2
The synchronization of the clock signal supplied to the current change detecting means 2 is controlled in accordance with the amount of change in the current detected in.

【0024】充電完了検出手段4は電流変化検出手段2
で検出された電流の変化量及び前記クロック制御手段3
で制御されるクロック信号の同期が共に所定時間変化し
ないときに充電完了を検出する。
The charging completion detecting means 4 is the current change detecting means 2
Change amount of current detected by the clock control means 3
The completion of charging is detected when the synchronization of the clock signals controlled by 2 does not change for a predetermined time.

【0025】[0025]

【作用】電流変化検出手段によりクロック信号の同期に
応じた検出間隔で電流の変化量を検出し、クロック制御
手段によりこの変化量に応じて検出間隔を決めるクロッ
ク信号を制御することにより電流の変化量の検出レンジ
を可変することができるため、電流の変化が急激な場合
でも大きな信号が入力されることがなく、発振等が生じ
なく、また、電流変化量が微小でもこれを正確に検出で
きる。
The change in current is detected by the current change detection means at a detection interval corresponding to the synchronization of the clock signals, and the clock control means controls the clock signal which determines the detection interval according to the change amount. Since the amount detection range can be changed, a large signal is not input even when the current changes rapidly, oscillation does not occur, and this can be detected accurately even if the amount of current change is minute. .

【0026】[0026]

【実施例】図2に本発明の一実施例のブロック構成図を
示す。
FIG. 2 shows a block diagram of an embodiment of the present invention.

【0027】本実施例の充電電流検出部16はサンプル
ホールド回路20,21,減算器22,比較器23,2
4,25,基準電圧生成回路26,検出制御回路27よ
り構成される。サンプルホールド回路20,21には電
流検出部13より電流検出信号が供給され、検出制御回
路27からのクロック信号CK1 ,CK2 に応じて電流
検出信号を互いに異なったタイミングでホールドする。
The charging current detector 16 of this embodiment comprises sample and hold circuits 20, 21, a subtractor 22, and comparators 23, 2.
4, 25, a reference voltage generation circuit 26, and a detection control circuit 27. A current detection signal is supplied from the current detection unit 13 to the sample hold circuits 20 and 21, and the current detection signals are held at different timings according to the clock signals CK 1 and CK 2 from the detection control circuit 27.

【0028】サンプルホールド回路20,21にホール
ドされた電流検出信号は減算器22に供給される。減算
器22はサンプルホールド回路20にホールドされた電
流検出信号からサンプルホールド回路21にホールドさ
れた電流検出信号を減算して、両電流検出信号の差分信
号Vaを比較器23,24,25に供給する。
The current detection signal held in the sample hold circuits 20 and 21 is supplied to the subtractor 22. The subtractor 22 subtracts the current detection signal held in the sample hold circuit 21 from the current detection signal held in the sample hold circuit 20, and supplies the difference signal Va of both current detection signals to the comparators 23, 24, 25. To do.

【0029】比較器23,24,25は減算器22から
供給された差分信号Vaを基準電圧生成部26で生成さ
れる基準電圧V1 ,V2 ,V3 (V1 <V2 <V3 )と
比較し、その大小結果に応じた信号を検出制御回路27
に供給する。比較器23は減算器22からの差分信号V
aを基準電圧生成部26で生成された最小の基準電圧V
1 と比較し、差分信号Vaが基準電圧V1 より大きいと
きにはハイレベル(Hi),小さいときにはローレベル
(Lo)の信号を出力する。比較器24は減算器22か
らの差分信号Vaを基準電圧生成部26で生成された中
間の基準電圧V 2 と比較し、差分信号Vaが基準電圧V
2 より大きいときにはハイレベル(Hi),小さいとき
にはローレベル(Lo)の信号を出力する。比較器25
は減算器22からの差分信号Vaを基準電圧生成部26
で生成された最大の基準電圧V3と比較し、差分信号V
aが基準電圧V3 より大きいときにはハイレベル(H
i)、小さいときにはローレベル(Lo)の信号を出力
する。
The comparators 23, 24 and 25 are connected to the subtractor 22.
The difference signal Va thus supplied is generated by the reference voltage generator 26.
Reference voltage V1, V2, V3(V1<V2<V3)When
The detection control circuit 27 compares and detects a signal according to the magnitude result.
Supply to. The comparator 23 receives the difference signal V from the subtractor 22.
a is the minimum reference voltage V generated by the reference voltage generator 26
1And the difference signal Va is compared with the reference voltage V1Greater than
High level (Hi) when low, low level when low
The signal of (Lo) is output. Is the comparator 24 a subtractor 22?
Of the differential signal Va generated by the reference voltage generator 26
Reference voltage V between 2And the difference signal Va is compared with the reference voltage V
2Higher level (Hi) when larger, smaller than
A low level (Lo) signal is output to. Comparator 25
Represents the difference signal Va from the subtractor 22 as the reference voltage generator 26.
Maximum reference voltage V generated by3And the difference signal V
a is the reference voltage V3Higher level (H
i), outputs a low level (Lo) signal when small
To do.

【0030】以上をまとめると、比較器23,24,2
5の出力は差分信号Vaが基準電圧V1 より小さいとき
(Va<V1 )にはLo,Lo,Loとなり、差分信号
Vaが基準電圧V1 と基準電圧V2 との間にあるとき
(V1 <Va<V2 )にはHi,Lo,Lo,差分信号
Vaが基準電圧V2 と基準電圧V3 との間にあるとき
(V2 <Va<3 )にはHi,Hi,Lo,差分信号V
aが基準電圧V3 より大きいときはHi,Hi,Hiと
なる。従って、比較器23,24,25の出力パターン
に応じて差分信号レベルが判別できる構成とされてい
る。
Summarizing the above, the comparators 23, 24, 2
When the difference signal Va is smaller than the reference voltage V 1 (Va <V 1 ), the output of 5 is Lo, Lo, Lo, and when the difference signal Va is between the reference voltage V 1 and the reference voltage V 2 ( Hi, Lo, Lo when V 1 <Va <V 2 ) and Hi, Hi, Lo when the difference signal Va is between the reference voltage V 2 and the reference voltage V 3 (V 2 <Va < 3 ). , Differential signal V
When a is larger than the reference voltage V 3 , it becomes Hi, Hi, Hi. Therefore, the difference signal level can be discriminated according to the output patterns of the comparators 23, 24, 25.

【0031】比較器23,24,25の出力は検出制御
回路27に供給される。
The outputs of the comparators 23, 24 and 25 are supplied to the detection control circuit 27.

【0032】図3に検出制御回路27の構成図を示す。
検出制御回路27はROM(リード・オンリ・メモリ)
28,カウンタ29,30,31,クロック発生器3
2,33,フリップフロップ34,35より構成され、
充電完了信号を生成し、コントローラ19に供給すると
共にサンプルホールド回路20,21によるサンプルホ
ールドのタイミングを制御するクロックCK1 ,CK2
を生成し、サンプルホールド回路20,21に供給す
る。
FIG. 3 shows a block diagram of the detection control circuit 27.
The detection control circuit 27 is a ROM (read only memory)
28, counters 29, 30, 31, clock generator 3
2, 33 and flip-flops 34 and 35,
Clocks CK 1 and CK 2 that generate a charge completion signal and supply it to the controller 19 and control the timing of sample and hold by the sample and hold circuits 20 and 21.
Is generated and supplied to the sample hold circuits 20 and 21.

【0033】図4,図5に検出制御回路27の動作説明
図を示す。ROM28には比較器23,24,25の出
力がアドレスとして供給され、5ビットのディジタルデ
ータが出力される。このとき、ROM28は図4に示す
ように比較器23,24,25の出力パターンがLo,
Lo,Loのときは10進値“16”,Hi,Lo,L
oのときは10進値“8”,Hi,Hi,Loのときは
10進値“6”,Hi,Hi,Hiのときは10進値
“4”を出力する。
4 and 5 are explanatory diagrams of the operation of the detection control circuit 27. The outputs of the comparators 23, 24, 25 are supplied to the ROM 28 as addresses, and 5-bit digital data is output. At this time, the ROM 28 outputs the output patterns of the comparators 23, 24, 25 as Lo,
Decimal value "16", Hi, Lo, L when Lo, Lo
When it is o, it outputs a decimal value "8", when it is Hi, Hi, Lo, it outputs a decimal value "6", and when it is Hi, Hi, Hi, it outputs a decimal value "4".

【0034】ROM28の出力データはカウンタ30に
供給されると共に最上位1ビットのみがカウンタ29に
供給される。カウンタ30はダウンカウンタで、クロッ
ク発生器33から図5(B)に示すようなクロック信号
CK12が供給され、このクロック信号に応じてROM2
8からのデータをカウントダウンし、カウント値“0”
で立ち上がる出力信号CDを生成すると共に、図5
(B)に示すようなクロック信号CK12の20クロック
毎に出力される読み出しクロック信号CK13(図5
(E)),及び、図6(D)に示すようなクロック信号
CK13に1クロック遅れて出力されるクリア信号CLが
出力される。
The output data of the ROM 28 is supplied to the counter 30, and only the most significant 1 bit is supplied to the counter 29. The counter 30 is a down counter, and a clock signal CK 12 as shown in FIG. 5B is supplied from the clock generator 33, and the ROM 2 is supplied in response to this clock signal.
Count down the data from 8 and count value "0"
The output signal CD rising at
A read clock signal CK 13 (FIG. 5) output every 20 clocks of the clock signal CK 12 as shown in FIG.
(E)), and the clear signal CL that is output one clock later than the clock signal CK 13 as shown in FIG. 6D is output.

【0035】カウンタ30の出力信号CDはフリップフ
ロップ34の出力をセットするセット端子に供給され、
カウンタ30の読み出しクロックCK13はROM28の
読み出しを制御するためのクロック端子及びカウンタ2
9のクロック端子に供給される。また、カウンタ30の
クリア信号CLはフリップフロップ34,35のリセッ
トを行なうリセット端子に供給される。
The output signal CD of the counter 30 is supplied to the set terminal for setting the output of the flip-flop 34,
The read clock CK 13 of the counter 30 is a clock terminal for controlling the read of the ROM 28 and the counter 2
9 clock terminals. Further, the clear signal CL of the counter 30 is supplied to a reset terminal that resets the flip-flops 34 and 35.

【0036】ROM28はクロックCK13がハイレベル
となったときにカウンタ30に対してデータを供給す
る。フリップフロップ34はカウンタ30の出力信号C
Dの立ち上がりでセットされカウンタ30のクリア信号
CLの立ち上がりでリセットされる。また、フリップフ
ロップ35にはクロック発生器32より図6(A)に示
すようなクロックCK11がセット端子に供給され、その
出力はクロックCK11の立ち上がりでセットされ、カウ
ンタ30のクリア信号CLの立ち上がりでリセットされ
る。
The ROM 28 supplies data to the counter 30 when the clock CK 13 goes high. The flip-flop 34 outputs the output signal C of the counter 30.
It is set at the rising edge of D and reset at the rising edge of the clear signal CL of the counter 30. The clock CK 11 as shown from the clock generator 32 in FIG. 6 (A) is supplied to the set terminal to the flip-flop 35, the output is set at the rising edge of the clock CK 11, the counter 30 of the clear signal CL It is reset at the rising edge.

【0037】なお、クロックCK11はクリア信号CLよ
り1クロック遅れて立ち上がるクロックである。
The clock CK 11 is a clock that rises one clock later than the clear signal CL.

【0038】カウンタ31はカウンタ30のクリア信号
CLをカウントして、4カウントすると出力を立ち上げ
る。カウンタ31の出力はカウンタ29のリセット端子
に供給される。カウンタ29はROM28の最上位1ビ
ットが2進値“1”となるとカウントが開始され、クロ
ックCK13をカウントする。カウンタ29の出力はクロ
ックCK13が4カウントされるとハイレベルとされ、充
電完了を指示し、また、クロックCK13が4カウントさ
れる前にカウンタ31の出力がハイレベルとなりリセッ
トされるとローレベルとされ、充電未完了を指示する。
The counter 31 counts the clear signal CL of the counter 30, and when the count reaches 4, the output rises. The output of the counter 31 is supplied to the reset terminal of the counter 29. The counter 29 starts counting when the most significant 1 bit of the ROM 28 becomes a binary value “1” and counts the clock CK 13 . The output of the counter 29 is the clock CK 13 is 4 counts a high level instructs the charging completion, and when the output of the counter 31 is reset to a high level before the clock CK 13 is 4 counts low It is set as a level and indicates that charging is not completed.

【0039】フリップフロップ34のS(セット)入力
をハイレベルとする。フリップフロップ34はS入力が
ハイレベルとなることにより出力をハイレベルとする。
フリップフロップ34の出力はクロックCK1 としてサ
ンプルホールド回路20に供給される。
The S (set) input of the flip-flop 34 is set to high level. The flip-flop 34 sets the output to the high level when the S input becomes the high level.
The output of the flip-flop 34 is supplied to the sample hold circuit 20 as the clock CK 1 .

【0040】以上の構成によれば、フリップフロップ3
5の出力クロックCK1 はカウンタ30のクリア信号C
L(図5(D))の立ち上がり(時刻t1 ,t8 )で、
リセットされ、クロック発生器32のクロックCK
11(図5(A))の立ち上がり(時刻t2 ,t9 )でセ
ットされ、図5(C)に示すようにクロック発生器33
のクロックCK13の20カウント毎に立ち上がり(時刻
2 ,t9 ),18カウント間(時刻t2 〜t8 )ハイ
レベルとされる信号が得られる。
According to the above configuration, the flip-flop 3
The output clock CK 1 of 5 is the clear signal C of the counter 30.
At the rising edge of L (FIG. 5D) (time t 1 , t 8 ),
Reset, clock CK of clock generator 32
11 (FIG. 5 (A)) is set at the rising edge (time t 2 , t 9 ), and the clock generator 33 is set as shown in FIG. 5 (C).
A signal that rises every 20 counts of the clock CK 13 (time t 2 , t 9 ) and is at high level for 18 counts (time t 2 to t 8 ) is obtained.

【0041】また、フリップフロップ34の出力クロッ
クCK2 はカウンタ30の出力信号CDの立ち上がり
(時刻t3 ,t4 ,t5 ,t6 )でセットされ、カウン
タ30のクリア信号CL(図5(D))の立ち上がり
(時刻t1 ,t8 )でリセットされる。カウンタ30の
出力信号CDは時刻t0 でROM28より読み込まれた
データをカウントダウンし、“0”となったときに立ち
上がる。このとき、ROM28の出力データ値は比較器
23,24,25の出力パターン、つまり、検出電流の
差分に応じて決まり、差分が大きいほど値は小さくな
る。
The output clock CK 2 of the flip-flop 34 is set at the rising edge of the output signal CD of the counter 30 (time t 3 , t 4 , t 5 , t 6 ) and the clear signal CL of the counter 30 (see FIG. D)) is reset at the rising edge (time t 1 , t 8 ). The output signal CD of the counter 30 counts down the data read from the ROM 28 at time t 0 and rises when it becomes “0”. At this time, the output data value of the ROM 28 is determined according to the output pattern of the comparators 23, 24, 25, that is, the difference between the detected currents, and the larger the difference, the smaller the value.

【0042】ROM28の出力データ値が大きければ、
カウンタ30のカウント値が“0”になるまでつまり、
出力信号CDが立ち上がるまでの時間が長くなり、逆
に、小さければ“0”になるまでつまり、出力信号CD
が立ち上がるまでの時間は短くなる。このため、フリッ
プフロップ34の出力クロックCK2 はROM28の出
力データが“4”のときには図5(F)に示す時刻
3 ,出力データが“6”のときは図5(G)に示す時
刻t4 ,出力データが“8”のときは図5(H)に示す
時刻t5 ,出力データが“16”のときは図5(I)に
示す時刻t6 で立ち上がり、カウンタ30のクリア信号
CLが立ち上がる時刻t8 で立ち下がる信号が得られ
る。
If the output data value of the ROM 28 is large,
That is, until the count value of the counter 30 becomes “0”,
The time until the output signal CD rises becomes longer, and conversely, if it is smaller, it becomes "0", that is, the output signal CD
It takes less time to get up. Therefore, the output clock CK 2 of the flip-flop 34 is the time t 3 shown in FIG. 5F when the output data of the ROM 28 is “4”, and the time shown in FIG. 5G when the output data is “6”. t 4, the time t 5 that shown in FIG. 5 (H) when the output data is "8", when the output data is "16" rises at time t 6 shown in FIG. 5 (I), the counter 30 clear signal At the time t 8 when CL rises, a signal that falls is obtained.

【0043】このため、フリップフロップ35の出力ク
ロックCK1 (図5(C))が立ち上がってからフリッ
プフロップ34の出力クロックCK2 が立ち上がるまで
の時間T1 ,T2 ,T3 ,T4 がROM28の出力デー
タが大きくなるほど大きくなる(T1 <T2 <T3 <T
4 )。サンプリングホールド回路20はフリップフロッ
プ35の出力クロックCK1 の立ち上がり、サンプリン
グホールド回路21はフリップフロップ34の出力クロ
ックCK2 の立ち上がりでサンプリングされるため、検
出電流の差分(変化)が小さいほどサンプリングホール
ド回路20がサンプリングされてから、サンプリングホ
ールド回路21がサンプリングを行なうまでの時間が長
くなり、微小な変化をサンプリングTの間隔を長くする
ことにより検出している。
Therefore, the times T 1 , T 2 , T 3 , T 4 from the rise of the output clock CK 1 (FIG. 5C) of the flip-flop 35 to the rise of the output clock CK 2 of the flip-flop 34 are: The larger the output data of the ROM 28, the larger (T 1 <T 2 <T 3 <T
4 ). The sampling and holding circuit 20 is sampled at the rising edge of the output clock CK 1 of the flip-flop 35, and the sampling and holding circuit 21 is sampled at the rising edge of the output clock CK 2 of the flip-flop 34. The time from the sampling of 20 to the sampling and holding circuit 21 performing sampling becomes long, and a minute change is detected by lengthening the interval of sampling T.

【0044】また、カウンタ29はカウンタ30読み出
しクロックCK13をROM28の出力データの最上位ビ
ットが2進値“1”の間、つまり、検出電流の差分が最
小のときに出力される10進値“16”が出力されてい
る間、4クロック分カウントした後、充電完了信号を出
力する。これは検出電流の差分が最小である状態が連続
したことを意味しており、つまり、検出電流の差分が十
分に小さくなった後に充電完了信号が出力されることに
なる。
Further, the counter 29 outputs the counter 30 read clock CK 13 to a decimal value output while the most significant bit of the output data of the ROM 28 is a binary value “1”, that is, when the difference between the detected currents is minimum. While "16" is being output, the charging completion signal is output after counting 4 clocks. This means that the state in which the difference between the detected currents is minimum continues, that is, the charge completion signal is output after the difference between the detected currents becomes sufficiently small.

【0045】このように、充電電流検出部27は測定対
象11に流れる電流の変化がほとんど零になった後に充
電完了信号をコントローラ19に対して出力することに
なる。
As described above, the charging current detecting section 27 outputs the charging completion signal to the controller 19 after the change in the current flowing through the measuring object 11 becomes almost zero.

【0046】図6に充電電流検出部19の効果を説明す
るための図を示す。図6(A)に示すように検出電流の
変化が急激で、検出電流の差分Va1 が大きくなってし
まう場合には、次のサンプリング期間T11を小さくする
ことにより、次の次のサンプリング期間T11の検出電流
の差分Va2 があまり大きくならない構成とされてお
り、差分Va4 の急激な変化を緩和することにより、回
路の発振を防止している。
FIG. 6 shows a diagram for explaining the effect of the charging current detector 19. As shown in FIG. 6A, when the change in the detected current is rapid and the difference Va 1 between the detected currents becomes large, the next sampling period T 11 is reduced to reduce the next sampling period. The difference Va 2 between the detected currents at T 11 is not so large that the oscillation of the circuit is prevented by alleviating the abrupt change in the difference Va 4 .

【0047】また、図6(B)に示すように検出電流の
変化が緩く検出電流の差分Va3 が小さくなってしまう
場合には次のサンプリング期間T12を大きくすることに
より次のサンプリング期間T12の検出電流の差分Va4
を大きくすることができ、差分Vaが小さくなっても、
差分を検出することができ、このため、微小な差分まで
検出ができる。
Further, as shown in FIG. 6B, when the change in the detected current is slow and the difference Va 3 between the detected currents becomes small, the next sampling period T 12 is increased to increase the next sampling period T 12. 12 detection current difference Va 4
Can be increased, and even if the difference Va decreases,
The difference can be detected, and thus even a minute difference can be detected.

【0048】[0048]

【発明の効果】上述の如く、本発明によれば、電流の変
化量に応じて電流を検出する検出間隔を制御することに
より、電流の変化量を正確に検出できるため、静電容量
への充電完了を正確に検出することができる等の特長を
有する。
As described above, according to the present invention, the amount of change in the current can be accurately detected by controlling the detection interval for detecting the current according to the amount of change in the current. It has features such as accurate detection of charging completion.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の原理ブロック図である。FIG. 1 is a principle block diagram of the present invention.

【図2】本発明の一実施例のブロック図である。FIG. 2 is a block diagram of an embodiment of the present invention.

【図3】本発明の一実施例の検出制御回路の構成図であ
る。
FIG. 3 is a configuration diagram of a detection control circuit according to an embodiment of the present invention.

【図4】本発明の一実施例の検出制御回路の動作説明図
である。
FIG. 4 is an operation explanatory diagram of the detection control circuit according to the embodiment of the present invention.

【図5】本発明の一実施例の検出制御回路の動作波形図
である。
FIG. 5 is an operation waveform diagram of the detection control circuit according to the embodiment of the present invention.

【図6】本発明の一実施例の検出制御回路の効果を説明
するための図である。
FIG. 6 is a diagram for explaining the effect of the detection control circuit of the embodiment of the present invention.

【図7】抵抗測定装置のブロック構成図である。FIG. 7 is a block configuration diagram of a resistance measuring device.

【図8】抵抗測定装置の動作説明図である。FIG. 8 is an operation explanatory diagram of the resistance measuring device.

【図9】従来の一例の構成図である。FIG. 9 is a configuration diagram of a conventional example.

【図10】従来の一例の動作説明図である。FIG. 10 is a diagram illustrating an operation of a conventional example.

【符号の説明】[Explanation of symbols]

1 静電容量 2 電流変化検出手段 3 クロック制御手段 4 充電完了検出手段 10 測定対象 11 抵抗測定装置 12 スイッチ 13 電流検出部 14 電源 15 電圧検出部 16 充電電流検出部 17,18 A/D変換器 19 コントローラ 20,21 サンプルホールド回路 22 減算器 23,24,25 比較器 26 基準電圧生成部 27 検出制御回路 1 Capacitance 2 Current Change Detection Means 3 Clock Control Means 4 Charging Completion Detection Means 10 Measurement Target 11 Resistance Measuring Device 12 Switch 13 Current Detector 14 Power Supply 15 Voltage Detector 16 Charging Current Detector 17, 18 A / D Converter 19 Controller 20, 21 Sample and Hold Circuit 22 Subtractor 23, 24, 25 Comparator 26 Reference Voltage Generation Section 27 Detection Control Circuit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 静電容量(1)への充電完了を検出する
充電電流検出回路において、 該静電容量(1)に供給される電流をクロック信号に応
じた検出間隔で検出し、該検出間隔での該電流の変化量
を検出する電流変化検出手段(2)と、 前記電流変化検出手段(2)で検出された電流の変化量
に応じて前記電流変化検出手段(2)に供給するクロッ
ク信号の周期を制御するクロック制御手段(3)と、 前記電流変化検出手段(2)で検出された電流の変化量
及び前記クロック制御手段(3)で制御されるクロック
信号の周期が共に所定時間変化しないときに充電完了を
検出する充電完了検出手段(4)とを有することを特徴
とする充電電流検出回路。
1. A charging current detection circuit for detecting completion of charging of an electrostatic capacitance (1), detecting a current supplied to the electrostatic capacitance (1) at a detection interval according to a clock signal, and performing the detection. The current change detection means (2) for detecting the amount of change in the current at intervals, and the current change detection means (2) are supplied according to the amount of change in the current detected by the current change detection means (2). The clock control means (3) for controlling the cycle of the clock signal, and the amount of change in the current detected by the current change detection means (2) and the cycle of the clock signal controlled by the clock control means (3) are both predetermined. A charging current detection circuit comprising: a charging completion detecting means (4) for detecting completion of charging when it does not change with time.
【請求項2】 前記電流変化検出手段(2)は前記クロ
ック信号に応じた検出間隔で前記電流をサンプルホール
ドする複数のサンプルホールド回路(20,21)と、 前記複数のサンプルホールド回路(20,21)にホー
ルドされた電流を減算して、電流の差分を求める減算回
路(22)とを有することを特徴とする請求項1記載の
充電電流検出回路。
2. The current change detecting means (2) includes a plurality of sample hold circuits (20, 21) for sampling and holding the current at detection intervals according to the clock signal, and a plurality of sample hold circuits (20, 21). 21. The charging current detection circuit according to claim 1, further comprising a subtraction circuit (22) for subtracting the current held in 21) to obtain a difference in current.
【請求項3】 前記クロック制御手段(3)は前記電流
変化検出手段(2)で検出された電流の変化量が大きく
なるに従って前記検出間隔が短くなるように前記クロッ
ク信号を制御することを特徴とする請求項1又は2記載
の充電電流検出回路。
3. The clock control means (3) controls the clock signal so that the detection interval becomes shorter as the amount of change in the current detected by the current change detection means (2) becomes larger. The charging current detection circuit according to claim 1 or 2.
【請求項4】 前記充電完了検出手段(4)は前記電流
変化検出手段(2)で検出された電流の変化量が略零
で、かつ、前記クロック制御手段(3)が前記検出間隔
を最大とするように前記クロック信号を制御する状態が
所定時間連続したときに充電完了を検出することを特徴
とする請求項1乃至3のいずれか一項記載の充電電流検
出回路。
4. The charge completion detecting means (4) has a substantially zero amount of change in current detected by the current change detecting means (2), and the clock control means (3) maximizes the detection interval. The charging current detection circuit according to any one of claims 1 to 3, wherein completion of charging is detected when the state of controlling the clock signal continues for a predetermined time as described above.
JP13215793A 1993-06-02 1993-06-02 Charge current detecting circuit Withdrawn JPH06351170A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13215793A JPH06351170A (en) 1993-06-02 1993-06-02 Charge current detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13215793A JPH06351170A (en) 1993-06-02 1993-06-02 Charge current detecting circuit

Publications (1)

Publication Number Publication Date
JPH06351170A true JPH06351170A (en) 1994-12-22

Family

ID=15074701

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13215793A Withdrawn JPH06351170A (en) 1993-06-02 1993-06-02 Charge current detecting circuit

Country Status (1)

Country Link
JP (1) JPH06351170A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106597063A (en) * 2017-01-25 2017-04-26 杭州士兰微电子股份有限公司 Current detecting circuit and current detecting method
JP2018519780A (en) * 2016-02-05 2018-07-19 グァンドン オッポ モバイル テレコミュニケーションズ コーポレーション リミテッド Adapter and charge control method
WO2022209127A1 (en) * 2021-03-31 2022-10-06 株式会社日立製作所 Storage battery system, remote monitoring system, and control method for remote monitoring system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018519780A (en) * 2016-02-05 2018-07-19 グァンドン オッポ モバイル テレコミュニケーションズ コーポレーション リミテッド Adapter and charge control method
US10819134B2 (en) 2016-02-05 2020-10-27 Guangdong Oppo Mobile Telecommuncations Corp., Ltd. Adapter and method for charging control
CN106597063A (en) * 2017-01-25 2017-04-26 杭州士兰微电子股份有限公司 Current detecting circuit and current detecting method
WO2022209127A1 (en) * 2021-03-31 2022-10-06 株式会社日立製作所 Storage battery system, remote monitoring system, and control method for remote monitoring system

Similar Documents

Publication Publication Date Title
KR101390274B1 (en) Integrated time and/or capacitance measurement system, method and apparatus
US5579236A (en) Voltage/current measuring unit and method
JP2001289892A (en) Method and device for measuring jitter
JP3769821B2 (en) High-precision relative digital voltage measurement method and apparatus
US4523289A (en) Time interval measuring system
JPH025272B2 (en)
GB2195457A (en) Measuring the ratio r/r of a resistance half-bridge
JPH06148279A (en) Electronic device testing and measuring device and calibratin of timing and voltage level thereof
EP0740234B1 (en) Delta-T measurement circuit
KR20060003118A (en) Power source device, test device, and power source voltage stabilizing device
JPH06351170A (en) Charge current detecting circuit
CN110857890A (en) High-precision temperature detection method and device
JPH0946194A (en) Waveform shaping device
US6445207B1 (en) IC tester and IC test method
JP3552123B2 (en) Time measuring device and distance measuring device
JP2005061921A (en) Signal voltage-time conversion circuit and sensor device using the same
JP2737442B2 (en) Connection inspection device
JP2793627B2 (en) Analog-to-digital converter
JPH10303753A (en) A/d converter, controller and lamp dimmer device
KR0149869B1 (en) Sensor value precision sensing apparatus for electronic appliances
JPH0583135A (en) Double integral type a/d converter
JPH0980086A (en) Ac signal voltage measuring apparatus
SU1735877A1 (en) Device for selecting characters during recognition of images
JPH10213609A (en) Peak detecting circuit and measuring device for electric characteristic
KR20220117061A (en) Apparatus for measuring response time

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000905