JP2000090043A - Peripheral equipment detecting method of computer - Google Patents

Peripheral equipment detecting method of computer

Info

Publication number
JP2000090043A
JP2000090043A JP10257031A JP25703198A JP2000090043A JP 2000090043 A JP2000090043 A JP 2000090043A JP 10257031 A JP10257031 A JP 10257031A JP 25703198 A JP25703198 A JP 25703198A JP 2000090043 A JP2000090043 A JP 2000090043A
Authority
JP
Japan
Prior art keywords
input
peripheral device
computer
signal
connecting device
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
JP10257031A
Other languages
Japanese (ja)
Inventor
Kazuya Kogure
一也 木暮
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP10257031A priority Critical patent/JP2000090043A/en
Publication of JP2000090043A publication Critical patent/JP2000090043A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent malfunction due to erroneous setting by using a connecting device in common as an input terminal connected to peripheral equipment having a different function and detecting the kind of the connected peripheral equipment with the signal outputted from the computer side. SOLUTION: A main body 3 is provided with the connecting device 6, which makes input/output terminals 6a to 6n to function and which also connects those input/output terminals 6a to 6n to signal terminals 5a to 5n provided to a control part 5. The connecting device 6 is used in common as a connecting device which connects peripheral equipment having a different function, and unused terminals are made present depending upon the connected peripheral device. Namely, the input/output terminals 6a to 6n of the connecting device 6 are connected to input/output terminals 12a to 12n of the connecting device 12 provided to the peripheral equipment 11. Consequently, malfunction due to erroneous setting can be prevented.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、コンピュータに接
続される周辺機器の種類を検出する方法に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for detecting the type of a peripheral device connected to a computer.

【0002】[0002]

【従来の技術】パーソナルコンピュータと呼ばれる電子
機器が普及しているが、斯かるコンピュータには外部に
設けられる周辺機器が接続される入出力端子が設けられ
ている。斯かる周辺機器としてはフロッピーディスク装
置やハードディスク装置等があり、斯かる異なる機能を
備えた周辺機器毎に接続端子をコンピュータの本体に設
けることは物理的な制約から不可能である。
2. Description of the Related Art Electronic devices called personal computers have become widespread, and such computers are provided with input / output terminals to which peripheral devices provided outside are connected. Such peripheral devices include a floppy disk device and a hard disk device, and it is impossible to provide a connection terminal on the main body of the computer for each peripheral device having such different functions.

【0003】[0003]

【発明が解決しようとする課題】コンピュータにおい
て、本体に設けられている周辺機器接続用端子に周辺機
器を接続し、斯かる状態にて通電状態にしてもコンピュ
ータが周辺機器の種類を認識することが出来なければ、
周辺機器を正常に動作させることは出来ない。斯かる問
題を解決するにはセットアップにて周辺機器に合わせて
プログラムを設定変更する必要があり、設定間違いによ
る誤動作が発生するという重大な問題を引き起こす可能
性があった。
SUMMARY OF THE INVENTION In a computer, a peripheral device is connected to a peripheral device connection terminal provided on a main body, and the computer recognizes the type of the peripheral device even when the computer is energized in such a state. If you can't
Peripheral devices cannot be operated normally. In order to solve such a problem, it is necessary to change the setting of the program in accordance with the peripheral device in the setup, which may cause a serious problem that a malfunction due to an incorrect setting occurs.

【0004】本発明は、斯かる問題を解決したコンピュ
ータの周辺機器検出方法を提供しようとするものであ
る。
An object of the present invention is to provide a computer peripheral device detection method which solves the above problem.

【0005】[0005]

【作用】本発明は、接続装置を異なる機能を有する周辺
機器が接続される入出力端子として兼用するとともに接
続される周辺機器の種類をコンピュータ側から出力され
る信号により検出するようにしたものである。
According to the present invention, the connection device is also used as an input / output terminal to which peripheral devices having different functions are connected, and the type of the connected peripheral device is detected by a signal output from the computer. is there.

【0006】[0006]

【実施例】図1は本発明が実施されるコンピュータを示
すブロック回路図である。同図において、1はデータを
入力するキーボード、2は該キーボード1より入力され
るデータに基づいて演算処理動作を行う演算処理回路で
あり、コンピュータを構成する本体3に組み込まれてい
る。4は前記演算処理回路2の演算結果等を表示する表
示部、5は本体3に組込まれた制御部であり、前記演算
処理回路2と接続されている。
FIG. 1 is a block circuit diagram showing a computer on which the present invention is implemented. In FIG. 1, reference numeral 1 denotes a keyboard for inputting data, and 2 denotes an arithmetic processing circuit for performing an arithmetic processing operation based on data input from the keyboard 1, and is incorporated in a main body 3 constituting a computer. Reference numeral 4 denotes a display unit for displaying the calculation result of the arithmetic processing circuit 2 and the like.

【0007】6は前記本体3に設けられているとともに
複数の入出力端子6a〜6nが設けられている接続装置
であり、該入出力端子6a〜6nは前記制御部5に設け
られている信号端子5a〜5nに接続されている。斯か
る構成において、前記接続装置6は異なる機能を有する
周辺機器が接続される接続装置として兼用され、接続さ
れる周辺機器によって未使用端子が存在するようにされ
ている。
Reference numeral 6 denotes a connection device provided on the main body 3 and provided with a plurality of input / output terminals 6a to 6n. The input / output terminals 6a to 6n Connected to terminals 5a to 5n. In such a configuration, the connection device 6 is also used as a connection device to which peripheral devices having different functions are connected, and unused terminals exist depending on the connected peripheral devices.

【0008】7は前記制御部5の信号端子5a即ち制御
部5の入出力端子6aと電源との間に接続されているプ
ルアップ抵抗、8はドレインが前記制御部5の信号端子
5nに接続されているとともに抵抗9を介して電源に接
続され、且つソースが接地されている電界型トランジス
タであり、ゲートは前記接続装置6の入出力端子6nに
接続されているとともにプルダウン抵抗10を介して接
地されている。
Reference numeral 7 denotes a pull-up resistor connected between the signal terminal 5a of the control unit 5, ie, the input / output terminal 6a of the control unit 5 and the power supply, and 8 denotes a drain connected to the signal terminal 5n of the control unit 5. An electric field type transistor which is connected to a power supply via a resistor 9 and has a source grounded, and has a gate connected to an input / output terminal 6n of the connection device 6 and a pull-down resistor 10 Grounded.

【0009】11はコンピュータに接続されて使用され
る周辺機器、12は該周辺機器11に設けられている接
続装置であり、前記接続装置6の入出力端子6a〜6n
に接続される信号入出力端子12a〜12nが設けられ
ている。13は前記信号入出力端子12aと信号入出力
端子12nとを接続する制御信号路であり、周辺機器1
1のみに設けられているものである。即ち、周辺機器1
1と異なる機能を有する周辺機器には設けられていない
ものである。
Reference numeral 11 denotes a peripheral device which is used by being connected to a computer. Reference numeral 12 denotes a connection device provided in the peripheral device 11, and input / output terminals 6a to 6n of the connection device 6.
Are provided with signal input / output terminals 12a to 12n. A control signal path 13 connects the signal input / output terminal 12a and the signal input / output terminal 12n.
Only one is provided. That is, the peripheral device 1
This is not provided for a peripheral device having a function different from that of the first device.

【0010】以上の如く本発明は構成されており、次に
動作について説明する。まず、周辺機器として図示した
機器を使用する場合について説明する。本体3に周辺機
器11を接続すると、接続装置6に設けられている入出
力端子6a〜6nと接続装置12に設けられている信号
入出力端子12a〜12nとが接続された状態になる
が、該周辺機器11に設けられている信号入出力端子と
本体3に設けられている入出力端子の数は合致するもの
ではない。
The present invention is configured as described above, and the operation will be described next. First, a case where the illustrated device is used as a peripheral device will be described. When the peripheral device 11 is connected to the main body 3, the input / output terminals 6 a to 6 n provided on the connection device 6 are connected to the signal input / output terminals 12 a to 12 n provided on the connection device 12. The number of signal input / output terminals provided on the peripheral device 11 and the number of input / output terminals provided on the main body 3 do not match.

