JPH05323036A - Water detection circuit - Google Patents
Water detection circuitInfo
- Publication number
- JPH05323036A JPH05323036A JP12523392A JP12523392A JPH05323036A JP H05323036 A JPH05323036 A JP H05323036A JP 12523392 A JP12523392 A JP 12523392A JP 12523392 A JP12523392 A JP 12523392A JP H05323036 A JPH05323036 A JP H05323036A
- Authority
- JP
- Japan
- Prior art keywords
- microcomputer
- water
- transistor
- output
- electrodes
- 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.)
- Granted
Links
Landscapes
- Investigating Or Analyzing Materials By The Use Of Electric Means (AREA)
- Geophysics And Detection Of Objects (AREA)
Abstract
(57)【要約】
【目的】 水を検出する範囲に設けた電極間に、交流電
圧を印加し電気分解を防ぎながら、水の有無を検出す
る。
【構成】 マイコンの2つの出力を時分割で交互に反転
させ、交流電圧が印加される水を介してトランジスタが
オンできるタイミングに水の検出を行う構成とする。
【効果】 電気分解の発生を押さえ、検出性能を落とす
ことなく、安価なコストで水検知回路が構成できる。
(57) [Summary] [Purpose] To detect the presence or absence of water while applying an AC voltage between electrodes provided in the water detection range to prevent electrolysis. [Configuration] Two outputs of a microcomputer are alternately inverted in a time division manner, and water is detected at a timing when a transistor can be turned on through water to which an AC voltage is applied. [Effect] The water detection circuit can be configured at a low cost without suppressing the occurrence of electrolysis and lowering the detection performance.
Description
【0001】[0001]
【産業上の利用分野】本発明は、缶体内とか床面のこぼ
れ水などの残水検知回路に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a residual water detection circuit for spilled water on the inside of a can or floor.
【0002】[0002]
【従来の技術】従来の水検知回路は、缶体内部の残水を
検出する場合や、床面のこぼれた水を検出する場合に用
いられてきた。2. Description of the Related Art Conventional water detection circuits have been used to detect residual water inside a can or to detect spilled water on the floor.
【0003】従来の例として図3に示すものは缶体内の
残水を検知する水検知回路の回路図で、1a、1bは電
極で、残水を検知する缶体Aに取り付けられている。2
は直流電源、3、4はトランジスタを示し、5はマイク
ロコンピュータ(以下マイコンという)で機器の制御を
行うとともにトランジスタ4の信号を入力して残水の有
無の判定を行うものである。6、7、8、9、10は夫
々抵抗である。As a conventional example, the one shown in FIG. 3 is a circuit diagram of a water detection circuit for detecting the residual water in the can body, and 1a and 1b are electrodes attached to the can body A for detecting the residual water. Two
Is a DC power source, 3 and 4 are transistors, and 5 is a microcomputer (hereinafter referred to as a microcomputer) that controls the equipment and inputs a signal from the transistor 4 to determine the presence or absence of residual water. 6, 7, 8, 9, and 10 are resistances, respectively.
【0004】そして缶体A内に残水の無い場合は、1
a、1b間がオープンとなり、ベース電流が流れないた
めトランジスタ3はオフ状態であり、その結果トランジ
スタ4もオフとなり、マイコン5の入力はHiとなり、
マイコン5は残水なしと判断し、残水なしの判断のもと
機器の制御を行うものとなっている。When there is no residual water in the can A, 1
Since a and 1b are open and the base current does not flow, the transistor 3 is in the off state, as a result, the transistor 4 is also off, and the input of the microcomputer 5 becomes Hi.
The microcomputer 5 judges that there is no residual water, and controls the equipment based on the judgment that there is no residual water.
【0005】缶体A内に、電極の両方が浸水する程度の
残水がある場合は、抵抗7、電極1a、水、1bの経路
でべース電流が流れ、トランジスタ3がオン、トランジ
スタ4がオンし、マイコン5の入力はLowとなり、マ
イコン5は残水ありと判断し残水ありの判断のもと機器
の制御を行うものであった。When there is residual water in the can body A to the extent that both of the electrodes are submerged, a base current flows through the route of the resistor 7, the electrode 1a, water and 1b, the transistor 3 is turned on, and the transistor 4 is turned on. Is turned on, the input of the microcomputer 5 becomes Low, and the microcomputer 5 determines that there is residual water and controls the equipment based on the determination that there is residual water.
【0006】[0006]
【発明が解決しようとする課題】上述した従来の方式に
おいては、水の有無の検出には問題ないものの、缶体内
とかこぼれ水などの水に直流電圧を印加するために、水
の電気分解を誘発し水素の発生する恐れがあるといった
問題や、電気分解にともない電食が発生し電極に垢が取
り付くために、一定期間後に交換する必要があるといっ
た問題があった。In the above-mentioned conventional method, although there is no problem in detecting the presence or absence of water, in order to apply a DC voltage to the inside of the can and water such as spilled water, electrolysis of water is performed. There is a problem that hydrogen may be induced to generate hydrogen, and electrolytic corrosion may occur due to electrolysis to attach dust to the electrodes, which necessitates replacement after a certain period of time.
【0007】そして、この電気分解を防ぐために、電極
に交流を印加する方式が考えられるが普通にはトランス
を使用することが考えられるため、コスト高になる欠点
があった。In order to prevent this electrolysis, a method of applying an alternating current to the electrodes is conceivable, but it is usually conceivable to use a transformer, which has the drawback of increasing the cost.
【0008】本発明の目的は、上記従来技術の有してい
る問題を解決し、より精度の高く安価な水検知回路を提
供することにある。An object of the present invention is to solve the problems of the above-mentioned prior art and to provide a more accurate and inexpensive water detection circuit.
【0009】[0009]
【課題を解決するための手段】この目的を達成するため
本発明は、機器の制御を行うマイコンと、相互に距離を
保って配設した2つの電極と、前記電極の一方から抵抗
を介してトランジスタのべースに接続し、電極の他の一
端を前記マイコンの第1の出力ポートに接続し、アノー
ドを前記トランジスタのエミッタに接続したダイオード
をベース・エミッタ抵抗に並列に接続し、定電圧電源か
ら抵抗を介して接続したコレクタから前記マイコンの入
力ポートに接続し、前記トランジスタのエミッタを前記
マイコンの第2の出力ポートに接続し、前記マイコンの
第1の出力ポートの出力と、第2の出力ポートの出力の
論理を交互に反転させて、前記電極間に交流を印加する
回路としたものである。To achieve this object, the present invention provides a microcomputer for controlling equipment, two electrodes arranged at a distance from each other, and one of the electrodes via a resistor. The base of the transistor is connected, the other end of the electrode is connected to the first output port of the microcomputer, the diode whose anode is connected to the emitter of the transistor is connected in parallel to the base-emitter resistor, and the constant voltage is applied. A collector connected from a power source through a resistor is connected to an input port of the microcomputer, an emitter of the transistor is connected to a second output port of the microcomputer, an output of a first output port of the microcomputer, and a second output port of the microcomputer. Is a circuit for alternately inverting the logic of the output of the output port and applying an alternating current between the electrodes.
【0010】[0010]
【作用】本発明は上記した構成により、2つのマイコン
の出力を交互に反転させて電極間に交流を流すため、水
検知用の交流電源を別に設けることなく、電気分解の発
生を押さえて、水の有無を検出できるものである。According to the present invention, since the outputs of the two microcomputers are alternately inverted and an alternating current is caused to flow between the electrodes, the present invention suppresses the occurrence of electrolysis without separately providing an AC power source for water detection. The presence or absence of water can be detected.
【0011】[0011]
【実施例】以下、本発明の水検知回路の一実施例につい
て図1を参照しながら説明する。図1は本発明一実施例
の水検知回路で、説明を簡単にするために、缶体内の残
水を検出回路に応用した場合について説明を行う。な
お、従来例と同一部品には、同一番号を付して説明を省
略する。11はトランジスタ、5はマイコンで機器の制
御を行うとともにトランジスタ11の信号を入力して残
水の有無の判定を行う、12はダイオードで第1の出力
Hi時にトランジスタ11のベース・エミッタ間が逆バ
イアスされるのをVF分だけにおさえるものであり、1
3、14、15は抵抗である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the water detecting circuit of the present invention will be described below with reference to FIG. FIG. 1 shows a water detection circuit according to an embodiment of the present invention. In order to simplify the description, a case where residual water in a can is applied to the detection circuit will be described. The same parts as those in the conventional example are designated by the same reference numerals and the description thereof will be omitted. Reference numeral 11 is a transistor, 5 is a microcomputer for controlling the equipment, and the signal of the transistor 11 is input to determine the presence or absence of residual water. 12 is a diode, and the base and emitter of the transistor 11 are reversed at the time of the first output Hi. Biased only for VF, 1
3, 14 and 15 are resistors.
【0012】次に、動作について説明する。マイコン5
は第1の出力と、第2の出力の論理を時分割で交互に反
転させ続ける、このため電極1a、1bに印加される電
圧は図2のように交流が印加されるものとなる。缶体内
に水の無い場合は、電極間がオープンになるためトラン
ジスタ11がオフとなり、マイコン入力はHiとなり缶
体A内に水は無いと判断する。Next, the operation will be described. Microcomputer 5
Keeps inverting the logic of the first output and the logic of the second output alternately in a time division manner. Therefore, the voltage applied to the electrodes 1a and 1b is an alternating current as shown in FIG. If there is no water in the can body, the electrodes 11 are open, the transistor 11 is turned off, the microcomputer input becomes Hi, and it is determined that there is no water in the can body A.
【0013】次に缶体A内に残水が発生した場合の動作
について説明する。図2において第1フェーズ(奇数フ
ェーズ)においては、第1の出力がHi、第2の出力は
Lowとなる。この場合はダイオード12、抵抗13、
電極1a、水、1bを介して、Lowを出力している第
2の出力の経路で電流が流れる。この場合、トランジス
タ11はオンできないため、マイコン側で入力の結果を
無視するか、このフェーズでの入力処理は行わない。出
力を時分割で切り換えるために処理がフェーズ2(偶数
フェーズ)に移った場合に入力の処理を行うものとな
る。第2フェーズ(偶数フェーズ)では、電極1b、
水、1a、抵抗13、トランジスタ11、Lowを出力
している第1の出力の経路で電流が流れるためトランジ
スタ11がオンしマイコン入力はLowとなり、マイコ
ン5は、残水ありの判断に基づき制御を行うものとな
る。本方式においては、時分割でHi、Lowを切り換
えるためタイミング(奇数フェーズ)では検出できない
が、出力タイミングにあわせて、検出タイミングを切り
換えることは、マイコンを使用すれば容易に実現が可能
である。Next, the operation when residual water is generated in the can A will be described. In the first phase (odd phase) in FIG. 2, the first output is Hi and the second output is Low. In this case, the diode 12, the resistor 13,
A current flows through the second output path outputting Low through the electrodes 1a, water, and 1b. In this case, since the transistor 11 cannot be turned on, the microcomputer side ignores the input result or does not perform the input process in this phase. The input processing is performed when the processing shifts to phase 2 (even phase) in order to switch the output in time division. In the second phase (even phase), the electrode 1b,
Since the current flows through the first output path that outputs water, 1a, the resistor 13, the transistor 11, and the Low, the transistor 11 is turned on, the microcomputer input becomes Low, and the microcomputer 5 is controlled based on the determination that there is residual water. Will be done. In this method, since Hi and Low are switched in a time division manner, detection cannot be performed at the timing (odd phase). However, switching the detection timing in accordance with the output timing can be easily realized by using a microcomputer.
【0014】[0014]
【発明の効果】以上の実施例から明かなように、本発明
によれば、水の存在を検知するための電極に交流を印加
するために、水の電気分解の発生等がなく、またマイコ
ンの2つの出力を交互に反転させ切り換えるため、トラ
ンスを別に設けて交流電圧を供給する必要もないため、
検出性能を落すことなく、安価に回路を構成することが
可能である。As is apparent from the above embodiments, according to the present invention, since an alternating current is applied to the electrode for detecting the presence of water, there is no occurrence of electrolysis of water, and the microcomputer is used. Since the two outputs are alternately inverted and switched, there is no need to provide a separate transformer to supply an AC voltage.
The circuit can be constructed at low cost without degrading the detection performance.
【図1】本発明における一実施例の水検知回路図FIG. 1 is a water detection circuit diagram of an embodiment of the present invention.
【図2】同実施例の出力ポートと電極間電圧タイミング
図FIG. 2 is a timing chart of the voltage between the output port and the electrode of the same embodiment.
【図3】従来の水検知回路図[Figure 3] Conventional water detection circuit diagram
1a、1b 電極 5 マイコン 11 トランジスタ 12 ダイオード 13、14、15 抵抗 1a, 1b Electrode 5 Microcomputer 11 Transistor 12 Diode 13, 14, 15 Resistance
フロントページの続き (72)発明者 宮内 伸二 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 山本 融士 大阪府門真市大字門真1006番地 松下電器 産業株式会社内Front page continued (72) Inventor Shinji Miyauchi 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd.
Claims (1)
と、相互に距離を保って配設した2つの電極と、電極の
一方から抵抗を介してトランジスタのベースに接続し、
電極の他の一端を前記マイクロコンピュータの第1の出
力ポートに接続し、アノードを前記トランジスタのエミ
ッタに接続したダイオードをベース・エミッタ抵抗に並
列に接続し、定電圧電源から抵抗を介して接続したコレ
クタから前記マイクロコンピュータの入力ポートに接続
し、前記トランジスタのエミッタを前記マイクロコンピ
ュータの第2の出力ポートに接続し、前記マイクロコン
ピュータの第1の出力ポートの出力と、第2の出力ポー
トの出力の論理を交互に反転させて、前記電極間に交流
を印加する水検知回路。1. A microcomputer for controlling equipment, two electrodes arranged at a distance from each other, and one of the electrodes connected to a base of a transistor through a resistor,
The other end of the electrode was connected to the first output port of the microcomputer, the diode whose anode was connected to the emitter of the transistor was connected in parallel to the base-emitter resistor, and was connected from the constant voltage power source through the resistor. The collector is connected to the input port of the microcomputer, the emitter of the transistor is connected to the second output port of the microcomputer, the output of the first output port of the microcomputer and the output of the second output port of the microcomputer. A water detection circuit that alternately inverts the logic of to apply an alternating current between the electrodes.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12523392A JP3082110B2 (en) | 1992-05-19 | 1992-05-19 | Water detection circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12523392A JP3082110B2 (en) | 1992-05-19 | 1992-05-19 | Water detection circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH05323036A true JPH05323036A (en) | 1993-12-07 |
| JP3082110B2 JP3082110B2 (en) | 2000-08-28 |
Family
ID=14905110
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP12523392A Expired - Fee Related JP3082110B2 (en) | 1992-05-19 | 1992-05-19 | Water detection circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3082110B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103336033A (en) * | 2013-07-02 | 2013-10-02 | 上海斐讯数据通信技术有限公司 | Water injection pork detection system and method |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1501115B1 (en) | 2003-07-14 | 2009-07-01 | FEI Company | Dual beam system |
-
1992
- 1992-05-19 JP JP12523392A patent/JP3082110B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103336033A (en) * | 2013-07-02 | 2013-10-02 | 上海斐讯数据通信技术有限公司 | Water injection pork detection system and method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP3082110B2 (en) | 2000-08-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109917280B (en) | Circuit state detection system and detection method thereof and high-voltage loop | |
| KR880013652A (en) | Arc welding power supply system for consumable electrode and its control method | |
| JP3614285B2 (en) | Water level control device | |
| JPH05323036A (en) | Water detection circuit | |
| KR910018058A (en) | water purifier | |
| KR910002093A (en) | Inverter output voltage error correction device | |
| KR830009881A (en) | DC arc welding device | |
| KR970047941A (en) | Water level detector | |
| JP2003348849A (en) | Rectifier circuit current detector | |
| JPH05260645A (en) | Semiconductor ac switch damage detection device | |
| JP3120139B2 (en) | AC TIG welding equipment | |
| JP7474450B1 (en) | Earth fault detector | |
| JPS6366032B2 (en) | ||
| KR840000316A (en) | DC arc welding device | |
| JPS63265765A (en) | Polarity detecting circuit | |
| JPH11341810A (en) | Full-wave/voltage doubler rectifier circuit | |
| JP3001222B2 (en) | Water leak detector with electrolytic corrosion prevention circuit | |
| JPH0613351U (en) | Power supply voltage automatic switching device | |
| JP2726266B2 (en) | Liquid level detector | |
| KR960000388A (en) | Arc Welding Method of ABB Welding Robot Using Touch Sensor | |
| JPH079136A (en) | Direct current tig welding machine | |
| JPS647336Y2 (en) | ||
| JPH053681A (en) | Voltage detector | |
| JPS6313457Y2 (en) | ||
| KR970070505A (en) | Actuator failure judgment device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |