JP4555056B2 - Electronic endoscope device - Google Patents

Electronic endoscope device Download PDF

Info

Publication number
JP4555056B2
JP4555056B2 JP2004331558A JP2004331558A JP4555056B2 JP 4555056 B2 JP4555056 B2 JP 4555056B2 JP 2004331558 A JP2004331558 A JP 2004331558A JP 2004331558 A JP2004331558 A JP 2004331558A JP 4555056 B2 JP4555056 B2 JP 4555056B2
Authority
JP
Japan
Prior art keywords
light amount
charge accumulation
light quantity
accumulation time
light
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.)
Active
Application number
JP2004331558A
Other languages
Japanese (ja)
Other versions
JP2006141429A (en
Inventor
正 高橋
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.)
Hoya Corp
Original Assignee
Hoya 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 Hoya Corp filed Critical Hoya Corp
Priority to JP2004331558A priority Critical patent/JP4555056B2/en
Publication of JP2006141429A publication Critical patent/JP2006141429A/en
Application granted granted Critical
Publication of JP4555056B2 publication Critical patent/JP4555056B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Description

本発明は、撮像素子を有するビデオスコープを備えた電子内視鏡装置に関し、特に、被写体像の明るさ調整処理に関する。   The present invention relates to an electronic endoscope apparatus including a video scope having an image sensor, and more particularly, to a brightness adjustment process for a subject image.

電子内視鏡装置では、モニタ等に表示される被写体像を適正な明るさで維持するため、絞りの開閉制御によって被写体への照明光の光量を調整し、あるいは電子シャッタ機能を利用して被写体像の明るさ調整を行う。電子シャッタ機能を利用する場合、照明光の光量調整用に絞りが設けられる構成が知られている。例えば、光源ランプの経時変化によって光量不足になる場合、絞りを駆動させて光量を増加させる(特許文献1参照)。一方、スコープ先端部の発熱を防ぐため、所定時間継続して絞りが所定値以上開いている場合、減光処理を行う(特許文献2参照)。
特許第3343278号公報 特開2002−282207号公報
In an electronic endoscope device, in order to maintain a subject image displayed on a monitor or the like with an appropriate brightness, the amount of illumination light to the subject is adjusted by opening / closing control of the aperture, or the subject is made using an electronic shutter function. Adjust the image brightness. When using the electronic shutter function, a configuration is known in which a diaphragm is provided for adjusting the amount of illumination light. For example, when the light amount becomes insufficient due to the change of the light source lamp over time, the diaphragm is driven to increase the light amount (see Patent Document 1). On the other hand, in order to prevent heat generation at the distal end of the scope, a dimming process is performed when the diaphragm is continuously opened for a predetermined time or more (see Patent Document 2).
Japanese Patent No. 3343278 JP 2002-282207 A

スコープ先端部の発熱は、先端部に設けられた回路への影響、また、人体内部にスコープ先端部が送り込まれている特殊性を考慮すれば、できるだけ回避しなければならない。そのため、光源ランプの照明光によって最大限得られる照明光量をそのまま使用することは実際なく、所定光量以下になるように絞り、遮蔽板等が光路中に配置され、照明光量はあらかじめ抑制されている。その結果、胃内部等の内部空間の広い部位を観察、撮影する場合、照明光量が不足し、観察がし難く、撮影写真にブレが生じる。特許文献1では、ランプの寿命期間に渡る経時変化には対応できるが、スコープ先端部の位置による時間的に急激な光量変動(光量の過不足)に対しては迅速に対応できない。   Heat generation at the distal end of the scope should be avoided as much as possible in consideration of the influence on the circuit provided at the distal end and the particularity of the scope distal end being fed into the human body. Therefore, it is not practical to use the illumination light amount that can be obtained as much as possible by the illumination light of the light source lamp, and the diaphragm, the shielding plate, etc. are arranged in the optical path so as to be less than the predetermined light amount, and the illumination light amount is suppressed in advance. . As a result, when observing and photographing a wide part of the internal space such as the stomach, the amount of illumination is insufficient, making observation difficult, and blurring occurs in the photograph. In Patent Document 1, it is possible to cope with a change with time over the lifetime of the lamp, but it is not possible to quickly cope with a temporal change in light quantity (excessive or insufficient light quantity) due to the position of the scope tip.

本発明の電子内視鏡装置は、撮像素子を有するビデオスコープを備えた電子内視鏡装置であって、プロセッサあるいは光源装置などにビデオスコープが接続される。電子内視鏡装置は、被写体を照明する光源と、撮像素子から読み出される被写体像に応じた画像信号に基づき、輝度値を算出する輝度算出手段とを備える。例えば輝度算出手段は、テレビジョン規格などに従い、撮像素子から所定時間間隔で読み出される画像信号に基いて、輝度値を順次算出すればよい。輝度値としては、被写体像の代表的明るさを表す値であればよく、例えば輝度平均値が算出される。電子内視鏡装置は電子シャッタ機能による明るさ調整が可能であり、算出される輝度値に従って撮像素子における電荷蓄積時間を調整することにより、表示装置などに表示される被写体像の明るさを所定時間間隔で調整する明るさ調整手段を備える。照明光量が不足すると電荷蓄積時間が長くなり、照明光量が必要以上に多くなると電荷蓄積時間が短くなる。輝度値はテレビジョン規格に応じた時間間隔(例えば1/60秒)で明るさ調整をすればよい。   The electronic endoscope apparatus according to the present invention is an electronic endoscope apparatus including a video scope having an image sensor, and the video scope is connected to a processor or a light source device. The electronic endoscope apparatus includes a light source that illuminates a subject, and a luminance calculation unit that calculates a luminance value based on an image signal corresponding to the subject image read from the image sensor. For example, the luminance calculation means may sequentially calculate the luminance value based on image signals read out from the image sensor at predetermined time intervals in accordance with the television standard or the like. The luminance value may be a value representing the representative brightness of the subject image, and for example, an average luminance value is calculated. The electronic endoscope apparatus can adjust the brightness by the electronic shutter function. The brightness of the subject image displayed on the display device or the like is set to a predetermined value by adjusting the charge accumulation time in the image sensor according to the calculated luminance value. Brightness adjusting means for adjusting at time intervals is provided. If the amount of illumination light is insufficient, the charge accumulation time becomes longer, and if the amount of illumination light increases more than necessary, the charge accumulation time becomes shorter. The brightness value may be adjusted at a time interval (for example, 1/60 second) according to the television standard.

本発明の電子内視鏡装置は、明るさ調整手段とは異なる光量制御手段を備えており、光量制御手段は、光量増大の必要性のある照明状態に基いた上限設定値を電荷蓄積時間が第1許容時間以上に渡って超えている(上回っている)場合、照明光量を増大させる。一方、光量減少の必要性のある照明状態に基いた下限設定値を電荷蓄積時間が第2許容時間以上に渡って超えている(下回っている)場合、すなわち下限設定値より小さい場合、光量制御手段は照明光量を減少させる。   The electronic endoscope apparatus of the present invention includes a light amount control unit different from the brightness adjustment unit, and the light amount control unit sets the upper limit set value based on the illumination state in which the light amount needs to be increased. If it exceeds (exceeds) over the first allowable time, the illumination light quantity is increased. On the other hand, if the charge accumulation time exceeds (below) the second allowable time or more than the lower limit set value based on the lighting state where the light quantity needs to be reduced, that is, if the charge accumulation time is smaller than the lower limit set value, the light quantity control is performed. Means reduce the amount of illumination light.

上限設定値は、光量増大の必要性のある照明状態に基いた値であり、例えば光量増大の必要性のない電荷蓄積時間範囲の値の大きい上限側(光量の足りない側)境界値に近い値が設定される。例えば上限設定値としては、静止画撮影にブレなど影響を与える値(例えば1/125sec =8.0msec)に設定すればよい。第1の許容時間は例えば1秒あるいは数秒に設定される。一方、下限設定値は、光量減少の必要性のある照明状態に基いた値であり、例えば光量減少の必要性のない電荷蓄積時間範囲の値の小さい下限側(光量の足りている側)境界値に近い値が設定される。例えば下限設定値としては、スコープ先端部の熱を防ぐことを考慮した値(例えば1/4000sec =0.25msec)に設定すればよい。第2の許容時間も1秒あるいは数秒に設定すればよい。 The upper limit set value is a value based on an illumination state in which the amount of light needs to be increased. For example, the upper limit value is close to the upper limit side (side where the amount of light is insufficient) having a large value in the charge accumulation time range in which the amount of light is not increased. Value is set. For example, the upper limit setting value may be set to a value that affects blurring of still image shooting (for example, 1/125 sec = 8.0 msec). The first allowable time is set to 1 second or several seconds, for example. On the other hand, the lower limit set value is a value based on an illumination state in which the light amount needs to be reduced. For example, the lower limit side (the side on which the light amount is sufficient) where the value of the charge accumulation time range in which the light amount does not need to be reduced is small. A value close to the value is set. For example, the lower limit set value may be set to a value (for example, 1/4000 sec = 0.25 msec) in consideration of preventing heat at the scope tip. The second allowable time may also be set to 1 second or several seconds.

光量が足りない状態が一定期間続くと、電荷蓄積時間が上限設定値を超えている(上回っている)状態が許容時間を超えて続いていることが検出され、光量を増大させる。その結果、光源の照明光量が最大限活用されながら観察部位が照射される。電荷蓄積時間の長い状態が続くことがないため、適時撮影してもブレが生じない。また、電荷蓄積時間が下限設定値を超えている(下回っている)状態が許容時間を超えて続いていることが検出され、光量が減少される。その結果、観察部位の熱傷、及びこれに較べたら些細な問題であるがスコープ先端部の発熱が抑制される。   If the state where the amount of light is insufficient continues for a certain period, it is detected that the state where the charge accumulation time exceeds the upper limit set value (exceeds) exceeds the allowable time, and the amount of light is increased. As a result, the observation site is irradiated while the illumination light quantity of the light source is maximally utilized. Since the state where the charge storage time is long does not continue, no blur occurs even when timely shooting is performed. Further, it is detected that the state where the charge accumulation time exceeds the lower limit set value (below) exceeds the allowable time, and the amount of light is reduced. As a result, the burn at the observation site and the heat generation at the distal end of the scope are suppressed although it is a minor problem compared to this.

電子シャッタ機能による明るさ調整に関しては、明るさ調整手段をビデオスコープ内部だけで構成してもよく、あるいはプロセッサ(光源装置)内に設けてもよい。また、光量制御手段は、絞りなどで構成してプロセッサ(光源装置)内に設けてもよく、LEDなどで構成することによってビデオスコープ内に設けてもよい。例えば光量制御手段は、照明光の光路中に配置される絞りと、絞りを駆動させる絞り駆動手段とを備える。   Regarding the brightness adjustment by the electronic shutter function, the brightness adjustment means may be configured only inside the video scope, or may be provided in the processor (light source device). Further, the light quantity control means may be configured by a diaphragm or the like and provided in a processor (light source device), or may be provided in a video scope by being configured by an LED or the like. For example, the light quantity control means includes a stop arranged in the optical path of the illumination light and a stop drive means for driving the stop.

観察者に光量変化していることを気付かせないようにするため、光量制御手段は、照明光量を増減させる場合、段階的に照明光量を変化させていくことが望ましい。   In order to prevent the observer from noticing that the light amount has changed, it is desirable that the light amount control means change the illumination light amount step by step when increasing or decreasing the illumination light amount.

光量制御手段は、照明光量を増加させた後、電荷蓄積時間が第3許容時間以上に渡って下限境界値を超えている(下回っている)場合、照明光量を増加前に戻すのがよい。また、光量制御手段は、照明光量を減少させた後、電荷蓄積時間が第4許容時間以上に渡って上限境界値を超えている(上回っている)場合、照明光量を減少前に戻すのがよい。下限境界値は上限設定値より小さく、上限境界値は、下限設定値より大きく設定する。   After increasing the illumination light amount, the light amount control means may return the illumination light amount before the increase if the charge accumulation time exceeds the lower limit boundary value for the third allowable time or longer (below). In addition, the light amount control means may return the illumination light amount to the state before the decrease when the charge accumulation time exceeds the upper limit boundary value for the fourth allowable time or longer after the illumination light amount is decreased. Good. The lower limit boundary value is set smaller than the upper limit set value, and the upper limit boundary value is set larger than the lower limit set value.

本発明の内視鏡用明るさ調整装置は、被写体を照明することによりビデオスコープの撮像素子から読み出される被写体像に応じた画像信号に基づき、輝度値を算出する輝度算出手段と、算出される輝度値に従って撮像素子における電荷蓄積時間を調整することにより、被写体像の明るさを所定時間間隔で調整する明るさ調整手段と、光量増大の必要性のある照明状態に基いた上限設定値を電荷蓄積時間が第1許容時間以上に渡って超えている(上回っている)場合、照明光量を増大させる一方、光量減少の必要性のある照明状態に基いた下限設定値を電荷蓄積時間が第2許容時間以上に渡って超えている(下回っている)場合、照明光量を減少させる光量制御手段とを備えたことを特徴とする。   The brightness adjustment apparatus for an endoscope of the present invention is calculated by luminance calculation means for calculating a luminance value based on an image signal corresponding to a subject image read from an image pickup device of a videoscope by illuminating the subject. By adjusting the charge accumulation time in the image sensor according to the brightness value, the brightness adjustment means that adjusts the brightness of the subject image at predetermined time intervals, and the upper limit set value based on the illumination state that needs to increase the amount of light When the accumulation time exceeds (exceeds) the first allowable time or more, the illumination light quantity is increased, while the charge accumulation time is set to the second lower limit set value based on the illumination state where the light quantity needs to be reduced. It is characterized by comprising a light quantity control means for reducing the illumination light quantity when it exceeds (below) the permissible time.

本発明の電子内視鏡装置のプログラムは、被写体を照明することによりビデオスコープの撮像素子から読み出される被写体像に応じた画像信号に基づき、輝度値を算出する輝度算出手段と、算出される輝度値に従って撮像素子における電荷蓄積時間を調整することにより、被写体像の明るさを所定時間間隔で調整する明るさ調整手段と、光量増大の必要性のある照明状態に基いた上限設定値を電荷蓄積時間が第1許容時間以上に渡って超えている(上回っている)場合、照明光量を増大させる一方、光量減少の必要性のある照明状態に基いた下限設定値を電荷蓄積時間が第2許容時間以上に渡って超えている(下回っている)場合、照明光量を減少させる光量制御手段とを機能させることを特徴とする。   A program for an electronic endoscope apparatus according to the present invention includes a luminance calculation unit that calculates a luminance value based on an image signal corresponding to a subject image read from an image pickup device of a videoscope by illuminating the subject, and a calculated luminance By adjusting the charge accumulation time in the image sensor according to the value, the brightness adjustment means for adjusting the brightness of the subject image at predetermined time intervals, and the upper limit set value based on the illumination state that needs to increase the amount of light If the time exceeds (exceeds) the first permissible time or more, the amount of illumination light is increased while the lower limit set value based on the illumination state where the light amount needs to be reduced is the second permissible charge accumulation time. When it exceeds (below) for more than time, the light quantity control means for reducing the illumination light quantity is made to function.

本発明によれば、電子シャッタ機能を利用して明るさ調整する場合においても、照明光量が不足する事態やスコープ先端部の熱による影響が生じず、患部を適切に観察、撮影することができる。   According to the present invention, even when the brightness is adjusted using the electronic shutter function, the affected part can be appropriately observed and photographed without being affected by a situation where the amount of illumination light is insufficient or the influence of the heat at the distal end of the scope. .

以下、図面を参照して本発明の実施形態である電子内視鏡装置について説明する。   Hereinafter, an electronic endoscope apparatus according to an embodiment of the present invention will be described with reference to the drawings.

図1は、本実施形態である電子内視鏡装置のブロック図である。   FIG. 1 is a block diagram of an electronic endoscope apparatus according to this embodiment.

電子内視鏡装置では、CCD54を有するビデオスコープ50と、CCD54から読み出される画像信号を処理するプロセッサ10とが備えられ、被写体像を表示するモニタ32やキーボード34がプロセッサ10に接続される。ビデオスコープ50は、プロセッサ10に着脱自在に接続される。   The electronic endoscope apparatus includes a video scope 50 having a CCD 54 and a processor 10 that processes an image signal read from the CCD 54, and a monitor 32 and a keyboard 34 that display a subject image are connected to the processor 10. The video scope 50 is detachably connected to the processor 10.

ランプ点灯スイッチ(図示せず)が操作されてONになると、ランプ制御部11Aを含むランプ電源11から光源ランプ12へ電源が供給される。光源ランプ12から放射された光は、集光レンズ14を介してビデオスコープ50内に設けられたライトガイド51の入射端51Aに入射する。ライトガイド51は、光源ランプ12から放射される光をビデオスコープ50の先端側へ伝達する光ファイバーバンドルであり、ライトガイド51を通った光は出射端51Bから出射し、拡散レンズである配光レンズ52を介して観察部位Sに光が照射される。   When a lamp lighting switch (not shown) is operated and turned on, power is supplied from the lamp power source 11 including the lamp control unit 11A to the light source lamp 12. The light emitted from the light source lamp 12 enters the incident end 51 </ b> A of the light guide 51 provided in the video scope 50 through the condenser lens 14. The light guide 51 is an optical fiber bundle that transmits light emitted from the light source lamp 12 to the distal end side of the video scope 50. Light that has passed through the light guide 51 is emitted from the emission end 51B, and is a light distribution lens that is a diffusion lens. The observation site S is irradiated with light through 52.

観察部位Sにおいて反射した光は対物レンズ53を通ってCCD54に到達し、これにより観察部位Sの被写体像がCCD54の受光面に形成される。本実施形態では、カラー撮像方式として単板同時式が適用されており、CCDの受光面上にはイエロー(Ye)、シアン(Cy)、マゼンタ(Mg)、グリーン(G)の色要素が市松状に並べられた補色カラーフィルタ(図示せず)が受光面の各画素に対応するよう配置されている。CCD54では、補色カラーフィルタを通る色に応じた被写体像の画像信号が光電変換により発生し、所定時間間隔ごとに1フレームもしくは1フィールド分の画像信号が、色差線順次方式に従って順次読み出される。カラーテレビジョン方式として例えばNTSC方式が適用されており、1/30秒間隔ごとに1フレーム(1/60秒間隔ごとに1フィールド)分の画像信号が順次読み出され、ゲイン調整用のAGC(Auto Gain Control、ここでは図示せず)を介して信号処理回路55へ送られる。   The light reflected at the observation site S passes through the objective lens 53 and reaches the CCD 54, whereby a subject image of the observation site S is formed on the light receiving surface of the CCD 54. In this embodiment, a single plate simultaneous type is applied as a color imaging method, and yellow (Ye), cyan (Cy), magenta (Mg), and green (G) color elements are checked on the light receiving surface of the CCD. Complementary color filters (not shown) arranged in a line are arranged so as to correspond to the respective pixels on the light receiving surface. In the CCD 54, the image signal of the subject image corresponding to the color passing through the complementary color filter is generated by photoelectric conversion, and the image signal for one frame or one field is sequentially read according to the color difference line sequential method at every predetermined time interval. For example, the NTSC system is applied as a color television system, and image signals for one frame (one field every 1/60 second interval) are sequentially read out every 1/30 second interval, and the AGC ( The signal is sent to the signal processing circuit 55 via Auto Gain Control (not shown here).

信号処理回路55では、増幅処理、輝度信号と色信号に分離する分離処理、R,G,B信号を生成するマトリクス演算、ホワイトバランス調整、ガンマ補正、輝度、色差信号生成処理などが実行される。信号処理回路55に入力される画像信号に対しこれら様々な処理が施されることにより映像信号が生成され、プロセッサ10に送られる。一方、入力される画像信号に基いて被写体像の明るさを示す輝度値が算出され、スコープ制御部56へ送られる。また、CCD54を駆動するため、駆動信号を所定のタイミングで出力するCCD駆動回路が設けられている。   In the signal processing circuit 55, amplification processing, separation processing for separating luminance signals and color signals, matrix calculation for generating R, G, B signals, white balance adjustment, gamma correction, luminance, color difference signal generation processing, and the like are executed. . A video signal is generated by performing various processes on the image signal input to the signal processing circuit 55 and sent to the processor 10. On the other hand, a luminance value indicating the brightness of the subject image is calculated based on the input image signal and sent to the scope controller 56. Further, a CCD drive circuit that outputs a drive signal at a predetermined timing is provided to drive the CCD 54.

プロセッサ信号処理回路28では、信号処理回路55から送られてくる映像信号に対して所定の処理が施される。処理された映像信号は、NTSCコンポジット信号、Y/C分離信号(Sビデオ信号)、RGB分離信号などのビデオ信号としてモニタ32へ出力され、これにより被写体像がモニタ32に映し出される。   In the processor signal processing circuit 28, predetermined processing is performed on the video signal transmitted from the signal processing circuit 55. The processed video signal is output to the monitor 32 as a video signal such as an NTSC composite signal, a Y / C separation signal (S video signal), or an RGB separation signal, whereby a subject image is displayed on the monitor 32.

CPU24を含むシステムコントロール回路22はプロセッサ10全体を制御し、ランプ電源11のランプ制御部11A、モータドライバ20、プロセッサ信号処理回路28などの各回路に制御信号を出力する。タイミングコントロール回路30では、信号の処理タイミングを調整するクロックパルスがプロセッサ10内の各回路に出力され、また、ビデオ信号に付随される同期信号がプロセッサ信号処理回路28に送られる。ROM25にはプロセッサの制御に関するプログラムがあらかじめ格納されており、RAM26には、ビデオスコープ50から送られてくるデータが記憶される。   A system control circuit 22 including a CPU 24 controls the entire processor 10 and outputs a control signal to each circuit such as the lamp control unit 11A of the lamp power supply 11, the motor driver 20, and the processor signal processing circuit 28. In the timing control circuit 30, a clock pulse for adjusting a signal processing timing is output to each circuit in the processor 10, and a synchronization signal accompanying the video signal is sent to the processor signal processing circuit 28. The ROM 25 stores a program related to processor control in advance, and the RAM 26 stores data sent from the video scope 50.

ビデオスコープ50内には、ビデオスコープ50全体を制御するスコープ制御部56、データ書き換え可能なEEPROM57が設けられており、スコープ制御に関するプログラムがスコープ制御部56内のROM58に記憶されている。スコープ制御部56はEEPROM57からデータを読み出すとともに、信号処理回路55を制御する。ビデオスコープ50がプロセッサ10に接続されると、スコープ制御部56とシステムコントロール回路22との間で適時データが送受信され、必要に応じてスコープ制御部56からシステムコントロール回路22へ、あるいはシステムコントロール回路22からスコープ制御部56へデータが送信される。   In the video scope 50, a scope control unit 56 that controls the entire video scope 50 and a data rewritable EEPROM 57 are provided, and a program related to the scope control is stored in the ROM 58 in the scope control unit 56. The scope control unit 56 reads data from the EEPROM 57 and controls the signal processing circuit 55. When the video scope 50 is connected to the processor 10, timely data is transmitted and received between the scope control unit 56 and the system control circuit 22, and from the scope control unit 56 to the system control circuit 22 as necessary, or the system control circuit. Data is transmitted from 22 to the scope control unit 56.

ビデオスコープ50では、電子シャッタ機能を利用して被写体像の明るさ調整処理を実行することが可能であり、信号処理回路55において被写体像の明るさを示す輝度値が画像信号に基づいて生成され、スコープ制御部56へ送られる。そして、検出された輝度値と適正な明るさを示す参照値とに基づき電子シャッタ速度を制御するため、スコープ制御部56から信号処理回路55へ制御信号が送られる。この制御信号に基づき、CCD54における電荷蓄積時間を定める駆動信号が信号処理回路55からCCD54へ出力される。   The video scope 50 can execute the brightness adjustment processing of the subject image using the electronic shutter function, and the signal processing circuit 55 generates a luminance value indicating the brightness of the subject image based on the image signal. To the scope control unit 56. A control signal is sent from the scope control unit 56 to the signal processing circuit 55 in order to control the electronic shutter speed based on the detected luminance value and a reference value indicating appropriate brightness. Based on this control signal, a drive signal for determining the charge accumulation time in the CCD 54 is output from the signal processing circuit 55 to the CCD 54.

光源ランプ12とライトガイド51の入射端51Aとの間には、照明光量を3段階で調整する絞り16が設けられている。絞り16はモータ18によって駆動され、モータドライバ20からの駆動信号に基いて絞り16が光路の一部を遮るように軸回転し、絞り16の位置変動によって照明光量が段階的に切り替えられる。ここでは、光量を増加させるときの照明光量をQ1、通常の照明光量をQ2、光量を減少させるときの照明光量をQ3と定める。また、光量Q1は光量Q2の1.5倍、光量Q3は光量Q2の2/3倍になるように、絞り16が位置決めされる。ここで光量とは、ライトガイド51の入射端51Aに入射する光量のことである。   Between the light source lamp 12 and the incident end 51 </ b> A of the light guide 51, a diaphragm 16 that adjusts the amount of illumination light in three stages is provided. The diaphragm 16 is driven by a motor 18 and rotates based on a drive signal from the motor driver 20 so that the diaphragm 16 blocks a part of the optical path. Here, the illumination light amount when increasing the light amount is defined as Q1, the normal illumination light amount is defined as Q2, and the illumination light amount when decreasing the light amount is defined as Q3. The diaphragm 16 is positioned so that the light quantity Q1 is 1.5 times the light quantity Q2 and the light quantity Q3 is 2/3 times the light quantity Q2. Here, the light amount is a light amount incident on the incident end 51 </ b> A of the light guide 51.

図2は、プロセッサ10のシステムコントロール回路22によって実行される全体制御処理を示したフローチャートである。   FIG. 2 is a flowchart showing overall control processing executed by the system control circuit 22 of the processor 10.

ステップS101では絞り位置や変数などが初期設定される。ここで絞り位置は、光量がQ2(通常の照明光量)となる位置に設定される。また光量に対応する光量変数qはq=2と設定される。ステップS102ではビデオスコープ50の接続に関連する処理が実行される。ステップS103ではビデオスコープ50との通信処理が実行され、明るさ調整処理におけるCCD54の電荷蓄積時間に応じたデータがビデオスコープ50から送られてくる。ステップS104ではキーボード34に関連する処理が実行される。そして、ステップS105ではプロセッサ10のフロントパネル上のパネルスイッチに対する処理が実行され、ステップS106ではその他の処理が実行される。プロセッサ10の電源がON状態である間、ステップS102〜S106が繰り返し実行される。   In step S101, the aperture position and variables are initialized. Here, the aperture position is set to a position where the light quantity becomes Q2 (normal illumination light quantity). The light quantity variable q corresponding to the light quantity is set to q = 2. In step S102, processing related to the connection of the video scope 50 is executed. In step S 103, communication processing with the video scope 50 is executed, and data corresponding to the charge accumulation time of the CCD 54 in the brightness adjustment processing is sent from the video scope 50. In step S104, processing related to the keyboard 34 is executed. In step S105, processing for the panel switch on the front panel of the processor 10 is executed, and in step S106, other processing is executed. While the power of the processor 10 is ON, steps S102 to S106 are repeatedly executed.

図3、図4は、プロセッサ10のシステムコントロール回路22において実行される光量制御処理を示したフローチャートである。図5は、絞りの位置および光量変数の値を示した図である。図6は、電荷蓄積時間の上限設定値ET1、下限境界値ET2、上限境界値ET3、下限設定値ET4と照明光量Q1〜Q4との対応関係を示した図である。NTSC方式に従い、明るさ調整処理は1/60秒間隔で図2の全体処理に割り込んで実行される。   3 and 4 are flowcharts showing the light amount control processing executed in the system control circuit 22 of the processor 10. FIG. 5 is a diagram showing the position of the diaphragm and the value of the light quantity variable. FIG. 6 is a diagram illustrating a correspondence relationship between the upper limit set value ET1, the lower limit boundary value ET2, the upper limit boundary value ET3, the lower limit set value ET4, and the illumination light amounts Q1 to Q4 of the charge accumulation time. In accordance with the NTSC system, the brightness adjustment process is executed by interrupting the entire process of FIG. 2 at 1/60 second intervals.

なお、ビデオスコープ50のスコープ制御部56では、信号処理回路55から被写体像の明るさを示す輝度値が入力される。そして、輝度値と適正な被写体像の明るさを示す参照値とが比較され、露光時間、すなわち電荷蓄積時間etが設定される。被写体像の輝度値は、平均輝度値として算出され、被写体像の明るさを256段階の輝度レベルで表すように、輝度値は0〜255のいずれかの整数値に定められる。また、ここでは電荷蓄積時間etは0〜17msec(=1/60sec)の範囲に定められている。輝度値が参照値より大きい場合、電荷蓄積時間を短くするため、電荷蓄積時間etが所定の変動時間Δt(>0)だけ減じられる。一方、輝度値が参照値より小さい場合、電荷蓄積時間を長くするため、電荷蓄積時間etに所定の変動時間Δtが加算される。そして、設定された電荷蓄積時間etが信号処理回路55へ送信され、送信された電荷蓄積時間etに基いてCCD54が駆動される。さらに、電荷蓄積時間etのデータがプロセッサ10のシステムコントロール回路22へ送信される。   Note that the scope control unit 56 of the video scope 50 receives a luminance value indicating the brightness of the subject image from the signal processing circuit 55. Then, the brightness value is compared with a reference value indicating the appropriate brightness of the subject image, and an exposure time, that is, a charge accumulation time et is set. The luminance value of the subject image is calculated as an average luminance value, and the luminance value is set to an integer value of 0 to 255 so that the brightness of the subject image is represented by 256 levels of luminance levels. Here, the charge accumulation time et is set in a range of 0 to 17 msec (= 1/60 sec). When the luminance value is larger than the reference value, the charge accumulation time et is reduced by a predetermined fluctuation time Δt (> 0) in order to shorten the charge accumulation time. On the other hand, when the luminance value is smaller than the reference value, a predetermined fluctuation time Δt is added to the charge accumulation time et in order to lengthen the charge accumulation time. The set charge accumulation time et is transmitted to the signal processing circuit 55, and the CCD 54 is driven based on the transmitted charge accumulation time et. Further, the charge accumulation time et data is transmitted to the system control circuit 22 of the processor 10.

ステップS201では、光量変数qの値が1であるか否かが判断される。光量変数qはライトガイド51の入射端51Aに入射する光量、すなわち照明光量に対応する変数であり、光量Q1の時にはq=1、光量Q2の時にはq=2、光量Q3の時にはq=3に定められる。照明光量は光量変数qの値により判別され、ここでは照明光量を通常の照明光量より増加させた状態であるか否かが判断される。   In step S201, it is determined whether or not the value of the light quantity variable q is 1. The light quantity variable q is a variable corresponding to the light quantity incident on the incident end 51A of the light guide 51, that is, the illumination light quantity, q = 1 when the light quantity is Q1, q = 2 when the light quantity is Q2, and q = 3 when the light quantity is Q3. Determined. The amount of illumination light is discriminated based on the value of the light amount variable q. Here, it is determined whether or not the amount of illumination light is larger than the normal amount of illumination light.

ステップS201において光量変数qが1であると判断されると、ステップS202へ進む。ステップS202では、電荷蓄積時間etが下限境界値ET2より大きいか否かが判断される。下限境界値ET2は、光量Q1の状態(光量が増大している状態)から通常の光量Q2の状態へ戻す必要のある境界値であり、ここでは4.0msec(1/250sec)に定められている。なお、電荷蓄積時間の大きい値を上限側、小さい値を下限側と定める(図6参照)。   If it is determined in step S201 that the light quantity variable q is 1, the process proceeds to step S202. In step S202, it is determined whether or not the charge accumulation time et is longer than the lower limit boundary value ET2. The lower limit boundary value ET2 is a boundary value that needs to be returned from the state of the light quantity Q1 (the state in which the light quantity is increased) to the normal light quantity Q2, and is set to 4.0 msec (1/250 sec) here. Yes. A large value for the charge accumulation time is defined as the upper limit side, and a small value is defined as the lower limit side (see FIG. 6).

ステップS202において、電荷蓄積時間etが下限境界値ET2より小さいと判断されると、ステップS203へ進み、第2カウント変数c2に1がインクリメントされる。第2カウント変数c2は電荷蓄積時間etが下限境界値ET2を超えている(下回っている)時間をカウントするための変数である。そして、ステップS204では、第2カウント変数c2が第2カウント定数CN2より大きいか否かが判断される。第2カウント定数CN2の値は60に定められており、ここでは下限境界値ET2を超えている(下回っている)時間が1秒以上であるか否かが判断される。一方、ステップS202において、電荷蓄積時間etが下限境界値ET2より小さくないと判断されると、ステップS206へ進み、第2カウント変数c2が0に設定される。   If it is determined in step S202 that the charge accumulation time et is smaller than the lower limit boundary value ET2, the process proceeds to step S203, and 1 is incremented to the second count variable c2. The second count variable c2 is a variable for counting the time when the charge accumulation time et exceeds (below) the lower limit boundary value ET2. In step S204, it is determined whether or not the second count variable c2 is larger than the second count constant CN2. The value of the second count constant CN2 is set to 60. Here, it is determined whether or not the time that exceeds (below) the lower limit boundary value ET2 is 1 second or more. On the other hand, if it is determined in step S202 that the charge accumulation time et is not shorter than the lower limit boundary value ET2, the process proceeds to step S206, and the second count variable c2 is set to zero.

ステップS204において、第2カウント変数c2が第2カウント定数CN2より大きいと判断されると、ステップS205へ進む。ステップS205では、第2カウント変数c2が0に設定され、光量変数qの値が2に設定される。また、段階的光量変数qtの値が11に設定される。段階的光量変数qtは、光量Q1〜Q2の間を移行するとき、および光量Q2〜Q3の間を移行するときの絞り16の位置および照明光量を示す値である(図6参照)。ステップS205が実行されると、ステップ225へ移る。一方、ステップS204において、第2カウント変数c2が第2カウント定数CN2より大きくないと判断されると、そのままステップS225へ移る。   If it is determined in step S204 that the second count variable c2 is greater than the second count constant CN2, the process proceeds to step S205. In step S205, the second count variable c2 is set to 0, and the value of the light quantity variable q is set to 2. Further, the value of the stepwise light quantity variable qt is set to 11. The stepwise light quantity variable qt is a value indicating the position of the diaphragm 16 and the illumination light quantity when shifting between the light quantities Q1 and Q2 and between the light quantities Q2 and Q3 (see FIG. 6). When step S205 is executed, the process proceeds to step 225. On the other hand, if it is determined in step S204 that the second count variable c2 is not greater than the second count constant CN2, the process proceeds to step S225 as it is.

ステップS201において光量変数qの値が1ではない、すなわち照明光量が増加された状態(光量Q1)ではないと判断されると、ステップS207へ進む。ステップS207では、光量変数qの値が2あるか否か、すなわち通常の照明光量であるか否かが判断される。   If it is determined in step S201 that the value of the light quantity variable q is not 1, that is, the illumination light quantity is not increased (light quantity Q1), the process proceeds to step S207. In step S207, it is determined whether or not the value of the light quantity variable q is 2, that is, whether or not it is a normal illumination light quantity.

ステップS207において、光量変数qの値が2であると判断された場合、ステップS208へ進む。ステップS208では、電荷蓄積時間etが上限設定値ET1より大きいか否かが判断される。すなわち、照明光量の増加の必要性があるか否かが判断される。上限設定値ET1は、光量Q2の状態で光量増加の必要性のない範囲の上限側の境界値であり、ここでは8.0msec(1/125sec)に定められている。   When it is determined in step S207 that the value of the light quantity variable q is 2, the process proceeds to step S208. In step S208, it is determined whether the charge accumulation time et is longer than the upper limit set value ET1. That is, it is determined whether there is a need to increase the amount of illumination light. The upper limit set value ET1 is a boundary value on the upper limit side of the range where there is no need to increase the light amount in the state of the light amount Q2, and is set to 8.0 msec (1/125 sec) here.

ステップS208において、電荷蓄積時間etが上限設定値ET1より大きいと判断されると、ステップS209へ進み、第1カウント変数c1に1がインクリメントされる。第1カウント変数c1は電荷蓄積時間etが上限設定値ET1を超えている時間をカウントするための変数である。そして、ステップS210では、第1カウント変数c1が第1カウント定数CN1より大きいか否かが判断される。第1カウント定数CN1の値は60に定められており、ここでは上限設定値ET1を超えている時間が1秒以上であるか否かが判断される。   If it is determined in step S208 that the charge accumulation time et is longer than the upper limit set value ET1, the process proceeds to step S209, and 1 is incremented to the first count variable c1. The first count variable c1 is a variable for counting the time during which the charge accumulation time et exceeds the upper limit set value ET1. In step S210, it is determined whether or not the first count variable c1 is larger than the first count constant CN1. The value of the first count constant CN1 is set to 60. Here, it is determined whether or not the time exceeding the upper limit set value ET1 is 1 second or more.

ステップS210において、第1カウント変数c1が第1カウント定数CN1より大きくないと判断されると、ステップS225へ移る。一方、ステップS210において、第1カウント変数c1が第1カウント定数CN1より大きいと判断されると、ステップS211へ進む。ステップS211では、第1カウント変数c1が0に設定され、光量変数qの値が1に設定される。また、段階的光量変数qtの値が1に設定される。   If it is determined in step S210 that the first count variable c1 is not greater than the first count constant CN1, the process proceeds to step S225. On the other hand, if it is determined in step S210 that the first count variable c1 is greater than the first count constant CN1, the process proceeds to step S211. In step S211, the first count variable c1 is set to 0, and the value of the light quantity variable q is set to 1. Also, the value of the stepwise light quantity variable qt is set to 1.

一方、ステップS208において、電荷蓄積時間etが上限設定値ET1より大きくないと判断されると、ステップS212へ進み、第1カウント変数c1が0に設定される。そしてステップS213では、電荷蓄積時間etが下限設定値ET4より小さいか否かが判断される。下限設定値ET4は、光量Q2の状態で光量減少の必要性のない範囲の下限側の境界値であり、ここでは0.25msec(1/4000sec)に定められている。 On the other hand, if it is determined in step S208 that the charge accumulation time et is not longer than the upper limit set value ET1, the process proceeds to step S212, and the first count variable c1 is set to zero. In step S213, it is determined whether the charge accumulation time et is smaller than the lower limit set value ET4. The lower limit set value ET4 is a lower limit side boundary value in a range where there is no need to reduce the light amount in the state of the light amount Q2, and is set to 0.25 msec ( 1/4000 sec) here.

ステップS213において、電荷蓄積時間etが下限設定値ET4より小さいと判断されると、ステップS214へ進み、第4カウント変数c4に1がインクリメントされる。第4カウント変数c4は電荷蓄積時間etが下限設定値ET4を超えている(下回っている)時間をカウントするための変数である。そして、ステップS215では、第4カウント変数c4が第4カウント定数CN4より大きいか否かが判断される。第4カウント定数CN4の値は60に定められており、ここでは下限設定値ET4を超えている(下回っている)時間が1秒以上であるか否かが判断される。一方、ステップS213において、電荷蓄積時間etが下限設定値ET4より小さくない、すなわち、光量Q2の状態で適切な照明光量が供給されていると判断された場合、ステップS217へ進み、第4カウント変数c4が0に設定され、ステップS225へ移る。   If it is determined in step S213 that the charge accumulation time et is smaller than the lower limit set value ET4, the process proceeds to step S214, and 1 is incremented to the fourth count variable c4. The fourth count variable c4 is a variable for counting the time when the charge accumulation time et exceeds (below) the lower limit set value ET4. In step S215, it is determined whether the fourth count variable c4 is greater than the fourth count constant CN4. The value of the fourth count constant CN4 is set to 60, and it is determined here whether or not the time that exceeds (below) the lower limit set value ET4 is 1 second or more. On the other hand, if it is determined in step S213 that the charge accumulation time et is not smaller than the lower limit set value ET4, that is, an appropriate illumination light quantity is supplied in the state of the light quantity Q2, the process proceeds to step S217, and the fourth count variable c4 is set to 0, and the routine goes to Step S225.

ステップS215において、第4カウント変数c4が第4カウント定数CN4より大きくないと判断されると、ステップS225へ移る。一方、ステップS215において、第4カウント変数c4が第4カウント定数CN4より大きいと判断されると、ステップS216へ進む。ステップS216では、第4カウント変数c4が0に設定され、光量変数qの値が3に設定される。また、段階的光量変数qtの値が21に設定される。ステップS216が実行されると、ステップS225へ進む。   If it is determined in step S215 that the fourth count variable c4 is not greater than the fourth count constant CN4, the process proceeds to step S225. On the other hand, if it is determined in step S215 that the fourth count variable c4 is greater than the fourth count constant CN4, the process proceeds to step S216. In step S216, the fourth count variable c4 is set to 0, and the value of the light quantity variable q is set to 3. Also, the value of the stepwise light quantity variable qt is set to 21. When step S216 is executed, the process proceeds to step S225.

一方、ステップS207において光量変数q2の値が2ではないと判断されると、ステップS218へ進む。ステップS218では、光量変数qの値が3である、すなわち照明光量を減少させた状態(光量Q3)であるか否かが判断される。   On the other hand, if it is determined in step S207 that the value of the light quantity variable q2 is not 2, the process proceeds to step S218. In step S218, it is determined whether or not the value of the light quantity variable q is 3, that is, the illumination light quantity is reduced (light quantity Q3).

ステップS218において、光量変数光量変数qの値が3であると判断された場合、ステップS219へ進み、電荷蓄積時間etが上限境界値ET3より大きいか否かが判断される。上限境界値ET3は、光量Q3の状態(光量が減少している状態)から通常の光量Q2の状態へ戻す必要性のない光量範囲の境界値であり、ここでは0.5msec(1/2000sec)に定められている。 If it is determined in step S218 that the value of the light amount variable light amount variable q is 3, the process proceeds to step S219, and it is determined whether or not the charge accumulation time et is greater than the upper limit boundary value ET3. The upper limit boundary value ET3 is a boundary value in the light amount range that does not need to be returned from the state of the light amount Q3 (the state in which the light amount is decreased) to the normal light amount Q2, and here, 0.5 msec ( 1/2000 sec).

ステップS219において電荷蓄積時間etが上限境界値ET3より大きいと判断された場合、ステップS220へ進み、第3カウント変数c3に1がインクリメントされる。第3カウント変数c3は電荷蓄積時間etが上限境界値ET3を超えている(上回っている)時間をカウントするための変数である。そして、ステップS221では、第3カウント変数c3が第3カウント定数CN3より大きいか否かが判断される。第3カウント定数CN3の値は60に定められており、ここでは上限境界値ET3を超えている(上回っている)時間が1秒以上であるか否かが判断される。一方、ステップS219において電荷蓄積時間etが上限境界値ET3より大きくない、すなわち照明光量が光量Q3の状態で適正であると判断されると、ステップS223へ進み、第3カウント変数c3が0に設定され、ステップS225へ移る。   If it is determined in step S219 that the charge accumulation time et is longer than the upper limit boundary value ET3, the process proceeds to step S220, and 1 is incremented to the third count variable c3. The third count variable c3 is a variable for counting the time during which the charge accumulation time et exceeds (exceeds) the upper limit boundary value ET3. In step S221, it is determined whether the third count variable c3 is larger than the third count constant CN3. The value of the third count constant CN3 is set to 60. Here, it is determined whether or not the time that exceeds (exceeds) the upper limit boundary value ET3 is 1 second or more. On the other hand, when it is determined in step S219 that the charge accumulation time et is not longer than the upper limit boundary value ET3, that is, the illumination light quantity is appropriate in the state of the light quantity Q3, the process proceeds to step S223, and the third count variable c3 is set to 0. Then, the process proceeds to step S225.

ステップS221において、第3カウント変数c3が第3カウント定数CN3より大きくないと判断されると、ステップS225へ移る。一方、ステップS221において、第3カウント変数c3が第3カウント定数CN3より大きいと判断されると、ステップS222へ進む。ステップS222では、第3カウント変数c3が0に設定され、光量変数qの値が2に設定される。また、段階的光量変数qtの値が31に設定される。ステップS222が実行されると、ステップS225へ進む。   If it is determined in step S221 that the third count variable c3 is not greater than the third count constant CN3, the process proceeds to step S225. On the other hand, if it is determined in step S221 that the third count variable c3 is greater than the third count constant CN3, the process proceeds to step S222. In step S222, the third count variable c3 is set to 0, and the value of the light quantity variable q is set to 2. Further, the value of the stepwise light quantity variable qt is set to 31. When step S222 is executed, the process proceeds to step S225.

一方、ステップS218において、光量変数qの値が3ではないと判断されると、ステップS224へ進む。これは光量変数qの値が定義域外の値となり、おかしくなっていることを示す。ステップS224はその万一の場合の処理である。ステップS224では、光量変数qの値が2に設定され、段階的光量変数qtの値が17に設定される。ステップS224が実行されると、ステップS225へ移る。   On the other hand, if it is determined in step S218 that the value of the light quantity variable q is not 3, the process proceeds to step S224. This indicates that the value of the light quantity variable q is out of the definition range and is strange. Step S224 is processing in the case of emergency. In step S224, the value of the light quantity variable q is set to 2, and the value of the stepwise light quantity variable qt is set to 17. When step S224 is executed, the process proceeds to step S225.

図4のステップS225では、段階的光量変数qtの値が0以外の値か否かが判断される。段階的光量変数qtの値が0であると判断されると、割り込みルーチンは終了する。一方、段階的光量変数qtの値が0以外の値であると判断された場合、ステップS226へ進み、段階的光量変数qtの値に1がインクリメントされる。   In step S225 of FIG. 4, it is determined whether or not the value of the stepwise light quantity variable qt is a value other than zero. When it is determined that the value of the stepwise light quantity variable qt is 0, the interrupt routine ends. On the other hand, if it is determined that the value of the stepwise light quantity variable qt is a value other than 0, the process proceeds to step S226, and 1 is incremented to the value of the stepwise light quantity variable qt.

ステップS227では、段階的光量変数qtの値が偶数であるか否かが判断される。光量Q2から光量Q1、光量Q1から光量Q2、あるいは光量Q2から光量Q3、光量Q3から光量Q2へ切り替えられる場合、2フィールド間隔(=1/30sec)で段階的に光量を変えるため、段階的光量変数qtの値が偶数のときのみ絞り16へ駆動信号を出力する。   In step S227, it is determined whether or not the value of the stepwise light quantity variable qt is an even number. When switching from the light quantity Q2 to the light quantity Q1, from the light quantity Q1 to the light quantity Q2, or from the light quantity Q2 to the light quantity Q3, and from the light quantity Q3 to the light quantity Q2, the light quantity is changed stepwise at intervals of two fields (= 1/30 sec). A drive signal is output to the diaphragm 16 only when the value of the variable qt is an even number.

ステップS227において段階的光量変数qtの値が奇数であると判断された場合、割り込みルーチンはこのまま終了する。一方、ステップS227において段階的光量変数qtの値が偶数であると判断された場合、ステップS228へ進み、絞り16の位置が設定され、制御信号が出力される。   If it is determined in step S227 that the value of the stepwise light quantity variable qt is an odd number, the interrupt routine ends as it is. On the other hand, when it is determined in step S227 that the value of the stepwise light quantity variable qt is an even number, the process proceeds to step S228, the position of the diaphragm 16 is set, and a control signal is output.

図5に示すように、段階的変数qtの各値は、絞り16の位置に対応付けられている。段階的変数qtの各値に対応させて光量Q12〜光量Q28が設定されており、絞り位置がI12のとき光量Q1(=Q12)、絞り位置I20のとき光量Q2(=Q20)、絞り位置がI28のとき光量Q3(=Q28)に設定されている。例えば、通常の光量Q2から光量Q1へ切り替える場合、段階的光量変数qtの初期値はステップS211において1に設定されており、段階的光量変数qtの値が、2、4、6、8となるときに絞り16の位置がI18、I16、I14、I12と段階的に変化するように制御信号が出力される。ステップS228が実行されると、ステップS229へ進む。   As shown in FIG. 5, each value of the stepwise variable qt is associated with the position of the diaphragm 16. A light quantity Q12 to a light quantity Q28 are set corresponding to each value of the stepwise variable qt. When the aperture position is I12, the light quantity Q1 (= Q12), when the aperture position is I20, the light quantity Q2 (= Q20), and the aperture position is At I28, the light quantity is set to Q3 (= Q28). For example, when switching from the normal light quantity Q2 to the light quantity Q1, the initial value of the stepwise light quantity variable qt is set to 1 in step S211, and the value of the stepwise light quantity variable qt is 2, 4, 6, 8. Sometimes, the control signal is output so that the position of the diaphragm 16 changes in steps of I18, I16, I14, and I12. When step S228 is executed, the process proceeds to step S229.

ステップS229では、段階的光量変数qtの値が8、18、28、あるいは38であるか否かが判断される。すなわち、照明光量を切り替えるため絞り16が最終位置まで到達したか否かが判断される(図5参照)。段階的光量変数qtの値が8、18、28、あるいは38ではないと判断された場合、このまま割り込みルーチンは終了する。一方、段階的光量変数qtの値が8、18、28、あるいは38であると判断されると、ステップS230へ進み、段階的光量変数qtの値が0に設定される。ステップS230が実行されると、割り込みルーチンは終了する。   In step S229, it is determined whether or not the value of the stepwise light quantity variable qt is 8, 18, 28, or 38. That is, it is determined whether or not the diaphragm 16 has reached the final position in order to switch the illumination light quantity (see FIG. 5). If it is determined that the value of the stepwise light quantity variable qt is not 8, 18, 28, or 38, the interrupt routine ends. On the other hand, if it is determined that the value of the stepwise light quantity variable qt is 8, 18, 28, or 38, the process proceeds to step S230, and the value of the stepwise light quantity variable qt is set to 0. When step S230 is executed, the interrupt routine ends.

以上のように本実施形態によれば、光量Q2の状態で電子シャッタ機能による明るさ調整処理が行われている状態において、電荷蓄積時間etが上限設定値ET1を超えている(上回っている)状態が1秒以上続いている場合(ステップS208Yes、S210Yes)、絞り16の位置が段階的に移動し(ステップS211、S228)、照明光量が光量Q2から光量Q1へ移行する。また、電荷蓄積時間etが下限設定値ET4より小さい状態が1秒以上続いている場合(ステップS213Yes、S215Yes)、絞り16の位置が段階的に移動し(ステップS216、S228)、照明光量が光量Q2から光量Q3へ移行する。これにより、照明不足の場合には光量が増加し、照明過多の場合には光量が減少する。   As described above, according to the present embodiment, the charge accumulation time et exceeds the upper limit set value ET1 (exceeds) in the state where the brightness adjustment process is performed by the electronic shutter function in the state of the light quantity Q2. If the state continues for 1 second or longer (Yes at Steps S208 and S210), the position of the diaphragm 16 moves stepwise (Steps S211, S228), and the illumination light quantity shifts from the light quantity Q2 to the light quantity Q1. If the charge accumulation time et is shorter than the lower limit set value ET4 for 1 second or longer (steps S213 Yes, S215 Yes), the position of the diaphragm 16 moves stepwise (steps S216, S228), and the illumination light quantity is light quantity. Transition from Q2 to light quantity Q3. Thereby, the amount of light increases when the illumination is insufficient, and the amount of light decreases when the illumination is excessive.

一方、光量増加(光量Q1)の状態で電荷蓄積時間etが下限境界値ET2より小さい状態が1秒以上続いている場合(ステップS202Yes、S204Yes)、絞り16の位置が段階的に移動し(ステップS205、S228)、照明光量が光量Q1から光量Q2へ戻る。さらに、光量減少(光量Q3)の状態で電荷蓄積時間etが上限境界値ET3より大きい状態が1秒以上続いている場合(ステップS219Yes、S221Yes)、絞り16の位置が段階的に移動し(ステップS222、S228)、照明光量が光量Q3から光量Q2へ戻る。   On the other hand, when the state where the charge accumulation time et is smaller than the lower limit boundary value ET2 continues for 1 second or more in the state where the light amount is increased (light amount Q1) (Yes at Steps S202 and S204), the position of the diaphragm 16 moves stepwise (Step S202). S205, S228), the illumination light quantity returns from the light quantity Q1 to the light quantity Q2. Further, when the charge accumulation time et is longer than the upper limit boundary value ET3 for 1 second or longer in the light amount decreased state (light amount Q3) (Yes in Steps S219 and S221), the position of the diaphragm 16 moves stepwise (Step S219). S222, S228), the illumination light quantity returns from the light quantity Q3 to the light quantity Q2.

照明光量が不足している場合、照明光量を増大させるために電子シャッタ速度を短く維持することができる。そのため、静止画撮影においてスコープ先端部から被写体が離れている場合においても、ブレが生じず、また観察に支障をきたすことがない。また、照明光量を常時最大限利用せず、必要なときだけ最大光量に設定するため、観察部位の熱傷、及びこれに較べたら些細な問題であるがスコープ先端部の発熱を抑えることができる。   When the illumination light quantity is insufficient, the electronic shutter speed can be kept short in order to increase the illumination light quantity. Therefore, even when the subject is away from the distal end of the scope in still image shooting, no blurring occurs and observation is not hindered. In addition, since the illumination light amount is not always used at the maximum, and the maximum light amount is set only when necessary, it is possible to suppress the burn at the observation site and the heat generation at the distal end of the scope, which is a trivial problem.

ここでは、照明光量に関して増加前の光量Q2に対して増加後の光量Q1を1.5倍に設定しているが、それ以外の比率で設定してもよい。光量増加のため絞り16を光路中に選択的に配置しているが、それ以外の構成によって光量調整してもよい。光量Q2、光量Q3についても同じである。   Here, the light quantity Q1 after the increase is set to 1.5 times the light quantity Q2 before the increase with respect to the illumination light quantity, but it may be set at a ratio other than that. The diaphragm 16 is selectively disposed in the optical path to increase the amount of light, but the amount of light may be adjusted by other configurations. The same applies to the light quantity Q2 and the light quantity Q3.

