JPH02304662A - Electronic apparatus - Google Patents

Electronic apparatus

Info

Publication number
JPH02304662A
JPH02304662A JP12412689A JP12412689A JPH02304662A JP H02304662 A JPH02304662 A JP H02304662A JP 12412689 A JP12412689 A JP 12412689A JP 12412689 A JP12412689 A JP 12412689A JP H02304662 A JPH02304662 A JP H02304662A
Authority
JP
Japan
Prior art keywords
signal
devices
signal lines
voltage
signal line
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
JP12412689A
Other languages
Japanese (ja)
Inventor
Kenichiro 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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP12412689A priority Critical patent/JPH02304662A/en
Publication of JPH02304662A publication Critical patent/JPH02304662A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mounting Of Printed Circuit Boards And The Like (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は電子機器、特に複数の異なる装置を複数の信号
線からなる共通の信号バスにより並列接続して構成され
る電子機器に関するものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to electronic equipment, and particularly to electronic equipment configured by connecting a plurality of different devices in parallel via a common signal bus consisting of a plurality of signal lines. .

[従来の技術] 従来より、複数の異なる装置を信号バスで並列に接続す
る電子機器の接続方式が知られている。
[Prior Art] Conventionally, there has been known a connection method for electronic devices in which a plurality of different devices are connected in parallel via a signal bus.

このような機器の接続方式としては各種のフロッピーデ
ィスクのインタフェース方式、5C3Iインタフ工−ス
方式などが知られている。
Various floppy disk interface systems, 5C3I interface systems, and the like are known as connection systems for such devices.

この種の接続方式では、主装置となるパーソナルコンピ
ュータなどがある機器の接続の有無を判定するには次の
ような方法が用いられ°ている。
In this type of connection system, the following method is used to determine whether or not a device such as a personal computer serving as a main device is connected.

1)あらかじめある機器が接続されているかどうかを識
別する専用信号線を設ける方法。
1) A method of installing a dedicated signal line in advance to identify whether a certain device is connected.

2)主装置側から機器にソフトウェア的にアクセスして
、その機器が接続されているかどうかを判別する方法。
2) A method of accessing a device from the main device using software and determining whether the device is connected.

[発明が解決しようとする課題] ところが、上記のような従来構成では次のような問題が
ある。
[Problems to be Solved by the Invention] However, the conventional configuration as described above has the following problems.

まず、1)の方式では接続される可能性のある最大の数
に対応する2進数を表現可能なビット数の専用信号線が
必要であり、接続する装置を増やす場合にはこの信号線
もその公理やさなければならない。
First, method 1) requires a dedicated signal line with the number of bits that can express a binary number corresponding to the maximum number of devices that can be connected. It must be an axiom.

また、2)の方法では接続の確認のためにアクセス時間
が必要であり、また接続される機器のアクセス方式によ
っては主装置側からのアクセスが不可能な場合があり、
接続確認が行なえないことがある。
In addition, method 2) requires access time to confirm the connection, and depending on the access method of the connected device, access from the main device may not be possible.
Connection confirmation may not be possible.

本発明の課題は、以上の問題を解決し、システムの拡張
性を損なうことなく、また簡単安価かつ迅速に接続機器
の判別を行なえるようにすることである。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above problems and to enable connected devices to be identified easily, inexpensively, and quickly without impairing the expandability of the system.

[課題を解決するための手段] 以上の課題を解決するために、本発明においては、複数
の異なる装置を複数の信号線からなる共通の信号バスに
より並列接続して構成される電子機器において、前記信
号バスを構成する複数の信号線間に前記複数の各装置内
で異なる抵抗値をもつ電気抵抗を接続し、前記複数の信
号線のうち所定の信号線の電圧を前記複数の装置のうち
所定の装置において検出することによりこの所定装置に
前記信号バスを介して接続されている装置を認識する構
成を採用した。
[Means for Solving the Problems] In order to solve the above problems, the present invention provides an electronic device configured by connecting a plurality of different devices in parallel via a common signal bus consisting of a plurality of signal lines. An electrical resistor having a different resistance value within each of the plurality of devices is connected between the plurality of signal lines constituting the signal bus, and the voltage of a predetermined signal line among the plurality of signal lines is set to one of the plurality of devices. A configuration is adopted in which a device connected to a predetermined device via the signal bus is recognized by detection in the predetermined device.

