JP2017006546A - Endoscope apparatus - Google Patents

Endoscope apparatus Download PDF

Info

Publication number
JP2017006546A
JP2017006546A JP2015127813A JP2015127813A JP2017006546A JP 2017006546 A JP2017006546 A JP 2017006546A JP 2015127813 A JP2015127813 A JP 2015127813A JP 2015127813 A JP2015127813 A JP 2015127813A JP 2017006546 A JP2017006546 A JP 2017006546A
Authority
JP
Japan
Prior art keywords
unit
remote control
control unit
resistor
main body
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
JP2015127813A
Other languages
Japanese (ja)
Inventor
幸喜 八木
Koki Yagi
幸喜 八木
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.)
Olympus Corp
Original Assignee
Olympus 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 Olympus Corp filed Critical Olympus Corp
Priority to JP2015127813A priority Critical patent/JP2017006546A/en
Publication of JP2017006546A publication Critical patent/JP2017006546A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Instruments For Viewing The Inside Of Hollow Bodies (AREA)
  • Endoscopes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an endoscope apparatus capable of instantaneously determining connection of units to be connected and discriminating types thereof.SOLUTION: An endoscope apparatus 1 includes: a signal line 35 to be serially connected with each of a body 3, a liquid crystal panel unit 5, and a remote control unit 7; a resistance R1 to be connected to the signal line 35 in the body part 3; a resistance R2 to be connected to the signal line 35 in the liquid crystal panel unit 5; a resistance R3 to be connected to the signal line 35 in the remote control unit 7; and a main CPU 19 that determines the connection of the liquid crystal panel unit 5 and the remote control unit 7 according to a voltage level of the signal line 35, the voltage of which is divided by the resistance R1, resistance R2, and resistance R3, and discriminates at least a type of the liquid crystal panel unit 5, or a type of the remote control unit 7 according to an analogue voltage value of the signal line 35, the voltage of which is divided by the resistance R1, resistance R2, and resistance R3.SELECTED DRAWING: Figure 1

Description

本発明は、本体部に接続されるユニットの接続状態及び種別判別を行う内視鏡装置に関する。   The present invention relates to an endoscope apparatus that determines the connection state and type of a unit connected to a main body.

従来より、内視鏡装置は、工業分野及び医療分野において広く利用されている。内視鏡装置は、観察対象物内に挿入する挿入部と、対象物内を撮像して得られた観察画像である内視鏡画像を表示する表示部を有する本体部とを備えて構成されたものが一般的である。内視鏡装置は、工業分野においては、その細長の挿入部をボイラ、エンジン等の内部に挿入して、内部の傷や腐食を観察、検査するために使用される。   Conventionally, endoscope apparatuses have been widely used in the industrial field and the medical field. An endoscope apparatus includes an insertion unit that is inserted into an observation object and a main body unit that includes a display unit that displays an endoscopic image that is an observation image obtained by imaging the inside of the object. Is common. In an industrial field, an endoscope apparatus is used for inserting and inserting an elongated insertion portion into a boiler, an engine or the like to observe and inspect internal scratches and corrosion.

一般的に、内視鏡装置は、本体部に設けられた表示部に表示される内視鏡画像を見ながら、被検体の検査を行う。工業分野では、これらの被検体が高所に存在したり、大きかったりする等、内視鏡装置は種々の検査環境において使用される。このような表示部と本体部が一体に構成されている内視鏡装置では、表示部に表示される内視鏡画像を観察するために、重量が重い本体部を検査者が検査を行う高所に配置する必要があった。   In general, an endoscope apparatus examines a subject while viewing an endoscopic image displayed on a display unit provided in a main body unit. In the industrial field, the endoscope apparatus is used in various examination environments such that these subjects exist at a high place or are large. In an endoscope apparatus in which such a display unit and a main body unit are configured integrally, in order to observe an endoscopic image displayed on the display unit, an inspector examines a heavy main body unit. It was necessary to place in the place.

そのため、重量が重い本体部を高所に配置する必要がないように、内視鏡の操作部に内視鏡画像を表示する表示部を着脱自在に接続することができる内視鏡装置が提案されている(例えば、特許文献1参照)。   Therefore, an endoscope apparatus is proposed in which a display unit for displaying an endoscopic image can be detachably connected to the operation unit of the endoscope so that a heavy weight main body does not need to be arranged at a high place. (For example, refer to Patent Document 1).

さらに、近年では、内視鏡装置は、本体の高機能化及び本体の小型軽量化が求められるとともに、使用用途の多岐化に伴い、使用用途毎に柔軟に構成できる構造が求められている。そこで、本体部(ベースユニット)、表示部(液晶パネルユニット)、操作部(リモコンユニット)等の各ユニットを分離することができる構造のユニット分離型の内視鏡装置が用いられるようになっている。   Furthermore, in recent years, an endoscope apparatus is required to have a high-functionality main body and a small-sized and light-weight main body, and a structure that can be configured flexibly for each use application is required as the use application diversifies. Therefore, a unit-separated endoscope apparatus having a structure capable of separating each unit such as a main body (base unit), a display unit (liquid crystal panel unit), and an operation unit (remote control unit) has come to be used. Yes.

ユニット分離型の内視鏡装置を用いて、例えば、比較的高い位置(例えば、人間の目の高さ等)に配置された検査物を検査するような場合、重量が重い本体部は床に配置し、比較的軽量な表示部を目の高さに配置し、同時に操作部を手に持ち使用する方法が取られている。   For example, when a test object placed at a relatively high position (for example, the height of a human eye) is to be inspected using a unit-separated endoscope device, the heavy main unit is placed on the floor. A method has been adopted in which a relatively lightweight display unit is arranged at the eye level, and at the same time the operation unit is held in hand.

特開2010−66408号公報JP 2010-66408 A

このようなユニット分離型の内視鏡装置は、各ユニットの接続、及び、接続されたユニットの種別を判別し、接続されたユニットの種別に応じた処理を行う必要がある。例えば、表示部(液晶パネルユニット)は、画面サイズ等の識別情報が格納されたEEPROM等を備えており、本体部は、この識別情報を読み出し、接続された表示部に対応した画像処理を行い、表示部に映像信号を出力する構成となっている。そのため、本体部は、接続された表示部の種別を判別してからでないと、接続された表示部に対応した映像信号を出力することができない。   Such a unit-separated endoscope apparatus needs to determine the connection of each unit and the type of the connected unit, and perform processing according to the type of the connected unit. For example, the display unit (liquid crystal panel unit) includes an EEPROM or the like in which identification information such as a screen size is stored, and the main body unit reads out the identification information and performs image processing corresponding to the connected display unit. The video signal is output to the display unit. Therefore, the main body unit cannot output a video signal corresponding to the connected display unit unless it determines the type of the connected display unit.

しかしながら、ユニット分離型の内視鏡装置は、本体部のCPUが通信手段によって、各ユニット内に設けられているEEPROM等にアクセスし、記憶されているID情報等を読み出す必要があり、接続されているユニットの接続判定及び種別判別を瞬時に行うことができなかった。   However, the unit-separated endoscope apparatus is connected to the CPU of the main body unit by accessing the EEPROM provided in each unit by communication means and reading out the stored ID information and the like. It was not possible to instantly determine the connection and type of the unit that was being used.

そこで、本発明は、接続されるユニットの接続判定及び種別判別を瞬時に行うことができる内視鏡装置を提供することを目的とする。   Therefore, an object of the present invention is to provide an endoscope apparatus capable of instantaneously performing connection determination and type determination of connected units.

本発明の一態様の内視鏡装置は、本体部、液晶パネルユニット、及び、リモコンユニットが直列に接続される内視鏡装置であって、前記本体部、前記液晶パネルユニット、及び、前記リモコンユニット内に直列に接続される信号線と、前記本体部内で前記信号線に接続される第1の抵抗と、前記液晶パネルユニット内で前記信号線に接続される第2の抵抗と、前記リモコンユニット内で前記信号線に接続される第3の抵抗と、前記第1の抵抗、前記第2の抵抗及び前記第3の抵抗により分圧された前記信号線の電圧レベルに応じて前記液晶パネルユニット及び前記リモコンユニットの接続を判定し、前記第1の抵抗、前記第2の抵抗及び前記第3の抵抗により分圧された前記信号線のアナログ電圧値に応じて少なくとも前記液晶パネルユニットの種別または前記リモコンユニットの種別を判別する制御部と、を有する。   An endoscope apparatus according to an aspect of the present invention is an endoscope apparatus in which a main body, a liquid crystal panel unit, and a remote control unit are connected in series, and the main body, the liquid crystal panel unit, and the remote control A signal line connected in series in the unit, a first resistor connected to the signal line in the main body, a second resistor connected to the signal line in the liquid crystal panel unit, and the remote controller A third resistor connected to the signal line in the unit; and the liquid crystal panel according to a voltage level of the signal line divided by the first resistor, the second resistor, and the third resistor. A connection between the unit and the remote control unit is determined, and at least the liquid crystal panel unit is selected according to an analog voltage value of the signal line divided by the first resistor, the second resistor, and the third resistor. And a control unit for determining the type or classification of the remote control unit.

本発明の内視鏡装置によれば、接続されるユニットの接続判定及び種別判別を瞬時に行うことができる。   According to the endoscope apparatus of the present invention, connection determination and type determination of connected units can be performed instantaneously.

第1の実施形態に係る内視鏡装置の全体構成の一例を示す図である。It is a figure which shows an example of the whole structure of the endoscope apparatus which concerns on 1st Embodiment. LCDユニットの接続判定の一例を説明するための図である。It is a figure for demonstrating an example of the connection determination of a LCD unit. リモコンユニットの接続判定/種別判別の一例を説明するための図である。It is a figure for demonstrating an example of connection determination / classification determination of a remote control unit. 各ユニットの接続/未接続状態時の電圧設定の一例を説明するための図である。It is a figure for demonstrating an example of the voltage setting at the time of the connection / non-connection state of each unit. 第1の実施形態の内視鏡装置の接続及び種別判別の処理の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of the process of the connection of an endoscope apparatus of 1st Embodiment, and classification | category. 第2の実施形態に係る内視鏡装置の構成を示す図である。It is a figure which shows the structure of the endoscope apparatus which concerns on 2nd Embodiment. リモコンユニットの接続判定の一例を説明するための図である。It is a figure for demonstrating an example of the connection determination of a remote control unit. LCDユニットの接続判定/種別判別の一例を説明するための図である。It is a figure for demonstrating an example of the connection determination / type determination of an LCD unit. 各ユニットの接続/未接続状態時の電圧設定の一例を説明するための図である。It is a figure for demonstrating an example of the voltage setting at the time of the connection / non-connection state of each unit. 第2の実施形態の内視鏡装置の接続及び種別判別の処理の一例を説明するためのフローチャートである。It is a flowchart for demonstrating an example of the process of the connection of an endoscope apparatus of 2nd Embodiment, and classification | category.

以下、図面を参照して本発明の実施形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

(第1の実施形態)
まず、図1を用いて、第1の実施形態の内視鏡装置の全体構成について説明する。図1は、第1の実施形態に係る内視鏡装置の全体構成の一例を示す図である。
(First embodiment)
First, the overall configuration of the endoscope apparatus according to the first embodiment will be described with reference to FIG. FIG. 1 is a diagram illustrating an example of the overall configuration of the endoscope apparatus according to the first embodiment.

図1に示すように、内視鏡装置1は、内視鏡2と、内視鏡2が着脱自在に接続される本体部3と、本体部3にハーネス4を介して着脱自在に接続される液晶パネル(以下、LCDと略す)ユニット5と、LCDユニット5にハーネス6を介して着脱自在に接続されるリモコンユニット7とを有して構成されている。   As shown in FIG. 1, an endoscope apparatus 1 includes an endoscope 2, a main body 3 to which the endoscope 2 is detachably connected, and a main body 3 that is detachably connected via a harness 4. A liquid crystal panel (hereinafter abbreviated as LCD) unit 5, and a remote control unit 7 that is detachably connected to the LCD unit 5 via a harness 6.

内視鏡2は、被検体内に挿入される細長の挿入部10と、挿入部10の先端に設けられた先端部11と、挿入部10の基端側に設けられた把持部12と有して構成されている。なお、把持部12の基端側には図示しないケーブルが設けられており、内視鏡2は、このケーブルを介して本体部3に着脱自在に接続される構成となっている。   The endoscope 2 includes an elongated insertion portion 10 to be inserted into a subject, a distal end portion 11 provided at the distal end of the insertion portion 10, and a grasping portion 12 provided on the proximal end side of the insertion portion 10. Configured. Note that a cable (not shown) is provided on the proximal end side of the grip portion 12, and the endoscope 2 is configured to be detachably connected to the main body portion 3 through this cable.

先端部11には、対物レンズ13と、この対物レンズ13の結像位置に配置されたCCDまたはCMOS等の撮像素子14とが設けられている。なお、先端部11の基端側には、先端部11を所望の方向に湾曲させる図示しない湾曲部が設けられている。   The distal end portion 11 is provided with an objective lens 13 and an image sensor 14 such as a CCD or a CMOS arranged at the image forming position of the objective lens 13. Note that a proximal end side of the distal end portion 11 is provided with a bending portion (not shown) that bends the distal end portion 11 in a desired direction.

また、先端部11には、視野方向や視野角特性等の光学特性を変換する図示しない光学アダプタが取り付け可能になっている。検査者は、検査箇所あるいは検査状況等に合わせて、視野方向や視野角特性が異なる光学アダプタを選択し、先端部11に取り付けることができる。   Further, an optical adapter (not shown) that converts optical characteristics such as a viewing direction and viewing angle characteristics can be attached to the distal end portion 11. The inspector can select optical adapters having different viewing directions and viewing angle characteristics according to the inspection location or the inspection situation, and attach them to the distal end portion 11.

把持部12には、撮像素子14を駆動するための撮像素子駆動部15と、撮像素子14により撮像された撮像信号に対して、CDS処理(相関2重サンプリング処理)、AGC処理(オートゲインコントロール処理)、クランプ処理及びAD変換処理を施すアナログフロントエンド(以下、AFEと略す)16と、サブCPU17とを有して構成されている。サブCPU17は、内視鏡2の先端部11から照射される照明(不図示)の光量制御及び湾曲部(不図示)の湾曲制御等を行う機能を有している。   The grasping unit 12 includes an image sensor driving unit 15 for driving the image sensor 14, and a CDS process (correlated double sampling process) and an AGC process (auto gain control) for the image signal captured by the image sensor 14. Processing), an analog front end (hereinafter abbreviated as AFE) 16 for performing clamp processing and AD conversion processing, and a sub CPU 17. The sub CPU 17 has a function of performing light amount control of illumination (not shown) irradiated from the distal end portion 11 of the endoscope 2, bending control of a bending portion (not shown), and the like.

本体部3は、カメラコントロールユニット(以下、CCUと略す)18と、メインCPU19と、LCD表示回路20と、タッチパネル信号受信回路21とを有して構成されている。メインCPU19は、(A)点の電圧のレベルを検出するGPIOポート22と、(A)点のアナログ電圧値を検出するADCポート23とを有している。   The main body 3 includes a camera control unit (hereinafter abbreviated as CCU) 18, a main CPU 19, an LCD display circuit 20, and a touch panel signal receiving circuit 21. The main CPU 19 has a GPIO port 22 for detecting the voltage level at point (A) and an ADC port 23 for detecting the analog voltage value at point (A).

LCDユニット5は、受信回路24と、ドライブ回路25と、内視鏡画像や操作メニュー等が表示される表示部としてのLCD26と、LCD26上に設けられた例えば静電容量式のタッチパネル27と、LCDユニット5の種別に応じたパラメータ情報が格納されたEEPROM28とを有して構成されている。   The LCD unit 5 includes a receiving circuit 24, a drive circuit 25, an LCD 26 as a display unit on which an endoscopic image, an operation menu, and the like are displayed, and a capacitive touch panel 27 provided on the LCD 26, for example. And an EEPROM 28 in which parameter information corresponding to the type of the LCD unit 5 is stored.

リモコンユニット7は、湾曲部を湾曲させる湾曲操作用のジョイスティック29と、各種操作を行うための操作ボタン30及び31を有する。また、リモコンユニット7は、ADC32と、IOエキスパンダ(以下、IOEXと略す)33と、リモコンユニット7の種別に応じたパラメータ情報が格納されたEEPROM34とを有して構成されている。   The remote control unit 7 has a joystick 29 for bending operation for bending the bending portion, and operation buttons 30 and 31 for performing various operations. The remote control unit 7 includes an ADC 32, an IO expander (hereinafter abbreviated as “IOEX”) 33, and an EEPROM 34 in which parameter information corresponding to the type of the remote control unit 7 is stored.

CCU18は、メインCPU19の制御により撮像素子駆動部15の駆動制御を行うとともに、AFE16から入力された撮像信号に対して所定の画像処理を施し、得られた画像信号をメインCPU19に出力する。   The CCU 18 performs drive control of the image sensor drive unit 15 under the control of the main CPU 19, performs predetermined image processing on the image signal input from the AFE 16, and outputs the obtained image signal to the main CPU 19.

メインCPU19は、CCU18からの画像信号をLCD表示回路20に出力する。LCD表示回路20は、この画像信号をLCDユニット5の受信回路24に出力する。受信回路24は、LCD表示回路20からの画像信号をLCD26に出力し、LCD26に内視鏡画像を表示させる。   The main CPU 19 outputs the image signal from the CCU 18 to the LCD display circuit 20. The LCD display circuit 20 outputs this image signal to the receiving circuit 24 of the LCD unit 5. The receiving circuit 24 outputs the image signal from the LCD display circuit 20 to the LCD 26 and causes the LCD 26 to display an endoscopic image.

また、操作者がタッチパネル27を押下すると、タッチパネル27からタッチパネル信号が出力される。タッチパネル信号は、ドライブ回路25に増幅され、本体部3のタッチパネル信号受信回路21に入力される。タッチパネル信号受信回路21は、受信したタッチパネル信号をメインCPU19に出力する。メインCPU19は、入力されたタッチパネル信号に応じた処理を行う。   When the operator presses the touch panel 27, a touch panel signal is output from the touch panel 27. The touch panel signal is amplified by the drive circuit 25 and input to the touch panel signal receiving circuit 21 of the main body unit 3. The touch panel signal receiving circuit 21 outputs the received touch panel signal to the main CPU 19. The main CPU 19 performs processing according to the input touch panel signal.

また、操作者がジョイスティック29を操作すると、操作量に応じたアナログ信号がADC32に入力される。ADC32は、アナログ信号をデジタル信号に変換してサブCPU17に送信する。サブCPU17は、送信されたデジタル信号に基づき、ジョイスティック29の操作量に応じた湾曲制御を行う。   When the operator operates the joystick 29, an analog signal corresponding to the operation amount is input to the ADC 32. The ADC 32 converts the analog signal into a digital signal and transmits it to the sub CPU 17. The sub CPU 17 performs bending control according to the operation amount of the joystick 29 based on the transmitted digital signal.

操作者が操作ボタン30及び31を操作すると、操作信号がIOEX33に入力される。IOEX33は、入力された操作信号に対して、信号線を減らすような信号変換してメインCPU19に送信する。メインCPU19は、IOEX33により信号変換された操作信号に応じた処理を行う。   When the operator operates the operation buttons 30 and 31, an operation signal is input to the IOEX 33. The IOEX 33 converts the input operation signal into a signal that reduces the number of signal lines and transmits the converted signal to the main CPU 19. The main CPU 19 performs processing according to the operation signal converted by the IOEX 33.

また、LCDユニット5のEEPROM28のパラメータ情報、及び、リモコンユニット7のEEPROM33のパラメータ情報は、メインCPU19に入力される。メインCPU19は、EEPROM28のパラメータ情報及びEEPROM33のパラメータ情報に応じた処理を行う。なお、EEPROM28のパラメータ情報は、CCU18に直接入力される構成であってもよい。CCU18は、EEPROM28のパラメータ情報に基づき、接続されているLCDユニット5に応じた画像処理等を行う。   The parameter information of the EEPROM 28 of the LCD unit 5 and the parameter information of the EEPROM 33 of the remote control unit 7 are input to the main CPU 19. The main CPU 19 performs processing according to the parameter information of the EEPROM 28 and the parameter information of the EEPROM 33. The parameter information in the EEPROM 28 may be directly input to the CCU 18. The CCU 18 performs image processing according to the connected LCD unit 5 based on the parameter information of the EEPROM 28.

本実施形態では、本体部3にLCDユニット5とリモコンユニット7が直列に接続される構成において、LCDユニット5の接続検知と、複数のリモコンユニット7の接続検知及び種別判定とを同時に実施する場合を説明する。   In the present embodiment, when the LCD unit 5 and the remote control unit 7 are connected in series to the main body 3, the connection detection of the LCD unit 5 and the connection detection and type determination of the plurality of remote control units 7 are performed simultaneously. Will be explained.

本体部3にハーネス4を介してLCDユニットが接続され、LCDユニット5にハーネス6を介してリモコンユニット7が接続された場合、LCDユニット5の接続検知、及び、リモコンユニット7の接続検知及び種別判定を行うための信号線35が本体部3、ハーネス4、LCDユニット5、ハーネス6及びリモコンユニット7内において直列に接続される。   When the LCD unit is connected to the main body 3 via the harness 4 and the remote control unit 7 is connected to the LCD unit 5 via the harness 6, the connection detection of the LCD unit 5 and the connection detection and type of the remote control unit 7 are detected. A signal line 35 for performing the determination is connected in series in the main body 3, the harness 4, the LCD unit 5, the harness 6 and the remote control unit 7.

LCDユニット5の接続検知、及び、リモコンユニット7の接続検知と種別判別のための信号線35は、本体部3の内部でメインCPU19のGPIOポート22及びADCポート23に接続されている。本体部3の内部では、信号線35と電源VCCとの間にプルアップ抵抗としての抵抗R1(第1の抵抗)が設けられている。また、LCDユニット5の内部では、信号線35とグランドGNDとの間にプルダウン抵抗としての抵抗R2(第2の抵抗)が設けられている。さらに、リモコンユニット7の内部では、信号線35とグランドGNDとの間にプルダウン抵抗としての抵抗R3(第3の抵抗)が設けられている。 The signal line 35 for connection detection of the LCD unit 5 and connection detection and type determination of the remote control unit 7 is connected to the GPIO port 22 and the ADC port 23 of the main CPU 19 inside the main body 3. Inside the main body 3, a resistor R1 (first resistor) as a pull-up resistor is provided between the signal line 35 and the power supply VCC . In the LCD unit 5, a resistor R2 (second resistor) as a pull-down resistor is provided between the signal line 35 and the ground GND. Furthermore, in the remote control unit 7, a resistor R3 (third resistor) as a pull-down resistor is provided between the signal line 35 and the ground GND.

このように構成された内視鏡装置1は、LCDユニット5の接続状態と、リモコンユニット7の接続状態とに応じて(A)点の電圧が変化する。また、内視鏡装置1は、リモコンユニット7の種別によって抵抗R3の抵抗値が異なるように構成されており、接続されるリモコンユニット7の種別に応じて(A)点の電圧が変化する。そのため、メインCPU19は、(A)点の電圧を検出することで、LCDユニット5の接続状態と、リモコンユニット7の接続状態及び種別判別とを行う。   In the endoscope apparatus 1 configured as described above, the voltage at the point (A) changes according to the connection state of the LCD unit 5 and the connection state of the remote control unit 7. Further, the endoscope apparatus 1 is configured such that the resistance value of the resistor R3 varies depending on the type of the remote control unit 7, and the voltage at the point (A) changes according to the type of the remote control unit 7 to be connected. For this reason, the main CPU 19 detects the voltage at the point (A) to determine the connection state of the LCD unit 5 and the connection state and type of the remote control unit 7.

より具体的には、制御部としてのメインCPU19は、GPIOポート22で(A)点のロジックの電圧レベルを検出することでLCDユニット5の接続状態を検知する。また、メインCPU19は、ADCポート23で(A)点のアナログ電圧値を検出することでリモコンユニット7の接続状態及び種別判別を検知及び判別する。   More specifically, the main CPU 19 as the control unit detects the connection state of the LCD unit 5 by detecting the voltage level of the logic at the point (A) at the GPIO port 22. The main CPU 19 detects and discriminates the connection state and type discrimination of the remote control unit 7 by detecting the analog voltage value at point (A) at the ADC port 23.

なお、メインCPU19は、GPIOポート22で(A)点のロジックの電圧レベルを検出することでLCDユニット5の接続状態を検出し、ADCポート23で(A)点のアナログ電圧値を検出することでリモコンユニット7の接続状態及び種別判別を検知及び判別しているが、これに限定されるものではない。例えば、メインCPU19は、(A)点のアナログ電圧値を検出することでLCDユニット5の接続状態と、リモコンユニット7の接続状態及び種別判別を検知及び判別するようにしてもよい。   The main CPU 19 detects the connection state of the LCD unit 5 by detecting the voltage level of the logic at the point (A) at the GPIO port 22, and detects the analog voltage value at the point (A) at the ADC port 23. However, the connection state and type determination of the remote control unit 7 are detected and determined, but the present invention is not limited to this. For example, the main CPU 19 may detect and determine the connection state of the LCD unit 5 and the connection state and type of the remote control unit 7 by detecting the analog voltage value at point (A).

図2は、LCDユニットの接続判定の一例を説明するための図である。   FIG. 2 is a diagram for explaining an example of connection determination of the LCD unit.

本体部3にLCDユニット5が接続されていない場合、プルアップされた抵抗R1により(A)点の電圧がロジック“H”レベル(例えば、VCC=3.3[V])となる。一方、本体部3にLCDユニット5が接続されている場合、抵抗R1と抵抗R2の分圧により(A)点の電圧がロジック“L”レベルとなるように抵抗R1及び抵抗R2の抵抗値が設定されている。 When the LCD unit 5 is not connected to the main body 3, the voltage at the point (A) becomes a logic “H” level (for example, V CC = 3.3 [V]) by the pulled-up resistor R1. On the other hand, when the LCD unit 5 is connected to the main body 3, the resistance values of the resistor R1 and the resistor R2 are set so that the voltage at the point (A) becomes a logic “L” level by voltage division of the resistors R1 and R2. Is set.

そのため、メインCPU19は、GPIOポート22において、(A)点のロジックの電圧レベルが“H”レベルの場合、LCDユニット5が本体部3に接続されていないと判定し、(A)点のロジックの電圧レベルが“L”レベルの場合、LCDユニット5が本体部3に接続されていると判定する。   Therefore, the main CPU 19 determines that the LCD unit 5 is not connected to the main unit 3 when the voltage level of the logic at point (A) is “H” level in the GPIO port 22, and the logic at point (A). When the voltage level is “L” level, it is determined that the LCD unit 5 is connected to the main body 3.

このように、LCDユニット5が本体部3に接続されているか否かの接続判定は、GPIOポート22により、(A)点のロジックの電圧レベルのH/L判定で行うようになっている。   In this manner, the connection determination as to whether or not the LCD unit 5 is connected to the main body 3 is performed by the H / L determination of the voltage level of the logic at the point (A) by the GPIO port 22.

本実施形態では、リモコンユニット7がLCDユニット5を介して本体部3に接続される構成になっているため、LCDユニット5が本体部3に接続されていない場合、リモコンユニット7が本体部3に接続されることはない。一方、LCDユニット5が本体部3に接続されている場合、リモコンユニット7がLCDユニット5を介して本体部3に接続されることがある。そのため、LCDユニット5が本体部3に接続されている場合、リモコンユニット7の接続判定及び種別判別を行う。リモコンユニット7の接続判定及び種別判別は、(A)点のロジックの電圧レベルが“L”レベルの場合に、(A)点のアナログ電圧値をADCポート23で検出することで行う。   In the present embodiment, since the remote control unit 7 is connected to the main body 3 via the LCD unit 5, the remote control unit 7 is connected to the main body 3 when the LCD unit 5 is not connected to the main body 3. Is never connected. On the other hand, when the LCD unit 5 is connected to the main body 3, the remote control unit 7 may be connected to the main body 3 through the LCD unit 5. Therefore, when the LCD unit 5 is connected to the main body 3, connection determination and type determination of the remote control unit 7 are performed. The connection determination and type determination of the remote control unit 7 are performed by detecting the analog voltage value at the point (A) at the ADC port 23 when the voltage level of the logic at the point (A) is “L” level.

図3は、リモコンユニットの接続判定/種別判別の一例を説明するための図である。   FIG. 3 is a diagram for explaining an example of connection determination / type determination of the remote control unit.

リモコンユニット7の接続判定及び種別判別は、(A)点のアナログ電圧値によって判定される。リモコンユニット7が本体部3に未接続の場合、抵抗R1と抵抗R2の分圧により(A)点の電圧がVA3[V]以上となるように抵抗R1及び抵抗R2の抵抗値が設定されている。そのため、メインCPU19は、(A)点の電圧がVA3[V]以上の場合、リモコンユニット7が本体部3に接続されていない判定する。 Connection determination and type determination of the remote control unit 7 are determined by the analog voltage value at point (A). When the remote control unit 7 is not connected to the main body 3, the resistance values of the resistors R1 and R2 are set so that the voltage at the point (A) becomes equal to or higher than V A3 [V] by dividing the resistance R1 and the resistor R2. ing. Therefore, the main CPU 19 determines that the remote control unit 7 is not connected to the main body unit 3 when the voltage at the point (A) is equal to or higher than V A3 [V].

一方、リモコンユニット7がLCDユニット5を介して本体部3に接続されている場合、抵抗R1と、抵抗R2+抵抗R3との分圧により(A)点の電圧がVA3[V]より低くなる。そのため、メインCPU19は、(A)点の電圧がVA3[V]より低い場合、リモコンユニット7が本体部3に接続されていると判定する。 On the other hand, when the remote control unit 7 is connected to the main body 3 via the LCD unit 5, the voltage at the point (A) becomes lower than V A3 [V] due to voltage division between the resistance R1 and the resistance R2 + resistance R3. . Therefore, the main CPU 19 determines that the remote control unit 7 is connected to the main body unit 3 when the voltage at the point (A) is lower than V A3 [V].

リモコンユニット7が本体部3に接続されていると判定とした場合、(A)点のアナログ電圧値から接続されているリモコンユニット7の種別を判別する。リモコンユニット7の抵抗R3は、種別毎に抵抗値が異なって構成されている。例えば、タイプAのリモコンユニット7がLCDユニット5を介して本体部3に接続されている場合、(A)点の電圧がVA2[V]となるように抵抗R1、R2及びR3が設定されている。一方、タイプBのリモコンユニット7がLCDユニット5を介して本体部3に接続されている場合、(A)点の電圧がVA1[V]となるように抵抗R1、R2及びR3が設定されている。 When it is determined that the remote control unit 7 is connected to the main body 3, the type of the remote control unit 7 connected is determined from the analog voltage value at point (A). The resistance R3 of the remote control unit 7 is configured to have a different resistance value for each type. For example, when the type A remote control unit 7 is connected to the main body 3 via the LCD unit 5, the resistors R1, R2, and R3 are set so that the voltage at the point (A) becomes V A2 [V]. ing. On the other hand, when the type B remote control unit 7 is connected to the main body 3 via the LCD unit 5, the resistors R1, R2, and R3 are set so that the voltage at the point (A) becomes V A1 [V]. ing.

そのため、メインCPU19は、(A)点の電圧がVA2[V]の場合、タイプAのリモコンユニット7がLCDユニット5を介して本体部3に接続されていると判定し、(A)点の電圧がVA1[V]の場合、タイプBのリモコンユニット7がLCDユニット5を介して本体部3に接続されていると判定する。 Therefore, when the voltage at the point (A) is V A2 [V], the main CPU 19 determines that the type A remote control unit 7 is connected to the main body 3 via the LCD unit 5, and the point (A) Is V A1 [V], it is determined that the type B remote control unit 7 is connected to the main body 3 via the LCD unit 5.

このようなLCDユニット5の接続状態と、リモコンユニット7の接続状態及び種別判別とを同時に検知する場合の電圧設定について説明する。図4は、各ユニットの接続/未接続状態時の電圧設定の一例を説明するための図である。   The voltage setting in the case of simultaneously detecting the connection state of the LCD unit 5 and the connection state and type determination of the remote control unit 7 will be described. FIG. 4 is a diagram for explaining an example of voltage setting when each unit is connected / not connected.

メインCPU19は、GPIOポート22で(A)点のロジックの電圧レベルのH/Lの判定を行う。メインCPU19は、(A)点の電圧がVIH[V]以上の場合、ロジック“H”と判定し、(A)点の電圧がVIL[V]以下の場合、ロジック“L”と判定する。メインCPU19は、(A)点の電圧がロジック“H”の場合(より具体的には、VA4=VCC=3.3V)、本体部3にLCDユニット5が接続されていないと判定する。本体部3にLCDユニット5が接続されていない場合、リモコンユニット7も本体部3に接続されないため、本体部3のみとなる。 The main CPU 19 determines the logic voltage level H / L at the point (A) at the GPIO port 22. When the voltage at point (A) is equal to or higher than V IH [V], the main CPU 19 determines that the logic is “H”, and when the voltage at point (A) is equal to or lower than V IL [V], the main CPU 19 determines that the logic is “L”. To do. When the voltage at the point (A) is logic “H” (more specifically, V A4 = V CC = 3.3 V), the main CPU 19 determines that the LCD unit 5 is not connected to the main body 3. . When the LCD unit 5 is not connected to the main body 3, the remote control unit 7 is not connected to the main body 3, so that only the main body 3 is provided.

一方、メインCPU19は、(A)点の電圧がVIL[V]以下の場合、本体部3にLCDユニット5が接続されていると判定し、ADCポート23で(A)点のアナログ電圧値を検出することでリモコンユニット7の接続判定、及び、種別判別を行う。 On the other hand, when the voltage at the point (A) is equal to or lower than V IL [V], the main CPU 19 determines that the LCD unit 5 is connected to the main body 3 and the analog voltage value at the point (A) at the ADC port 23. By detecting this, connection determination and type determination of the remote control unit 7 are performed.

メインCPU19は、(A)点の電圧がVA3[V]以上の場合、リモコンユニット7が本体部3に接続されていないと判定する。一方、(A)点の電圧がVA3[V]より低い場合、リモコンユニット7が本体部3に接続されていると判定する。メインCPU19は、リモコンユニット7が本体部3に接続されていると判定した場合、リモコンユニット7の種別判別を行う。 When the voltage at the point (A) is equal to or higher than V A3 [V], the main CPU 19 determines that the remote control unit 7 is not connected to the main body 3. On the other hand, when the voltage at the point (A) is lower than V A3 [V], it is determined that the remote control unit 7 is connected to the main body 3. When determining that the remote control unit 7 is connected to the main body 3, the main CPU 19 determines the type of the remote control unit 7.

メインCPU19は、(A)点の電圧がVA2[V]の場合、タイプAのリモコンユニット7が本体部3に接続されている判定する。一方、メインCPU19は、(A)点の電圧がVA1[V]の場合、タイプBのリモコンユニット7が本体部3に接続されていると判定する。 When the voltage at the point (A) is V A2 [V], the main CPU 19 determines that the type A remote control unit 7 is connected to the main body 3. On the other hand, when the voltage at the point (A) is V A1 [V], the main CPU 19 determines that the type B remote control unit 7 is connected to the main body 3.

このように、メインCPU19は、(A)点の電圧を検出することにより、LCDユニット5の接続状態と、リモコンユニット7の接続状態及び種別判別を直ちに検出する。本体部3は、LCDユニット5の接続を直ちに検出することで、LCD26へ映像信号を直ちに出力することができる。また、リモコンユニット7の種別は、例えば、湾曲部を4方向に湾曲させるジョイスティック29を搭載した通常機能のリモコンユニット7や湾曲部を8方向に湾曲させるジョイスティック29を搭載した高機能のリモコンユニット7が存在する。本体部3は、リモコンユニット7の接続及び種別を直ちに検出することで、これらの機能に対応した制御を行うことができる。   Thus, the main CPU 19 immediately detects the connection state of the LCD unit 5, the connection state of the remote control unit 7, and the type determination by detecting the voltage at the point (A). The main body 3 can immediately output the video signal to the LCD 26 by immediately detecting the connection of the LCD unit 5. The type of remote control unit 7 is, for example, a normal function remote control unit 7 equipped with a joystick 29 that bends the bending portion in four directions or a high function remote control unit 7 equipped with a joystick 29 that bends the bending portion in eight directions. Exists. The main body 3 can perform control corresponding to these functions by immediately detecting the connection and type of the remote control unit 7.