光量制御に関しては、スコープ先端部にLEDを設け、LEDの発光量を制御すればよい。この場合、スコープ内で光量制御を実行し、LEDの発光量を設定、調整すればよい。この場合、発光光量を常時最大値とせず、必要なときだけ最大値に設定するため、LEDの寿命を延ばすことができる。また、このように構成することで明るさ調整処理と光量制御に関する全ての処理をビデオスコープ単独で行なうことができる。また、明るさ調整処理をスコープ制御部56の代わりにプロセッサ10内部で実行するように構成してもよい。   Regarding the light amount control, an LED is provided at the distal end of the scope, and the light emission amount of the LED may be controlled. In this case, the light amount control is executed within the scope, and the light emission amount of the LED may be set and adjusted. In this case, since the light emission quantity is not always set to the maximum value but is set to the maximum value only when necessary, the lifetime of the LED can be extended. Also, with this configuration, all processing relating to brightness adjustment processing and light amount control can be performed by the video scope alone. Further, the brightness adjustment process may be executed inside the processor 10 instead of the scope control unit 56.

プロセッサ10は信号処理部と光源部とが一体となって構成されているが、別々に構成されている光源装置に絞りを設けるように構成してもよい。   Although the signal processing unit and the light source unit are integrally configured in the processor 10, the diaphragm may be provided in a light source device that is configured separately.

