Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0370247B2 - - Google Patents
[go: Go Back, main page]

JPH0370247B2 - - Google Patents

Info

Publication number
JPH0370247B2
JPH0370247B2 JP60031915A JP3191585A JPH0370247B2 JP H0370247 B2 JPH0370247 B2 JP H0370247B2 JP 60031915 A JP60031915 A JP 60031915A JP 3191585 A JP3191585 A JP 3191585A JP H0370247 B2 JPH0370247 B2 JP H0370247B2
Authority
JP
Japan
Prior art keywords
unit
connector
connection
receiver
driver
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
Application number
JP60031915A
Other languages
Japanese (ja)
Other versions
JPS61193225A (en
Inventor
Hideyuki Tayama
Keiji Sadai
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60031915A priority Critical patent/JPS61193225A/en
Publication of JPS61193225A publication Critical patent/JPS61193225A/en
Publication of JPH0370247B2 publication Critical patent/JPH0370247B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔目的〕 概 要 産業上の利用分野 従来の技術 発明が解決しようとする問題点 問題点を解決するための手段(第1図) 作 用 実施例 (a) 第1の実施例の説明(第2図) (b) 第2の実施例の説明(第3図) (c) 本発明の適用例ユニツトの説明(第4図、第
5図) (d) 本発明の応用例の説明(第6図) 発明の効果 〔概要〕 一対のユニツトがコネクタによつて接続された
ことを検出するユニツト間接続検出方式であつ
て、一方のユニツトの接続検出用ドライバと他方
のユニツトの接続検出用レシーバとがコネクタ接
続されることによつて当該ドライバに流れる電流
を検出する電流検出回路を設け、電流検出回路の
出力によつてドライバ側のユニツトのための接続
検出信号を発して、一本の信号線で両ユニツトが
コネクタ接続されたことを検出しうるようにした
ものである。
[Detailed Description of the Invention] [Purpose] Overview Industrial Field of Use Conventional Technology Problems to be Solved by the Invention Means for Solving the Problems (Figure 1) Working Example (a) Part 1 (Fig. 2) (b) Description of the second embodiment (Fig. 3) (c) Description of the application example unit of the present invention (Fig. 4, Fig. 5) (d) The present invention Description of an application example (Fig. 6) Effects of the invention [Summary] This is an inter-unit connection detection method for detecting that a pair of units are connected by a connector, in which a connection detection driver for one unit and a connection detection driver for the other unit are connected. A current detection circuit is provided to detect the current flowing through the driver when the connection detection receiver of the unit is connected with the connector, and a connection detection signal for the driver side unit is generated by the output of the current detection circuit. This makes it possible to detect that both units are connected to the connector using a single signal line.

〔産業上の利用分野〕[Industrial application field]

本発明が、一対の装置等のユニツトがコネクタ
によつて接続されることを電気的に検出するため
のユニツト間接続検出方式に関し、特に、一本の
信号線で両ユニツトが接続されたことを検出しう
るユニツト間接続検出方式に関する。
The present invention relates to an inter-unit connection detection method for electrically detecting that a pair of units such as devices are connected by a connector, and particularly for detecting that both units are connected by a single signal line. This invention relates to a method for detecting connections between units.

ユニツト間をコネクタによつて接続することは
広く行われている。例えば、携帯型のデータ入力
装置(ユニツト)を、プリンタ装置(ユニツト)
にコネクタ接続して、データ入力ユニツトの入力
データをプリンタユニツトで印刷出力したり、通
信装置(ユニツト)にコネクタ接続して、データ
入力ユニツトの入力データを通信ユニツトを介し
回線へ送信し、ホストコンピユータ等と通信を行
う。
Connecting units using connectors is widely practiced. For example, a portable data input device (unit) can be used as a printer device (unit).
Connect the connector to the data input unit to print out the input data from the data input unit to the printer unit, or connect the connector to the communication device (unit) to send the input data from the data input unit to the line via the communication unit and send it to the host computer. Communicate with others.

このようなユニツト間がコネクタ接続された際
には、両ユニツトが電気的な接続検出信号を受け
て、両ユニツト自身が接続を確認してから、コネ
クタを介しデータのやりとりが行われる。
When such units are connected by a connector, both units receive an electrical connection detection signal, and after both units themselves confirm the connection, data is exchanged via the connector.

〔従来の技術〕[Conventional technology]

第7図は、従来の接続検出方式の説明図であ
り、第1のユニツト(例えば、プリンタ装置)1
と第2のユニツト(例えば、データ入力装置)2
とが各々のコネクタC1,C2で接続された状態
を示している。第1のユニツト1には、相手側
(第2のユニツト2)に接続出力を発する第1の
ドライバDV1と、相手側からの接続出力を受
け、接続検出を行う第1のレシーバRV1とが設
けられ、第2のユニツト2には、第1のユニツト
1からの接続出力を受け、接続検出を行う第2の
レシーバRV2と、第1のユニツト1へ接続出力
を発する第2のドライバDV2とが設けられてい
る。
FIG. 7 is an explanatory diagram of a conventional connection detection method, in which a first unit (for example, a printer device) 1
and a second unit (e.g. data input device) 2
This shows a state in which these are connected through their respective connectors C1 and C2. The first unit 1 is provided with a first driver DV1 that issues a connection output to the other party (second unit 2), and a first receiver RV1 that receives the connection output from the other party and detects the connection. The second unit 2 includes a second receiver RV2 that receives the connection output from the first unit 1 and performs connection detection, and a second driver DV2 that issues the connection output to the first unit 1. It is provided.

第1及び第2のドライバDV1,DV2ともハ
イ又はローレベルの接続出力を発するように構成
されており、図の例では、ドライバDV1,DV
2は+Vccの電圧が印加され、反転(インバー
ト)回路で構成されているから、接続出力はロー
レベルとなる。これに応じてレシーバRV1,
RV2も反転回路で構成され、入力側は+Vccの
ハイレベルにセツトされており、非接続時には接
続検出信号S1,S2ともローレベルである。
Both the first and second drivers DV1 and DV2 are configured to emit high or low level connection outputs, and in the example shown, the drivers DV1 and DV
2 is applied with a voltage of +Vcc and is constituted by an inverting circuit, so the connected output becomes a low level. Accordingly, receiver RV1,
RV2 is also constituted by an inverting circuit, and its input side is set to a high level of +Vcc, and when disconnected, both connection detection signals S1 and S2 are at a low level.

この状態で第7図の如くコネクタC1,C2が
接続され、各ドライバDV1,DV2と各レシー
バRV1,RV2がコネクタC1,C2の一対の
セツト信号ピンによつて接続されると、ドライバ
DV1,DV2のローレベルによつてレシーバRV
1,RV2の入力側がハイレベルからローレベル
に変わり、レシーバRV1,RV2の出力である
接続検出信号S1,S2がハイレベルとなる。
In this state, the connectors C1 and C2 are connected as shown in FIG. 7, and when each driver DV1 and DV2 and each receiver RV1 and RV2 are connected by a pair of set signal pins of connectors C1 and C2, the driver
Receiver RV depending on the low level of DV1 and DV2
1, the input side of RV2 changes from high level to low level, and connection detection signals S1 and S2, which are the outputs of receivers RV1 and RV2, become high level.

従つて、第1のユニツト1及び第2のユニツト
2の内部回路は各々の接続検出信号S2,S1に
よつてコネクタ接続されたこと認識し、コネクタ
C1,C2の他のピンを介して内部回路同志でデ
ータのやりとりを行う。
Therefore, the internal circuits of the first unit 1 and the second unit 2 recognize that the connectors are connected by the respective connection detection signals S2 and S1, and connect the internal circuits through the other pins of the connectors C1 and C2. Exchange data with colleagues.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このような従来の方式では、両ユニツト1,2
が互いにコネクタ接続されたことを検出するには
少なくとも2本の信号線を必要とする。即ち、コ
ネクタC1,C2の接続ピンの内2本のピンを検
出信号用に割当てる必要があつた。
In such a conventional system, both units 1 and 2
At least two signal lines are required to detect that the two are connected to each other. That is, it was necessary to allocate two pins among the connection pins of the connectors C1 and C2 for detection signals.

一方、コネクタのピン数の少なければ少ない
程、信頼性が高くしかも実装面積も小さくて済
む。又、汎用のコネクタは20ピン、26ピンと規格
化されているから、例えば、他の信号線が19本あ
るときは、21ピンの汎用コネクタはないから、こ
れを特注するか、大きな26ピンのものを用いなけ
ればならない。
On the other hand, the smaller the number of pins in a connector, the higher the reliability and the smaller the mounting area. Also, general-purpose connectors are standardized as 20-pin and 26-pin, so if you have 19 other signal lines, for example, there is no 21-pin general-purpose connector, so you have to custom order one or use a large 26-pin connector. have to use something.

従つて、従来の接続検出方式では、他の信号線
の本数が制限されたり、又は大きなコネクタを用
いる必要がありユニツトの小型化が困難であると
いう問題があり、特に携帯型のデータ入力装置で
は手の平で保持できる程度の大きさであるから、
コネクタによつて小型化ができないという問題も
生じていた。又、コネクタのピン数が多くなり、
信頼性が低下するという問題もあつた。
Therefore, with the conventional connection detection method, there are problems in that the number of other signal lines is limited or it is necessary to use a large connector, making it difficult to miniaturize the unit, especially in portable data input devices. It is small enough to be held in the palm of your hand,
Another problem has arisen in that the connector does not allow miniaturization. Also, the number of pins on the connector increases,
There was also the problem of reduced reliability.

本発明は、接続検出のための信号線数を減少し
て、コネクタを小型化でき且つ信頼性の高い接続
を行いうるユニツト間接続検出方式を提供するこ
とを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide an inter-unit connection detection method that can reduce the number of signal lines for connection detection, downsize the connector, and perform highly reliable connections.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理説明図である。 FIG. 1 is a diagram explaining the principle of the present invention.

図中、第7図で示したものと同一のものは同一
の記号で示してあり、3はドライバであり、第1
のユニツト1に設けられ、この例では−Vccのロ
ーレベル出力を接続出力を発するもの、4は電流
検出回路であり、ドライバ3内に流れる電流を検
出するものであり、その検出結果をレシーバRV
1に与えるものである。
In the figure, the same parts as shown in Fig. 7 are indicated by the same symbols, and 3 is a driver;
4 is a current detection circuit that detects the current flowing in the driver 3, and sends the detection result to the receiver RV.
1.

〔作用〕[Effect]

第1図の如く、第1のユニツト1のコネクタ
CA1と第2のユニツト2のコネクタCA2とが接
続されると、両ユニツト1,2は電気的接続が行
われ、ドライバ3とレシーバRV2とが接続され
る。これによつて、従来例で説明した如くレシー
バRV2の入力側は+Vccのハイレベルからロー
レベルに変化し、レシーバRV2の出力である接
続検出信号S1はローレベルからハイレベルへ変
化して第2のユニツト2で接続検出が認識され
る。この時、レシーバRV2の入力側が接続によ
つてハイレベルからローレベルへ変化するという
ことは、接続によつて第2のユニツト2の+Vcc
からコネクタCA2,CA1を介しドライバ3より
−Vccへ到る電流ルートが形成されるということ
であり、従つてドライバ3に接続によつて電流i
が流れる。このため、電流検出回路4がドライバ
3に電流が流れたか否かを検出すれば、ユニツト
1でも接続検出が可能であり、電流検出回路4の
出力でレシーバDV1より接続検出信号S1を得
ることができ、第1のユニツト1でも1本の信号
線で接続検出が認識できる。
As shown in Figure 1, the connector of the first unit 1
When CA1 and connector CA2 of the second unit 2 are connected, both units 1 and 2 are electrically connected, and the driver 3 and receiver RV2 are connected. As a result, as explained in the conventional example, the input side of the receiver RV2 changes from the high level of +Vcc to the low level, and the connection detection signal S1, which is the output of the receiver RV2, changes from the low level to the high level and the second The connection detection is recognized by unit 2. At this time, the input side of the receiver RV2 changes from high level to low level due to the connection, which means that the +Vcc of the second unit 2 changes due to the connection.
This means that a current route is formed from the driver 3 to -Vcc via the connectors CA2 and CA1. Therefore, by connecting the driver 3, a current i
flows. Therefore, if the current detection circuit 4 detects whether or not current flows through the driver 3, the unit 1 can also detect the connection, and the connection detection signal S1 can be obtained from the receiver DV1 with the output of the current detection circuit 4. Therefore, even the first unit 1 can recognize the connection detection using one signal line.

〔実施例〕〔Example〕

(a) 第1の実施例の説明。 (a) Description of the first embodiment.

第2図は本発明の第1の実施例構成図であ
る。
FIG. 2 is a block diagram of a first embodiment of the present invention.

図中、第7図及び第1図に示したものは同一
の記号で示してあり、40はフオトカプラであ
り、発光ダイオード40bとフオトトランジス
タ40aとで構成され、発光ダイオード40b
に電流が流れる発光ダイオード40bが発光
し、フオトトランジスタ40aをオンにするも
の、R7は分圧抵抗であり、一端に+5Vの電
位が与えられ、他端がフオトトランジスタ40
aのコレクタに接続され、フオトトランジスタ
40aの接続点にレシーバRV1が接続されて
いるもの、R5はドライブ抵抗であり、−12V
の電位に発光ダイオード40bを介し接続さ
れ、他端(コネクタCA1)側に負(ローレベ
ル)の電位を与えるものである。R6は分圧抵
抗であり、一端が分圧抵抗R2及びレシーバ
RV2に接続されているもの、D2はダイオー
ドであり、コネクタCA2より+5V(+Vcc)
より大なる電位が付与されてレシーバRV2が
破壊されるのを防止するもの、D1はダイオー
ドであり、ダイオードD2に接続され、接続時
にコネクタCA2側をおよそ接地電位に保つも
のである。
In the figure, the components shown in FIG. 7 and FIG.
The light emitting diode 40b through which current flows emits light and turns on the phototransistor 40a. R7 is a voltage dividing resistor, one end of which is given a potential of +5V, and the other end of which is connected to the phototransistor 40a.
R5 is a drive resistor, and -12V
It is connected to the potential of the light emitting diode 40b via the light emitting diode 40b, and a negative (low level) potential is applied to the other end (connector CA1) side. R6 is a voltage dividing resistor, and one end is connected to the voltage dividing resistor R2 and the receiver.
What is connected to RV2, D2 is a diode, +5V (+Vcc) from connector CA2
D1 is a diode that prevents the receiver RV2 from being destroyed by application of a larger potential, and is connected to the diode D2 to maintain the connector CA2 side at approximately ground potential when connected.

次に、第2図実施例の構成の動作について説
明する。
Next, the operation of the configuration of the embodiment shown in FIG. 2 will be explained.

第1のユニツト1と第2のユニツト2とがコ
ネクタCA1,CA2によつて接続されると、ド
ライバ3よりドライブ抵抗R5を介し−12Vよ
り負の電位(ローレベル)が第2のユニツト2
側へ与えられる。これによつて、第2のユニツ
ト2のレシーバRV2の入力側とドライバ3の
出力側とが電気的に接続され、第2のユニツト
2より+5Vから抵抗2,R6、ダイオードD
2を介し電流i1が、接地されたダイオードD1
より電流i2が第1のユニツト1へ流れる。この
ため、第1のユニツト1では、抵抗R5を介し
発光ダイオード40bに電流i1とi2の和に相当
する電流i3が流れる。
When the first unit 1 and the second unit 2 are connected by the connectors CA1 and CA2, a potential (low level) more negative than -12V is applied from the driver 3 to the second unit 2 via the drive resistor R5.
given to the side. As a result, the input side of the receiver RV2 of the second unit 2 and the output side of the driver 3 are electrically connected, and +5V is applied from the second unit 2 to the resistor 2, R6, and the diode D.
2 through the grounded diode D1 .
More current i 2 flows to the first unit 1. Therefore, in the first unit 1, a current i 3 corresponding to the sum of currents i 1 and i 2 flows through the light emitting diode 40b via the resistor R5.

これにより発光ダイオード40bは発光し、
フオトトランジスタ40aをオンし、フオトト
ランジスタ40aのコレクタ側をローレベルに
する。フオトトランジスタ40aがオフでは、
フオトトランジスタ40aのコレクタ側、即
ち、レシーバRV1の入力はハイレベルである
から、フオトトランジスタ40aのオンによつ
てレシーバRV1の入力はローレベルとなり、
レシーバRV1の出力である接続検出信号S2
はローレベルからハイレベルに変化し、接続検
出が可能となる。
As a result, the light emitting diode 40b emits light,
The phototransistor 40a is turned on, and the collector side of the phototransistor 40a is set to a low level. When the phototransistor 40a is off,
Since the collector side of the phototransistor 40a, that is, the input of the receiver RV1 is at a high level, the input of the receiver RV1 becomes a low level when the phototransistor 40a is turned on.
Connection detection signal S2 which is the output of receiver RV1
changes from low level to high level, allowing connection detection.

一方、第2のユニツト2では、レシーバRV
2の入力が+5Vによるハイレベルからローレ
ベルに変化し、その出力である接続検出信号S
1はローレベルからハイレベルに変化し、接続
検出が可能となる。
On the other hand, in the second unit 2, the receiver RV
2 input changes from high level to low level due to +5V, and its output is connection detection signal S.
1 changes from low level to high level, allowing connection detection.

このようにして、ドライバ側の第1のユニツ
ト1とレシーバ側の第2のユニツト2とがコネ
クタ接続された際に、第2のユニツト2から第
1のユニツト1へ流れる電流を検出してドライ
バ側の第1のユニツト1で接続検出信号S1の
出力ができる。又、非接続時には、第2のユニ
ツト2のコネクタCA2のピンに人間の手が触
れてもダイオードD1によつて接地電位が保た
れるので、レシーバRV2の入力電位は変化せ
ず誤動作が防止しうる。又、第1のユニツト1
のコネクタCA1のピンに人間の手が触れて接
地されて、発光ダイオード40bに電流が流れ
ても、その程度の電流値(i2に相当)では発光
しないので、誤動作が生じない。
In this way, when the first unit 1 on the driver side and the second unit 2 on the receiver side are connected, the current flowing from the second unit 2 to the first unit 1 is detected and the driver The first unit 1 on the side can output a connection detection signal S1. In addition, when disconnected, the ground potential is maintained by the diode D1 even if a human hand touches the pin of the connector CA2 of the second unit 2, so the input potential of the receiver RV2 does not change and malfunctions are prevented. sell. Also, the first unit 1
Even if a human hand touches the pin of the connector CA1 and it is grounded, and a current flows through the light emitting diode 40b, no malfunction will occur because no light will be emitted at that current value (corresponding to i2 ).

前述のフオトカプラ40はリレー等のスイツ
チング手段であつてもよく、発光ダイオード4
0bをコイル、フオトトランジスタ40aをリ
レー接点とすれば同様に実現できる。
The photocoupler 40 described above may be a switching means such as a relay, and the photocoupler 40 may be a switching means such as a relay.
The same can be achieved by using 0b as a coil and the phototransistor 40a as a relay contact.

(b) 第2の実施例の説明。(b) Description of the second embodiment.

第3図は本発明の第2の実施例の構成図であ
る。
FIG. 3 is a block diagram of a second embodiment of the present invention.

図中、第7図、第1図及び第2図で示したも
のと同一のものは同一の記号で示してあり、R
8はドライブ抵抗であり、フオトカプラ40の
発光ダイオード40bと+5Vの電位源との間
に設けられ、ハイレベルの接続出力を発するた
めのもの、5はフオトカプラであり、コネクタ
CA2と接地間に接続され発光ダイオード50
bと、レシーバRV2の入力側と接地間に接続
されたフオトトランジスタ50aとで構成され
ているものである。この例では、第1のユニツ
ト1のドライバ3からハイレベルの接続出力を
発するように構成されている。
In the figure, the same parts as those shown in Fig. 7, Fig. 1, and Fig. 2 are indicated by the same symbols, and R
8 is a drive resistor, which is provided between the light emitting diode 40b of the photocoupler 40 and the +5V potential source, and is used to generate a high-level connection output; 5 is a photocoupler, and the connector
Light emitting diode 50 connected between CA2 and ground
b, and a phototransistor 50a connected between the input side of the receiver RV2 and ground. In this example, the driver 3 of the first unit 1 is configured to output a high level connection output.

第3図構成の動作について説明する。 The operation of the configuration shown in FIG. 3 will be explained.

第1のユニツト1及び2が接続してない時に
は、第1のユニツト1の発光ダイオード40b
のコネクタ側が浮いており、発光ダイオード4
0bに電流が流れないから、レシーバRV1の
入力はハイレベルであり、一方、第2のユニツ
ト2の発光ダイオード50bも発光しないか
ら、レシーバRV2の入力はハイレベルであ
る。従つて両レシーバRV1,RV2の出力は
ローレベルである。
When the first units 1 and 2 are not connected, the light emitting diode 40b of the first unit 1
The connector side of the light emitting diode 4 is floating.
Since no current flows through 0b, the input to the receiver RV1 is at a high level. On the other hand, since the light emitting diode 50b of the second unit 2 also does not emit light, the input to the receiver RV2 is at a high level. Therefore, the outputs of both receivers RV1 and RV2 are at low level.

一方、第1のユニツト1及び2がコネクタ
CA1,CA2によつて接続されると、第1のユ
ニツトのフオトカプラ40、5間、即ち発光ダ
イオード40bと発光ダイオード50bとが接
続される。このため、両発光ダイオード40
b,50bに第1のユニツト1から第2のユニ
ツト2方向の電流i4が流れ、両発光ダイオード
40b,50bが発光し、各々フオトトランジ
スタ40a,50aをオンする。従つて、レシ
ーバRV1の入力はローレベル、レシーバRV
2の入力はローレベルとなり、両レシーバRV
1,RV2の出力はハイレベルとなり、各々の
ユニツト1,2で接続検出信号S1,S2が得
られる。
On the other hand, the first units 1 and 2 are
When connected by CA1 and CA2, the photocouplers 40 and 5 of the first unit, that is, the light emitting diode 40b and the light emitting diode 50b are connected. Therefore, both light emitting diodes 40
A current i 4 from the first unit 1 to the second unit 2 flows through the transistors b and 50b, causing both the light emitting diodes 40b and 50b to emit light, turning on the phototransistors 40a and 50a, respectively. Therefore, the input of receiver RV1 is low level, and the input of receiver RV1 is low level.
2 input becomes low level, both receivers RV
The outputs of units 1 and RV2 become high level, and connection detection signals S1 and S2 are obtained from each unit 1 and 2.

第1の実施例と同様フオトカプラ40,5を
リレー等のスイツチング素子で構成してもよ
い。
As in the first embodiment, the photocouplers 40 and 5 may be constructed from switching elements such as relays.

(c) 本発明を適用したユニツトの説明。(c) Description of the unit to which the invention is applied.

第4図及び第5図は本発明が適用されるユニ
ツトの構成図であり、第4図はデータ入力装置
及びプリンタ装置の構成図であり、第5図はそ
れらに設けられたコネクタの構成図である。
4 and 5 are configuration diagrams of a unit to which the present invention is applied, FIG. 4 is a configuration diagram of a data input device and a printer device, and FIG. 5 is a configuration diagram of a connector provided therein. It is.

第4図A中、6はデータ入力装置であり、内
部に動作用電池(バツテリー)と、プロセツサ
(MPU)と、メモリ(RAM)及びインターフ
エイス回路とを有し、後述するキー部から入力
されたデータをプロセツサの制御により、メモ
リに格納して保持しておくもの、60は本体で
あり、61はパワースイツチであり、本体60
の上面上部に設けられ、電源投入/切断を行う
ためのスイツチであり、62はデイスプレイで
あり、液晶デイスプレイで構成され、本体60
の上面上部に設けられ、入力されたデータ等を
表示するもの、63はキー部であり、テンキー
「0」〜「9」、入力指示キー「ENTER」の他
に、必要なアルフアベツトキー及びフアンクシ
ヨンキーが設けられており、テンキー及びアル
フアベツトキーでデータを入力し、「ENTER」
キー及びフアンクシヨンキーで機能を入力する
もの、7はコネクタであり、本体60の側面に
設けられ、外部機器と接続してデータ、コマン
ドのやりとりを行うためのものであり、第5図
Aにて後述するものである。
In FIG. 4A, 6 is a data input device, which internally has an operating battery, a processor (MPU), a memory (RAM), and an interface circuit, and receives input from a key section to be described later. 60 is a main body, and 61 is a power switch;
It is a switch provided on the upper part of the top surface for turning on/off the power, and 62 is a display, which is composed of a liquid crystal display, and the main body 60
63 is a key section provided at the upper part of the top surface that displays input data, etc. In addition to the numeric keys "0" to "9" and the input instruction key "ENTER", it also has the necessary alphanumeric keys and a fan. A cushion key is provided, so enter data using the numeric keypad and alphanumeric key, and press "ENTER".
A connector 7 is provided on the side of the main body 60 and is used to connect with external equipment to exchange data and commands. This will be explained later.

又、第4図B中、8はプリンタ装置であり、
データ入力装置6からデータを処理して伝票等
を印刷発行するものであり、81は蓋であり、
常時は閉じており、データ入力装置6との接続
のため解放(図の状態)されるもの、82はホ
ルダであり、プリンタ装置8内で回動自在に支
持され、接続のため挿入されるデータ入力装置
6を保持するものであり、底面部82aにデー
タ入力装置6のコネクタ7と接続されるべきコ
ネクタ(第5図Bにて後述)9を有しているも
の、83はプリンタユニツトであり、内部にプ
ロセツサ(MPU)及びメモリ(RAM)と、
プリンタを有し、伝票印刷発行を行うもの、8
4は伝票排出口であり、プリンタによつて印刷
された伝票が排出されるものである。
Also, in FIG. 4B, 8 is a printer device,
It processes data from the data input device 6 and prints and issues slips, etc. 81 is a lid;
82 is a holder which is normally closed and opened for connection to the data input device 6 (as shown in the figure), and which is supported rotatably within the printer device 8 and holds data inserted for connection. 83 is a printer unit that holds the input device 6 and has a connector (described later in FIG. 5B) 9 on the bottom portion 82a to be connected to the connector 7 of the data input device 6. , an internal processor (MPU) and memory (RAM),
Those that have a printer and print and issue slips, 8
Reference numeral 4 denotes a slip ejection port through which the slip printed by the printer is ejected.

係るユニツトの使用例を説明すると、商品運
搬用のトラツク等の車両にプリンタ装置8が設
けられ、例えば車両の室内の上部に固定され、
オペレータは取引先(スーパーマーケツト等)
においてデータ入力装置6を手に持つて商品を
確認しながら、商品の品種及び数量等をキー部
63を操作してデイスプレイ62で入力データ
を確認する。入力データはデータ入力装置6内
のプロセツサで処理されメモリに格納される。
そして、オペレータは車両に戻り、プリンタ装
置8の扉81を開き、データ入力装置6をホル
ダ82に挿入し、データ入力装置6のコネクタ
7とホルダ82のコネクタ9とを接続せしめ
る。
To explain an example of the use of such a unit, a printer device 8 is installed in a vehicle such as a truck for transporting goods, and is fixed to the upper part of the interior of the vehicle, for example.
Operator is a business partner (supermarket, etc.)
While checking the product by holding the data input device 6 in hand, the user operates the key section 63 to enter the product type, quantity, etc., and confirms the input data on the display 62. The input data is processed by a processor within the data input device 6 and stored in memory.
Then, the operator returns to the vehicle, opens the door 81 of the printer device 8, inserts the data input device 6 into the holder 82, and connects the connector 7 of the data input device 6 and the connector 9 of the holder 82.

これによつて、データ入力装置6内のメモリ
の入力データはコネクタ7,9を介しプリンタ
装置8のプロセツサへ伝えられ、プリンタ装置
8のプロセツサの編集結果によりプリンタが動
作して伝票印刷され、印刷伝票が排出口84よ
り排出される。オペレータはこの伝票を取引先
に渡す。又、オペレータが自己の事務所に戻つ
た時に、事務所に設けられた図示しない通信ユ
ニツトにデータ入力装置6を、プリンタ装置8
へ接続と同様に接続し、通信ユニツトを介しホ
ストコンピユータにデータ入力装置6内の入力
データを通信して、集計等に供せしめる。
As a result, the input data in the memory in the data input device 6 is transmitted to the processor of the printer device 8 via the connectors 7 and 9, and the printer operates according to the editing result of the processor of the printer device 8 to print a slip. The slip is discharged from the discharge port 84. The operator hands this slip to the business partner. Further, when the operator returns to his office, he connects the data input device 6 to the communication unit (not shown) provided in the office and the printer device 8.
The input data in the data input device 6 is communicated to the host computer via the communication unit to be used for tabulation and the like.

第5図はこれらユニツトに設けられたコネク
タ7及び9の構成図である。
FIG. 5 is a block diagram of the connectors 7 and 9 provided in these units.

図中、70a,70bはガイド孔であり、プ
リンタ装置8や通信ユニツトに設けられる他方
のコネクタ9の後述する位置合せ用スタツドを
受け入れるためのもの、71a〜71dはリー
ド端子用孔であり、他方のコネクタ9の後述す
る信号線用ピンを各々受け入れ、信号線の電気
的接続を行うためのもの、72は光接続部であ
り、3つの発光素子(発光ダイオード)73
と、6つの受光素子(フオトトランジスタ)7
4とで構成され、後述する他方のコネクタ9の
6つの発光素子及び3つの受光素子と対向して
光結合による信号のやりとりを行うもの、75
はコネクタ支持部であり、ガイド孔70a,7
0b、リード端子用孔71a〜71d光接続部
72とが設けられるものである。
In the figure, 70a and 70b are guide holes for receiving alignment studs (to be described later) of the other connector 9 provided in the printer device 8 and the communication unit, and 71a to 71d are holes for lead terminals; The connector 9 is for receiving the signal line pins described later and electrically connecting the signal lines, 72 is an optical connection part, and three light emitting elements (light emitting diodes) 73
and six light receiving elements (phototransistors) 7
4, which faces the six light emitting elements and three light receiving elements of the other connector 9, which will be described later, and exchanges signals by optical coupling, 75
is a connector support part, and guide holes 70a, 7
0b, lead terminal holes 71a to 71d, and optical connection portions 72 are provided.

90a,90bは位置合せ用スタツドであ
り、データ入力装置6に設けられる一方のコネ
クタ7のガイド孔に挿入されて、コネクタ9の
接続時の保持と位置合せを行うもの、91a〜
91dは信号線用ピンであり、、一方のコネク
タ7のリード端子用孔71a〜71dに挿入さ
れて、信号線の電気的接続を行うもの、92は
光接続部であり、6つの発光素子(発光ダイオ
ード)93と、3つの受光素子(フオトトラン
ジスタ)94とで構成され、一方のコネクタ7
との接続時、各々一方のコネクタ7の6つの受
光素子74と、3つの発光素子73とに対向
し、光結合による信号のやりとりを行うもの、
95はコネクタ支持部であり、位置合せ用スタ
ツド90a,90b、信号線用ピン91a〜9
1d、光接続部92が設けられるものである。
Reference numerals 90a and 90b are positioning studs which are inserted into the guide hole of one connector 7 provided in the data input device 6 to hold and align the connector 9 when connected;
91d is a signal line pin which is inserted into the lead terminal holes 71a to 71d of one connector 7 to electrically connect the signal line, and 92 is an optical connection part that connects the six light emitting elements ( It is composed of a light emitting diode) 93 and three light receiving elements (phototransistors) 94, and one connector 7
When connected to the connector, each of the connectors faces the six light-receiving elements 74 and the three light-emitting elements 73 of one connector 7, and exchanges signals by optical coupling.
Reference numeral 95 denotes a connector support section, which includes alignment studs 90a, 90b and signal line pins 91a to 9.
1d, an optical connection section 92 is provided.

コネクタ7とコネクタ9とを接続するには、
コネクタ9の位置合せ用スタツド90a,90
bがコネクタ7のガイド孔70a,70bに挿
入されるようにデータ入力装置6をプリンタ装
置8のホルダ82に挿入する。
To connect connector 7 and connector 9,
Studs 90a, 90 for positioning the connector 9
The data input device 6 is inserted into the holder 82 of the printer device 8 so that the data input device 6 is inserted into the guide holes 70a, 70b of the connector 7.

これによつてコネクタ9の信号線用ピン91
a〜91dはコネクタ7のリード端子用孔71
a〜71dに挿入され、電気的接続が行われ、
又コネクタ9の光接続部92とコネクタ7の光
接続部72が対向し、その発光素子93はその
受光素子74に、その受光素子94はその発光
素子73に対向し光結合が可能となる。
This allows the signal line pin 91 of the connector 9 to
a to 91d are lead terminal holes 71 of the connector 7
a to 71d, electrical connection is made,
Further, the optical connection part 92 of the connector 9 and the optical connection part 72 of the connector 7 face each other, and the light emitting element 93 faces the light receiving element 74, and the light receiving element 94 faces the light emitting element 73, so that optical coupling is possible.

このような光結合を用いたコネクタにおいて
は、光結合に不向きな電力供給用、接続検出用
及びシグナルグランド用信号線は信号線用ピン
91a〜91dとリード端子用孔71a〜71
dの電気的接続によつて行ない、一方、光結合
のできるデータ線、クロツク線等は光接続部9
2と72との光結合によつて行うようにしてい
る。光結合による接続は、機械的接続による電
気的接続に対し、ピンの摩耗劣化による接続不
良を考慮せずに済むので信頼性の高い接続がで
き、且つ電気的に分離されており端子が露出し
ていないから、静電気の影響による内部回路の
破壊も防止できる。
In a connector using such optical coupling, signal lines for power supply, connection detection, and signal ground, which are unsuitable for optical coupling, are connected to signal line pins 91a to 91d and lead terminal holes 71a to 71.
On the other hand, data lines, clock lines, etc. that can be optically coupled are connected to the optical connection section 9.
This is done by optical coupling between 2 and 72. Compared to electrical connections made by mechanical connections, connections made by optical coupling are more reliable because there is no need to consider connection failures due to wear and deterioration of the pins, and they are electrically isolated and do not expose the terminals. This prevents damage to internal circuits caused by static electricity.

このようなコネクタ7,9において、本発明
によれば、接続検出用には、例えば信号線用ピ
ン91aとリード端子用孔71aとが用いら
れ、1本の信号線が割当てられる。従つて、2
本の信号線を用いないため、コネクタの小型化
が可能となり、しかもピン数の減少で接続の信
頼性も向上する。特に、データ入力装置6はそ
の側面の面積の殆んどが第4図Aの如くコネク
タ7によつて占められるため、コネクタ7の小
型化はデータ入力装置6自体の小型化に寄与す
る。
In such connectors 7 and 9, according to the present invention, for example, a signal line pin 91a and a lead terminal hole 71a are used for connection detection, and one signal line is assigned. Therefore, 2
Since actual signal lines are not used, the connector can be made smaller, and the reduced number of pins also improves the reliability of the connection. In particular, since most of the side surface area of the data input device 6 is occupied by the connector 7 as shown in FIG. 4A, miniaturization of the connector 7 contributes to miniaturization of the data input device 6 itself.

(d) 本発明の応用例の説明。(d) Description of application examples of the invention.

第6図は本発明の応用例を示す構成図であ
り、第5図はコネクタ接続の場合に第3図実施
例構成を組合せたものである。
FIG. 6 is a configuration diagram showing an applied example of the present invention, and FIG. 5 is a combination of the configuration of the embodiment shown in FIG. 3 in the case of connector connection.

図中、第3図及び第4図、第5図に示したも
のと同一のものは同一の記号で示してあり、7
4a〜74fはフオトトランジスタであり、コ
ネクタ7に設けられた6つの受光素子74であ
り、各々コレクタ側が抵抗を介し+5Vの電位
を付与され、エミツタ側がフオトカプラ5に接
続され、コレクタ出力を入力信号RD〜DRと
して出力するものであり、94a〜94cはフ
オトトランジスタであり、コネクタ9に設けら
れた3つの受光素子94であり、各々コレクタ
側が抵抗を介し+5Vの電位を付与され、エミ
ツタ側が電流検出回路4のフオトカプラ40に
接続され、コレクタ出力を入力信号SD〜RSと
して出力するものである。尚、72a,92a
はシグナルグランド(SG)用のピン及びリー
ド端子である。
In the figure, the same parts as those shown in Fig. 3, Fig. 4, and Fig. 5 are indicated by the same symbols.
Reference numerals 4a to 74f are phototransistors, which are six light-receiving elements 74 provided in the connector 7. The collector side of each is given a potential of +5V via a resistor, the emitter side is connected to the photocoupler 5, and the collector output is connected to the input signal RD. 94a to 94c are phototransistors, which are three light receiving elements 94 provided in the connector 9. The collector side of each is given a potential of +5V via a resistor, and the emitter side is a current detection circuit. 4, and outputs the collector output as input signals SD to RS. In addition, 72a, 92a
is the pin and lead terminal for signal ground (SG).

第6図の応用例の動作を説明すると、コネク
タ7とコネクタ9とが接続してない時には、プ
リンタ8の電流検出回路4の発光ダイオード4
0bのコネクタ側91aが浮いており、発光ダ
イオード40bに電流が流れないから、レシー
バRV1の入力はハイレベルであり、一方、デ
ータ入力装置1の発光ダイオード50bも発光
しないから、レシーバRV2の入力はハイレベ
ルである。従つて両レシーバRV1,RV2の
出力はローレベルである。この両レシーバRV
1,RV2の入力がハイレベルということは、
各フオトトランジスタ94a〜94c及び74
a〜74fのエミツタ側がハイレベルであり、
従つて、非接続時に各フオトトランジスタ94
a〜94c、74a〜74fに光が入射してオ
ンとなつても、そのコレクタ出力はハイレベル
である。これによつて非接続時に、外乱光が各
フオトトランジスタ94a〜94c、74a〜
74fに入射しても外乱光による誤動作が防止
できる。
To explain the operation of the application example shown in FIG. 6, when the connector 7 and the connector 9 are not connected, the light emitting diode 4 of the current detection circuit 4 of the printer 8
Since the connector side 91a of 0b is floating and no current flows to the light emitting diode 40b, the input of the receiver RV1 is at a high level.On the other hand, the light emitting diode 50b of the data input device 1 also does not emit light, so the input of the receiver RV2 is It is at a high level. Therefore, the outputs of both receivers RV1 and RV2 are at low level. This both receiver RV
1.If the input of RV2 is high level,
Each phototransistor 94a to 94c and 74
The emitter side of a to 74f is at a high level,
Therefore, each phototransistor 94 when disconnected.
Even when light enters a to 94c and 74a to 74f and they are turned on, their collector outputs are at a high level. As a result, when the phototransistors 94a to 94c and 74a to
Even if the light enters 74f, malfunctions due to disturbance light can be prevented.

一方、データ入力装置6とプリンタ装置8と
がコネクタ7,9によつて接続されると、フオ
トカプラ40、5間、即ち発光ダイオード40
bと発光ダイオード50bとが接続される。こ
のため、両発光ダイオード40b,50bにプ
リンタ8側からデータ入力装置6方向の電流i4
が流れ、両発光ダイオード40b,50bが発
光し、各々フオトトランジスタ40a,50a
をオンする。従つて、レシーバRV1の入力は
ローレベル、レシーバRV2の入力はローレベ
ルとなり、両レシーバRV1,RV2の出力は
ハイレベルとなり、各々のユニツト1,2で接
続検出信号S1,S2が得られる。これととも
に、各フオトトランジスタ94a〜94c,7
4a〜74fのエミツタ側がローレベルとなる
ため、光入射で各フオトトランジスタのコネク
タはローレベルとなる。即ち、この時コネクタ
7,9の接続で、各フオトトランジスタ94a
〜94c,74a〜74fは、相手側の発光ダ
イオード73a〜73c,93a〜93fに対
向した状態となるから、これらの光のみが入射
され、正常な信号伝達が可能となる。
On the other hand, when the data input device 6 and the printer device 8 are connected by the connectors 7 and 9, the light emitting diode 40 is connected between the photo couplers 40 and 5.
b and the light emitting diode 50b are connected. Therefore, current i 4 flows from the printer 8 side to the data input device 6 direction to both the light emitting diodes 40b and 50b.
flows, both light emitting diodes 40b and 50b emit light, and phototransistors 40a and 50a respectively
Turn on. Therefore, the input of receiver RV1 becomes low level, the input of receiver RV2 becomes low level, the outputs of both receivers RV1 and RV2 become high level, and connection detection signals S1 and S2 are obtained from each unit 1 and 2. Along with this, each phototransistor 94a to 94c, 7
Since the emitter side of 4a to 74f is at a low level, the connector of each phototransistor is at a low level when light is incident. That is, at this time, by connecting the connectors 7 and 9, each phototransistor 94a
Since the light emitting diodes 73a to 73c and 93a to 93f on the other side face the light emitting diodes 73a to 73c and 93a to 93f, only these lights are incident, and normal signal transmission is possible.

上述の実施例では、光結合コネクタに適用した
例について説明したが通常の電気コネクタに適用
してもよい。
In the above-mentioned embodiment, an example was explained in which the present invention was applied to an optical coupling connector, but the present invention may also be applied to a normal electrical connector.

以上本発明を実施例により説明したが、本発明
は本発明の主旨に従い種々の変形が可能であり、
本発明からこれらを排除するものではない。
Although the present invention has been described above with reference to examples, the present invention can be modified in various ways according to the gist of the present invention.
These are not excluded from the present invention.

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

以上説明した様に、本発明によれば、1本の信
号線で接続される両ユニツトに接続検知を行わし
めることができるという効果を奏し、コネクタの
ピン数を減少し、コネクタの小型化を達成しうる
という効果を奏する他にピン数の減少によつて信
頼性も向上するという効果も奏する。又、その実
現も容易であるという実用上優れた効果も奏し、
特に小型ユニツトのより一層の小型化に寄与する
ところが大きい。
As explained above, according to the present invention, connection detection can be performed for both units connected by one signal line, and the number of pins of the connector can be reduced and the size of the connector can be reduced. In addition to the effect that this can be achieved, there is also the effect that reliability is improved by reducing the number of pins. In addition, it has excellent practical effects because it is easy to realize.
In particular, it greatly contributes to further miniaturization of small units.

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

第1図は本発明の原理説明図、第2図は本発明
の一実施例構成図、第3図は本発明の他の実施例
構成図、第4図は本発明の適用例ユニツトの構成
図、第5図は第4図構成のコネクタの構成図、第
6図は本発明の応用例構成図、第7図は従来の構
成図である。 図中、1…第1のユニツト、2…第2のユニツ
ト、DV1,DV2,3…ドライバ、4…電流検
出回路、RV1,RV2,…レシーバ、CA1,
CA2,7,9…コネクタ。
Fig. 1 is an explanatory diagram of the principle of the present invention, Fig. 2 is a block diagram of one embodiment of the present invention, Fig. 3 is a block diagram of another embodiment of the present invention, and Fig. 4 is a structure of an application example unit of the present invention. 5 is a block diagram of the connector having the structure shown in FIG. 4, FIG. 6 is a block diagram of an applied example of the present invention, and FIG. 7 is a conventional block diagram. In the figure, 1...first unit, 2...second unit, DV1, DV2, 3...driver, 4...current detection circuit, RV1, RV2,...receiver, CA1,
CA2, 7, 9... Connectors.

Claims (1)

【特許請求の範囲】 1 一方のユニツトと他方のユニツトとがコネク
タによつて接続されたことを該両ユニツトが検出
するためのユニツト間接続検出方式において、 該一方のユニツトに設けられ、ハイ又はローレ
ベルの接続出力を発する接続検出用ドライバと、 該他方のユニツトに設けられ、該コネクタ接続
によつて該ドライバの接続出力によつて出力レベ
ルが変化して該他方のユニツトのための接続検出
信号を発する接続検出用レシーバと、 該ドライバにおける該コネクタ接続による該レ
シーバとの間に流れる電流を検出する電流検出回
路とを有し、 該電流検出回路の出力により該一方のユニツト
のための接続検出信号を発するようにしたことを
特徴とするユニツト間接続検出方式。
[Claims] 1. In an inter-unit connection detection method for one unit and another unit to detect that the two units are connected by a connector, A connection detection driver that emits a low-level connection output; and a connection detection driver that is provided on the other unit and whose output level changes according to the connection output of the driver due to the connector connection. It has a connection detection receiver that emits a signal, and a current detection circuit that detects a current flowing between the receiver and the connector connection in the driver, and the connection for the one unit is determined by the output of the current detection circuit. An inter-unit connection detection method characterized by emitting a detection signal.
JP60031915A 1985-02-20 1985-02-20 Detecting system for inter-unit connection Granted JPS61193225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60031915A JPS61193225A (en) 1985-02-20 1985-02-20 Detecting system for inter-unit connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60031915A JPS61193225A (en) 1985-02-20 1985-02-20 Detecting system for inter-unit connection

Publications (2)

Publication Number Publication Date
JPS61193225A JPS61193225A (en) 1986-08-27
JPH0370247B2 true JPH0370247B2 (en) 1991-11-07

Family

ID=12344273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60031915A Granted JPS61193225A (en) 1985-02-20 1985-02-20 Detecting system for inter-unit connection

Country Status (1)

Country Link
JP (1) JPS61193225A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0731568B2 (en) * 1987-04-27 1995-04-10 株式会社テック Handy terminal
JPS6435426U (en) * 1987-08-28 1989-03-03

Also Published As

Publication number Publication date
JPS61193225A (en) 1986-08-27

Similar Documents

Publication Publication Date Title
US6317839B1 (en) Method of and apparatus for controlling supply of power to a peripheral device in a computer system
US5520470A (en) Portable printer for handheld computer
US4024501A (en) Line driver system
EP0537287A1 (en) Method and coupler for interfacing a portable data carrier with a host processor
JPH08227438A (en) Uniport interface for bar code readers
US6105096A (en) Computer communication using fiber-optic cable
US5654593A (en) External power source on/off control system
JPH0370247B2 (en)
JPH03204713A (en) Power control circuit for input/output interface
JPS61219912A (en) Optical coupling connector
JPS60237585A (en) Memory card
JP2001345881A (en) Electronic device, communication relay device, and multi-function display method
US5670952A (en) Data communication unit
JP2703442B2 (en) Communication interface device for handheld computer
US6508401B1 (en) Aerospatiale matra airbus
JP3946537B2 (en) A system consisting of multiple karaoke song selection remote controllers and a collective cradle
JPH0426903Y2 (en)
JPS61258628A (en) Power source control system for electronic apparatus
JPS6245208Y2 (en)
JPS60219863A (en) Facsimle equipment
JPH05241994A (en) Data processing communication control equipment
JPH0417537B2 (en)
JPH01209812A (en) Isolation type input/output circuit
JPH022281A (en) Communication control equipment
JPH10105301A (en) Electronic equipment

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees