JPH0319012A - Input circuit - Google Patents

Input circuit

Info

Publication number
JPH0319012A
JPH0319012A JP1153698A JP15369889A JPH0319012A JP H0319012 A JPH0319012 A JP H0319012A JP 1153698 A JP1153698 A JP 1153698A JP 15369889 A JP15369889 A JP 15369889A JP H0319012 A JPH0319012 A JP H0319012A
Authority
JP
Japan
Prior art keywords
switches
signals
input
circuit
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.)
Pending
Application number
JP1153698A
Other languages
Japanese (ja)
Inventor
Hitoshi Ono
均 小野
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.)
Nidec Sankyo Corp
Original Assignee
Nidec Sankyo Corp
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 Nidec Sankyo Corp filed Critical Nidec Sankyo Corp
Priority to JP1153698A priority Critical patent/JPH0319012A/en
Publication of JPH0319012A publication Critical patent/JPH0319012A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To decrease the number of input terminals in comparison with the number of input signals by producing the signals in number smaller than that of switches in accordance with the ON/OFF states of these switches and inputted the produced signals to an A/D conversion part. CONSTITUTION:A switch circuit 2 produces the signals in number smaller than that of switches in accordance with the ON/OFF states of these switches and inputs these signals to an A/D conversion part 1. A recognizing means recognizes the ON/OFF states of switches with the signals received from the circuit 2 via the part 1. That is, the circuit 2 produces the signals in number smaller than that of switches in accordance with the ON/OFF states of these switches and these signals undergo the A/D conversion via the part 1. Then the means 3 recognizes the ON/OFF states of those switches with the signals received from the part 1. As a result, the number of input terminals can be decreased in comparison with the number of input signals.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は各種装置のモード設定やデータ、命令等の入力
などに用いられる入力回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an input circuit used for setting modes of various devices and inputting data, commands, etc.

〔従来の技術〕[Conventional technology]

通常、マイクロコンピュータ(CPU)を有する各種装
置においては複数のモードをそれぞれ設定するための複
数個のスイッチを有し、この複数個のスイッチからの複
数の信号をそれぞれCPUの複数個の入力ポートより取
り込んでこれらの信号によりモード設定を行っている。
Normally, various devices having a microcomputer (CPU) have a plurality of switches for setting a plurality of modes, and a plurality of signals from the plurality of switches are respectively transmitted from a plurality of input ports of the CPU. The mode is set using these signals.

また、キーボード及びCP tJを有する各種装置にお
いてはキーボードによる複数の信号をそれぞれCPUの
複数個の入力ポートより取り込んで処理している。
In addition, in various devices having a keyboard and a CP tJ, a plurality of signals from the keyboard are respectively taken in from a plurality of input ports of the CPU and processed.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述の各種装置では複数の信号をそれぞれCI)Uの複
数個の入力ポートより取り込んでいるので、高機能化な
どにより上記複数の信号が多くなればCPUの入力ポー
トが多数必要になってこれに対応できなくなる場合が生
じ、CPUの外部に入力ポートの数を拡張する入力ボー
ト拡張回路が必要になる。
Each of the above-mentioned devices takes in multiple signals from multiple input ports of CI)U, so if the number of the above-mentioned signals increases due to higher functionality, many input ports of the CPU will be required. In some cases, this may not be possible, and an input port expansion circuit for expanding the number of input ports is required outside the CPU.

本発明は上記欠点を改善し、入力口シ)の数に比べて入
力端子の数を少なくできる入力回路を提供することを目
的とする。
SUMMARY OF THE INVENTION An object of the present invention is to improve the above-mentioned drawbacks and to provide an input circuit in which the number of input terminals can be reduced compared to the number of input ports.

〔課題を解決するための手段〕[Means to solve the problem]

上記目的を達成するため、本発明は信号のアナログ/デ
ィジタル変換を行うアナログ/ディジタル変換部を有す
る装置において、第1図に示すように複数個のスイッチ
のオン/オフ状態に応じてこの複数個のスイッチの数よ
り少数の信号を生成して前記アナログ/ディジタル変換
部1に入力するスイッチ回路2と、このスイッチ回路2
から前記アナログ/ディジタル変換部1を介して入力さ
れた信号より前記複数個のスイッチのオン/オフ状態を
認識する認識手段3とを備えるようにしたものである。
In order to achieve the above object, the present invention provides an apparatus having an analog/digital converter that performs analog/digital conversion of a signal. a switch circuit 2 that generates a smaller number of signals than the number of switches and inputs them to the analog/digital converter 1;
and recognition means 3 for recognizing the on/off states of the plurality of switches from the signals inputted from the analog/digital converter 1 through the analog/digital converter 1.

〔作 用J スイッチ回路2は複数個のスイッチのオン/オフ状態に
応じてこの複数個のスイッチの数より少数の信号を生成
し、この信号がアナログ/ディジタル変換部1によりア
ナログ/ディジタル変換される。認識手Pi3はこのア
ナログ/ディジタル変換部1からの信号より前記複数個
のスイッチのオン/オフ状態を認識される。
[Function J] The switch circuit 2 generates a smaller number of signals than the number of the plurality of switches according to the on/off states of the plurality of switches, and this signal is converted from analog to digital by the analog/digital converter 1. Ru. The recognition hand Pi3 recognizes the on/off states of the plurality of switches from the signal from the analog/digital converter 1.

〔実施例〕 第8図は本発明を応用したデータバックアップ用テープ
レコーダの一例における磁気ヘッドを示す、この磁気ヘ
ッド11は消去用ギャップ12を有するコアに巻線を巻
いた消去部と、書き込み用ギャップ13a、13bを有
する各コアに巻線をそれぞれ巻いた2つの書き込み部と
、読み取り用ギャップ14a 、 14bを有する各コ
アに巻線をそれぞれ巻いた2つの読み取り部とが一体的
に設けられている。磁気テープの順走行方向に配列され
ている書き込み用ギャップ13aを有する書き込み部及
び読み取り用ギャップ14aを有する読み取り部は1チ
ヤンネル分の書き込み部及び読み取り部を碍成し、磁気
テープの逆走打力向に配列されている書き込み用ギャッ
プ13bを有する書き込み部及び読み取り用ギャップ1
4bを有する読み取り部が他の1チヤンネル分の書き込
み部及び読み取り部を構成していてこれらの2チャンネ
ル分の書き込み部及び読み取り部が磁気テープの走行方
向と直角な方向に所定のピッチをおいて配置されている
。書き込み用ギャップ23a、13bの幅は178μ層
であり、読み取り用ギャップ14a、14bの幅は12
7μmで従来の267μ−のものよりかなり幅狭になっ
ている。
[Embodiment] Fig. 8 shows a magnetic head in an example of a data backup tape recorder to which the present invention is applied. Two writing sections each having a winding wound around each core having gaps 13a and 13b, and two reading sections each having a winding wound around each core having reading gaps 14a and 14b are integrally provided. There is. The writing part having the writing gap 13a and the reading part having the reading gap 14a arranged in the forward running direction of the magnetic tape combine the writing part and the reading part for one channel, and reduce the backward running hitting force of the magnetic tape. A writing section and a reading gap 1 having writing gaps 13b arranged in the direction
4b constitutes a writing section and a reading section for another channel, and these writing sections and reading sections for two channels are arranged at a predetermined pitch in a direction perpendicular to the running direction of the magnetic tape. It is located. The width of the writing gaps 23a, 13b is 178μ layer, and the width of the reading gaps 14a, 14b is 12μ layers.
The width is 7 μm, which is considerably narrower than the conventional 267 μm width.

また、このデータバックアップ用テープレコーダは第7
図に示すようなりOT(Begin Of Tape)
、EOT(IEnd Of Tape)、EV(Ear
ly Warning)、LP(Load l’oin
t)の各マーク15〜18を有する磁気テープ19が用
いられ、また前述した他の磁気テープも使用可能である
。磁気テープ19のマーク15〜18は磁気テープ19
に開けられた穴からなっており、磁気テープ19におい
て走行方向と直角な上下方向に2分された上側部分及び
下側部分の各中央部に磁気テープ19の走行方向と平行
に配列されている。 BOT15.EOTI6は磁気テ
ープ19の両端部に設けられ、EW17.LP18は磁
気テープ19における上側部分の中央部であってBOT
15.EOT16より一定の距離だけ内側に設けられる
In addition, this data backup tape recorder is the 7th tape recorder.
OT (Begin Of Tape) as shown in the figure
, EOT (I End Of Tape), EV (Ear
ly Warning), LP (Load l'oin
A magnetic tape 19 having marks 15 to 18 of t) is used, and other magnetic tapes mentioned above can also be used. Marks 15 to 18 on the magnetic tape 19 indicate the magnetic tape 19.
The holes are arranged parallel to the running direction of the magnetic tape 19 at the center of each of the upper and lower parts that are divided into two in the vertical direction perpendicular to the running direction of the magnetic tape 19. . BOT15. EOTI6 is provided at both ends of the magnetic tape 19, and EW17. LP18 is the center part of the upper part of the magnetic tape 19 and is BOT.
15. It is provided a certain distance inside from the EOT 16.

第2図はこのデータバックアップ用テープレコーダの回
路構成を示す。
FIG. 2 shows the circuit configuration of this data backup tape recorder.

磁気ヘッド11における読み取り用ギャップ14a。A reading gap 14a in the magnetic head 11.

14bを有する読み取り部33からの読み取り信号は増
幅器34により増幅されて包絡線回路35により包絡線
が検出され、1チツプのマイクロコンピュータ(CP 
U)36のアナログ/ディジタル(A/D)変換部37
に入力される。また増幅器34からの読み取り信号が分
周回路53で分周され、CPU3(iは分周回路53か
らの読み取り信号をカウンタ54でカウントしてその周
波数を判断する。ホールセンサー回路20は磁気テープ
19の穴15〜18を検出してその検出信号をCPU3
6に入力し、)・ラック指定回路39はオペレータによ
り指定されたトラックを示す1へラック信号をCPU3
6に入力する。ライ1〜回路40はCPU36からの制
御信号に応じて消去用ギャップ12を有する消去部、@
き込み用ギャップ13a、13bを有する書き込み部4
1を選択的に駆動する。ステッパ42は磁気ヘッド11
を磁気テープ走行方向と直角な方向に移動させるもので
あり、駆動回路43はCPU36からの制御信号に応じ
てステッパ42を駆動する。モータ44は駆動回路45
により駆動されて磁気テープ19を走行させ、駆動回路
45はC1)U36からの制御信号に応じてモータ44
を駆動する。この駆動回路45はモータ44の回転を検
出するタコジェネレータを有し、このタコジェネレータ
からのパルスをCPU36に出力する。
The read signal from the reading section 33 having the 14b is amplified by the amplifier 34, and the envelope is detected by the envelope circuit 35.
U) 36 analog/digital (A/D) converter 37
is input. Further, the read signal from the amplifier 34 is frequency-divided by a frequency divider circuit 53, and the CPU 3 (i) counts the read signal from the frequency divider circuit 53 by a counter 54 to determine its frequency. detects the holes 15 to 18 and sends the detection signal to the CPU 3.
)・The rack designation circuit 39 sends a rack signal to the CPU 3 indicating the track designated by the operator.
Enter 6. Lay 1 to circuit 40 are an erasing unit having an erasing gap 12 according to a control signal from the CPU 36, @
Writing section 4 having writing gaps 13a and 13b
1 is selectively driven. The stepper 42 is the magnetic head 11
The drive circuit 43 drives the stepper 42 in response to a control signal from the CPU 36. The motor 44 is a drive circuit 45
The drive circuit 45 drives the motor 44 in response to a control signal from C1) U36.
to drive. This drive circuit 45 has a tacho generator that detects the rotation of the motor 44, and outputs pulses from the tacho generator to the CPU 36.