[作 用] 以上の構成によれば、信号バスを構成する信号線の電圧
を検出するという簡単な測定処理により所定装置に接続
されている装置を認識することができる。
[Operation] According to the above configuration, a device connected to a predetermined device can be recognized by a simple measurement process of detecting the voltage of the signal line forming the signal bus.

[実施例] 以下、図面に示す実施例に基づ・き、本発明の詳細な説
明する。
[Example] Hereinafter, the present invention will be described in detail based on the example shown in the drawings.

第1図に本発明を採用した電子機器の構成を示す。FIG. 1 shows the configuration of an electronic device adopting the present invention.

第1図において符号Aはシステムを構成するデバイスの
1つで、本実施例ではパーソナルコンピュータなどのホ
ストとして使用される装置である。
In FIG. 1, reference numeral A is one of the devices constituting the system, and in this embodiment, it is a device used as a host such as a personal computer.

デバイスAは、不図示の装置各部を制御するマイクロプ
ロセッサなどから成るCPU24を有している。CPU
24はROM 24 rに格納された後述のプログラム
にしたがって装置全体の制御および接続機器の判別を行
なう。
The device A has a CPU 24 including a microprocessor that controls various parts of the device (not shown). CPU
24 controls the entire device and determines connected devices according to a program described later stored in the ROM 24r.

符号BはデバイスAに接続されるデバイスで、この場合
デバイスBはデバイスAの周辺機器、たとえばプリンタ
、磁気ディスク装置、各種データ人出力装置などから構
成される。デバイスAとデバイスBのインタフェース信
号線11〜13は、コネクタ90を介して接続される。
Reference numeral B denotes a device connected to device A. In this case, device B is composed of peripheral equipment of device A, such as a printer, a magnetic disk drive, and various data output devices. Interface signal lines 11 to 13 of device A and device B are connected via a connector 90.

信号線11〜13は並列接続が可能な信号バスとして構
成されている。
The signal lines 11 to 13 are configured as signal buses that can be connected in parallel.

デバイスA内部において信号線11はデバイスAの電源
電圧(この場合5V)にプルアップされており、信号線
11と12は抵抗21によって、また信号線12と13
は抵抗22によって接続され、信号線13は接地電位に
接続されている。
Inside device A, signal line 11 is pulled up to the power supply voltage of device A (5V in this case), and signal lines 11 and 12 are connected by resistor 21, and signal lines 12 and 13 are
are connected by a resistor 22, and the signal line 13 is connected to ground potential.

また、デバイスBの内部においては信号線11.12の
間には抵抗31が、また信号線12と13の間には抵抗
32が接続されている。信号線11.12にはデバイス
A、あるいはB内部において公知の入出力回路が接続さ
れ、所定のインタフェース手順に基づいて双方の装置の
間でデータ転送が行なえるようになっている。
Further, inside the device B, a resistor 31 is connected between the signal lines 11 and 12, and a resistor 32 is connected between the signal lines 12 and 13. A known input/output circuit inside device A or B is connected to the signal lines 11 and 12, so that data can be transferred between both devices based on a predetermined interface procedure.

デバイスAの信号バス間の抵抗21.22、あるいはデ
バイ゛スBの信号バス間の抵抗31.32の各抵抗値R
11%R21%R12、R22は各デバイスに固有の値
を設定する。信号線12の電圧はAD変換器23に入力
され、デジタル化された後CPU24に入力できるよう
になっている。
Each resistance value R of the resistance 21.22 between the signal buses of device A or the resistance 31.32 between the signal buses of device B
11%R21%R12 and R22 are set to unique values for each device. The voltage of the signal line 12 is input to an AD converter 23, and after being digitized, it can be input to the CPU 24.

このため、CPU24では信号線12の電圧を検出する
ことによってデバイスBの接続の有無を検出することが
できる。
Therefore, by detecting the voltage of the signal line 12, the CPU 24 can detect whether or not the device B is connected.

ここで抵抗21.22.31.32の抵抗値R11,R
21%R12、R22をそれぞれ200Ω、100Ω、
180Ω、80Ωとすると、デバイスBが接続されてい
なければCPU24はA/D変換器23を介して1.6
6Vを検出する。
Here, the resistance value R11, R of resistor 21.22.31.32
21%R12 and R22 are 200Ω and 100Ω, respectively.
Assuming 180Ω and 80Ω, if device B is not connected, the CPU 24 will receive 1.6Ω through the A/D converter 23.
Detects 6V.

