JP4331552B2 - Imaging device - Google Patents

Imaging device Download PDF

Info

Publication number
JP4331552B2
JP4331552B2 JP2003318176A JP2003318176A JP4331552B2 JP 4331552 B2 JP4331552 B2 JP 4331552B2 JP 2003318176 A JP2003318176 A JP 2003318176A JP 2003318176 A JP2003318176 A JP 2003318176A JP 4331552 B2 JP4331552 B2 JP 4331552B2
Authority
JP
Japan
Prior art keywords
mode
digital camera
main power
communication
state
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
JP2003318176A
Other languages
Japanese (ja)
Other versions
JP2005086639A (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 JP2003318176A priority Critical patent/JP4331552B2/en
Priority to US10/936,038 priority patent/US7777779B2/en
Publication of JP2005086639A publication Critical patent/JP2005086639A/en
Application granted granted Critical
Publication of JP4331552B2 publication Critical patent/JP4331552B2/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

  • Telephone Function (AREA)
  • Structure And Mechanism Of Cameras (AREA)
  • Studio Devices (AREA)
  • Telephonic Communication Services (AREA)
  • Blocking Light For Cameras (AREA)

Description

本発明は、デジタルカメラ等の撮像装置に関する。   The present invention relates to an imaging apparatus such as a digital camera.

従来、撮影時に撮影レンズ鏡筒をカメラ本体内の沈胴位置からカメラ本体前面から突出する撮影準備位置へ移動させ、非撮影時には撮影準備位置からカメラ本体内の沈胴位置へ沈胴させることにより、携帯性を向上させたデジタルカメラが知られている。このようなデジタルカメラには、撮影レンズ鏡筒の沈胴を電源スイッチのオンオフにより制御するタイプのもの、撮影レンズ鏡筒の沈胴をカメラ本体前面に設けられたバリアが撮影レンズを覆う閉位置と撮影レンズを露呈する開位置への移動により制御するタイプのもの、更に、撮影レンズ鏡筒の沈胴を撮影用の電源をカメラ本体に着脱することにより制御するタイプのものなどが知られている。撮影用の電源をカメラ本体に着脱することにより制御するタイプのものとしては、例えば、外部制御機器に装着可能な撮影機能付きメモリカードに撮影用の電源を装着すると、レンズが撮影準備位置へ移動し、撮影用の電源を取り外すと、レンズが沈胴する方式のデジタルカメラが知られている(例えば、特許文献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システムによる撮影画像のプリントアウトを行う場合、従来は、デジタルカメラとプリンタ装置間をUSBケーブルで接続する、デジタルカメラの主電源をオンする(これによりデジタルカメラは自動的に撮影モードとなる)、デジタルカメラの動作モードを再生モードに切替える、デジタルカメラにより印刷出力操作を行う、といった4つの手順によってPictBridgeシステムによる画像印刷が行われている。   Here, when a user prints out a captured image using the PictBridge system, conventionally, the digital camera is connected to the printer device with a USB cable, and the main power source of the digital camera is turned on (this automatically causes the digital camera to automatically turn on). Image printing is performed by the PictBridge system according to four procedures, such as switching to the playback mode from the operation mode of the digital camera and performing a print output operation with the digital camera.

上述した従来のデジタルカメラでは、USBケーブルを介してプリンタ装置とダイレクト接続されて相互認識が完了し、印刷が可能な状態に設定されると、デジタルカメラは再生モードからプリンタとの通信もできる通信モードへ移行するが、ここで、デジタルカメラ側またはプリンタ装置側からUSBケーブルを不用意に抜いてしまった場合や、意図的に抜いた場合は、USBケーブルを抜くことにより相互認識ができなくなり、通常、デジタルカメラは再生モードに移行する。しかしながら、デジタルカメラからUSBケーブルを抜いて即座に撮影したい場合には、改めて撮影モードに設定しなくてはならず、煩わしいばかりか、シャッターチャンスを逃してしまうことがあった。   In the above-described conventional digital camera, when the digital camera is directly connected to the printer device via the USB cable and mutual recognition is completed and the printer is set in a printable state, the digital camera can communicate with the printer from the playback mode. If the USB cable is inadvertently disconnected from the digital camera side or printer device side, or if it is intentionally disconnected, mutual recognition will not be possible by disconnecting the USB cable. Usually, the digital camera shifts to a playback mode. However, if the user wants to take a picture immediately after disconnecting the USB cable from the digital camera, the user must set the shooting mode again, which is troublesome and sometimes misses a photo opportunity.

また、従来のデジタルカメラでは、撮影モード状態のまま、即ち、撮影レンズ鏡筒がカメラ本体から前面に突出した状態のまま、プリンタ装置と接続完了しても、当該撮影レンズ鏡筒は移動せず、カメラ本体から前面から突出した状態のままであった。そのため、デジタルカメラを操作している時に、撮影レンズ鏡筒が障害物と接触する虞があった。特に、ユーザが液晶画面を見ながら操作している時は、障害物に気づきにくく、障害物と接触し撮影レンズ鏡筒が破損する可能性が一段と高かった。   In addition, in the conventional digital camera, even if the connection with the printer device is completed in the shooting mode state, that is, in a state where the shooting lens barrel protrudes from the camera body, the shooting lens barrel does not move. The projecting from the front of the camera body remained. 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 consideration of such circumstances, and the purpose of the present invention is when the communication mode state is canceled in an imaging apparatus such as a digital camera that is connected to an external apparatus and is in communication mode. An object of the present invention is to provide an imaging apparatus that can smoothly cope with the next operation.

上記の課題を解決するために、本発明の撮像装置は、通信接続された外部装置へ画像ファイルを供給する撮像装置において、上記外部装置からの信号を受信する受信手段と、上記外部装置から受信した信号に基づいて当該外部装置との通信接続が確立したことを認識する認識手段と、上記認識手段によって上記外部装置との通信接続が認識された際に、主電源のオンオフを確認する確認手段と、上記確認手段によって上記主電源がオフ状態であることが確認された際に、当該主電源をオンに設定する第1の設定手段と、上記第1の設定手段によって上記主電源がオン状態に設定された際に、上記主電源がオフ状態であったことを記憶する記憶手段と、上記主電源をオンに設定された際に、動作モードを上記外部装置と通信可能な通信モードに設定するとともに当該通信モードから他の動作モードへの変更を禁止する設定を行なう第2の設定手段と、を備え、
上記認識手段によって上記外部装置との通信接続が非確立の状態となったと確認された際、上記第2の設定手段は、上記通信モードから他の動作モードへの変更を禁止する設定を解除し、上記第1の設定手段は、上記主電源を上記記憶手段に記憶されている内容であるオフ状態に切り換えることを特徴としている。
この構成によれば、外部装置との通信接続により通信モードに移行した後、当該通信モード状態が解除された際には確認されたモードに自動的に切り換えることができ、次の動作がスムーズに実行できる。
In order to solve the above-described problems, an imaging apparatus according to the present invention includes: a receiving unit that receives a signal from the external apparatus; and a receiver that receives the signal from the external apparatus in an imaging apparatus that supplies an image file to a communication-connected external apparatus. Recognizing means for recognizing that a communication connection with the external device has been established based on the received signal, and confirmation means for confirming whether the main power supply is on or off when the recognizing means recognizes the communication connection with the external device. And when the confirmation means confirms that the main power supply is in the off state, the first setting means for turning on the main power supply, and the main power supply in the on state by the first setting means. Storage means for storing that the main power source is in an off state when the main power source is set to ON, and a communication mode capable of communicating with the external device when the main power source is set to on. A second setting means for setting to prohibit a change from the communication mode to another operating mode as well as a constant, provided with,
When the recognition unit confirms that the communication connection with the external device has not been established, the second setting unit cancels the setting for prohibiting the change from the communication mode to another operation mode. The first setting means switches the main power source to an off state which is the content stored in the storage means.
According to this configuration, after shifting to the communication mode by communication connection with the external device, when the communication mode state is canceled, the mode can be automatically switched to the confirmed mode, and the next operation can be smoothly performed. Can be executed.

本発明によれば、通信モード状態が解除された際、自動的に、動作モードの変更が解除され、通信モード移行直前の主電源オフ状態に戻すことができるので、次の動作がスムーズに実行できる。
また、主電源がオフ状態の外部装置と通信接続された際、主電源を自動的にオフ状態からオン状態にするので、ユーザが主電源をオン操作する手間が省ける。
さらに、通信モードに移行した際、動作モードの変更が禁止されるので、通信モード状態の時にユーザ操作によって不用意に通信モード以外のモードに移行することが防止できる。
According to the present invention, when the communication mode state is canceled, the change of the operation mode is automatically canceled, and the main power off state immediately before the transition to the communication mode can be restored, so that the next operation is executed smoothly. it can.
In addition, when the main power supply is connected to an external device in the off state, the main power supply is automatically switched from the off state to the on state, so that the user can save the trouble of turning on the main power source.
Furthermore, since the change of the operation mode is prohibited when the mode is shifted to the communication mode, it is possible to prevent the mode from being inadvertently shifted to a mode other than the communication mode by a user operation in the communication mode state.

以下、図面を参照し、本発明の一実施形態を順次説明する。
図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 showing a configuration of a direct printing system (hereinafter referred to as a PictBridge system) in which a digital camera (imaging device) and a printer device 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に再生表示させ、その画像を見て印刷対象画像を選択し、プリンタ装置へ送信することができる。また、CPU21は、主電源のオンオフを管理する。
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. The CPU 21 manages on / off of the main power supply.

このデジタルカメラ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の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. 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は、外部機器であるプリンタ装置10との接続を確認するために、VBUSの電圧レベルを監視する。このVBUSの電圧を検出した場合に、デジタルカメラ1のCPU21はUSBケーブル9が接続されたと判断する。また、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 the connection with the printer device 10 which is 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. Further, when detecting the voltage interruption of VBUS, the CPU 21 of the digital camera 1 determines that the connection of the USB cable 9 is released.

一方、PCやプリンタ装置10等の外部機器は、デジタルカメラ1との接続を検出するために、信号線D+若しくはD−のプルアップを監視する。デジタルカメラ1は、外部機器であるプリンタ装置10に接続されるとVBUSの電圧を検出してUSBケーブル9が接続されたことを検出するが、例えば、D+、D−のプルアップを行わないため、直ぐには通信を確立しない。従って、外部機器であるプリンタ装置10はデジタルカメラ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 the printer device 10 which is an external device, the digital camera 1 detects the voltage of VBUS and detects that the USB cable 9 is connected. However, for example, the digital camera 1 does not pull up D + and D−. The communication is not established immediately. Therefore, the printer device 10 which is an external device does not recognize the connection with the digital camera 1.

この間に、デジタルカメラ1は、外部機器であるプリンタ装置10から与えられるVBUSの電圧値の変化に応じて、UI(ユーザインタフェース)画面にUSBクラス(プリンタまたはPC)を選択させるような画面(図5の画面)を自動的に表示する。ユーザは、所望とする外部機器であるプリンタ装置10を当該UI画面にて選択可能となる。UI画面はLCD表示部2に表示される。なお、図5の画面例では、USBクラスとしてPCが選択されている。   During this time, the digital camera 1 causes the UI (user interface) screen to select the USB class (printer or PC) in accordance with the change in the VBUS voltage value given from the printer device 10 which is an external device (see FIG. 5 screen) is automatically displayed. The user can select the printer device 10 that is 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−をプルアップすることで、外部機器であるプリンタ装置10との接続を確認した旨を知らせる。これにより、プリンタ装置10は、デジタルカメラ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 printer device 10 which is an external device has been confirmed. Accordingly, the printer device 10 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.

次に、PictBridgeシステムにおいて印刷実行可能状態に至る手順を説明する。
PictBridgeシステムでは、USBケーブル9を介して接続されている機器間のデータ転送用の通信プロトコルにPTP(Picture Transfer Protocol)が採用されており、このPTPがトランスポート層の通信プロトコルとして用いられる。物理通信レイヤにはUSBが用いられる。そして、PTPトランスポート層とDPSアプリケーション層の間に変換レイヤであるDSP層を設け、PTPとのマッピングを行う。DSP層には、USB接続された双方の機器がDPS機能を有するものか否かを相互認識するDPSディスカバリ機能が設けられている。
Next, a procedure for reaching a print executable state in the PictBridge system will be described.
In the PictBridge system, PTP (Picture Transfer Protocol) is adopted as a communication protocol for data transfer between devices connected via the USB cable 9, and this PTP is used as a communication protocol for the transport layer. 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.

初めに、USBケーブルの接続後、USBケーブル9を介して接続されている機器間でUSBプロトコルが確立すると、次にPTP通信の確立処理が実行される。次いで、双方の機器間でPTPによる通信接続が確立した後に、DPSディスカバリが実行される。そして、このDPSディスカバリ成立によって、双方の機器の制御がDPSアプリケーションに移行する。これにより、PictBridgeシステムによる画像印刷が実行可能となる。   First, after the USB cable is connected, when the USB protocol is established between devices connected via the USB cable 9, PTP communication establishment processing is executed next. Next, after establishing communication connection by PTP between both devices, DPS discovery is executed. Then, when this DPS discovery is established, control of both devices shifts to the DPS application. As a result, image printing by the PictBridge system can be executed.

次に、本実施形態によるデジタルカメラ1の動作制御方法について説明する。
初めに、図6,図7を参照して、第1の実施例を説明する。図6,図7は、本実施形態によるUSBケーブル9接続時の動作制御処理の第1の実施例の流れを示すフローチャートである。
Next, the operation control method of the digital camera 1 according to the present embodiment will be described.
First, the first embodiment will be described with reference to FIGS. 6 and 7 are flowcharts showing the flow of the first example of the operation control process when the USB cable 9 is connected according to the present embodiment.

デジタルカメラ1のCPU21は、VBUSの電圧検出によりUSBケーブル9が接続されたことを検出すると、図6の処理を開始する。先ずステップS101において、CPU21は、現在の主電源のオンオフを確認する。この確認の結果、主電源がオフならば、主電源をオンに設定し、RAM36内のケーブル接続前の動作状態を記録する所定記憶領域(以下、接続前状態記録領域と称する)に「主電源オフ」を書き込む(ステップS102、S103)。   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, in step S101, the CPU 21 confirms the current main power on / off. If the main power is turned off as a result of this confirmation, the main power is turned on and the main power is set in a predetermined storage area (hereinafter referred to as a pre-connection state recording area) in the RAM 36 for recording the operation state before the cable connection. "OFF" is written (steps S102 and S103).

一方、主電源がオンならば、ステップS104において、CPU21は、現在の動作モードを確認する。この確認の結果、撮影モードである場合に、CPU21は、接続前状態記録領域に「撮影モード」を書き込む(ステップS105)。さらに、レンズ駆動部24を制御して撮影レンズ鏡筒22aをデジタルカメラ1の本体内へ沈胴させる(ステップS106)。ステップS104の確認の結果、再生モードである場合には、CPU21は、接続前状態記録領域に「再生モード」を書き込む(ステップS107)。   On the other hand, if the main power supply is on, in step S104, the CPU 21 confirms the current operation mode. As a result of the confirmation, if the shooting mode is set, the CPU 21 writes “shooting mode” in the pre-connection state recording area (step S105). Further, the lens driving unit 24 is controlled to retract the photographing lens barrel 22a into the main body of the digital camera 1 (step S106). As a result of the confirmation in step S104, if the reproduction mode is set, the CPU 21 writes “reproduction mode” in the pre-connection state recording area (step S107).

次いで、ステップS108において、CPU21は、DPSディスカバリを実行する。この結果、DPSディスカバリが不成立の場合には(ステップS109がNO)、CPU21はLCD2の画面上に、プリンタを認識できない旨を表示する(ステップS110)。   Next, in step S108, the CPU 21 executes DPS discovery. As a result, when DPS discovery is not established (NO in step S109), the CPU 21 displays on the LCD 2 screen that the printer cannot be recognized (step S110).

一方、DPSディスカバリが成立した場合には(ステップS109がYES)、CPU21は動作モードを通信モードに設定する(ステップS111)。さらに、動作モードの変更禁止を設定して動作モードを通信モードに固定する(ステップS112)。これにより、動作モードの変更操作が無効化される。この結果、ユーザは、動作モード変更の誤操作を気にすることなく、PictBridgeシステムによる画像印刷のための操作を存分に行うことができる。   On the other hand, if DPS discovery is established (YES in step S109), the CPU 21 sets the operation mode to the communication mode (step S111). Further, prohibition of changing the operation mode is set to fix the operation mode to the communication mode (step S112). As a result, the operation mode changing operation is invalidated. As a result, the user can fully perform an operation for image printing by the PictBridge system without worrying about an erroneous operation of changing the operation mode.

次いで、図7のステップS113において、CPU21は、USBケーブルの接続の解放を監視する。そして、USBケーブルの接続の解放を検出すると(ステップS114がYES)、動作モードの変更禁止を解除する(ステップS115)。次いで、ステップS116において、CPU21は、RAM36内の接続前状態記録領域に記録されているケーブル接続前の動作状態を読み出す。そして、ケーブル接続前の動作状態に戻す処理を行う。具体的には、ケーブル接続前の動作状態が「主電源オフ」ならば、主電源をオフする(ステップS117)。ケーブル接続前の動作状態が「撮影モード」ならば、動作モードを撮影モードに設定する(ステップS118)。さらに、レンズ駆動部24を制御して撮影レンズ鏡筒22aをデジタルカメラ1の本体内から繰り出す(ステップS119)。この繰り出しにより撮影レンズ鏡筒22aがデジタルカメラ1の本体内から突出し、撮影可能な状態となる。また、ケーブル接続前の動作状態が「再生モード」ならば、動作モードを再生モードに設定する(ステップS120)。   Next, in step S113 of FIG. 7, the CPU 21 monitors the release of the USB cable connection. When the release of the USB cable connection is detected (YES in step S114), the prohibition of changing the operation mode is canceled (step S115). Next, in step S <b> 116, the CPU 21 reads the operation state before cable connection recorded in the pre-connection state recording area in the RAM 36. And the process which returns to the operation state before a cable connection is performed. Specifically, if the operating state before the cable connection is “main power off”, the main power is turned off (step S117). If the operation state before the cable connection is “shooting mode”, the operation mode is set to the shooting mode (step S118). Further, the lens driving unit 24 is controlled to extend the photographing lens barrel 22a from the main body of the digital camera 1 (step S119). By this extension, the photographing lens barrel 22a protrudes from the inside of the digital camera 1 and is ready for photographing. If the operation state before the cable connection is “reproduction mode”, the operation mode is set to the reproduction mode (step S120).

上述した第1の実施例によれば、外部装置であるプリンタ装置10との通信接続により通信モードに移行した後、動作モードの変更が禁止されるので、通信モード状態の時にユーザ操作によって不用意に通信モード以外のモードに移行することが防止できる。この結果、プリンタ装置10との通信処理を安定して行うことができる。   According to the first embodiment described above, the change of the operation mode is prohibited after shifting to the communication mode by the communication connection with the printer device 10 which is an external device. It is possible to prevent the mode from being shifted to a mode other than the communication mode. As a result, communication processing with the printer device 10 can be performed stably.

また、外部装置であるプリンタ装置10との通信接続により通信モードに移行した後、当該通信モード状態が解除された際に自動的に通信モード移行直前のモードに戻すことができ、次の動作がスムーズに実行できる。これにより、操作性の良いデジタルカメラを提供することができる。   In addition, after shifting to the communication mode by communication connection with the printer device 10 which is an external device, when the communication mode state is canceled, the mode immediately before shifting to the communication mode can be automatically restored, and the next operation is performed. It can be executed smoothly. Thereby, a digital camera with good operability can be provided.

また、USBケーブルが接続されることにより、突出していた撮影レンズ鏡筒22aが自動的にデジタルカメラ本体内に沈胴するので、印刷操作時に撮影レンズと障害物とが衝突する等の不慮の事故が未然に防止される。   Further, since the protruding photographing lens barrel 22a is automatically retracted into the digital camera body by connecting the USB cable, there is an unexpected accident such as collision between the photographing lens and an obstacle during printing operation. Prevented in advance.

また、DPSディスカバリが成立すると、自動的に通信モードに移行するので、ユーザが動作モードを通信モードに変更操作する手間が省ける。また、USBケーブルが接続されても印刷不可能な場合には通信モードに移行しないので、無用な動作モードの変更が防止される。   Further, when DPS discovery is established, the mode automatically shifts to the communication mode, so that the user can save time and effort to change the operation mode to the communication mode. Further, when printing is not possible even when the USB cable is connected, the communication mode is not shifted, so that unnecessary change of the operation mode is prevented.

また、USBケーブルが接続されることにより、自動的に主電源がオンされるので、ユーザが主電源をオン操作する手間が省ける。   In addition, since the main power supply is automatically turned on when the USB cable is connected, the user can save the trouble of turning on the main power supply.

次に、図8,図9を参照して、第2の実施例を説明する。図8,図9は、本実施形態によるUSBケーブル9接続時の動作制御処理の第2の実施例の流れを示すフローチャートである。
デジタルカメラ1のCPU21は、VBUSの電圧検出によりUSBケーブル9が接続されたことを検出すると、図8の処理を開始し、現在の主電源のオンオフを確認する(ステップS201)。この確認の結果、主電源がオフならば、主電源をオンに設定する(ステップS202)。
Next, a second embodiment will be described with reference to FIGS. 8 and 9 are flowcharts showing the flow of the second example of the operation control processing when the USB cable 9 is connected according to the present embodiment.
When the CPU 21 of the digital camera 1 detects that the USB cable 9 is connected by detecting the voltage of VBUS, the CPU 21 starts the process of FIG. 8 and confirms the current main power on / off (step S201). If the main power is off as a result of this confirmation, the main power is set to on (step S202).

一方、主電源がオンならば、CPU21は、現在の動作モードを確認し(ステップS203)、撮影モードである場合には、レンズ駆動部24を制御して撮影レンズ鏡筒22aをデジタルカメラ1の本体内へ沈胴させる(ステップS204)。なお、ステップS203の確認の結果、再生モードである場合には、そのままステップS205へ進む。   On the other hand, if the main power supply is on, the CPU 21 confirms the current operation mode (step S203). If the main power supply is in the photographing mode, the lens driving unit 24 is controlled to control the photographing lens barrel 22a. The body is retracted (step S204). If it is determined in step S203 that the playback mode is set, the process directly proceeds to step S205.

次いで、ステップS205において、CPU21は、DPSディスカバリを実行する。この結果、DPSディスカバリが不成立の場合には(ステップS206がNO)、CPU21はLCD2の画面上に、プリンタを認識できない旨を表示する(ステップS207)。   Next, in step S205, the CPU 21 executes DPS discovery. As a result, when DPS discovery is not established (NO in step S206), the CPU 21 displays on the LCD 2 screen that the printer cannot be recognized (step S207).

一方、DPSディスカバリが成立した場合には(ステップS206がYES)、CPU21は動作モードを通信モードに設定し(ステップS208)、さらに、動作モードの変更禁止を設定して動作モードを通信モードに固定する(ステップS209)。   On the other hand, if DPS discovery is established (YES in step S206), the CPU 21 sets the operation mode to the communication mode (step S208), and further sets the operation mode change prohibition to fix the operation mode to the communication mode. (Step S209).

次いで、図9のステップS210において、CPU21は、USBケーブルの接続の解放を監視する。そして、USBケーブルの接続の解放を検出すると(ステップS211がYES)、動作モードの変更禁止を解除する(ステップS212)。次いで、ステップS213において、CPU21は、デジタルカメラ1の本体前面に設けられているレンズバリアの開閉状態を確認する。   Next, in step S210 of FIG. 9, the CPU 21 monitors the release of the USB cable connection. When the release of the USB cable connection is detected (YES in step S211), the prohibition of changing the operation mode is canceled (step S212). Next, in step S <b> 213, the CPU 21 confirms the open / close state of the lens barrier provided on the front surface of the main body of the digital camera 1.

図10は、デジタルカメラ1の本体前面に設けられているレンズバリア101の開閉状態を示す外観図である。図10(a)では、レンズバリア101が撮影レンズを覆う閉位置にある状態が示されている。図10(b)では、レンズバリア101が撮影レンズを露呈する開位置にある状態が示されている。なお、この図10(b)には、上記ステップS204で撮影レンズ鏡筒22aをデジタルカメラ1の本体内に沈胴させた状態を示している。また、レンズバリア101が開状態の時には、フラッシュ102、ファインダ103及び測距/測光窓104などが露呈している。レンズバリア101は、図10(a)の閉位置と図10(b)の開位置とに移動可能となっている。   FIG. 10 is an external view showing an open / close state of the lens barrier 101 provided on the front surface of the main body of the digital camera 1. FIG. 10A shows a state where the lens barrier 101 is in a closed position covering the photographing lens. FIG. 10B shows a state where the lens barrier 101 is in an open position where the photographing lens is exposed. FIG. 10B shows a state in which the taking lens barrel 22a is retracted in the main body of the digital camera 1 in step S204. When the lens barrier 101 is open, the flash 102, the finder 103, the distance measuring / photometric window 104, and the like are exposed. The lens barrier 101 is movable between a closed position in FIG. 10A and an open position in FIG.

次いで、レンズバリア101が開状態の場合には、CPU21は、動作モードを撮影モードに設定し(ステップS214)、さらに、レンズ駆動部24を制御して撮影レンズ鏡筒22aをデジタルカメラ1の本体内から繰り出す(ステップS215)。一方、レンズバリア101が閉状態の場合には、カメラ機能動作停止モードへ移行して主電源をオフ状態に設定する(ステップS216、S217)。   Next, when the lens barrier 101 is in the open state, the CPU 21 sets the operation mode to the photographing mode (step S214), and further controls the lens driving unit 24 to attach the photographing lens barrel 22a to the main body of the digital camera 1. It pays out from the inside (step S215). On the other hand, when the lens barrier 101 is in the closed state, the camera function operation stop mode is entered and the main power supply is set to the off state (steps S216 and S217).

上述した第2の実施例によれば、上記第1の実施例と同様に、外部装置であるプリンタ装置10との通信接続により通信モードに移行した後、動作モードの変更が禁止されるので、通信モード状態の時にユーザ操作によって不用意に通信モード以外のモードに移行することが防止できる。さらに、当該通信モード状態が解除された際に、レンズバリアの位置に応じて適当な動作モードに移行することができる。これにより、次の動作がスムーズに実行でき、操作性の良いデジタルカメラを提供することができる。なお、第2の実施例においては、レンズバリア101がモード設定部材に対応する。   According to the second embodiment described above, as in the first embodiment, the change of the operation mode is prohibited after shifting to the communication mode by the communication connection with the printer device 10 which is an external device. It is possible to prevent a mode other than the communication mode from being inadvertently shifted by a user operation in the communication mode state. Furthermore, when the communication mode state is canceled, it is possible to shift to an appropriate operation mode according to the position of the lens barrier. Thereby, the following operation can be executed smoothly and a digital camera with good operability can be provided. In the second embodiment, the lens barrier 101 corresponds to a mode setting member.

次に、図11,図12を参照して、第3の実施例を説明する。図11,図12は、本実施形態によるUSBケーブル9接続時の動作制御処理の第3の実施例の流れを示すフローチャートである。
図11,図12において、ステップS301〜S312までの処理は、上述した図8,9のステップS201〜S212までの処理にそれぞれ対応しており、その説明を省略する。図12のステップS313において、CPU21は、デジタルカメラ1の本体裏面に設けられている電源スイッチやモード選択スイッチ等を兼ねるダイヤルスイッチ部(以下、通称であるモードダイヤルと称する)5(図1参照)の設定状態を確認する。
Next, a third embodiment will be described with reference to FIGS. 11 and 12 are flowcharts showing the flow of the third example of the operation control processing when the USB cable 9 is connected according to the present embodiment.
11 and 12, the processing from step S301 to S312 corresponds to the processing from step S201 to S212 in FIGS. 8 and 9 described above, respectively, and the description thereof is omitted. In step S313 in FIG. 12, the CPU 21 has a dial switch unit (hereinafter referred to as a mode dial, commonly referred to as a mode switch) 5 provided on the back of the main body of the digital camera 1 (hereinafter referred to as a mode dial) 5 (see FIG. 1). Check the setting status of.

次いで、モードダイヤル5が撮影モード位置に設定されている場合には、CPU21は、動作モードを撮影モードに設定し(ステップS314)、さらに、レンズ駆動部24を制御して撮影レンズ鏡筒22aをデジタルカメラ1の本体内から繰り出す(ステップS315)。モードダイヤル5が再生モード位置に設定されている場合には、CPU21は、動作モードを再生モードに設定する(ステップS316)。モードダイヤル5が主電源オフ位置に設定されている場合には、CPU21は、カメラ機能動作停止モードへ移行して主電源をオフ状態に設定する(ステップS317、S318)。   Next, when the mode dial 5 is set to the shooting mode position, the CPU 21 sets the operation mode to the shooting mode (step S314), and further controls the lens driving unit 24 to move the shooting lens barrel 22a. The digital camera 1 is fed out from the main body (step S315). When the mode dial 5 is set to the playback mode position, the CPU 21 sets the operation mode to the playback mode (step S316). When the mode dial 5 is set to the main power supply off position, the CPU 21 shifts to the camera function operation stop mode and sets the main power supply to the off state (steps S317 and S318).

上述した第3の実施例によれば、上記実施例と同様に、外部装置であるプリンタ装置10との通信接続により通信モードに移行した後、動作モードの変更が禁止されるので、通信モード状態の時にユーザ操作によって不用意に通信モード以外のモードに移行することが防止できる。さらに、当該通信モード状態が解除された際に、モードダイヤル5の設定に動作モードを合わせることができる。これにより、次の動作がスムーズに実行でき、操作性の良いデジタルカメラを提供することができる。なお、第3の実施例においては、ダイヤルスイッチ部(モードダイヤル)5がモード設定部材に対応する。   According to the above-described third embodiment, as in the above-described embodiment, the change of the operation mode is prohibited after shifting to the communication mode by the communication connection with the printer device 10 which is an external device. At this time, it is possible to prevent a user operation from inadvertently shifting to a mode other than the communication mode. Furthermore, when the communication mode state is canceled, the operation mode can be matched with the setting of the mode dial 5. Thereby, the following operation can be executed smoothly and a digital camera with good operability can be provided. In the third embodiment, the dial switch unit (mode dial) 5 corresponds to a mode setting member.

なお、上述した実施形態においては、外部装置との通信接続が確立したことを条件として通信モードに設定したが、USBケーブルが接続されたことを条件として通信モードに設定するようにしてもよい。   In the above-described embodiment, the communication mode is set on the condition that the communication connection with the external apparatus is established. However, the communication mode may be set on the condition that the USB cable is connected.

なお、上述した実施形態においては、USBコントローラ35及びCPU21等が受信手段及び認識手段に対応する。また、CPU21等がモード設定手段及びモード状態確認手段及びモード状態復帰手段に対応する。   In the above-described embodiment, the USB controller 35, the CPU 21, and the like correspond to a receiving unit and a recognition unit. The CPU 21 and the like correspond to mode setting means, mode state confirmation means, and mode state return 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 a digital camera (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 connected to a digital camera 1 via USB. USB通信方式選択画面の表示例を示す図である。It is a figure which shows the example of a display of a USB communication system selection screen. 本実施形態によるUSBケーブル9接続時の動作制御処理の第1の実施例の流れを示すフローチャートである。It is a flowchart which shows the flow of the 1st Example of the operation control process at the time of the USB cable 9 connection by this embodiment. 本実施形態によるUSBケーブル9接続時の動作制御処理の第1の実施例の流れを示すフローチャートである。It is a flowchart which shows the flow of the 1st Example of the operation control process at the time of the USB cable 9 connection by this embodiment. 本実施形態によるUSBケーブル9接続時の動作制御処理の第2の実施例の流れを示すフローチャートである。It is a flowchart which shows the flow of the 2nd Example of the operation control process at the time of the USB cable 9 connection by this embodiment. 本実施形態によるUSBケーブル9接続時の動作制御処理の第2の実施例の流れを示すフローチャートである。It is a flowchart which shows the flow of the 2nd Example of the operation control process at the time of the USB cable 9 connection by this embodiment. デジタルカメラ1の本体前面に設けられているレンズバリア101の開閉状態を示す外観図である。2 is an external view showing an open / close state of a lens barrier 101 provided on the front surface of the main body of the digital camera 1. FIG. 本実施形態によるUSBケーブル9接続時の動作制御処理の第3の実施例の流れを示すフローチャートである。It is a flowchart which shows the flow of the 3rd Example of the operation control process at the time of the USB cable 9 connection by this embodiment. 本実施形態によるUSBケーブル9接続時の動作制御処理の第3の実施例の流れを示すフローチャートである。It is a flowchart which shows the flow of the 3rd Example of the operation control process at the time of the USB cable 9 connection by this embodiment.

符号の説明Explanation of symbols

1…デジタルカメラ(撮像装置)、5…ダイヤルスイッチ部、9…USBケーブル、10…プリンタ装置(外部装置)、21…カメラコントローラ(CPU)、24…レンズ駆動部、35…USBコントローラ、101…レンズバリア。


DESCRIPTION OF SYMBOLS 1 ... Digital camera (imaging device), 5 ... Dial switch part, 9 ... USB cable, 10 ... Printer apparatus (external device), 21 ... Camera controller (CPU), 24 ... Lens drive part, 35 ... USB controller, 101 ... Lens barrier.


Claims (1)

通信接続された外部装置へ画像ファイルを供給する撮像装置において、
上記外部装置からの信号を受信する受信手段と、
上記外部装置から受信した信号に基づいて当該外部装置との通信接続が確立したことを認識する認識手段と、
上記認識手段によって上記外部装置との通信接続が認識された際に、主電源のオンオフを確認する確認手段と、
上記確認手段によって上記主電源がオフ状態であることが確認された際に、当該主電源をオンに設定する第1の設定手段と、
上記第1の設定手段によって上記主電源がオン状態に設定された際に、上記主電源がオフ状態であったことを記憶する記憶手段と、
上記主電源をオンに設定された際に、動作モードを上記外部装置と通信可能な通信モードに設定するとともに当該通信モードから他の動作モードへの変更を禁止する設定を行なう第2の設定手段と
備え、
上記認識手段によって上記外部装置との通信接続が非確立の状態となったと確認された際、上記第2の設定手段は、上記通信モードから他の動作モードへの変更を禁止する設定を解除し、上記第1の設定手段は、上記主電源を上記記憶手段に記憶されている内容であるオフ状態に切り換えることを特徴とする撮像装置。
In an imaging device that supplies an image file to a communication-connected external device,
Receiving means for receiving a signal from the external device;
Recognition means for recognizing that a communication connection with the external device has been established based on a signal received from the external device;
Confirmation means for confirming on / off of the main power supply when the recognition means recognizes the communication connection with the external device;
First confirmation means for turning on the main power supply when the confirmation means confirms that the main power supply is in an off state;
Storage means for storing that the main power supply is in an off state when the main power supply is set in an on state by the first setting means;
Second setting means for setting the operation mode to a communication mode communicable with the external device and prohibiting the change from the communication mode to another operation mode when the main power source is set to ON. and,
With
When the recognition unit confirms that the communication connection with the external device has not been established, the second setting unit cancels the setting for prohibiting the change from the communication mode to another operation mode. The first setting unit switches the main power source to an off state which is the content stored in the storage unit.
JP2003318176A 2003-09-10 2003-09-10 Imaging device Expired - Fee Related JP4331552B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2003318176A JP4331552B2 (en) 2003-09-10 2003-09-10 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
JP2003318176A JP4331552B2 (en) 2003-09-10 2003-09-10 Imaging device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2009109780A Division JP4841646B2 (en) 2009-04-28 2009-04-28 Imaging device

Publications (2)

Publication Number Publication Date
JP2005086639A JP2005086639A (en) 2005-03-31
JP4331552B2 true JP4331552B2 (en) 2009-09-16

Family

ID=34417529

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003318176A Expired - Fee Related JP4331552B2 (en) 2003-09-10 2003-09-10 Imaging device

Country Status (1)

Country Link
JP (1) JP4331552B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007020042A (en) * 2005-07-11 2007-01-25 Nikon Corp Electronic camera
WO2007007758A1 (en) 2005-07-11 2007-01-18 Nikon Corporation Electronic camera
JP5028798B2 (en) * 2005-12-27 2012-09-19 ソニー株式会社 Information processing apparatus, information processing method, and computer program
JP2007271721A (en) * 2006-03-30 2007-10-18 Yamaha Corp Electronic musical instrument
KR100796302B1 (en) * 2006-05-16 2008-01-21 주식회사 포인칩스 Apparatus and method for power control of USB device
JP5379425B2 (en) * 2008-08-20 2013-12-25 キヤノン株式会社 Image output apparatus and control method thereof
JP6330372B2 (en) * 2014-03-04 2018-05-30 コニカミノルタ株式会社 Radiation imaging equipment

Also Published As

Publication number Publication date
JP2005086639A (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
KR100491286B1 (en) Imaging apparatus, system having imaging apparatus and printing apparatus, and control method therefor
KR100589576B1 (en) Image sensing apparatus and control method thereof, and printing system and print control method
US8711373B2 (en) Image forming apparatus and control method therefor
EP1792742A1 (en) Print system, image supply device, print device, and control method thereof
KR100549744B1 (en) Printing apparatus, control method therefor, and storage medium
JP4908967B2 (en) Image input device, image output device, and transfer method
JP4331552B2 (en) Imaging device
KR100555282B1 (en) Recordning device, image supply device, recording system and control method thereof
JP2005354622A (en) Connection apparatus
JP4841646B2 (en) Imaging device
JP4143501B2 (en) Image supply apparatus, recording system including the image supply apparatus and recording apparatus, and communication control method thereof
JP2005086637A (en) Imaging apparatus
JP4242739B2 (en) IMAGING DEVICE AND METHOD FOR CONTROLLING SHOOTING LENS BARREL IN IMAGING DEVICE
JP4197999B2 (en) Electronic camera
JP4532866B2 (en) Printer apparatus, printing control method therefor, and image processing system
JP2003200632A (en) Printing system, and printer and digital camera for constituting printing system
JP2005020305A (en) Electronic camera
JP2007164340A (en) Print system and method for controlling print system
JP3854981B2 (en) Camera, printer, and control method thereof
JP2003153179A (en) Image print system
JP4366379B2 (en) Image supply apparatus and control method thereof
JPH10271377A (en) Electronic still camera
JP2003259261A (en) Digital picture print system
JP2003319334A (en) Image print system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081104

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090407

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090428

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

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

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

Free format text: PAYMENT UNTIL: 20120626

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120626

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130626

Year of fee payment: 4

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