JPH02245814A - Data setting circuit - Google Patents

Data setting circuit

Info

Publication number
JPH02245814A
JPH02245814A JP1066075A JP6607589A JPH02245814A JP H02245814 A JPH02245814 A JP H02245814A JP 1066075 A JP1066075 A JP 1066075A JP 6607589 A JP6607589 A JP 6607589A JP H02245814 A JPH02245814 A JP H02245814A
Authority
JP
Japan
Prior art keywords
setting
switch
state
data
toggle switches
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
Application number
JP1066075A
Other languages
Japanese (ja)
Other versions
JP2642984B2 (en
Inventor
Kenji Ishii
健二 石井
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.)
Nohmi Bosai Ltd
Original Assignee
Nohmi Bosai 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 Nohmi Bosai Ltd filed Critical Nohmi Bosai Ltd
Priority to JP1066075A priority Critical patent/JP2642984B2/en
Publication of JPH02245814A publication Critical patent/JPH02245814A/en
Application granted granted Critical
Publication of JP2642984B2 publication Critical patent/JP2642984B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To reduce a current consumption by using toggle switches as the switch for setting data. CONSTITUTION:Plural toggle switches SW1-SWn in a setting switch part S are connected between a power source Vdd and a ground. Movable contact points a1-an in respective toggle switches are connected to a setting state monitoring part MPU. First fixed contact points b1-bn are connected to the power source Vdd, and second fixed contact points c1-cn are grounded. When respective toggle switches are set in a first or a second state by a manual operation, digital information can be set. The information is detected in the setting state monitoring part MPU. A direct current is prevented from flowing from the power source Vdd to the ground even when the toggle switches are in the first or the second state. Thus, a data setting circuit with the less current consumption can be obtained.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明はデータ設定回路に関し、特に、自己アドレス等
のデータを設定するための設定スイッチ部を含んだデー
タ設定回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data setting circuit, and more particularly to a data setting circuit including a setting switch section for setting data such as a self-address.

[従来の技術及びその問題点] スイッチ部の開閉状態に応じて設定されたデータに基づ
いて信号処理を行う種々の場合がある。
[Prior Art and Problems Therein] There are various cases in which signal processing is performed based on data set according to the open/closed state of a switch section.

例えば火災受信機に複数の火災感知器あるいは中継器等
の端末機器を接続してなる火災警報装置等の防災設備に
おいては、火災受信機との情報のやりとりのため、各火
災感知器あるいは中継器側で、「0」または「1」に対
応するスイッチ部の開閉状態によりディジタル形態で、
例えばアドレスのようなデータが設定される。スイッチ
部において設定されたディジタル・データの各r□、、
rl、は、スイッチの開閉状態に応じて流れる電流もし
くは電圧を監視することにより検出される。
For example, in disaster prevention equipment such as a fire alarm system in which a fire receiver is connected to multiple fire detectors or terminal devices such as repeaters, each fire detector or repeater is on the side, in digital form depending on the open/closed state of the switch corresponding to "0" or "1".
For example, data such as an address is set. Each of the digital data r□, , set in the switch section
rl is detected by monitoring the current or voltage that flows depending on whether the switch is open or closed.

この種の従来のデータ設定回路の例が第2図(a)及び
第2図(b)に示されており、第2図(a)の場合には
、電源Vddと接地との間にそれぞれ抵抗Rと直列接続
されたスイッチsw、’〜SWn’ が設けられている
。スイッチsw、’〜SWn’  と対応の抵抗Rとの
接続点の電位がそれぞれのスイッチの開閉状態に応じて
異なり、それら電位をマイクロプロセッサMPUが監視
することにより設定デー夕を知ることができる。
Examples of conventional data setting circuits of this type are shown in FIGS. 2(a) and 2(b). In the case of FIG. 2(a), each Switches sw and '˜SWn' connected in series with the resistor R are provided. The potentials at the connection points between the switches sw, ' to SWn' and the corresponding resistors R vary depending on the open/closed state of each switch, and the microprocessor MPU monitors these potentials to know the setting data.