【0011】斯かる状態で電源を投入すると演算処理回
路2の記憶装置に記憶されているセットアッププログラ
ムにより本体3に接続されている周辺機器の種類を検出
する動作が行われる。周辺機器の検出動作が行われる時
には制御部5に設けられている信号端子5aより検出の
ためのH(高い)レベルの信号が出力される。斯かる検
出信号は接続装置6の入出力端子6a、接続装置12の
信号入出力端子12a、制御信号路13、接続装置12
の信号入出力端子12n及び接続装置6の入出力端子6
nを介して電界効果トランジスタ8のゲートに印加され
る。その結果、該電界効果トランジスタ8がオン状態に
なり、制御部5の信号端子5nを接地せしめるので、該
信号端子5nにはL(低い)レベルの信号が入力された
状態になる。
When the power is turned on in such a state, an operation of detecting the type of the peripheral device connected to the main body 3 is performed by the setup program stored in the storage device of the arithmetic processing circuit 2. When a peripheral device detection operation is performed, an H (high) level signal for detection is output from a signal terminal 5 a provided in the control unit 5. Such detection signals are input / output terminal 6a of connection device 6, signal input / output terminal 12a of connection device 12, control signal path 13, connection device 12
Signal input / output terminal 12n of the connection device 6
n is applied to the gate of the field effect transistor 8 via n. As a result, the field effect transistor 8 is turned on, and the signal terminal 5n of the control unit 5 is grounded, so that an L (low) level signal is input to the signal terminal 5n.

【0012】前記制御部5の信号端子5nにLレベルの
信号が入力されると制御部5を通してその信号が演算処
理回路2に入力され、該演算処理回路2による検出動作
によって周辺機器11の種類が検出される。斯かる検出
動作が行われた後、演算処理回路2によるコンピュータ
としての処理動作が行われることになる。
When an L-level signal is input to the signal terminal 5n of the control unit 5, the signal is input to the arithmetic processing circuit 2 through the control unit 5, and the type of the peripheral device 11 is detected by the operation of the arithmetic processing circuit 2. Is detected. After the detection operation is performed, the processing operation as a computer by the arithmetic processing circuit 2 is performed.

【0013】図示した周辺機器11が本体3に接続され
た場合の検出動作は、以上の如く行われるが、次に異な
る機能を有する他の周辺機器を接続した場合の動作につ
いて説明する。
The detection operation when the illustrated peripheral device 11 is connected to the main body 3 is performed as described above. Next, the operation when another peripheral device having a different function is connected will be described.

【0014】斯かる周辺機器を接続した場合には、前述
した周辺機器11に組込まれている制御信号路13は組
込まれていない。従って、斯かる状態において、制御部
5に設けられている信号端子5aより検出のためのHレ
ベルの信号が出力されても該信号が電界効果トランジス
タ8のゲートに印加されることはない。その結果、該電
界効果トランジスタ8はオフ状態になり、制御部5の信
号端子5nは接地されることがないので、制御部5の信
号端子5nにはHレベルの信号が入力された状態にな
る。
When such a peripheral device is connected, the control signal path 13 incorporated in the peripheral device 11 is not incorporated. Therefore, in such a state, even if an H-level signal for detection is output from the signal terminal 5 a provided in the control unit 5, the signal is not applied to the gate of the field effect transistor 8. As a result, the field effect transistor 8 is turned off, and the signal terminal 5n of the control unit 5 is not grounded, so that the H level signal is input to the signal terminal 5n of the control unit 5. .