次に、このように構成された内視鏡装置1の接続及び種別判別の処理について説明する。図5は、第1の実施形態の内視鏡装置の接続及び種別判別の処理の一例を説明するためのフローチャートである。   Next, the connection and type determination process of the endoscope apparatus 1 configured as described above will be described. FIG. 5 is a flowchart for explaining an example of the connection and type determination processing of the endoscope apparatus according to the first embodiment.

まず、メインCPU19は、GPIOポート22の電圧レベルを判定する(ステップS1)。電圧レベルが“H”レベルの場合、メインCPU19は、LCDユニット5が本体部3に未接続と判定する(ステップS2)。その後、ステップS1に戻り、同様の処理を繰り返す。一方、電圧レベルが“L”レベルの場合、メインCPU19は、LCDユニット5が本体部3に接続と判定する(ステップS3)。   First, the main CPU 19 determines the voltage level of the GPIO port 22 (step S1). When the voltage level is “H” level, the main CPU 19 determines that the LCD unit 5 is not connected to the main body 3 (step S2). Then, it returns to step S1 and repeats the same process. On the other hand, when the voltage level is “L” level, the main CPU 19 determines that the LCD unit 5 is connected to the main body 3 (step S3).

次に、メインCPU19は、ADCポート23の電圧を判定する(ステップS4)。ADCポート23の電圧がVA2[V]と判定された場合、メインCPU19は、タイプAのリモコンユニット7が本体部3に接続と判定し(ステップS5)、ステップS1に戻り、同様の処理を繰り返す。また、ステップS4において、ADCポート23の電圧がVA1[V]と判定された場合、メインCPU19は、タイプBのリモコンユニット7が本体部3に接続と判定し(ステップS6)、ステップS1に戻り、同様の処理を繰り返す。また、ステップS4において、ADCポート23の電圧がVA3[V]と判定された場合、メインCPU19は、リモコンユニット7が本体部3に未接続と判定し(ステップS7)、ステップS1に戻り、同様の処理を繰り返す。 Next, the main CPU 19 determines the voltage of the ADC port 23 (step S4). When it is determined that the voltage of the ADC port 23 is V A2 [V], the main CPU 19 determines that the type A remote control unit 7 is connected to the main body 3 (step S5), returns to step S1, and performs the same processing. repeat. When the voltage of the ADC port 23 is determined to be V A1 [V] in step S4, the main CPU 19 determines that the type B remote control unit 7 is connected to the main body 3 (step S6), and then proceeds to step S1. Return and repeat the same process. When the voltage of the ADC port 23 is determined as V A3 [V] in step S4, the main CPU 19 determines that the remote control unit 7 is not connected to the main body 3 (step S7), and returns to step S1. Similar processing is repeated.

以上のように、内視鏡装置1は、LCDユニット5の接続状態と、リモコンユニット7の接続状態及び種別判別とを(A)点の電圧を検知することで行うようにしている。このため、内視鏡装置1は、起動時等にLCDユニット5及びリモコンユニット7と通信を行い、接続判定及び種別情報を読み出す必要がなくなり、LCDユニット5の接続状態と、リモコンユニット7の接続状態及び種別判別とを直ちに判別することができる。   As described above, the endoscope apparatus 1 performs the connection state of the LCD unit 5 and the connection state and type determination of the remote control unit 7 by detecting the voltage at point (A). For this reason, the endoscope apparatus 1 communicates with the LCD unit 5 and the remote control unit 7 at the time of start-up and the like, so that it is not necessary to read connection determination and type information, and the connection state of the LCD unit 5 and the connection of the remote control unit 7 are eliminated. The status and type discrimination can be immediately discriminated.

よって、本実施形態の内視鏡装置によれば、接続されるユニットの接続判定及び種別判別を瞬時に行うことができる。   Therefore, according to the endoscope apparatus of the present embodiment, it is possible to instantaneously perform connection determination and type determination of connected units.

さらに、内視鏡装置1は、LCDユニット5がハーネス4を介して本体部3に接続され、リモコンユニット7がハーネス6を介してLCDユニット5に接続される構成において、LCDユニット5の接続状態と、複数種類のリモコンユニット7の接続状態、及び、種別判別とを判定するための信号線が1つの信号線35で構成されている。このため、内視鏡装置1は、ハーネス4及びハーネス6内の信号線の削減、及び、ハーネス4及びハーネス6の径を細くすることが可能となり、内視鏡装置1の小型化、軽量化、及び、コストダウンが可能となる。   Furthermore, the endoscope apparatus 1 is configured so that the LCD unit 5 is connected to the main body 3 via the harness 4 and the remote control unit 7 is connected to the LCD unit 5 via the harness 6. The signal lines for determining the connection states of the plurality of types of remote control units 7 and the type discrimination are configured by one signal line 35. For this reason, the endoscope apparatus 1 can reduce the signal lines in the harness 4 and the harness 6 and reduce the diameter of the harness 4 and the harness 6, thereby reducing the size and weight of the endoscope apparatus 1. And cost reduction.

なお、第1の実施形態では、LCDユニット5の接続状態と、リモコンユニット7の接続状態及び種別判別とを同時に検出する例について説明したが、これに限定されるものではない。例えば、抵抗R1〜R3の抵抗値に応じて(A)点の電圧を複数設定することで、複数種類のLCDユニット5の接続状態及び種別判別と、複数種類のリモコンユニット7の接続状態及び種別判別とを同時に検出することもできる。   In the first embodiment, the example in which the connection state of the LCD unit 5 and the connection state and type determination of the remote control unit 7 are simultaneously detected has been described. However, the present invention is not limited to this. For example, by setting a plurality of voltages at point (A) according to the resistance values of the resistors R1 to R3, it is possible to determine the connection state and type of the plurality of types of LCD units 5, and the connection state and type of the plurality of types of remote control units 7. It is also possible to detect discrimination at the same time.

(第2の実施形態)
次に、第2の実施形態について説明する。
(Second Embodiment)
Next, a second embodiment will be described.

第1の実施形態では、LCDユニットの接続判定と、リモコンユニットの接続判定及び種別判別とを同時に行う内視鏡装置について説明したが、第2の実施形態では、LCDユニットの接続判定及び種別判別と、リモコンユニットの接続判定とを同時に行う内視鏡装置について説明する。   In the first embodiment, the endoscope apparatus that performs the connection determination of the LCD unit and the connection determination and type determination of the remote control unit at the same time has been described. However, in the second embodiment, the connection determination and type determination of the LCD unit is performed. An endoscope apparatus that simultaneously performs connection determination of the remote control unit will be described.

図6は、第2の実施形態に係る内視鏡装置の構成を示す図である。なお、図6において、図1と同様の構成については、同一の符号を付して説明を省略する。図6に示す内視鏡装置1aは、信号線35に接続される抵抗が図1の内視鏡装置1の信号線35に接続される抵抗と異なっている。   FIG. 6 is a diagram illustrating a configuration of an endoscope apparatus according to the second embodiment. In FIG. 6, the same components as those in FIG. 1 are denoted by the same reference numerals and description thereof is omitted. In the endoscope apparatus 1a shown in FIG. 6, the resistance connected to the signal line 35 is different from the resistance connected to the signal line 35 of the endoscope apparatus 1 in FIG.

具体的には、本体部3の内部では、信号線35と電源VCCとの間にプルアップ抵抗としての抵抗R4(第1の抵抗)が設けられ、信号線35とグランドGNDとの間にプルダウン抵抗としての抵抗R5(第1の抵抗)が設けられている。また、LCDユニット5の内部では、信号線35と電源VCCとの間にプルアップ抵抗としての抵抗R6(第2の抵抗)が設けられている。さらに、リモコンユニット7の内部では、信号線35とグランドGNDとの間にプルダウン抵抗としての抵抗R7(第3の抵抗)が設けられている。 Specifically, inside the main body 3, a resistor R4 (first resistor) as a pull-up resistor is provided between the signal line 35 and the power supply VCC, and between the signal line 35 and the ground GND. A resistor R5 (first resistor) as a pull-down resistor is provided. Further, in the inside of the LCD unit 5, the resistance of the pull-up resistor R6 (second resistor) is provided between the signal line 35 and the power supply V CC. Further, in the remote control unit 7, a resistor R7 (third resistor) as a pull-down resistor is provided between the signal line 35 and the ground GND.

このように構成された内視鏡装置1aは、LCDユニット5の接続状態と、リモコンユニット7の接続状態とに応じて(A)点の電圧が変化する。また、内視鏡装置1aは、LCDユニット5の種別によって抵抗R6の抵抗値が異なるように構成されており、接続されるLCDユニット5の種別に応じて(A)点の電圧が変化する。そのため、メインCPU19は、(A)点の電圧を検出することで、LCDユニット5の接続状態及び種別判別と、リモコンユニット7の接続状態とを判別する。   In the endoscope apparatus 1 a configured as described above, the voltage at the point (A) changes according to the connection state of the LCD unit 5 and the connection state of the remote control unit 7. Further, the endoscope apparatus 1a is configured such that the resistance value of the resistor R6 varies depending on the type of the LCD unit 5, and the voltage at the point (A) varies depending on the type of the LCD unit 5 to be connected. Therefore, the main CPU 19 determines the connection state and type determination of the LCD unit 5 and the connection state of the remote control unit 7 by detecting the voltage at the point (A).

より具体的には、メインCPU19は、GPIOポート22で(A)点のロジックの電圧レベルを検出することでリモコンユニット7の接続状態を検知する。また、メインCPU19は、ADCポート23で(A)点のアナログ電圧値を検出することでLCDユニット5の接続状態及び種別判別を検知及び判別する。   More specifically, the main CPU 19 detects the connection level of the remote control unit 7 by detecting the logic voltage level at point (A) at the GPIO port 22. The main CPU 19 detects and discriminates the connection state and type discrimination of the LCD unit 5 by detecting the analog voltage value at point (A) at the ADC port 23.

図7は、リモコンユニットの接続判定の一例を説明するための図である。   FIG. 7 is a diagram for explaining an example of connection determination of the remote control unit.

本体部3にLCDユニット5を介してリモコンユニット7が接続されている場合、GPIOポート22の(A)点の電圧がロジック“L”レベルとなるように抵抗R4〜R7の抵抗値が設定されている。一方、本体部3にLCDユニット5を介してリモコンユニット7が接続されていない場合、GPOIポート22の(A)点の電圧がロジック“H”レベルとなるように抵抗R4〜R7の抵抗値が設定されている。   When the remote control unit 7 is connected to the main body 3 via the LCD unit 5, the resistance values of the resistors R4 to R7 are set so that the voltage at the point (A) of the GPIO port 22 becomes the logic “L” level. ing. On the other hand, when the remote control unit 7 is not connected to the main body unit 3 via the LCD unit 5, the resistance values of the resistors R4 to R7 are set so that the voltage at the point (A) of the GPOI port 22 becomes the logic “H” level. Is set.

そのため、メインCPU19は、CPIOポート22において、(A)点のロジックの電圧レベルが“L”レベルの場合、リモコンユニット7が本体部3に接続されていると判定し、(A)点のロジックの電圧レベルが“H”レベルの場合、リモコンユニット7が本体部3に接続されていないと判定する。   Therefore, when the voltage level of the logic at point (A) is “L” level in the CPIO port 22, the main CPU 19 determines that the remote control unit 7 is connected to the main body unit 3, and the logic at point (A). When the voltage level is “H”, it is determined that the remote control unit 7 is not connected to the main body 3.

このように、リモコンユニット7がLCDユニット5を介して本体部3に接続されているか否かの接続判定は、GPIOポート22により、(A)点のロジックの電圧レベルのH/L判定で行うようになっている。   Thus, the connection determination as to whether or not the remote control unit 7 is connected to the main body 3 via the LCD unit 5 is performed by the H / L determination of the voltage level of the logic at the point (A) by the GPIO port 22. It is like that.

本実施形態では、リモコンユニット7が本体部3に接続されている場合、LCDユニット5が本体部3に必ず接続されており、LCDユニット5の種別判別をロジック“L”レベルの電圧内において、(A)点のアナログ電圧値をADCポート23で検出することで行う。一方、リモコンユニット7が本体部3に接続されていない場合、LCDユニット5が本体部3に接続/非接続の場合があり、LCDユニット5の接続状態と種別判別をロジック“H”レベルの電圧内において、(A)のアナログ電圧値をADCポート23で検出することで行う。   In this embodiment, when the remote control unit 7 is connected to the main body 3, the LCD unit 5 is always connected to the main body 3, and the type determination of the LCD unit 5 is performed within the logic “L” level voltage. This is performed by detecting the analog voltage value at point (A) at the ADC port 23. On the other hand, when the remote control unit 7 is not connected to the main unit 3, the LCD unit 5 may be connected / disconnected to the main unit 3, and a logic “H” level voltage is used to determine the connection state and type of the LCD unit 5. The analog voltage value (A) is detected by the ADC port 23.

図8は、LCDユニットの接続判定/種別判別の一例を説明するための図である。   FIG. 8 is a diagram for explaining an example of connection determination / type determination of the LCD unit.

まず、リモコンユニット7がLCDユニット5を介して本体部3に接続されている場合について説明する。リモコンユニット7がLCDユニット5を介して本体部3に接続されている場合、LCDユニット5も本体部3に接続されているため、(A)点のアナログ電圧値から接続されているLCDユニット5の種別を判別する。   First, the case where the remote control unit 7 is connected to the main body 3 via the LCD unit 5 will be described. When the remote control unit 7 is connected to the main body unit 3 via the LCD unit 5, the LCD unit 5 is also connected to the main body unit 3, so that the LCD unit 5 connected from the analog voltage value at point (A). The type of is determined.

LCDユニット5の抵抗R6は、種別毎に抵抗値が異なって構成されている。例えば、タイプAのLCDユニット5が本体部3に接続されている場合、抵抗R4及びR6と、抵抗R5及びR7の分圧により(A)点の電圧がVB2[V]となるように抵抗R4〜R7が設定されている。一方、タイプBのLCDユニット5が本体部3に接続されている場合、抵抗R4及びR6と、抵抗R5及びR7の分圧により(A)点の電圧がVB1[V]となるように抵抗R4〜R7が設定されている。 The resistor R6 of the LCD unit 5 has a different resistance value for each type. For example, when the type A LCD unit 5 is connected to the main body 3, the resistors R4 and R6 and the resistors R5 and R7 are divided so that the voltage at the point (A) becomes V B2 [V]. R4 to R7 are set. On the other hand, when the type B LCD unit 5 is connected to the main body 3, the resistors R4 and R6 and the resistors R5 and R7 are divided so that the voltage at the point (A) becomes V B1 [V]. R4 to R7 are set.

そのため、メインCPU19は、(A)点の電圧がVB2[V]の場合、タイプAのLCDユニット5が本体部3に接続されていると判定し、(A)点の電圧がVB1[V]の場合、タイプBのLCDユニット5が本体部3に接続されていると判定する。 Therefore, when the voltage at the point (A) is V B2 [V], the main CPU 19 determines that the type A LCD unit 5 is connected to the main body 3, and the voltage at the point (A) is V B1 [ V], it is determined that the type B LCD unit 5 is connected to the main body 3.

次に、リモコンユニット7がLCDユニット5を介して本体部3に接続されていない場合について説明する。リモコンユニット7がLCDユニット5を介して本体部3に接続されていない場合、LCDユニット5は本体部3に接続/未接続の状態があり、(A)点のアナログ電圧値からLCDユニット5の接続状態及び種別判別を行う。   Next, a case where the remote control unit 7 is not connected to the main body 3 via the LCD unit 5 will be described. When the remote control unit 7 is not connected to the main unit 3 via the LCD unit 5, the LCD unit 5 is connected / unconnected to the main unit 3, and the analog voltage value at the point (A) indicates that the LCD unit 5 The connection status and type are determined.

例えば、LCDユニット5が本体部3に接続されていない場合、抵抗R4と抵抗R5との分圧により(A)点の電圧がVB3[V]となるように抵抗R4及び抵抗R5が設定されている。また、タイプAのLCDユニット5が本体部3に接続されている場合、抵抗R4及びR6と、抵抗R5との分圧により(A)点の電圧がVB5[V]となるように抵抗R4〜抵抗R6が設定されている。一方、タイプBのLCDユニット5が本体部3に接続されている場合、抵抗R4及びR6と、抵抗R5との分圧により(A)点の電圧がVB4[V]となるように抵抗R4〜抵抗R6が設定されている。 For example, when the LCD unit 5 is not connected to the main body 3, the resistor R4 and the resistor R5 are set so that the voltage at the point (A) becomes V B3 [V] by voltage division between the resistor R4 and the resistor R5. ing. In addition, when the type A LCD unit 5 is connected to the main body 3, the resistor R4 is set so that the voltage at the point (A) becomes V B5 [V] by voltage division between the resistors R4 and R6 and the resistor R5. ~ Resistance R6 is set. On the other hand, when the type B LCD unit 5 is connected to the main body 3, the resistance R 4 and the resistance R 4 so that the voltage at the point (A) becomes V B4 [V] by dividing the resistances R 4 and R 6 and the resistance R 5. ~ Resistance R6 is set.

そのため、メインCPU19は、(A)点の電圧がVB3[V]の場合、LCDユニット5が本体部3に未接続と判定する。また、メインCPU19は、(A)点の電圧がVB5[V]の場合、タイプAのLCDユニット5が本体部3に接続されていると判定し、(A)点の電圧がVB4[V]の場合、タイプBのLCDユニット5が本体部3に接続されていると判定する。 Therefore, the main CPU 19 determines that the LCD unit 5 is not connected to the main unit 3 when the voltage at the point (A) is V B3 [V]. When the voltage at the point (A) is V B5 [V], the main CPU 19 determines that the type A LCD unit 5 is connected to the main body 3, and the voltage at the point (A) is V B4 [ V], it is determined that the type B LCD unit 5 is connected to the main body 3.