CPU36はデータ書き込み動作時には駆動回路45に
モータ44を駆動させることによって磁気テープ19を
右方向へ走行させ、ライト回路40を介して磁気ヘッド
11における下側チャンネルの書き込み用ギャップ13
aを有する書き込み部を動作させて磁気テープ19にお
ける上側部分の中央にBOT15より内側からリファレ
ンス信号領域20に特定周波数f0のリファレンス信号
を書き込ませた後にデータ領域10にデータを書き込ま
せる。次にCPU36は磁気テープI9を左方向へ走行
させて磁気ヘッド11における上側チャンネルの書き込
み用ギャップ13bを有する書き込み部を動作させて磁
気テープ19の下側部分に右ける中央のBOT15より
内側のリファレンス信号領域21に特定周波数f0のリ
ファレンス信号を書き込ませた後にデータ領域tlにデ
ータを書き込ませる。次にCPU36は磁気テープ19
を右方向へ走行させて磁気ヘッドHにおける下側チャン
ネルの書き込み用ギャップ13aを有する書き込み部に
て磁気テープ19の上側部分におけるBOT15より内
側のリファレンス信号領域22に特定周波数f1のリフ
ァレンス信号をどき込ませた後にデータ領域t2にデー
タを書き込ませ、磁気テープ19を左方向へ走行させて
磁気ヘッド11における上側チャンネルの書き込み用ギ
ャップ13bを有する書き込み部を動作させて磁気テー
プ19の下側部分におけるBOT15より内側のリファ
レンス信号類h9.23に特定周波数f工のリファレン
ス信号を書き込ませた後にデータ領域t3にデータを書
き込ませる。
During the data write operation, the CPU 36 causes the drive circuit 45 to drive the motor 44 to run the magnetic tape 19 in the right direction, and the write gap 13 of the lower channel of the magnetic head 11 is moved through the write circuit 40.
A writing part having a is operated to write a reference signal of a specific frequency f0 into a reference signal area 20 from inside the BOT 15 at the center of the upper part of the magnetic tape 19, and then data is written into the data area 10. Next, the CPU 36 causes the magnetic tape I9 to travel leftward, operates the writing unit having the writing gap 13b in the upper channel of the magnetic head 11, and writes the reference information inside the central BOT 15 on the right side of the lower part of the magnetic tape 19. After a reference signal of a specific frequency f0 is written in the signal area 21, data is written in the data area tl. Next, the CPU 36 uses the magnetic tape 19.
A reference signal of a specific frequency f1 is sent to the reference signal area 22 in the upper part of the magnetic tape 19 inside the BOT 15 in the upper part of the magnetic tape 19 by running it in the right direction and using the write part having the writing gap 13a in the lower channel of the magnetic head H. After that, data is written in the data area t2, and the magnetic tape 19 is run to the left to operate the writing section having the writing gap 13b in the upper channel of the magnetic head 11, thereby writing the BOT 15 in the lower part of the magnetic tape 19. After a reference signal of a specific frequency f is written in the inner reference signals h9.23, data is written in the data area t3.

以下同様にCPU36は磁気テープ19を右方向と。Similarly, the CPU 36 moves the magnetic tape 19 to the right.

左方向へ交互に走行させながら磁気ヘッド】1により磁
気テープ19の上側部分と下側部分とにおけるリファレ
ンス信号領域24 、25 、・・・31及びデータ領
域t4.t5.・・・tllに特定周波数f工のリファ
レンス信号及びデータを書き込ませ、さらに磁気テープ
19を右方向と、左方向へ交互に走行させながら磁気ヘ
ッド11により磁気テープ19の上側部分と下側部分と
の各データ領域t12.t13.・・・t24にデータ
を書き込ませ、最後に磁気テープ19を右方向へ走行さ
せてリファレンス信号領域32及びデータ領域t25に
特定周波数f1のリファレンス信号及びデータを書き込
ませる。
While running the magnetic head alternately in the left direction, reference signal areas 24, 25, . . . 31 and data area t4. t5. . . . A reference signal and data of a specific frequency f are written in the tll, and the magnetic head 11 is used to write the upper and lower parts of the magnetic tape 19 while running the magnetic tape 19 alternately in the right and left directions. Each data area t12. t13. . . . data is written in t24, and finally the magnetic tape 19 is run rightward to write the reference signal and data of the specific frequency f1 in the reference signal area 32 and data area t25.

また、CPU36はデータ読み取り動作時には駆動回路
43にステッパ42を駆動させることによって磁気ヘッ
ドIIを磁気テープ19の走行方向と直角な方向に移動
させて読み出すべきデータが薯き込まれている目標トラ
ックをシークし、この目標トラックのデータ領域から磁
気ヘッド11における読み取り用ギャップ14a又は1
4bを有する読み取り部にデータを読み取らせてその読
み取り信号を増幅器34、包絡線回路35を介して取り
込み、A/D変換部37でA/D変換して処理する。こ
の場合目標トラックが磁気テープ19の下側部分にあれ
ば磁気テープ19を右方向へ走行させて読み取り用ギャ
ップ14aを有する読み取り部によりデータの読み取り
を行い、目標トラックが磁気テープ19の上側部分にあ
れば磁気テープ19を左方向へ走行させて読み取り用ギ
ャップ14bを有する読み取り部にデータの読み取りを
行わせる。また、CPU36はE” PROMライトモ
ードにて書き込み部41の最適な書き込み電流値を測定
してE’ PRONからなる不揮発性メモリ46に書き
込み、通常モードではこのメモリ46から書き込み電流
値を読み出して書き込み部41の書き込み電流値をライ
ト回路40に設定させる。
Further, during a data reading operation, the CPU 36 causes the drive circuit 43 to drive the stepper 42 to move the magnetic head II in a direction perpendicular to the running direction of the magnetic tape 19 to locate the target track in which the data to be read is written. Seek and read gap 14a or 1 in magnetic head 11 from the data area of this target track.
The data is read by a reading unit having a 4b, and the read signal is taken in via an amplifier 34 and an envelope circuit 35, and is A/D converted by an A/D converter 37 and processed. In this case, if the target track is on the lower part of the magnetic tape 19, the magnetic tape 19 is moved to the right and data is read by the reading section having the reading gap 14a, so that the target track is on the upper part of the magnetic tape 19. If so, the magnetic tape 19 is moved to the left to cause the reading section having the reading gap 14b to read data. In addition, the CPU 36 measures the optimum write current value of the write unit 41 in the E'PROM write mode and writes it into the nonvolatile memory 46 made up of E'PRON, and in the normal mode, reads the write current value from this memory 46 and writes it. The write current value of the section 41 is set in the write circuit 40.

