JP2008142153A - Processor for electronic endoscope and electronic endoscope system - Google Patents

Processor for electronic endoscope and electronic endoscope system Download PDF

Info

Publication number
JP2008142153A
JP2008142153A JP2006330272A JP2006330272A JP2008142153A JP 2008142153 A JP2008142153 A JP 2008142153A JP 2006330272 A JP2006330272 A JP 2006330272A JP 2006330272 A JP2006330272 A JP 2006330272A JP 2008142153 A JP2008142153 A JP 2008142153A
Authority
JP
Japan
Prior art keywords
electronic endoscope
data communication
terminal
processor
controller
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.)
Granted
Application number
JP2006330272A
Other languages
Japanese (ja)
Other versions
JP4864673B2 (en
Inventor
Takayuki Enomoto
貴之 榎本
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.)
Pentax Corp
Original Assignee
Pentax 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 Pentax Corp filed Critical Pentax Corp
Priority to JP2006330272A priority Critical patent/JP4864673B2/en
Publication of JP2008142153A publication Critical patent/JP2008142153A/en
Application granted granted Critical
Publication of JP4864673B2 publication Critical patent/JP4864673B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Instruments For Viewing The Inside Of Hollow Bodies (AREA)
  • Endoscopes (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a processor for an electronic endoscope and an electronic endoscope system adjusting parameters used by a signal processing circuit of the electronic endoscope. <P>SOLUTION: This processor for the electronic endoscope is provided with: a first data transmission terminal for transmitting/receiving data when performing data communication with the electronic endoscope; a second data transmission terminal for transmitting/receiving the data when performing the data communication between a controller of the processor for the electronic endoscope or the electronic endoscope and an external apparatus; and a changeover circuit for changing over between a first mode where the second data communication terminal and the controller are connected to allow the data communication between the external apparatus and the controller, and a second mode where the second data communication terminal and the first data communication terminal are connected without being interposed by the controller to allow the data communication between the external apparatus and the electronic endoscope. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、電子内視鏡と接続され、電子内視鏡から出力される映像信号を処理してモニタ等に出力する電子内視鏡用プロセッサ及び、この電子内視鏡用プロセッサを有する電子内視鏡システムに関する。   The present invention relates to an electronic endoscope processor that is connected to an electronic endoscope, processes a video signal output from the electronic endoscope, and outputs the processed video signal to a monitor or the like, and an electronic endoscope having the electronic endoscope processor The present invention relates to an endoscope system.

近年、特許文献1に記載のもののような、画像処理に必要なパラメータの一部(ホワイトバランスなど)を電子内視鏡側のメモリに記憶させた構成が利用されている。或いは、パラメータにとどまらず、前段画像処理を行う処理回路及びこの処理回路で実行されるプログラムが電子内視鏡に内蔵される構成も提案されている。
特開2003−132151号公報
In recent years, a configuration in which a part of parameters necessary for image processing (such as white balance) is stored in a memory on the electronic endoscope side, such as that described in Patent Document 1, has been used. Alternatively, a configuration has been proposed in which a processing circuit for performing pre-stage image processing and a program executed by the processing circuit are incorporated in an electronic endoscope, not limited to parameters.
JP 2003-132151 A

このプログラムやパラメータ等は、電子内視鏡に内蔵されている書き換え可能なEEPROMに記憶されている。このプログラムの更新、或いは追加を行う場合は、電子内視鏡のメーカのサービスマンが電子内視鏡を持ち帰り、電子内視鏡内のEEPROMを書き換えるための専用装置に接続して、プログラムの更新作業等を行っていた。しかしながら、この方法は電子内視鏡を回収する手間やコストがかかるものであり、改善案が望まれていた。   The program, parameters, and the like are stored in a rewritable EEPROM built in the electronic endoscope. When updating or adding this program, the serviceman of the manufacturer of the electronic endoscope takes the electronic endoscope home, connects to a dedicated device for rewriting the EEPROM in the electronic endoscope, and updates the program. I was working. However, this method requires labor and cost for collecting the electronic endoscope, and an improvement plan has been desired.

また、画質の調整を行うために信号処理回路が使用するパラメータを適宜調整することが電子内視鏡の利用者から望まれている。パラメータの調整を行うような場合は、電子内視鏡の固体撮像素子によって撮像された画像を観察しながら行うことが望ましい。このような目的のため、電子内視鏡からの映像信号を処理してモニタに表示させるための装置である電子内視鏡用プロセッサが所定のプログラムを実行することによってEEPROMに記憶されたパラメータの調整を行う構成が提案されている。   Further, it is desired by users of electronic endoscopes to appropriately adjust parameters used by the signal processing circuit in order to adjust image quality. When adjusting the parameters, it is preferable to observe the image picked up by the solid-state image sensor of the electronic endoscope. For this purpose, the electronic endoscope processor, which is a device for processing the video signal from the electronic endoscope and displaying it on the monitor, executes the predetermined program to set the parameters stored in the EEPROM. A configuration for making adjustments has been proposed.

しかしながら、このような構成においては、電子内視鏡用プロセッサにパラメータ調整用のプログラムを内蔵しなければならない。一般に、電子内視鏡用プロセッサは複数種類の電子内視鏡が接続されるようになっているため、パラメータ調整用のプログラムも複数種類の仕様の電子内視鏡に対応できるよう複数種類用意しなくてはならない。また、電子内視鏡用プロセッサのコントローラ及びOSは汎用のものではないため、例えばUI(ユーザインターフェース)部分をパラメータ調整用のプログラム自身が持っていなければならない。このため、パラメータ調整用のプログラムの開発は容易なものではなく、また、プログラムサイズが大きくなりがちである。一方、電子内視鏡用プロセッサ等の組み込み系の機器においては、コスト上の理由などからメモリ(RAM)の容量が少なく抑えられており、パラメータ調整用のプログラムを実行するためのメモリの容量を大きくとることができないという制限がある。これによって、パラメータ調整用のプログラムを開発することはより困難なものとなっている。すなわち、上記構成においては、電子内視鏡の信号処理回路が使用するパラメータの調整を行えるようにするためのコストや手間が極めて大きいものになっていた。   However, in such a configuration, a program for parameter adjustment must be built in the electronic endoscope processor. In general, since multiple types of electronic endoscopes are connected to the processor for electronic endoscopes, multiple types of parameter adjustment programs are prepared to support electronic endoscopes with multiple types of specifications. Must-have. Further, since the controller and OS of the electronic endoscope processor are not general purpose, the parameter adjustment program itself must have a UI (user interface) portion, for example. For this reason, development of a parameter adjustment program is not easy, and the program size tends to increase. On the other hand, in embedded devices such as a processor for an electronic endoscope, the memory (RAM) has a small capacity for reasons of cost, and the capacity of a memory for executing a parameter adjustment program is reduced. There is a restriction that it cannot be taken large. This makes it more difficult to develop a parameter adjustment program. That is, in the above configuration, the cost and labor required to adjust the parameters used by the signal processing circuit of the electronic endoscope are extremely large.

上記の問題を解決するため、本発明はコストや手間をかけることなく電子内視鏡の信号処理回路が使用するパラメータの調整を実施可能な電子内視鏡用プロセッサ及び電子内視鏡システムを提供することを目的とする。   In order to solve the above problems, the present invention provides an electronic endoscope processor and an electronic endoscope system capable of adjusting parameters used by a signal processing circuit of an electronic endoscope without cost and labor. The purpose is to do.

上記目的を達成するため、本発明の電子内視鏡用プロセッサは、電子内視鏡と接続されこの電子内視鏡とデータ通信を行う際のデータを送受信するための第1のデータ通信端子と、電子内視鏡用プロセッサのコントローラまたは電子内視鏡と外部機器との間でデータ通信を行う際のデータを送受信するための第2のデータ通信端子と、第2のデータ通信端子とコントローラとが接続されて外部機器とコントローラとの間でのデータ通信を可能とする第1のモードと、第2のデータ通信端子と前記第1のデータ通信端子とが前記コントローラを介さずに接続されて該外部機器と該電子内視鏡との間でのデータ通信を可能とする第2のモードと、を切り換える切換回路とを有する。   In order to achieve the above object, an electronic endoscope processor of the present invention is connected to an electronic endoscope, and has a first data communication terminal for transmitting and receiving data when performing data communication with the electronic endoscope. A second data communication terminal for transmitting / receiving data when performing data communication between the controller of the electronic endoscope processor or the electronic endoscope and an external device, a second data communication terminal, and a controller; Is connected, and the first mode enabling data communication between the external device and the controller, the second data communication terminal, and the first data communication terminal are connected without passing through the controller. A switching circuit for switching between a second mode enabling data communication between the external device and the electronic endoscope;

このような構成にすることにより、PC等の外部機器を第1のデータ通信端子に接続させ、第2のモードにおいて外部機器で電子内視鏡のコントローラ(信号処理回路)が使用するパラメータの調整プログラムを実行してパラメータの調整を行うことができる。本発明においては、第2のモードであっても電子内視鏡が撮像した映像は電子内視鏡用プロセッサを介してモニタに表示されるため、外部機器でパラメータの調整作業を行いながら調整結果をモニタで確認することができる。また、汎用性の高いコントローラ上で動作する汎用のOSにおいては、GUI(グラフィカル・ユーザ・インターフェース)を用いたプログラムを容易に開発できるようにするためのAPI(Application Program Interface)が豊富に用意されており、また、プログラム実行用のワークメモリを充分に確保可能である。そのため、このような外部機器(例えばPC)上で動作するパラメータ調整プログラムの開発は、電子内視鏡用プロセッサのコントローラ及びOS上で動作する同様のプログラムの開発よりもはるかに容易である。従って、本発明によれば、コストや手間をかけることなく電子内視鏡の信号処理回路が使用するパラメータの調整を実施可能となる。   With this configuration, an external device such as a PC is connected to the first data communication terminal, and adjustment of parameters used by the controller (signal processing circuit) of the electronic endoscope in the external device in the second mode is performed. The program can be executed to adjust the parameters. In the present invention, since the image captured by the electronic endoscope is displayed on the monitor via the electronic endoscope processor even in the second mode, the adjustment result is obtained while adjusting the parameters with the external device. Can be confirmed on the monitor. In addition, in a general-purpose OS that runs on a highly versatile controller, APIs (Application Program Interfaces) that allow easy development of programs using a GUI (graphical user interface) are prepared. In addition, a sufficient work memory for program execution can be secured. Therefore, the development of such a parameter adjustment program that operates on an external device (for example, a PC) is much easier than the development of a similar program that operates on the controller of the electronic endoscope processor and the OS. Therefore, according to the present invention, it is possible to adjust the parameters used by the signal processing circuit of the electronic endoscope without cost and effort.

また、第1のモードにおいては、第2のデータ通信端子と前記コントローラとが接続されて該外部機器と前記コントローラとの間でのデータ通信が可能となる構成としてもよい。このような構成にすると、外部機器と電子内視鏡用プロセッサとの間でデータ通信を行って、例えば電子内視鏡用プロセッサのファームウェアの更新などを行うことが出来るようになる。   In the first mode, the second data communication terminal and the controller may be connected to enable data communication between the external device and the controller. With this configuration, it is possible to perform data communication between the external device and the electronic endoscope processor, for example, to update the firmware of the electronic endoscope processor.

また、好ましくは、電子内視鏡用プロセッサのケースの外殻に形成され、電子内視鏡用プロセッサの外部から操作される切換手段を有し、切換回路は、切換手段の操作結果に基づいて第1のモードと該第2のモードとを切り換える。   Preferably, the electronic endoscope processor has a switching means formed on an outer shell of the case of the electronic endoscope processor and operated from the outside of the electronic endoscope processor, and the switching circuit is based on an operation result of the switching means. Switching between the first mode and the second mode.

切換手段は、例えば第1のモードと該第2のモードとを手動で切り換えるための電子式または機械式のスイッチを有する。或いは、切換手段は、外部機器とコントローラとの間でデータ通信を行う際のデータを送受信するための第3のデータ通信端子を有し、コントローラが第3のデータ通信端子を介して該外部機器から受信したデータに基づいて切換回路を制御することによって、第1のモードと該第2のモードとが切り換えられる構成としてもよい。   The switching means has, for example, an electronic or mechanical switch for manually switching between the first mode and the second mode. Alternatively, the switching means has a third data communication terminal for transmitting and receiving data when data communication is performed between the external device and the controller, and the controller passes through the third data communication terminal to connect the external device. The first mode and the second mode may be switched by controlling the switching circuit based on the data received from.

以上のように、本発明によれば、コストや手間をかけることなく電子内視鏡の信号処理回路が使用するパラメータの調整を実施可能な電子内視鏡用プロセッサ及び電子内視鏡システムが実現される。   As described above, according to the present invention, an electronic endoscope processor and an electronic endoscope system capable of adjusting parameters used by a signal processing circuit of an electronic endoscope without cost and labor are realized. Is done.

以下、本発明の実施の形態に付き、図面を用いて説明する。図1は、本発明の第1の実施の形態による電子内視鏡用プロセッサを含む電子内視鏡システムのブロック図である。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an electronic endoscope system including an electronic endoscope processor according to a first embodiment of the present invention.

本実施形態の電子内視鏡システム1は、電子内視鏡10と、電子内視鏡用プロセッサ20と、モニタ30と、端末PC40と、を有する。電子内視鏡用プロセッサ20のケース21の外殻には電子内視鏡用コネクタ21aが形成されており、この電子内視鏡用コネクタ21aに電子内視鏡10の基端に設けられたコネクタ部19を接続することによって電子内視鏡10と電子内視鏡用プロセッサ20とが連結される。   The electronic endoscope system 1 of this embodiment includes an electronic endoscope 10, an electronic endoscope processor 20, a monitor 30, and a terminal PC 40. An electronic endoscope connector 21 a is formed on the outer shell of the case 21 of the electronic endoscope processor 20, and the connector provided at the base end of the electronic endoscope 10 is connected to the electronic endoscope connector 21 a. The electronic endoscope 10 and the electronic endoscope processor 20 are coupled by connecting the unit 19.

また、電子内視鏡用プロセッサ20のケース21の外殻には、モニタ用コネクタ21bが設けられている。電子内視鏡10が電子内視鏡用プロセッサに接続された状態で、このモニタ用コネクタ21bにケーブル31を介してモニタ30を接続することによって、電子内視鏡10によって撮像された映像をモニタ30に表示させることが出来るようになる。   A monitor connector 21b is provided on the outer shell of the case 21 of the electronic endoscope processor 20. With the electronic endoscope 10 connected to the electronic endoscope processor, the monitor 30 is connected to the monitor connector 21b via the cable 31 to monitor the video imaged by the electronic endoscope 10. 30 can be displayed.

電子内視鏡用プロセッサ20のケース21の外殻には、シリアルコネクタ21cが設けられている。このシリアルコネクタ21cにシリアルケーブルを介してパラメータ書き換え用の端末PC40を接続することができる。   A serial connector 21 c is provided on the outer shell of the case 21 of the electronic endoscope processor 20. The terminal PC 40 for parameter rewriting can be connected to the serial connector 21c via a serial cable.

本実施形態の電子内視鏡は、撮像のみならず、一部の画像処理を内視鏡自身で行うようになっている。本実施形態においては、対物光学系15、撮像素子としてのCCD16、CCD駆動回路14、初段信号処理回路11、メモリ12、及び内視鏡用MCU(Memory Control Unit)13が、電子内視鏡10に内蔵されている   The electronic endoscope according to the present embodiment performs not only imaging but also part of image processing by the endoscope itself. In the present embodiment, an objective optical system 15, a CCD 16 as an imaging device, a CCD drive circuit 14, a first stage signal processing circuit 11, a memory 12, and an endoscope MCU (Memory Control Unit) 13 are included in the electronic endoscope 10. Built in

対物光学系15は、電子内視鏡10の挿入管18の先端部に内蔵されており、この対物光学系15によって、挿入管18の先端部の周囲の像がCCD16の受光面上で結像する。CCD16はこの像を電気信号であるCCD信号に変換してCCD駆動回路14に送り出す。   The objective optical system 15 is built in the distal end portion of the insertion tube 18 of the electronic endoscope 10, and the objective optical system 15 forms an image around the distal end portion of the insertion tube 18 on the light receiving surface of the CCD 16. To do. The CCD 16 converts this image into a CCD signal, which is an electrical signal, and sends it to the CCD drive circuit 14.

CCD駆動回路14は、CCD16を制御する機能を有する。CCD16の受光面には、多数の(数10万〜数100万程度)受光セルが格子状に配置されており、各受光セルに入射した光は電荷に変換されて受光セルに蓄積される。この電荷を所定のタイミングで外部に送り出すことによって受光面に形成された像に対応する電気信号が出力されることになる。CCD駆動回路14は、CCD16の受光セルに蓄積された電荷を出力するタイミングを制御するための駆動信号をCCD16に送る回路である。また、CCD駆動回路14は、CCD16から出力されるCCD信号をA/D変換してこれを初段信号処理回路11に送る機能をも有する。   The CCD drive circuit 14 has a function of controlling the CCD 16. On the light receiving surface of the CCD 16, a large number (several hundreds of thousands to several millions) of light receiving cells are arranged in a lattice shape. By sending this electric charge to the outside at a predetermined timing, an electric signal corresponding to the image formed on the light receiving surface is output. The CCD drive circuit 14 is a circuit that sends a drive signal to the CCD 16 for controlling the timing of outputting the charges accumulated in the light receiving cells of the CCD 16. The CCD drive circuit 14 also has a function of A / D converting the CCD signal output from the CCD 16 and sending it to the first stage signal processing circuit 11.

初段信号処理回路11は、一種のDSP(Digital Signal Processor)を有しており、入力されるデジタル信号を処理して電子内視鏡に送る機能を有する。メモリ12は、DSPが実行するプログラムやそのプログラムが使用するデータ(ルックアップテーブルなど)が収められた不揮発性メモリ(フラッシュメモリ等)である。初段信号処理回路11は内視鏡用MCU13を介してメモリ12にアクセスする(すなわち、メモリ12からプログラムやデータを読み出す)ことができる。   The first stage signal processing circuit 11 has a kind of DSP (Digital Signal Processor), and has a function of processing an input digital signal and sending it to an electronic endoscope. The memory 12 is a non-volatile memory (flash memory or the like) that stores a program executed by the DSP and data (such as a lookup table) used by the program. The first-stage signal processing circuit 11 can access the memory 12 (that is, read a program and data from the memory 12) via the endoscope MCU 13.

初段信号処理回路11が実行する処理の一例につき、以下説明する。本実施形態においては、CCD16は各受光セルにカラーフィルタが付与されたカラーCCDである。このカラーフィルタの配列パターンとしては赤・緑・青のフィルタを用いるRGB方式のものや、マゼンダ・シアン・黄・緑のフィルタを用いる補色方式のもの等がある。初段信号処理回路11は、隣接する複数の受光セルに対応したCCD信号をA/D変換したデジタル信号を所定の関数に基づいて処理し、電子内視鏡用プロセッサ20が処理しやすいRGB形式のデジタル映像信号を生成する。   An example of processing executed by the first stage signal processing circuit 11 will be described below. In the present embodiment, the CCD 16 is a color CCD in which a color filter is added to each light receiving cell. As the arrangement pattern of the color filter, there are an RGB system using red, green and blue filters, and a complementary color system using magenta, cyan, yellow and green filters. The first-stage signal processing circuit 11 processes a digital signal obtained by A / D converting CCD signals corresponding to a plurality of adjacent light receiving cells based on a predetermined function, and is in an RGB format that is easy for the electronic endoscope processor 20 to process. Generate a digital video signal.

本実施形態においては、電子内視鏡用プロセッサ20は、電子内視鏡10に照明光を供給するための光源装置としての機能と、電子内視鏡10から出力される映像信号を処理して所定の形式のビデオ信号に変換し、これをモニタ用コネクタ21bに出力するビデオプロセッサとしての機能を有する。   In the present embodiment, the electronic endoscope processor 20 processes a function of a light source device for supplying illumination light to the electronic endoscope 10 and a video signal output from the electronic endoscope 10. It has a function as a video processor that converts the video signal into a predetermined format and outputs it to the monitor connector 21b.

まず、光源装置としての機能につき説明する。本実施形態においては、電子内視鏡用プロセッサ20のケース21内に、光源部22が内蔵されている。光源部22は、光源ランプ22a、集光レンズ22b、絞り22cを有する。電子内視鏡10には、照明光を電子内視鏡基端側から電子内視鏡10の挿入管18の先端部に導くためのライトガイド17が備えられている。電子内視鏡10を電子内視鏡用プロセッサ20に接続すると、ライトガイド17の基端側端面17aが電子内視鏡用プロセッサ20のケース21内に挿入されるようになっている。光源ランプ22aは照明光を生成し、集光レンズ22bはこの照明光を集光し、ライトガイド17の基端側端面17aに入射させる。ライトガイド17の基端側端面17aに入射した照明光はライトガイド17に導かれ、電子内視鏡10の挿入管18の先端部に配置されたライトガイド17の遠位端側端面17bから放射される。この結果、挿入管18の先端部の周囲が照明される。   First, the function as the light source device will be described. In the present embodiment, a light source unit 22 is built in the case 21 of the electronic endoscope processor 20. The light source unit 22 includes a light source lamp 22a, a condenser lens 22b, and a diaphragm 22c. The electronic endoscope 10 includes a light guide 17 for guiding illumination light from the proximal end side of the electronic endoscope to the distal end portion of the insertion tube 18 of the electronic endoscope 10. When the electronic endoscope 10 is connected to the electronic endoscope processor 20, the base end side end surface 17 a of the light guide 17 is inserted into the case 21 of the electronic endoscope processor 20. The light source lamp 22 a generates illumination light, and the condensing lens 22 b collects the illumination light and makes it incident on the proximal end surface 17 a of the light guide 17. The illumination light incident on the proximal end surface 17a of the light guide 17 is guided to the light guide 17 and emitted from the distal end surface 17b of the light guide 17 disposed at the distal end portion of the insertion tube 18 of the electronic endoscope 10. Is done. As a result, the periphery of the distal end portion of the insertion tube 18 is illuminated.

絞り22cは、電子内視鏡10が電子内視鏡用プロセッサ20に接続された状態においてライトガイド17の基端側端面17aと、集光レンズ22bとの間に配置されている。絞り22cはその開度を変更することによって、ライトガイド17の基端側端面17aに入射する照明光の光量を調整することができる。   The diaphragm 22c is disposed between the proximal end surface 17a of the light guide 17 and the condenser lens 22b in a state where the electronic endoscope 10 is connected to the processor 20 for electronic endoscope. The aperture 22c can adjust the amount of illumination light incident on the proximal end surface 17a of the light guide 17 by changing its opening.

次いで、電子内視鏡用プロセッサ20のビデオプロセッサとしての機能につき説明する。この機能を提供するために、後段信号処理回路24、OSD(On Screen Display)回路25及びビデオプロセス回路26が電子内視鏡用プロセッサ20のケース21に内蔵されている。   Next, the function of the electronic endoscope processor 20 as a video processor will be described. In order to provide this function, a post-stage signal processing circuit 24, an OSD (On Screen Display) circuit 25, and a video process circuit 26 are built in the case 21 of the electronic endoscope processor 20.

初段信号処理回路11によって生成されたデジタル映像信号は、電子内視鏡用プロセッサ20に内蔵されている後段信号処理回路24に送られるようになっている。後段信号処理回路24は、ビデオメモリを備えており、デジタル映像信号に対応する画像に対してエッジ強調処理などの画像処理を施すことができる。後段信号処理回路24がどのような画像処理を行うのかについては、電子内視鏡用プロセッサ20のケース21に内蔵されているシステムコントロール23によって制御される。後段信号処理回路24のビデオメモリの内容は、モニタ30の垂直同期周波数に対応したタイミングでビデオプロセス回路26に読み出されるようになっている。   The digital video signal generated by the first stage signal processing circuit 11 is sent to a rear stage signal processing circuit 24 built in the electronic endoscope processor 20. The post-stage signal processing circuit 24 includes a video memory, and can perform image processing such as edge enhancement processing on an image corresponding to the digital video signal. What kind of image processing the post-stage signal processing circuit 24 performs is controlled by the system control 23 built in the case 21 of the processor 20 for electronic endoscope. The contents of the video memory of the post-stage signal processing circuit 24 are read out to the video process circuit 26 at a timing corresponding to the vertical synchronization frequency of the monitor 30.

また、後段信号処理回路24は、初段信号処理回路11によって生成されたデジタル映像信号に対応する画像の平均明るさを演算する機能を有する。この演算結果は、周期的にシステムコントロール23に送られるようになっている。システムコントロール23は、この演算結果に基づいて絞り22cの開度を調整するようになっている。具体的には、システムコントロール23は、後段信号処理回路24から送信される画像の平均的な輝度が所定の範囲内に収まるように、絞り22cの開度をフィードバック制御する。   Further, the post-stage signal processing circuit 24 has a function of calculating the average brightness of the image corresponding to the digital video signal generated by the first-stage signal processing circuit 11. This calculation result is sent to the system control 23 periodically. The system control 23 adjusts the opening degree of the aperture 22c based on the calculation result. Specifically, the system control 23 feedback-controls the opening degree of the aperture 22c so that the average luminance of the image transmitted from the post-stage signal processing circuit 24 falls within a predetermined range.

ビデオプロセス回路26は、後段信号処理回路24によって処理された画像データを読み出して、これに基づいてNTSC方式のような所定の形式のビデオ信号を生成する機能を有する。ビデオプロセス回路26は、生成したビデオ信号を順次モニタ用コネクタ21bに送信する。かくして、電子内視鏡10の対物光学系15およびCCD16によって撮像された内視鏡画像は、動画としてモニタ30に表示される。   The video process circuit 26 has a function of reading the image data processed by the post-stage signal processing circuit 24 and generating a video signal of a predetermined format such as the NTSC system based on the read image data. The video process circuit 26 sequentially transmits the generated video signal to the monitor connector 21b. Thus, the endoscopic image captured by the objective optical system 15 and the CCD 16 of the electronic endoscope 10 is displayed on the monitor 30 as a moving image.

OSD回路25は、後段信号処理回路24によって処理された画像に文字情報などを重畳するための回路である。OSD回路25は、文字情報が含まれる画像の画像信号を生成してビデオプロセス回路26に送信する。ビデオプロセス回路26は、後段信号処理回路24から取得した画像データを画像信号に変換した後、OSD回路25から得られた画像信号をこれに重畳することによって、内視鏡画像に文字情報が重畳されたビデオ信号を生成する。   The OSD circuit 25 is a circuit for superimposing character information or the like on the image processed by the post-stage signal processing circuit 24. The OSD circuit 25 generates an image signal of an image including character information and transmits it to the video process circuit 26. The video process circuit 26 converts the image data obtained from the post-stage signal processing circuit 24 into an image signal, and then superimposes the image signal obtained from the OSD circuit 25 on the image signal, thereby superimposing character information on the endoscope image. Generated video signal.

なお、OSD回路25、ビデオプロセス回路26は、夫々システムコントロール23に制御されるようになっている。   The OSD circuit 25 and the video process circuit 26 are controlled by the system control 23, respectively.

本実施形態の電子内視鏡システム1は、上記のように電子内視鏡10に初段信号処理回路11が内蔵されているものである。内視鏡画像の色合い等は、主として初段信号処理回路11による信号処理によって決まる。そのため、本実施形態においては、電子内視鏡システム1の使用者にとって好ましい色合いの内視鏡画像が得られるように電子内視鏡10のメモリ12に内蔵されたプログラムやデータを調整可能としている。この調整は、電子内視鏡用プロセッサ20のシリアルコネクタ21cに端末PC40を接続することによって実施される。   As described above, the electronic endoscope system 1 according to the present embodiment includes the first-stage signal processing circuit 11 in the electronic endoscope 10. The color of the endoscopic image is determined mainly by signal processing by the first stage signal processing circuit 11. For this reason, in the present embodiment, it is possible to adjust the programs and data built in the memory 12 of the electronic endoscope 10 so that an endoscopic image having a hue preferable for the user of the electronic endoscope system 1 can be obtained. . This adjustment is performed by connecting the terminal PC 40 to the serial connector 21c of the electronic endoscope processor 20.

ここで、本実施形態においては、電子内視鏡10のメモリ12には、電子内視鏡用プロセッサ20のシステムコントロール23によって読み取られるべきデータ(例えば電子内視鏡10の識別情報)が保存されているので、電子内視鏡10のメモリ12に内蔵されたプログラムやデータを調整しない時は、システムコントロール23が電子内視鏡10の内視鏡用MCU13にアクセスできるようにする必要がある。一方、電子内視鏡10のメモリ12に内蔵されたプログラムやデータを調整する際は、端末PC40が内視鏡用MCU13にアクセスできるようにする必要がある。本実施形態においては、電子内視鏡用プロセッサ20のスイッチ回路27によって、上記のアクセスに関する機能を実現している。図1に示されているように、システムコントロール23および端末PC40は、スイッチ回路27を介して内視鏡用MCU13に接続されるようになっている。また、電子内視鏡用プロセッサ20のケース21の外殻には、システムコントロール23と端末PC40のいずれが内視鏡用MCU13にアクセスすべきかを設定するためのスイッチ21dが設けられている。   Here, in the present embodiment, the memory 12 of the electronic endoscope 10 stores data (for example, identification information of the electronic endoscope 10) to be read by the system control 23 of the electronic endoscope processor 20. Therefore, when the program or data stored in the memory 12 of the electronic endoscope 10 is not adjusted, the system control 23 needs to be able to access the endoscope MCU 13 of the electronic endoscope 10. On the other hand, when adjusting a program or data stored in the memory 12 of the electronic endoscope 10, the terminal PC 40 needs to be able to access the endoscope MCU 13. In the present embodiment, the access-related functions are realized by the switch circuit 27 of the electronic endoscope processor 20. As shown in FIG. 1, the system control 23 and the terminal PC 40 are connected to the endoscope MCU 13 via the switch circuit 27. The outer shell of the case 21 of the electronic endoscope processor 20 is provided with a switch 21d for setting which of the system control 23 and the terminal PC 40 should access the endoscope MCU 13.

スイッチ回路27の詳細を図2に示す。図2に示されているように、システムコントロール23は、電子内視鏡10の内視鏡用MCU13とデータ通信を行うためのIN1、OUT1端子と、シリアルコネクタ21c(図1)を介して端末PC40とデータ通信を行うためのIN2、OUT2端子とを有する。   Details of the switch circuit 27 are shown in FIG. As shown in FIG. 2, the system control 23 is connected to terminals via IN1 and OUT1 terminals for data communication with the endoscope MCU 13 of the electronic endoscope 10 and a serial connector 21c (FIG. 1). It has IN2 and OUT2 terminals for data communication with the PC 40.

端末PC40のデータ送信用(TxD)端子及びデータ受信用(RxD)端子は、スイッチ回路27のレベルコンバータ27hに接続されるようになっている。レベルコンバータ27hは、RS−232規格のシリアル通信に使用されている信号レベルと、システムコントロール23や内視鏡用MCU13を構成する素子に使用されているTTL信号レベルとを相互変換するための回路である。このレベルコンバータ27hを介在させることによって、端末PC40がシステムコントロール23や内視鏡用MCU13とデータ通信を行うことが出来るようになる。   The data transmission (TxD) terminal and the data reception (RxD) terminal of the terminal PC 40 are connected to the level converter 27 h of the switch circuit 27. The level converter 27h is a circuit for mutually converting a signal level used for serial communication of the RS-232 standard and a TTL signal level used for an element constituting the system control 23 or the MCU 13 for endoscope. It is. By interposing the level converter 27h, the terminal PC 40 can perform data communication with the system control 23 and the endoscope MCU 13.

スイッチ回路27は、6つのトライステートバッファ27a〜27fを有する。トライステートバッファ27a〜27fは、ゲートへの入力がLowである時にハイインピーダンスとなって一方から他方へのデータの流れを遮断する素子である。本実施形態においては、システムコントロール23のIN1端子と内視鏡用MCU13のTxD端子との間にはトライステートバッファ27aが、OUT1端子と内視鏡用MCU13のRxD端子との間にはトライステートバッファ27bが、夫々設けられている。また、システムコントロール23のIN1端子とレベルコンバータ27hのTxD端子との間にはトライステートバッファ27Cが、OUT2端子とレベルコンバータ27hのRxD端子との間にはトライステートバッファ27dが、夫々設けられている。また、レベルコンバータ27hのTxD端子と内視鏡用MCU13のRxD端子との間にはトライステートバッファ27eが、レベルコンバータ27hのRxD端子と内視鏡用MCU13のTxD端子との間にはトライステートバッファ27fが、夫々設けられている。   The switch circuit 27 has six tristate buffers 27a to 27f. The tri-state buffers 27a to 27f are elements that become high impedance when the input to the gate is low, and block the flow of data from one to the other. In this embodiment, a tristate buffer 27a is provided between the IN1 terminal of the system control 23 and the TxD terminal of the endoscope MCU 13, and a tristate is provided between the OUT1 terminal and the RxD terminal of the endoscope MCU13. Each buffer 27b is provided. A tristate buffer 27C is provided between the IN1 terminal of the system control 23 and the TxD terminal of the level converter 27h, and a tristate buffer 27d is provided between the OUT2 terminal and the RxD terminal of the level converter 27h. Yes. Further, a tri-state buffer 27e is provided between the TxD terminal of the level converter 27h and the RxD terminal of the endoscope MCU 13, and a tri-state is provided between the RxD terminal of the level converter 27h and the TxD terminal of the endoscope MCU 13. Each buffer 27f is provided.

また、システムコントロール23は、ENABLE端子を備えている。ENABLE端子はHighレベルまたはLowレベルの信号の一方を出力することが可能な端子である。このENABLE端子には、トライステートバッファ27a〜27dのゲート端子が接続されている。また、ENABLE端子とトライステートバッファ27e、27fのゲート端子とは、NOT論理回路27gを介して接続されている。なお、NOT論理回路27gは、入力がHighである時にLowを出力し、入力がLowである時にHighを出力する端子である。   Further, the system control 23 includes an ENABLE terminal. The ENABLE terminal is a terminal capable of outputting either a high level signal or a low level signal. The ENABLE terminal is connected to the gate terminals of the tristate buffers 27a to 27d. The ENABLE terminal and the gate terminals of the tristate buffers 27e and 27f are connected via a NOT logic circuit 27g. Note that the NOT logic circuit 27g is a terminal that outputs Low when the input is High and outputs High when the input is Low.

ここで、ENABLE端子からHighレベルの信号が出力されると、レベルコンバータ27hのTxD及びRxDとシステムコントロール23のIN2及びOUT2、システムコントロール23のIN1及びOUT1と内視鏡用MCU13のTxD及びRxDが、夫々導通した状態となる。一方、この時、トライステートバッファ27e及び27fはハイインピーダンスとなり、レベルコンバータ27hのTxD端子及びRxD端子と、内視鏡用MCUのRxD端子及びTxD端子との間の通信は遮断される。従って、この状態では、システムコントロール23は、内視鏡用MCU13との間でデータ通信を行うことが可能であると共に、端末PC40との間でデータ通信を行うことが可能である。   Here, when a high level signal is output from the ENABLE terminal, TxD and RxD of the level converter 27h, IN2 and OUT2 of the system control 23, IN1 and OUT1 of the system control 23, and TxD and RxD of the endoscope MCU 13 are obtained. , Each is in a conductive state. On the other hand, at this time, the tri-state buffers 27e and 27f become high impedance, and communication between the TxD terminal and RxD terminal of the level converter 27h and the RxD terminal and TxD terminal of the endoscope MCU is cut off. Accordingly, in this state, the system control 23 can perform data communication with the endoscope MCU 13 and can perform data communication with the terminal PC 40.

また、ENABLE端子からLowレベルの信号が出力されると、レベルコンバータ27hのTxD端子及びRxD端子と、内視鏡用MCU13のRxD端子及びTxD端子とが、夫々導通した状態となる。一方、この時、トライステートバッファ27a〜dはハイインピーダンスとなり、レベルコンバータ27hのTxD及びRxDとシステムコントロール23のIN2及びOUT2、システムコントロール23のIN1及びOUT1と内視鏡用MCU13のTxD及びRxDとの間の通信は遮断される。従って、この状態では、端末PC40と内視鏡用MCU13との間でデータ通信を行うことができるようになる。   Further, when a low level signal is output from the ENABLE terminal, the TxD terminal and the RxD terminal of the level converter 27h and the RxD terminal and the TxD terminal of the endoscope MCU 13 are brought into conduction. On the other hand, the tri-state buffers 27a to 27d become high impedance at this time, and TxD and RxD of the level converter 27h, IN2 and OUT2 of the system control 23, IN1 and OUT1 of the system control 23, and TxD and RxD of the endoscope MCU 13 Communication between is interrupted. Therefore, in this state, data communication can be performed between the terminal PC 40 and the endoscope MCU 13.

システムコントロール23はSW端子を有し、このSW端子を介してスイッチ21dと接続されている。システムコントロール23は、SW端子を介してスイッチ21dの状態を検出し、この状態に応じてENABLE端子からHighレベルとLowレベルの信号のいずれを出力するのかを決定している。スイッチ21dは、トグルスイッチ、ボタンスイッチ、或いはスライドスイッチなどの機械的又は電子式のスイッチである。端末PC40を介して電子内視鏡10のメモリ12の内容を書き換える場合、及びこの書き換えを終了する場合に、このスイッチ21dは操作される。なお、スイッチ21dは、電子内視鏡システム1の使用者によって誤って操作されないように、ケース背面などの目立たない場所に配置されている。   The system control 23 has an SW terminal, and is connected to the switch 21d through the SW terminal. The system control 23 detects the state of the switch 21d via the SW terminal, and determines whether to output a high level signal or a low level signal from the ENABLE terminal according to this state. The switch 21d is a mechanical or electronic switch such as a toggle switch, a button switch, or a slide switch. The switch 21d is operated when the contents of the memory 12 of the electronic endoscope 10 are rewritten via the terminal PC 40 and when the rewriting is terminated. The switch 21d is arranged in an inconspicuous place such as the back of the case so that it is not accidentally operated by the user of the electronic endoscope system 1.

以上説明した本実施形態の電子内視鏡システム1において、端末PC40を介してメモリ12の内容を書き換える手順につき説明する。本実施形態においては、初段信号処理回路11が使用するパラメータを、端末PC40を操作することによって書き換えるものである。まず、電子内視鏡用プロセッサ20の電子内視鏡用コネクタ21aに電子内視鏡10を、またシリアル端子21cに端末PC40を接続する。次いで、スイッチ21dを操作して端末PC40と内視鏡用MCUとの間でデータ通信を行うことができるようにする。そして、端末PC40上で、パラメータ調整用のプログラムを実行する。   A procedure for rewriting the contents of the memory 12 via the terminal PC 40 in the electronic endoscope system 1 of the present embodiment described above will be described. In the present embodiment, the parameters used by the first stage signal processing circuit 11 are rewritten by operating the terminal PC 40. First, the electronic endoscope 10 is connected to the electronic endoscope connector 21a of the electronic endoscope processor 20, and the terminal PC 40 is connected to the serial terminal 21c. Next, the switch 21d is operated so that data communication can be performed between the terminal PC 40 and the endoscope MCU. Then, a parameter adjustment program is executed on the terminal PC 40.

以上の処理を行うと、図3に示されるように、パラメータ操作用のメニュー画面が端末PC40の画面に表示される。より具体的には、端末PC40は書き換え可能なパラメータの一覧と、そのパラメータにおける現時点の設定内容を内視鏡用MCU13を介してメモリ12から取得し、これを画面に表示する。このパラメータの設定内容を変更する際は、端末PC40の入力手段(キーボードやマウスなど)を操作して画面に表示されている設定値を変更し、次いでこの変更した設定値を内視鏡用MCU13に送信する。例えば、マウスを操作してマウスカーソルを画面上の「OK」ボタン上に移動させ、その場所でマウスのボタンをクリックする。以上の操作を行うと、変更が成されたパラメータの設定値が、内視鏡用MCU13を介してメモリ12に転送される。   When the above processing is performed, a menu screen for parameter operation is displayed on the screen of the terminal PC 40 as shown in FIG. More specifically, the terminal PC 40 acquires a list of rewritable parameters and the current setting contents of the parameters from the memory 12 via the endoscope MCU 13 and displays them on the screen. When changing the setting contents of this parameter, the input value (keyboard, mouse, etc.) of the terminal PC 40 is operated to change the setting value displayed on the screen, and then the changed setting value is used for the endoscope MCU 13. Send to. For example, by operating the mouse, the mouse cursor is moved onto the “OK” button on the screen, and the mouse button is clicked at that position. When the above operation is performed, the changed parameter setting values are transferred to the memory 12 via the endoscope MCU 13.

本実施形態においては、スイッチ21dの状態に関わらず、電子内視鏡10の初段信号処理回路11の出力は電子内視鏡用プロセッサ20の後段信号処理回路24に送られている。従って、図3に示されるように、パラメータの設定値を調整中の状態であっても、モニタ30には内視鏡画像が表示される。このため、パラメータの設定値を電子内視鏡10に送ると、その設定値が適用された状態の内視鏡画像をモニタ30によって観察することができるようになる。このように、本実施形態によれば、モニタ30で内視鏡画像を観察しながら、端末PC40を操作して電子内視鏡10の初段信号処理回路11が使用するパラメータの調整を行うことができる。   In the present embodiment, the output of the first stage signal processing circuit 11 of the electronic endoscope 10 is sent to the rear stage signal processing circuit 24 of the electronic endoscope processor 20 regardless of the state of the switch 21d. Therefore, as shown in FIG. 3, even when the parameter setting value is being adjusted, an endoscopic image is displayed on the monitor 30. For this reason, when the set value of the parameter is sent to the electronic endoscope 10, an endoscope image in a state where the set value is applied can be observed by the monitor 30. As described above, according to the present embodiment, it is possible to adjust the parameters used by the first-stage signal processing circuit 11 of the electronic endoscope 10 by operating the terminal PC 40 while observing the endoscope image on the monitor 30. it can.

本実施形態においては、システムコントロール23と内視鏡用MCU13とが接続された状態と、端末PC40と内視鏡用MCU13とが接続された状態とを、スイッチ21dを操作することによって行っていたが、本発明はこの構成に限定されるものではない。以下に説明する本発明の第2の実施形態は、スイッチ21dを用いずに上記の2状態を切り換えることが可能なシステムである。なお、以下の説明においては、本発明の第1の実施形態と同様の要素や部材については、第1の実施形態と同一又は類似の符号を付している。   In the present embodiment, the state in which the system control 23 and the endoscope MCU 13 are connected and the state in which the terminal PC 40 and the endoscope MCU 13 are connected are performed by operating the switch 21d. However, the present invention is not limited to this configuration. The second embodiment of the present invention described below is a system that can switch between the two states without using the switch 21d. In the following description, elements and members similar to those in the first embodiment of the present invention are denoted by the same or similar reference numerals as those in the first embodiment.

図4は、本実施形態の電子内視鏡システム1’のブロック図を示したものである。本実施形態においては、第1の実施形態にあったスイッチ21dは無く、代わりにシリアルコネクタが2つ(21c,21c’)、ケース21の外殻に形成されている。シリアルコネクタ21c、21c’の双方は、夫々スイッチ回路27に接続されている。また、端末PC40にもシリアルポートが2つ(以下、一方のシリアルポートをCOM1端子、他方をCOM2端子と称す)備えられており、COM1端子、COM2端子の各々を介して、シリアルコネクタ21c、21c’の双方と端末PC40とが接続されるようになっている。これらの要素、及びスイッチ回路27の構成以外は本発明の第1の実施形態と同様であるため、詳細な説明は省略する。   FIG. 4 shows a block diagram of the electronic endoscope system 1 ′ of the present embodiment. In this embodiment, there is no switch 21d in the first embodiment, and instead two serial connectors (21c, 21c ') are formed on the outer shell of the case 21. Both serial connectors 21c and 21c 'are connected to the switch circuit 27, respectively. The terminal PC 40 is also provided with two serial ports (hereinafter, one serial port is referred to as a COM1 terminal and the other is referred to as a COM2 terminal). The serial connectors 21c and 21c are connected via the COM1 terminal and the COM2 terminal, respectively. 'And the terminal PC 40 are connected to each other. Since these elements and the configuration of the switch circuit 27 are the same as those of the first embodiment of the present invention, detailed description thereof is omitted.

本実施形態のスイッチ回路27のブロック図を図5に示す。本実施形態においては、システムコントロール23は、電子内視鏡10の内視鏡用MCU13とデータ通信を行うためのIN1、OUT1端子と、シリアルコネクタ21cを介して端末PC40とデータ通信を行うためのIN2、OUT2端子と、シリアルコネクタ21c’を介して端末PC40とデータ通信を行うためのIN3、OUT3端子とを有する。   A block diagram of the switch circuit 27 of this embodiment is shown in FIG. In the present embodiment, the system control 23 performs data communication with the terminal PC 40 via the IN1 and OUT1 terminals for data communication with the endoscope MCU 13 of the electronic endoscope 10 and the serial connector 21c. It has IN2 and OUT2 terminals, and IN3 and OUT3 terminals for data communication with the terminal PC 40 via the serial connector 21c ′.

端末PC40の第1シリアルポート(COM1)のTxD端子及びRxD端子は、スイッチ回路27のレベルコンバータ27hに接続されるようになっている。同様に、端末PC40の第2シリアルポート(COM2)のTxD端子及びRxD端子は、スイッチ回路27のレベルコンバータ27h’に接続されるようになっている。本発明の第1の実施形態と同様、レベルコンバータ27h、27h’を介在させることによって、端末PC40がシステムコントロール23や内視鏡用MCU13とデータ通信を行うことが出来るようになる。   The TxD terminal and the RxD terminal of the first serial port (COM1) of the terminal PC 40 are connected to the level converter 27h of the switch circuit 27. Similarly, the TxD terminal and the RxD terminal of the second serial port (COM2) of the terminal PC 40 are connected to the level converter 27h 'of the switch circuit 27. Similar to the first embodiment of the present invention, by interposing the level converters 27h and 27h ', the terminal PC 40 can perform data communication with the system control 23 and the endoscope MCU 13.

スイッチ回路27は、6つのトライステートバッファ27a〜27fを有する。トライステートバッファ27a〜27fは、ゲートへの入力がLowである時にハイインピーダンスとなって一方から他方へのデータの流れを遮断する素子である。本実施形態においては、システムコントロール23のIN1端子と内視鏡用MCUのTxD端子との間にはトライステートバッファ27aが、OUT1端子と内視鏡用MCUのRxD端子との間にはトライステートバッファ27bが、夫々設けられている。また、システムコントロール23のIN2端子とレベルコンバータ27hのTxD端子との間にはトライステートバッファ27cが、OUT2端子とレベルコンバータ27hのRxD端子との間にはトライステートバッファ27dが、夫々設けられている。また、レベルコンバータ27hのTxD端子と内視鏡用MCU13のRxD端子との間にはトライステートバッファ27eが、レベルコンバータ27hのRxD端子と内視鏡用MCU13のTxD端子との間にはトライステートバッファ27fが、夫々設けられている。   The switch circuit 27 has six tristate buffers 27a to 27f. The tri-state buffers 27a to 27f are elements that become high impedance when the input to the gate is low, and block the flow of data from one to the other. In the present embodiment, a tristate buffer 27a is provided between the IN1 terminal of the system control 23 and the TxD terminal of the endoscope MCU, and a tristate is provided between the OUT1 terminal and the RxD terminal of the endoscope MCU. Each buffer 27b is provided. A tristate buffer 27c is provided between the IN2 terminal of the system control 23 and the TxD terminal of the level converter 27h, and a tristate buffer 27d is provided between the OUT2 terminal and the RxD terminal of the level converter 27h. Yes. Further, a tri-state buffer 27e is provided between the TxD terminal of the level converter 27h and the RxD terminal of the endoscope MCU 13, and a tri-state is provided between the RxD terminal of the level converter 27h and the TxD terminal of the endoscope MCU 13. Each buffer 27f is provided.

なお、レベルコンバータ27h’のTxD端子及びRxD端子は、夫々システムコントロール23のIN3端子及びOUT3端子に直接(すなわち、トライステートバッファを介さずに)接続されている。従って、端末PC40とシステムコントロール23とは、COM2を介して常にデータ通信を行うことが出来るようになっている。   The TxD terminal and the RxD terminal of the level converter 27h 'are directly connected to the IN3 terminal and the OUT3 terminal of the system control 23 (that is, not via a tristate buffer), respectively. Therefore, the terminal PC 40 and the system control 23 can always perform data communication via the COM 2.

また、システムコントロール23は、ENABLE端子を備えている。ENABLE端子はHighレベルまたはLowレベルの信号の一方を出力することが可能な端子である。このENABLE端子には、トライステートバッファ27a〜27dのゲート端子が接続されている。また、ENABLE端子とトライステートバッファ27e、27fのゲート端子とは、NOT論理回路27gを介して接続されている。第1の実施形態と同様、NOT論理回路27gは、入力がHighである時にLowを出力し、入力がLowである時にHighを出力する端子である。   Further, the system control 23 includes an ENABLE terminal. The ENABLE terminal is a terminal capable of outputting either a high level signal or a low level signal. The ENABLE terminal is connected to the gate terminals of the tristate buffers 27a to 27d. The ENABLE terminal and the gate terminals of the tristate buffers 27e and 27f are connected via a NOT logic circuit 27g. As in the first embodiment, the NOT logic circuit 27g is a terminal that outputs Low when the input is High and outputs High when the input is Low.

ここで、ENABLE端子からHighレベルの信号が出力されると、レベルコンバータ27hのTxD及びRxDとシステムコントロール23のIN2及びOUT2、システムコントロール23のIN1及びOUT1と内視鏡用MCU13のTxD及びRxDが、夫々導通した状態となる。一方、この時、トライステートバッファ27e及び27fはハイインピーダンスとなり、レベルコンバータ27hのTxD端子及びRxD端子と、内視鏡用MCU13のRxD端子及びTxD端子との間の通信は遮断される。従って、この状態では、システムコントロール23は、内視鏡用MCU13との間でデータ通信を行うことが可能であると共に、端末PC40との間でCOM1端子を介してデータ通信を行うことが可能である。   Here, when a high level signal is output from the ENABLE terminal, TxD and RxD of the level converter 27h, IN2 and OUT2 of the system control 23, IN1 and OUT1 of the system control 23, and TxD and RxD of the endoscope MCU 13 are obtained. , Each is in a conductive state. On the other hand, at this time, the tri-state buffers 27e and 27f become high impedance, and communication between the TxD terminal and RxD terminal of the level converter 27h and the RxD terminal and TxD terminal of the endoscope MCU 13 is cut off. Therefore, in this state, the system control 23 can perform data communication with the endoscope MCU 13 and can perform data communication with the terminal PC 40 via the COM1 terminal. is there.

また、ENABLE端子からLowレベルの信号が出力されると、レベルコンバータ27hのTxD端子及びRxD端子と、内視鏡用MCUのRxD端子及びTxD端子とが、夫々導通した状態となる。一方、この時、トライステートバッファ27a〜dはハイインピーダンスとなり、レベルコンバータ27hのTxD及びRxDとシステムコントロール23のIN2及びOUT2、システムコントロール23のIN1及びOUT1と内視鏡用MCU13のTxD及びRxDとの間の通信は遮断される。従って、この状態では、端末PC40と内視鏡用MCU13との間でCOM1端子を介してデータ通信を行うことができるようになる。   When a low level signal is output from the ENABLE terminal, the TxD terminal and the RxD terminal of the level converter 27h and the RxD terminal and the TxD terminal of the endoscope MCU are brought into conduction. On the other hand, the tri-state buffers 27a to 27d become high impedance at this time, and TxD and RxD of the level converter 27h, IN2 and OUT2 of the system control 23, IN1 and OUT1 of the system control 23, and TxD and RxD of the endoscope MCU 13 Communication between is interrupted. Therefore, in this state, data communication can be performed between the terminal PC 40 and the endoscope MCU 13 via the COM1 terminal.

本実施形態においては、端末PC40のCOM2端子を介して所定のデータをシステムコントロール23に送ることによって、ENABLE端子からHighレベルとLowレベルの信号のいずれを出力するのかを切り換えることが出来るようになっている。具体的には、例えば、端末PC40上でパラメータ調整用のプログラムが実行されている時に、端末PC40の特定のキーを押下することによって、ENABLE端子からHighレベル或いはLowレベルの信号が出力されるようにするためのコマンドをCOM2端子を介してシステムコントロール23に送信する構成とする。   In the present embodiment, by sending predetermined data to the system control 23 via the COM2 terminal of the terminal PC 40, it is possible to switch between outputting a high level signal or a low level signal from the ENABLE terminal. ing. Specifically, for example, when a parameter adjustment program is being executed on the terminal PC 40, a high level or low level signal is output from the ENABLE terminal by pressing a specific key of the terminal PC 40. Is configured to transmit to the system control 23 via the COM2 terminal.

以上のように本実施形態によれば、スイッチ等を電子内視鏡用プロセッサ20に設けることなく、端末PC40上でパラメータ調整を行うかどうかを設定可能となる。   As described above, according to the present embodiment, it is possible to set whether or not to perform parameter adjustment on the terminal PC 40 without providing a switch or the like in the electronic endoscope processor 20.

本発明の第1の実施の形態の電子内視鏡システムのブロック図である。1 is a block diagram of an electronic endoscope system according to a first embodiment of the present invention. 本発明の第1の実施の形態の電子内視鏡用プロセッサに内蔵されたスイッチ回路のブロック図である。It is a block diagram of the switch circuit built in the processor for electronic endoscopes of the 1st Embodiment of this invention. 本発明の第1の実施の形態において、電子内視鏡に内蔵された初段信号処理回路が使用するパラメータの設定値を変更するためのプログラムを実行した時に、端末PCの画面及びモニタの表示される内容の一例を示したものである。In the first embodiment of the present invention, the screen of the terminal PC and the monitor are displayed when the program for changing the set value of the parameter used by the first stage signal processing circuit built in the electronic endoscope is executed. It shows an example of the contents. 本発明の第2の実施の形態の電子内視鏡システムのブロック図である。It is a block diagram of the electronic endoscope system of the 2nd Embodiment of this invention. 本発明の第2の実施の形態の電子内視鏡用プロセッサに内蔵されたスイッチ回路のブロック図である。It is a block diagram of the switch circuit built in the processor for electronic endoscopes of the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

1、1’ 電子内視鏡システム
10 電子内視鏡
11 初段信号処理回路
12 メモリ
13 内視鏡用MCU
20 電子内視鏡用プロセッサ
21 ケース
21a 電子内視鏡用コネクタ
21b モニタ用コネクタ
21c、21c’ シリアルコネクタ
22 光源部
23 システムコントロール
24 後段信号処理回路
26 ビデオプロセス回路
27 スイッチ回路
27a〜27f トライステートバッファ
27g NOT論理回路
27h、27h’ レベルコンバータ
30 モニタ
40 端末PC
DESCRIPTION OF SYMBOLS 1, 1 'Electronic endoscope system 10 Electronic endoscope 11 First stage signal processing circuit 12 Memory 13 Endoscope MCU
DESCRIPTION OF SYMBOLS 20 Processor for electronic endoscope 21 Case 21a Connector for electronic endoscope 21b Monitor connector 21c, 21c 'Serial connector 22 Light source part 23 System control 24 Later stage signal processing circuit 26 Video process circuit 27 Switch circuit 27a-27f Tristate buffer 27g NOT logic circuit 27h, 27h 'Level converter 30 Monitor 40 Terminal PC

Claims (8)

電子内視鏡と接続され、該電子内視鏡とデータ通信を行う際のデータを送受信するための第1のデータ通信端子と、
前記第1のデータ通信端子を介して該電子内視鏡とデータ通信を行うコントローラと、
外部機器と前記コントローラまたは該電子内視鏡との間でデータ通信を行う際のデータを送受信するための第2のデータ通信端子と、
前記第1のデータ通信端子と前記コントローラとが接続されて該電子内視鏡と前記コントローラとの間でのデータ通信を可能とする第1のモードと、前記第2のデータ通信端子と前記第1のデータ通信端子とが前記コントローラを介さずに接続されて該外部機器と該電子内視鏡との間でのデータ通信を可能とする第2のモードと、を切り換える切換回路と、
を有する、電子内視鏡用プロセッサ。
A first data communication terminal connected to the electronic endoscope for transmitting / receiving data when performing data communication with the electronic endoscope;
A controller that performs data communication with the electronic endoscope via the first data communication terminal;
A second data communication terminal for transmitting and receiving data when performing data communication between an external device and the controller or the electronic endoscope;
A first mode in which the first data communication terminal and the controller are connected to enable data communication between the electronic endoscope and the controller; and the second data communication terminal and the first A switching circuit for switching between a second mode enabling data communication between the external device and the electronic endoscope by being connected to one data communication terminal without going through the controller;
A processor for an electronic endoscope.
該第1のモードにおいては、前記第2のデータ通信端子と前記コントローラとが接続されて該外部機器と前記コントローラとの間でのデータ通信が可能となる、ことを特徴とする請求項1に記載の電子内視鏡用プロセッサ。   2. In the first mode, the second data communication terminal and the controller are connected to enable data communication between the external device and the controller. The processor for electronic endoscopes as described. 該電子内視鏡と接続され、該電子内視鏡から出力される映像信号を受信するための映像信号受信端子と、
前記映像信号受信端子を介して取得した映像信号を処理して所定の形式のビデオ信号を生成する映像処理回路と、
前記映像処理回路によって生成されたビデオ信号を外部に出力するためのビデオ端子と、
さらに有し、前記コントローラによって前記映像処理回路が制御される、
ことを特徴とする請求項1又は2に記載の電子内視鏡用プロセッサ。
A video signal receiving terminal connected to the electronic endoscope and receiving a video signal output from the electronic endoscope;
A video processing circuit for processing a video signal acquired via the video signal receiving terminal to generate a video signal of a predetermined format;
A video terminal for outputting the video signal generated by the video processing circuit to the outside;
The video processing circuit is controlled by the controller.
The processor for an electronic endoscope according to claim 1 or 2, characterized by the above-mentioned.
前記コントローラ及び前記切換回路を収納すると共に前記第1及び第2のデータ通信端子が外殻に設けられるケースと、
前記ケースの外殻に形成され、電子内視鏡用プロセッサの外部から操作される切換手段と、
をさらに有し、
前記切換回路は、前記切換手段の操作結果に基づいて該第1のモードと該第2のモードとを切り換える、ことを特徴とする、請求項1から3のいずれかに記載の電子内視鏡用プロセッサ。
A case in which the controller and the switching circuit are housed and the first and second data communication terminals are provided in an outer shell;
Switching means formed on the outer shell of the case and operated from the outside of the processor for electronic endoscope;
Further comprising
4. The electronic endoscope according to claim 1, wherein the switching circuit switches between the first mode and the second mode based on an operation result of the switching unit. 5. Processor.
前記切換手段は、該第1のモードと該第2のモードとを手動で切り換えるための電子式または機械式のスイッチを有する、ことを特徴とする請求項4に記載の電子内視鏡用プロセッサ。   5. The electronic endoscope processor according to claim 4, wherein the switching means includes an electronic or mechanical switch for manually switching between the first mode and the second mode. . 前記切換手段は、外部機器と前記コントローラとの間でデータ通信を行う際のデータを送受信するための第3のデータ通信端子を有し、
前記コントローラが前記第3のデータ通信端子を介して該外部機器から受信したデータに基づいて前記切換回路を制御することによって、該第1のモードと該第2のモードとが切り換えられる、
ことを特徴とする請求項4に記載の電子内視鏡用プロセッサ。
The switching means has a third data communication terminal for transmitting and receiving data when performing data communication between the external device and the controller,
The controller switches the first mode and the second mode by controlling the switching circuit based on the data received from the external device via the third data communication terminal.
The processor for electronic endoscopes according to claim 4 characterized by things.
該電子内視鏡のコントローラは、該電子内視鏡の撮像手段によって生成された映像情報を処理するための信号処理手段を有する、ことを特徴とする請求項1から6のいずれかに記載の電子内視鏡用プロセッサ。   The controller of the electronic endoscope has signal processing means for processing video information generated by an imaging means of the electronic endoscope, according to any one of claims 1 to 6. Processor for electronic endoscope. 請求項1から6のいずれかに記載の電子内視鏡用プロセッサと、
前記第1のデータ通信端子を介して前記電子内視鏡用プロセッサと接続される電子内視鏡と、
前記第2のデータ通信端子を介して前記電子内視鏡用プロセッサと接続される外部機器と、
を有し、
前記電子内視鏡は、
前記電子内視鏡の動作を制御する電子内視鏡用コントローラと、
前記電子内視鏡用コントローラが使用する情報が記録されているメモリと、
該第2のモードにおける前記外部機器とのデータ通信の結果に基づいて前記メモリに記録された情報を書き換えるメモリ制御手段と、
を有する、ことを特徴とする電子内視鏡システム。
A processor for an electronic endoscope according to any one of claims 1 to 6;
An electronic endoscope connected to the electronic endoscope processor via the first data communication terminal;
An external device connected to the electronic endoscope processor via the second data communication terminal;
Have
The electronic endoscope is:
An electronic endoscope controller for controlling the operation of the electronic endoscope;
A memory in which information used by the electronic endoscope controller is recorded;
Memory control means for rewriting information recorded in the memory based on a result of data communication with the external device in the second mode;
An electronic endoscope system comprising:
JP2006330272A 2006-12-07 2006-12-07 Processor for electronic endoscope and electronic endoscope system Active JP4864673B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006330272A JP4864673B2 (en) 2006-12-07 2006-12-07 Processor for electronic endoscope and electronic endoscope system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006330272A JP4864673B2 (en) 2006-12-07 2006-12-07 Processor for electronic endoscope and electronic endoscope system

Publications (2)

Publication Number Publication Date
JP2008142153A true JP2008142153A (en) 2008-06-26
JP4864673B2 JP4864673B2 (en) 2012-02-01

Family

ID=39603021

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006330272A Active JP4864673B2 (en) 2006-12-07 2006-12-07 Processor for electronic endoscope and electronic endoscope system

Country Status (1)

Country Link
JP (1) JP4864673B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011224091A (en) * 2010-04-16 2011-11-10 Hoya Corp Electronic endoscope and system
JP2015223364A (en) * 2014-05-28 2015-12-14 オリンパス株式会社 Endoscope, receiver, wireless endoscope system, image transmission method, image reception method, and program
CN107518863A (en) * 2016-06-22 2017-12-29 深圳市先赞科技有限公司 A kind of inexpensive disposal type endoscope
CN107582013A (en) * 2016-07-08 2018-01-16 深圳市先赞科技有限公司 A kind of endoscope control system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001046326A (en) * 1999-05-31 2001-02-20 Olympus Optical Co Ltd Data filing system for endoscope
JP2004105561A (en) * 2002-09-20 2004-04-08 Fuji Photo Optical Co Ltd Endoscope system
JP2004209151A (en) * 2003-01-08 2004-07-29 Pentax Corp Electronic endoscope system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001046326A (en) * 1999-05-31 2001-02-20 Olympus Optical Co Ltd Data filing system for endoscope
JP2004105561A (en) * 2002-09-20 2004-04-08 Fuji Photo Optical Co Ltd Endoscope system
JP2004209151A (en) * 2003-01-08 2004-07-29 Pentax Corp Electronic endoscope system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011224091A (en) * 2010-04-16 2011-11-10 Hoya Corp Electronic endoscope and system
JP2015223364A (en) * 2014-05-28 2015-12-14 オリンパス株式会社 Endoscope, receiver, wireless endoscope system, image transmission method, image reception method, and program
US10524635B2 (en) 2014-05-28 2020-01-07 Olympus Corporation Endoscope, reception device, wireless endoscope system, image transmission method, image reception method, and non-transitory computer readable recording medium storing program
CN107518863A (en) * 2016-06-22 2017-12-29 深圳市先赞科技有限公司 A kind of inexpensive disposal type endoscope
CN107582013A (en) * 2016-07-08 2018-01-16 深圳市先赞科技有限公司 A kind of endoscope control system

Also Published As

Publication number Publication date
JP4864673B2 (en) 2012-02-01

Similar Documents

Publication Publication Date Title
US11118905B2 (en) Modular medical imaging system
US8810637B2 (en) Universal camera control unit
JP4435029B2 (en) Endoscope device
WO2012046856A1 (en) Imaging device
JPH0670883A (en) Electronic endoscope device
JP5436019B2 (en) Control device, control method, program, and recording medium
JP4864673B2 (en) Processor for electronic endoscope and electronic endoscope system
US20090207242A1 (en) Signal processing system
JP2017085446A (en) Projection device, projection method and projection system
CN106999003B (en) Endoscope system
JP6177478B1 (en) First signal processing apparatus and endoscope system
WO2017047321A1 (en) Signal processor
JP2003210402A (en) Electronic endoscope
JP2004181231A (en) Electronic endoscope
JP6289777B1 (en) Endoscope system
JP4390536B2 (en) Endoscope white balance adjustment device and electronic endoscope device
US9999342B2 (en) Single power switch for modular medical imaging system
JP2011015738A (en) Printing system
JP4493426B2 (en) Electronic endoscope system
JP2003339635A (en) Electronic endoscope
KR101652640B1 (en) Method for integrated setup of image between medical monitor and external device and apparatus thereof
WO2017026277A1 (en) Processing device, processing method, and processing program
JP2019106726A (en) Imaging device, imaging processing method, and imaging system
JP2019008112A (en) Information processing apparatus, information processing method, and program
JP2004209068A (en) Electronic endoscope

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20080502

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090928

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111101

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111104

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111109

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141118

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4864673

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250