照明光量の切り替えに関しては、光量Q1、Q2、Q3より多い数の段階(例えば4段階)に設定してもよい。   Regarding the switching of the illumination light quantity, it may be set to a number of stages (for example, four stages) larger than the light quantities Q1, Q2, and Q3.

本実施形態である電子内視鏡装置のブロック図である。It is a block diagram of the electronic endoscope apparatus which is this embodiment. プロセッサの全体制御処理を示したフローチャートである。It is the flowchart which showed the whole control process of the processor. プロセッサにおける光量制御処理を示したフローチャートである。It is the flowchart which showed the light quantity control process in a processor. プロセッサにおける光量制御処理を示したフローチャートである。It is the flowchart which showed the light quantity control process in a processor. 絞りの位置および光量変数の値を示した図である。It is the figure which showed the value of the position of a stop, and a light quantity variable. 電荷蓄積時間の上限、下限値および境界値と照明光量との対応関係を示した図である。It is the figure which showed the correspondence of the upper limit of a charge storage time, a lower limit, a boundary value, and illumination light quantity.

符号の説明Explanation of symbols

10 プロセッサ
12 光源ランプ
16 絞り
22 システムコントロール回路
50 ビデオスコープ
54 CCD
56 スコープ制御部
ET1 上限設定値
ET2 下限境界値
ET3 上限境界値
ET4 下限設定値
10 processor 12 light source lamp 16 diaphragm 22 system control circuit 50 video scope 54 CCD
56 Scope Control Unit ET1 Upper limit set value ET2 Lower limit boundary value ET3 Upper limit boundary value ET4 Lower limit set value