この第2図(a)の回路構成においては、スイッチSW
1°〜SWn’ がすべて閉じられた状態を考えると、
式 %式% で示される電流Iが定常的に流れることとなり、低消費
電流化を図ることが困難であった。
In the circuit configuration of FIG. 2(a), the switch SW
Considering the state in which 1°~SWn' are all closed,
The current I represented by the formula % formula % flows steadily, making it difficult to reduce current consumption.

一方、第2図(b)の場合は、スイッチsw、”〜SW
n”及び抵抗Rの各直列接続体と電源Vddとの間にト
ランジスタQを設け、スイッチの開閉状態を監視すると
きにのみトランジスタQをオンとして直列接続体に電源
Vcldを印加するようにしている。このため、消費電
流は、式 %式%) ここで、tは、スイッチの開閉状態を監視するために電
源を印加している時間 となり、第2図(a)の場合に比較してがなりの程度の
消費電流を低減することが可能であるが、電源をオン・
オフするためのハード部品(この場合、マイクロプロセ
ッサMPUのボート、抵抗、トランジスタ)が必要であ
るばかりでなく、これを制御するためのプログラムが必
要であった。
On the other hand, in the case of FIG. 2(b), the switches sw, "~SW
A transistor Q is provided between each series connection body of the resistor R and the series connection body and the power supply Vdd, and the transistor Q is turned on only when monitoring the open/closed state of the switch to apply the power supply Vcld to the series connection body. Therefore, the current consumption is calculated using the formula (%) (%) Here, t is the time during which the power is applied to monitor the open/closed state of the switch, and compared to the case of Fig. 2(a), the current consumption is Although it is possible to reduce the current consumption to a certain degree, it is possible to reduce the current consumption to a certain extent, but
Not only were hard components needed to turn it off (in this case, the microprocessor MPU board, resistor, transistor), but a program was needed to control it.

[問題を解決するための手段] 従って、本発明の目的は、停電時に内蔵電源での監視が
必要な火災報知設備等の防災設備にも適した、電流消費
量が少なくて済みかつ簡単な回路構成のデータ設定回路
を実現しようとするものである。
[Means for Solving the Problem] Therefore, an object of the present invention is to provide a simple circuit with low current consumption, which is suitable for disaster prevention equipment such as fire alarm equipment that requires monitoring using a built-in power supply during a power outage. This is an attempt to realize a data setting circuit of the configuration.

このため、本発明によれば、電源及び接地間に接続され
て第1または第2の状態に設定可能な複数のスイッチを
含む設定スイッチ部と、該設定スイッチ部の各スイッチ
の設定状態を監視することにより設定データを検出する
設定状態監視部と、を備えたデータ設定回路において、 前記各スイッチは、可動接点が前記設定状態監視部に接
続され、第1及び第2の固定接点がそれぞれ電源及び接
地に接続されたトグルスイッチであることを特徴とする
データ設定回路が提供される。
Therefore, according to the present invention, there is provided a setting switch section including a plurality of switches connected between a power source and ground and settable to the first or second state, and monitoring the setting state of each switch in the setting switch section. a setting state monitoring section that detects setting data by and a toggle switch connected to ground.

[作用] 設定スイッチ部における各スイッチとしてトグルスイッ
チを用い、該トグルスイッチの可動接点を設定状態監視
部に接続し、該トグルスイッチの第1及び第2の固定接
点をそれぞれ電源及び接地に接続するようにしたので、
電源から接地への直接の電流の流れが無く、電流消費量
が少ないデータ設定回路を簡単な回路構成で実現できる
[Operation] A toggle switch is used as each switch in the setting switch section, a movable contact of the toggle switch is connected to a setting state monitoring section, and a first and second fixed contact of the toggle switch are connected to a power source and ground, respectively. I did it like this,
There is no direct current flow from the power supply to the ground, and a data setting circuit with low current consumption can be realized with a simple circuit configuration.

