JP2006167437A - Electronic endoscope and endoscope apparatus - Google Patents

Electronic endoscope and endoscope apparatus Download PDF

Info

Publication number
JP2006167437A
JP2006167437A JP2005295029A JP2005295029A JP2006167437A JP 2006167437 A JP2006167437 A JP 2006167437A JP 2005295029 A JP2005295029 A JP 2005295029A JP 2005295029 A JP2005295029 A JP 2005295029A JP 2006167437 A JP2006167437 A JP 2006167437A
Authority
JP
Japan
Prior art keywords
value
endoscope
electronic endoscope
memory
usage time
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.)
Withdrawn
Application number
JP2005295029A
Other languages
Japanese (ja)
Inventor
Tadashi Takahashi
正 高橋
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 JP2005295029A priority Critical patent/JP2006167437A/en
Publication of JP2006167437A publication Critical patent/JP2006167437A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Endoscopes (AREA)
  • Closed-Circuit Television Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an apparatus preventing effects of the number of memories written for recording a time of use from influencing on other functions of an endoscope excluding the time-of-use measurement. <P>SOLUTION: This electronic endoscope 10 is provided with a first CPU 15 for measuring the time of use, and a second memory 17 for recording information related to the time of use. The first CPU 15 measures the number of writing times of the second memory 17. The electronic endoscope 10 is provided with a first memory 16 for recording information excluding the information related to the time of use separately from the second memory 17. The endoscope apparatus is further provided with a video processor. The first CPU 15 measures the number of connecting times when the electronic endoscope 10 is mounted on the video processor, records the number of connecting times to the second memory 17 every time of changing the number of the connecting times, and measures the number of writing times based on the time of use and the number of connecting times. The first CPU 15 determines whether or not the number of writing times exceeds the number of quality assurance writing times of the second memory 17. When determining that the number of writing times exceeds the number of quality assurance writing times, the first CPU 15 gives a warning to a user. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、電子内視鏡及び内視鏡装置に関し、特に電子内視鏡の使用時間を計測する装置に関する。   The present invention relates to an electronic endoscope and an endoscope apparatus, and more particularly to an apparatus for measuring a usage time of an electronic endoscope.

従来、電子内視鏡の使用時間を計測する装置が提案されている。電子内視鏡の使用時間を知ることにより、点検や整備の必要性を客観的に知ることが可能になる。   Conventionally, an apparatus for measuring the usage time of an electronic endoscope has been proposed. Knowing the usage time of an electronic endoscope makes it possible to objectively know the necessity of inspection and maintenance.

特許文献1は、電子内視鏡の使用時間を計測する装置を開示する。
特開平07−171089号公報
Patent Document 1 discloses an apparatus for measuring the usage time of an electronic endoscope.
Japanese Patent Application Laid-Open No. 07-171089

しかし、特許文献1の装置は、電子内視鏡の使用時間をメモリに書き込みする回数がメモリに書き込み可能な回数を超えてメモリの信頼性が低下した場合に、一緒に記録した他の部の設定値などにも影響が及び、ひいては、内視鏡の他の機能に悪影響を及ぼすおそれがある。   However, the device of Patent Document 1 is different from the case where the number of times that the usage time of the electronic endoscope is written to the memory exceeds the number that can be written to the memory and the reliability of the memory is reduced. The setting value is also affected, and as a result, other functions of the endoscope may be adversely affected.

したがって本発明の目的は、使用時間を記録するメモリの書き込み回数が使用時間計測を除く内視鏡の他の機能に影響を及ぼさない装置を提供することである。   Accordingly, an object of the present invention is to provide an apparatus in which the number of times of writing in a memory for recording usage time does not affect other functions of the endoscope except for usage time measurement.

本発明に係る電子内視鏡または内視鏡装置は、使用時間を計測する制御部と、使用時間に関する情報を記録する使用時間記憶用メモリとを備え、制御部は、使用時間記憶用メモリの書き込み回数を計測する。   An electronic endoscope or an endoscope apparatus according to the present invention includes a control unit that measures a usage time, and a usage time storage memory that records information about the usage time. Measure the number of writes.

好ましくは、前記使用時間に関する情報を除く情報を記録するその他項目記憶用メモリを、使用時間記憶用メモリと別に備える。   Preferably, the memory for storing other items for recording information excluding the information on the usage time is provided separately from the usage time storage memory.

さらに好ましくは、内視鏡装置は、ビデオプロセッサをさらに備え、制御部は、電子内視鏡がビデオプロセッサに装着された接続回数を計測し、接続回数の値が変化する度に使用時間記憶用メモリに接続回数の値を記録し、使用時間と接続回数に基づいて書き込み回数を計測する。   More preferably, the endoscope apparatus further includes a video processor, and the control unit measures the number of times the electronic endoscope is attached to the video processor, and stores the usage time each time the value of the number of connections changes. Record the value of the number of connections in the memory, and measure the number of writes based on the usage time and the number of connections.

さらに好ましくは、制御部は、書き込み回数が、使用時間記憶用メモリの品質保証書き込み回数を超えたか否かを判断する。   More preferably, the control unit determines whether or not the number of times of writing exceeds the number of times of quality assurance writing of the usage time storage memory.

さらに好ましくは、制御部は、書き込み回数が品質保証書き込み回数を超えたと判断した場合に、使用者に対して警告を行う。   More preferably, the control unit issues a warning to the user when the number of times of writing exceeds the number of times of quality assurance writing.

また、さらに好ましくは、内視鏡装置は、電子内視鏡を備え、電子内視鏡は、制御部と、前記使用時間記憶用メモリを有する。   More preferably, the endoscope apparatus includes an electronic endoscope, and the electronic endoscope includes a control unit and the use time storage memory.

また、さらに好ましくは、ビデオプロセッサは、制御部と、使用時間記憶用メモリを有し、制御部は、装着される電子内視鏡ごとに分けて使用時間及び接続回数を使用時間記憶用メモリに記録する。   More preferably, the video processor includes a control unit and a usage time storage memory, and the control unit divides the usage time and the number of connections into the usage time storage memory for each electronic endoscope to be mounted. Record.

また、好ましくは、使用時間は、電子内視鏡がビデオプロセッサに取り付けられ且つ電子内視鏡の電源がオン状態にされた使用状態の累積時間である。   Preferably, the usage time is a cumulative time of the usage state in which the electronic endoscope is attached to the video processor and the power source of the electronic endoscope is turned on.

また、好ましくは、使用時間記憶用メモリと、その他項目記憶用メモリとは、物理的に別のメモリである。   Preferably, the usage time storage memory and the other item storage memory are physically separate memories.

また、好ましくは、撮像により得られた画像信号について信号処理を行い、且つ垂直同期信号を出力する映像信号処理部をさらに備え、制御部は、垂直同期信号の出力回数に基づいて使用時間を計測する。   Preferably, the image processing apparatus further includes a video signal processing unit that performs signal processing on an image signal obtained by imaging and outputs a vertical synchronization signal, and the control unit measures a usage time based on the number of times the vertical synchronization signal is output. To do.

さらに好ましくは、制御部は、垂直同期信号の出力回数に対応する第1、第2カウンタを一時記憶し、垂直同期信号が出力されるたびに第1カウンタの値を第1の一定値だけ加算し、第1カウンタの値が第1パラメータ以上になる度に第1カウンタの値を第1初期値にし、第2カウンタの値を第2の一定値だけ加算し、第2カウンタの値が第2パラメータ以上になる度に第2カウンタの値を第2初期値にし使用時間を第3の一定値だけ加算して、使用時間を計測する。   More preferably, the control unit temporarily stores first and second counters corresponding to the number of times the vertical synchronization signal is output, and adds the value of the first counter by a first constant value each time the vertical synchronization signal is output. Each time the value of the first counter becomes equal to or greater than the first parameter, the value of the first counter is set to the first initial value, the value of the second counter is added by a second constant value, and the value of the second counter is Each time the number of parameters becomes two or more, the value of the second counter is set to the second initial value, and the usage time is added by a third constant value to measure the usage time.

さらに好ましくは、第1パラメータの値は、垂直同期信号が出力される間隔に相当する垂直同期周波数に対応して設定される。   More preferably, the value of the first parameter is set corresponding to the vertical synchronization frequency corresponding to the interval at which the vertical synchronization signal is output.

また、好ましくは、第1〜第3の一定値は、いずれも1で、第1、第2初期値は0である。   Preferably, the first to third constant values are all 1, and the first and second initial values are 0.

また、好ましくは、使用時間記憶用メモリは、不揮発性メモリである。   Preferably, the usage time storage memory is a nonvolatile memory.

以上のように本発明によれば、使用時間を記録するメモリの書き込み回数が使用時間計測を除く内視鏡の他の機能に影響を及ぼさない装置を提供することができる。   As described above, according to the present invention, it is possible to provide an apparatus in which the number of times of writing in the memory for recording the usage time does not affect other functions of the endoscope excluding the usage time measurement.

以下、第1の実施形態について、図を用いて説明する。第1の実施形態にかかる内視鏡装置1は、電子内視鏡10、接続部20、ビデオプロセッサ30、キーボード50、及びTVモニタ70を備える電子内視鏡装置である(図1参照)。   Hereinafter, the first embodiment will be described with reference to the drawings. An endoscope apparatus 1 according to the first embodiment is an electronic endoscope apparatus including an electronic endoscope 10, a connection unit 20, a video processor 30, a keyboard 50, and a TV monitor 70 (see FIG. 1).

電子内視鏡10は、先端部に対物光学系(不図示)と撮像素子11などを内蔵し、被写体である体内などを撮像する。   The electronic endoscope 10 incorporates an objective optical system (not shown), an image sensor 11 and the like at the tip, and images the inside of the body as a subject.

電子内視鏡10は、CCDなどの撮像素子11、AGC(オートゲインコントローラ)12、映像信号処理IC13、第1CPU15、第1、第2メモリ16、17、及び音声合成IC19を有する(図2参照)。電子内視鏡10は、接続部20を介してビデオプロセッサ30と接続される。   The electronic endoscope 10 includes an image sensor 11 such as a CCD, an AGC (auto gain controller) 12, a video signal processing IC 13, a first CPU 15, first and second memories 16, 17 and a voice synthesis IC 19 (see FIG. 2). ). The electronic endoscope 10 is connected to the video processor 30 via the connection unit 20.

撮像素子11において撮像により得られた信号は、AGC12を介して映像信号処理IC13に入力され、各種の信号処理が行われる。信号処理された映像信号は、ビデオプロセッサ30に出力される。映像信号処理IC13は、第1CPU15によって制御される。映像信号処理IC13と第1CPU15は、データの送受信のために、シリアル通信接続される。映像信号処理IC13は、垂直同期信号Vsyncを第1CPU15の割り込み端子(不図示)に出力する。映像信号処理IC13は、撮像素子11を駆動するCCD駆動信号を出力する。   A signal obtained by imaging in the imaging element 11 is input to the video signal processing IC 13 via the AGC 12, and various signal processing is performed. The video signal subjected to signal processing is output to the video processor 30. The video signal processing IC 13 is controlled by the first CPU 15. The video signal processing IC 13 and the first CPU 15 are connected by serial communication for data transmission / reception. The video signal processing IC 13 outputs a vertical synchronization signal Vsync to an interrupt terminal (not shown) of the first CPU 15. The video signal processing IC 13 outputs a CCD drive signal for driving the image sensor 11.

第1CPU15は、ワンチップマイクロコンピュータであり、図示しないROM(リードオンリーメモリ)、RAM(ランダムアクセスメモリ)、SCI(シリアルコミュニケーションインターフェース)、I/Oポート(インプット/アウトプットポート)を有する。第1CPU15は、電子内視鏡10の各部を制御し、ビデオプロセッサ30の第2CPU31とシリアル通信する。   The first CPU 15 is a one-chip microcomputer, and includes a ROM (read only memory), a RAM (random access memory), an SCI (serial communication interface), and an I / O port (input / output port) (not shown). The first CPU 15 controls each part of the electronic endoscope 10 and performs serial communication with the second CPU 31 of the video processor 30.

第1CPU15は、接続回数、及び使用時間を計測する。接続回数は、電子内視鏡10がビデオプロセッサ30に取り付けられた回数である。使用時間は、電子内視鏡10がビデオプロセッサ30に接続され且つ電子内視鏡10の電源がオン状態にされた使用状態の累積時間である。   The first CPU 15 measures the number of connections and the usage time. The number of connections is the number of times that the electronic endoscope 10 is attached to the video processor 30. The usage time is an accumulated time of the usage state in which the electronic endoscope 10 is connected to the video processor 30 and the power source of the electronic endoscope 10 is turned on.

第1、第2メモリ16、17は、電子内視鏡10の各部の設定値を記憶しておくための不揮発性メモリ(EEPROM等)で、第1CPU15と接続される。第1メモリ16は、電子内視鏡10の使用時間以外の記憶項目として、内視鏡名やシリアルナンバー、及び映像信号処理IC13のレジスタ設定値などを記憶する。   The first and second memories 16 and 17 are non-volatile memories (EEPROM etc.) for storing the setting values of each part of the electronic endoscope 10 and are connected to the first CPU 15. The first memory 16 stores an endoscope name and serial number, a register setting value of the video signal processing IC 13, and the like as storage items other than the usage time of the electronic endoscope 10.

第2メモリ17は、電子内視鏡10の使用時間(使用時間記録値)、電子内視鏡10のビデオプロセッサ30への接続回数(接続回数記録値)を記憶する。電子内視鏡10の使用時間記録値は、記憶時間変数tに対応して変化し、接続回数記録値は、接続回数変数cに対応して変化する。   The second memory 17 stores the usage time (use time recorded value) of the electronic endoscope 10 and the number of times the electronic endoscope 10 is connected to the video processor 30 (connection number recorded value). The use time recorded value of the electronic endoscope 10 changes corresponding to the storage time variable t, and the connection count recorded value changes corresponding to the connection count variable c.

第1CPU15のRAMは、映像信号処理IC13から出力される垂直同期信号Vsyncの回数に基づいて、電子内視鏡10の使用時間を計測するための記憶時間変数t、及び第1、第2カウンタvc1、vc2を一時記憶する。第1、第2カウンタvc1、vc2は、記憶時間変数tを計測するための変数である。垂直同期信号Vsyncは、映像信号方式がNTSCの場合、1/60秒ごとに一回出力され(垂直同期周波数が60Hz)、映像信号方式がPALの場合、1/50秒ごとに1回出力される(垂直同期周波数が50Hz)。   The RAM of the first CPU 15 stores a storage time variable t for measuring the usage time of the electronic endoscope 10 and the first and second counters vc1 based on the number of vertical synchronization signals Vsync output from the video signal processing IC 13. , Vc2 are temporarily stored. The first and second counters vc1 and vc2 are variables for measuring the storage time variable t. The vertical synchronization signal Vsync is output once every 1/60 seconds when the video signal system is NTSC (vertical synchronization frequency is 60 Hz), and is output once every 1/50 seconds when the video signal system is PAL. (Vertical synchronization frequency is 50 Hz).

従って、第1の実施形態では、電子内視鏡10における映像信号処理のために使用される回路素子である映像信号処理IC13から出力される垂直同期信号を使って、電子内視鏡10の使用時間を計測することが可能になる。   Accordingly, in the first embodiment, the use of the electronic endoscope 10 is performed using the vertical synchronization signal output from the video signal processing IC 13 which is a circuit element used for video signal processing in the electronic endoscope 10. It becomes possible to measure time.

第1カウンタvc1の値は、第1初期値以上第1パラメータP1以下の整数で、垂直同期信号Vsyncが出力される度に第1の一定値だけ加算される。第1カウンタvc1の値が第1パラメータP1以上になった時、第1カウンタvc1の値は第1初期値にされ、第2カウンタvc2の値は第2の一定値だけ加算される。第2カウンタvc2の値は、第2初期値以上第2パラメータP2以下の整数である。第2カウンタvc2の値が第2パラメータP2以上になった時、第2カウンタvc2の値は第2初期値にされ、電子内視鏡10の使用時間に相当する記憶時間変数tの値が第3の一定値だけ加算される。   The value of the first counter vc1 is an integer that is greater than or equal to the first initial value and less than or equal to the first parameter P1, and is incremented by a first constant value each time the vertical synchronization signal Vsync is output. When the value of the first counter vc1 becomes equal to or greater than the first parameter P1, the value of the first counter vc1 is set to the first initial value, and the value of the second counter vc2 is added by a second constant value. The value of the second counter vc2 is an integer that is greater than or equal to the second initial value and less than or equal to the second parameter P2. When the value of the second counter vc2 becomes equal to or greater than the second parameter P2, the value of the second counter vc2 is set to the second initial value, and the value of the storage time variable t corresponding to the usage time of the electronic endoscope 10 is the first value. Only a fixed value of 3 is added.

第1の実施形態において、第1〜第3の一定値は、いずれも1であり、第1、第2初期値はいずれも0である。   In the first embodiment, the first to third constant values are all 1, and the first and second initial values are both 0.

第1パラメータP1の値は、映像信号方式に対応して設定される。第1の実施形態においては、映像信号方式がNTSCの場合は、第1パラメータP1の値は60に、PALの場合は、50に設定される。第1の実施形態においては、第2パラメータP2の値は360に設定される。   The value of the first parameter P1 is set corresponding to the video signal system. In the first embodiment, the value of the first parameter P1 is set to 60 when the video signal system is NTSC, and is set to 50 when the video signal system is PAL. In the first embodiment, the value of the second parameter P2 is set to 360.

従って、映像信号方式がNTSCの場合、第1カウンタvc1の値が60以上になった時に0にされ、第2カウンタvc2の値が1だけ増やされる。映像信号方式がPALの場合、第1カウンタvc1の値が50以上になった時に0にされ、第2カウンタvc2の値が1だけ増やされる。すなわち第2カウンタvc2の値は、1秒ごとに1だけ増える。第2カウンタvc2の値が360以上になった場合は、第2カウンタvc2の値は0にされ、電子内視鏡10の記憶時間変数tの値が1だけ増やされる。記憶時間変数tの値は0以上の整数で、6分ごとに1だけ増える。従って、実際の使用時間は、6×t分で表される。   Therefore, when the video signal system is NTSC, when the value of the first counter vc1 becomes 60 or more, it is set to 0, and the value of the second counter vc2 is increased by 1. When the video signal system is PAL, it is set to 0 when the value of the first counter vc1 reaches 50 or more, and the value of the second counter vc2 is increased by 1. That is, the value of the second counter vc2 increases by 1 every second. When the value of the second counter vc2 is 360 or more, the value of the second counter vc2 is set to 0, and the value of the storage time variable t of the electronic endoscope 10 is increased by 1. The value of the storage time variable t is an integer greater than or equal to 0 and increases by 1 every 6 minutes. Therefore, the actual use time is represented by 6 × t minutes.

第1CPU15のRAMは、電子内視鏡10がビデオプロセッサ30と接続された回数を計測するための接続回数変数cを一時記憶する。接続回数変数cは、初期値が0の整数で、電子内視鏡10がビデオプロセッサ30と接続される度に1だけ加算される。記憶時間変数tと接続回数変数cとの和は第2メモリ17への書き込み回数(t+c)に相当し、第1CPU15は、書き込み回数(t+c)が、第2メモリ17の品質保証書き込み回数CTを超えたか否かを判断する。品質保証書き込み回数CTを超えている場合は、TVモニタ70または音声合成ICで使用者に対して警告を行う。第2メモリ17の品質保証書き込み回数CTの値は、第1CPU15の動作プログラムにインストールされている。第1の実施形態では、品質保証書き込み回数CTは10万回に設定される。   The RAM of the first CPU 15 temporarily stores a connection number variable c for measuring the number of times that the electronic endoscope 10 is connected to the video processor 30. The connection count variable c is an integer with an initial value of 0, and is incremented by 1 each time the electronic endoscope 10 is connected to the video processor 30. The sum of the storage time variable t and the connection count variable c corresponds to the number of writes (t + c) to the second memory 17, and the first CPU 15 determines that the number of writes (t + c) is the quality assurance write count CT of the second memory 17. Judge whether or not it has been exceeded. If the quality assurance write count CT is exceeded, a warning is given to the user by the TV monitor 70 or the voice synthesis IC. The value of the quality assurance write count CT in the second memory 17 is installed in the operation program of the first CPU 15. In the first embodiment, the quality assurance write count CT is set to 100,000 times.

従って、第1の実施形態では、第2メモリ17の品質保証書き込み回数CTを考慮して、電子内視鏡10の使用時間などを記録することが可能になる。また、第2メモリ17への書き込み回数が、品質保証書き込み回数CTを超えてしまい、第2メモリ17に記録した値が信頼できない状態になった場合でも、他の記憶項目は第1メモリ16に記録されているので、電子内視鏡10の他の機能に悪影響を及ぼさない。   Therefore, in the first embodiment, it is possible to record the usage time of the electronic endoscope 10 in consideration of the quality assurance write count CT of the second memory 17. Even if the number of times of writing to the second memory 17 exceeds the number of times of quality assurance writing CT, and the value recorded in the second memory 17 becomes unreliable, other storage items are stored in the first memory 16. Since it is recorded, other functions of the electronic endoscope 10 are not adversely affected.

音声合成IC19は、第2メモリ17の品質保証限度以上の回数だけ書き込みが行われた時にそのことを使用者に知らせる回路素子で、第1CPU15と接続される。   The voice synthesizing IC 19 is a circuit element that notifies the user when writing is performed more times than the quality assurance limit of the second memory 17 and is connected to the first CPU 15.

電子内視鏡10は、スイッチ(不図示)を有する。これは、電子内視鏡10の映像信号方式をNTSCまたはPALに切り換えるためのディップスイッチで、第1CPU15と接続される。このスイッチの接続状況に対応して、映像信号方式判別変数vnpの値が0または1に設定される。映像信号方式判別変数vnpの値は、第1CPU15のRAMに一時記憶される。   The electronic endoscope 10 has a switch (not shown). This is a dip switch for switching the video signal system of the electronic endoscope 10 to NTSC or PAL, and is connected to the first CPU 15. The value of the video signal system discrimination variable vnp is set to 0 or 1 corresponding to the connection status of this switch. The value of the video signal system discrimination variable vnp is temporarily stored in the RAM of the first CPU 15.

ビデオプロセッサ30は、第2CPU31、第3メモリ32、RTC(リアルタイムクロック)33、絞り制御回路35、光源36、絞り37、信号処理回路41、CRTC(CRTコントローラ)42、及びパネルスイッチ群43を有する(図3参照)。   The video processor 30 includes a second CPU 31, a third memory 32, an RTC (real time clock) 33, an aperture control circuit 35, a light source 36, an aperture 37, a signal processing circuit 41, a CRTC (CRT controller) 42, and a panel switch group 43. (See FIG. 3).

ビデオプロセッサ30は、電子内視鏡10で撮像された被写体の画像信号を、TVモニタ70で観察可能な映像信号に変換する。また、ビデオプロセッサ30は、電子内視鏡10の先端部を介して被写体を照明する。光源36からの光は、ライトガイド18を介して先端部から被写体に照射される。   The video processor 30 converts the image signal of the subject imaged by the electronic endoscope 10 into a video signal that can be observed on the TV monitor 70. Further, the video processor 30 illuminates the subject via the distal end portion of the electronic endoscope 10. Light from the light source 36 is irradiated to the subject from the tip portion through the light guide 18.

第2CPU31は、ワンチップマイクロコンピュータであり、図示しないROM(リードオンリーメモリ)、RAM(ランダムアクセスメモリ)、SCI(シリアルコミュニケーションインターフェース)、I/Oポート(インプット/アウトプットポート)を有する。第2CPU31は、ビデオプロセッサの各部を制御し、電子内視鏡10の第1CPU15とシリアル通信する。   The second CPU 31 is a one-chip microcomputer, and includes a ROM (read only memory), a RAM (random access memory), an SCI (serial communication interface), and an I / O port (input / output port) (not shown). The second CPU 31 controls each part of the video processor and performs serial communication with the first CPU 15 of the electronic endoscope 10.

信号処理回路41は、電子内視鏡10の映像信号処理IC13から出力される画像信号を、TVモニタ70に表示する信号に変換する。信号処理回路41は、画像信号のうち輝度信号を第2CPU31に出力する。第2CPU31は、輝度信号に基づいて、絞り制御回路35を制御し、絞り37の絞り具合を変え、光源36からライトガイド18を介して被写体に照射される光量を調整する(自動調光処理)。   The signal processing circuit 41 converts the image signal output from the video signal processing IC 13 of the electronic endoscope 10 into a signal to be displayed on the TV monitor 70. The signal processing circuit 41 outputs a luminance signal among the image signals to the second CPU 31. The second CPU 31 controls the diaphragm control circuit 35 based on the luminance signal, changes the diaphragm condition of the diaphragm 37, and adjusts the amount of light emitted from the light source 36 to the subject via the light guide 18 (automatic light control process). .

電子内視鏡10の映像信号処理IC13から出力される垂直同期信号Vsyncは、信号処理回路41を介して第2CPU31に入力される。   The vertical synchronization signal Vsync output from the video signal processing IC 13 of the electronic endoscope 10 is input to the second CPU 31 via the signal processing circuit 41.

第2CPU31は、キーボード50のキー、及びパネルスイッチ群43のスイッチが操作された時に、それに対応する処理を行う。   When the keys of the keyboard 50 and the switches of the panel switch group 43 are operated, the second CPU 31 performs processing corresponding thereto.

第2CPU31は、RTC33から日時を読み出し、CRTC42を介してTVモニタ70に表示する。第2CPU31は、患者名、年齢、性別、医師名などの各種文字情報を、CRTC42を介してTVモニタ70に表示する。   The second CPU 31 reads the date / time from the RTC 33 and displays it on the TV monitor 70 via the CRTC 42. The second CPU 31 displays various character information such as a patient name, age, sex, and doctor name on the TV monitor 70 via the CRTC 42.

第3メモリ32は、ビデオプロセッサ30の各部の設定値を記憶しておくための不揮発性メモリ(EEPROM等)で、第2CPU31と接続される。   The third memory 32 is a non-volatile memory (EEPROM or the like) for storing setting values of each part of the video processor 30 and is connected to the second CPU 31.

図4のフローチャートを用いて、第1の実施形態における電子内視鏡10の第1CPU15による初期設定処理の手順を説明する。初期設定処理は、電子内視鏡10がビデオプロセッサ30に接続される度に行われる。ステップS1で初期設定処理が開始されると、ステップS2で、第1CPU15や映像信号処理IC13のレジスタが設定され、第1CPU15にインストールされた動作プログラムで使用され、RAMに一時記憶された変数が初期値に設定される。第1、第2カウンタvc1、vc2はそれぞれ0に設定される。   The procedure of the initial setting process by the first CPU 15 of the electronic endoscope 10 according to the first embodiment will be described with reference to the flowchart of FIG. The initial setting process is performed every time the electronic endoscope 10 is connected to the video processor 30. When the initial setting process is started in step S1, the registers of the first CPU 15 and the video signal processing IC 13 are set in step S2, used in the operation program installed in the first CPU 15, and variables temporarily stored in the RAM are initialized. Set to a value. The first and second counters vc1 and vc2 are set to 0, respectively.

ステップS3で、接続回数変数cの値を第2メモリ17から読み出しした使用回数記録値に設定し、接続回数変数cの値を1だけ加算し、加算した接続回数変数cの値を接続回数記録値として第2メモリ17に記憶する。   In step S3, the value of the connection count variable c is set to the use count recording value read from the second memory 17, the value of the connection count variable c is incremented by 1, and the value of the added connection count variable c is recorded as the connection count. The value is stored in the second memory 17 as a value.

ステップS4で、記憶時間変数tの値を第2メモリ17から読み出しした使用時間記録値に設定する。記憶時間変数tは、その後、割り込み処理において、使用時間記録に使用される。接続回数変数cと記憶時間変数tとの和が第2メモリ17への書き込み回数(c+t)である。   In step S <b> 4, the value of the storage time variable t is set to the usage time recorded value read from the second memory 17. The storage time variable t is then used for usage time recording in interrupt processing. The sum of the connection count variable c and the storage time variable t is the number of writes to the second memory 17 (c + t).

ステップS5で、第2メモリ17への書き込み回数(c+t)の値が、第2メモリ17の品質保証書き込み回数CTの値を超えたか否かが判断される。超えている場合は、ステップS6で、第2メモリ17への書き込み回数が品質保証限度を超えたので、その旨を使用者に知らせる。具体的には、第1CPU15が、ビデオプロセッサ30にコマンドを送り、ビデオプロセッサ30はこのコマンドに基づいてTVモニタ70に例えば「電子内視鏡10は定期点検が必要です」と表示する。また、第1CPU15が、音声合成IC19を駆動して、音声にて例えば「電子内視鏡10は定期点検が必要です」と使用者に知らせる。超えていない場合は、ステップS6の処理は行われずにステップS7に進められる。   In step S5, it is determined whether or not the value of the number of times of writing (c + t) to the second memory 17 exceeds the value of the number of times of quality assurance writing CT of the second memory 17. If it exceeds, the number of times of writing to the second memory 17 exceeds the quality assurance limit in step S6, so that the user is informed of that. Specifically, the first CPU 15 sends a command to the video processor 30, and the video processor 30 displays, for example, “The electronic endoscope 10 needs periodic inspection” on the TV monitor 70 based on the command. Further, the first CPU 15 drives the voice synthesis IC 19 to notify the user by voice, for example, “The electronic endoscope 10 needs periodic inspection”. If not, the process proceeds to step S7 without performing the process of step S6.

ステップS7において、スイッチの状態に応じて映像信号方式判別変数vnpの値が設定される。スイッチが、映像信号方式についてNTSCを選択する状態の場合は、映像信号方式判別変数vnpの値は0に設定され、映像信号方式についてPALを選択する状態の場合は、映像信号方式判別変数vnpの値は1に設定される。初期設定処理終了後は、循環処理すなわち電子内視鏡のメイン動作(不図示)が行われる。   In step S7, the value of the video signal system discrimination variable vnp is set according to the state of the switch. When the switch is in the state of selecting NTSC for the video signal system, the value of the video signal system determination variable vnp is set to 0, and when the switch is in the state of selecting PAL for the video signal system, the value of the video signal system determination variable vnp is set. The value is set to 1. After completion of the initial setting process, a circulation process, that is, a main operation (not shown) of the electronic endoscope is performed.