このようなLCDユニット5の接続状態及び種別判別と、リモコンユニット7の接続状態とを同時に検知する場合の電圧設定について説明する。図9は、各ユニットの接続/未接続状態時の電圧設定の一例を説明するための図である。   A description will be given of the voltage setting when the connection state and type determination of the LCD unit 5 and the connection state of the remote control unit 7 are simultaneously detected. FIG. 9 is a diagram for explaining an example of voltage setting when each unit is connected / not connected.

メインCPU19は、GPIOポート22で(A)点の電圧のロジックの電圧レベルのH/Lの判定を行う。メインCPU19は、(A)点の電圧がVIH[V]以上の場合、ロジック“H”と判定し、(A)点の電圧がVIL[V]以下の場合、ロジック“L”と判定する。メインCPU19は、(A)点の電圧がVIH[V]以上の場合、リモコンユニット7が本体部3に接続されていないと判定する。本体部3にリモコンユニット7が接続されている場合、LCDユニット5が本体部3に接続/未接続の状態が存在するため、メインCPU19は、ADCポート23で(A)点のアナログ電圧値を検出することでLCDユニット5の接続状態及び種別判別を行う。 The main CPU 19 determines the voltage level H / L of the voltage logic at the point (A) at the GPIO port 22. When the voltage at point (A) is equal to or higher than V IH [V], the main CPU 19 determines that the logic is “H”, and when the voltage at point (A) is equal to or lower than V IL [V], the main CPU 19 determines that the logic is “L”. To do. When the voltage at the point (A) is equal to or higher than V IH [V], the main CPU 19 determines that the remote control unit 7 is not connected to the main body 3. When the remote control unit 7 is connected to the main body 3, there is a state where the LCD unit 5 is connected / not connected to the main body 3, so the main CPU 19 sets the analog voltage value at point (A) at the ADC port 23. By detecting this, the connection state and type of the LCD unit 5 are determined.

メインCPU19は、(A)点の電圧がVB3[V]の場合、LCDユニット5が本体部3に接続されていないと判定し、本体部3のみとなる。また、メインCPU19は、(A)点の電圧がVB5[V]の場合、タイプAのLCDユニット5が本体部3に接続されている判定し、(A)点の電圧がVB4[V]の場合、タイプBのLCDユニット5が本体部3に接続されていると判定する。 When the voltage at the point (A) is V B3 [V], the main CPU 19 determines that the LCD unit 5 is not connected to the main body 3 and only the main body 3 is present. When the voltage at the point (A) is V B5 [V], the main CPU 19 determines that the type A LCD unit 5 is connected to the main body 3 and the voltage at the point (A) is V B4 [V ], It is determined that the type B LCD unit 5 is connected to the main body 3.

一方、メインCPU19は、(A)点の電圧がVIL[V]以下の場合、リモコンユニット7がLCDユニット5を介して本体部3に接続されていると判定する。メインCPU19は、リモコンユニット7がLCDユニット5を介して本体部3に接続されている場合、LCDユニット5も本体部3に接続されているため、ADCポート23で(A)点のアナログ電圧値を検出することでLCDユニット5の種別判別を行う。 On the other hand, when the voltage at the point (A) is equal to or lower than V IL [V], the main CPU 19 determines that the remote control unit 7 is connected to the main body 3 via the LCD unit 5. When the remote control unit 7 is connected to the main body 3 via the LCD unit 5, the main CPU 19 is connected to the main body 3 because the LCD unit 5 is also connected to the analog voltage value at point (A) at the ADC port 23. Is detected, the type of the LCD unit 5 is determined.

メインCPU19は、(A)点の電圧がVB2[V]の場合、タイプAのLCDユニット5が本体部3に接続されている判定し、(A)点の電圧がVB1[V]の場合、タイプBのLCDユニット5が本体部3に接続されていると判定する。 When the voltage at the point (A) is V B2 [V], the main CPU 19 determines that the type A LCD unit 5 is connected to the main body 3, and the voltage at the point (A) is V B1 [V]. In this case, it is determined that the type B LCD unit 5 is connected to the main body 3.

このように、メインCPU19は、(A)点の電圧を検出することにより、LCDユニット5の接続状態及び種別判別と、リモコンユニット7の接続状態を直ちに検出する。本体部3は、LCDユニット5の接続及び種別を直ちに検出することで、接続されたLCDユニット5に対応した画像サイズ、色ビット数等の映像信号を直ちにLCDユニット5に出力することができる。   Thus, the main CPU 19 immediately detects the connection state and type determination of the LCD unit 5 and the connection state of the remote control unit 7 by detecting the voltage at point (A). The main body 3 can immediately detect the connection and type of the LCD unit 5 to immediately output a video signal such as an image size and a color bit number corresponding to the connected LCD unit 5 to the LCD unit 5.

次に、このように構成された内視鏡装置1aの接続及び種別判別の処理について説明する。図10は、第2の実施形態の内視鏡装置の接続及び種別判別の処理の一例を説明するためのフローチャートである。   Next, connection and type determination processing of the endoscope apparatus 1a configured as described above will be described. FIG. 10 is a flowchart for explaining an example of the connection and type determination processing of the endoscope apparatus according to the second embodiment.

まず、メインCPU19は、GPIOポート22の電圧レベルを判定する(ステップS11)。電圧レベルが“H”レベルの場合、メインCPU19は、リモコンユニット7が本体部3に未接続と判定し(ステップS12)、ステップS14に進む。一方、電圧レベルが“L”レベルの場合、メインCPU19は、リモコンユニット7が本体部3に接続と判定し(ステップS13)、ステップS18に進む。   First, the main CPU 19 determines the voltage level of the GPIO port 22 (step S11). When the voltage level is “H” level, the main CPU 19 determines that the remote control unit 7 is not connected to the main body 3 (step S12), and proceeds to step S14. On the other hand, when the voltage level is “L” level, the main CPU 19 determines that the remote control unit 7 is connected to the main body 3 (step S13), and proceeds to step S18.

ステップS12において、リモコンユニット7が本体部3に未接続と判定されると、メインCPU19は、ADCポート23の電圧を判定する(ステップS14)。ADCポート23の電圧がVB3[V]と判定された場合、メインCPU19は、LCDユニット5が本体部3に未接続と判定し(ステップS15)、ステップS11に戻り、同様の処理を繰り返す。また、ステップS14において、ADCポート23の電圧がVB4[V]と判定された場合、メインCPU19は、タイプAのLCDユニット5が本体部3に接続と判定し(ステップS16)、ステップS11に戻り、同様の処理を繰り返す。また、ステップS14において、ADCポート23の電圧がVB5[V]と判定された場合、メインCPU19は、タイプBのLCDユニット5が本体部3に接続と判定し(ステップS17)、ステップS11に戻り、同様の処理を繰り返す。 If it is determined in step S12 that the remote control unit 7 is not connected to the main body 3, the main CPU 19 determines the voltage of the ADC port 23 (step S14). When it is determined that the voltage of the ADC port 23 is V B3 [V], the main CPU 19 determines that the LCD unit 5 is not connected to the main body 3 (step S15), returns to step S11, and repeats the same processing. If it is determined in step S14 that the voltage of the ADC port 23 is V B4 [V], the main CPU 19 determines that the type A LCD unit 5 is connected to the main body 3 (step S16), and then proceeds to step S11. Return and repeat the same process. If it is determined in step S14 that the voltage of the ADC port 23 is V B5 [V], the main CPU 19 determines that the type B LCD unit 5 is connected to the main body 3 (step S17), and then proceeds to step S11. Return and repeat the same process.

一方、ステップS13において、リモコンユニット7が本体部3に接続と判定されると、メインCPU19は、ADCポート23の電圧を判定する(ステップS18)。ADCポート23の電圧がVB1[V]と判定された場合、メインCPU19は、タイプAのLCDユニット5が本体部3に接続と判定し(ステップS19)、ステップS11に戻り、同様の処理を繰り返す。また、ステップS18において、ADCポート23の電圧がVB2[V]と判定された場合、メインCPU19は、タイプBのLCDユニット5が本体部3に接続と判定し(ステップS20)、ステップS11に戻り、同様の処理を繰り返す。 On the other hand, when it is determined in step S13 that the remote control unit 7 is connected to the main body 3, the main CPU 19 determines the voltage of the ADC port 23 (step S18). When the voltage of the ADC port 23 is determined to be V B1 [V], the main CPU 19 determines that the type A LCD unit 5 is connected to the main body 3 (step S19), returns to step S11, and performs the same processing. repeat. If it is determined in step S18 that the voltage of the ADC port 23 is V B2 [V], the main CPU 19 determines that the type B LCD unit 5 is connected to the main body 3 (step S20), and then proceeds to step S11. Return and repeat the same process.

以上のように、内視鏡装置1aは、LCDユニット5の接続状態及び種別判別と、リモコンユニット7の接続状態とを(A)点の電圧を検知することで行うようにしている。このため、内視鏡装置1は、起動時等にLCDユニット5及びリモコンユニット7と通信を行い、接続判定及び種別情報を読み出す必要がなくなり、LCDユニット5の接続状態と、リモコンユニット7の接続状態及び種別判別とを直ちに判別することができる。   As described above, the endoscope apparatus 1a performs the connection state and type determination of the LCD unit 5 and the connection state of the remote control unit 7 by detecting the voltage at the point (A). For this reason, the endoscope apparatus 1 communicates with the LCD unit 5 and the remote control unit 7 at the time of start-up and the like, so that it is not necessary to read connection determination and type information, and the connection state of the LCD unit 5 and the connection of the remote control unit 7 are eliminated. The status and type discrimination can be immediately discriminated.

