JP4242739B2 - IMAGING DEVICE AND METHOD FOR CONTROLLING SHOOTING LENS BARREL IN IMAGING DEVICE - Google Patents

IMAGING DEVICE AND METHOD FOR CONTROLLING SHOOTING LENS BARREL IN IMAGING DEVICE Download PDF

Info

Publication number
JP4242739B2
JP4242739B2 JP2003318174A JP2003318174A JP4242739B2 JP 4242739 B2 JP4242739 B2 JP 4242739B2 JP 2003318174 A JP2003318174 A JP 2003318174A JP 2003318174 A JP2003318174 A JP 2003318174A JP 4242739 B2 JP4242739 B2 JP 4242739B2
Authority
JP
Japan
Prior art keywords
lens barrel
printer
personal computer
photographing
retracted position
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.)
Expired - Fee Related
Application number
JP2003318174A
Other languages
Japanese (ja)
Other versions
JP2005086638A (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.)
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 JP2003318174A priority Critical patent/JP4242739B2/en
Priority to US10/936,038 priority patent/US7777779B2/en
Publication of JP2005086638A publication Critical patent/JP2005086638A/en
Application granted granted Critical
Publication of JP4242739B2 publication Critical patent/JP4242739B2/en
Priority to US12/830,985 priority patent/US8013892B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Structure And Mechanism Of Cameras (AREA)
  • Studio Devices (AREA)

Description

本発明は、沈胴可能な撮影レンズ鏡筒を有するデジタルカメラ等の撮像装置、当該撮像装置における撮影レンズ鏡筒の制御方法に関する。   The present invention relates to an imaging device such as a digital camera having a photographic lens barrel that can be retracted, and a method for controlling the photographic lens barrel in the imaging device.

従来、撮影時に撮影レンズ鏡筒をカメラ本体内の沈胴位置からカメラ本体前面から突出する撮影準備位置へ移動させ、非撮影時には撮影準備位置からカメラ本体内の沈胴位置へ沈胴させることにより、携帯性を向上させたデジタルカメラが知られている。このようなデジタルカメラには、撮影レンズ鏡筒の沈胴を電源スイッチのオンオフにより制御するタイプのもの、撮影レンズ鏡筒の沈胴をカメラ本体前面に設けられたバリアが撮影レンズを覆う閉位置と撮影レンズを露呈する開位置への移動により制御するタイプのもの、更に、撮影レンズ鏡筒の沈胴を撮影用の電源をカメラ本体に着脱することにより制御するタイプのものなどが知られている。撮影用の電源をカメラ本体に着脱することにより制御するタイプのものとしては、例えば、外部制御機器に装着可能な撮影機能付きメモリカードに撮影用の電源を装着すると、レンズが撮影準備位置へ移動し、撮影用の電源を取り外すと、レンズが沈胴する方式のデジタルカメラが知られている(例えば、特許文献1参照)。
特開平8−125962号公報
Conventionally, the shooting lens barrel is moved from the retracted position in the camera body to the shooting preparation position that protrudes from the front of the camera body during shooting, and retracted from the shooting preparation position to the retracted position in the camera body when not shooting. There are known digital cameras with improved image quality. Such a digital camera is of a type in which the collapsing of the taking lens barrel is controlled by turning on and off the power switch, and the taking lens barrel collapsing is taken in a closed position where the barrier provided on the front of the camera body covers the taking lens. There are known types that control by moving the lens to an open position that exposes the lens, and those that control the retraction of the photographic lens barrel by attaching and detaching a power supply for imaging to the camera body. As a type that controls the camera by attaching and detaching the camera power supply to the camera body, for example, when the camera power supply is attached to a memory card with a camera function that can be attached to an external control device, the lens moves to the camera preparation position. In addition, there is known a digital camera in which a lens is retracted when a photographing power supply is removed (for example, see Patent Document 1).
Japanese Patent Laid-Open No. 8-125962

また、近年、デジタルカメラとプリンタ装置とをUSB(Universal Serial Bus)ケーブルによりダイレクト接続し、デジタルカメラから所望の画像データをプリンタ装置へ直接転送して印刷するシステム(PictBridgeシステム)が実現されている。このシステムでは、ユーザがデジタルカメラの液晶画面を見ながら印刷したい画像を選択し、この選択された画像をUSBケーブルを介してデジタルカメラからプリンタ装置へ供給し、印刷する。   In recent years, a system (PictBridge system) has been realized in which a digital camera and a printer device are directly connected by a USB (Universal Serial Bus) cable, and desired image data is directly transferred from the digital camera to the printer device for printing. . In this system, the user selects an image to be printed while looking at the liquid crystal screen of the digital camera, and the selected image is supplied from the digital camera to the printer device via a USB cable and printed.

しかしながら、上述した従来の印刷システム(PictBridgeシステム)では、撮影モード状態のまま、即ち、撮影レンズ鏡筒がカメラ本体から前面に突出した状態のまま、プリンタ装置と接続完了しても、当該撮影レンズ鏡筒は移動せず、カメラ本体から前面から突出した状態のままであった。そのため、デジタルカメラを操作している時に、撮影レンズ鏡筒が障害物と接触する虞があった。特に、ユーザが液晶画面を見ながら操作している時は、障害物に気づきにくく、障害物と接触し撮影レンズ鏡筒が破損する可能性が一段と高かった。   However, in the above-described conventional printing system (PictBridge system), even if the connection with the printer device is completed in the shooting mode state, that is, the shooting lens barrel protrudes from the camera body to the front, The lens barrel did not move and remained protruding from the front of the camera body. Therefore, there is a possibility that the photographing lens barrel comes into contact with an obstacle when the digital camera is operated. In particular, when the user is operating while looking at the liquid crystal screen, it is difficult to notice the obstacle, and there is a higher possibility that the lens barrel will be damaged due to contact with the obstacle.

本発明は、このような事情を考慮してなされたもので、その目的は、撮影レンズ鏡筒がデジタルカメラから突出している撮影モード状態においてプリンタとの通信接続が完了した場合に、カメラ操作が行われても、撮影レンズ鏡筒と障害物とが衝突する不慮の事故を防止するようにした撮像装置、撮像装置における撮影レンズ鏡筒の制御方法を提供することにある。   The present invention has been made in view of such circumstances, and its purpose is to operate the camera when the communication connection with the printer is completed in the shooting mode state where the shooting lens barrel protrudes from the digital camera. Even if it is carried out, it is an object of the present invention to provide an image pickup apparatus and a method for controlling the taking lens barrel in the image pickup apparatus so as to prevent accidental accidents in which the taking lens barrel collides with an obstacle.

上記の課題を解決するために、本発明の撮像装置は、撮像装置本体前面から突出する突出位置と撮像装置本体内へ沈胴する沈胴位置とに移動可能な撮影レンズ鏡筒を有する撮像装置において、上記突出位置と上記沈胴位置との間で上記撮影レンズ鏡筒を移動させる移動手段と、プリンタまたはパーソナルコンピュータと電気的な接続がなされたか否かを認識する第1の認識手段と、上記第1の認識手段によって電気的な接続が認識された際に、現在設定されている動作モードを確認する動作モード確認手段と、上記動作モード確認手段によって上記撮影レンズ鏡筒が上記突出位置に位置する撮影モードであることが確認された際に、上記移動手段を制御して、上記突出位置に位置している上記撮影レンズ鏡筒を上記沈胴位置へ移動させる制御手段と、上記制御手段の制御によって上記撮影レンズ鏡筒が上記沈胴位置へ移動した際に、上記プリンタまたは上記パーソナルコンピュータのいずれと接続しているのかをユーザに選択させるための画面を表示する選択画面表示手段と、ユーザによって上記プリンタが選択された際には当該プリンタとの通信接続が確立したか否かを認識し、ユーザによって上記パーソナルコンピュータが選択された際には当該パーソナルコンピュータとの通信接続が確立したか否かを認識する第2の認識手段と、を具備したことを特徴としている。
この構成によれば、撮影モード状態においてプリンタと通信接続されたときに、撮影レンズ鏡筒が撮像装置(例えばデジタルカメラ)本体内に自動的に沈胴する。これにより、例えばプリンタと通信接続されたままの状態でカメラ操作が行われても、撮影レンズ鏡筒が障害物に接触することはなく、撮影レンズ鏡筒と障害物とが衝突する不慮の事故を未然に防止することができる。
In order to solve the above problems, an imaging apparatus according to the present invention includes an imaging lens barrel that is movable to a protruding position that protrudes from the front surface of the imaging apparatus body and a retracted position that retracts into the imaging apparatus body. Moving means for moving the photographic lens barrel between the protruding position and the retracted position, first recognition means for recognizing whether or not an electrical connection has been made with a printer or personal computer, and the first When the electrical connection is recognized by the recognizing means, the operation mode confirmation means for confirming the currently set operation mode, and the photographing lens barrel is located at the protruding position by the operation mode confirmation means. Control to move the photographing lens barrel located at the protruding position to the retracted position by controlling the moving means when the mode is confirmed. And a selection for displaying a screen for allowing the user to select which of the printer and the personal computer is connected when the photographic lens barrel is moved to the retracted position under the control of the control means. When the printer is selected by the screen display means and the user, it recognizes whether or not a communication connection with the printer is established, and when the user selects the personal computer, it communicates with the personal computer. And second recognition means for recognizing whether or not a connection has been established .
According to this configuration, the photographing lens barrel is automatically retracted in the main body of the imaging device (for example, a digital camera) when connected to the printer in the photographing mode state. As a result, for example, even if the camera is operated in a communication connection with the printer, the photographing lens barrel does not come into contact with the obstacle, and an unexpected accident in which the photographing lens barrel collides with the obstacle. Can be prevented in advance.

本発明の撮像装置は、撮像装置本体前面から突出する突出位置と撮像装置本体内へ沈胴する沈胴位置とに移動可能な撮影レンズ鏡筒を有する撮像装置において、プリンタまたはパーソナルコンピュータと電気的な接続がなされたか否かを認識する第1の認識手段と、上記第1の認識手段によって電気的な接続が認識された際に、現在設定されている動作モードを確認する動作モード確認手段と、上記動作モードの確認後、上記プリンタまたは上記パーソナルコンピュータのいずれと接続しているのかをユーザに選択させるための画面を表示する選択画面表示手段と、ユーザによって上記プリンタが選択された際に、当該プリンタとの通信接続が確立したか否かを認識する第2の認識手段と、上記突出位置と上記沈胴位置との間で上記撮影レンズ鏡筒を移動させる移動手段と、上記第2の認識手段によってプリンタとの通信接続が確立されたことが認識され、かつ、上記動作モード確認手段によって上記撮影レンズ鏡筒が上記突出位置に位置する撮影モードであることが確認された際に、上記移動手段を制御して、上記突出位置に位置している上記撮影レンズ鏡筒を上記沈胴位置へ移動させる制御手段と、を具備したことを特徴としている。
この構成によれば、撮影モード状態において通信接続された相手の種類としてプリンタが認識されたときに、撮影レンズ鏡筒が撮像装置(例えばデジタルカメラ)本体内に自動的に沈胴する。これにより、プリンタと通信接続されたままの状態でカメラ操作が行われても、撮影レンズ鏡筒が障害物に接触することはなく、撮影レンズ鏡筒と障害物とが衝突する不慮の事故を未然に防止することができる。さらに、通信接続された相手としてプリンタが認識できた場合、即ち、ユーザが撮像装置を操作して該接続相手であるプリンタを制御できる状態になった場合に、撮影レンズ鏡筒の沈胴を行うので、効果的に沈胴できるとともに沈胴頻度の削減による省電力化を図ることができる。
An imaging device according to the present invention is an electrical connection with a printer or a personal computer in an imaging device having a photographic lens barrel that can move between a protruding position that protrudes from the front surface of the imaging device body and a retracted position that retracts into the imaging device body. A first recognizing unit for recognizing whether or not an electric connection has been made; an operation mode confirming unit for confirming a currently set operation mode when an electrical connection is recognized by the first recognizing unit; After confirming the operation mode, selection screen display means for displaying a screen for allowing the user to select whether the printer or the personal computer is connected, and when the printer is selected by the user, the printer the photographing lens between the second recognizing means for recognizing whether the communication connection is established, with the protruding position and the retracted position of the Moving means for moving the lens barrel, that the communication connection with the printer by the second recognition means is established is recognized, and the photographing lens barrel is positioned at the protruding position by the operation mode confirmation means Control means for controlling the moving means to move the photographing lens barrel located at the protruding position to the retracted position when the photographing mode is confirmed. It is said.
According to this configuration, when the printer is recognized as the type of the other party that is communicably connected in the photographing mode state, the photographing lens barrel is automatically retracted in the main body of the imaging device (for example, a digital camera). As a result, even if the camera is operated in communication with the printer, the photographic lens barrel does not come into contact with the obstacle. It can be prevented in advance. Further, when the printer can be recognized as a communication-connected partner, that is, when the user can control the printer as the connection partner by operating the imaging device, the photographic lens barrel is retracted. Therefore, it is possible to effectively retract and reduce power consumption by reducing the frequency of the collapse.

本発明の撮像装置における撮影レンズ鏡筒の制御方法は、撮像装置本体前面から突出する突出位置と撮像装置本体内へ沈胴する沈胴位置とに移動可能な撮影レンズ鏡筒を有する撮像装置における当該撮影レンズ鏡筒の制御方法であって、プリンタまたはパーソナルコンピュータと電気的な接続がなされたか否かを認識するステップと、プリンタまたはパーソナルコンピュータとの電気的な接続が認識された際に、現在設定されている動作モードを確認するステップと、上記撮影レンズ鏡筒が上記突出位置に位置する撮影モードであることが確認された際に、上記突出位置に位置している上記撮影レンズ鏡筒を上記沈胴位置へ移動させるステップと、上記撮影レンズ鏡筒が上記沈胴位置へ移動した際に、上記プリンタまたは上記パーソナルコンピュータのいずれと接続しているのかをユーザに選択させるための画面を表示するステップと、ユーザによって上記プリンタが選択された際には当該プリンタとの通信接続が確立したか否かを認識し、ユーザによって上記パーソナルコンピュータが選択された際には当該パーソナルコンピュータとの通信接続が確立したか否かを認識するステップと、を含むことを特徴としている。 The method of controlling the photographic lens barrel in the imaging apparatus according to the present invention includes the photographic lens barrel having a photographic lens barrel that is movable between a protruding position protruding from the front surface of the imaging apparatus main body and a retracted position of retracting into the imaging apparatus main body. A method of controlling a lens barrel, which is set when a step of recognizing whether an electrical connection has been made with a printer or a personal computer and when an electrical connection with a printer or a personal computer has been recognized. A step of confirming the operating mode, and when it is confirmed that the photographing lens barrel is in the photographing mode positioned at the protruding position, the retracting lens barrel positioned at the protruding position is retracted. And when the photographic lens barrel is moved to the retracted position, the printer or the personal computer is moved. A step of displaying a screen for allowing the user to select which one of the computers is connected to, and when the printer is selected by the user, recognizes whether a communication connection with the printer has been established, Recognizing whether or not a communication connection with the personal computer has been established when the user selects the personal computer .

本発明の撮像装置における撮影レンズ鏡筒の制御方法は、撮像装置本体前面から突出する突出位置と撮像装置本体内へ沈胴する沈胴位置とに移動可能な撮影レンズ鏡筒を有する撮像装置における当該撮影レンズ鏡筒の制御方法であって、プリンタまたはパーソナルコンピュータと電気的な接続がなされたか否かを認識するステップと、プリンタまたはパーソナルコンピュータとの電気的な接続が認識された際に、現在設定されている動作モードを確認するステップと、上記プリンタまたは上記パーソナルコンピュータのいずれと接続しているのかをユーザに選択させるための画面を表示するステップと、ユーザによって上記プリンタが選択された際に、当該プリンタとの通信接続が確立したか否かを認識するステップと、プリンタとの通信接続が確立されたことが認識され、かつ、上記撮影レンズ鏡筒が上記突出位置に位置する撮影モードであることが確認された際に、上記突出位置に位置している上記撮影レンズ鏡筒を上記沈胴位置へ移動させるステップと、を含むことを特徴としている。 The method of controlling the photographic lens barrel in the imaging apparatus according to the present invention includes the photographic lens barrel having a photographic lens barrel that is movable between a protruding position protruding from the front surface of the imaging apparatus main body and a retracted position of retracting into the imaging apparatus main body. A method of controlling a lens barrel, which is set when a step of recognizing whether an electrical connection has been made with a printer or a personal computer and when an electrical connection with a printer or a personal computer has been recognized. A step of confirming an operating mode, a step of displaying a screen for allowing the user to select whether the printer or the personal computer is connected, and when the printer is selected by the user, A step of recognizing whether or not a communication connection with the printer has been established, and a communication connection with the printer. Is established, and when the photographing lens barrel is confirmed to be in a photographing mode located at the protruding position, the photographing lens barrel located at the protruding position is Moving to a retracted position .

本発明によれば、撮影レンズ鏡筒が撮像装置(例えばデジタルカメラ)から突出している撮影モード状態においてプリンタとの通信接続が完了した場合に、カメラ操作が行われても、撮影レンズ鏡筒が自動的に沈胴するので、撮影レンズ鏡筒と障害物とが衝突する不慮の事故を防止することができる。また、効果的に撮影レンズ鏡筒を沈胴させることができるので、撮影レンズ鏡筒の沈胴頻度の削減による省電力化を図ることができる。
According to the present invention, when the communication connection with the printer is completed in the shooting mode state in which the shooting lens barrel protrudes from the imaging device (for example, a digital camera), the shooting lens barrel can be operated even if the camera operation is performed. Since the lens barrel automatically retracts, it is possible to prevent accidental accidents in which the photographing lens barrel collides with an obstacle. In addition, since the taking lens barrel can be retracted effectively, it is possible to save power by reducing the retracting frequency of the taking lens barrel.

以下、図面を参照し、本発明の一実施形態を順次説明する。
図1は、本実施形態に係るデジタルカメラとプリンタ装置とをUSBケーブルを介してダイレクト接続したダイレクトプリントシステム(以下、通称であるPictBridgeシステムと称する)の構成を示す外観図である。この図1に示されるPictBridgeシステムは、デジタルカメラ1と、このデジタルカメラ1とUSBケーブル9を介して接続されるプリンタ装置10とを備える。デジタルカメラ1とプリンタ装置10は、USB接続により相互にデータを送受信することが可能である。
Hereinafter, an embodiment of the present invention will be sequentially described with reference to the drawings.
FIG. 1 is an external view illustrating a configuration of a direct print system (hereinafter referred to as a PictBridge system, commonly referred to as a direct print system) in which a digital camera and a printer apparatus according to the present embodiment are directly connected via a USB cable. The PictBridge system shown in FIG. 1 includes a digital camera 1 and a printer device 10 connected to the digital camera 1 via a USB cable 9. The digital camera 1 and the printer device 10 can transmit and receive data to and from each other through a USB connection.

図1に示されるように、デジタルカメラ1のカメラ本体の上面部にレリーズスイッチ釦4等が配置されている。カメラ本体の背面部には、ファインダ接眼窓3、LCD表示部2、電源スイッチやモード選択スイッチ等を兼ねるダイヤルスイッチ部5、LCD表示部2のカーソル操作スイッチを兼ねる十字キースイッチ部7、メニュー選択スイッチ部6、USBコネクタ8等が配置されている。そして、USBコネクタ8には、図示のようにUSBケーブル9の一端が接続される。   As shown in FIG. 1, a release switch button 4 and the like are disposed on the upper surface of the camera body of the digital camera 1. On the back of the camera body, there are a viewfinder eyepiece window 3, an LCD display 2, a dial switch 5 that also functions as a power switch and a mode selection switch, a cross key switch 7 that also functions as a cursor operation switch for the LCD display 2, and a menu selection A switch unit 6, a USB connector 8, and the like are arranged. Then, one end of a USB cable 9 is connected to the USB connector 8 as shown.

以上の他、カメラ本体の前面部には、不図示の撮影レンズやファインダ窓やストロボ窓等が配置されている。また、カメラ本体の側面部又は底面部には、不図示であるが、撮影画像データの記録媒体であるメモリカードを装填するカードコネクタや電池を収納する電池収納室等が配置されている。   In addition to the above, a photographing lens, a finder window, a strobe window, and the like (not shown) are disposed on the front surface of the camera body. Although not shown, a card connector for loading a memory card, which is a recording medium for captured image data, a battery storage chamber for storing a battery, and the like are arranged on the side surface or bottom surface of the camera body.

次に、図2を参照して、デジタルカメラ1の構成を詳細に説明する。図2は、デジタルカメラ1の構成を示すブロック図である。
図2に示されるように、デジタルカメラ1は、後述する各制御素子を駆動制御してカメラ全体の制御を司るカメラコントローラとしてのCPU21を内蔵している。このCPU21は、デジタルカメラ1の動作モードを管理する。この動作モードの主なものには、被写体を撮影する撮影モード、メモリカード39に記憶されている画像データを伸張してLCD表示部2に再生表示させる再生モード、デジタルカメラとプリンタ装置とがUSBケーブルを介してダイレクト接続された際に、プリンタ装置と通信し、画像データを送信可能にする通信モードなどがある。なお、詳細は後述するが、上記通信モードに切替えられると、画像データを伸張してLCD表示部2に再生表示させ、その画像を見て印刷対象画像を選択し、プリンタ装置へ送信することができる。
Next, the configuration of the digital camera 1 will be described in detail with reference to FIG. FIG. 2 is a block diagram showing the configuration of the digital camera 1.
As shown in FIG. 2, the digital camera 1 has a built-in CPU 21 as a camera controller that controls each of the control elements described later to control the entire camera. The CPU 21 manages the operation mode of the digital camera 1. The main operation modes include a shooting mode for shooting a subject, a playback mode for expanding and reproducing image data stored in the memory card 39 on the LCD display unit 2, and a digital camera and a printer device using a USB. There is a communication mode that enables communication with a printer device and transmission of image data when directly connected via a cable. Although details will be described later, when the communication mode is switched, the image data is decompressed and reproduced and displayed on the LCD display unit 2, the image to be printed is selected and transmitted to the printer device. it can.

このデジタルカメラ1においては、撮影レンズ22及び絞り部23を介して被写体像が取り込まれ、その被写体像は、CCD等の撮像素子29にて電気信号に変換される。この撮影レンズ22は、レンズ駆動部24を介して進退駆動される。絞り部23は、絞り駆動部25を介して絞り駆動される。これら駆動部24,25はCPU21によって制御される。   In the digital camera 1, a subject image is taken in via the photographing lens 22 and the diaphragm 23, and the subject image is converted into an electric signal by an image pickup device 29 such as a CCD. The photographing lens 22 is driven forward and backward through a lens driving unit 24. The diaphragm 23 is driven by a diaphragm via a diaphragm driver 25. These driving units 24 and 25 are controlled by the CPU 21.

撮影レンズ22は、図3に示されるように撮影レンズ鏡筒22aに内蔵されている。この撮影レンズ鏡筒22aは、二段構造となっており、非撮影時にはデジタルカメラ1の本体内へ折り畳まれて沈胴し、撮影時には沈胴位置からカメラ本体前面の撮影準備位置へ筍状に突出することができるようになっている。図3(a)は撮影レンズ突出時のデジタルカメラ1の平面図、図3(b)は撮影レンズ沈胴時のデジタルカメラ1の平面図である。   The photographic lens 22 is built in the photographic lens barrel 22a as shown in FIG. The photographing lens barrel 22a has a two-stage structure, and is folded into the main body of the digital camera 1 when not photographing and retracts from the retracted position to the photographing preparation position on the front surface of the camera body when photographing. Be able to. FIG. 3A is a plan view of the digital camera 1 when the photographing lens protrudes, and FIG. 3B is a plan view of the digital camera 1 when the photographing lens is retracted.

そして、撮影レンズ鏡筒22aが、レンズ駆動部24による進駆動によって、図3(a)に示されるように、デジタルカメラ1の本体内からカメラ本体前面の撮影準備位置へと突出する。また、カメラ本体前面の撮影準備位置に突出していた撮影レンズ鏡筒22aが、レンズ駆動部24による退駆動によって、図3(b)に示されるように本体内の沈胴位置に沈胴する。撮影レンズ鏡筒22aの突出は、撮影モードへの移行時に行う。例えば主電源オン時に自動的に撮影モードへ移行するようにし、このタイミングで撮影レンズ鏡筒22aの突出を行う。一方、撮影レンズ鏡筒22aの沈胴については、通常は、主電源オフ時に行う。この主電源オフ時以外における撮影レンズ鏡筒22aの沈胴タイミングについては、後述する。   Then, as shown in FIG. 3A, the photographing lens barrel 22a is projected forward from the main body of the digital camera 1 to the photographing preparation position on the front surface of the camera body by the advance driving by the lens driving unit 24. Further, the photographing lens barrel 22a that has protruded to the photographing preparation position on the front surface of the camera body is retracted to the retracted position in the body as shown in FIG. The projection of the photographing lens barrel 22a is performed at the time of shifting to the photographing mode. For example, when the main power is turned on, the mode automatically shifts to the shooting mode, and the shooting lens barrel 22a is projected at this timing. On the other hand, the retracting of the taking lens barrel 22a is normally performed when the main power is turned off. The retracting timing of the taking lens barrel 22a when the main power is off will be described later.

撮像素子29は、タイミング回路27によりCPU21と同期した状態で撮像素子ドライバ28を介して駆動される。この撮像素子29の撮像出力は、プロプロセス回路30とA/D変換回路31によりデジタル画像データとしてデジタル処理回路32に取り込まれる。デジタル処理回路32より出力されるデジタル画像データは、メモリコントローラ33の制御の下でバスラインを通ってフレームメモリ34に格納される。さらに、このフレームメモリ34に格納された画像データは、バスラインを通りカードI/F38を介してカードコネクタに装着されたメモリカード39に撮影コマ毎に記録される。撮影コマ毎の画像データに対応して画像データのヘッダ情報も記録される。デジタル処理回路32にてデジタル画像処理が施された画像データやメモリカード39に記録された画像データ、或いは後述するプリンタ装置10でプリントされる画像データ等、及びプリンタ装置10にプリントさせる際の画像選択画面、プリント枚数等のプリンタ情報は、LCD表示部2に表示される。この場合、画像データは、バスライン及びLCDドライバ42を介してLCD表示部2に供給され、プリンタ情報は、後述するROM37に格納されたプログラムに基づいてLCDドライバ42によりLCD表示部2に供給される。
また、バスラインにはROM37とRAM36が接続されている。ROM37には、カメラコントローラとしてのCPU21がカメラの撮影及び再生動作全体を制御したり、画像データをプリンタ装置10へ送信するためのファームウェア、及びLCDドライバ42が印刷指定画面をLCD表示部2に表示したりするプログラム等が格納される。RAM36には、撮影時に取り込まれる測距時及び測光時のデータが一時的に格納される。
なお、上記フレームメモリ34には、LCD表示部2に供給される画像データも一時的に保存される。
The image pickup device 29 is driven via the image pickup device driver 28 in synchronization with the CPU 21 by the timing circuit 27. The imaging output of the imaging device 29 is taken into the digital processing circuit 32 as digital image data by the pro-process circuit 30 and the A / D conversion circuit 31. Digital image data output from the digital processing circuit 32 is stored in the frame memory 34 through the bus line under the control of the memory controller 33. Further, the image data stored in the frame memory 34 is recorded for each photographing frame on the memory card 39 attached to the card connector via the card I / F 38 through the bus line. The header information of the image data is also recorded corresponding to the image data for each shooting frame. Image data subjected to digital image processing by the digital processing circuit 32, image data recorded on the memory card 39, image data printed by the printer device 10 to be described later, etc., and an image when the printer device 10 prints Printer information such as a selection screen and the number of prints is displayed on the LCD display unit 2. In this case, the image data is supplied to the LCD display unit 2 via the bus line and the LCD driver 42, and the printer information is supplied to the LCD display unit 2 by the LCD driver 42 based on a program stored in the ROM 37 described later. The
A ROM 37 and a RAM 36 are connected to the bus line. In the ROM 37, the CPU 21 as a camera controller controls the entire photographing and playback operations of the camera, and firmware for transmitting image data to the printer device 10, and the LCD driver 42 displays a print designation screen on the LCD display unit 2. A program to be executed is stored. The RAM 36 temporarily stores data for distance measurement and photometry that are taken in at the time of shooting.
The frame memory 34 also temporarily stores image data supplied to the LCD display unit 2.

以上の他、CPU21には、レリーズスイッチ釦4、各種設定用の十字キースイッチ部7、電源オンやモード設定用のダイヤルスイッチ5、メニュー選択スイッチ部6等に対するスイッチ入力回路41、USBコネクタ8に接続されているUSBコントローラ35、ストロボ発光部26等が接続されている。USBコントローラ35は、USBコネクタ8に接続されるUSBケーブル9を介してUSBプロトコルによるデータの送受信を行う。これにより、CPU21は、物理通信レイヤとしてのUSBを介してPTP(Picture Transfer Protocol)通信を行うことができ、USBケーブル9を介して接続されるプリンタ装置10を検出することができる。このプリンタ装置10の検出は、USBコントローラ35がUSBによる電源供給用の電圧5Vを検出することにより行う。   In addition to the above, the CPU 21 includes a release switch button 4, a cross key switch unit 7 for various settings, a dial switch 5 for power on and mode setting, a switch input circuit 41 for the menu selection switch unit 6, and the USB connector 8. A connected USB controller 35, strobe light emitting unit 26, and the like are connected. The USB controller 35 transmits and receives data according to the USB protocol via the USB cable 9 connected to the USB connector 8. Thus, the CPU 21 can perform PTP (Picture Transfer Protocol) communication via the USB as the physical communication layer, and can detect the printer device 10 connected via the USB cable 9. The detection of the printer 10 is performed when the USB controller 35 detects the voltage 5V for power supply by USB.

次に、図4を参照して、プリンタ装置10の構成を詳細に説明する。図4は、デジタルカメラ1とUSB接続される外部機器の一例であるプリンタ装置10の構成を示すブロック図である。
図4に示されるように、プリンタ装置10は、Y(イエロー)、M(マゼンダ)、C(シアン)からなるインクリボンを使用する面順次方式の昇華型熱転写プリンタ装置であり、ROM53に格納されるプリント制御プログラムに従って後述する各制御素子を制御するプリンタコントローラとしてのCPU51を内蔵している。そして、プリンタ装置10においては、デジタルカメラ1に記録される画像データ及びヘッダ情報等がUSBケーブル9を介して接続されるUSBコネクタ50を経由し、USBコントローラ70及びバスラインを介してCPU51及びフレームメモリ52に取り込まれる。
Next, the configuration of the printer apparatus 10 will be described in detail with reference to FIG. FIG. 4 is a block diagram illustrating a configuration of a printer apparatus 10 which is an example of an external device connected to the digital camera 1 via USB.
As shown in FIG. 4, the printer device 10 is a frame sequential sublimation thermal transfer printer device that uses ink ribbons of Y (yellow), M (magenta), and C (cyan), and is stored in the ROM 53. A CPU 51 is incorporated as a printer controller that controls each control element to be described later according to a print control program. In the printer device 10, image data and header information recorded in the digital camera 1 are connected to the CPU 51 and the frame via the USB controller 50 and the bus line via the USB connector 50 connected via the USB cable 9. It is captured in the memory 52.

フレームメモリ52に格納された画像データは、画像処理回路54にて補正パラメータに基づき、RGBからCMYへの色変換、ドット/インチによるサイズ変換、γ変換、色補正、サムネイル変換、枠合成等の処理が施される。画像処理回路54の変換出力データは、CPU51の制御の下でヘッドドライバ63を介してプリントヘッド(サーマルプリントヘッド)64に出力される。   Image data stored in the frame memory 52 is subjected to color conversion from RGB to CMY, dot / inch size conversion, γ conversion, color correction, thumbnail conversion, frame composition, and the like based on correction parameters in the image processing circuit 54. Processing is performed. The conversion output data of the image processing circuit 54 is output to the print head (thermal print head) 64 via the head driver 63 under the control of the CPU 51.

一方、プリントヘッド64のプリント動作に同期してモータドライバ55,59を介し、リボン送りモータ(M)56、給紙モータ(M)60が駆動され、インクリボン、用紙が給送され、用紙へのプリントが実行される。   On the other hand, in synchronization with the printing operation of the print head 64, the ribbon feed motor (M) 56 and the paper feed motor (M) 60 are driven via the motor drivers 55 and 59 to feed the ink ribbon and paper to the paper. Is printed.

インクリボン送り状態は、リボンセンサ57により検出され、インクリボン残量データがCPU51に取り込まれる。また、用紙を格納する用紙カセットに収納されている残りの用紙枚数データは、給紙センサ58により検出され、CPU51に取り込まれる。プリンタ装置10には、プリンタの動作状態又はプリント動作時における警告等を表示するLED13、及びプリント動作時における警告音を発する警告手段であるPCV(圧電ブザー)68と、プリンタ電源スイッチ部11及びプリント開始スイッチ部12によりオン操作されるスイッチ接点11a,12aとが配置され、それぞれCPU51に接続されている。   The ink ribbon feeding state is detected by the ribbon sensor 57, and ink ribbon remaining amount data is taken into the CPU 51. Further, the remaining number-of-sheets data stored in the sheet cassette for storing the sheets is detected by the sheet feeding sensor 58 and taken into the CPU 51. The printer device 10 includes an LED 13 for displaying a warning or the like during the operation state of the printer or a printing operation, a PCV (piezoelectric buzzer) 68 serving as a warning means for generating a warning sound during the printing operation, the printer power switch unit 11 and the printing. Switch contacts 11 a and 12 a that are turned on by the start switch unit 12 are arranged and connected to the CPU 51, respectively.

また、バスラインにはROM53が接続されている。ROM53には、デジタルカメラ1との通信動作及びプリンタ全体を動作させるためのプログラムが格納されている。   A ROM 53 is connected to the bus line. The ROM 53 stores a program for communicating with the digital camera 1 and operating the entire printer.

次に、上記構成に係る画像印刷時の動作を説明する。
初めに、デジタルカメラ1のUSBコネクタ8がプリンタ装置10のUSBコネクタ50とUSBケーブル9を介して接続されると、デジタルカメラ1のCPU21は、USBコネクタ50を介してプリンタ装置10から供給される電圧(5V)を検出する。そして、この検出に応じて、デジタルカメラ1のCPU21は、LCDドライバ42を制御し、ROM37から印刷制御画面を表示するためのプログラムを読み出してLCD表示部2に印刷指定画面を表示する。この印刷指定画面を参照しつつ、十字キースイッチ部7等を操作することで、所望とする印刷指定が可能となる。デジタルカメラ1のCPU21は、当該印刷指定に係る信号を受けると、対応する画像データを着脱自在なメモリカード39から読み出し、USBコントローラ35、USBコネクタ8、USBケーブル9を介してプリンタ装置10に送信する。これに代えて、プリンタ装置10に画像ファイルを取得するように要求してもよい。次いで、プリンタ装置10のCPU51は、デジタルカメラ1から取得した画像ファイルの印刷出力を開始する。これにより、画像ファイルの印刷出力が実行される。
Next, the operation at the time of image printing according to the above configuration will be described.
First, when the USB connector 8 of the digital camera 1 is connected to the USB connector 50 of the printer device 10 via the USB cable 9, the CPU 21 of the digital camera 1 is supplied from the printer device 10 via the USB connector 50. The voltage (5V) is detected. In response to this detection, the CPU 21 of the digital camera 1 controls the LCD driver 42, reads a program for displaying a print control screen from the ROM 37, and displays a print designation screen on the LCD display unit 2. By operating the cross key switch unit 7 and the like while referring to the print designation screen, a desired print designation can be performed. When the CPU 21 of the digital camera 1 receives the signal related to the print designation, it reads the corresponding image data from the removable memory card 39 and transmits it to the printer device 10 via the USB controller 35, USB connector 8, and USB cable 9. To do. Alternatively, the printer device 10 may be requested to acquire an image file. Next, the CPU 51 of the printer device 10 starts printing out the image file acquired from the digital camera 1. Thereby, the print output of the image file is executed.

ここで、USBケーブル9接続時の確認手順を説明する。USBケーブル9には、VBUSと称する5V電源線、GND線、D+及びD−といった2本の信号線の合計4本の配線が含まれており、専用コネクタで着脱される。デジタルカメラ1は、外部機器との接続を確認するために、VBUSの電圧レベルを監視する。このVBUSの電圧を検出した場合に、デジタルカメラ1のCPU21はUSBケーブル9が接続されたと判断する。   Here, a confirmation procedure when the USB cable 9 is connected will be described. The USB cable 9 includes a total of four wires of two signal lines such as a 5V power line called VBUS, a GND line, D + and D−, and is attached and detached with a dedicated connector. The digital camera 1 monitors the voltage level of VBUS in order to confirm connection with an external device. When the voltage VBUS is detected, the CPU 21 of the digital camera 1 determines that the USB cable 9 is connected.

一方、PCやプリンタ装置10等の外部機器は、デジタルカメラ1との接続を検出するために、信号線D+若しくはD−のプルアップを監視する。デジタルカメラ1は、外部機器に接続されるとVBUSの電圧を検出してUSBケーブル9が接続されたことを検出するが、例えば、D+、D−のプルアップを行わないため、直ぐには通信を確立しない。従って、外部機器はデジタルカメラ1との接続を認識しない。   On the other hand, an external device such as a PC or the printer device 10 monitors the pull-up of the signal line D + or D− in order to detect the connection with the digital camera 1. When the digital camera 1 is connected to an external device, it detects the voltage of VBUS and detects that the USB cable 9 is connected. However, for example, since the D + and D− pull-up is not performed, the digital camera 1 immediately communicates. Do not establish. Therefore, the external device does not recognize the connection with the digital camera 1.

この間に、デジタルカメラ1は、外部機器から与えられるVBUSの電圧値の変化に応じて、UI(ユーザインタフェース)画面にUSBクラス(プリンタまたはPC)を選択させるような画面(図5の画面)を自動的に表示する。ユーザは、所望とする外部機器を当該UI画面にて選択可能となる。UI画面はLCD表示部2に表示される。なお、図5の画面例では、USBクラスとしてPCが選択されている。   During this time, the digital camera 1 displays a screen (screen in FIG. 5) that allows the user interface (UI) screen to select the USB class (printer or PC) according to the change in the voltage value of VBUS given from the external device. Display automatically. The user can select a desired external device on the UI screen. The UI screen is displayed on the LCD display unit 2. In the screen example of FIG. 5, PC is selected as the USB class.

デジタルカメラ1は、ユーザの選択に応じたUSBクラスのデスクリプタを自動的に生成し、D+若しくはD−をプルアップすることで、外部機器との接続を確認した旨を知らせる。これにより、外部機器は、デジタルカメラ1との接続を認識し、USBプロトコルの確立に必要な所定の通信を行う。   The digital camera 1 automatically generates a USB class descriptor according to the user's selection, and pulls up D + or D− to notify that the connection with the external device has been confirmed. Thus, the external device recognizes the connection with the digital camera 1 and performs predetermined communication necessary for establishing the USB protocol.

こうして通信が確立されると、ユーザへの確認も含め、どのような外部機器に接続されたのかをデジタルカメラ1のUI画面上に表示する。これ以降、ユーザは、操作を開始し、好きな作業を行うことができる。   When communication is established in this way, what kind of external device is connected, including confirmation to the user, is displayed on the UI screen of the digital camera 1. Thereafter, the user can start the operation and perform a favorite work.

次に、図6を参照して、本実施形態によるデジタルカメラ1のCPU21が撮影レンズ鏡筒22aを駆動制御する動作の第1の実施例を説明する。図6は、本実施形態によるUSBケーブル9接続時の一処理例の流れを示すフローチャートである。   Next, with reference to FIG. 6, a first example of an operation in which the CPU 21 of the digital camera 1 according to the present embodiment drives and controls the photographing lens barrel 22a will be described. FIG. 6 is a flowchart showing a flow of one processing example when the USB cable 9 is connected according to the present embodiment.

デジタルカメラ1のCPU21は、VBUSの電圧検出によりUSBケーブル9が接続されたことを検出すると、図6の処理を開始する。先ず、CPU21は、現在の動作モードを確認する(ステップS101)。この確認の結果、撮影モードである場合に、CPU21は、レンズ駆動部24を制御して撮影レンズ鏡筒22aをデジタルカメラ1の本体内へ沈胴させる(ステップS102)。   When the CPU 21 of the digital camera 1 detects that the USB cable 9 is connected by detecting the voltage of VBUS, it starts the processing of FIG. First, the CPU 21 confirms the current operation mode (step S101). If the result of this confirmation is that the camera is in shooting mode, the CPU 21 controls the lens driving unit 24 to retract the shooting lens barrel 22a into the main body of the digital camera 1 (step S102).

次いで、CPU21は、UI画面上にUSB通信方式選択画面(図5参照)を表示する(ステップS104)。ユーザは、このUSB通信方式選択画面に従って所望の通信方式としてプリンタまたはPCを選択する。次いで、ユーザによりプリンタ(イメージクラス)が選択されると、CPU21は、ダイレクトプリント通信方式による通信を、USBケーブル9を介して接続されているプリンタ装置10と開始する(ステップS105、S106)。   Next, the CPU 21 displays a USB communication method selection screen (see FIG. 5) on the UI screen (step S104). The user selects a printer or a PC as a desired communication method according to the USB communication method selection screen. Next, when a printer (image class) is selected by the user, the CPU 21 starts communication using the direct print communication method with the printer device 10 connected via the USB cable 9 (steps S105 and S106).

他方、ユーザにより外部機器としてPC(ストレージクラス)が選択されると、CPU21は、ストレージ通信方式による通信を、USBケーブル9を介して接続されているPCとUSBクラスの通信を開始する(ステップS107、S108)。そして、PCとの通信接続が確立後、PCからの操作によりデジタルカメラ1に記憶されている画像データをPCへ送信する等の操作が行われる(ステップS109)。ステップS110では、PCとデジタルカメラ1との通信が終了したか否かを判断し、終了した場合は図6の処理を終了する。
他方、ユーザにより通信開始がキャンセルされた場合は図6の処理を終了する(ステップS111)。
On the other hand, when a PC (storage class) is selected as an external device by the user, the CPU 21 starts communication in the storage communication method and USB class communication with the PC connected via the USB cable 9 (step S107). , S108). Then, after establishing a communication connection with the PC, an operation such as transmitting image data stored in the digital camera 1 to the PC by an operation from the PC is performed (step S109). In step S110, it is determined whether or not communication between the PC and the digital camera 1 has been completed. If the communication has been completed, the processing in FIG. 6 is terminated.
On the other hand, when the start of communication is canceled by the user, the process of FIG. 6 is terminated (step S111).

次いで、上記ステップS106でプリンタ装置10との通信が開始されて当該通信接続が確立された後、CPU21は、ユーザ操作に基づく画像ファイルの出力処理を実行する(ステップS112)。例えば、プリンタ装置10による画像ファイルの印刷出力を実行する。
次いで、画像ファイルの出力処理が終了すると、CPU21は図6の処理を終了する(ステップS113)。画像ファイルの出力処理の終了には、正常終了と、ケーブル抜去等による異常終了とが含まれる。
Next, after communication with the printer apparatus 10 is started and the communication connection is established in step S106, the CPU 21 executes image file output processing based on a user operation (step S112). For example, print output of an image file by the printer device 10 is executed.
Next, when the output process of the image file ends, the CPU 21 ends the process of FIG. 6 (step S113). The termination of the image file output processing includes normal termination and abnormal termination due to cable removal or the like.

上述した第1の実施例によれば、撮影モード時においてUSBケーブル9が接続され、外部装置であるプリンタ装置10からの所定出力を検出したときに、撮影レンズ鏡筒22aがデジタルカメラ1の本体内に自動的に沈胴する。これにより、USBケーブル9が接続されたままの状態でユーザ操作が行われても、撮影レンズ鏡筒22aが障害物に接触することはなく、撮影レンズと障害物とが衝突する等の不慮の事故が未然に防止される。   According to the first embodiment described above, the photographing lens barrel 22a is connected to the main body of the digital camera 1 when the USB cable 9 is connected in the photographing mode and a predetermined output from the printer device 10 as an external device is detected. It automatically retracts inside. As a result, even if a user operation is performed with the USB cable 9 connected, the photographing lens barrel 22a does not come into contact with the obstacle, and the photographing lens and the obstacle collide with each other. Accidents are prevented in advance.

次に、図7を参照して、本実施形態によるデジタルカメラ1のCPU21が撮影レンズ鏡筒22aを駆動制御する動作の第2の実施例を説明する。図7は、本実施形態によるUSBケーブル9接続時の他の処理例の流れを示すフローチャートである。 Next, with reference to FIG. 7, a second example of the operation in which the CPU 21 of the digital camera 1 according to the present embodiment drives and controls the photographing lens barrel 22a will be described. FIG. 7 is a flowchart showing the flow of another processing example when the USB cable 9 is connected according to the present embodiment.

デジタルカメラ1のCPU21は、VBUSの電圧検出によりUSBケーブル9が接続されたことを検出すると、図7の処理を開始する。先ず、CPU21は、現在の動作モードを確認する(ステップS201)。次いで、CPU21は、UI画面上にUSB通信方式選択画面(図5参照)を表示する(ステップS202)。ユーザは、このUSB通信方式選択画面に従って所望の通信方式としてプリンタまたはPCを選択する。次いで、ユーザによりプリンタ(イメージクラス)が選択されると、CPU21は、ダイレクトプリント通信方式による通信(PTP通信)を、USBケーブル9を介して接続されている外部機器(プリンタ装置10、PC等)と開始する(ステップS203、S204)。   When the CPU 21 of the digital camera 1 detects that the USB cable 9 is connected by detecting the voltage of VBUS, it starts the process of FIG. First, the CPU 21 confirms the current operation mode (step S201). Next, the CPU 21 displays a USB communication method selection screen (see FIG. 5) on the UI screen (step S202). The user selects a printer or a PC as a desired communication method according to the USB communication method selection screen. Next, when a printer (image class) is selected by the user, the CPU 21 performs communication (PTP communication) using the direct print communication method via an external device (printer device 10, PC, etc.) connected via the USB cable 9. And start (steps S203 and S204).

ここで、ダイレクトプリント通信方式では、データ転送用の通信プロトコルにPTP(Picture Transfer Protocol)が採用されており、このPTPがトランスポート層の通信プロトコルとして用いられる。物理通信レイヤにはUSBが用いられる。そして、PTPトランスポート層とDPSアプリケーション層の間に変換レイヤであるDSP層を設け、PTPとのマッピングを行う。DSP層には、USB接続された双方の機器がDPS機能を有するものか否かを相互認識するDPSディスカバリ機能が設けられている。DPSディスカバリは、双方の機器間でPTPによる通信接続が確立した後に自動的に実行される。そして、そのDPSディスカバリ成立によって、双方の機器の制御がDPSアプリケーションに移行する。これにより、PictBridgeシステムによる画像印刷が実行可能となる。   Here, in the direct print communication system, PTP (Picture Transfer Protocol) is adopted as a data transfer communication protocol, and this PTP is used as a transport layer communication protocol. USB is used for the physical communication layer. Then, a DSP layer as a conversion layer is provided between the PTP transport layer and the DPS application layer, and mapping with the PTP is performed. The DSP layer is provided with a DPS discovery function for recognizing whether or not both devices connected via USB have a DPS function. The DPS discovery is automatically executed after the communication connection by PTP is established between both devices. When the DPS discovery is established, control of both devices is transferred to the DPS application. As a result, image printing by the PictBridge system can be executed.

次いで、CPU21は、外部機器とのPTP通信接続が確立された後、DPSディスカバリが成立した場合において上記ステップS201の確認結果が撮影モードであるときには(ステップS205及びS206がYES)、レンズ駆動部24を制御して撮影レンズ鏡筒22aをデジタルカメラ1の本体内へ沈胴させる(ステップS207)。他方、DPSディスカバリが不成立又は上記ステップS201の確認結果が撮影モード以外である場合には(ステップS205又はS206がNO)、撮影レンズ鏡筒22aの沈胴は行わない。   Next, when the DPS discovery is established after the PTP communication connection with the external device is established, the CPU 21 determines that the confirmation result in step S201 is the shooting mode (YES in steps S205 and S206). Is controlled to retract the photographic lens barrel 22a into the main body of the digital camera 1 (step S207). On the other hand, when DPS discovery is not established or the confirmation result in step S201 is other than the photographing mode (NO in step S205 or S206), the photographing lens barrel 22a is not retracted.

また、上記ステップ202で表示されたUSB通信方式選択画面に従って、ユーザによりPC(ストレージクラス)が選択されると、CPU21は、ストレージ通信方式による通信を、USBケーブル9を介して接続されているPCとUSBクラスの通信を開始する(ステップS208、S209)。そして、PCとの通信接続が確立後、PCからの操作によりデジタルカメラ1に記憶されている画像データをPCへ送信する等の操作が行われる(ステップS210)。ステップS211では、PCとデジタルカメラ1との通信が終了したか否かを判断し、終了した場合は図7の処理を終了する。
他方、ユーザにより通信開始がキャンセルされた場合は図7の処理を終了する(ステップS212)。
When the user selects a PC (storage class) according to the USB communication method selection screen displayed in step 202, the CPU 21 performs communication using the storage communication method via the USB cable 9. And USB class communication is started (steps S208 and S209). Then, after establishing a communication connection with the PC, an operation such as transmitting image data stored in the digital camera 1 to the PC by an operation from the PC is performed (step S210). In step S211, it is determined whether or not communication between the PC and the digital camera 1 has been completed. If the communication has been completed, the processing in FIG. 7 is terminated.
On the other hand, when the start of communication is canceled by the user, the process in FIG. 7 is terminated (step S212).

次いで、ステップ213では、CPU21は、ユーザ操作に基づく画像ファイルの出力処理を実行する。例えば、DPSディスカバリが成立したプリンタ装置10による画像ファイルの印刷出力を実行する。
次いで、画像ファイルの出力処理が終了すると、CPU21は図7の処理を終了する(ステップS214)。画像ファイルの出力処理の終了には、正常終了と、ケーブル抜去等による異常終了とが含まれる。
Next, in step 213, the CPU 21 executes an image file output process based on a user operation. For example, print output of an image file is executed by the printer device 10 for which DPS discovery is established.
Next, when the output process of the image file ends, the CPU 21 ends the process of FIG. 7 (step S214). The termination of the image file output processing includes normal termination and abnormal termination due to cable removal or the like.