さらに、このデータバックアップ用テープレコーダにお
いては第3図に示すようにA/D変換部37の未使用に
なっていた2つの入力端子^/D I 、 A/D2を
モード設定用の入力端子として用い、入力端子A/Di
、A/D2と5vノ電源との間ニ10にΩの抵抗47 
、118をそれぞれ接続する。入力端子A/I)1とア
ースとの間には10にΩの抵抗49及びリファレンスシ
ークモード設定用スイッチSVIの直列回路と、18に
Ωの抵抗50及びリファレンスシーク周波数チエツクモ
ード設定用スイッチSV2の直列回路とを並列に接続し
、入力端子A/D2とアースとの開には10にΩの抵抗
51及びテープ判別モード設定用スイッチSW3の直列
回路と、18にΩの抵抗52及びE” PROMライト
モード設定用スイッチ5Td4の直列回路とを並列に接
続する。
Furthermore, in this data backup tape recorder, as shown in FIG. 3, the two unused input terminals ^/DI and A/D2 of the A/D converter 37 are used as mode setting input terminals. input terminal A/Di
, a 10Ω resistor 47 between the A/D2 and the 5V power supply.
, 118 are connected to each other. Between the input terminal A/I) 1 and the ground, there is a series circuit of a resistor 49 of 10 Ω and a reference seek mode setting switch SVI, and a series circuit of a resistor 50 of Ω 18 and a switch SV2 for setting the reference seek frequency check mode. A series circuit is connected in parallel with the input terminal A/D2 and the earth, and a series circuit of a 10Ω resistor 51 and a tape discrimination mode setting switch SW3 is connected to the input terminal A/D2 and the ground, and a series circuit of a 18Ω resistor 52 and an E” PROM. The series circuit of the light mode setting switch 5Td4 is connected in parallel.

したがって、第4図(a)(b)に示すように入力端子
A/DIはリファレンスシークモード設定用スイッチS
WI及びリファレンスシーク周波数チエツクモード設定
用スイッチSW2がオフしている時には5Vとなり、リ
ファレンスシークモード設定用スイッチSWIがオンさ
れてリファレンスシーク周波数チエツクモード設定用ス
イッチSW2がオフしている時には2.5vの信号電圧
が入力される。さらにリファレンスシークモード、没定
用スイッチ5tillがオフされていてリファレンスシ
ーク周波数チエツクモード設定用スイッチSW2がオン
された時には3.2Vの信号電圧が入力端子A/DIに
入力され、リファレンスシークモード設定用スイッチ5
till及びリファレンスシーク周波数チエツクモード
設定用スイッチSW2がオンされた時には1.96Vの
信号電圧が入力端子A/DIに入力される。同様に入力
端子A/D2はテープ判別モード設定用スイッチSW3
及びE” PRONライトモード設定用スイッチSW4
がオフしている時には5vとなり、テープ判別モード設
定用スイッチSW3がオンされてE” PROMライト
モード設定用スイッチSW4がオフしている時には2.
5vの信号電圧が入力される。そしてテープ判別モード
設定用スイッチSW3がオフされていてE2PROMラ
イトモード設定用スイッチSW4がオンされた時には3
.2vの信号電圧が入力端子A/DIに入力され、テー
プ判別モード設定用スイッチ5113及びE”PROM
ライトモート設定用スイッチSW4がオンされた時には
1.96Vの(i号電圧が入力端子A/DIに入力され
る。
Therefore, as shown in FIGS. 4(a) and 4(b), the input terminal A/DI is connected to the reference seek mode setting switch S.
When the WI and reference seek frequency check mode setting switch SW2 are off, the voltage is 5V, and when the reference seek mode setting switch SWI is on and the reference seek frequency check mode setting switch SW2 is off, the voltage is 2.5V. A signal voltage is input. Furthermore, when the reference seek mode setting switch 5till is turned off and the reference seek frequency check mode setting switch SW2 is turned on, a signal voltage of 3.2V is input to the input terminal A/DI, and the reference seek mode setting switch SW2 is turned on. switch 5
When the till and reference seek frequency check mode setting switch SW2 is turned on, a signal voltage of 1.96V is input to the input terminal A/DI. Similarly, the input terminal A/D2 is the tape discrimination mode setting switch SW3.
and E” PRON light mode setting switch SW4
When the switch SW3 for setting the tape discrimination mode is turned on and the switch SW4 for setting the E" PROM write mode is turned off, the voltage becomes 5V.
A signal voltage of 5V is input. When the tape discrimination mode setting switch SW3 is turned off and the E2PROM write mode setting switch SW4 is turned on, 3
.. A signal voltage of 2V is input to the input terminal A/DI, and the tape discrimination mode setting switch 5113 and E"PROM
When the light mode setting switch SW4 is turned on, the voltage (i) of 1.96V is input to the input terminal A/DI.

CPU36は2つの入力端子A/Di、A/D2の信号
電圧をA/D変換部37によりディジタル値に変換して
このディジタル値からスイッチSli’l〜SW4で設
定されたモートを認識する。すなわち、CI)tJ36
は第5図に示すようニフラグ5WIF、5Ij2F、5
W3F、SI#/IFをセットして入力端子A/D l
の信号電圧をA / I)変換部37を介して読み込み
、この信号電圧が2.23ν以下ならばフラグ5WIF
、5li12Fをクリアする。またCPU36は入力端
子A/Diの信号電圧が2.23Vより太き(2,85
V以下ならばフラグ5WIFをクリアし。
The CPU 36 converts the signal voltages of the two input terminals A/Di and A/D2 into digital values by the A/D converter 37, and recognizes the mote set by the switches Sli'l to SW4 from this digital value. That is, CI)tJ36
As shown in Figure 5, Nifrag 5WIF, 5Ij2F, 5
Set W3F, SI#/IF and connect input terminal A/D l
The signal voltage is read through the A/I converter 37, and if this signal voltage is 2.23ν or less, the flag 5WIF is set.
, clear 5li12F. In addition, the CPU 36 has a signal voltage of input terminal A/Di that is thicker than 2.23V (2.85V).
If it is less than V, clear flag 5WIF.

入力端子A/DIの信号電圧が2.85Vより太きく4
.1V以下ならばフラグ5Ii12Fをクリアして入力
端子A/DIの信9 N圧が4.1vより大きければそ
のままとする。
If the signal voltage of input terminal A/DI is greater than 2.85V4
.. If it is less than 1V, clear the flag 5Ii12F and leave it as is if the signal 9N voltage of the input terminal A/DI is greater than 4.1V.

同様にCPU36は入力端子A/D2の信号電圧をA/
D変換部37を介して読み込み、この(i号電圧が2゜
2ハ′以ドならばフラグSli’3F、5W4Fをクリ
アする。またC”、 I) tJ :’16は入力端子
A/D2ノ信号電圧が2.2:3Vより太きく 2.8
5V以下ならばフラグ5Ij3Fをクリアし、入力端子
A/D2の信号電圧が2.85Vより人きく 4.1V
以下ならばフラグ5W4Fをクリアして入力端子A/D
2の信号電圧が4.IVより大きければそのままとする
Similarly, the CPU 36 changes the signal voltage of the input terminal A/D2 to A/D2.
It is read through the D converter 37, and if the voltage (i) is equal to or higher than 2°2H', flags Sli'3F and 5W4F are cleared. The signal voltage is thicker than 2.2:3V 2.8
If it is less than 5V, flag 5Ij3F is cleared and the signal voltage of input terminal A/D2 is higher than 2.85V. 4.1V
If below, clear flag 5W4F and input terminal A/D
2 signal voltage is 4. If it is larger than IV, leave it as is.

そして第6図に示すようにCPU36はフラグ5III
Fがセラ1へされている時にはリファレンスシークモー
ド設定用スイッチSWIがオンされたと認識してリファ
レンスシークモードと判定し、リファレンス信号領域の
シーク(リファレンスシーク)を行う。
Then, as shown in FIG.
When F is set to cellar 1, it is recognized that the reference seek mode setting switch SWI is turned on, the reference seek mode is determined, and a seek in the reference signal area (reference seek) is performed.

またCPU36はフラグ5W2Fがセットされている時
にはりファレンスシーク周波数チエツクモード設定用ス
イッチSW2がオンされたと認識してリファレンスシー
ク周波数チエツクモードと判定し、リファレンス信号領
域から読み取ったリファレンス信号の周波数チエツクを
行う。次にCPU36はフラグ5W3Fがセットされて
いる時にはテープ判別モード設定用スイッチ5113が
オンされたと認識してテープ判別モードと判定し、磁気
テープI9の種類を判別する。さらにCPU36はフラ
グS l&′4 Fがセットされている時にはE2PR
OMライトモード設定用スイッチ5li14がオンされ
たと認識して[i21’ROMライトモードと判定し、
書き込み部41の最適なよき込み電流値を測定してE2
PROM46にI)き込む。
Further, when the flag 5W2F is set, the CPU 36 recognizes that the reference seek frequency check mode setting switch SW2 is turned on, determines that the mode is the reference seek frequency check mode, and performs a frequency check of the reference signal read from the reference signal area. . Next, when the flag 5W3F is set, the CPU 36 recognizes that the tape discrimination mode setting switch 5113 is turned on, determines the tape discrimination mode, and discriminates the type of magnetic tape I9. Furthermore, the CPU 36 executes E2PR when the flag S1&'4F is set.
Recognizes that the OM write mode setting switch 5li14 is turned on and selects [i21' ROM write mode].
E2 by measuring the optimum current value of the writing section 41.
Write I) into PROM46.

なお、」二連の例はスイッチSWI〜SW4で4つのモ
ードを設定したが、スイッチ5lll−5Ij4で16
のモトを設定することもでき、またA / I)変換部
37の外付は回路を変更してさらに多くのモードを設定
することもできる。また、本発明はキーボード等のスイ
ッチ回路による複数の信号をA / D変換部を介して
CPUに入力する場合にも同様に適用することができ、
A/D変換部はCI) TJと別体であってもよい。
In addition, in the example of "double series", four modes were set with switches SWI to SW4, but 16 modes were set with switches 5lll-5Ij4.
It is also possible to set more modes by changing the external circuit of the A/I converter 37. Furthermore, the present invention can be similarly applied to the case where a plurality of signals from a switch circuit such as a keyboard are input to the CPU via an A/D converter.
The A/D converter may be separate from the CI) TJ.

〔発明の効果〕〔Effect of the invention〕

以−Eのように本発明によれば信号のアナログ/ディジ
タル変換を行うアナログ/ディジタル変換部を有する装
置において、複数個のスイッチのオン/オフ状態に応じ
てこの複数個のスイッチの数より少数の信号を生成して
@記アナログ/ディジタル変換部に入力するスイッチ回
路と、このスイッチ回路から前記アナログ/ディジタル
変換部を介して入力された信号より前記複数個のスイッ
チのオン/オフ状態を認識する認識手段とを備えたので
、入力信号の数に比べて入力端子の数を少なくでき、入
力端子を拡張する回路を少なくしたり削除したりするこ
とが可能になる。
According to the present invention, as shown in E-E, in a device having an analog/digital converter that performs analog/digital conversion of a signal, the number of switches is smaller than the number of the plurality of switches depending on the on/off state of the plurality of switches. a switch circuit that generates a signal and inputs it to the analog/digital converter; and a signal input from the switch circuit through the analog/digital converter to recognize the on/off states of the plurality of switches. Since the present invention is provided with a recognition means for recognizing input terminals, the number of input terminals can be reduced compared to the number of input signals, and the number of circuits for extending the input terminals can be reduced or eliminated.

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

第1図は本発明を示すブロック図、第2図は本発明を応
用したデータバックアップ用テープレコーダの一例の回
路構成を示すブロック図、第3図は同テープレコーダの
一部を示す回路図、第4図(a)(b)は同テープレコ
ーダにおけるA/D変換部の入力電圧とモード設定用ス
イッチの状態との関係を示す図、第5図及び第6図は同
テープレコーダにおけるCPUの処理フローの一部を示
すフローチャート、第7図は磁低テープの一例を示す平
面図、第8図は磁気ヘッドの一例を示す正面図である。 l・・・アナログ/ディジタル変換部、2・・・スイッ
チ回路、3・・・認識手段。 あl 形Zロ アyF)δ 口 v)40 ra) (i) 形l 壱 /q )6 図
FIG. 1 is a block diagram showing the present invention, FIG. 2 is a block diagram showing the circuit configuration of an example of a data backup tape recorder to which the present invention is applied, and FIG. 3 is a circuit diagram showing a part of the tape recorder. Figures 4(a) and 6(b) are diagrams showing the relationship between the input voltage of the A/D converter and the state of the mode setting switch in the same tape recorder, and Figures 5 and 6 are diagrams showing the relationship between the input voltage of the A/D converter and the state of the mode setting switch in the same tape recorder. FIG. 7 is a plan view showing an example of a magnetic tape, and FIG. 8 is a front view showing an example of a magnetic head. l...Analog/digital conversion unit, 2...Switch circuit, 3...Recognition means. A l form Z lower y F) δ mouth v) 40 ra) (i) form l 1/q ) 6 Fig.