一方、デバイスBが図示のように接続されると、信号線
12の電圧は電源電圧の5vを抵抗21.31の並列接
続と抵抗22.32の並列接続を直列に接続した時の分
圧値となるので、上記の抵抗値設定では約1.59Vと
なる。
On the other hand, when device B is connected as shown, the voltage of the signal line 12 is the divided voltage value when the power supply voltage of 5V is connected in series with the parallel connection of the resistor 21.31 and the parallel connection of the resistor 22.32. Therefore, with the above resistance value setting, it is approximately 1.59V.

一方、デバイスAにはコネクタ90を介してデバイスB
ではなく第2図に示すようなデバイスCを接続すること
もできる。デバイスC内では、第2図に示すように信号
線11.12は抵抗41によって、また、信号線12.
13は抵抗42によって接続されている。
On the other hand, device A is connected to device B via connector 90.
Instead, a device C as shown in FIG. 2 can also be connected. Within device C, signal lines 11.12 are connected by resistors 41 and signal lines 12.12, as shown in FIG.
13 are connected by a resistor 42.

ここで、抵抗41.42の抵抗値R13、R23をそれ
ぞれ160Ω、60Ωとすると、デバイスAにデバイス
Cを接続した場合にはCPU24はA/D変換器23を
介して信号線12の電圧として1.48Vを検出する。
Here, assuming that the resistance values R13 and R23 of the resistors 41.42 are 160Ω and 60Ω, respectively, when the device C is connected to the device A, the CPU 24 converts the voltage of the signal line 12 to 1 through the A/D converter 23. Detects 48V.

このようにして、デバイスAのCPU24は信号線11
〜13に接続されている機器を信号線12の電圧を介し
て識別することができる。第3図にROM24rに格納
されたCPU24の接続機器の判別手順を示す。ここで
は、説明を容易にするためデバイスAにはデバイスBな
いしデバイスCのいずれか一方のみが接続されるものと
する。
In this way, the CPU 24 of device A
13 can be identified via the voltage of the signal line 12. FIG. 3 shows a procedure for determining the connected device of the CPU 24 stored in the ROM 24r. Here, for ease of explanation, it is assumed that only one of device B to device C is connected to device A.

CPU24は、まず第3図のステップS1においてRO
M24r内の所定アドレス内に、コネクタ90に何もデ
バイスが接続されていない時、デバイスBが接続されて
いる時、およびデバイスCが接続されている時の信号線
12のデジタル化された電圧値を記憶する。ROMの場
合はすでに記憶された電圧値が用意されているが、外部
記憶装置などからこのステップS1で電圧値をRAMの
所定アドレスにロードして使用しても良い。
First, in step S1 of FIG.
Digitized voltage values of the signal line 12 when no device is connected to the connector 90, when device B is connected, and when device C is connected within a predetermined address in M24r. Remember. In the case of a ROM, a voltage value already stored is prepared, but the voltage value may be loaded from an external storage device or the like into a predetermined address of the RAM and used in step S1.

ステップS2ではA/D変換器23を介して信号線12
の電圧をデジタル値として読み取り、ステップS3にお
いてその値を人力する。
In step S2, the signal line 12 is connected via the A/D converter 23.
The voltage is read as a digital value, and the value is entered manually in step S3.

次にステップS4〜S6においてステップS3で人力し
た電圧値をステップS1で記憶している3つの電圧値と
それぞれ比較し、接続機器を判別する。ステップS4〜
S6でデバイスを特定できなかった場合にはステップS
7に移行し、認識できない機器がコネクタ90に接続さ
れていると判定する。
Next, in steps S4 to S6, the voltage value manually input in step S3 is compared with the three voltage values stored in step S1 to determine the connected device. Step S4~
If the device could not be identified in S6, proceed to step S.
7, it is determined that an unrecognized device is connected to the connector 90.

以上のような判別ルーチンを所定のタイミング、たとえ
ばシステムリセット時などに行なうことによって、デバ
イスAのCPU24は信号バスを構成する信号線11〜
13にどのような装置が接続されているかを迅速に認識
することかできる。
By performing the above-described determination routine at a predetermined timing, for example, at the time of system reset, the CPU 24 of device A
It is possible to quickly recognize what kind of device is connected to 13.

上記方式によれば接続装置認識用の信号線を必要としな
いので、従来のように機器の接続台数が限定されないと
いう利点がある。また、接続機器にデータアクセスを行
うことなく、信号線の電圧を読み取ることによって高速
に接続機器を識別でき、また祷続機器の入出力インタフ
ェース手順にも限定を受けないという利点がある。
According to the above method, since a signal line for recognizing connected devices is not required, there is an advantage that the number of connected devices is not limited as in the conventional method. Further, there is an advantage that the connected device can be identified at high speed by reading the voltage of the signal line without performing data access to the connected device, and there is no limitation on the input/output interface procedure of the connected device.

