JPH0334247B2 - - Google Patents
Info
- Publication number
- JPH0334247B2 JPH0334247B2 JP56201872A JP20187281A JPH0334247B2 JP H0334247 B2 JPH0334247 B2 JP H0334247B2 JP 56201872 A JP56201872 A JP 56201872A JP 20187281 A JP20187281 A JP 20187281A JP H0334247 B2 JPH0334247 B2 JP H0334247B2
- Authority
- JP
- Japan
- Prior art keywords
- load
- command signal
- output terminal
- switch means
- 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.)
- Expired - Lifetime
Links
- 238000001514 detection method Methods 0.000 claims description 5
- 230000005856 abnormality Effects 0.000 claims description 4
- 238000012544 monitoring process Methods 0.000 claims 3
- 238000010586 diagram Methods 0.000 description 4
- 239000003990 capacitor Substances 0.000 description 3
- 238000009429 electrical wiring Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 230000035939 shock Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
Landscapes
- Electronic Switches (AREA)
Description
【発明の詳細な説明】
本発明はマイクロコンピユータを制御中枢とし
て用いた装置において、コンピユータの出力ポー
トが電気的シヨツクなどの何らかの原因で破壊さ
れたとき、コンピユータによつて駆動される電気
負荷がパワーオンのままになるのを防止するよう
にした電気的負荷駆動装置に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention provides a device that uses a microcomputer as a control center, and when the output port of the computer is destroyed for some reason such as an electrical shock, the electrical load driven by the computer is powered off. The present invention relates to an electrical load drive device that prevents the device from remaining on.
例えばコンピユータ制御の熱機器においてガス
の元栓を電気制御するため、電磁弁をマイクロコ
ンピユータによつて電気的に開閉することが検討
されている。こうした、電気負荷はコンピユータ
の内部指令と異なつた作動モードにならないよう
に確実動作せられることが要求される。 For example, in order to electrically control a gas main valve in a computer-controlled thermal device, it is being considered to electrically open and close a solenoid valve using a microcomputer. It is required that such electrical loads be operated reliably so that they do not go into an operating mode different from the internal commands of the computer.
本発明は上記要求を満足する負荷駆動装置を提
供することを目的としており、具体的には、負荷
をコントロールするマイクロコンピユータの出力
ポートの異常を検知すると同時に、異常時に負荷
への電源を切ることを目的としている。 The purpose of the present invention is to provide a load driving device that satisfies the above requirements.Specifically, the present invention is capable of detecting an abnormality in the output port of a microcomputer that controls the load, and at the same time turning off the power to the load in the event of an abnormality. It is an object.
このため、本発明はマイクロコンピユータにお
いて、複数の出力ポートが同時に故障する確率は
きわめて低い事実を利用して、負荷を駆動するの
に少なくとも2つの出力ポートを使用することを
基本的な特徴とする。 Therefore, the basic feature of the present invention is to use at least two output ports to drive a load, taking advantage of the fact that the probability that multiple output ports fail simultaneously is extremely low in a microcomputer. .
第1図は本発明の一実施例を示すので、図中符
号1はマイクロコンピユータ、2は負荷としての
ガス電磁弁、3はAC100V商用電源、4は検出手
段としてのフオトカツプラ、5は警報用ブザー、
Vccは直流電源、R1,R2,R3はそれぞれト
ランジスタTr1,Tr2,Tr3のベースバイアス
抵抗、R4,R5,R6はそれぞれトランジスタ
Tr1,Tr2,Tr3のベースリーク抵抗、R7は
マイクロコンピユータ1の入力ポート11の入力
直列抵抗、R8はプルアツプ抵抗、R9はフオト
カツプラ4に流れる電流を制限するための抵抗、
ダイオードD1とコンデンサC1はAC100V商用
電流3を整流平滑するためのもの、RY1はガス
の電磁弁2を入力するためのスイツチとしてのリ
レー、D2はフリーホリイングダイオードであ
る。 FIG. 1 shows an embodiment of the present invention, in which reference numeral 1 is a microcomputer, 2 is a gas solenoid valve as a load, 3 is an AC 100V commercial power supply, 4 is a photo coupler as a detection means, and 5 is an alarm buzzer. ,
Vcc is a DC power supply, R1, R2, and R3 are base bias resistors of transistors Tr1, Tr2, and Tr3, respectively, and R4, R5, and R6 are transistors, respectively.
Base leak resistance of Tr1, Tr2, and Tr3, R7 is an input series resistance of the input port 11 of the microcomputer 1, R8 is a pull-up resistor, R9 is a resistor for limiting the current flowing to the photo coupler 4,
Diode D1 and capacitor C1 are for rectifying and smoothing AC100V commercial current 3, RY1 is a relay as a switch for inputting gas solenoid valve 2, and D2 is a free holing diode.
なお、トランジンスタTr1,Tr2のベース入
力は各々マイクロコンピユータ1の出力ポート0
1,02に接続され、第2図に示す通り、ハイレ
ベル(Hレベル)同志の論理積条件H・Hでリレ
ーRY1を通電駆動するように論理回路として構
成されている。 Note that the base inputs of transistors Tr1 and Tr2 are connected to output port 0 of microcomputer 1, respectively.
1 and 02, and as shown in FIG. 2, it is configured as a logic circuit so as to energize and drive the relay RY1 under the logical product condition H.H of high level (H level).
上記の構成において、通常の作動はマイクロコ
ンピユータがその制御プログラムに基づいて、出
力ポート02をHレベルとしてトランジスタTr
2をオン状態にしておくことで準備され、この状
態で出力ポート01にHレベル、Lレベルの電気
信号を生じることにより、リレーRY1を付勢、
消勢させ、電磁弁2の電源回路を入切して弁を開
閉駆動することができる。 In the above configuration, in normal operation, the microcomputer sets the output port 02 to H level based on the control program of the transistor Tr.
2 is in the on state, and in this state, by generating H level and L level electrical signals to output port 01, relay RY1 is energized.
By deenergizing the solenoid valve 2 and turning on and off the power circuit of the solenoid valve 2, the valve can be driven to open and close.
しかして、電磁弁2を閉じるためには第3図に
制御プログラムを示すように安全動作が行なわれ
る。すなわち、ガスの電磁弁2を閉じるためにポ
ート01をHレベルからLレベルにし、一定の遅
延時間(DELAY)をおいて、入力ポートI1を
チエツクする。この時出力ポート01が何らかの
原因で破壊されていて、負荷回路がパワーオンの
ままであると、AC100V商用電源3がダイオード
D1と、コンデンサC1によつて整流平滑され、
フオトカツプラ4、のフオトダイオードに電流が
流れて、同じくフオトカツプラ4のトランジスタ
スイツチがオンしているためマイクロコンピユー
タ1の入力ポートI1にレベルの信号が加わるこ
とになる。従つて、入力ポートI1をチエツクし
た際に、それがレベルであれば、出力ポート01
が異常であると判断されるので、コンピユータは
出力ポート02をレベルにして、リレーガスを消
勢しガスの電磁弁2を閉成すると共に、出力ポー
ト3をHレベルにし、警報用ブザー5を鳴らす。
なお、一定の遅延時間(DELAY)をおくのは、
トランジスタTr1、リレーRY1、フオトカツプ
ラ4の応答遅れ、及びコンデンサC1の放電時間
によつて誤つた判断をしないようにするためであ
る。 In order to close the solenoid valve 2, a safety operation is performed as shown in the control program shown in FIG. That is, in order to close the gas electromagnetic valve 2, the port 01 is changed from the H level to the L level, and after a certain delay time (DELAY), the input port I1 is checked. At this time, if the output port 01 is destroyed for some reason and the load circuit remains powered on, the AC100V commercial power supply 3 will be rectified and smoothed by the diode D1 and the capacitor C1.
A current flows through the photo diode of the photo coupler 4, and since the transistor switch of the photo coupler 4 is also on, a level signal is applied to the input port I1 of the microcomputer 1. Therefore, when checking input port I1, if it is level, output port 01
is determined to be abnormal, the computer sets output port 02 to level, deenergizes the relay gas, closes gas solenoid valve 2, sets output port 3 to H level, and sounds alarm buzzer 5. .
In addition, setting a certain delay time (DELAY) is
This is to prevent erroneous judgments due to response delays of the transistor Tr1, relay RY1, and photocoupler 4, and discharge time of the capacitor C1.
なお、コンピユータの出力ポートは一般に故障
の際Lレベル(オープンまたは接地)となること
が多いため、負荷の作動条件を上記実施例のよう
にH・Hとするのは特に有効である。が、必要に
より、作動条件を変えることも可能である。 Note that since the output port of a computer is generally at L level (open or grounded) in the event of a failure, it is particularly effective to set the load operating condition to H.H as in the above embodiment. However, it is also possible to change the operating conditions if necessary.
第4図は本発明の他の実施例を示すもので、負
荷の作動条件を第5図図示のごとくH・Lの論理
積条件としてある。なお、第4図においてダイオ
ードD3は、トランジスタTr2のエミツタ・コ
レクタ飽和電圧によつてトランジスタTr1がオ
ンしないようにするためのものである。 FIG. 4 shows another embodiment of the present invention, in which the operating condition of the load is the AND condition of H and L as shown in FIG. In FIG. 4, the diode D3 is provided to prevent the transistor Tr1 from being turned on by the emitter-collector saturation voltage of the transistor Tr2.
また、必要により、ブザー5の代わりにランプ
などを使用してもよい。 Further, if necessary, a lamp or the like may be used instead of the buzzer 5.
以上述べたように本発明においては、マイクロ
コンピユータが出力ポートの異常を自己チエツク
して安全側に作動するので、誤つて負荷を駆動状
態のまま保持することがほとんどないという優れ
た効果がある。 As described above, in the present invention, since the microcomputer self-checks for abnormalities in the output port and operates safely, there is an excellent effect that it is almost impossible to accidentally hold the load in the driven state.
第1図は本発明の一実施例を示す電気結線図、
第2図は第1図中のトランジスタTr1,Tr2の
論理作動条件を示す真理値図、第3図は第1図中
のコンピユータの制御プログラムの要点を示すフ
ローチヤート、第4図は本発明の他の実施例の要
部を示す電気結線図、第5図は第4図中のトラン
ジスタTr1,Tr2の論理作動条件を示す真理値
図である。
1……マイクロコンピユータ、2……負荷とし
ての電磁弁、3……商要電源、RY1……スイツ
チ手段としてリレー、Tr1,Tr2……論理回路
をなすトランジスタ、4……検出手段としてフオ
トカプラ、5……警報用ブザー、01,02……
出力ポート。
FIG. 1 is an electrical wiring diagram showing an embodiment of the present invention;
FIG. 2 is a truth diagram showing the logical operating conditions of transistors Tr1 and Tr2 in FIG. 1, FIG. 3 is a flowchart showing the main points of the computer control program in FIG. 1, and FIG. FIG. 5 is an electrical wiring diagram showing essential parts of another embodiment, and FIG. 5 is a truth diagram showing logical operating conditions of transistors Tr1 and Tr2 in FIG. 4. 1...Microcomputer, 2...Solenoid valve as load, 3...Commercial power supply, RY1...Relay as switching means, Tr1, Tr2...Transistors forming a logic circuit, 4...Photocoupler as detection means, 5 ...Alarm buzzer, 01,02...
Output port.
Claims (1)
イツチ手段と、 前記負荷への通電を許容して前記負荷を駆動す
べく、第1、第2の入力端を有し各々に与えられ
る第1、第2の指令信号の論理積条件で前記スイ
ツチ手段を作動させる負荷駆動手段と、 前記負荷の駆動状態を検出すべく、前記負荷へ
の通電状況を監視して監視信号を出力する検出手
段と、 前記負荷駆動手段の前記第1,第2の入力端に
各々対応して前記第1、第2の指令信号を送出す
る第1、第2の出力端と、前記検出手段からの前
記監視信号を入力する入力端とを有し、前記負荷
の駆動制御を行うべく、前記第2の出力端には通
常は前記第1の出力端から前記負荷駆動手段に与
えられる指令信号との関連において前記スイツチ
手段が作動するような所定レベルの第2の指令信
号を出力し、この状態で前記第1の出力端にはそ
れに与えられる指令信号に応じて前記スイツチ手
段が作動・非作動となるような第1の指令信号を
出力するようにするとともに、前記入力端より入
力される前記検出手段からの前記監視信号に基づ
いて前記第1の出力端に与えられる第1の指令信
号に対応する前記スイツチ手段の動作がなされな
いことを判別すると、それを異常時として前記第
2の出力端から出力する前記第2の指令信号を前
記スイツチ手段が非作動となるレベルとする制御
手段と を備えてなる電気的負荷駆動装置。[Scope of Claims] 1. A switch means provided to turn on/off energization to a load, and first and second input terminals to allow energization to the load and drive the load. and load driving means for operating the switch means under the logical product conditions of first and second command signals given to each of them; a detection means for outputting a signal; first and second output terminals for outputting the first and second command signals in correspondence with the first and second input terminals of the load driving means; and an input terminal for inputting the monitoring signal from the detection means, and the second output terminal is normally supplied with the monitoring signal from the first output terminal to the load driving means in order to control the driving of the load. A second command signal of a predetermined level is outputted so that the switch means is actuated in relation to the command signal, and in this state, the first output terminal is provided with a second command signal which causes the switch means to actuate in accordance with the command signal applied thereto. - Outputs a first command signal that is inactive, and outputs a first command signal that is applied to the first output terminal based on the monitoring signal from the detection means that is input from the input terminal. When it is determined that the switch means does not operate in response to the command signal, the second command signal outputted from the second output terminal is set to a level at which the switch means is inoperative, regarding this as an abnormality. An electrical load drive device comprising a control means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP56201872A JPS58101521A (en) | 1981-12-14 | 1981-12-14 | Electric load driver |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP56201872A JPS58101521A (en) | 1981-12-14 | 1981-12-14 | Electric load driver |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS58101521A JPS58101521A (en) | 1983-06-16 |
JPH0334247B2 true JPH0334247B2 (en) | 1991-05-22 |
Family
ID=16448269
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP56201872A Granted JPS58101521A (en) | 1981-12-14 | 1981-12-14 | Electric load driver |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS58101521A (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0624673Y2 (en) * | 1988-04-07 | 1994-06-29 | 株式会社日立ホームテック | Combustion control circuit |
JPH0344929U (en) * | 1989-09-06 | 1991-04-25 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5068260A (en) * | 1973-10-17 | 1975-06-07 | ||
JPS5329475A (en) * | 1976-08-30 | 1978-03-18 | Mitsubishi Electric Corp | Driving controller |
-
1981
- 1981-12-14 JP JP56201872A patent/JPS58101521A/en active Granted
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5068260A (en) * | 1973-10-17 | 1975-06-07 | ||
JPS5329475A (en) * | 1976-08-30 | 1978-03-18 | Mitsubishi Electric Corp | Driving controller |
Also Published As
Publication number | Publication date |
---|---|
JPS58101521A (en) | 1983-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4298334A (en) | Dynamically checked safety load switching circuit | |
JP2542618Y2 (en) | In-vehicle load condition detection drive | |
JP4050292B2 (en) | Electronic control unit | |
US4303383A (en) | Condition control system with safety feedback means | |
US5021955A (en) | Electronic controller for automatic transmission | |
US7072164B2 (en) | Electric parts drive circuit | |
US4432030A (en) | Short circuit protection system | |
JPH0334247B2 (en) | ||
JPH0620174B2 (en) | Switching circuit | |
JP2563965B2 (en) | Elevator control equipment | |
JP3630824B2 (en) | Auxiliary relay drive circuit | |
JPH084631Y2 (en) | Circuit breaker control current sensor inspection circuit | |
JP2789009B2 (en) | Gas appliance safety valve control circuit | |
JPH018854Y2 (en) | ||
KR100245219B1 (en) | The device examinig impediment of car fire extinguisher | |
JP2542473Y2 (en) | Electronic fuses for vehicles | |
KR0119779Y1 (en) | Output circuit of the railway signal system | |
JP2532473B2 (en) | Temperature control device for heating equipment | |
JPH0431679Y2 (en) | ||
JP2000240491A (en) | Electronic throttle control device | |
JPH05227643A (en) | Digital output circuit | |
JPH0125896Y2 (en) | ||
JPH01243882A (en) | Operation controller for blower | |
JPH0241746Y2 (en) | ||
JPH0210468Y2 (en) |