【0015】前記制御部5の信号端子5nにHレベルの
信号が入力されると制御部5を通してその信号が演算処
理回路2に入力され、該演算処理回路2による検出動作
によって周辺機器の種類が検出される。斯かる検出動作
が行われた後、演算処理回路2によるコンピュータとし
ての処理動作が行われることになる。
When an H-level signal is input to the signal terminal 5n of the control unit 5, the signal is input to the arithmetic processing circuit 2 through the control unit 5, and the type of the peripheral device is determined by the detection operation by the arithmetic processing circuit 2. Is detected. After the detection operation is performed, the processing operation as a computer by the arithmetic processing circuit 2 is performed.

【0016】以上の如く本発明の周辺機器の検出動作は
行われるが、周辺機器11を接続した状態において、制
御部5の信号端子5aにLレベルの信号を出力すると、
電界効果トランジスタ8のゲートにLレベルの信号が印
加された状態になる。従って、制御部5の信号端子5n
にHレベルの信号が入力された状態になる。それ故、周
辺機器11を接続した状態において、制御部5の信号端
子5aに出力される信号のレベルを切換えることにより
周辺機器11の種類の検出動作及び接続の有無の検出動
作を行うことが出来る。
As described above, the peripheral device detection operation of the present invention is performed. When the peripheral device 11 is connected and a low-level signal is output to the signal terminal 5a of the control unit 5,
The state where the L-level signal is applied to the gate of the field effect transistor 8 is set. Therefore, the signal terminal 5n of the control unit 5
To a state where an H-level signal is input. Therefore, in a state where the peripheral device 11 is connected, the operation of detecting the type of the peripheral device 11 and the operation of detecting the presence or absence of connection can be performed by switching the level of the signal output to the signal terminal 5a of the control unit 5. .

【0017】また、本体3がコンピュータとして動作し
ているとき、制御部5の信号端子5aにLレベルの信号
を出力した状態に保持することにより周辺機器の選択動
作を行うことが出来ないようにすることが出来る。即
ち、コンピュータに電源が供給された状態における周辺
機器の接続動作を行うことが出来ないようにすることに
より、周辺機器の切換に伴って発生する動作異常操作を
避けることが出来る。
Further, when the main body 3 is operating as a computer, the selection operation of the peripheral device cannot be performed by holding the state in which the signal of the L level is output to the signal terminal 5a of the control section 5. You can do it. That is, by making it impossible to perform the connection operation of the peripheral device while the power is supplied to the computer, it is possible to avoid the operation abnormal operation caused by the switching of the peripheral device.

【0018】[0018]

【発明の効果】本発明は、本体に接続される周辺機器の
種類をコンピュータ側から出力される信号により検出す
るすることが出来るようにしたので、即ち周辺機器から
の信号を利用することなく検出を行うようにしたので、
検出動作を正確に行うことが出来る。
According to the present invention, the type of the peripheral device connected to the main body can be detected by the signal output from the computer side, that is, without using the signal from the peripheral device. So that
The detection operation can be performed accurately.

【0019】また、本発明は、複数の入出力端子を有す
る中の未使用端子を使用して周辺機器の種類を検出する
ことが出来るようにしたので、特別な接続ケーブル等を
別個に制作する必要がない。
Further, according to the present invention, the type of peripheral device can be detected by using an unused terminal among a plurality of input / output terminals, so that a special connection cable or the like is separately produced. No need.

【0020】そして、本発明は、コンピュータ側から出
力される信号により周辺機器の種類の検出だけでなく、
該機器の接続の有無を検出するようにしたので、コンピ
ュータの機能アップに貢献するという効果を有してい
る。
According to the present invention, not only the type of peripheral device is detected by a signal output from the computer,
Since the presence or absence of the connection of the device is detected, it has an effect of contributing to the enhancement of the functions of the computer.

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

【図1】本発明が実施されるコンピュータを示すブロッ
ク回路図である。
FIG. 1 is a block circuit diagram showing a computer on which the present invention is implemented.

【符号の説明】[Explanation of symbols]