以上ではデバイスB、Cのいずれかのみが接続されるも
のとして説明したが、デバイスA% BlCの信号線1
1〜13を並列接続する場合でも同様の手順で機器の識
別が可能なのは言うまでもない。その場合には、予想さ
れる接続態様に対応して各デバイスの信号線間に挿入す
る終端抵抗の値をそれぞれ別に設定しておき、それらの
組合゛せに対応する信号線12の電圧をあらかじめ記憶
しておくことによって接続機器を識別することができる
The above description assumes that only either device B or C is connected, but signal line 1 of device A% BIC
Needless to say, even when devices 1 to 13 are connected in parallel, devices can be identified using the same procedure. In that case, the value of the terminating resistor to be inserted between the signal lines of each device is set separately according to the expected connection mode, and the voltage of the signal line 12 corresponding to the combination is set in advance. By memorizing the information, the connected device can be identified.

たとえば、第1図において接続されている1台のデバイ
スA、B、C・・・の信号線11.12間の抵抗の値を
R11、R12、R13・・・Rin、信号線12.1
3間の抵抗の値をR21、R22、R23・・・R2n
、電源電圧をVとすると、A/D変換器23を介して検
出される信号線12の電圧Vxは、と示されるから、こ
の式における各抵抗値の組合せを記憶しておくことによ
りCPU24によって接続されている機器を認識できる
For example, in FIG. 1, the value of the resistance between the signal lines 11.12 of one connected device A, B, C... is R11, R12, R13...Rin, and the signal line 12.1 is
R21, R22, R23...R2n
, when the power supply voltage is V, the voltage Vx of the signal line 12 detected via the A/D converter 23 is shown as Can recognize connected devices.

なお、以上では信号バスの信号線の数を3本に限定した
が、上記技術は信号線の数に限定されることがないのは
もちろんである。また信号バスの信号純金てに抵抗を接
続しなくても良いのは言うまでもない。
Note that although the number of signal lines of the signal bus is limited to three in the above description, it goes without saying that the above technique is not limited to the number of signal lines. Also, it goes without saying that there is no need to connect a resistor to the pure gold signal on the signal bus.

[発明の効果] 以上から明らかなように、本発明によれば、複数の異な
る装置を複数の信号線からなる共通の信号バスにより並
列接続して構成される電子機器において、前記信号バス
を構成する複数の信号線間に前記複数の各装置内で異な
る抵抗値をもつ電気抵抗を接続し、前記複数の信号線の
うち所定の信号線の電圧を前記複数の装置のうち所定の
装置において検出することによりこの所定装置に前記信
号バスを介して接続されている装置を認識する構成を採
用しているので、信号バスを構成する信号線の電圧を検
出するという簡単な測定処理により所定装置に接続され
ている装置を認識することができ、信号バスを増加させ
る必要なくシステムの拡張性を損なうことなく、簡単安
価に接続機器を認識できるという優れた効果がある。
[Effects of the Invention] As is clear from the above, according to the present invention, in an electronic device configured by connecting a plurality of different devices in parallel via a common signal bus consisting of a plurality of signal lines, the signal bus is configured. electrical resistances having different resistance values in each of the plurality of devices are connected between the plurality of signal lines, and the voltage of a predetermined signal line among the plurality of signal lines is detected in a predetermined device among the plurality of devices. By doing so, the device connected to the predetermined device via the signal bus is recognized. Therefore, the device connected to the predetermined device via the signal bus can be recognized by a simple measurement process of detecting the voltage of the signal line that constitutes the signal bus. This has the excellent effect of being able to recognize connected devices easily and inexpensively without increasing the number of signal buses and without impairing the expandability of the system.

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

第1図は本発明を採用した電子機器の構成を示したブロ
ック図、第2図は第1図の機器に接続可能な機器の構成
を示したブロック図、第3図は第1図のCPUの制御手
順を示したフローチャート図である。 A〜C・・・デバイス 11〜13・・・信号線 21.22.31.32.41.42・・・抵抗23・
・・A/D変換器 24・・・CPU2 4  r ・
−ROM
FIG. 1 is a block diagram showing the configuration of an electronic device adopting the present invention, FIG. 2 is a block diagram showing the configuration of equipment connectable to the device in FIG. 1, and FIG. 3 is a CPU shown in FIG. 1. FIG. 2 is a flowchart showing a control procedure. A to C... Devices 11 to 13... Signal lines 21.22.31.32.41.42... Resistance 23.
・・A/D converter 24...CPU2 4 r・
-ROM