図5のフローチャートを用いて、第1の実施形態における第1CPU15による割り込み処理として実行される使用時間記憶処理の手順を説明する。割り込み処理は、初期設定処理がなされた後に開始される。即ち図4の初期設定処理終了後、割り込み処理が可能な状態にされる。割り込み処理は、映像信号処理IC13からの垂直同期信号Vsyncの出力に対応して、1フィールド毎に一回(映像信号方式がNTSCの場合は1/60秒に一回、PALの場合は1/50秒に一回)実行される。   With reference to the flowchart of FIG. 5, the procedure of the usage time storage process executed as the interrupt process by the first CPU 15 in the first embodiment will be described. The interrupt process is started after the initial setting process is performed. That is, after completion of the initial setting process of FIG. 4, the interrupt process is enabled. The interrupt processing corresponds to the output of the vertical synchronization signal Vsync from the video signal processing IC 13 once per field (once every 1/60 seconds when the video signal system is NTSC, 1 / when PAL is used). Once every 50 seconds).

ステップS11で、割り込み処理が開始されると、ステップS12で、第1カウンタvc1の値が1だけ加算される。ステップS13で、電子内視鏡10の映像信号方式がNTSC、PALのいずれに設定されているかが判断される。具体的には、映像信号方式判別変数vnpの値を調べることによって判断される。   When interrupt processing is started in step S11, the value of the first counter vc1 is incremented by 1 in step S12. In step S13, it is determined whether the video signal system of the electronic endoscope 10 is set to NTSC or PAL. Specifically, it is determined by examining the value of the video signal system discrimination variable vnp.

vnp=0である場合、すなわち映像信号方式がNTSCである場合は、ステップS14で、第1カウンタvc1の値が60以上であるか否かが判断される。第1カウンタvc1の値が60以上である場合は、ステップS15で、使用時間記憶メイン処理が行われ、ステップS18で、割り込み処理が終了する。使用時間記憶メイン処理の詳細手順については、図6のフローチャートで説明する。第1カウンタvc1の値が60以上でない場合は、ステップS18で割り込み処理が終了する。   If vnp = 0, that is, if the video signal system is NTSC, it is determined in step S14 whether the value of the first counter vc1 is 60 or more. If the value of the first counter vc1 is 60 or more, the usage time storage main process is performed in step S15, and the interrupt process is terminated in step S18. The detailed procedure of the usage time storage main process will be described with reference to the flowchart of FIG. If the value of the first counter vc1 is not 60 or more, the interrupt process ends in step S18.

vnp=1である場合、すなわち映像信号方式がPALである場合は、ステップS16で、第1カウンタvc1の値が50以上であるか否かが判断される。第1カウンタvc1の値が50以上である場合は、ステップS17で、使用時間記憶メイン処理が行われ、ステップS18で、割り込み処理が終了する。第1カウンタvc1の値が50以上でない場合は、ステップS18で割り込み処理が終了する。   If vnp = 1, that is, if the video signal system is PAL, it is determined in step S16 whether the value of the first counter vc1 is 50 or more. When the value of the first counter vc1 is 50 or more, the use time storage main process is performed in step S17, and the interrupt process ends in step S18. If the value of the first counter vc1 is not 50 or more, the interrupt process ends in step S18.

次に、図6のフローチャートを用いて、使用時間記憶メイン処理の詳細を説明する。ステップS31で、図5のステップS15、S17の手順に進められると、ステップ32で、第1カウンタvc1の値が0にされ、第2カウンタvc2の値が1だけ加算される。   Next, the usage time storage main process will be described in detail with reference to the flowchart of FIG. When the process proceeds to steps S15 and S17 in FIG. 5 in step S31, the value of the first counter vc1 is set to 0 and the value of the second counter vc2 is incremented by 1 in step 32.

ステップS33で、第2カウンタvc2の値が360以上か否かが判断される。第2カウンタvc2の値が360以上の場合は、ステップS34で、第2カウンタvc2の値が0にされる。ステップS35で、記憶時間変数tの値を1だけ加算し、加算した記憶時間変数t値を使用時間記録の値として第2メモリ17に記憶し、ステップS36で使用時間記憶メイン処理が終了する。第2カウンタvc2の値が360以上でない場合は、ステップS36で使用時間記憶メイン処理が終了する。   In step S33, it is determined whether or not the value of the second counter vc2 is 360 or more. When the value of the second counter vc2 is 360 or more, the value of the second counter vc2 is set to 0 in step S34. In step S35, the value of the storage time variable t is incremented by 1, and the added storage time variable t value is stored in the second memory 17 as a use time recording value. In step S36, the use time storage main process is terminated. If the value of the second counter vc2 is not 360 or more, the use time storage main process ends in step S36.

次に、第2の実施形態について説明する。第2の実施形態においては、ビデオプロセッサ30は、第4メモリ34を更に有し(図7参照)、電子内視鏡10は、第2メモリ17を有しない(不図示)。第1の実施形態においては、使用時間記憶処理は、第1CPU15が行い、接続回数記録値、及び使用時間記録値は第2メモリ17が記憶するが、第2の実施形態においては、使用時間記憶処理は、第2CPU31が行い、接続回数記録値、及び使用時間記録値は第4メモリ34が記憶する。その他の構成は、第1の実施形態と同様である。   Next, a second embodiment will be described. In the second embodiment, the video processor 30 further includes a fourth memory 34 (see FIG. 7), and the electronic endoscope 10 does not include the second memory 17 (not shown). In the first embodiment, the usage time storage process is performed by the first CPU 15, and the connection count recording value and the usage time recording value are stored in the second memory 17. In the second embodiment, the usage time storage processing is performed. The processing is performed by the second CPU 31 and the fourth memory 34 stores the connection count recording value and the usage time recording value. Other configurations are the same as those of the first embodiment.

第1の実施形態においては、第1、第2カウンタvc1、vc2、時間記憶変数t、接続回数変数c、及び映像信号方式判別変数vnpは、第1CPU15のRAMに一時記憶されるが、第2の実施形態においては、第2CPU31のRAMに一時記憶される。   In the first embodiment, the first and second counters vc 1 and vc 2, the time storage variable t, the connection count variable c, and the video signal system determination variable vnp are temporarily stored in the RAM of the first CPU 15. In this embodiment, it is temporarily stored in the RAM of the second CPU 31.

第4メモリ34は、接続された電子内視鏡10の接続回数記録値、使用時間記録値、シリアルナンバー、及び内視鏡名を記憶する。電子内視鏡ごとに、第4メモリ34の異なる番地(記憶領域)に使用時間記録値などが書き込みされる。ビデオプロセッサ30に装着される電子内視鏡の使用時間記録値などを、第4メモリ34に書き込む番地は、アドレス変数vaで表される。電子内視鏡10のシリアルナンバー、及び内視鏡名は、第2CPU31によって、第1メモリ16から読み出される。シリアルナンバー及び内視鏡名に対応して、アドレス変数vaの値が設定される。ビデオプロセッサ30に過去に装着された電子内視鏡10の使用時間記憶値などは、第4メモリ34のアドレス変数vaの値に対応する番地(記憶領域)に記憶される。番地を示すアドレス変数vaは、第2CPU31のRAMに一時記憶される。   The fourth memory 34 stores a connection count recording value, a usage time recording value, a serial number, and an endoscope name of the connected electronic endoscope 10. For each electronic endoscope, a usage time recording value or the like is written in a different address (storage area) of the fourth memory 34. The address at which the recorded recording time of the electronic endoscope attached to the video processor 30 is written in the fourth memory 34 is represented by an address variable va. The serial number and endoscope name of the electronic endoscope 10 are read from the first memory 16 by the second CPU 31. The value of the address variable va is set corresponding to the serial number and endoscope name. The usage time storage value of the electronic endoscope 10 previously mounted on the video processor 30 is stored in an address (storage area) corresponding to the value of the address variable va in the fourth memory 34. The address variable va indicating the address is temporarily stored in the RAM of the second CPU 31.

第4メモリ34の品質保証書き込み回数CTの値は、第2CPU31の動作プログラムにインストールされている。第2の実施形態では、第4メモリ34の品質保証書き込み回数CTは10万回に設定される。   The value of the quality assurance write count CT in the fourth memory 34 is installed in the operation program of the second CPU 31. In the second embodiment, the quality assurance write count CT of the fourth memory 34 is set to 100,000 times.

図8、図9のフローチャートを用いて、第2の実施形態における使用時間記憶処理の手順を説明する。ステップS51で、第2CPU31のメインプログラムの処理が開始されると、ステップS52で、第2CPU31による初期設定処理が行われる。第2CPU31による初期設定処理は、図4で説明した第1CPU15による初期設定処理と同様の処理が行われる。第2の実施形態では、図4のステップS3、ステップS4は行われない。これは、初期設定処理時、電子内視鏡10がビデオプロセッサ30に接続されているとは限らないからである。図4のステップS2では、第2CPU31の各レジスタの設定、周辺ICの各レジスタの設定、さらに各種変数の設定などが行われる。また、図4のステップS5で、第4メモリ34への書き込み回数Σ(c+t)の値が、第4メモリ34の品質保証書き込み回数CTの値を超えたか否かが判断される。ここでΣ(c+t)は記憶されている総ての内視鏡の接続回数記録値cと使用時間記録値tの総和を表す。超えている場合は、図4のステップS6で、第4メモリ34への書き込み回数が品質保証限度を超えたので、その旨を使用者に知らせる。その後、映像信号方式判別変数vnpの値が、内視鏡装置1の映像信号方式の設定状態に合わせて設定され、初期設定処理を終了する。   The procedure of the usage time storage process in the second embodiment will be described using the flowcharts of FIGS. When processing of the main program of the second CPU 31 is started in step S51, initial setting processing by the second CPU 31 is performed in step S52. The initial setting process by the second CPU 31 is the same as the initial setting process by the first CPU 15 described with reference to FIG. In the second embodiment, step S3 and step S4 in FIG. 4 are not performed. This is because the electronic endoscope 10 is not necessarily connected to the video processor 30 during the initial setting process. In step S2 of FIG. 4, each register of the second CPU 31 is set, each register of the peripheral IC is set, and various variables are set. Further, in step S5 in FIG. 4, it is determined whether or not the value of the write count Σ (c + t) to the fourth memory 34 exceeds the value of the quality guarantee write count CT of the fourth memory 34. Here, Σ (c + t) represents the sum of all the stored connection count recorded values c and usage time recorded values t. If it has exceeded, the number of times of writing to the fourth memory 34 has exceeded the quality assurance limit in step S6 of FIG. Thereafter, the value of the video signal system discrimination variable vnp is set in accordance with the video signal system setting state of the endoscope apparatus 1, and the initial setting process is terminated.

ステップS53で、第2CPU31による内視鏡接続確認処理が行われる。具体的には、電子内視鏡10が接続部20を介して、ビデオプロセッサ30に接続されたか、または取り外しされたかを調べる。内視鏡接続確認処理の詳細については、図9のフローチャートで後述する。   In step S53, an endoscope connection confirmation process by the second CPU 31 is performed. Specifically, it is checked whether the electronic endoscope 10 is connected to or removed from the video processor 30 via the connection unit 20. Details of the endoscope connection confirmation processing will be described later with reference to the flowchart of FIG.

ステップS54で、電子内視鏡10との通信処理が行われる。具体的には、電子内視鏡10と、ビデオプロセッサ30との間でコマンドのやりとりが行われる。ステップS55で、キーボード50のキー入力に対応した処理が行われる。ステップS56で、パネルスイッチ群43のスイッチ入力に対応した処理が行われる。例えば、光源36のランプの点灯や、TVモニタ70に表示された画像の明るさ(参照値)の変更等の処理である。   In step S54, communication processing with the electronic endoscope 10 is performed. Specifically, commands are exchanged between the electronic endoscope 10 and the video processor 30. In step S55, processing corresponding to key input on the keyboard 50 is performed. In step S56, processing corresponding to the switch input of the panel switch group 43 is performed. For example, it is processing such as turning on the lamp of the light source 36 or changing the brightness (reference value) of the image displayed on the TV monitor 70.

ステップS57で、時刻表示などのその他の処理が行われる。ステップS53〜S57の処理は繰り返し行われる。   In step S57, other processing such as time display is performed. Steps S53 to S57 are repeated.

図8のステップS53における内視鏡接続確認処理の詳細を説明する(図9参照)。ステップS71で、ビデオプロセッサ30に、新たに電子内視鏡10が接続されたか否かが判断される。新たに電子内視鏡10が接続された場合には、ステップS72で、電子内視鏡10からシリアルナンバーや内視鏡名などのデータが読み出しされる。   Details of the endoscope connection confirmation process in step S53 of FIG. 8 will be described (see FIG. 9). In step S <b> 71, it is determined whether or not the electronic endoscope 10 is newly connected to the video processor 30. When the electronic endoscope 10 is newly connected, data such as a serial number and an endoscope name is read from the electronic endoscope 10 in step S72.

ステップS73で、読み出しされたシリアルナンバーから、その電子内視鏡10の使用時間記録値が記憶されている番地がアドレス変数vaに設定される。次に、接続回数変数cの値をアドレス変数vaの値に対応した第4メモリ34の番地から読み出しした接続回数記録値に設定し、接続回数変数cの値を1だけ加算し、加算した接続回数変数cの値を接続回数記録値としてアドレス変数vaの値に対応した第4メモリ34の番地に記憶する。また、記憶時間変数tの値をアドレス変数vaの値に対応した第4メモリ34の番地から読み出しした使用時間記録値に設定する。ステップS74で、第1、第2カウンタvc1、vc2の値が0に設定される。   In step S73, the address where the usage time recording value of the electronic endoscope 10 is stored is set in the address variable va from the read serial number. Next, the value of the connection count variable c is set to the connection count recording value read from the address of the fourth memory 34 corresponding to the value of the address variable va, the value of the connection count variable c is incremented by 1, and the added connection The value of the number variable c is stored as the connection number recording value at the address of the fourth memory 34 corresponding to the value of the address variable va. Further, the value of the storage time variable t is set to the use time recording value read from the address of the fourth memory 34 corresponding to the value of the address variable va. In step S74, the values of the first and second counters vc1 and vc2 are set to zero.

ステップS75で、第2CPU31による割り込み処理が可能な状態にされ、内視鏡接続確認処理が終了する。ステップS72〜S75の処理は、新たに電子内視鏡10が接続されたと判断された場合に一回だけ行われる。   In step S75, the interrupt process by the second CPU 31 is enabled, and the endoscope connection confirmation process ends. The processes in steps S72 to S75 are performed only once when it is determined that the electronic endoscope 10 is newly connected.

第2CPU31による割り込み処理は、図5、図6で説明した第1CPU15による割り込み処理と同様の処理が行われる。第2の実施形態では、図6のステップS35で、記憶時間変数tの値を1だけ加算し、加算した記憶時間変数tの値を使用時間記録の値としてアドレス変数vaの値に対応した第4メモリ34の番地に記憶し、ステップS36で使用時間記憶メイン処理が終了する。その他のステップについては、第1の実施形態で説明した内容と同様である。   The interrupt processing by the second CPU 31 is the same as the interrupt processing by the first CPU 15 described with reference to FIGS. In the second embodiment, in step S35 of FIG. 6, the value of the storage time variable t is incremented by 1, and the value of the added storage time variable t is used as the value of the usage time record and corresponds to the value of the address variable va. 4 is stored in the address of the memory 34, and the use time storage main process is terminated in step S36. Other steps are the same as those described in the first embodiment.

ステップS71の判断で、電子内視鏡10が新たに接続されていないと判断された場合は、ステップS76で、電子内視鏡10がビデオプロセッサ30から取り外しされたか否かが判断される。   If it is determined in step S71 that the electronic endoscope 10 is not newly connected, it is determined in step S76 whether or not the electronic endoscope 10 has been removed from the video processor 30.