Claims (9)

撮像素子を有するビデオスコープを備えた電子内視鏡装置であって、
被写体を照明する光源と、
前記撮像素子から読み出される被写体像に応じた画像信号に基づき、輝度値を算出する輝度算出手段と、
算出される輝度値に従って前記撮像素子における電荷蓄積時間を調整することにより、被写体像の明るさを所定時間間隔で調整する明るさ調整手段と、
光量増大の必要性のある照明状態に基いた上限設定値を前記電荷蓄積時間が第1許容時間以上に渡って超えている場合、照明光量を増大させる一方、光量減少の必要性のある照明状態に基いた下限設定値を前記電荷蓄積時間が第2許容時間以上に渡って超えている場合、照明光量を減少させる光量制御手段と
を備えたことを特徴とする電子内視鏡装置。
An electronic endoscope apparatus including a video scope having an image sensor,
A light source that illuminates the subject;
A luminance calculating means for calculating a luminance value based on an image signal corresponding to a subject image read from the image sensor;
Brightness adjusting means for adjusting the brightness of the subject image at predetermined time intervals by adjusting the charge accumulation time in the image sensor according to the calculated luminance value;
When the charge accumulation time exceeds the upper limit set value based on the illumination state where the light amount needs to be increased over the first allowable time, the illumination light amount is increased while the illumination state where the light amount needs to be decreased And a light amount control means for reducing the amount of illumination light when the charge accumulation time exceeds the second allowable time or more.
前記光量制御手段が、照明光量を増減させる場合、段階的に照明光量を変化させていくことを特徴とする請求項1に記載の電子内視鏡装置。   The electronic endoscope apparatus according to claim 1, wherein when the light quantity control unit increases or decreases the illumination light quantity, the illumination light quantity is changed stepwise. 前記光量制御手段が、照明光量を増加させた後、電荷蓄積時間が第3許容時間以上に渡って下限境界値を超えている場合、照明光量を増加前に戻すことを特徴とする請求項1に記載の電子内視鏡装置。   2. The light amount control unit, after increasing the illumination light amount, when the charge accumulation time exceeds a lower limit boundary value for a third allowable time or longer, returns the illumination light amount before the increase. The electronic endoscope apparatus described in 1. 前記光量制御手段が、照明光量を減少させた後、電荷蓄積時間が第4許容時間以上に渡って上限境界値を超えている場合、照明光量を減少前に戻すことを特徴とする請求項1に記載の電子内視鏡装置。   2. The light amount control unit returns the illumination light amount to a value before the decrease when the charge accumulation time exceeds an upper limit boundary value for a fourth allowable time or more after the illumination light amount is decreased. The electronic endoscope apparatus described in 1. 前記光量制御手段が、前記プロセッサ内部に配置されることを特徴とする請求項1に記載の電子内視鏡装置。   The electronic endoscope apparatus according to claim 1, wherein the light amount control unit is disposed inside the processor. 前記光量制御手段が、
照明光の光路中に配置される絞りと、
前記絞りを駆動させる絞り駆動手段と
を有することを特徴とする請求項1に記載の電子内視鏡装置。
The light quantity control means is
A diaphragm arranged in the optical path of the illumination light;
The electronic endoscope apparatus according to claim 1, further comprising: diaphragm driving means for driving the diaphragm.
被写体を照明することによりビデオスコープの撮像素子から読み出される被写体像に応じた画像信号に基づき、輝度値を算出する輝度算出手段と、
算出される輝度値に従って前記撮像素子における電荷蓄積時間を調整することにより、被写体像の明るさを所定時間間隔で調整する明るさ調整手段と、
光量増大の必要性のある照明状態に基いた上限設定値を前記電荷蓄積時間が第1許容時間以上に渡って超えている場合、照明光量を増大させる一方、光量減少の必要性のある照明状態に基いた下限設定値を前記電荷蓄積時間が第2許容時間以上に渡って超えている場合、照明光量を減少させる光量制御手段と
を備えたことを特徴とする内視鏡用明るさ調整装置。
Luminance calculation means for calculating a luminance value based on an image signal corresponding to a subject image read from an image pickup device of a videoscope by illuminating the subject;
Brightness adjustment means for adjusting the brightness of the subject image at predetermined time intervals by adjusting the charge accumulation time in the image sensor according to the calculated luminance value;
When the charge accumulation time exceeds the upper limit set value based on the illumination state where the light amount needs to be increased over the first allowable time, the illumination light amount is increased while the illumination state where the light amount needs to be decreased And a light amount control means for reducing the amount of illumination light when the charge accumulation time exceeds the second allowable time or more. .
被写体を照明することによりビデオスコープの撮像素子から読み出される被写体像に応じた画像信号に基づき、輝度値を算出する輝度算出手段と、
算出される輝度値に従って前記撮像素子における電荷蓄積時間を調整することにより、被写体像の明るさを所定時間間隔で調整する明るさ調整手段と、
光量増大の必要性のある照明状態に基いた上限設定値を前記電荷蓄積時間が第1許容時間以上に渡って超えている(上回っている)場合、照明光量を増大させる一方、光量減少の必要性のある照明状態に基いた下限設定値を前記電荷蓄積時間が第2許容時間以上に渡って超えている(下回っている)場合、照明光量を減少させる光量制御手段と
を備えたことを特徴とするビデオスコープ。
Luminance calculation means for calculating a luminance value based on an image signal corresponding to a subject image read from an image pickup device of a videoscope by illuminating the subject;
Brightness adjustment means for adjusting the brightness of the subject image at predetermined time intervals by adjusting the charge accumulation time in the image sensor according to the calculated luminance value;
When the charge accumulation time exceeds the upper limit set value based on the illumination state where the light quantity needs to be increased over the first allowable time (exceeds), the illumination light quantity is increased while the light quantity needs to be reduced. And a light amount control means for reducing the amount of illumination light when the charge accumulation time exceeds (below) the second allowable time or less than a lower limit set value based on a characteristic illumination state. And video scope.
被写体を照明することによりビデオスコープの撮像素子から読み出される被写体像に応じた画像信号に基づき、輝度値を算出する輝度算出手段と、
算出される輝度値に従って前記撮像素子における電荷蓄積時間を調整することにより、被写体像の明るさを所定時間間隔で調整する明るさ調整手段と、
光量増大の必要性のある照明状態に基いた上限設定値を前記電荷蓄積時間が第1許容時間以上に渡って超えている場合、照明光量を増大させる一方、光量減少の必要性のある照明状態に基いた下限設定値を前記電荷蓄積時間が第2許容時間以上に渡って超えている場合、照明光量を減少させる光量制御手段と
を機能させることを特徴とする電子内視鏡装置のプログラム。
Luminance calculation means for calculating a luminance value based on an image signal corresponding to a subject image read from an image pickup device of a videoscope by illuminating the subject;
Brightness adjustment means for adjusting the brightness of the subject image at predetermined time intervals by adjusting the charge accumulation time in the image sensor according to the calculated luminance value;
When the charge accumulation time exceeds the upper limit set value based on the illumination state where the light amount needs to be increased over the first allowable time, the illumination light amount is increased while the illumination state where the light amount needs to be decreased And a light amount control means for reducing the amount of illumination light when the charge accumulation time exceeds the second allowable time or more.
JP2004331558A 2004-11-16 2004-11-16 Electronic endoscope device Active JP4555056B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004331558A JP4555056B2 (en) 2004-11-16 2004-11-16 Electronic endoscope device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004331558A JP4555056B2 (en) 2004-11-16 2004-11-16 Electronic endoscope device