上述した第2の実施例によれば、撮影モード時にUSBケーブル9が接続された場合において外部機器であるプリンタ装置10による画像印刷が実行可能なとき、即ち、上述したDPSディスカバリが成立したときに、撮影レンズ鏡筒22aがデジタルカメラ1の本体内に自動的に沈胴する。これにより、ユーザの印刷操作時における、撮影レンズと障害物とが衝突する等の不慮の事故が未然に防止される。さらに、特にユーザ操作の頻度が高いプリンタ装置との接続が確認された画像印刷操作時に撮影レンズ鏡筒22aの沈胴を行うので、効果的な事故防止が実現できるとともに、沈胴頻度の削減による省電力化を図ることができる。例えば、PCと接続したときには、ユーザはPCを操作してデジタルカメラ1から画像ファイルを取得する。このため、デジタルカメラ1は殆ど操作されないので、撮影レンズ鏡筒22aが本体から突出していても事故が発生する虞は少ない。   According to the second embodiment described above, when the USB cable 9 is connected in the shooting mode, image printing by the printer device 10 that is an external device can be executed, that is, when the above-described DPS discovery is established. The taking lens barrel 22a is automatically retracted into the main body of the digital camera 1. Thereby, an accidental accident such as a collision between the photographing lens and an obstacle at the time of printing operation by the user is prevented in advance. Furthermore, since the photographic lens barrel 22a is retracted during an image printing operation in which connection with a printer device having a high frequency of user operation is confirmed, it is possible to effectively prevent accidents and save power by reducing the frequency of retraction. Can be achieved. For example, when connected to a PC, the user operates the PC to acquire an image file from the digital camera 1. For this reason, since the digital camera 1 is hardly operated, there is little possibility of an accident even if the photographing lens barrel 22a protrudes from the main body.

なお、上述した実施形態においては、十字キースイッチ部7等が操作手段に対応する。また、レンズ駆動部24等が移動手段に対応する。また、USBコントローラ35及びCPU21等が受信手段及び認識手段に対応する。また、CPU21等が制御手段に対応する。   In the embodiment described above, the cross key switch unit 7 or the like corresponds to the operation means. The lens driving unit 24 and the like correspond to the moving unit. Further, the USB controller 35, the CPU 21, and the like correspond to a receiving unit and a recognition unit. Moreover, CPU21 grade | etc., Respond | corresponds to a control means.

以上、本発明の実施形態を図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。
例えば、上述した実施形態においては、有線通信接続方式の一つとしてUSB接続方式を用いたが、他の方式を用いてもよい。例えばIEEE1394、RS−232Cなどの有線通信接続方式を用いてもよい。また、赤外線通信等の無線通信接続方式を用いてもよい。
The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design changes and the like within a scope not departing from the gist of the present invention.
For example, in the above-described embodiment, the USB connection method is used as one of the wired communication connection methods, but other methods may be used. For example, a wired communication connection method such as IEEE1394 or RS-232C may be used. Further, a wireless communication connection method such as infrared communication may be used.

また、本発明の撮像装置は、デジタルカメラ等の撮像機能が主機能である機器の他、電子的撮像機能を有する携帯電話機等の撮像機能が主機能ではない機器も含むものとする。   The imaging apparatus of the present invention includes devices that have an imaging function as a main function, such as a digital camera, as well as devices that do not have an imaging function, such as a mobile phone having an electronic imaging function.

本発明の一実施形態に係る撮像装置(デジタルカメラ1)を用いたPictBridgeシステムの構成を示す外観図である。1 is an external view showing a configuration of a PictBridge system using an imaging apparatus (digital camera 1) according to an embodiment of the present invention. デジタルカメラ1の詳細な構成を示すブロック図である。1 is a block diagram showing a detailed configuration of a digital camera 1. FIG. デジタルカメラ1の平面図である。1 is a plan view of a digital camera 1. FIG. デジタルカメラ1とUSB接続される外部機器の一例であるプリンタ装置10の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a printer device 10 that is an example of an external device that is USB-connected to a digital camera 1. FIG. USB通信方式選択画面の表示例を示す図である。It is a figure which shows the example of a display of a USB communication system selection screen. デジタルカメラ1によるUSBケーブル9接続時の一処理例の流れを示すフローチャートである。6 is a flowchart showing a flow of one processing example when the USB cable 9 is connected by the digital camera 1. デジタルカメラ1によるUSBケーブル9接続時の他の処理例の流れを示すフローチャートである。12 is a flowchart showing a flow of another processing example when the USB cable 9 is connected by the digital camera 1.

符号の説明Explanation of symbols

1…デジタルカメラ(撮像装置)、9…USBケーブル、10…プリンタ装置(外部装置)、21…カメラコントローラ(CPU)、35,70…USBコントローラ。

DESCRIPTION OF SYMBOLS 1 ... Digital camera (imaging device), 9 ... USB cable, 10 ... Printer apparatus (external device), 21 ... Camera controller (CPU), 35, 70 ... USB controller.

Claims (4)