[実施例] 以下、本発明の一実施例について第1図で説明する。第
1図のデータ設定回路において電源Vdd及び接地間に
は、設定スイッチ部Sの複数個のトグルスイッチSW1
〜SWnが接続されており、各トグルスイッチの可動接
点a1〜alは設定状態監視部(本実施例ではマイクロ
プロセッサMPUとしている)に接続されており、第1
の固定接点す、〜bnは電源Vddに接続されており、
そして第2の固定接点c1〜ellは接地されている。
[Example] An example of the present invention will be described below with reference to FIG. In the data setting circuit of FIG. 1, a plurality of toggle switches SW1 of the setting switch section S are connected between the power supply Vdd and the ground.
~ SWn are connected, and the movable contacts a1 to al of each toggle switch are connected to a setting status monitoring unit (in this embodiment, it is a microprocessor MPU).
The fixed contacts S, ~bn are connected to the power supply Vdd,
The second fixed contacts c1 to ell are grounded.

以上の構成により、n個のトグルスイッチの各々は、可
動接点を第1の固定接点に倒した場合には第1の状態を
取って電源電圧を設定状態監視部に与え、また可動接点
を第2の固定接点に倒した場合には第2の状態を取って
接地電位を設定状態監視部に与える。従って、各トグル
スイッチを手動で第1または第2の状態にそれぞれ設定
することにより、第1の状態が例えばディジタルの「1
」、第2の状態がディジタルの「O」で表わされた、ア
ドレスのようなディジタル情報が設定され得、該情報は
設定状態監視部すなわちマイクロプロセッサMPUにて
検出され得る。この場合、トグルスイッチの第1または
第2いずれの状態の場合でも電源Vddから接地に対し
て直接の電流の流れは無い。
With the above configuration, each of the n toggle switches assumes the first state when the movable contact is turned over to the first fixed contact, applies the power supply voltage to the setting state monitoring section, and also switches the movable contact to the first fixed contact. When the second fixed contact is brought down, the second state is assumed and the ground potential is applied to the setting state monitoring section. Therefore, by manually setting each toggle switch to the first or second state, the first state can be changed to, for example, the digital "1" state.
", the second state is represented by a digital "O", digital information such as an address can be set, and the information can be detected by the setting state monitoring unit, ie, the microprocessor MPU. In this case, no current flows directly from the power supply Vdd to the ground in either the first or second state of the toggle switch.

ここで、第2図(a)及び(b)と第1図とのデータ設
定回路を消費電流について比較してみる。
Here, the data setting circuits of FIGS. 2(a) and 2(b) and that of FIG. 1 will be compared in terms of current consumption.

Vdd=5  (V) R=5(KΩ) t=1 (論秒) t:スイッチSWの開閉状態を監視 する時間 でスイッチSWの数は8個、スイッチSWはすべて閉状
態にあるものと仮定すると、 第2図(a)の場合、 I+ =  5V15にΩ X  8  =  8mA
  (常時)第2図(b)の場合、Trをトランジスタ
・ベース電流とすると、 I2 = (5V15にΩ)X8+Trζ IImA×
8 一8mA(ただし1ミリ秒間だけ) 第1図の場合、流れるのは洩れ電流のみであるので、 I s ”= (0+*A) X 8 ζ0 となり、第1図のものが電流消費量を低減させるという
点で一段と優れているのが分かる。
Vdd = 5 (V) R = 5 (KΩ) t = 1 (seconds) t: Time to monitor the open/close states of the switches SW, assuming that the number of switches SW is 8 and all switches SW are in the closed state Then, in the case of Figure 2 (a), I+ = 5V15 and Ω x 8 = 8mA
(Always) In the case of Figure 2(b), if Tr is the transistor base current, I2 = (5V15Ω)X8+Trζ IImA×
8 - 8 mA (but only for 1 millisecond) In the case of Figure 1, only the leakage current flows, so I s '' = (0 + * A) x 8 ζ0, and the current consumption in Figure 1 is It can be seen that it is even better in terms of reducing the amount of water.

[発明の効果] 以上、本発明によれば、データを設定するためのスイッ
チとしてトグルスイッチを用いたので、該トグルスイッ
チの第1の状態または第2の状態のいずれにおいても電
源から接地への直接の電流の流れは無く、従って、電流
消費量が少ないデータ設定回路を簡単な回路構成で実現
できるという効果がある。
[Effects of the Invention] As described above, according to the present invention, since a toggle switch is used as a switch for setting data, there is no connection from the power supply to the ground in either the first state or the second state of the toggle switch. There is no direct current flow, and therefore a data setting circuit with low current consumption can be realized with a simple circuit configuration.

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