Claims (1)

【特許請求の範囲】[Claims] 1)複数の異なる装置を複数の信号線からなる共通の信
号バスにより並列接続して構成される電子機器において
、前記信号バスを構成する複数の信号線間に前記複数の
各装置内で異なる抵抗値をもつ電気抵抗を接続し、前記
複数の信号線のうち所定の信号線の電圧を前記複数の装
置のうち所定の装置において検出することによりこの所
定装置に前記信号バスを介して接続されている装置を認
識することを特徴とする電子機器。
1) In an electronic device configured by connecting a plurality of different devices in parallel via a common signal bus consisting of a plurality of signal lines, there is resistance between the plurality of signal lines constituting the signal bus, which differs within each of the plurality of devices. A voltage of a predetermined signal line among the plurality of signal lines is detected in a predetermined device among the plurality of devices, thereby connecting the predetermined device to the predetermined device via the signal bus. An electronic device characterized by recognizing a device that is connected to the device.
JP12412689A 1989-05-19 1989-05-19 Electronic apparatus Pending JPH02304662A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12412689A JPH02304662A (en) 1989-05-19 1989-05-19 Electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12412689A JPH02304662A (en) 1989-05-19 1989-05-19 Electronic apparatus

Publications (1)

Publication Number Publication Date
JPH02304662A true JPH02304662A (en) 1990-12-18

Family

ID=14877571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12412689A Pending JPH02304662A (en) 1989-05-19 1989-05-19 Electronic apparatus

Country Status (1)

Country Link
JP (1) JPH02304662A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002022582A (en) * 2000-07-03 2002-01-23 Ckd Corp Pressure sensor, output device and pressure detection output device
JP2006171627A (en) * 2004-12-20 2006-06-29 Nikon Corp Connection detection device
JP2007080134A (en) * 2005-09-16 2007-03-29 Matsushita Electric Ind Co Ltd Serial communication device
US8078766B2 (en) 2007-05-09 2011-12-13 Sony Corporation Apparatus and method of displaying image

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002022582A (en) * 2000-07-03 2002-01-23 Ckd Corp Pressure sensor, output device and pressure detection output device
JP2006171627A (en) * 2004-12-20 2006-06-29 Nikon Corp Connection detection device
JP2007080134A (en) * 2005-09-16 2007-03-29 Matsushita Electric Ind Co Ltd Serial communication device
US8078766B2 (en) 2007-05-09 2011-12-13 Sony Corporation Apparatus and method of displaying image

Similar Documents

Publication Publication Date Title
US6618773B1 (en) Receiving a particular identification file among an analog identification file and a digital identification file in response to a request to a dual-interface monitor
EP2283432B1 (en) Multi-drop serial bus with location detection and method
US20080140872A1 (en) Apparatus and method for dynamically providing hub or host operations
US20140337552A1 (en) Slave device bit sequence zero driver
JPH11119863A (en) Card information reading method, card, host device, and drive device
CN101609424A (en) System hardware monitoring and simulation test module and method thereof
JPH02304662A (en) Electronic apparatus
JPH06214936A (en) Method for automatically discriminating input/output device
CN117907806A (en) Fault analysis processing equipment and fault direction judging device of bidirectional signal line
CN100371917C (en) Method for installing driver built in hardware device
CN117950516A (en) Touch sensing device, electronic device and touch operation recording method thereof
CN115994110A (en) An I2C bus signal testing system, method, device and readable storage medium
US6026469A (en) Connected module type distinguishing apparatus and method
US5136594A (en) Method and apparatus for providing bus parity
JP3262386B2 (en) Electrical component connection recognition device
JP3050356B2 (en) Tablet and driving method
EP0635791A2 (en) Data bus controller having a level setting circuit
JP2003248796A (en) PC card detection device
JP6391866B1 (en) Polarity determination device and polarity determination method
JPS62279423A (en) Printer unit
JP2752661B2 (en) Signal detection circuit
JP3792201B2 (en) Input/Output Devices
JPH04297913A (en) Interface status detector
JP3223225B2 (en) Surge identification device
JP2003084904A (en) Input device