JP3016057U - Signal input circuit - Google Patents
Signal input circuitInfo
- Publication number
- JP3016057U JP3016057U JP1995003297U JP329795U JP3016057U JP 3016057 U JP3016057 U JP 3016057U JP 1995003297 U JP1995003297 U JP 1995003297U JP 329795 U JP329795 U JP 329795U JP 3016057 U JP3016057 U JP 3016057U
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- external environment
- voltage dividing
- signal
- input
- 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
Landscapes
- Microcomputers (AREA)
Abstract
(57)【要約】
【目的】 マイクロプロセッサユニットの入力ポートを
効率的に使用することで機能の増加に容易に対処でき、
またコストの増加を抑制できる信号入力回路を提供す
る。
【構成】 複数の操作入力スイッチを有し、操作された
操作入力スイッチに応じた電圧信号を生成し、生成した
電圧信号をA/D変換回路を備えたマイクロプロセッサ
ユニットの入力ポート端子に供給する操作スイッチ信号
入力アナログ回路と、外部環境センサが出力する外部環
境検出デジタル信号を上記電圧信号に優先して上記入力
ポート端子に供給する結露検出回路とを備える。
(57) [Abstract] [Purpose] By efficiently using the input port of the microprocessor unit, it is possible to easily deal with the increase in functions.
A signal input circuit that can suppress an increase in cost is also provided. A plurality of operation input switches are provided, a voltage signal corresponding to an operated operation input switch is generated, and the generated voltage signal is supplied to an input port terminal of a microprocessor unit having an A / D conversion circuit. An operation switch signal input analog circuit and a dew condensation detection circuit that supplies the external environment detection digital signal output from the external environment sensor to the input port terminal with priority over the voltage signal.
Description
【0001】[0001]
本考案は、信号入力回路に関し、更に詳しくは、マイクロプロセッサユニット の入力ポートを効率的に使用することのできる信号入力回路に関するものである 。 The present invention relates to a signal input circuit, and more particularly to a signal input circuit that can efficiently use an input port of a microprocessor unit.
【0002】[0002]
図2は、従来のビデオテープレコーダ装置における信号入力回路の構成を示す 回路図である。 図において、51はA/D変換回路を内蔵したマイクロプロセッサユニットで あり、A1は第1入力ポート端子、A2は第2入力ポート端子、P0とP1とP 2は他の入力ポート端子である。 FIG. 2 is a circuit diagram showing the configuration of a signal input circuit in a conventional video tape recorder device. In the figure, 51 is a microprocessor unit having a built-in A / D conversion circuit, A1 is a first input port terminal, A2 is a second input port terminal, and P0, P1 and P2 are other input port terminals.
【0003】 52は第1の操作スイッチ信号入力回路であり、抵抗R1と抵抗R2と抵抗R 3と抵抗R4と抵抗R5が直列に接続されており、抵抗R1の一端はプラス側電 源+Bに接続されている。 抵抗R1と抵抗R2の接続点は、前記マイクロプロセッサユニット51の第1 入力ポート端子A1に接続されている。 操作入力スイッチPOWは、ビデオテープレコーダ装置への給電のオン/オフ を指示するためのスイッチであり、前記抵抗R1と抵抗R2の接続点とグランド の間に接続されている。Reference numeral 52 is a first operation switch signal input circuit, in which a resistor R1, a resistor R2, a resistor R3, a resistor R4, and a resistor R5 are connected in series, and one end of the resistor R1 is connected to a plus side power source + B. It is connected. The connection point between the resistors R1 and R2 is connected to the first input port terminal A1 of the microprocessor unit 51. The operation input switch POW is a switch for instructing ON / OFF of power supply to the video tape recorder device, and is connected between the connection point of the resistors R1 and R2 and the ground.
【0004】 操作入力スイッチPLYは、再生動作を指示するためのスイッチであり、前記 抵抗R2と抵抗R3の接続点とグランドの間に接続されている。 操作入力スイッチFFSは、早送り動作を指示するためのスイッチであり、前 記抵抗R3と抵抗R4の接続点とグランドの間に接続されている。 操作入力スイッチREWは、巻き戻し動作を指示するためのスイッチであり、 前記抵抗R4と抵抗R5の接続点とグランドの間に接続されている。 操作入力スイッチRECは、録画動作を指示するためのスイッチであり、前記 抵抗R5の一端とグランドの間に接続されている。The operation input switch PLY is a switch for instructing a reproducing operation, and is connected between the connection point of the resistors R2 and R3 and the ground. The operation input switch FFS is a switch for instructing a fast-forward operation, and is connected between the connection point of the resistors R3 and R4 and the ground. The operation input switch REW is a switch for instructing a rewinding operation, and is connected between the connection point of the resistors R4 and R5 and the ground. The operation input switch REC is a switch for instructing a recording operation, and is connected between one end of the resistor R5 and the ground.
【0005】 一方、53は第2の操作スイッチ信号入力回路であり、抵抗R6と抵抗R7と 抵抗R8と抵抗R9と抵抗R10が直列に接続されており、抵抗R6の一端はプ ラス側電源+Bに接続されている。 抵抗R6と抵抗R7の接続点は、前記マイクロプロセッサユニット51の第2 入力ポート端子A2に接続されている。 操作入力スイッチSTOは、停止を指示するためのスイッチであり、前記抵抗 R6と抵抗R7との接続点とグランドの間に接続されている。 操作入力スイッチPAUは、ポーズ操作を行うためのスイッチであり、前記抵 抗R7と抵抗R8の接続点とグランドの間に接続されている。On the other hand, reference numeral 53 is a second operation switch signal input circuit, in which a resistor R6, a resistor R7, a resistor R8, a resistor R9, and a resistor R10 are connected in series, and one end of the resistor R6 is a plus power source + B. It is connected to the. The connection point of the resistors R6 and R7 is connected to the second input port terminal A2 of the microprocessor unit 51. The operation input switch STO is a switch for instructing stop, and is connected between the connection point of the resistors R6 and R7 and the ground. The operation input switch PAU is a switch for performing a pause operation, and is connected between the connection point of the resistor R7 and the resistor R8 and the ground.
【0006】 操作入力スイッチTVCは、テレビチャネルとビデオチャネルとの切り替えを 指示するためのスイッチであり、前記抵抗R8と抵抗R9の接続点とグランドの 間に接続されている。 操作入力スイッチCHUは、テレビチャネルをチャネル番号の大きい方向へ切 り替える切り替え動作を指示するためのスイッチであり、前記抵抗R9と抵抗R 10の接続点とグランドの間に接続されている。 操作入力スイッチCHDは、テレビチャネルをチャネル番号の小さい方向へ切 り替える切り替え動作を指示するためのスイッチであり、前記抵抗R10の一端 とグランドの間に接続されている。The operation input switch TVC is a switch for instructing switching between the television channel and the video channel, and is connected between the connection point of the resistors R8 and R9 and the ground. The operation input switch CHU is a switch for instructing a switching operation for switching the television channel in the direction of the larger channel number, and is connected between the connection point of the resistors R9 and R10 and the ground. The operation input switch CHD is a switch for instructing a switching operation for switching the TV channel in the direction of the smaller channel number, and is connected between one end of the resistor R10 and the ground.
【0007】 また、54は結露センサ回路であり、バイアス回路54aと結露センサDEW とトランジスタスイッチQ1から構成されている。 トランジスタスイッチQ1のコレクタ端子は、前記マイクロプロセッサユニッ ト51の入力ポート端子POに接続されている。A dew condensation sensor circuit 54 includes a bias circuit 54a, a dew condensation sensor DEW, and a transistor switch Q1. The collector terminal of the transistor switch Q1 is connected to the input port terminal PO of the microprocessor unit 51.
【0008】 また、図示していない停電検出回路がマイクロプロセッサユニット51の入力 ポート端子P1に接続され、さらに図示していない電源異常検出回路が入力ポー ト端子P2に接続されている。An unillustrated power failure detection circuit is connected to the input port terminal P1 of the microprocessor unit 51, and an unillustrated power supply abnormality detection circuit is connected to the input port terminal P2.
【0009】 次に動作について説明する。 このビデオテープレコーダ装置における信号入力回路では、第1の操作スイッ チ信号入力回路52の操作入力スイッチPOW,PLY,FFS,REW,RE Cのいずれかを閉成すると、閉成された操作入力スイッチによりプラス側電源+ Bとグランドとの間に抵抗による電源電圧の分圧回路が構成され、閉成された操 作入力スイッチに応じた電圧信号が抵抗R1と抵抗R2の接続点に生じ、この電 圧信号が第1入力ポート端子A1に供給される。Next, the operation will be described. In the signal input circuit of the video tape recorder device, when any one of the operation input switches POW, PLY, FFS, REW, and REC of the first operation switch signal input circuit 52 is closed, the operation input switch which is closed is closed. By this, a voltage dividing circuit of the power supply voltage by the resistance is formed between the positive side power supply + B and the ground, and a voltage signal corresponding to the closed operation input switch is generated at the connection point of the resistance R1 and the resistance R2. The voltage signal is supplied to the first input port terminal A1.
【0010】 また、第2の操作スイッチ信号入力回路53の操作入力スイッチSTO,PA U,TVC,CHC,CHDの何れかを閉成すると、閉成された操作入力スイッ チによりプラス側電源+Bとグランドとの間に抵抗による分圧回路が構成され、 閉成された操作入力スイッチに応じた電圧信号が抵抗R6と抵抗R7の接続点に 生じ、この電圧信号が第2入力ポート端子A2に供給される。When any one of the operation input switches STO, PAU, TVC, CHC, and CHD of the second operation switch signal input circuit 53 is closed, the positive operation power switch causes a plus side power source + B. A voltage divider circuit is formed between the ground and the resistor, and a voltage signal corresponding to the closed operation input switch is generated at the connection point between the resistors R6 and R7, and this voltage signal is supplied to the second input port terminal A2. To be done.
【0011】 マイクロプロセッサユニット51のA/D変換回路は、前記第1入力ポート端 子A1と第2入力ポート端子A2に供給された電圧信号をディジタルデータに変 換する。 マイクロプロセッサユニット51は、前記ディジタルデータを基に、閉成され た操作入力スイッチを識別し、閉成された操作入力スイッチに応じてビデオテー プレコーダ装置を制御する。The A / D conversion circuit of the microprocessor unit 51 converts the voltage signal supplied to the first input port terminal A1 and the second input port terminal A2 into digital data. The microprocessor unit 51 identifies the closed operation input switch based on the digital data, and controls the video tape recorder device according to the closed operation input switch.
【0012】 また、結露センサ回路54では、結露センサDEWの抵抗値が結露の状態に応 じて変化し、結露センサDEWの抵抗値が所定の大きさになるとトランジスタQ 1がオンし、結露検出信号をマイクロプロセッサユニット51の入力ポートの端 子POに供給する。 マイクロプロセッサユニット51は、入力ポート端子POに前記結露検出信号 が供給され、あるいは入力ポートの端子P1に停電検出信号が供給され、さらに は入力ポートの端子P2に電源異常検出信号が供給されたときには、予め決めら れたプログラムを実行し、前記第1の操作スイッチ信号入力回路52及び第2の 操作スイッチ信号入力回路53から出力される電圧信号に優先してビデオテープ レコーダ装置を制御し動作停止等を行う。Further, in the dew condensation sensor circuit 54, the resistance value of the dew condensation sensor DEW changes according to the dew condensation state, and when the resistance value of the dew condensation sensor DEW reaches a predetermined value, the transistor Q 1 is turned on to detect the dew condensation. The signal is supplied to the terminal PO of the input port of the microprocessor unit 51. When the dew condensation detection signal is supplied to the input port terminal PO, the power failure detection signal is supplied to the input port terminal P1, and the power supply abnormality detection signal is supplied to the input port terminal P2, the microprocessor unit 51 receives , Executing a predetermined program and controlling the video tape recorder device to stop the operation by prioritizing the voltage signal output from the first operation switch signal input circuit 52 and the second operation switch signal input circuit 53. And so on.
【0013】[0013]
従来のビデオテープレコーダ装置における信号入力回路では、操作入力スイッ チに応じた電圧信号はマイクロプロセッサユニット51の第1入力ポート端子A 1と第2入力ポート端子A2に供給されるように構成する一方、結露検出信号や 停電検出信号や電源異常検出信号は入力ポートの端子P0,P1,P2に夫々供 給されるように構成している。 In the signal input circuit of the conventional video tape recorder device, the voltage signal corresponding to the operation input switch is configured to be supplied to the first input port terminal A 1 and the second input port terminal A 2 of the microprocessor unit 51. The dew condensation detection signal, the power failure detection signal, and the power supply abnormality detection signal are supplied to the input port terminals P0, P1, and P2, respectively.
【0014】 すなわち、信号の入力端子として第1入力ポート端子A1と第2入力ポート端 子A2以外に入力ポートの端子P0,P1,P2が必要であり、マイクロプロセ ッサユニットの入力ポートの端子を前記結露検出信号や停電検出信号や電源異常 検出信号の入力用として割り当てているので、他の信号の入力端子がその分制限 され、その分だけビデオテープレコーダ装置の機能増加を低下させる。ビデオテ ープレコーダ装置の機能増加を行うにはI/Oポート自体を交換したりプログラ ムによる入力ポートの設定変更を行う必要が生じる問題点があった。That is, in addition to the first input port terminal A1 and the second input port terminal A2, the input port terminals P0, P1, P2 are required as signal input terminals, and the input port terminal of the microprocessor unit is Since it is assigned for inputting the dew condensation detection signal, power failure detection signal, and power supply abnormality detection signal, the input terminals for other signals are limited accordingly, and the increase in the functions of the video tape recorder device is reduced accordingly. In order to increase the functions of the video tape recorder device, there was a problem that it was necessary to replace the I / O port itself or change the setting of the input port by the program.
【0015】 本考案は上記のような問題点を解消するためになされたもので、マイクロプロ セッサユニットの入力ポートを効率的に使用することができ、機能の増加に対し 容易に対応でき、さらに機能の増加に伴うコストの増加を抑制できる信号入力回 路を提供することを目的とする。The present invention has been made to solve the above-described problems, and can efficiently use the input port of the microprocessor unit, easily cope with the increase in functions, and It is an object of the present invention to provide a signal input circuit that can suppress an increase in cost due to an increase in functions.
【0016】[0016]
本考案に係る信号入力回路は、複数の操作入力スイッチを有し、操作入力スイ ッチが操作されることで当該操作入力スイッチに応じた電圧信号を生成し、生成 した電圧信号をA/D変換回路を備えたマイクロプロセッサユニットの入力ポー ト端子に供給する操作スイッチ信号入力アナログ回路と、外部環境センサが外部 環境の所定の状況を検出したときに外部環境検出デジタル信号を上記電圧信号に 優先して上記入力ポート端子に供給する外部環境検出デジタル回路とを備えたこ とを特徴とする。 A signal input circuit according to the present invention has a plurality of operation input switches, and when the operation input switch is operated, a voltage signal corresponding to the operation input switch is generated, and the generated voltage signal is A / D. The operation switch signal input analog circuit that supplies to the input port terminal of the microprocessor unit equipped with the conversion circuit, and the external environment detection digital signal takes precedence over the above voltage signal when the external environment sensor detects a predetermined condition of the external environment. And an external environment detection digital circuit for supplying to the input port terminal.
【0017】 また、複数の抵抗を直列接続した分圧回路の一端をプラス側電源に接続すると ともに、該分圧回路のプラス側電源側に最も近い第1分圧点を除く分圧点とグラ ンドとの間をそれぞれ操作入力スイッチで接続した操作スイッチ信号入力アナロ グ回路と、前記第1分圧点に接続され、外部環境を監視する外部環境センサが外 部環境の所定の状況を検出したときに第1分圧点とグランドとを短絡する外部環 境検出デジタル回路とを備え、前記第1分圧点がマイクロプロセッサユニットの 入力ポート端子に接続されたことを特徴とする。Further, one end of the voltage dividing circuit in which a plurality of resistors are connected in series is connected to the positive power source, and the voltage dividing point and the graph except the first voltage dividing point closest to the positive power source side of the voltage dividing circuit. The operation switch signal input analog circuit, which is connected with the operation input switch, and the external environment sensor, which is connected to the first voltage dividing point and monitors the external environment, detects a predetermined condition of the external environment. An external environment detection digital circuit that sometimes short-circuits the first voltage dividing point and the ground is provided, and the first voltage dividing point is connected to an input port terminal of the microprocessor unit.
【0018】 また、このように構成した信号入力回路において、外部環境センサが結露セン サあるいは電源の停電ないし異常検出センサであるようにした。 また、このように構成した信号入力回路において、複数の外部環境検出デジタ ル回路がOR回路を介して第1分圧点に接続されるようにした。Further, in the signal input circuit configured as described above, the external environment sensor is a dew condensation sensor or a power failure or abnormality detection sensor of the power supply. In addition, in the signal input circuit thus configured, a plurality of external environment detection digital circuits are connected to the first voltage dividing point via the OR circuit.
【0019】 また、このように構成した信号入力回路において、外部環境検出デジタル回路 として、電源の停電検出センサを備えた第1の外部環境検出デジタル回路と異常 検出センサを備えた第2の外部環境検出デジタル回路とがあり、これら第1およ び第2の外部環境検出デジタル回路がOR回路を介して第1分圧点に接続される ようにした。Further, in the signal input circuit configured as described above, as the external environment detection digital circuit, the first external environment detection digital circuit provided with the power failure detection sensor and the second external environment provided with the abnormality detection sensor are provided. There is a detection digital circuit, and these first and second external environment detection digital circuits are connected to the first voltage dividing point via the OR circuit.
【0020】[0020]
本考案における信号入力回路は、結露センサ、電源の停電ないし異常検出セン サ等の外部環境センサが外部環境の所定の状況、例えば、結露、電源の停電ある いは電源の異常を検出したとき、外部環境検出デジタル信号を操作スイッチ信号 入力アナログ回路が接続された入力ポート端子に供給し、更にまた上記外部環境 検出デジタル信号を上記操作スイッチ信号入力回路から出力されるアナログ電圧 信号に優先させることにより、マイクロプロセッサユニットの他の入力ポート端 子を他の信号に割り当て、マイクロプロセッサユニットの入力ポートを効率的に 使用することができるので、機能の増加に容易に対応でき、更に機能の増加に伴 うコストの増加が抑制できる。 The signal input circuit according to the present invention, when an external environment sensor such as a dew condensation sensor, a power failure or an abnormality detection sensor detects a predetermined condition of the external environment, for example, dew condensation, a power failure of the power source or an abnormality of the power source, By supplying the external environment detection digital signal to the input port terminal to which the operation switch signal input analog circuit is connected, and by giving priority to the external environment detection digital signal over the analog voltage signal output from the operation switch signal input circuit. , The other input port terminals of the microprocessor unit can be assigned to other signals, and the input ports of the microprocessor unit can be used efficiently, so that it is possible to easily cope with the increase of the functions and further increase the functions. The increase in cost can be suppressed.
【0021】 また、複数の抵抗を直列接続した分圧回路の一端をプラス側電源に接続すると ともに、該分圧回路のプラス側電源側に最も近い第1分圧点を除く分圧点とグラ ンドとの間をそれぞれ操作入力スイッチで接続した操作スイッチ信号入力アナロ グ回路と、前記第1分圧点に接続され、外部環境例えば、結露、電源の停電ある いは電源の異常を監視する外部環境センサが外部環境の所定の状況を検出したと きに第1分圧点とグランドとを短絡する外部環境検出デジタル回路とを備え、前 記第1分圧点がマイクロプロセッサユニットの入力ポート端子に接続されたによ り、マイクロプロセッサユニットの他の入力ポート端子を他の信号に割り当て、 マイクロプロセッサユニットの入力ポートを効率的に使用することができるので 、機能の増加に容易に対応でき、更に機能の増加に伴うコストの増加が抑制でき る。Further, one end of the voltage dividing circuit in which a plurality of resistors are connected in series is connected to the positive power source, and the voltage dividing point and the graph except the first voltage dividing point closest to the positive power source side of the voltage dividing circuit. Operation switch signal input analog circuit that is connected to each other with operation input switches and an external environment that is connected to the first voltage dividing point and monitors external environment such as dew condensation, power failure or power failure. An external environment detection digital circuit that short-circuits the first voltage dividing point and the ground when the environment sensor detects a predetermined condition of the external environment, and the first voltage dividing point is the input port terminal of the microprocessor unit. Since it is possible to assign the other input port terminal of the microprocessor unit to another signal by connecting to, the input port of the microprocessor unit can be used efficiently, It is possible to easily cope with the increase in functions, and further suppress the increase in cost due to the increase in functions.
【0022】 更に、また、外部環境を監視する複数の外部環境センサが外部環境の所定の状 況を検出したときに、OR回路を介して、第1分圧点とグランドとを短絡する外 部環境検出デジタル回路とを備え、前記第1分圧点がマイクロプロセッサユニッ トの入力ポート端子に接続されたことにより、マイクロプロセッサユニットの入 力ポートの端子数を一層節約して、マイクロプロセッサユニットの入力ポートを 効率的に使用することができるので、機能の増加に容易に対応でき、更に機能の 増加に伴うコストの増加が抑制できる。Furthermore, when a plurality of external environment sensors that monitor the external environment detect a predetermined state of the external environment, an external part that short-circuits the first voltage dividing point and the ground via the OR circuit. By including the environment detection digital circuit and connecting the first voltage dividing point to the input port terminal of the microprocessor unit, the number of input ports of the microprocessor unit is further reduced, and the microprocessor unit Since the input port can be used efficiently, it is possible to easily cope with the increase in the function and further suppress the increase in the cost due to the increase in the function.
【0023】[0023]
以下、本考案の一実施例を図1について説明する。 図1において、図2と同一または相当の箇所には同一の符号を付し説明を省略 する。 ここで11は第1の操作スイッチ信号入力アナログ回路であり、抵抗R101 ,R111,R102,R103,R104,R105が直列に接続されて分圧 回路を構成し、抵抗R101の一端はプラス側電源+Bに接続されていて、これ らの抵抗の接続点およびプラス側電源+B側と反対側の抵抗R105の先端には 分圧点d1〜d6が形成されている。 An embodiment of the present invention will be described below with reference to FIG. In FIG. 1, parts that are the same as or correspond to those in FIG. 2 are given the same reference numerals and explanations thereof are omitted. Here, reference numeral 11 is a first operation switch signal input analog circuit, and resistors R101, R111, R102, R103, R104, and R105 are connected in series to form a voltage dividing circuit, and one end of the resistor R101 has a plus side power source + B. Voltage dividing points d1 to d6 are formed at the connection point of these resistors and the tip of the resistor R105 on the side opposite to the positive side power source + B side.
【0024】 プラス側電源+B側に最も近い分圧点(第1分圧点)d1は、前記マイクロプ ロセッサユニット51の第1の入力ポート端子A1に接続されている。また、操 作入力スイッチPOW,PLY,FFS,REW,RECはそれぞれ上記分圧点 d2,d3,d4,d5,d6とグランドの間に接続されている。 また55は外部環境検出デジタル回路のひとつである結露センサ回路、Q1は トランジスタスイッチである。Q1のコレクタ端子は前記第1分圧点d1に接続 されていて、結露センサDEWが結露を検出したとき第1分圧点d1とグランド とを短絡するようになっている。The voltage dividing point (first voltage dividing point) d1 closest to the plus side power source + B side is connected to the first input port terminal A1 of the microprocessor unit 51. The operation input switches POW, PLY, FFS, REW and REC are connected between the voltage dividing points d2, d3, d4, d5 and d6 and the ground, respectively. Further, 55 is a dew condensation sensor circuit which is one of the external environment detection digital circuits, and Q1 is a transistor switch. The collector terminal of Q1 is connected to the first voltage dividing point d1, and when the dew condensation sensor DEW detects dew condensation, the first voltage dividing point d1 and the ground are short-circuited.
【0025】 一方また、12は第2の操作スイッチ信号入力アナログ回路であり、抵抗R1 06,R112,R107,R108,R109,R110が直列に接続されて 分圧回路を構成し、抵抗R106の一端はプラス側電源+Bに接続されていて、 これらの抵抗の接続点およびプラス側電源+B側と反対側の抵抗R110の先端 には分圧点d7〜d12が形成されている。On the other hand, 12 is a second operation switch signal input analog circuit, and resistors R106, R112, R107, R108, R109, and R110 are connected in series to form a voltage dividing circuit, and one end of the resistor R106. Is connected to the plus side power source + B, and voltage dividing points d7 to d12 are formed at the connection point of these resistors and the tip of the resistor R110 on the side opposite to the plus side power source + B side.
【0026】 プラス側電源+B側に最も近い分圧点(第1分圧点)d7は、前記マイクロプ ロセッサユニット51の第2の入力ポート端子A2に接続されている。また、操 作入力スイッチSTO,PAU,TVC,CHU,CHDはそれぞれ上記分圧点 d8,d9,d10,d11,d12とグランドの間に接続されている。 第1分圧点d7には、また、OR回路1の出力端子が接続されている。The voltage dividing point (first voltage dividing point) d7 closest to the plus side power source + B side is connected to the second input port terminal A2 of the microprocessor unit 51. The operation input switches STO, PAU, TVC, CHU, CHD are respectively connected between the voltage dividing points d8, d9, d10, d11, d12 and the ground. The output terminal of the OR circuit 1 is also connected to the first voltage dividing point d7.
【0027】 OR回路1の入力端子は、もうひとつの外部環境検出デジタル回路である給電 監視信号供給回路2に接続されている。 給電監視信号供給回路2は、停電の発生を検出し、“L”レベルの停電発生検 出信号を出力する、すなわち、第1分圧点d7とグランドとを短絡する停電発生 検出回路(停電検出センサ)と、電源異常を検出し“L”レベルの電源異常検出 信号を出力する、すなわち、第1分圧点d7とグランドとを短絡する電源異常検 出回路(異常検出センサ)とから構成されている。The input terminal of the OR circuit 1 is connected to the power supply monitoring signal supply circuit 2 which is another external environment detection digital circuit. The power supply monitoring signal supply circuit 2 detects the occurrence of a power failure and outputs an "L" level power failure occurrence detection signal, that is, a power failure occurrence detection circuit that short-circuits the first voltage dividing point d7 and the ground (power failure detection Sensor) and a power supply abnormality detection circuit that detects a power supply abnormality and outputs an “L” level power supply abnormality detection signal, that is, a power supply abnormality detection circuit (abnormality detection sensor) that short-circuits the first voltage dividing point d7 and the ground. ing.
【0028】 次に動作について説明する。 第1の操作スイッチ信号入力回路11では、操作入力スイッチPOW,PLY ,FFS,REW,RECのいずれかを閉成すると、閉成された操作入力スイッ チによりプラス側電源+Bとグランドとの間の電圧が抵抗値の比に応じて分圧さ れ、第1分圧点d1における分圧電圧信号が第1入力ポート端子A1に供給され る。Next, the operation will be described. In the first operation switch signal input circuit 11, when any of the operation input switches POW, PLY, FFS, REW, and REC is closed, the closed operation input switch causes connection between the plus side power source + B and the ground. The voltage is divided according to the resistance value ratio, and the divided voltage signal at the first voltage dividing point d1 is supplied to the first input port terminal A1.
【0029】 また、結露センサ回路55では、結露センサDEWの抵抗値が結露の状態に応 じて変化し、結露センサDEWの抵抗値が所定の大きさになるとトランジスタQ 1がオンし、“L”レベルの結露検出信号を第1入力ポート端子A1に供給する 。In the dew condensation sensor circuit 55, the resistance value of the dew condensation sensor DEW changes in accordance with the dew condensation state, and when the resistance value of the dew condensation sensor DEW reaches a predetermined value, the transistor Q 1 is turned on and “L” is set. A "level dew condensation detection signal is supplied to the first input port terminal A1.
【0030】 従って、第1の操作スイッチ信号入力回路11から電圧信号が出力されている 状態で結露センサ回路55から結露検出信号が出力されると、第1入力ポート端 子A1とグランドとは短絡されて電位が“L”レベルとなり、結露検出信号が優 先されマイクロプロセッサユニット51に供給される。Therefore, when the condensation detection circuit 55 outputs the condensation detection signal while the voltage signal is being output from the first operation switch signal input circuit 11, the first input port terminal A1 and the ground are short-circuited. Then, the potential becomes “L” level, and the dew condensation detection signal is given priority and supplied to the microprocessor unit 51.
【0031】 マイクロプロセッサユニット51のA/D変換回路は第1入力ポート端子A1 に供給された信号をディジタルデータに変換する。 マイクロプロセッサユニット51は、前記ディジタルデータを基に、閉成され た操作入力スイッチあるいは結露の状態を識別し、所定のプログラムを実行し制 御を行う。The A / D conversion circuit of the microprocessor unit 51 converts the signal supplied to the first input port terminal A1 into digital data. The microprocessor unit 51 identifies the closed operation input switch or the dew condensation state based on the digital data, and executes a predetermined program to perform control.
【0032】 一方、第2の操作スイッチ信号入力回路12では、操作入力スイッチSTO, PAU,TVC,CHU,CHDのいずれかを閉成すると、閉成された操作入力 スイッチによりプラス側電源+Bとグランドとの間の電圧が抵抗値の比に応じて 分圧され、第1分圧点d7における分圧電圧信号が第2入力ポート端子A2に供 給される。On the other hand, in the second operation switch signal input circuit 12, when any of the operation input switches STO, PAU, TVC, CHU, CHD is closed, the closed operation input switch causes the plus side power source + B and ground. The voltage between and is divided according to the resistance value ratio, and the divided voltage signal at the first voltage dividing point d7 is supplied to the second input port terminal A2.
【0033】 また、このとき給電監視回路2の停電発生検出回路が停電を検出したり、ある いは電源異常検出回路が電源異常を検出すると、第2入力ポート端子A2とグラ ンドとはOR回路1を介して短絡され、停電検出信号あるいは電源異常検出信号 が第2入力ポート端子A2に供給されることになる。At this time, if the power failure occurrence detection circuit of the power supply monitoring circuit 2 detects a power failure or the power supply abnormality detection circuit detects a power supply abnormality, the second input port terminal A2 and the ground are OR circuits. 1 is short-circuited and the power failure detection signal or the power supply abnormality detection signal is supplied to the second input port terminal A2.
【0034】 OR回路1の出力は“L”レベルのディジタル信号であるから、第2の操作ス イッチ信号入力回路12から電圧信号が出力されている状態で停電検出信号ある いは電源異常検出信号がOR回路1を介して第2入力ポート端子A2に供給され ると、第2入力ポート端子A2の電位は、“L”レベルとなり、停電検出信号あ るいは電源異常検出信号が優先されマイクロプロセッサユニット51に供給され る。Since the output of the OR circuit 1 is a digital signal of “L” level, a power failure detection signal or a power supply abnormality detection signal is output while the voltage signal is being output from the second operation switch signal input circuit 12. Is supplied to the second input port terminal A2 via the OR circuit 1, the potential of the second input port terminal A2 becomes “L” level, and the power failure detection signal or the power supply abnormality detection signal is given priority. It is supplied to the unit 51.
【0035】 マイクロプロセッサユニット51のA/D変換回路は第2入力ポート端子A2 に供給された信号をディジタルデータに変換する。 マイクロプロセッサユニット51は、前記ディジタルデータを基に、閉成され た操作入力スイッチあるいは停電または電源異常の状態を識別し、所定のプログ ラムを実行し制御を行う。The A / D conversion circuit of the microprocessor unit 51 converts the signal supplied to the second input port terminal A2 into digital data. Based on the digital data, the microprocessor unit 51 identifies the closed operation input switch or the state of power failure or power failure, and executes a predetermined program to perform control.
【0036】[0036]
以上のように、本考案によれば、外部環境検出デジタル回路の出力信号(結露 検出信号、停電検出信号、電源異常検出信号等)と操作スイッチ信号入力回路の アナログ電圧信号とを同一の入力ポート端子で受け、外部環境検出デジタル回路 の出力信号を操作スイッチ信号入力回路から出力されるアナログ電圧信号に優先 させるように構成したので、マイクロプロセッサユニットの他の入力ポート端子 を他の信号に割り当てることができ、マイクロプロセッサユニットの入力ポート を効率的に使用することができる。この結果、機能を増加する場合に入力ポート の端子数が不足する状態を回避でき、入力ポートの端子数を増やすため入力ポー トの変更をハードウェーアあるいはソフトウェーアにより行う必要がなくなり、 機能の増加に伴うコストの増加を抑制できる。さらに入力 ポートのピン数が削 減できるので基板への実装が容易となる効果もある。 As described above, according to the present invention, the output signal of the external environment detection digital circuit (condensation detection signal, power failure detection signal, power supply abnormality detection signal, etc.) and the analog voltage signal of the operation switch signal input circuit are the same input port. Since the output signal of the external environment detection digital circuit is prioritized over the analog voltage signal output from the operation switch signal input circuit, the other input port terminals of the microprocessor unit should be assigned to other signals. The input port of the microprocessor unit can be used efficiently. As a result, it is possible to avoid the situation where the number of input port pins is insufficient when increasing the number of functions, and it is not necessary to change the input port by hardware or software to increase the number of input port pins, increasing the number of functions. It is possible to suppress an increase in cost associated with. In addition, the number of input port pins can be reduced, making it easier to mount on the board.
【0037】 また、複数の抵抗を直列接続した分圧回路の一端をプラス側電源に接続すると ともに、分圧回路のプラス側電源側に最も近い第1分圧点を除く分圧点とグラン ドとの間をそれぞれ操作入力スイッチで接続した操作スイッチ信号入力アナログ 回路と、前記第1分圧点に接続され、外部環境を監視する外部環境センサが外部 環境の所定の状況を検出したときに第1分圧点とグランドとを短絡する外部環境 検出デジタル回路とを備えて、第1分圧点がマイクロプロセッサユニットの入力 ポート端子に接続されるようにしたから、マイクロプロセッサユニットの入力ポ ートを効率的に使用することができる。この結果、機能を増加する場合に入力ポ ートの端子数が不足する状態を回避でき、入力ポートの端子数を増やすため入力 ポートの変更をハードウェーアあるいはソフトウェーアにより行う必要がなくな り、機能の増加に伴うコストの増加を抑制できる。さらに入力 ポートのピン数 が削減できるので基板への実装が容易となる効果もある。 また、複数の外部環境検出デジタル回路がOR回路を介して第1分圧点に接続 するようにすれば、更に、多くの入力信号を単一のマイクロプロセッサユニット の入力ポート端子に送ることができて、一層、マイクロプロセッサユニットの入 力ポートを効率的に使用することができる。Further, one end of the voltage dividing circuit in which a plurality of resistors are connected in series is connected to the positive power source, and the voltage dividing point and the ground except for the first voltage dividing point closest to the positive power source side of the voltage dividing circuit. And the operation switch signal input analog circuit connected to each other with the operation input switch and the external environment sensor connected to the first voltage dividing point and monitoring the external environment detects the predetermined condition of the external environment. Since an external environment detection digital circuit that short-circuits the 1st voltage dividing point and the ground is provided so that the 1st voltage dividing point is connected to the input port terminal of the microprocessor unit, the input port of the microprocessor unit is connected. Can be used efficiently. As a result, it is possible to avoid the situation where the number of input port terminals is insufficient when increasing the number of functions, and it is not necessary to change the input port by hardware or software to increase the number of input port terminals. It is possible to suppress an increase in cost associated with an increase in functions. In addition, the number of input port pins can be reduced, making it easier to mount on the board. If a plurality of external environment detection digital circuits are connected to the first voltage dividing point via the OR circuit, more input signals can be sent to the input port terminals of a single microprocessor unit. Therefore, the input port of the microprocessor unit can be used more efficiently.
【図1】本考案の一実施例による信号入力回路の構成を
示す回路図である。FIG. 1 is a circuit diagram showing a configuration of a signal input circuit according to an embodiment of the present invention.
【図2】従来のビデオテープレコーダ装置における信号
入力回路の構成を示す回路図である。FIG. 2 is a circuit diagram showing a configuration of a signal input circuit in a conventional video tape recorder device.
1 OR回路 2 給電監視信号供給回路(外部環境検出デジタル
回路) POW 操作入力スイッチ PLY 操作入力スイッチ FFS 操作入力スイッチ REW 操作入力スイッチ REC 操作入力スイッチ STO 操作入力スイッチ PAU 操作入力スイッチ TVC 操作入力スイッチ CHU 操作入力スイッチ CHD 操作入力スイッチ 11 第1の操作スイッチ信号入力アナログ回路 12 第2の操作スイッチ信号入力アナログ回路 A1 第1入力ポート端子 A2 第2入力ポート端子 51 マイクロプロセッサユニット DEW 結露センサ(外部環境センサ) 55 結露センサ回路(外部環境検出デジタル回路) d1 第1分圧点 d7 第1分圧点1 OR circuit 2 Power supply monitoring signal supply circuit (external environment detection digital circuit) POW operation input switch PLY operation input switch FFS operation input switch REW operation input switch REC operation input switch STO operation input switch PAU operation input switch TVC operation input switch CHU operation Input switch CHD Operation input switch 11 First operation switch signal input analog circuit 12 Second operation switch signal input analog circuit A1 First input port terminal A2 Second input port terminal 51 Microprocessor unit DEW Condensation sensor (external environment sensor) 55 Condensation sensor circuit (external environment detection digital circuit) d1 1st voltage dividing point d7 1st voltage dividing point
Claims (6)
力スイッチが操作されることで当該操作入力スイッチに
応じた電圧信号を生成し、生成した電圧信号をA/D変
換回路を備えたマイクロプロセッサユニットの入力ポー
ト端子に供給する操作スイッチ信号入力アナログ回路
と、外部環境センサが外部環境の所定の状況を検出した
ときに外部環境検出デジタル信号を上記電圧信号に優先
して上記入力ポート端子に供給する外部環境検出デジタ
ル回路とを備えたことを特徴とする信号入力回路。1. A micro controller having a plurality of operation input switches, the operation input switches being operated to generate a voltage signal corresponding to the operation input switches, and the generated voltage signal having an A / D conversion circuit. The operation switch signal input analog circuit supplied to the input port terminal of the processor unit, and the external environment detection digital signal to the input port terminal in priority to the voltage signal when the external environment sensor detects a predetermined condition of the external environment. A signal input circuit comprising: an external environment detection digital circuit for supplying.
端をプラス側電源に接続するとともに、該分圧回路のプ
ラス側電源側に最も近い第1分圧点を除く分圧点とグラ
ンドとの間をそれぞれ操作入力スイッチで接続した操作
スイッチ信号入力アナログ回路と、前記第1分圧点に接
続され、外部環境を監視する外部環境センサが外部環境
の所定の状況を検出したときに第1分圧点とグランドと
を短絡する外部環境検出デジタル回路とを備え、前記第
1分圧点がマイクロプロセッサユニットの入力ポート端
子に接続されたことを特徴とする信号入力回路。2. A voltage dividing circuit, in which a plurality of resistors are connected in series, is connected at one end thereof to a positive power source, and the voltage dividing point and ground except for the first voltage dividing point closest to the positive power source side of the voltage dividing circuit. And an operation switch signal input analog circuit connected to each other by operation input switches, and an external environment sensor connected to the first voltage dividing point for monitoring the external environment detects a predetermined condition of the external environment. A signal input circuit, comprising: an external environment detection digital circuit for short-circuiting a first voltage dividing point and a ground, wherein the first voltage dividing point is connected to an input port terminal of a microprocessor unit.
項1または2記載の信号入力回路。3. The signal input circuit according to claim 1, wherein the external environment sensor is a dew condensation sensor.
検出センサである請求項1または2記載の信号入力回
路。4. The signal input circuit according to claim 1, wherein the external environment sensor is a power failure or abnormality detection sensor of a power source.
て、これらの複数の外部環境検出デジタル回路がOR回
路を介して第1分圧点に接続された請求項2記載の信号
入力回路。5. The signal input circuit according to claim 2, wherein there are a plurality of external environment detection digital circuits, and the plurality of external environment detection digital circuits are connected to the first voltage dividing point via an OR circuit.
の停電検出センサを備えた第1の外部環境検出デジタル
回路と電源の異常検出センサを備えた第2の外部環境検
出デジタル回路とがあり、これら第1および第2の外部
環境検出デジタル回路がOR回路を介して第1分圧点に
接続された請求項2記載の信号入力回路。6. The external environment detection digital circuit includes a first external environment detection digital circuit including a power failure detection sensor and a second external environment detection digital circuit including a power supply abnormality detection sensor. The signal input circuit according to claim 2, wherein the first and second external environment detection digital circuits are connected to the first voltage dividing point via an OR circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1995003297U JP3016057U (en) | 1995-03-22 | 1995-03-22 | Signal input circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1995003297U JP3016057U (en) | 1995-03-22 | 1995-03-22 | Signal input circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JP3016057U true JP3016057U (en) | 1995-09-26 |
Family
ID=43151598
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1995003297U Expired - Lifetime JP3016057U (en) | 1995-03-22 | 1995-03-22 | Signal input circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3016057U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009116832A (en) * | 2007-11-09 | 2009-05-28 | Yamaha Motor Electronics Co Ltd | Printed circuit board |
-
1995
- 1995-03-22 JP JP1995003297U patent/JP3016057U/en not_active Expired - Lifetime
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009116832A (en) * | 2007-11-09 | 2009-05-28 | Yamaha Motor Electronics Co Ltd | Printed circuit board |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3016057U (en) | Signal input circuit | |
EP2390425A2 (en) | Emergency engine rpm control apparatus for heavy construction equipment | |
JP2745977B2 (en) | Signal input circuit | |
CN111146976A (en) | Brake circuit and its motor driver, drive and automation equipment | |
JP3724669B2 (en) | Position detection switch | |
JPS61120903A (en) | Angle detecting circuit | |
JP3033316B2 (en) | Air purifier control circuit | |
JP2999937B2 (en) | Control signal input device | |
KR0109255Y1 (en) | Remote control malfunction measure circuit | |
JPH08279952A (en) | Method and device for controlling drive of universal head | |
JP2621031B2 (en) | Engine controller diagnostic device | |
JPS63271113A (en) | Encoder | |
JPH0611485Y2 (en) | Setting information reading circuit | |
JPH06197577A (en) | Controller | |
JP2643970B2 (en) | Reference input priority judgment circuit | |
JPH04218A (en) | Power control method | |
JPS5827565Y2 (en) | Chattering waveform prevention circuit in electrical equipment | |
JPH0555024U (en) | Abnormality judgment circuit of converter | |
JP2004178027A (en) | Sensor control device | |
JPH0223969Y2 (en) | ||
JPS598027A (en) | Operating method of system controller | |
JPH0567142U (en) | DC power supply interface circuit | |
JPS5958501A (en) | Sewing machine driving device | |
JPH0495101A (en) | Input signal processing device | |
JPH0667247B2 (en) | Motor abnormality signal transmission method |