Publications (2)

Publication Number Publication Date
JP2006141429A JP2006141429A (en) 2006-06-08
JP4555056B2 true JP4555056B2 (en) 2010-09-29

Family

ID=36621778

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004331558A Active JP4555056B2 (en) 2004-11-16 2004-11-16 Electronic endoscope device

Country Status (1)

Country Link
JP (1) JP4555056B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5901323B2 (en) * 2012-02-07 2016-04-06 オリンパス株式会社 Imaging apparatus and illumination method for imaging

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11216105A (en) * 1998-02-04 1999-08-10 Olympus Optical Co Ltd Endoscope device
JP2001119689A (en) * 1999-10-14 2001-04-27 Olympus Optical Co Ltd Electronic endoscope device
JP2002219099A (en) * 2001-01-26 2002-08-06 Asahi Optical Co Ltd Endoscopic system having photometric range
JP2002282207A (en) * 2001-03-26 2002-10-02 Fuji Photo Optical Co Ltd Electronic endoscopic apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11216105A (en) * 1998-02-04 1999-08-10 Olympus Optical Co Ltd Endoscope device
JP2001119689A (en) * 1999-10-14 2001-04-27 Olympus Optical Co Ltd Electronic endoscope device
JP2002219099A (en) * 2001-01-26 2002-08-06 Asahi Optical Co Ltd Endoscopic system having photometric range
JP2002282207A (en) * 2001-03-26 2002-10-02 Fuji Photo Optical Co Ltd Electronic endoscopic apparatus

Also Published As

Publication number Publication date
JP2006141429A (en) 2006-06-08

Similar Documents

Publication Publication Date Title
JP4390440B2 (en) Automatic dimming device for endoscope and electronic endoscope device
US7623150B2 (en) Electronic endoscope
JP3607509B2 (en) Autofocus device
JP4223778B2 (en) Automatic dimming device for endoscope and electronic endoscope device
JP4349856B2 (en) Electronic endoscope device capable of automatic dimming
JP2009131324A (en) Field sequential imaging display system
JP4136841B2 (en) Imaging device
JP2009038479A (en) Exposure controller and imaging apparatus
JP5653163B2 (en) Endoscope device
JP4555056B2 (en) Electronic endoscope device
JP4095330B2 (en) Electronic endoscope device with automatic light control function
JP4566703B2 (en) Electronic endoscope device
JP4459506B2 (en) Automatic dimming device for endoscope and electronic endoscope device
JP4464083B2 (en) Electronic endoscope device
KR101417819B1 (en) Photographing apparatus
JP4426220B2 (en) Electronic endoscope device capable of split photometry
JP3940016B2 (en) Electronic endoscope device capable of recording still images
JP4786875B2 (en) Videoscope of electronic endoscope device capable of brightness adjustment processing
JP2002263064A (en) Automatic dimmer for endoscope and processor of electronic endoscope apparatus containing the same
JP4024632B2 (en) Electronic endoscope device capable of recording still images
JP4131007B2 (en) Automatic dimming device for endoscope and electronic endoscope device
JP4502666B2 (en) Videoscope of electronic endoscope device capable of brightness adjustment processing
JP2007209506A (en) Electronic endoscopic apparatus
JP2010279457A (en) Electronic endoscope, electronic endoscopic system, and color adjusting method
JP4575691B2 (en) Video scope of electronic endoscope device with electronic shutter function

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071005

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20080501

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100420

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100616

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: 20100706

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100715

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

Free format text: PAYMENT UNTIL: 20130723

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4555056

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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