電子内視鏡10がビデオプロセッサ30から取り外された場合は、ステップS77で、使用時間の計測を停止するために第2CPU31による割り込み処理が禁止の状態にされ、内視鏡接続確認処理が終了する。電子内視鏡10がビデオプロセッサ30から取り外しされていない場合は、内視鏡接続確認処理が終了する。即ち、電子内視鏡10が新たに接続もされず、取り外されもしない場合は、図9の内視鏡接続確認処理は、実質的に何も行われずに終了される。   When the electronic endoscope 10 is removed from the video processor 30, in step S77, the interrupt process by the second CPU 31 is disabled in order to stop the measurement of the usage time, and the endoscope connection confirmation process ends. . If the electronic endoscope 10 has not been detached from the video processor 30, the endoscope connection confirmation process ends. That is, when the electronic endoscope 10 is neither newly connected nor removed, the endoscope connection confirmation process in FIG. 9 is terminated without performing substantially anything.

第2の実施形態では、ビデオプロセッサ30における映像信号処理のために使用される信号処理回路41から出力される垂直同期信号を使って、電子内視鏡10の使用時間を計測することが可能になる。   In the second embodiment, the usage time of the electronic endoscope 10 can be measured using the vertical synchronization signal output from the signal processing circuit 41 used for the video signal processing in the video processor 30. Become.

また、第4メモリ34の品質保証書き込み回数CTを考慮して、電子内視鏡10の使用時間などを記録することが可能になる。また、第4メモリ34への書き込み回数が、品質保証書き込み回数CTを超えてしまい、第4メモリ34に記録した値が信頼できない状態になった場合でも、他の記憶項目は第3メモリ32に記録されているので、ビデオプロセッサ30の他の機能に悪影響を及ぼさない。   In addition, the usage time of the electronic endoscope 10 can be recorded in consideration of the quality assurance write count CT in the fourth memory 34. Even when the number of times of writing to the fourth memory 34 exceeds the number of times of quality assurance writing CT, and the value recorded in the fourth memory 34 becomes unreliable, other storage items are stored in the third memory 32. Since it is recorded, other functions of the video processor 30 are not adversely affected.

また、第2の実施形態では、ビデオプロセッサ30に接続される電子内視鏡10ごとに接続回数記録値、及び使用時間記録値を記憶することができ、電子内視鏡10ごとの使用時間を知ることが可能になる。   In the second embodiment, the connection number recording value and the usage time recording value can be stored for each electronic endoscope 10 connected to the video processor 30, and the usage time for each electronic endoscope 10 can be stored. It becomes possible to know.

なお、第1、第2の実施形態ともに、使用時間の計測を、垂直同期信号Vsyncの出力回数に基づいて行うとしたが、別途インターバルタイマーなどのタイマー素子などを付加してこれらで使用時間計測を行っても良い。   In both the first and second embodiments, the usage time is measured based on the number of outputs of the vertical synchronization signal Vsync. However, a timer element such as an interval timer is additionally added to measure the usage time. May be performed.

また、第1、第2の実施形態ともに、1つの制御手段(CPU)が使用時間、接続回数を計測するとしたが、それぞれ別々の制御手段が計測を行っても良い。   In addition, in both the first and second embodiments, one control unit (CPU) measures the usage time and the number of connections. However, separate control units may perform the measurement.

内視鏡装置の構成図である。It is a block diagram of an endoscope apparatus. 実施形態における電子内視鏡の回路ブロック図である。It is a circuit block diagram of the electronic endoscope in the embodiment. 第1の実施形態におけるビデオプロセッサの回路ブロック図である。FIG. 2 is a circuit block diagram of a video processor in the first embodiment. 第1の実施形態における電子内視鏡の第1CPUによる初期設定処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the initial setting process by 1st CPU of the electronic endoscope in 1st Embodiment. 第1の実施形態における使用時間記憶処理を示すフローチャートである。It is a flowchart which shows the use time memory | storage process in 1st Embodiment. 第1の実施形態における使用時間記憶メイン処理を示すフローチャートである。It is a flowchart which shows the usage time storage main process in 1st Embodiment. 第2の実施形態におけるビデオプロセッサの回路ブロック図である。It is a circuit block diagram of the video processor in 2nd Embodiment. 第2の実施形態における第2CPUのメインプログラムの内容を示すフローチャートである。It is a flowchart which shows the content of the main program of 2nd CPU in 2nd Embodiment. 第2の実施形態における内視鏡接続確認処理の詳細を示すフローチャートである。It is a flowchart which shows the detail of the endoscope connection confirmation process in 2nd Embodiment.

符号の説明Explanation of symbols

1 内視鏡装置
10 電子内視鏡
11 撮像素子
12 AGC(オートゲインコントローラ)
13 映像信号処理IC
15 第1CPU
16 第1メモリ
17 第2メモリ
18 ライトガイド
19 音声合成IC
20 接続部
30 ビデオプロセッサ
31 第2CPU
32 第3メモリ
33 RTC
34 第4メモリ
35 絞り制御回路
36 光源
37 絞り
41 信号処理回路
42 CRTC
43 パネルスイッチ群
50 キーボード
70 TVモニタ
CT 品質保証書き込み回数
c 接続回数変数
t 記憶時間変数
va アドレス変数
vc1、vc2 第1、第2カウンタ
vnp 映像信号方式判別変数
DESCRIPTION OF SYMBOLS 1 Endoscope apparatus 10 Electronic endoscope 11 Image pick-up element 12 AGC (auto gain controller)
13 Video signal processing IC
15 First CPU
16 First memory 17 Second memory 18 Light guide 19 Speech synthesis IC
20 connection part 30 video processor 31 2nd CPU
32 Third memory 33 RTC
34 Fourth memory 35 Aperture control circuit 36 Light source 37 Aperture 41 Signal processing circuit 42 CRTC
43 Panel switch group 50 Keyboard 70 TV monitor CT Quality assurance write count c Connection count variable t Storage time variable va Address variable vc1, vc2 First and second counters vnp Video signal system discrimination variable

Claims (14)