Claims (1)

【特許請求の範囲】[Claims]  信号のアナログ/ディジタル変換を行うアナログ/デ
ィジタル変換部を有する装置において、複数個のスイッ
チのオン/オフ状態に応じてこの複数個のスイッチの数
より少数の信号を生成して前記アナログ/ディジタル変
換部に入力するスイッチ回路と、このスイッチ回路から
前記アナログ/ディジタル変換部を介して入力された信
号より前記複数個のスイッチのオン/オフ状態を認識す
る認識手段とを備えたことを特徴とする入力回路。
In a device having an analog/digital converter that performs analog/digital conversion of a signal, the analog/digital conversion is performed by generating fewer signals than the number of the plurality of switches according to the on/off states of the plurality of switches. and a recognition means for recognizing the on/off states of the plurality of switches from a signal input from the switch circuit via the analog/digital converter. input circuit.
JP1153698A 1989-06-16 1989-06-16 Input circuit Pending JPH0319012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1153698A JPH0319012A (en) 1989-06-16 1989-06-16 Input circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1153698A JPH0319012A (en) 1989-06-16 1989-06-16 Input circuit

Publications (1)

Publication Number Publication Date
JPH0319012A true JPH0319012A (en) 1991-01-28

Family

ID=15568166

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1153698A Pending JPH0319012A (en) 1989-06-16 1989-06-16 Input circuit

Country Status (1)

Country Link
JP (1) JPH0319012A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5972507A (en) * 1982-10-20 1984-04-24 Ricoh Co Ltd Input device of on/off signal
JPS63206819A (en) * 1987-02-23 1988-08-26 Minolta Camera Co Ltd Key input device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5972507A (en) * 1982-10-20 1984-04-24 Ricoh Co Ltd Input device of on/off signal
JPS63206819A (en) * 1987-02-23 1988-08-26 Minolta Camera Co Ltd Key input device

Similar Documents

Publication Publication Date Title
KR19980042872A (en) Recording playback method and recording playback device
JPH0319012A (en) Input circuit
EP0115212B1 (en) Signal processing circuits
US4933619A (en) Stepping motor servo control system for a floppy disk drive
JPS6185629A (en) Double cassette tape recorder
JPH0576107B2 (en)
JPH035904A (en) Magnetic recorder
JPS5948819A (en) Tracking device
SU539312A1 (en) A device for recording speech on magnetic media
JPH0210588Y2 (en)
JPS61129756A (en) Operating device of tape recorder
JP2564878B2 (en) Multi-mode magnetic recording device
JPS6060022U (en) Cassette recorder
JPH03260970A (en) Position controller for magnetic head in disk device
JPS5884636U (en) Tape recorder tape travel control device
JPS6190021U (en)
JPS5812106A (en) Magnetic recorder and reproducer
GB2163589A (en) Control system for controlling multi-track recording head device
JPS5911502A (en) Circuit for detecting power supply off
Strickland Speed, Pitch and Tension Revisited
JPS60150260A (en) Servo circuit of magnetic recording and reproducing device
JPH0313642B2 (en)
JPS62229561A (en) Reel motor control circuit for tape recorder
JPS5925632U (en) tape recorder
JPS58200448A (en) Magnetic tape device