2 演算処理回路 5 制御部 8 電界効果トランジスタ 13 制御信号路 2 arithmetic processing circuit 5 control unit 8 field effect transistor 13 control signal path

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 本体に外部の周辺機器と接続される複数
の入出力端子よりなる接続装置が設けられているコンピ
ュータにおいて、前記接続装置を異なる機能を有する周
辺機器が兼用される入出力端子として使用するとともに
接続される周辺機器の種類をコンピュータ側から出力さ
れる信号により検出するようにしたことを特徴とするコ
ンピュータの周辺機器検出方法。
In a computer provided with a connection device comprising a plurality of input / output terminals connected to an external peripheral device on a main body, said connection device is used as an input / output terminal shared by peripheral devices having different functions. A method for detecting a peripheral device of a computer, wherein the type of the peripheral device to be used and connected is detected by a signal output from the computer.
【請求項2】 接続装置が備えている入出力端子の未使
用端子を使用して周辺機器の種類を検出するようにした
ことを特徴とする請求項1に記載の周辺機器検出方法。
2. The peripheral device detection method according to claim 1, wherein the type of the peripheral device is detected by using an unused terminal of the input / output terminal provided in the connection device.
【請求項3】 コンピュータより出力される検出信号に
より周辺機器の接続の有無を検出するようにしたことを
特徴とする請求項1に記載の周辺機器検出方法。
3. The peripheral device detection method according to claim 1, wherein the presence / absence of connection of the peripheral device is detected based on a detection signal output from the computer.
JP10257031A 1998-09-10 1998-09-10 Peripheral equipment detecting method of computer Pending JP2000090043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10257031A JP2000090043A (en) 1998-09-10 1998-09-10 Peripheral equipment detecting method of computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10257031A JP2000090043A (en) 1998-09-10 1998-09-10 Peripheral equipment detecting method of computer

Publications (1)

Publication Number Publication Date
JP2000090043A true JP2000090043A (en) 2000-03-31

Family

ID=17300789

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10257031A Pending JP2000090043A (en) 1998-09-10 1998-09-10 Peripheral equipment detecting method of computer

Country Status (1)

Country Link
JP (1) JP2000090043A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100695791B1 (en) 2004-07-14 2007-03-15 후지제롯쿠스 가부시끼가이샤 Communication apparatus and control method for the communication apparatus
JP2007515144A (en) * 2003-12-19 2007-06-07 モトローラ・インコーポレイテッド Interrupt-driven extended option selection interface for portable devices

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007515144A (en) * 2003-12-19 2007-06-07 モトローラ・インコーポレイテッド Interrupt-driven extended option selection interface for portable devices
KR100695791B1 (en) 2004-07-14 2007-03-15 후지제롯쿠스 가부시끼가이샤 Communication apparatus and control method for the communication apparatus

Similar Documents

Publication Publication Date Title
KR100218916B1 (en) Power management system in usb hub unit
US6076119A (en) Operation mode transfer system and method
EP0164421A1 (en) Programmable controller
EP4206697A1 (en) Self-locking and detection circuit and apparatus, and control method
JP2000090043A (en) Peripheral equipment detecting method of computer
JPH07236180A (en) Device for activating logical unit
JPH11330380A (en) Semiconductor device and method for identifying functions thereof
US5834949A (en) Bus driver failure detection system
JPS6227831A (en) Checking circuit for computing element
JP4469106B2 (en) CPU abnormality monitoring device
JP3737567B2 (en) Computer system
KR20220050632A (en) Circuit for detecting scb and method thereof
JP3270068B2 (en) Semiconductor device
JPS5827219A (en) Feeding device
JPH05143802A (en) Memory card
JPH063423A (en) Semiconductor circuit
JPH07294609A (en) System for switching mode
JPH0580913A (en) Keyboard device
JPH05184066A (en) Output drive circuit
JPS59136835A (en) Electronic device
JP2000148311A (en) Peripheral equipment connection controller for computer
JP2000339063A (en) Communication equipment
JPS63298458A (en) Data transfer circuit
JPH1063302A (en) Control system by lcd display device
JP2000259290A (en) Device for displaying power supply state of peripheral equipment