JP2005160724A - Electronic endoscope apparatus - Google Patents

Electronic endoscope apparatus Download PDF

Info

Publication number
JP2005160724A
JP2005160724A JP2003403355A JP2003403355A JP2005160724A JP 2005160724 A JP2005160724 A JP 2005160724A JP 2003403355 A JP2003403355 A JP 2003403355A JP 2003403355 A JP2003403355 A JP 2003403355A JP 2005160724 A JP2005160724 A JP 2005160724A
Authority
JP
Japan
Prior art keywords
card
recording medium
portable recording
endoscope
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003403355A
Other languages
Japanese (ja)
Other versions
JP2005160724A5 (en
Inventor
Tomoki Iwasaki
智樹 岩崎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Corp
Original Assignee
Olympus Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Corp filed Critical Olympus Corp
Priority to JP2003403355A priority Critical patent/JP2005160724A/en
Publication of JP2005160724A publication Critical patent/JP2005160724A/en
Publication of JP2005160724A5 publication Critical patent/JP2005160724A5/ja
Pending legal-status Critical Current

Links

Images

Landscapes

  • Endoscopes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To prevent a breakage of an image, data of a patient or the like and a defect of the recording medium when a portable recording medium is removed. <P>SOLUTION: A record detecting means detects whether an endoscopic image or the information related to the endoscope is recorded in a PC card 6 or not. A read-out detecting means detects whether the endoscopic image or the information related to the endoscope is read out from the PC card 6 or not. A protection door 26 is disposed at an aperture of a splicing connector to the PC card 6 to protect the splicing connector. A photointerrupter 33 detects the open and close situation of the protection door 26. An electric power supplying means supplies the electric power to the PC card 6. When the protection door 26 is detected to be open by the photointerrupter 33, a termination of movement forcing means forces to terminate the recording movement to the PC card 6 or the reading-out movement from the PC card 6 on the basis of the detection result of the above record detecting means or the read-out detecting means and the electric power supply by the electric power supplying means is forced to be intercepted. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、電子内視鏡装置に関し、特に、内視鏡の被検体像より得られた内視鏡画像を可搬記録媒体に記録することのできる電子内視鏡装置に関する。   The present invention relates to an electronic endoscope apparatus, and more particularly to an electronic endoscope apparatus capable of recording an endoscope image obtained from a subject image of an endoscope on a portable recording medium.

従来技術として、細長の挿入部を体腔内等に挿入して対象部位の観察、各種検査、治療処理等を行うことのできる電子内視鏡装置が広く用いられている。
電子内視鏡装置において、カルテや論文に利用するために撮像した内視鏡画像や患者情報等を記録する場合は、フィルムに撮影して写真として記録したり、VTRによりビデオテープに動画として記録したり、ハードディスク等の情報記録装置にデジタルの画像データとして記録すること等が、一般に行われていた。
2. Description of the Related Art As a conventional technique, an electronic endoscope apparatus that can insert an elongated insertion portion into a body cavity or the like and perform observation of various parts, various examinations, treatment processing, and the like is widely used.
When recording endoscopic images and patient information taken for use in medical records and papers in an electronic endoscopic device, the images are recorded on a film and recorded as a picture, or recorded as a video on a video tape by a VTR. In general, recording as digital image data in an information recording device such as a hard disk has been generally performed.

近年においては、情報の大容量化に伴い、ユーザが自由に挿抜可能でパーソナルコンピュータとの互換性も有する小型の可搬記録媒体に、内視鏡画像や患者情報等を記録することが可能な電子内視鏡装置も提案されている(例えば、特許文献1、2)。可搬記録媒体とは、例えば、メモリを内蔵したPCカードや、USBポートに接続して記録を行うことのできるUSBメモリ等である。   In recent years, as the capacity of information increases, it is possible to record endoscopic images, patient information, and the like on a small portable recording medium that can be freely inserted and removed by the user and compatible with a personal computer. Electronic endoscope apparatuses have also been proposed (for example, Patent Documents 1 and 2). The portable recording medium is, for example, a PC card with a built-in memory or a USB memory that can be connected to a USB port for recording.

PCカード等の小型の可搬記録媒体は、その性質上、ユーザにより自在に挿抜され得る。しかし、可搬記録媒体へのデータの記録もしくは読み出し中に、媒体を記録装置から抜去すると、データの破壊や媒体そのものの故障につながる恐れがある。また、データの通信中のみならず、記録装置から媒体への電力供給中に抜去した場合においても、同様の問題が発生する可能性がある。   A small portable recording medium such as a PC card can be freely inserted and removed by the user due to its nature. However, if the medium is removed from the recording device while data is being recorded on or read from the portable recording medium, the data may be destroyed or the medium itself may be damaged. The same problem may occur not only during data communication but also when the recording apparatus is disconnected during power supply to the medium.

さらに、電子内視鏡装置は医療現場で使用されるという性質上、その使用環境を考慮した設計が要求されてきた。すなわち、電子内視鏡装置の使用中に、薬剤や薬液もしくは血液などが飛散し、これらが電子内視鏡装置に付着し、電子内視鏡装置内部の電子回路がショート等を起こす危険性を考慮する必要がある。このため、電子内視鏡装置のプロセッサ部、すなわち、映像信号処理や周辺機器制御等を行う回路や電源部等が収められた筐体に対しては、粉塵や液体からの保護が重要となる。特に、フロントパネルと呼ばれる筐体前面には、内視鏡の接続コネクタや操作パネルが設けられているが、このフロントパネルに粉塵や液体が飛散しても電子内視鏡装置に不具合が発生しないような設計が必須となる。
特開平11−42211号公報 特開2001−8154号公報
Furthermore, the electronic endoscope apparatus has been required to be designed in consideration of the use environment due to the property of being used in the medical field. That is, there is a risk that drugs, chemicals, blood, etc. may scatter during use of the electronic endoscope apparatus, adhere to the electronic endoscope apparatus, and cause an electronic circuit inside the electronic endoscope apparatus to short-circuit. It is necessary to consider. For this reason, protection from dust and liquid is important for a processor unit of an electronic endoscope apparatus, that is, a casing in which a circuit for performing video signal processing, peripheral device control, or the like is stored. . In particular, an endoscope connection connector and an operation panel are provided on the front surface of the casing called a front panel. Even if dust or liquid scatters on the front panel, there is no problem with the electronic endoscope apparatus. Such a design is essential.
JP 11-42211 A JP 2001-8154 A

記録媒体の抜去時におけるデータ破壊や可搬記録媒体の故障を防ぐには、まず電子内視鏡装置に可搬記録媒体が接続されているか否かを常時検知し、更に電子内視鏡装置と可搬記録媒体とがデータの送受信を行っているか否かということも常時検知する必要がある。従来は、ユーザによる可搬記録媒体の抜去、という不測の事態に対処する手段を備えていなかった。このため、これらの事態を検知および防止する手段が備えられておらず、ユーザに対し注意を喚起する程度の対策しか取れない、というのが実状であった。   In order to prevent data destruction or failure of the portable recording medium when the recording medium is removed, first of all, it is always detected whether or not the portable recording medium is connected to the electronic endoscope apparatus. It is also necessary to constantly detect whether or not data is being transmitted / received to / from a portable recording medium. Conventionally, there has been no means for dealing with an unexpected situation such as removal of a portable recording medium by a user. For this reason, there is no means for detecting and preventing these situations, and it has been possible to take only measures to alert the user.

また、可搬記録媒体とのコネクタは、電子内視鏡装置の前面に設置されていることが多い。電子内視鏡装置の使用中に薬剤や薬液もしくは血液等が装置に付着する可能性が高い箇所にコネクタが設置されているにも関わらず、電子内視鏡装置内部の電子回路等を保護する対策は設けられていない、という問題があった。   Further, the connector with the portable recording medium is often installed on the front surface of the electronic endoscope apparatus. Protects the electronic circuits inside the electronic endoscope device despite the fact that the connector is installed at a place where drugs, chemicals, blood, etc. are likely to adhere to the device during use of the electronic endoscope device There was a problem that no measures were taken.

本発明は、電子内視鏡装置から可搬記録媒体を抜去する際の内視鏡画像や患者データ等の破壊を防止し、可搬記録媒体の故障も防止することを課題とする。   An object of the present invention is to prevent destruction of an endoscope image, patient data, and the like when a portable recording medium is removed from an electronic endoscope apparatus, and to prevent a failure of the portable recording medium.

本発明の一態様によれば、内視鏡にて撮像した被検体像より得られる内視鏡画像あるいは該内視鏡画像に関連する内視鏡関連情報を、可搬記録媒体に対して記録させることが可能な電子内視鏡装置において、前記可搬記録媒体への、前記内視鏡画像あるいは前記内視鏡関連情報の記録に関し、記録中であるか否かを検知する記録検知手段と、前記可搬記録媒体からの、前記内視鏡画像あるいは前記内視鏡関連情報の読み出しに関し、読み出し中であるか否かを検知する読み出し検知手段と、前記可搬記録媒体との接続コネクタの開口部に設けられ、該接続コネクタを保護する開閉式の保護手段と、前記保護手段の開閉状態を検知する開閉状態検知手段と、前記可搬記録媒体に対して電力を供給する電力供給手段と、前記開閉状態検知手段により前記保護手段が開状態であることが検出されたときに、前記記録検知手段あるいは前記読み出し検知手段の検知結果に基づいて、前記可搬記録媒体への記録動作あるいは前記可搬記録媒体からの読み出し動作を強制終了させ、前記電力供給手段による電力の供給を強制遮断させる動作強制終了手段とを備えることを特徴とする電子内視鏡装置が提供される。   According to one aspect of the present invention, an endoscope image obtained from a subject image captured by an endoscope or endoscope related information related to the endoscope image is recorded on a portable recording medium. In the electronic endoscope apparatus capable of being recorded, with respect to the recording of the endoscopic image or the endoscope related information on the portable recording medium, a recording detection means for detecting whether or not recording is in progress In connection with the reading of the endoscope image or the endoscope related information from the portable recording medium, a reading detection means for detecting whether or not reading is being performed, and a connector for connecting the portable recording medium Opening / closing protection means for protecting the connection connector, opening / closing state detection means for detecting the opening / closing state of the protection means, and power supply means for supplying power to the portable recording medium. The open / close state detection means When it is detected that the protection means is in the open state, the recording operation to the portable recording medium or the reading from the portable recording medium based on the detection result of the recording detection means or the reading detection means An electronic endoscope apparatus is provided, comprising: an operation forcible termination unit that forcibly terminates the operation and forcibly cuts off the power supply by the power supply unit.

記録検知手段あるいは読み出し検知手段により、電子内視鏡装置と可搬記録媒体とのアクセス状態を正確に把握することができる。開閉式の保護手段を設け、保護手段が開状態であるとの判断および記録検知手段あるいは読み出し検知手段の検知結果に基づいて、可搬記録媒体への記録動作あるいは可搬記録媒体からの読み出し動作を強制終了させ、電力の供給を強制遮断させる。可搬記録媒体の状態を詳細に把握することにより、さらに効果的にデータの破壊や可搬記録媒体の故障を防ぐことができる。   The access state between the electronic endoscope apparatus and the portable recording medium can be accurately grasped by the recording detection means or the read detection means. An open / close type protection means is provided, and based on the determination that the protection means is in the open state and the detection result of the recording detection means or the read detection means, a recording operation to the portable recording medium or a reading operation from the portable recording medium Is forcibly terminated and the power supply is forcibly cut off. By grasping the state of the portable recording medium in detail, it is possible to more effectively prevent the destruction of data and the failure of the portable recording medium.

保護手段の開閉状態、データの記録状態あるいは読み出し状態に基づいて、警告を行うこととしてもよい。データの破壊や可搬記録媒体の故障を未然に防ぐという観点から見て効果的である。
可搬記録媒体を接続コネクタから抜去する手段を備えることで、抜去の際のコネクタピンや可搬記録媒体の故障を防ぐことができる。記録動作あるいは読み出し動作を検知した際には、抜去を禁止する手段を更に備えることとしてもよい。
A warning may be issued based on the open / close state of the protection means, the data recording state, or the reading state. This is effective from the viewpoint of preventing data destruction and failure of portable recording media.
By providing a means for removing the portable recording medium from the connection connector, it is possible to prevent a failure of the connector pin or the portable recording medium at the time of removal. When a recording operation or a reading operation is detected, a means for prohibiting removal may be further provided.

本発明によれば、可搬記録媒体へ内視鏡画像データの記録中あるいは可搬記録媒体から内視鏡画像データの読み出し中にユーザが可搬記録媒体を抜去しようとした場合でも、可搬記録媒体に記録されている内視鏡画像データの破壊や可搬記録媒体の故障を防止することができる。   According to the present invention, even when the user tries to remove the portable recording medium while the endoscope image data is being recorded on the portable recording medium or while the endoscope image data is being read from the portable recording medium, the portable recording medium is portable. It is possible to prevent the destruction of the endoscope image data recorded on the recording medium and the failure of the portable recording medium.

以下、本発明を実施するために好適な実施の形態を具体的に述べる。   Hereinafter, preferred embodiments for carrying out the present invention will be specifically described.

図1に、本実施例に係る電子内視鏡装置の構成を示す。電子内視鏡装置1は、概ね、スコープ2、光源装置3、プロセッサ4、TVモニタ32、キーボード31およびプリンタ30から構成される。
スコープ2は、先端のレンズより入射した光を映像信号に変換し、プロセッサ4に伝える。光源装置3は、スコープ2に照明光を供給する。プロセッサ4は、スコープ2の先端から得られた映像信号に対し、信号処理を行う。TVモニタ32に、プロセッサ4にて処理された映像信号を表示させる。キーボード31は、プロセッサ4に接続されており、文字入力や各種操作を行う。プリンタ30は、プロセッサ4に接続されており、画像データを印刷する。
FIG. 1 shows a configuration of an electronic endoscope apparatus according to the present embodiment. The electronic endoscope apparatus 1 generally includes a scope 2, a light source device 3, a processor 4, a TV monitor 32, a keyboard 31, and a printer 30.
The scope 2 converts light incident from the lens at the tip into a video signal and transmits it to the processor 4. The light source device 3 supplies illumination light to the scope 2. The processor 4 performs signal processing on the video signal obtained from the tip of the scope 2. The video signal processed by the processor 4 is displayed on the TV monitor 32. The keyboard 31 is connected to the processor 4 and performs character input and various operations. The printer 30 is connected to the processor 4 and prints image data.

図2は、本実施例に係る電子内視鏡装置の構成を示したブロック図を示す。図2を参照しながら、体腔内の被検体から得られた映像信号の処理について説明する。
スコープ2は、体腔内に挿入するための細長の挿入部9を有し、中には光源装置3から供給された照明光を伝送するための、ライトガイド8が挿通されている。ライトガイド8の後端は、光源装置3に着脱自在に接続されている。光源装置3の不図示のランプから射出された照明光は、このライトガイド8によって伝送され、挿入部9の先端に設けた不図示の照明窓に取り付けられたライトガイド8先端面から、体腔内の被検体に射出される。
FIG. 2 is a block diagram illustrating the configuration of the electronic endoscope apparatus according to the present embodiment. Processing of a video signal obtained from a subject in a body cavity will be described with reference to FIG.
The scope 2 has an elongated insertion portion 9 for insertion into a body cavity, and a light guide 8 for transmitting illumination light supplied from the light source device 3 is inserted therein. The rear end of the light guide 8 is detachably connected to the light source device 3. Illumination light emitted from a lamp (not shown) of the light source device 3 is transmitted by the light guide 8, and enters the body cavity from the distal end surface of the light guide 8 attached to an illumination window (not shown) provided at the distal end of the insertion portion 9. Is injected into the subject.

スコープ2の先端には照明窓に隣接して観察窓が設けてあり、この観察窓に取り付けた対物レンズ10により、その結像位置に被検体の光学像を結ぶ。この結像位置には、固体撮像素子として、例えばCCD11が配置され、光学像を電気信号に光電変換して映像信号として、信号線12でプロセッサ4に伝送する。   An observation window is provided adjacent to the illumination window at the distal end of the scope 2, and an optical image of the subject is connected to the imaging position by the objective lens 10 attached to the observation window. At this imaging position, for example, a CCD 11 is disposed as a solid-state imaging device, and an optical image is photoelectrically converted into an electrical signal and transmitted to the processor 4 through a signal line 12 as a video signal.

信号線12は、その途中に内視鏡側コネクタ13、プロセッサ側コネクタ14が設けてある。これらのコネクタ13および14を経て、映像信号は、プロセッサ4内のプリアンプ回路15に入力される。信号線12により伝送された映像信号は、プリアンプ回路15によりケーブル伝送での損失分が増幅された後、プリプロセス回路16に入力される。   The signal line 12 is provided with an endoscope side connector 13 and a processor side connector 14 in the middle thereof. The video signal is input to a preamplifier circuit 15 in the processor 4 through these connectors 13 and 14. The video signal transmitted through the signal line 12 is input to the preprocess circuit 16 after the preamplifier circuit 15 amplifies the loss in cable transmission.

プリプロセス回路16の後段には、A/D変換回路17、Y/C分離回路18が設けられている。プリプロセス16に入力された映像信号は、CDS(相関二重サンプリング)やS/H(サンプルホールド)等の前処理が行われた後、A/D変換回路17に入力されてデジタル信号に変換される。デジタル信号に変換された映像信号は、Y/C分離回路18に入力される。   An A / D conversion circuit 17 and a Y / C separation circuit 18 are provided after the preprocess circuit 16. The video signal input to the preprocess 16 is subjected to preprocessing such as CDS (correlated double sampling) and S / H (sample hold), and then input to the A / D conversion circuit 17 to be converted into a digital signal. Is done. The video signal converted into the digital signal is input to the Y / C separation circuit 18.

Y/C分離回路18の後段には、RGBマトリクス回路19、ホワイトバランス調整回路20が設けられている。Y/C分離回路18に入力された映像信号は、線順次化されてY・Cr・Cbの3系統のデジタル信号に分離され、RGBマトリクス回路19に入力されてRGBデジタル信号に変換される。RGBデジタル信号に変換された映像信号は、ホワイトバランス調整回路20に入力され、所定のホワイトバランスの調整がなされる。   An RGB matrix circuit 19 and a white balance adjustment circuit 20 are provided at the subsequent stage of the Y / C separation circuit 18. The video signal input to the Y / C separation circuit 18 is line-sequentially separated into three systems of Y, Cr, and Cb digital signals, and input to the RGB matrix circuit 19 to be converted into RGB digital signals. The video signal converted into the RGB digital signal is input to the white balance adjustment circuit 20, and a predetermined white balance is adjusted.

ホワイトバランス調整回路20の後段には、デジタル映像処理回路21、文字重畳回路34、D/A変換回路28、ポストプロセス回路29が設けられている。ホワイトバランス調整回路20にてバランス調整が行われた映像信号は、デジタル映像処理回路21によりエンハンス処理、γ補正、文字重畳等のデジタル処理が施される。デジタル映像処理回路21から出力された後、映像信号の経路は、内視鏡画像に文字重畳され、TVモニタ32に映像として表示するための処理経路と、例えばPCカード6等の可搬記録媒体に内視鏡画像として記録するための処理経路との、2つに分岐される。   A digital video processing circuit 21, a character superimposing circuit 34, a D / A conversion circuit 28, and a post process circuit 29 are provided at the subsequent stage of the white balance adjustment circuit 20. The video signal whose balance has been adjusted by the white balance adjustment circuit 20 is subjected to digital processing such as enhancement processing, γ correction, and character superposition by the digital video processing circuit 21. After being output from the digital video processing circuit 21, the path of the video signal is superimposed on the endoscopic image and displayed as a video on the TV monitor 32, and a portable recording medium such as a PC card 6, for example. And a processing path for recording as an endoscopic image.

TVモニタ32に映像を表示するための処理経路では、文字重畳回路34により文字が重畳される。文字が重畳された後、D/A変換回路28でアナログ信号に変換される。アナログ信号に変換された映像信号は、ポストプロセス回路29に入力される。ポストプロセス回路29に入力された映像信号は、標準的なビデオ信号に変換されて、TVモニタ32に出力される。   In the processing path for displaying an image on the TV monitor 32, characters are superimposed by the character superimposing circuit 34. After the characters are superimposed, the D / A conversion circuit 28 converts the characters into analog signals. The video signal converted into the analog signal is input to the post process circuit 29. The video signal input to the post process circuit 29 is converted into a standard video signal and output to the TV monitor 32.

PCカード6等の可搬記録媒体に画像データとして記録するための処理経路では、デジタル映像処理回路21の後段には、内視鏡画像を一旦記録するメモリ22、内視鏡画像の所望の領域を抽出する領域抽出手段23、映像信号を圧縮処理するJPEG圧縮/伸張手段24が設けられている。更にその後段には、PCカード6を制御するためのPCカード制御部36が設けられている。PCカード制御部36は、PCカード6を挿抜自在に格納可能なPCカードコネクタ7と、PCカード6がPCカードコネクタ7に挿入されているか否かを検知するためのフォトインタラプタ33と、PCカードとJPEG圧縮/伸張手段24との間で伝送される映像信号の送受信処理を行うドライバ25が設けられている。ドライバ25は、CPU27によって制御される。フォトインタラプタ33に検知されたPCカード6の接続検知結果は、CPU27へ出力される。また、PCカード6は、CPU27にて制御されるPCカード電源35より電力を供給される。   In a processing path for recording as image data on a portable recording medium such as a PC card 6, a memory 22 for temporarily recording an endoscopic image, a desired area of the endoscopic image, is provided after the digital video processing circuit 21. Are provided, and a JPEG compression / expansion means 24 for compressing the video signal is provided. Further, a PC card control unit 36 for controlling the PC card 6 is provided at the subsequent stage. The PC card control unit 36 includes a PC card connector 7 in which the PC card 6 can be removably stored, a photo interrupter 33 for detecting whether the PC card 6 is inserted into the PC card connector 7, and a PC card. And a driver 25 for performing transmission / reception processing of a video signal transmitted between the JPEG compression / decompression unit 24 and the JPEG compression / decompression unit 24. The driver 25 is controlled by the CPU 27. The connection detection result of the PC card 6 detected by the photo interrupter 33 is output to the CPU 27. The PC card 6 is supplied with power from a PC card power source 35 controlled by the CPU 27.

プロセッサ4の操作パネル(不図示)に設けられた、記録スイッチ5が押下されると、CPU27よりメモリ22に記録指示信号が送出され、メモリ22から内視鏡画像データが読み出される。読み出された内視鏡画像データは領域抽出手段23によって適当な位置、サイズにトリミングされ、JPEG圧縮/伸張手段24により圧縮された後、ドライバ25およびPCカードコネクタ7を介してPCカード6に出力され、記録される。   When the recording switch 5 provided on the operation panel (not shown) of the processor 4 is pressed, a recording instruction signal is sent from the CPU 27 to the memory 22, and endoscope image data is read from the memory 22. The read endoscope image data is trimmed to an appropriate position and size by the area extraction means 23, compressed by the JPEG compression / expansion means 24, and then applied to the PC card 6 via the driver 25 and the PC card connector 7. Output and record.

PCカード6に記録されるデータは、内視鏡画像に限定されず、キーボード31により入力された文字データ等でもよい。また、記録スイッチ5の位置は、プロセッサ4の操作パネル上に限定されず、例えばスコープ2上、キーボード31やプロセッサ4上に設けられるスイッチ等の入力手段上等でもよい。   The data recorded on the PC card 6 is not limited to the endoscopic image, and may be character data input from the keyboard 31 or the like. The position of the recording switch 5 is not limited to the operation panel of the processor 4, and may be, for example, on the scope 2 or on input means such as a switch provided on the keyboard 31 or the processor 4.

また、PCカード6に記録されているデータを読み出し、TVモニタ32に表示する場合には、PCカード6内に格納されている、圧縮処理されたデジタル内視鏡画像データは、PCカードコネクタ7およびドライバ25を介して、JPEG圧縮/伸張手段24にて伸張され、文字重畳回路34にて所望の文字を重畳した後、D/A変換回路28でアナログ信号に変換される。こうした処理を経た後、PCカード6に記録されているデータが、ポストプロセス回路29を介してTVモニタ32に表示される。   When data recorded in the PC card 6 is read and displayed on the TV monitor 32, the compressed digital endoscope image data stored in the PC card 6 is stored in the PC card connector 7. The data is decompressed by the JPEG compression / decompression means 24 via the driver 25, superimposed on a desired character by the character superimposing circuit 34, and then converted to an analog signal by the D / A conversion circuit 28. After such processing, the data recorded on the PC card 6 is displayed on the TV monitor 32 via the post process circuit 29.

図3に、本実施例に係るPCカード制御部(図2に示したPCカードコネクタ7、ドライバ25、CPU27、PCカード電源35からなる部分)を詳細に示した図を示す。図3を用いて、PCカード制御部の動作について説明する。
PCカードコネクタ7にはコネクタピン37が複数設けられている。コネクタピン37に結線された信号線が、ドライバ25あるいはPCカード電源35に接続されている。PCカード6がPCカードコネクタ7に挿入された際には、PCカード6はコネクタピン37と電気的に接触し、PCカード6に対して電力が供給される。PCカード電源35より出力される電圧は3.3Vあるいは5Vであり、PCカード6の種類により電圧は異なる。
FIG. 3 is a diagram showing in detail a PC card control unit (a portion including the PC card connector 7, the driver 25, the CPU 27, and the PC card power source 35 shown in FIG. 2) according to the present embodiment. The operation of the PC card control unit will be described with reference to FIG.
A plurality of connector pins 37 are provided on the PC card connector 7. A signal line connected to the connector pin 37 is connected to the driver 25 or the PC card power source 35. When the PC card 6 is inserted into the PC card connector 7, the PC card 6 comes into electrical contact with the connector pins 37 and power is supplied to the PC card 6. The voltage output from the PC card power supply 35 is 3.3 V or 5 V, and the voltage varies depending on the type of the PC card 6.

PCカード6に内視鏡画像を記録する場合には、まずCPU27がドライバ25に対して記録コマンドを出力する。次に、ドライバ25はPCカード6に対して記録要求信号を出力し、更にアドレスバスを用いて、内視鏡画像データの格納先のアドレスを指定する。こうして、JPEG圧縮/伸張手段24により圧縮して出力された内視鏡画像データが、ドライバ25およびデータバスを介して、PCカード6へ記録される。   When recording an endoscopic image on the PC card 6, the CPU 27 first outputs a recording command to the driver 25. Next, the driver 25 outputs a recording request signal to the PC card 6, and further designates an address for storing the endoscope image data using the address bus. Thus, the endoscope image data compressed and output by the JPEG compression / expansion means 24 is recorded on the PC card 6 via the driver 25 and the data bus.

PCカード6から内視鏡画像データを読み出す場合は、まず、CPU27がドライバ25に対して読み出しコマンドを出力する。次に、ドライバ25はPCカード6に対して読み出し要求信号を出力し、更にアドレスバスを用いて、所望する内視鏡画像データの格納先のアドレスを指定する。こうして、データバスおよびドライバ25を介して、読み出された内視鏡画像データが、JPEG圧縮/伸張手段24によって伸張された後、出力される。   When reading endoscopic image data from the PC card 6, first, the CPU 27 outputs a read command to the driver 25. Next, the driver 25 outputs a read request signal to the PC card 6, and further designates a desired storage address of the endoscope image data using the address bus. Thus, the read endoscope image data is expanded by the JPEG compression / expansion means 24 via the data bus and the driver 25 and then output.

記録要求信号および読み出し要求信号は、図3の制御信号に含まれる。したがって、PCカード6に対する内視鏡画像データの記録あるいは読み出し処理は、CPU27の指示に基づくものであり、CPU27およびソフトウェアの管理下にある。このため、PCカードへの記録あるいは読み出し処理が実行中か否かの判断を、ソフトウェア上で行うことが可能である。具体的には、ソフトウェア内の、記録モジュールあるいは読み出しモジュールが実行中か否かを監視することにより、PCカード6への記録状態あるいは読み出し状態を検知することができる。   The recording request signal and the read request signal are included in the control signal of FIG. Therefore, the process of recording or reading the endoscope image data with respect to the PC card 6 is based on an instruction from the CPU 27 and is under the control of the CPU 27 and software. For this reason, it is possible to determine on the software whether the recording or reading process to the PC card is being executed. Specifically, it is possible to detect the recording state or reading state of the PC card 6 by monitoring whether the recording module or the reading module in the software is being executed.

フォトインタラプタ33は、「コの字」形を有する物体判別素子である。これは、光の受光状態により物体の有無を判別することができる。このフォトインタラプタ33が、PCカード6の接続検知、すなわちPCカード6がPCカードコネクタ7に挿入されているか否かを判別するために用いられる。この接続検知情報は、CPU27へ出力される。フォトインタラプタ33は、PCカード6挿入時、PCカードコネクタおよびPCカード6の一部を覆うように配置される。   The photo interrupter 33 is an object discrimination element having a “U” shape. This can determine the presence or absence of an object based on the light receiving state. The photo interrupter 33 is used to detect connection of the PC card 6, that is, determine whether or not the PC card 6 is inserted into the PC card connector 7. This connection detection information is output to the CPU 27. The photo interrupter 33 is arranged so as to cover a part of the PC card connector and the PC card 6 when the PC card 6 is inserted.

図4は、本実施例に係るフォトインタラプタによるPCカードの接続検知手法についての詳細図であり、これは、図3のX−X´に沿った断面図を示す。
「コの字」形を有するフォトインタラプタ33は、発光素子39と受光素子38とを備え、これら素子は対向する位置関係にある。発光素子39が発光すると、受光素子38はその光を受光する。このように、発光素子39と受光素子38との間に、光を遮る物体が存在するか否かを検知する。受光素子38の検知情報は、CPU27へ出力される。
FIG. 4 is a detailed view of the PC card connection detection method using the photo interrupter according to the present embodiment, which shows a cross-sectional view taken along the line XX ′ of FIG.
A photointerrupter 33 having a “U” shape includes a light emitting element 39 and a light receiving element 38, and these elements are in a positional relationship facing each other. When the light emitting element 39 emits light, the light receiving element 38 receives the light. In this way, it is detected whether or not there is an object that blocks light between the light emitting element 39 and the light receiving element 38. Detection information of the light receiving element 38 is output to the CPU 27.

フォトインタラプタ33は、PCカードコネクタ7の一部を覆うように配置される。更に、PCカードコネクタ7の一部には空隙が設けられており、PCカードコネクタ7にPCカード6が挿入されていない状態では、発光素子39から射出された光は、PCカードコネクタ7に設けられた空隙を通過し、受光素子38まで到達する。   The photo interrupter 33 is disposed so as to cover a part of the PC card connector 7. Furthermore, a gap is provided in a part of the PC card connector 7, and light emitted from the light emitting element 39 is provided in the PC card connector 7 when the PC card 6 is not inserted into the PC card connector 7. It passes through the formed gap and reaches the light receiving element 38.

図4(a)は、PCカードコネクタ7にPCカード6が挿入されている状態を示す。この場合、PCカード6がPCカードコネクタ7に存在することにより、発光素子39から射出された光は、PCカード6にて遮断され、光は受光素子38まで到達しない。このように、PCカード6が挿入されているときは、受光素子38は非受光状態であることを検知し、この検知情報をCPU27へ出力する。受光素子38からの検知情報に基づき、CPU27は、PCカード6がPCカードコネクタ7に接続されていると判断する。   FIG. 4A shows a state where the PC card 6 is inserted into the PC card connector 7. In this case, since the PC card 6 exists in the PC card connector 7, the light emitted from the light emitting element 39 is blocked by the PC card 6, and the light does not reach the light receiving element 38. Thus, when the PC card 6 is inserted, it is detected that the light receiving element 38 is in a non-light receiving state, and this detection information is output to the CPU 27. Based on the detection information from the light receiving element 38, the CPU 27 determines that the PC card 6 is connected to the PC card connector 7.

図4(b)は、PCカードコネクタ7にPCカード6が挿入されていない状態を示す。この場合、発光素子39から射出された光は、PCカードコネクタ7に設けられた空隙を通過するので、遮断されずに受光素子38まで到達する。このように、PCカード6が挿入されていないときは、受光素子38は受光状態であることを検知し、この検知情報をCPU27へ出力する。受光素子38からの検知情報に基づき、CPU27は、PCカード6がPCカードコネクタ7に接続されていないと判断する。   FIG. 4B shows a state in which the PC card 6 is not inserted into the PC card connector 7. In this case, the light emitted from the light emitting element 39 passes through the gap provided in the PC card connector 7 and thus reaches the light receiving element 38 without being blocked. Thus, when the PC card 6 is not inserted, the light receiving element 38 detects that it is in a light receiving state, and outputs this detection information to the CPU 27. Based on the detection information from the light receiving element 38, the CPU 27 determines that the PC card 6 is not connected to the PC card connector 7.

以上説明したように、電子内視鏡装置1からPCカード6への内視鏡画像データの記録動作、PCカード6から電子内視鏡装置1への内視鏡画像データの読み込み動作およびPCカード6がPCカードコネクタ7に接続されているか否かについて、判別する検知を行うことにより、電子内視鏡装置1とPCカード6とのアクセス状態が詳細に把握される。   As described above, the endoscope image data recording operation from the electronic endoscope apparatus 1 to the PC card 6, the endoscope image data reading operation from the PC card 6 to the electronic endoscope apparatus 1, and the PC card By detecting whether or not 6 is connected to the PC card connector 7, the access state between the electronic endoscope apparatus 1 and the PC card 6 can be grasped in detail.

電子内視鏡装置1とPCカード6とのアクセス状態が把握されることを利用して、内視鏡画像データの破壊およびPCカード6の故障を防ぐ。PCカード6が図4(a)から図4(b)へと、すなわちPCカード6が挿入状態から非挿入状態への変化をフォトインタラプタ33が検知した場合、更に記録動作あるいは読み出し動作について動作中であるか否かを判断する。   Using the fact that the access state between the electronic endoscope apparatus 1 and the PC card 6 is grasped, the destruction of the endoscope image data and the failure of the PC card 6 are prevented. When the PC card 6 changes from FIG. 4 (a) to FIG. 4 (b), that is, when the photo interrupter 33 detects a change from the inserted state to the non-inserted state, the recording operation or the reading operation is still in progress. It is determined whether or not.

挿入されているPCカード6が抜去されようとしていることをフォトインタラプタ33が検知し、かつ記録あるいは読み出し動作中と判断されると、CPU27は通知を行い、内視鏡画像データの記録動作あるいは読み込み動作を強制終了させる。また、CPU27は、図3のPCカード電源35からPCカード6への電力の供給を禁止させる。PCカード電源35がPCカードへの電力供給を停止すると、PCカード6と電子内視鏡装置1とは、非アクセス状態となる。このため、ユーザが抜去動作を行っても、PCカード6の故障を防ぐことができる。   When the photo interrupter 33 detects that the inserted PC card 6 is about to be removed and it is determined that the recording or reading operation is being performed, the CPU 27 gives a notification to record or read the endoscope image data. The operation is forcibly terminated. Further, the CPU 27 prohibits the supply of power from the PC card power source 35 in FIG. 3 to the PC card 6. When the PC card power supply 35 stops supplying power to the PC card, the PC card 6 and the electronic endoscope device 1 are in an inaccessible state. For this reason, even if a user performs extraction operation, failure of the PC card 6 can be prevented.

なお、本実施例においては、PCカードコネクタ7は、図2に示すようにプロセッサ4に内蔵されているが、これに限定されるものではない。例えば、PCカードコネクタがプロセッサに外部から別途接続されるような構成をとることとしてもよい。
また、ドライバ25およびフォトインタラプタ33は、CPU27に接続され、CPU27がPCカードの記録検知処理や読み出し検知処理、あるいはPCカード6の接続検知処理を行っているが、これに限定されるものではない。例えば、各種判別処理をPLD(プログラマブルロジックデバイス)のようなデバイスにて行うこととしてもよい。
In this embodiment, the PC card connector 7 is built in the processor 4 as shown in FIG. 2, but the present invention is not limited to this. For example, the PC card connector may be separately connected to the processor from the outside.
In addition, the driver 25 and the photo interrupter 33 are connected to the CPU 27, and the CPU 27 performs a PC card recording detection process, a reading detection process, or a PC card 6 connection detection process, but the present invention is not limited to this. . For example, various determination processes may be performed by a device such as a PLD (programmable logic device).

更に、本実施例においては、PCカード6とPCカードコネクタ7との接続状態を検知する手段としてフォトインタラプタ33を用いたが、これに限定されるものではない。例えば、接点スイッチのような手段を用いてPCカード6の挿入を物理的に検知してもよいし、PCカード6とドライバ25との間の制御信号の状態を監視することにより、ソフトウェアにおいて検知することとしてもよい。   Furthermore, in the present embodiment, the photo interrupter 33 is used as means for detecting the connection state between the PC card 6 and the PC card connector 7, but the present invention is not limited to this. For example, the insertion of the PC card 6 may be physically detected using a means such as a contact switch, or the software detects by monitoring the state of the control signal between the PC card 6 and the driver 25. It is good to do.

実施例2は、外観構成については図1で表され、実施例1と同様であるが、4つの点において、実施例1と相違する。4つの点とは、PCカードコネクタ7の開口部に保護扉(保護手段)が設けられた点、フォトインタラプタが、PCカードの接続検知を行うのではなく、保護扉の開閉検知を行う点、PCカード電源がCPUによって制御される点およびLEDを設けた点である。実施例1と同様の構成、作用および効果を有するものについては説明を割愛し、実施例1との相違点について説明する。   The second embodiment is the same as the first embodiment in terms of the external configuration, but is different from the first embodiment in four respects. The four points are the point that a protective door (protection means) is provided in the opening of the PC card connector 7, the point that the photo interrupter detects the opening and closing of the protective door instead of detecting the connection of the PC card, The PC card power supply is controlled by the CPU and the LED is provided. A description of components having the same configuration, operation, and effects as in the first embodiment will be omitted, and differences from the first embodiment will be described.

本実施例における電子内視鏡装置の外観構成は図1で表され、実施例1のそれと同様である。図5は、本実施例に係る電子内視鏡装置の内部構成を示したブロック図を示す。
PCカード6をPCカードコネクタ7に挿入する際の挿入口となる開口部には、開閉式の保護扉26が設けられている。保護扉26は回転式に開閉する。この保護扉26は、ユーザにより開かれている状態を除き、常に、PCカードコネクタ7の開口部を覆った状態にされている。PCカードコネクタ7の開口部は、図6に示されるように、プロセッサ4のフロントパネル上に位置しているので、保護扉26もプロセッサ4のフロントパネル上に設けられている。ユーザがPCカード6の挿抜動作を行う際には、この保護扉26が開かれ、PCカードコネクタ7の開口部が開口状態にされる。
The external configuration of the electronic endoscope apparatus in the present embodiment is shown in FIG. 1 and is the same as that of the first embodiment. FIG. 5 is a block diagram illustrating an internal configuration of the electronic endoscope apparatus according to the present embodiment.
An opening-and-closing protective door 26 is provided at an opening serving as an insertion port when the PC card 6 is inserted into the PC card connector 7. The protective door 26 opens and closes in a rotating manner. The protective door 26 is always in a state of covering the opening of the PC card connector 7 except for the state opened by the user. Since the opening of the PC card connector 7 is located on the front panel of the processor 4 as shown in FIG. 6, the protective door 26 is also provided on the front panel of the processor 4. When the user performs the insertion / removal operation of the PC card 6, the protective door 26 is opened and the opening of the PC card connector 7 is opened.

フォトインタラプタ33が、保護扉26の開閉動作を検知する。
PCカード電源35は、CPU27によりPCカード6への電力供給を許可/禁止される。
LEDランプ41は、PCカード6が接続されているか否か、PCカード6に対して内視鏡画像データを記録中か否かあるいはPCカード6より内視鏡画像データを読み出し中か否か、等の情報をユーザに視覚的に明示し、警告するために設けられている。LEDランプ41は、同一色のLEDが必要な数だけ設けられていてもよいし、異なる色のLEDが必要数設けられていてもよい。また、LEDは1つのみで、点灯方法を変えることで複数の警告機能を持たせることとしてもよい。
The photo interrupter 33 detects the opening / closing operation of the protective door 26.
The PC card power supply 35 is permitted / prohibited by the CPU 27 to supply power to the PC card 6.
The LED lamp 41 determines whether the PC card 6 is connected, whether the endoscope image data is being recorded on the PC card 6, or whether the endoscope image data is being read from the PC card 6, Such information is provided for visually indicating and warning the user. The LED lamp 41 may be provided with the required number of LEDs of the same color, or may be provided with the required number of LEDs of different colors. In addition, only one LED may be provided, and a plurality of warning functions may be provided by changing the lighting method.

なお、ユーザへの警告は、LEDランプ41によるものに限定されない。例えば、図1のTVモニタ32等に対して警告内容を表示させることとしてもよい。
図6で、本実施例に係るPCカード制御部(図5に示したPCカードコネクタ7、ドライバ25、CPU27、PCカード電源35からなる部分)を詳細に示す。保護扉26、フォトインタラプタ33、PCカード電源35およびLEDランプ41の動作について、図7を参照しながら説明する。
Note that the warning to the user is not limited to that by the LED lamp 41. For example, the warning content may be displayed on the TV monitor 32 of FIG.
FIG. 6 shows in detail the PC card control unit (the part comprising the PC card connector 7, the driver 25, the CPU 27, and the PC card power source 35 shown in FIG. 5) according to the present embodiment. Operations of the protective door 26, the photo interrupter 33, the PC card power supply 35, and the LED lamp 41 will be described with reference to FIG.

PCカードコネクタ7の開口部に、開閉可能な保護扉26が備えられている。ユーザがPCカード6を抜去する際には、保護扉26は開かれ、PCカード6を抜去しないときは、保護扉26は閉じられている。このことを利用し、保護扉26の開閉状態を監視することにより、PCカード6の挿抜を判別する。   A protective door 26 that can be opened and closed is provided at the opening of the PC card connector 7. When the user removes the PC card 6, the protective door 26 is opened. When the user does not remove the PC card 6, the protective door 26 is closed. By utilizing this fact, the insertion / removal of the PC card 6 is determined by monitoring the open / closed state of the protective door 26.

フォトインタラプタ33を用いて、保護扉26の開閉状態を監視している。保護扉26の開閉状態を検知したフォトインタラプタ33は、その検知情報をCPU27へ出力する。
ユーザがPCカード6を抜去しようとしている場合、すなわちフォトインタラプタ33より、保護扉26が開口状態であるという検知情報をCPU27が受信した場合、CPU27は、直ちにドライバ25に対してPCカード6との内視鏡画像データの記録動作あるいは内視鏡画像データの読み出し動作を停止させる指示を行う。更に、CPU27は、PCカード電源35に対し、PCカード6への電力の供給を停止させる指示を行う。
The photo interrupter 33 is used to monitor the open / closed state of the protective door 26. The photo interrupter 33 that has detected the open / closed state of the protective door 26 outputs the detection information to the CPU 27.
When the user tries to remove the PC card 6, that is, when the CPU 27 receives detection information from the photo interrupter 33 that the protective door 26 is open, the CPU 27 immediately notifies the driver 25 of the PC card 6. An instruction to stop the operation of recording the endoscope image data or the operation of reading the endoscope image data is issued. Further, the CPU 27 instructs the PC card power supply 35 to stop the supply of power to the PC card 6.

ユーザが保護扉26を開くと、PCカード6はプロセッサ4とのアクセスを停止される。このため、ユーザがPCカード6の抜去を行う際における、内視鏡画像データの破壊や、PCカード6の故障を防止することができる。
図7に、本実施例に係る保護扉とフォトインタラプタとの関係を示す。フォトインタラプタ33は、保護扉26の開閉状態を常時検知している。
When the user opens the protective door 26, the PC card 6 is stopped from accessing the processor 4. For this reason, when the user removes the PC card 6, it is possible to prevent the destruction of the endoscope image data and the failure of the PC card 6.
FIG. 7 shows the relationship between the protective door and the photo interrupter according to the present embodiment. The photo interrupter 33 constantly detects the open / closed state of the protective door 26.

図7(a)は、保護扉26が閉じた状態、すなわち、PCカードコネクタ7の開口部が閉じた状態である。保護扉26からアーム26aが延びており、このアーム26aの先端に遮光板26bが設けられている。保護扉26を閉じた状態においては遮光板26bが発光素子39と受光素子38との間に位置している。保護扉26を開けると、その回転に伴い遮光板26bがフォトインタラプタ33から離れた位置へ退避する。図7(a)の状態においては、フォトインタラプタ33は、発光素子39と受光素子38との間が遮断されていることをCPU27に対して出力し、CPU27は、保護扉26が閉じていると認識する。   FIG. 7A shows a state where the protective door 26 is closed, that is, a state where the opening of the PC card connector 7 is closed. An arm 26a extends from the protective door 26, and a light shielding plate 26b is provided at the tip of the arm 26a. When the protective door 26 is closed, the light shielding plate 26 b is located between the light emitting element 39 and the light receiving element 38. When the protective door 26 is opened, the light shielding plate 26b is retracted to a position away from the photo interrupter 33 along with the rotation. In the state of FIG. 7A, the photo interrupter 33 outputs to the CPU 27 that the light emitting element 39 and the light receiving element 38 are blocked, and the CPU 27 indicates that the protective door 26 is closed. recognize.

図7(b)は、保護扉26が開いた状態、すなわち、PCカードコネクタ7の開口部が開いた状態である。保護扉26は、T−T´を軸として回転する。保護扉26が開いた状態においては、発光素子39と受光素子38との間には保護扉26が存在しないよう、保護扉26およびフォトインタラプタ33が配置される。このとき、フォトインタラプタ33は、発光素子39と受光素子38との間は遮断されていないことをCPU27に対して出力し、CPU27は、保護扉26が開いていると認識する。   FIG. 7B shows a state where the protective door 26 is opened, that is, a state where the opening of the PC card connector 7 is opened. The protective door 26 rotates around TT ′. When the protective door 26 is open, the protective door 26 and the photo interrupter 33 are arranged so that the protective door 26 does not exist between the light emitting element 39 and the light receiving element 38. At this time, the photo interrupter 33 outputs to the CPU 27 that the light emitting element 39 and the light receiving element 38 are not blocked, and the CPU 27 recognizes that the protective door 26 is open.

なお、本実施例においては、保護扉26の一部分により、発光素子39と受光素子38との間を遮断することとしたが、これに限られるものではない。例えば、保護扉26に連動して可動する部材が、発光素子39と受光素子38との間を遮断することとしてもよい。   In the present embodiment, the light-emitting element 39 and the light-receiving element 38 are blocked by a part of the protective door 26, but the present invention is not limited to this. For example, a member that moves in conjunction with the protective door 26 may block between the light emitting element 39 and the light receiving element 38.

また、本実施例では保護扉26の開閉検知手段として、フォトインタラプタ33を用いたが、これに限られるものではない。このほか、例えば接点スイッチのような手段を用い、PCカードの挿入を物理的に検知することとしてもよい。
図8は、プロセッサ4のソフトウェアの処理を示すフローチャートである。保護扉の開閉状態やPCカードへの記録あるいはPCカードからの読み出し状態を検知し、データ破壊を防止するための処理について、以下、具体的に示す。
In the present embodiment, the photo interrupter 33 is used as the opening / closing detection means of the protective door 26, but the present invention is not limited to this. In addition, for example, a means such as a contact switch may be used to physically detect insertion of a PC card.
FIG. 8 is a flowchart showing software processing of the processor 4. The processing for detecting the opening / closing state of the protective door, the recording on the PC card or the reading state from the PC card and preventing the data destruction will be specifically described below.

まず、PCカード6がPCカードコネクタ7に接続されているか否かを検知する(ステップS11、以下S……とする)。PCカード6の接続検知方法は、実施例1では、物理的にPCカード6の検知を行っている。本実施例においては、ソフトウェアを用いて検知を行う。具体的には、図6で示したドライバ25とPCカード6との間の制御信号に含まれる、PCMCIA規格にて定められている接続検知信号(不図示)を利用する。この接続検知信号を、ドライバ25を介し、CPU27において読み取り、PCカード6が接続されているか否かを判断する。常に、このPCカードが接続されているか否かについて検知する処理が行われている。S11において、PCカードが接続されていると判断されると、処理はS12へと進む。   First, it is detected whether or not the PC card 6 is connected to the PC card connector 7 (step S11, hereinafter referred to as S...). In the connection detection method of the PC card 6, in the first embodiment, the PC card 6 is physically detected. In the present embodiment, detection is performed using software. Specifically, a connection detection signal (not shown) defined in the PCMCIA standard, which is included in the control signal between the driver 25 and the PC card 6 shown in FIG. This connection detection signal is read by the CPU 27 via the driver 25 to determine whether or not the PC card 6 is connected. A process of detecting whether or not this PC card is always connected is performed. If it is determined in S11 that the PC card is connected, the process proceeds to S12.

S12において、保護扉26が開口しているか否かが判断される。保護扉の開閉検知は、フォトインタラプタ33において行う。保護扉の開閉状態についても、常に検知が行われる。S12において保護扉が開口状態であると判断されると、処理はS13へと進む。
S13で、PCカードへ内視鏡画像データを記録しているか否かを判断する。この記録動作の判断は、電子内視鏡装置のソフトウェア内の記録モジュールが実行中か否かを、ソフトウェア上で検知することにより行う。記録動作中であれば(S13でYesの場合)、処理はS15へと進む。記録動作中でなければ(S13でNoの場合)、処理を行わず、S14へと進む。
In S12, it is determined whether or not the protective door 26 is open. Detection of opening / closing of the protective door is performed by the photo interrupter 33. The open / close state of the protective door is always detected. If it is determined in S12 that the protective door is open, the process proceeds to S13.
In S13, it is determined whether or not endoscope image data is recorded on the PC card. The determination of the recording operation is performed by detecting on the software whether or not the recording module in the software of the electronic endoscope apparatus is being executed. If the recording operation is in progress (Yes in S13), the process proceeds to S15. If the recording operation is not in progress (No in S13), the process proceeds to S14 without performing the process.

S15では、現在の記録動作が終了するまで待機する。記録動作が終了した旨の通知等を受けると、処理はS16へと進む。S16において、CPU27は、ドライバ25に対し、PCカード記録動作を強制終了させるコマンドを送信する。強制終了コマンド送信後、処理はS14へと戻る。   In S15, the process waits until the current recording operation is completed. When a notification or the like indicating that the recording operation has been completed is received, the process proceeds to S16. In S <b> 16, the CPU 27 transmits a command for forcibly terminating the PC card recording operation to the driver 25. After sending the forced termination command, the process returns to S14.

次に、PCカードから内視鏡画像データを読み出し中か否かを判断する(S14)。この読み出し動作判断は、電子内視鏡装置1のソフトウェア内の読み出しモジュールが実行中か否かを、ソフトウェア上で検知することにより行う。読み出し動作中であれば(S14でYesの場合)、処理はS18へと進む。読み出し動作中でなければ(S14でNoの場合)、処理を行わず、S17へと進む。   Next, it is determined whether or not endoscope image data is being read from the PC card (S14). This read operation determination is performed by detecting on the software whether or not the read module in the software of the electronic endoscope apparatus 1 is being executed. If the read operation is in progress (Yes in S14), the process proceeds to S18. If the read operation is not in progress (No in S14), the process is not performed and the process proceeds to S17.

S18では、現在の読み出し動作が終了するまで待機する。読み出し動作が終了した旨の通知等を受けると、処理はS19へと進む。S19において、CPU27は、ドライバ25に対し、PCカード読み出し動作を強制終了させるコマンドを送信する。強制終了コマンド送信後、処理はS17へと戻る。   In S18, the process waits until the current reading operation is completed. When a notification or the like indicating that the reading operation has been completed is received, the process proceeds to S19. In S <b> 19, the CPU 27 transmits a command for forcibly terminating the PC card reading operation to the driver 25. After sending the forced termination command, the process returns to S17.

S17で、CPU27は、PCカード電源35に対し、PCカード6への電力供給を禁止する。PCカード電源35がPCカードへの電力供給を停止すると、PCカード6と電子内視鏡装置1とは、非アクセス状態となる。このため、ユーザが抜去動作を行っても、PCカード6に記録される内視鏡画像データが破壊されることおよびPCカード6の故障を防ぐ。   In S <b> 17, the CPU 27 prohibits the PC card power supply 35 from supplying power to the PC card 6. When the PC card power supply 35 stops supplying power to the PC card, the PC card 6 and the electronic endoscope device 1 are in an inaccessible state. For this reason, even if the user performs the removal operation, the endoscope image data recorded on the PC card 6 is prevented from being destroyed and the PC card 6 from being broken.

以上説明したように、本実施例におけるPCカードへの記録状態の検知およびPCカードからの読み出し状態の検知、保護扉の開閉検知を行うことにより、PCカードに記録される内視鏡画像データを破壊せず、PCカードの故障を防止して、安全にPCカードを抜去することができる。   As described above, the endoscope image data recorded on the PC card is detected by detecting the recording state on the PC card, detecting the reading state from the PC card, and detecting the opening / closing of the protective door in this embodiment. Without destroying the PC card, it is possible to prevent the PC card from being broken and to safely remove the PC card.

本実施例は、外観構成においては図1で表され、実施例1および実施例2と同様である。ユーザによるPCカードの抜去によるデータの破壊およびPCカードの故障を防ぐため、電子内視鏡装置1がPCカードの抜去手段を備えている点において、実施例1および実施例2と差異を有する。図9を用いて、本実施例にかかるPCカード制御部の構成について説明する。なお、図9の構成要素において、図3あるいは図6の、実施例1あるいは実施例2にかかるPCカード制御部36と重複するものについては、同一の符号を用いている。   The present embodiment is represented in FIG. 1 in the appearance configuration, and is the same as the first and second embodiments. The electronic endoscope apparatus 1 is different from the first embodiment and the second embodiment in that the electronic endoscope apparatus 1 includes a PC card removal means in order to prevent data destruction and failure of the PC card due to removal of the PC card by the user. The configuration of the PC card control unit according to this embodiment will be described with reference to FIG. 9 that overlap with the PC card control unit 36 according to the first or second embodiment of FIG. 3 or 6 in FIG. 3 or FIG.

PCカード6は、PCカードコネクタ7と接続される際に、複数のコネクタピン37にて接続される。具体的には、PCカードコネクタ7に実装されているコネクタピン37が、PCカード6に設けられたコネクタ穴(不図示)に挿入されることで、接続される。このコネクタピン37は、数が多い上に、非常に細い。したがって、PCカード6をPCカードコネクタ7から抜去する際に、ユーザが不用意に抜去すると、コネクタピン37が曲がってしまったり、PCカード6が破損したりする恐れがある。   The PC card 6 is connected by a plurality of connector pins 37 when connected to the PC card connector 7. Specifically, the connector pin 37 mounted on the PC card connector 7 is connected by being inserted into a connector hole (not shown) provided in the PC card 6. The connector pins 37 are numerous and very thin. Therefore, if the user carelessly removes the PC card 6 from the PC card connector 7, the connector pins 37 may be bent or the PC card 6 may be damaged.

そこで、図9に示すように、物理的にPCカード6をコネクタピン37側から押し出すことのできるイジェクト棒42を設ける。イジェクト棒42による抜去機構は、イジェクト棒42、回転軸45を備える支持棒43およびイジェクト板44から構成される。図9(a)は、PCカード6をPCカードコネクタ7に挿入した状態である。   Therefore, as shown in FIG. 9, an eject bar 42 that can physically push out the PC card 6 from the connector pin 37 side is provided. The extraction mechanism by the eject bar 42 is composed of an eject bar 42, a support bar 43 having a rotation shaft 45, and an eject plate 44. FIG. 9A shows a state in which the PC card 6 is inserted into the PC card connector 7.

図9(b)は、PCカード6をPCカードコネクタ7から抜去するときを示す。この場合、ユーザが、イジェクト棒42を図9(b)の右矢印方向へと押す。イジェクト棒42に接続された支持棒43は、回転軸45を中心にして反時計回りに回転する。イジェクト板44もまた支持棒43に接続されているため、イジェクト板44は、図9(b)の左矢印方向へ向かって押し出される。   FIG. 9B shows when the PC card 6 is removed from the PC card connector 7. In this case, the user pushes the eject rod 42 in the right arrow direction in FIG. The support bar 43 connected to the eject bar 42 rotates counterclockwise about the rotation shaft 45. Since the eject plate 44 is also connected to the support rod 43, the eject plate 44 is pushed out in the direction of the left arrow in FIG. 9B.

イジェクト板44は、左矢印方向に移動しても、コネクタピン37に干渉せずにPCカード6に接触するように配置されている。イジェクト板44が左矢印方向に移動すると、PCカード6が左矢印方向に押し出される。その結果、イジェクト棒42を右矢印方向に押すことにより、ユーザはPCカード6に非接触でPCカードコネクタ7から抜去することができる。イジェクト板44は、PCカード6に対して力の偏りなく左矢印方向へ押し出す。このため、PCカード6を抜去する際のコネクタピン37の屈曲や、PCカード6の故障を防ぐことができる。   The eject plate 44 is arranged so as to contact the PC card 6 without interfering with the connector pin 37 even if it moves in the direction of the left arrow. When the eject plate 44 moves in the direction of the left arrow, the PC card 6 is pushed out in the direction of the left arrow. As a result, the user can remove the PC card 6 from the PC card connector 7 without contacting the PC card 6 by pushing the eject bar 42 in the direction of the right arrow. The eject plate 44 pushes the PC card 6 in the direction of the left arrow without biasing the force. For this reason, it is possible to prevent bending of the connector pins 37 when the PC card 6 is removed and failure of the PC card 6.

図9(c)は、イジェクト棒44を無効化し、PCカード6の抜去を禁止状態にした図である。PCカード6の抜去を禁止するとき、モータ等の駆動手段(不図示)がストッパー47を図9(c)の位置に移動させることにより、ストッパー47は、CPU27の指示により、図9(c)の上矢印方向に移動し、図9(c)の位置に配置される。ストッパー47は、スライドレール46により、滑らかに移動することができる。   FIG. 9C is a diagram in which the eject rod 44 is invalidated and the removal of the PC card 6 is prohibited. When the removal of the PC card 6 is prohibited, a driving means (not shown) such as a motor moves the stopper 47 to the position of FIG. 9C, and the stopper 47 is instructed by the CPU 27 according to the instruction of the CPU 27. It moves in the direction of the up arrow and is arranged at the position of FIG. The stopper 47 can move smoothly by the slide rail 46.

ストッパー47が図9(c)の位置に移動すると、ストッパー47が、イジェクト棒42の右方向への移動を妨げる。ユーザがイジェクト棒42を押しても、PCカード6を抜去できない。CPU27は、PCカード6に対して、内視鏡画像データを記録中であることを検知した場合あるいはPCカード6より内視鏡画像データを読み出し中であることを検知した場合において、ストッパー47に対して図9(c)の位置に移動するよう指示を行う。記録動作あるいは読み出し動作が終了すると、CPU27は、ストッパー47を元の位置(図9(a)の位置)、に戻す。これにより、PCカード6に対して内視鏡画像データを記録中あるいはPCカード6より内視鏡画像データを読み出し中は、ユーザはPCカード6を抜去することができない。したがって、PCカード6に記録される内視鏡画像データの破壊やPCカード6の故障を防ぐことができる。   When the stopper 47 moves to the position shown in FIG. 9C, the stopper 47 prevents the eject rod 42 from moving in the right direction. Even if the user presses the eject rod 42, the PC card 6 cannot be removed. When the CPU 27 detects that the endoscope image data is being recorded on the PC card 6 or detects that the endoscope image data is being read from the PC card 6, the CPU 27 applies the stopper 47 to the stopper 47. An instruction is given to move to the position shown in FIG. When the recording operation or the reading operation is completed, the CPU 27 returns the stopper 47 to the original position (the position shown in FIG. 9A). Thus, the user cannot remove the PC card 6 while the endoscope image data is being recorded on the PC card 6 or while the endoscope image data is being read from the PC card 6. Therefore, destruction of the endoscope image data recorded on the PC card 6 and failure of the PC card 6 can be prevented.

なお、上記の本実施例においては、ストッパー47を用いて物理的にイジェクト棒42の抜去操作を禁止しているが、これに限定されるものではない。例えば、電気的に電磁石を用いて、イジェクト棒42の抜去操作を禁止することとしてもよい。また、例えばPCカードコネクタ7が電動モーターでPCカード6を抜去するものであっても、同様にCPU27により抜去禁止命令を電動モーターに指示することにより、ユーザの抜去操作を禁止することができる。   In the above-described embodiment, the ejecting rod 42 is physically prohibited from being removed using the stopper 47, but the present invention is not limited to this. For example, the removal operation of the eject rod 42 may be prohibited by using an electromagnet electrically. For example, even if the PC card connector 7 is used to remove the PC card 6 with an electric motor, the user can prohibit the user's removal operation by instructing the electric motor to withdraw the removal prohibition instruction.

このほか、本発明は以上の例に限定されることなく、更に種々変形して実施することができる。   In addition, the present invention is not limited to the above examples, and can be implemented with various modifications.

本発明における電子内視鏡装置の外観構成の一例を示した図である。It is the figure which showed an example of the external appearance structure of the electronic endoscope apparatus in this invention. 実施例1に係る電子内視鏡装置の内部構成を示したブロック図である。1 is a block diagram illustrating an internal configuration of an electronic endoscope apparatus according to Embodiment 1. FIG. 実施例1に係るPCカード制御部を詳細に示した図である。It is the figure which showed the PC card control part which concerns on Example 1 in detail. 実施例1に係るフォトインタラプタによるPCカードの接続検知手法についての詳細図である。FIG. 3 is a detailed view of a PC card connection detection method using a photo interrupter according to the first embodiment. 実施例2に係る電子内視鏡装置の内部構成を示したブロック図である。FIG. 6 is a block diagram illustrating an internal configuration of an electronic endoscope apparatus according to a second embodiment. 実施例2に係るPCカード制御部を詳細に示した図である。It is the figure which showed the PC card control part which concerns on Example 2 in detail. 実施例2に係る保護扉とフォトインタラプタとの関係を示した図である。It is the figure which showed the relationship between the protective door which concerns on Example 2, and a photo interrupter. 実施例2に係るソフトウェアのフローチャート図である。FIG. 10 is a flowchart of software according to a second embodiment. 実施例3に係るPCカード制御部を示した図である。FIG. 10 is a diagram illustrating a PC card control unit according to a third embodiment.

符号の説明Explanation of symbols

1 電子内視鏡装置
2 スコープ
3 光源装置
4 プロセッサ
6 PCカード
7 PCカードコネクタ
26 保護扉
33 フォトインタラプタ
38 受光素子
39 発光素子

DESCRIPTION OF SYMBOLS 1 Electronic endoscope apparatus 2 Scope 3 Light source apparatus 4 Processor 6 PC card 7 PC card connector 26 Protective door 33 Photo interrupter 38 Light receiving element 39 Light emitting element

Claims (4)

内視鏡にて撮像した被検体像より得られる内視鏡画像あるいは該内視鏡画像に関連する内視鏡関連情報を、可搬記録媒体に対して記録させることが可能な電子内視鏡装置において、
前記可搬記録媒体への、前記内視鏡画像あるいは前記内視鏡関連情報の記録に関し、記録中であるか否かを検知する記録検知手段と、
前記可搬記録媒体からの、前記内視鏡画像あるいは前記内視鏡関連情報の読み出しに関し、読み出し中であるか否かを検知する読み出し検知手段と、
前記可搬記録媒体との接続コネクタの開口部に設けられ、該接続コネクタを保護する開閉式の保護手段と、
前記保護手段の開閉状態を検知する開閉状態検知手段と、
前記可搬記録媒体に対して電力を供給する電力供給手段と、
前記開閉状態検知手段により前記保護手段が開状態であることが検出されたときに、前記記録検知手段あるいは前記読み出し検知手段の検知結果に基づいて、前記可搬記録媒体への記録動作あるいは前記可搬記録媒体からの読み出し動作を強制終了させ、前記電力供給手段による電力の供給を強制遮断させる動作強制終了手段と
を備えることを特徴とする電子内視鏡装置。
Electronic endoscope capable of recording an endoscope image obtained from a subject image picked up by an endoscope or endoscope related information related to the endoscope image on a portable recording medium In the device
Recording detection means for detecting whether or not recording is being performed with respect to recording of the endoscope image or the endoscope related information on the portable recording medium;
Read-out detection means for detecting whether the endoscope image or the endoscope-related information is being read out from the portable recording medium,
An opening-and-closing type protective means provided at an opening of a connection connector with the portable recording medium, and protecting the connection connector;
An open / close state detection means for detecting an open / close state of the protection means;
Power supply means for supplying power to the portable recording medium;
When the open / close state detection means detects that the protection means is in the open state, based on the detection result of the record detection means or the read detection means, the recording operation to the portable recording medium or the possible An electronic endoscope apparatus comprising: an operation forcibly ending unit that forcibly terminates a reading operation from a portable recording medium and forcibly cuts off power supply by the power supply unit.
前記記録検知手段、前記読み出し検知手段あるいは前記開閉状態検知手段が検知した内容に基づいて、警告を行う警告表示手段
を更に備えることを特徴とする、請求項1に記載の電子内視鏡装置。
The electronic endoscope apparatus according to claim 1, further comprising a warning display unit that issues a warning based on contents detected by the record detection unit, the read detection unit, or the open / close state detection unit.
前記可搬記録媒体を、前記接続コネクタから抜去する抜去手段
を更に備えることを特徴とする、請求項1または2に記載の電子内視鏡装置。
The electronic endoscope apparatus according to claim 1, further comprising an extraction unit that extracts the portable recording medium from the connection connector.
前記記録検知手段あるいは前記読み出し検知手段が前記可搬記録媒体への記録動作あるいは前記可搬記録媒体からの読み出し動作を検知する場合、前記抜去手段の動作を無効化する抜去禁止手段
を更に備えることを特徴とする、請求項3に記載の電子内視鏡装置。

When the recording detection unit or the reading detection unit detects a recording operation on the portable recording medium or a reading operation from the portable recording medium, the recording detection unit or the reading detection unit further includes an extraction prohibiting unit that invalidates the operation of the extraction unit. The electronic endoscope apparatus according to claim 3, wherein:

JP2003403355A 2003-12-02 2003-12-02 Electronic endoscope apparatus Pending JP2005160724A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003403355A JP2005160724A (en) 2003-12-02 2003-12-02 Electronic endoscope apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003403355A JP2005160724A (en) 2003-12-02 2003-12-02 Electronic endoscope apparatus

Publications (2)

Publication Number Publication Date
JP2005160724A true JP2005160724A (en) 2005-06-23
JP2005160724A5 JP2005160724A5 (en) 2006-12-14

Family

ID=34726686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003403355A Pending JP2005160724A (en) 2003-12-02 2003-12-02 Electronic endoscope apparatus

Country Status (1)

Country Link
JP (1) JP2005160724A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009189528A (en) * 2008-02-14 2009-08-27 Fujinon Corp Processor unit for endoscope and endoscopic system
JPWO2016017493A1 (en) * 2014-07-28 2017-04-27 オリンパス株式会社 Endoscope system and image processing apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009189528A (en) * 2008-02-14 2009-08-27 Fujinon Corp Processor unit for endoscope and endoscopic system
JPWO2016017493A1 (en) * 2014-07-28 2017-04-27 オリンパス株式会社 Endoscope system and image processing apparatus
US10506916B2 (en) 2014-07-28 2019-12-17 Olympus Corporation Endoscopic system and image processing device

Similar Documents

Publication Publication Date Title
JP2005538779A (en) Video recording and image capture device
EP1696653A3 (en) Imaging and recording apparatus
WO2006085415A1 (en) Endoscope device
JP2004282127A (en) Lid device and digital camera
US7471335B2 (en) Imaging unit, camera body and camera system
JP4632626B2 (en) Recording medium storage device and digital camera
JP2005160724A (en) Electronic endoscope apparatus
JP4264555B2 (en) Imaging device
JP2003162694A (en) Electronic equipment
KR20050008539A (en) Card reader
JPH1185915A (en) Device for detecting erroneous insertion of memory card
JP4813178B2 (en) Endoscope device
JP5293122B2 (en) Imaging device
JPH1117987A (en) Electronic image pickup unit
JP2004234487A (en) Recording medium protective mechanism
JP3482391B2 (en) Digital camera
JP2005018155A (en) Protector for memory card
JP2004185075A (en) Device of protecting recording medium and digital camera
KR200314723Y1 (en) SmartMedia TM card adapter with xD-Picture card connector
US20040124238A1 (en) Information processing apparatus
KR20050007175A (en) Electronic equipment device and method for protecting electronic equipment
JP2002290798A (en) Digital camera
JP2003298896A (en) Electronic apparatus
JP2007073160A (en) Peripheral device
KR20030038576A (en) SmartMedia™ card adapter with xD-Picture card connector

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061031

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090714

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090907

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100112

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100209

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100507

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20100512

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20100730