使用時間を計測する制御部と、
前記使用時間に関する情報を記録する使用時間記憶用メモリとを備え、
前記制御部は、前記使用時間記憶用メモリの書き込み回数を計測する電子内視鏡または内視鏡装置。
A control unit for measuring usage time;
A memory for use time storage for recording information on the use time,
The control unit is an electronic endoscope or an endoscope apparatus that measures the number of times of writing in the use time storage memory.
前記使用時間に関する情報を除く情報を記録するその他項目記憶用メモリを、前記使用時間記憶用メモリと別に備えることを特徴とする請求項1に記載の電子内視鏡または内視鏡装置。   The electronic endoscope or the endoscope apparatus according to claim 1, further comprising a memory for storing other items for recording information excluding information on the usage time, separately from the usage time storage memory. 前記内視鏡装置は、ビデオプロセッサをさらに備え、
前記制御部は、前記電子内視鏡が前記ビデオプロセッサに装着された接続回数を計測し、前記接続回数の値が変化する度に前記使用時間記憶用メモリに前記接続回数の値を記録し、前記使用時間と前記接続回数に基づいて前記書き込み回数を計測することを特徴とする請求項2に記載の電子内視鏡または内視鏡装置。
The endoscope apparatus further includes a video processor,
The control unit measures the number of times the electronic endoscope is attached to the video processor, and records the value of the number of connections in the usage time storage memory whenever the value of the number of connections changes, The electronic endoscope or the endoscope apparatus according to claim 2, wherein the number of times of writing is measured based on the usage time and the number of times of connection.
前記制御部は、前記書き込み回数が、前記使用時間記憶用メモリの品質保証書き込み回数を超えたか否かを判断することを特徴とする請求項3に記載の電子内視鏡または内視鏡装置。   The electronic endoscope or the endoscope apparatus according to claim 3, wherein the control unit determines whether the number of times of writing exceeds a number of times of quality assurance writing of the use time storage memory. 前記制御部は、前記書き込み回数が前記品質保証書き込み回数を超えたと判断した場合に、使用者に対して警告を行うことを特徴とする請求項4に記載の電子内視鏡または内視鏡装置。   The electronic endoscope or the endoscope apparatus according to claim 4, wherein the control unit issues a warning to a user when it is determined that the number of times of writing exceeds the number of times of quality assurance writing. . 前記内視鏡装置は、電子内視鏡を備え、前記電子内視鏡が前記制御部と、前記使用時間記憶用メモリを有することを特徴とする請求項3に記載の内視鏡装置。   The endoscope apparatus according to claim 3, wherein the endoscope apparatus includes an electronic endoscope, and the electronic endoscope includes the control unit and the use time storage memory. 前記ビデオプロセッサは、前記制御部と、前記使用時間記憶用メモリを有し、前記制御部は、装着される電子内視鏡ごとに分けて前記使用時間及び前記接続回数を前記使用時間記憶用メモリに記録することを特徴とする請求項3に記載の内視鏡装置。   The video processor includes the control unit and the usage time storage memory, and the control unit divides the usage time and the number of connections into the usage time storage memory for each electronic endoscope to be mounted. The endoscope apparatus according to claim 3, wherein recording is performed on the endoscope apparatus. 前記使用時間は、前記電子内視鏡が前記ビデオプロセッサに取り付けられ且つ前記電子内視鏡の電源がオン状態にされた使用状態の累積時間であることを特徴とする請求項3に記載の電子内視鏡または内視鏡装置。   The electronic device according to claim 3, wherein the usage time is an accumulated time of a usage state in which the electronic endoscope is attached to the video processor and a power source of the electronic endoscope is turned on. Endoscope or endoscopic device. 前記使用時間記憶用メモリと、前記その他項目記憶用メモリとは、物理的に別のメモリであることを特徴とする請求項2に記載の電子内視鏡または内視鏡装置。   3. The electronic endoscope or the endoscope apparatus according to claim 2, wherein the usage time storage memory and the other item storage memory are physically different memories. 撮像により得られた画像信号について信号処理を行い、且つ垂直同期信号を出力する映像信号処理部をさらに備え、
前記制御部は、前記垂直同期信号の出力回数に基づいて前記使用時間を計測することを特徴とする請求項1に記載の電子内視鏡または内視鏡装置。
A video signal processing unit that performs signal processing on an image signal obtained by imaging and outputs a vertical synchronization signal;
The electronic endoscope or the endoscope apparatus according to claim 1, wherein the control unit measures the usage time based on the number of times the vertical synchronization signal is output.
前記制御部は、前記垂直同期信号の出力回数に対応する第1、第2カウンタを一時記憶し、前記垂直同期信号が出力されるたびに前記第1カウンタの値を第1の一定値だけ加算し、前記第1カウンタの値が第1パラメータ以上になる度に前記第1カウンタの値を第1初期値にし、前記第2カウンタの値を第2の一定値だけ加算し、前記第2カウンタの値が第2パラメータ以上になる度に前記第2カウンタの値を第2初期値にし前記使用時間を第3の一定値だけ加算して、前記使用時間を計測することを特徴とする請求項10に記載の電子内視鏡または内視鏡装置。   The control unit temporarily stores first and second counters corresponding to the number of times the vertical synchronization signal is output, and adds the value of the first counter by a first constant value each time the vertical synchronization signal is output. Each time the value of the first counter becomes equal to or greater than the first parameter, the value of the first counter is set to a first initial value, the value of the second counter is added by a second constant value, and the second counter The time of use is measured by setting the value of the second counter to a second initial value and adding the use time by a third constant value each time the value of becomes a second parameter or more. The electronic endoscope or the endoscope apparatus according to 10. 前記第1パラメータの値は、前記垂直同期信号が出力される間隔に相当する垂直同期周波数に対応して設定されることを特徴とする請求項11に記載の電子内視鏡または内視鏡装置。   12. The electronic endoscope or endoscope apparatus according to claim 11, wherein the value of the first parameter is set corresponding to a vertical synchronization frequency corresponding to an interval at which the vertical synchronization signal is output. . 前記第1〜第3の一定値は、いずれも1で、前記第1、第2初期値は0であることを特徴とする請求項11に記載の電子内視鏡または内視鏡装置。   12. The electronic endoscope or endoscope apparatus according to claim 11, wherein the first to third constant values are all 1, and the first and second initial values are 0. 前記使用時間記憶用メモリは、不揮発性メモリであることを特徴とする請求項1に記載の電子内視鏡または内視鏡装置。   The electronic endoscope or the endoscope apparatus according to claim 1, wherein the usage time storage memory is a nonvolatile memory.
JP2005295029A 2004-11-19 2005-10-07 Electronic endoscope and endoscope apparatus Withdrawn JP2006167437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005295029A JP2006167437A (en) 2004-11-19 2005-10-07 Electronic endoscope and endoscope apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004335720 2004-11-19
JP2005295029A JP2006167437A (en) 2004-11-19 2005-10-07 Electronic endoscope and endoscope apparatus

Publications (1)

Publication Number Publication Date
JP2006167437A true JP2006167437A (en) 2006-06-29

Family

ID=36668768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005295029A Withdrawn JP2006167437A (en) 2004-11-19 2005-10-07 Electronic endoscope and endoscope apparatus

Country Status (1)

Country Link
JP (1) JP2006167437A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63183700A (en) * 1987-01-26 1988-07-29 Mitsubishi Electric Corp Eeprom access method
JPH06339458A (en) * 1993-06-01 1994-12-13 Olympus Optical Co Ltd Endoscope device
JPH07171089A (en) * 1993-10-27 1995-07-11 Asahi Optical Co Ltd Endoscope device
JPH07284037A (en) * 1994-04-11 1995-10-27 Fujitsu General Ltd Utilization time display device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63183700A (en) * 1987-01-26 1988-07-29 Mitsubishi Electric Corp Eeprom access method
JPH06339458A (en) * 1993-06-01 1994-12-13 Olympus Optical Co Ltd Endoscope device
JPH07171089A (en) * 1993-10-27 1995-07-11 Asahi Optical Co Ltd Endoscope device
JPH07284037A (en) * 1994-04-11 1995-10-27 Fujitsu General Ltd Utilization time display device

Similar Documents

Publication Publication Date Title
KR100972242B1 (en) Image processing device, endoscope device, and color balance adjusting method
KR101059758B1 (en) Automatic endoscope recognition and display settings and selection of image processing
JP4868211B2 (en) Endoscope device
US9936864B2 (en) Image pickup apparatus and electronic endoscope system
KR100751160B1 (en) Medical image recording system
JPWO2020152758A1 (en) Image processing device, diagnostic support method and image processing program
US20090207242A1 (en) Signal processing system
US11363939B2 (en) Endoscope system, operation method of endoscope system and recording medium
JPH1132983A (en) Endoscope image pickup device
JP2010000185A (en) Electronic endoscope system
JP2006167437A (en) Electronic endoscope and endoscope apparatus
JP5030394B2 (en) Endoscopic image display device and control method thereof
WO2020070818A1 (en) Endoscope device and observation time measurement method
JP4694051B2 (en) Electronic endoscope
JP6177478B1 (en) First signal processing apparatus and endoscope system
JP2006141670A (en) Electronic endoscope and endoscope apparatus
JP5022624B2 (en) Electronic endoscope
JP4801463B2 (en) Endoscope device
JP4575754B2 (en) Electronic endoscope and endoscope apparatus
JP2010214199A (en) Electronic endoscope and endoscopic apparatus
JP2011244884A (en) Endoscopic system
US9861267B2 (en) Video processor for endoscope, and endoscope system including the same
JP4827414B2 (en) Electronic endoscope system and filing system
JP2006141677A (en) Electronic endoscope apparatus
JPH119547A (en) Endoscope system

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20080501

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080718

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110726

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20111014