撮像装置本体前面から突出する突出位置と撮像装置本体内へ沈胴する沈胴位置とに移動可能な撮影レンズ鏡筒を有する撮像装置において、
上記突出位置と上記沈胴位置との間で上記撮影レンズ鏡筒を移動させる移動手段と、
プリンタまたはパーソナルコンピュータと電気的な接続がなされたか否かを認識する第1の認識手段と、
上記第1の認識手段によって電気的な接続が認識された際に、現在設定されている動作モードを確認する動作モード確認手段と、
上記動作モード確認手段によって上記撮影レンズ鏡筒が上記突出位置に位置する撮影モードであることが確認された際に、上記移動手段を制御して、上記突出位置に位置している上記撮影レンズ鏡筒を上記沈胴位置へ移動させる制御手段と、
上記制御手段の制御によって上記撮影レンズ鏡筒が上記沈胴位置へ移動した際に、上記プリンタまたは上記パーソナルコンピュータのいずれと接続しているのかをユーザに選択させるための画面を表示する選択画面表示手段と、
ユーザによって上記プリンタが選択された際には当該プリンタとの通信接続が確立したか否かを認識し、ユーザによって上記パーソナルコンピュータが選択された際には当該パーソナルコンピュータとの通信接続が確立したか否かを認識する第2の認識手段と、
を具備したことを特徴とする撮像装置。
In an imaging apparatus having a photographic lens barrel that is movable to a protruding position that protrudes from the front surface of the imaging apparatus body and a retracted position that retracts into the imaging apparatus body,
Moving means for moving the photographing lens barrel between the protruding position and the retracted position;
First recognition means for recognizing whether an electrical connection has been made with a printer or a personal computer;
An operation mode confirmation means for confirming a currently set operation mode when an electrical connection is recognized by the first recognition means;
When it is confirmed by the operation mode confirmation means that the photographing lens barrel is in a photographing mode located at the protruding position, the photographing lens mirror located at the protruding position is controlled by controlling the moving means. Control means for moving the cylinder to the retracted position;
Selection screen display means for displaying a screen for allowing the user to select which of the printer and the personal computer is connected when the photographic lens barrel is moved to the retracted position under the control of the control means. When,
When the user selects the printer, it recognizes whether the communication connection with the printer has been established. When the user selects the personal computer, has the communication connection with the personal computer been established? Second recognition means for recognizing whether or not,
An image pickup apparatus comprising:
撮像装置本体前面から突出する突出位置と撮像装置本体内へ沈胴する沈胴位置とに移動可能な撮影レンズ鏡筒を有する撮像装置において、
プリンタまたはパーソナルコンピュータと電気的な接続がなされたか否かを認識する第1の認識手段と、
上記第1の認識手段によって電気的な接続が認識された際に、現在設定されている動作モードを確認する動作モード確認手段と、
上記動作モードの確認後、上記プリンタまたは上記パーソナルコンピュータのいずれと接続しているのかをユーザに選択させるための画面を表示する選択画面表示手段と、
ユーザによって上記プリンタが選択された際に、当該プリンタとの通信接続が確立したか否かを認識する第2の認識手段と、
上記突出位置と上記沈胴位置との間で上記撮影レンズ鏡筒を移動させる移動手段と、
上記第2の認識手段によってプリンタとの通信接続が確立されたことが認識され、かつ、上記動作モード確認手段によって上記撮影レンズ鏡筒が上記突出位置に位置する撮影モードであることが確認された際に、上記移動手段を制御して、上記突出位置に位置している上記撮影レンズ鏡筒を上記沈胴位置へ移動させる制御手段と、
を具備したことを特徴とする撮像装置。
In an imaging apparatus having a photographic lens barrel that is movable to a protruding position that protrudes from the front surface of the imaging apparatus body and a retracted position that retracts into the imaging apparatus body,
First recognition means for recognizing whether an electrical connection has been made with a printer or a personal computer;
An operation mode confirmation means for confirming a currently set operation mode when an electrical connection is recognized by the first recognition means;
Selection screen display means for displaying a screen for allowing the user to select whether the printer or the personal computer is connected after confirming the operation mode;
Second recognition means for recognizing whether a communication connection with the printer is established when the printer is selected by a user;
Moving means for moving the photographing lens barrel between the protruding position and the retracted position;
The second recognition means recognizes that the communication connection with the printer has been established, and the operation mode confirmation means confirms that the photographing lens barrel is in the photographing mode located at the protruding position. A control means for controlling the moving means to move the photographing lens barrel located at the protruding position to the retracted position;
An image pickup apparatus comprising:
撮像装置本体前面から突出する突出位置と撮像装置本体内へ沈胴する沈胴位置とに移動可能な撮影レンズ鏡筒を有する撮像装置における当該撮影レンズ鏡筒の制御方法であって、
プリンタまたはパーソナルコンピュータと電気的な接続がなされたか否かを認識するステップと、
プリンタまたはパーソナルコンピュータとの電気的な接続が認識された際に、現在設定されている動作モードを確認するステップと、
上記撮影レンズ鏡筒が上記突出位置に位置する撮影モードであることが確認された際に、上記突出位置に位置している上記撮影レンズ鏡筒を上記沈胴位置へ移動させるステップと、
上記撮影レンズ鏡筒が上記沈胴位置へ移動した際に、上記プリンタまたは上記パーソナルコンピュータのいずれと接続しているのかをユーザに選択させるための画面を表示するステップと、
ユーザによって上記プリンタが選択された際には当該プリンタとの通信接続が確立したか否かを認識し、ユーザによって上記パーソナルコンピュータが選択された際には当該パーソナルコンピュータとの通信接続が確立したか否かを認識するステップと、
を含むことを特徴とする撮像装置における撮影レンズ鏡筒の制御方法。
A method for controlling a photographic lens barrel in an imaging device having a photographic lens barrel that is movable between a protruding position that protrudes from the front surface of the imaging device body and a retracted position that retracts into the imaging device body,
Recognizing whether an electrical connection has been made to the printer or personal computer;
Checking the currently set operation mode when an electrical connection with the printer or personal computer is recognized;
When it is confirmed that the photographing lens barrel is in a photographing mode located at the protruding position, the step of moving the photographing lens barrel located at the protruding position to the retracted position;
Displaying a screen for allowing the user to select whether the photographing lens barrel is connected to the printer or the personal computer when the lens barrel moves to the retracted position;
When the user selects the printer, it recognizes whether the communication connection with the printer has been established. When the user selects the personal computer, has the communication connection with the personal computer been established? Recognizing whether or not
A method for controlling a photographic lens barrel in an image pickup apparatus.
撮像装置本体前面から突出する突出位置と撮像装置本体内へ沈胴する沈胴位置とに移動可能な撮影レンズ鏡筒を有する撮像装置における当該撮影レンズ鏡筒の制御方法であって、
プリンタまたはパーソナルコンピュータと電気的な接続がなされたか否かを認識するステップと、
プリンタまたはパーソナルコンピュータとの電気的な接続が認識された際に、現在設定されている動作モードを確認するステップと、
上記プリンタまたは上記パーソナルコンピュータのいずれと接続しているのかをユーザに選択させるための画面を表示するステップと、
ユーザによって上記プリンタが選択された際に、当該プリンタとの通信接続が確立したか否かを認識するステップと、
プリンタとの通信接続が確立されたことが認識され、かつ、上記撮影レンズ鏡筒が上記突出位置に位置する撮影モードであることが確認された際に、上記突出位置に位置している上記撮影レンズ鏡筒を上記沈胴位置へ移動させるステップと、
を含むことを特徴とする撮像装置における撮影レンズ鏡筒の制御方法。
A method for controlling a photographic lens barrel in an imaging device having a photographic lens barrel that is movable between a protruding position that protrudes from the front surface of the imaging device body and a retracted position that retracts into the imaging device body,
Recognizing whether an electrical connection has been made to the printer or personal computer;
Checking the currently set operation mode when an electrical connection with the printer or personal computer is recognized;
Displaying a screen for allowing the user to select whether the printer or the personal computer is connected;
Recognizing whether a communication connection with the printer is established when the user selects the printer;
When the communication connection with the printer is recognized and it is confirmed that the photographing lens barrel is in the photographing mode in the projecting position, the photographing in the projecting position is performed. Moving the lens barrel to the retracted position;
A method for controlling a photographic lens barrel in an image pickup apparatus.
JP2003318174A 2003-09-10 2003-09-10 IMAGING DEVICE AND METHOD FOR CONTROLLING SHOOTING LENS BARREL IN IMAGING DEVICE Expired - Fee Related JP4242739B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2003318174A JP4242739B2 (en) 2003-09-10 2003-09-10 IMAGING DEVICE AND METHOD FOR CONTROLLING SHOOTING LENS BARREL IN IMAGING DEVICE
US10/936,038 US7777779B2 (en) 2003-09-10 2004-09-08 Photographing apparatus, control method for lens barrel of photographing apparatus, printer, control method for printer, and printing system
US12/830,985 US8013892B2 (en) 2003-09-10 2010-07-06 Photographing apparatus, control method for lens barrel of photographing appartus, printer, control method for printer, and printing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003318174A JP4242739B2 (en) 2003-09-10 2003-09-10 IMAGING DEVICE AND METHOD FOR CONTROLLING SHOOTING LENS BARREL IN IMAGING DEVICE

Publications (2)

Publication Number Publication Date
JP2005086638A JP2005086638A (en) 2005-03-31
JP4242739B2 true JP4242739B2 (en) 2009-03-25

Family

ID=34417527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003318174A Expired - Fee Related JP4242739B2 (en) 2003-09-10 2003-09-10 IMAGING DEVICE AND METHOD FOR CONTROLLING SHOOTING LENS BARREL IN IMAGING DEVICE

Country Status (1)

Country Link
JP (1) JP4242739B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104583861B (en) * 2012-08-23 2017-06-23 松下知识产权经营株式会社 Flash unit and possesses the camera head of flash unit

Also Published As

Publication number Publication date
JP2005086638A (en) 2005-03-31

Similar Documents

Publication Publication Date Title
US8013892B2 (en) Photographing apparatus, control method for lens barrel of photographing appartus, printer, control method for printer, and printing system
US8493450B2 (en) Camera, printer, print system, control method, memory medium and program therefor
KR100491286B1 (en) Imaging apparatus, system having imaging apparatus and printing apparatus, and control method therefor
JP4487879B2 (en) Recording apparatus, image forming system, and communication method
KR100549744B1 (en) Printing apparatus, control method therefor, and storage medium
JP2003143539A (en) Imaging device, system having imaging device and recorder and controlling method thereof
JP2008046689A (en) Image input device, image output device and transfer method
KR100555282B1 (en) Recordning device, image supply device, recording system and control method thereof
JP4331552B2 (en) Imaging device
EP2067626B1 (en) Printer and printer system
JP4242739B2 (en) IMAGING DEVICE AND METHOD FOR CONTROLLING SHOOTING LENS BARREL IN IMAGING DEVICE
JP4143501B2 (en) Image supply apparatus, recording system including the image supply apparatus and recording apparatus, and communication control method thereof
JP4841646B2 (en) Imaging device
JP2005086637A (en) Imaging apparatus
JP4532866B2 (en) Printer apparatus, printing control method therefor, and image processing system
JP4197999B2 (en) Electronic camera
JP2003200632A (en) Printing system, and printer and digital camera for constituting printing system
JP3439971B2 (en) Printers and digital cameras
JP2005020305A (en) Electronic camera
JP4242907B2 (en) Image printing system
JP5495658B2 (en) Imaging apparatus, printing apparatus, and program
JP2003153179A (en) Image print system
JP2001218096A (en) Digital camera with attachable and detachable printer
JP2003319334A (en) Image print system
JP2003244585A (en) Printing system, and printer and digital camera constituting the system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060530

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080821

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080826

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081023

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

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

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

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4242739

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140109

Year of fee payment: 5

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

LAPS Cancellation because of no payment of annual fees