よって、本実施形態の内視鏡装置によれば、第1の実施形態と同様に、接続されるユニットの接続判定及び種別判別を瞬時に行うことができる。   Therefore, according to the endoscope apparatus of the present embodiment, the connection determination and the type determination of the units to be connected can be instantaneously performed as in the first embodiment.

なお、第2の実施形態では、LCDユニット5の接続状態及び種別判別と、リモコンユニット7の接続状態とを同時に検出する例について説明したが、これに限定されるものではない。例えば、抵抗R4〜R7の抵抗値に応じて(A)点の電圧を複数設定することで、複数種類のLCDユニット5の接続状態及び種別判別と、複数種類のリモコンユニット7の接続状態及び種別判別とを同時に検出することもできる。   In the second embodiment, the example in which the connection state and type determination of the LCD unit 5 and the connection state of the remote control unit 7 are simultaneously detected has been described. However, the present invention is not limited to this. For example, by setting a plurality of voltages at point (A) according to the resistance values of the resistors R4 to R7, it is possible to determine the connection state and type of a plurality of types of LCD units 5, and the connection state and type of a plurality of types of remote control units 7. It is also possible to detect discrimination at the same time.

なお、本明細書におけるフローチャート中の各ステップは、その性質に反しない限り、実行順序を変更し、複数同時に実行し、あるいは実行毎に異なった順序で実行してもよい。   Note that the steps in the flowchart in this specification may be executed in a different order for each execution by changing the execution order and executing a plurality of steps at the same time as long as it does not contradict its nature.

本発明は、上述した実施形態に限定されるものではなく、本発明の要旨を変えない範囲において、種々の変更、改変等が可能である。   The present invention is not limited to the above-described embodiments, and various changes and modifications can be made without departing from the scope of the present invention.

1…内視鏡システム、2…内視鏡、3…本体部、4,6…ハーネス、5…LCDユニット、7…リモコンユニット、10…挿入部、11…先端部、12…把持部、13…対物レンズ、14…撮像素子、15…撮像素子駆動部、16…AFE、17…サブCPU、18…CCU、19…メインCPU、20…LCD表示回路、21…タッチパネル信号受信回路、22…GPIO、23…ADC、24…受信回路、25…ドライブ回路、26…LCD、27…タッチパネル、28,34…EEPROM、29…ジョイスティック、30,31…操作ボタン、32…ADC、33…IOEX、35…信号線。 DESCRIPTION OF SYMBOLS 1 ... Endoscope system, 2 ... Endoscope, 3 ... Main-body part, 4, 6 ... Harness, 5 ... LCD unit, 7 ... Remote control unit, 10 ... Insertion part, 11 ... Tip part, 12 ... Gripping part, 13 DESCRIPTION OF SYMBOLS ... Objective lens, 14 ... Image sensor, 15 ... Image sensor drive part, 16 ... AFE, 17 ... Sub CPU, 18 ... CCU, 19 ... Main CPU, 20 ... LCD display circuit, 21 ... Touch panel signal receiving circuit, 22 ... GPIO 23 ... ADC, 24 ... receiving circuit, 25 ... drive circuit, 26 ... LCD, 27 ... touch panel, 28,34 ... EEPROM, 29 ... joystick, 30, 31 ... operating buttons, 32 ... ADC, 33 ... IOEX, 35 ... Signal line.

Claims (5)

本体部、液晶パネルユニット、及び、リモコンユニットが直列に接続される内視鏡装置であって、
前記本体部、前記液晶パネルユニット、及び、前記リモコンユニット内に直列に接続される信号線と、
前記本体部内で前記信号線に接続される第1の抵抗と、
前記液晶パネルユニット内で前記信号線に接続される第2の抵抗と、
前記リモコンユニット内で前記信号線に接続される第3の抵抗と、
前記第1の抵抗、前記第2の抵抗及び前記第3の抵抗により分圧された前記信号線の電圧レベルに応じて前記液晶パネルユニット及び前記リモコンユニットの接続を判定し、前記第1の抵抗、前記第2の抵抗及び前記第3の抵抗により分圧された前記信号線のアナログ電圧値に応じて少なくとも前記液晶パネルユニットの種別または前記リモコンユニットの種別を判別する制御部と、
を有することを特徴とする内視鏡装置。
An endoscope apparatus in which a main body, a liquid crystal panel unit, and a remote control unit are connected in series,
A signal line connected in series in the main body, the liquid crystal panel unit, and the remote control unit;
A first resistor connected to the signal line in the main body;
A second resistor connected to the signal line in the liquid crystal panel unit;
A third resistor connected to the signal line in the remote control unit;
The connection of the liquid crystal panel unit and the remote control unit is determined according to the voltage level of the signal line divided by the first resistor, the second resistor, and the third resistor, and the first resistor A control unit for determining at least a type of the liquid crystal panel unit or a type of the remote control unit according to an analog voltage value of the signal line divided by the second resistor and the third resistor;
An endoscope apparatus characterized by comprising:
前記制御部は、前記液晶パネルユニットの種別または前記リモコンユニットの種別に応じた制御を行うことを特徴とする請求項1に記載の内視鏡装置。   The endoscope apparatus according to claim 1, wherein the control unit performs control according to a type of the liquid crystal panel unit or a type of the remote control unit. 前記第1の抵抗はプルアップ抵抗により構成され、
前記第2及び前記第3の抵抗はそれぞれプルダウン抵抗により構成されていることを特徴とする請求項1または2に記載の内視鏡装置。
The first resistor comprises a pull-up resistor;
The endoscope apparatus according to claim 1, wherein each of the second and third resistors is configured by a pull-down resistor.
前記第1の抵抗はプルアップ抵抗及びプルダウン抵抗により構成され、
前記第2の抵抗はプルアップ抵抗により構成され、
前記第3の抵抗はプルダウン抵抗により構成されていることを特徴とする請求項1または2に記載の内視鏡装置。
The first resistor includes a pull-up resistor and a pull-down resistor,
The second resistor is constituted by a pull-up resistor,
The endoscope apparatus according to claim 1, wherein the third resistor includes a pull-down resistor.
前記液晶パネルユニット及び前記リモコンユニットは、それぞれ種別に応じたパラメータ情報が格納された不揮発性メモリを備えたことを特徴とする請求項1から4のいずれか1つに記載の内視鏡装置。   The endoscope apparatus according to claim 1, wherein each of the liquid crystal panel unit and the remote control unit includes a nonvolatile memory in which parameter information corresponding to a type is stored.
JP2015127813A 2015-06-25 2015-06-25 Endoscope apparatus Pending JP2017006546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015127813A JP2017006546A (en) 2015-06-25 2015-06-25 Endoscope apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015127813A JP2017006546A (en) 2015-06-25 2015-06-25 Endoscope apparatus

Publications (1)

Publication Number Publication Date
JP2017006546A true JP2017006546A (en) 2017-01-12

Family

ID=57760670

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015127813A Pending JP2017006546A (en) 2015-06-25 2015-06-25 Endoscope apparatus

Country Status (1)

Country Link
JP (1) JP2017006546A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7133484B2 (en) 2019-01-04 2022-09-08 株式会社ユニバーサルエンターテインメント game machine
JP7133483B2 (en) 2019-01-04 2022-09-08 株式会社ユニバーサルエンターテインメント game machine

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7133484B2 (en) 2019-01-04 2022-09-08 株式会社ユニバーサルエンターテインメント game machine
JP7133483B2 (en) 2019-01-04 2022-09-08 株式会社ユニバーサルエンターテインメント game machine

Similar Documents

Publication Publication Date Title
US9298351B2 (en) Inspection image display apparatus, inspection image display method and storage medium
US8764635B2 (en) Endoscope apparatus
JP5026886B2 (en) Medical device and medical system provided with the medical device
JP6038413B1 (en) Signal processing apparatus and endoscope system
WO2013073418A1 (en) Image signal processor for endoscope
US20170127924A1 (en) Image pickup apparatus and electronic endoscope system
JP5513142B2 (en) Endoscope device
JP2017006546A (en) Endoscope apparatus
US7850606B2 (en) Endoscope device
US10939093B2 (en) Image processing device for endoscope that reconfigures image processing circuit based on disconnection time
US20170258298A1 (en) Endoscope system
US8366610B2 (en) Endoscope apparatus
JP2007006974A5 (en)
CN107205627B (en) Signal processing apparatus and signal processing method
JP2016220946A (en) Endoscope device and setting method of endoscope device
JP5153381B2 (en) Endoscope device
JP2014236475A (en) Imaging device and endoscope device
CN100571605C (en) Endoscope-shape detection device
JP2008245934A (en) Signal conversion adapter and electronic endoscope system
CN208985189U (en) A kind of vehicle equipment
CN103784104A (en) Endoscope host and endoscope signal processing method
JP2017124127A (en) Medical signal processor and medical observation system
JP2017006489A (en) Endoscope apparatus
JP2017124126A (en) Medical signal processor and medical observation system
JP2016218322A (en) Endoscope system