第1図は、本発明の一実施例によるデータ設定回路を示
す回路図、第2図(a)及び(b)は、従来のデータ設
定回路を示す回路図である0図において、MPUはマイ
クロプロセッサ(設定状態監視部)、Sは設定スイッチ
部、SWl〜SWnはトグルスイッチ、a、〜&nは可
動接点、b、〜bnは第1の固定接点、c1〜cnは第
2の固定接点、Vddは電源、である。 +Vdd 第1図 第2図(b)
FIG. 1 is a circuit diagram showing a data setting circuit according to an embodiment of the present invention, and FIGS. 2(a) and 2(b) are circuit diagrams showing conventional data setting circuits. Processor (setting state monitoring unit), S is a setting switch unit, SWl to SWn are toggle switches, a, to &n are movable contacts, b, to bn are first fixed contacts, c1 to cn are second fixed contacts, Vdd is a power supply. +Vdd Figure 1 Figure 2 (b)

Claims (1)

【特許請求の範囲】 電源及び接地間に接続されて第1または第2の状態に設
定可能な複数のスイッチを含む設定スイッチ部と、該設
定スイッチ部の各スイッチの設定状態を監視することに
より設定データを検出する設定状態監視部と、を備えた
データ設定回路において、 前記各スイッチは、可動接点が前記設定状態監視部に接
続され、第1及び第2の固定接点がそれぞれ電源及び接
地に接続されたトグルスイッチであることを特徴とする
データ設定回路。
[Claims] A setting switch section including a plurality of switches connected between a power supply and ground and settable to a first or second state, and monitoring the setting state of each switch in the setting switch section. and a setting state monitoring section that detects setting data, wherein each of the switches has a movable contact connected to the setting state monitoring section, and a first and second fixed contact connected to a power supply and a ground, respectively. A data setting circuit characterized in that it is a connected toggle switch.
JP1066075A 1989-03-20 1989-03-20 Data setting circuit Expired - Lifetime JP2642984B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1066075A JP2642984B2 (en) 1989-03-20 1989-03-20 Data setting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1066075A JP2642984B2 (en) 1989-03-20 1989-03-20 Data setting circuit

Publications (2)

Publication Number Publication Date
JPH02245814A true JPH02245814A (en) 1990-10-01
JP2642984B2 JP2642984B2 (en) 1997-08-20

Family

ID=13305366

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1066075A Expired - Lifetime JP2642984B2 (en) 1989-03-20 1989-03-20 Data setting circuit

Country Status (1)

Country Link
JP (1) JP2642984B2 (en)

Also Published As

Publication number Publication date
JP2642984B2 (en) 1997-08-20

Similar Documents

Publication Publication Date Title
ES2130150T3 (en) LOCAL COMMUNICATION BUS SYSTEM AND DEVICES FOR USE IN A SYSTEM OF THIS TYPE.
AU1922597A (en) Connecting device, in particular a plug-in device for TT and TN networks
JPS5831781B2 (en) Receive/bypass circuit for subsystems in polling systems
JPH02245814A (en) Data setting circuit
CA2083635A1 (en) Digital signal hardware protection switching
JP2821358B2 (en) Tabletop
JPH06236225A (en) Electronic equipment
JPH02242413A (en) Data setting circuit
JPH02242415A (en) Data setting circuit
JP3144876B2 (en) Air conditioner communication device
JPS596040Y2 (en) television camera equipment
JPH0416538Y2 (en)
JP2940114B2 (en) AC induction detection display method for subscriber circuits
JP2887511B2 (en) Switching circuit of multi-pole switch
JPS6449421A (en) Superconductive integrated circuit device
JPS55123286A (en) Switching system of electronic switchboard control part
JPS6175912A (en) Device switching device
JPH02156720A (en) Signal switching device
JPH01130663A (en) Facsimile equipment
JPS631229A (en) Power supply holding system for electrical equipment
JPH08102803A (en) Communication equipment
JPH04178741A (en) Microcomputer
JPS6338320A (en) Switching system for alternate switching circuit
JP2004194208A (en) Input switching device
JPS63148827A (en) System for preventing electric source from leaking