JP2010016585A - Information processing device, and control method of information processing device - Google Patents

Information processing device, and control method of information processing device Download PDF

Info

Publication number
JP2010016585A
JP2010016585A JP2008174214A JP2008174214A JP2010016585A JP 2010016585 A JP2010016585 A JP 2010016585A JP 2008174214 A JP2008174214 A JP 2008174214A JP 2008174214 A JP2008174214 A JP 2008174214A JP 2010016585 A JP2010016585 A JP 2010016585A
Authority
JP
Japan
Prior art keywords
information processing
unit
processing apparatus
unit member
management information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2008174214A
Other languages
Japanese (ja)
Inventor
Yoichi Ito
洋一 伊藤
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2008174214A priority Critical patent/JP2010016585A/en
Publication of JP2010016585A publication Critical patent/JP2010016585A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Exposure Control For Cameras (AREA)
  • Camera Bodies And Camera Details Or Accessories (AREA)
  • Structure And Mechanism Of Cameras (AREA)
  • Studio Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information processing device and a control method thereof which reduce a communication time with a unit member which can be exchanged, and reduce a time lag from a power activation until a processing operation can actually perform. <P>SOLUTION: An information processing device which can attach and remove a unit member which can be exchanged has a storing means storing management information regarding the unit member, a detection means detecting that the unit member is attached to the information processing device, a control means controlling when the unit member is attached to the information processing device, and a saving means reading the management information from the unit member when the attachment of the unit member to the information processing device is detected and saving the information in the storing means. The control of the unit member by the control means and saving processing to the storing means by the saving means are performed in parallel. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、情報処理装置および該情報処理装置の制御方法に関し、特に、交換可能な外部ユニットとの通信時間を低減し、電源を起動してから実際に処理動作が可能になるまでのタイムラグを低減した情報処理装置および該情報処理装置の制御方法に関する。   The present invention relates to an information processing apparatus and a method for controlling the information processing apparatus, and in particular, reduces a communication time with a replaceable external unit and reduces a time lag from when a power supply is turned on until an actual processing operation is possible. The present invention relates to a reduced information processing apparatus and a method for controlling the information processing apparatus.

撮像素子、レンズおよびメモリカード交換式のデジタルカメラが知られている。この種のデジタルカメラは、電源を入れて撮影を開始する時には、以下のような準備を行う。
即ち、交換可能なメモリカードは、データを記録可能にする準備を、交換可能な撮像素子は被写体を撮像可能にする準備を、交換可能なレンズは、ズームおよびフォーカス動作を可能にする準備を、デジタルカメラ本体は、撮像した画像を表示するための準備を行う。
これらの準備処理(ハードウェアおよびソフトウェアの初期化処理)には、電源オンから撮影可能になるまでに、一定の起動時間を要することが既に知られている。
An image sensor, a lens and a memory card exchangeable digital camera are known. This type of digital camera makes the following preparations when the power is turned on to start shooting.
That is, the replaceable memory card is ready to record data, the replaceable image sensor is ready to image the subject, and the replaceable lens is ready to zoom and focus. The digital camera body prepares to display the captured image.
It is already known that these preparation processes (hardware and software initialization processes) require a certain start-up time from when the power is turned on until it becomes possible to take a picture.

例えば、下記特許文献1には、起動時間の短縮化を可能とする目的で、着脱自在なメモリカードの管理情報をカメラ本体内へ記憶しておき、管理情報を読み出す時間をなくす電子カメラが開示されている。
また、下記特許文献2には、同じく起動時間の短縮化を可能とする目的で、電源スイッチの状態に関係なく着脱自在なメモリカードの接続を検知して、管理情報を読み出す時間をなくす情報処理装置が開示されている。
For example, Patent Document 1 below discloses an electronic camera that stores management information of a removable memory card in the camera body for the purpose of shortening the startup time and eliminates the time for reading the management information. Has been.
Also, in Patent Document 2 below, for the purpose of enabling the start-up time to be shortened, information processing that detects the connection of a detachable memory card regardless of the state of the power switch and eliminates the time to read management information is disclosed. An apparatus is disclosed.

また、下記特許文献3には、交換レンズや各種アクセサリとの通信時間を低減して、高速に動作可能なカメラを提供する目的で、交換レンズの固有情報をカメラ本体の不揮発性メモリへ登録し、交換レンズの固有情報がカメラ本体の不揮発性メモリへ登録した登録情報と一致した場合に通信時間を低減するカメラが開示されている。
また、下記特許文献4には、電源投入から撮影可能状態へ移行させる時間を短縮させ、使い勝手を向上させるカメラ装置を提供する目的で、カメラユニット内のメモリへレンズユニットの固有情報または設定情報を記憶することで、これら情報の送信動作を省略するカメラ装置が開示されている。
In Patent Document 3 below, the unique information of the interchangeable lens is registered in the nonvolatile memory of the camera body in order to provide a camera that can operate at high speed while reducing the communication time with the interchangeable lens and various accessories. A camera that reduces the communication time when the unique information of the interchangeable lens matches the registered information registered in the nonvolatile memory of the camera body is disclosed.
In Patent Document 4 below, lens unit specific information or setting information is stored in a memory in the camera unit for the purpose of providing a camera device that shortens the time required to shift from power-on to a shooting ready state and improves usability. There has been disclosed a camera device that saves the information transmission operation by storing the information.

特開2002−237977号公報JP 2002-237777 A 特許公報第3950585号Patent Publication No. 3950585 特開2007−129563号公報JP 2007-129563 A 特開2007−156440号公報JP 2007-156440 A

しかしながら、上記特許文献1に記載の技術では、管理情報をRAMではなく不揮発性メモリに記憶する場合、一般的には不揮発性メモリの書き込み動作はRAMよりも低速のために、RAMを用いた場合と同じタイミングで不揮発性メモリへ記憶すると、1回目の電源オン時には、その記憶する時間が起動時間に上乗せされるという問題があった。
また、上記特許文献2および特許文献3に記載の技術では、管理情報を更新するタイミングを電源スイッチがオフになる時に不揮発性メモリへ記憶するように改善した。しかし、電源スイッチがオフになる前に電池が外されたりして電源遮断が発生した場合、不揮発性メモリ上の管理情報が更新されていないために、交換可能な外部ユニットより再度管理情報を読み出さなければならないという問題があった。
However, in the technique described in Patent Document 1, when the management information is stored in the nonvolatile memory instead of the RAM, the writing operation of the nonvolatile memory is generally slower than the RAM. When the data is stored in the nonvolatile memory at the same timing as the above, there is a problem in that the stored time is added to the startup time when the power is turned on for the first time.
In the techniques described in Patent Document 2 and Patent Document 3, the timing for updating the management information is improved so as to be stored in the nonvolatile memory when the power switch is turned off. However, if the battery is removed before the power switch is turned off and the power is cut off, the management information on the non-volatile memory is not updated, so the management information is read again from the replaceable external unit. There was a problem that had to be.

また、上記特許文献4に記載の技術では、管理情報を更新するタイミングは管理情報を取得した後にメモリへ記憶するように改善した。しかし、外部ユニットから管理情報を読み出す必要がある場合、まずは(1)外部ユニットからの管理情報の読み出しを行い、次に(2)その管理情報をメモリへ記憶した後に、撮影動作か可能な状態へ移行させるために、管理情報を読み出す必要がない場合と比較して、(1)、(2)両方の時間が起動時間に上乗せされてしまうという問題があった。   In the technique described in Patent Document 4, the timing for updating the management information is improved so as to be stored in the memory after the management information is acquired. However, when the management information needs to be read from the external unit, first, (1) the management information is read from the external unit, and (2) the management information is stored in the memory, and then the photographing operation can be performed. There is a problem that both the times (1) and (2) are added to the start-up time as compared with the case where the management information does not need to be read out in order to make the transition to.

以上より、上記の従来技術では、情報処理装置の電源スイッチがON状態の時に外部ユニットの交換を行った場合、管理情報の読み出しを行った後、管理情報を更新するタイミングを電源オフになる時に不揮発性メモリへ記憶するようにしている。そのため、電源スイッチがオフになる前に電池が外されたりして電源遮断が発生した場合、不揮発性メモリ上の管理情報が更新されていないために、交換可能な外部ユニットより再度管理情報を読み出さなければならないという問題があった。   As described above, in the above prior art, when the external unit is replaced when the power switch of the information processing apparatus is in the ON state, after the management information is read, the timing for updating the management information is turned off. The data is stored in a non-volatile memory. Therefore, if the battery is removed before the power switch is turned off and the power is cut off, the management information on the nonvolatile memory is not updated, so the management information is read again from the replaceable external unit. There was a problem that had to be.

また、上記の従来技術では、情報処理装置の電源スイッチがON状態の時に外部ユニットの交換を行った場合、(1)外部ユニットからの管理情報の読み出した後、(2)その管理情報をメモリへ記憶した後に、(3)撮影動作が可能な状態へ移行させるために、管理情報を読み出す必要がない場合と比較して、(2)および(3)を順番に実行するために、(2)の時間が起動時間に上乗せされてしまうという問題があった。   In the above prior art, when the external unit is replaced when the power switch of the information processing apparatus is in the ON state, (1) after the management information is read from the external unit, (2) the management information is stored in the memory. In order to execute (2) and (3) in order compared with the case where it is not necessary to read out the management information in order to shift to a state in which the photographing operation can be performed (2) and (3) in order (2 ) Was added to the startup time.

本発明は上記の問題を解決すべく、なされたものであり、交換可能な外部ユニット(レンズ、撮像素子、アクセサリ、メモリカード、外部フラッシュなど)との通信時間を低減し、電源を起動してから実際に処理動作が可能になるまでのタイムラグを低減した情報処理装置および該情報処理装置の制御方法の提供を目的とする。   The present invention has been made in order to solve the above-mentioned problems, and reduces the communication time with replaceable external units (lens, imaging device, accessory, memory card, external flash, etc.), and starts the power supply. It is an object of the present invention to provide an information processing apparatus and a control method for the information processing apparatus that reduce a time lag from when the processing operation is actually enabled.

この目的を達成するために請求項1記載の発明は、交換可能なユニット部材を、着脱可能な情報処理装置において、
前記ユニット部材に関する管理情報を記憶する記憶手段と、
前記ユニット部材が当該情報処理装置に装着されたことを検知する検知手段と、
前記ユニット部材が当該情報処理装置に装着された場合の制御を行う制御手段と、
前記検知手段が、前記ユニット部材が当該情報処理装置に装着されたことを検知した場合に、前記ユニット部材から管理情報を読み出して、前記記憶手段に保存する保存手段と、を備え、
前記制御手段による前記ユニット部材の制御と前記保存手段による前記記憶手段への保存処理とを、並列に実行することを特徴とする。
In order to achieve this object, the invention according to claim 1, the replaceable unit member in the detachable information processing apparatus,
Storage means for storing management information relating to the unit member;
Detecting means for detecting that the unit member is mounted on the information processing apparatus;
Control means for performing control when the unit member is attached to the information processing apparatus;
A storage unit that reads management information from the unit member and stores it in the storage unit when the detection unit detects that the unit member is mounted on the information processing apparatus;
Control of the unit member by the control unit and storage processing in the storage unit by the storage unit are executed in parallel.

また、請求項2記載の発明は、請求項1記載の情報処理装置において、
前記制御手段は、前記ユニット部材の初期化処理を行うことを特徴とする。
また、請求項3記載の発明は、請求項1または請求項2記載の情報処理装置において、
前記保存手段は、当該情報処理装置の電源スイッチがオンであり、前記検知手段が前記ユニット部材の当該情報処理装置への装着を検知した場合に、前記ユニット部材から管理情報を読み出して、前記記憶手段に保存することを特徴とする。
The invention according to claim 2 is the information processing apparatus according to claim 1,
The control means performs an initialization process of the unit member.
The invention according to claim 3 is the information processing apparatus according to claim 1 or 2,
The storage means reads management information from the unit member when the power switch of the information processing apparatus is on and the detection means detects attachment of the unit member to the information processing apparatus, and stores the storage information. It is characterized by storing in the means.

また、請求項4記載の発明は、請求項1〜3のいずれか1つに記載の情報処理装置において、
装着された前記ユニット部材の管理情報が、前記記憶手段に記憶されているか否かを判定する判定手段を備え、
前記保存手段は、前記検知手段が、前記ユニット部材の当該情報処理装置への装着を検知し、且つ前記判定手段が、前記装着されたユニット部材の管理情報の前記記憶手段への記憶がされていないと判定した場合に、前記ユニット部材から管理情報を読み出して、前記記憶手段に保存することを特徴とする。
The invention according to claim 4 is the information processing apparatus according to any one of claims 1 to 3,
A determination unit that determines whether management information of the mounted unit member is stored in the storage unit;
In the storage means, the detection means detects attachment of the unit member to the information processing apparatus, and the determination means stores management information of the attached unit member in the storage means. When it is determined that the management information is not present, the management information is read from the unit member and stored in the storage means.

また、請求項5記載の発明は、請求項1〜4のいずれか1つに記載の情報処理装置において、
前記交換可能なユニット部材は、撮像素子を備えた撮像手段、撮影光学系、アクセサリのうち少なくともいずれか1つを含むことを特徴とする。
また、請求項6記載の発明は、請求項1〜5のいずれか1つに記載の情報処理装置において、
前記管理情報は、前記ユニット部材を特定可能な識別データと前記ユニット部材の構成および状態を特定可能な固有データで構成したことを特徴とする。
Moreover, invention of Claim 5 is the information processing apparatus as described in any one of Claims 1-4,
The replaceable unit member includes at least one of image pickup means including an image pickup device, a shooting optical system, and an accessory.
The invention according to claim 6 is the information processing apparatus according to any one of claims 1 to 5,
The management information includes identification data that can identify the unit member and unique data that can identify the configuration and state of the unit member.

また、請求項7記載の発明は、交換可能なユニット部材を、着脱可能な情報処理装置の制御方法において、
前記ユニット部材に関する管理情報を記憶するステップと、
前記ユニット部材が当該情報処理装置に装着されたことを検知するステップと、
前記ユニット部材が当該情報処理装置に装着された場合の制御を行うステップと、
前記ユニット部材が当該情報処理装置に装着されたことを検知した場合に、前記ユニット部材から管理情報を読み出して保存するステップとを備え、
前記ユニット部材の制御のステップと前記管理情報の保存処理のステップとを、並列に実行することを特徴とする。
According to a seventh aspect of the present invention, there is provided a control method for an attachable / detachable information processing apparatus with a replaceable unit member.
Storing management information relating to the unit member;
Detecting that the unit member is attached to the information processing apparatus;
Performing control when the unit member is attached to the information processing apparatus;
When it is detected that the unit member is mounted on the information processing apparatus, the management information is read from the unit member and stored.
The step of controlling the unit member and the step of storing the management information are executed in parallel.

請求項1記載の発明によれば、交換可能なユニット部材を、着脱可能な情報処理装置において、前記ユニット部材に関する管理情報を記憶する記憶手段と、前記ユニット部材が当該情報処理装置に装着されたことを検知する検知手段と、前記ユニット部材が当該情報処理装置に装着された場合の制御を行う制御手段と、前記検知手段が、前記ユニット部材が当該情報処理装置に装着されたことを検知した場合に、前記ユニット部材から管理情報を読み出して、前記記憶手段に保存する保存手段とを備え、前記制御手段による前記ユニット部材の制御と前記保存手段による前記記憶手段への保存処理とを、並列に実行するので、ユニット部材との通信時間を低減し、電源を起動してから実際に処理動作(例えば、デジタルカメラの記録動作)が可能になるまでのタイムラグを低減し、情報処理装置の起動時間を短縮することが可能となる。   According to the first aspect of the present invention, in the information processing apparatus in which the replaceable unit member is detachable, the storage means for storing the management information related to the unit member and the unit member are mounted on the information processing apparatus. Detecting means for detecting this, control means for performing control when the unit member is mounted on the information processing apparatus, and the detecting means detected that the unit member is mounted on the information processing apparatus A storage unit that reads management information from the unit member and stores the management information in the storage unit, and controls the unit member by the control unit and the storage process by the storage unit in the storage unit in parallel. Therefore, the communication time with the unit member is reduced, and the processing operation (for example, the recording operation of the digital camera) is actually performed after the power is turned on. Reducing the time lag until the capacity, it is possible to reduce the startup time of the information processing apparatus.

請求項2記載の発明によれば、請求項1記載の情報処理装置において、前記制御手段は、前記ユニット部材の初期化処理を行うので、ユニット部材には最新のデータを格納することができる。
請求項3記載の発明によれば、請求項1または請求項2記載の情報処理装置において、前記保存手段は、当該情報処理装置の電源スイッチがオンであり、前記検知手段が前記ユニット部材の当該情報処理装置への装着を検知した場合に、前記ユニット部材から管理情報を読み出して、前記記憶手段に保存するので、情報処理装置の起動時間を短縮することが可能となる。
According to the second aspect of the present invention, in the information processing apparatus according to the first aspect, since the control means performs the initialization process of the unit member, the latest data can be stored in the unit member.
According to a third aspect of the present invention, in the information processing apparatus according to the first or second aspect, the storage means is configured such that a power switch of the information processing apparatus is turned on, and the detection means includes the unit member. When the attachment to the information processing apparatus is detected, the management information is read from the unit member and stored in the storage means, so that the startup time of the information processing apparatus can be shortened.

請求項4記載の発明によれば、請求項1〜3のいずれか1つに記載の情報処理装置において、装着された前記ユニット部材の管理情報が、前記記憶手段に記憶されているか否かを判定する判定手段を備え、前記保存手段は、前記検知手段が、前記ユニット部材の当該情報処理装置への装着を検知し、且つ前記判定手段が、前記装着されたユニット部材の管理情報の前記記憶手段への記憶がされていないと判定した場合に、前記ユニット部材から管理情報を読み出して、前記記憶手段に保存するので、情報処理装置の起動時間を短縮することが可能となる。   According to a fourth aspect of the present invention, in the information processing apparatus according to any one of the first to third aspects, whether or not the management information of the mounted unit member is stored in the storage means. Determination means, and the storage means detects the attachment of the unit member to the information processing apparatus, and the determination means stores the management information of the attached unit member. When it is determined that the information is not stored in the means, the management information is read from the unit member and stored in the storage means, so that the startup time of the information processing apparatus can be shortened.

請求項5記載の発明によれば、請求項1〜4のいずれか1つに記載の情報処理装置において、前記交換可能なユニット部材は、撮像素子を備えた撮像手段、撮影光学系、アクセサリのうち少なくともいずれか1つを含むので、情報処理装置(例えば、デジタルカメラ)の起動時間を短縮することが可能となり、デジタルカメラの使い勝手が向上する。   According to a fifth aspect of the present invention, in the information processing apparatus according to any one of the first to fourth aspects, the replaceable unit member includes an imaging unit including an imaging element, a photographing optical system, and an accessory. Since at least one of them is included, it is possible to shorten the activation time of the information processing apparatus (for example, a digital camera), and the usability of the digital camera is improved.

請求項6記載の発明によれば、請求項1〜5のいずれか1つに記載の情報処理装置において、前記管理情報は、前記ユニット部材を特定可能な識別データと前記ユニット部材の構成および状態を特定可能な固有データで構成したので、装着されたユニット部材の特性・個性を即座に知ることが可能となる。   According to a sixth aspect of the present invention, in the information processing apparatus according to any one of the first to fifth aspects, the management information includes identification data that can identify the unit member, and a configuration and state of the unit member. Since it is composed of unique data that can be specified, it is possible to immediately know the characteristics and individuality of the mounted unit member.

請求項7記載の発明によれば、交換可能なユニット部材を、着脱可能な情報処理装置の制御方法において、前記ユニット部材に関する管理情報を記憶するステップと、前記ユニット部材が当該情報処理装置に装着されたことを検知するステップと、前記ユニット部材が当該情報処理装置に装着された場合の制御を行うステップと、前記ユニット部材が当該情報処理装置に装着されたことを検知した場合に、前記ユニット部材から管理情報を読み出して保存するステップとを備え、前記ユニット部材の制御のステップと前記管理情報の保存処理のステップとを、並列に実行するので、情報処理装置の起動時間を短縮することが可能となる。   According to the seventh aspect of the present invention, in the method for controlling an information processing device that can replace a replaceable unit member, the step of storing management information relating to the unit member, and the unit member being attached to the information processing device The step of detecting that the unit member has been mounted on the information processing apparatus, and the step of performing control when the unit member is mounted on the information processing apparatus. A step of reading out and storing the management information from the member, and the step of controlling the unit member and the step of storing the management information are executed in parallel, thereby shortening the startup time of the information processing apparatus. It becomes possible.

以下、本発明を図示の実施形態に基づいて説明する。なお、本実施形態は、一例であって、これに限定されることなく、趣旨を逸脱しない範囲内において、また、当業者が容易に想到できる範囲内において、変形可能とする。
以下に示す実施形態では、デジタルカメラを情報処理装置として用いる。
Hereinafter, the present invention will be described based on the illustrated embodiments. Note that the present embodiment is an example, and is not limited thereto, and can be modified within a range that does not depart from the spirit and within a range that can be easily conceived by those skilled in the art.
In the embodiment described below, a digital camera is used as the information processing apparatus.

図1は、デジタルカメラ内部の制御系統の構成例を示す図である。
図1に示すように、デジタルカメラ本体39は、全体の動作を中央処理装置(本体CPU40)によって統括制御するように構成されている。本体CPU40は、シャッタボタン、電源ボタン、再生ボタンなどの操作部41から入力される操作信号に基づき、所定の制御プログラムに従ってデジタルカメラの全体を統括制御する。
FIG. 1 is a diagram illustrating a configuration example of a control system inside a digital camera.
As shown in FIG. 1, the digital camera main body 39 is configured to control the overall operation by a central processing unit (main body CPU 40). The main body CPU 40 performs overall control of the entire digital camera according to a predetermined control program based on operation signals input from the operation unit 41 such as a shutter button, a power button, and a playback button.

バスを介して本体CPU40と接続されたフラッシュROM58には、本体CPU40が実行する制御プログラム90と、制御に必要な各種データおよび各種デバイスのばらつきを生産工程にて調整したデータをカメラ調整データ91と、ユーザ設定情報などのデジタルカメラの動作に関する各種設定情報等をカメラ設定データ92とが、格納されている。
カメラ設定データ92は、デジタルカメラの各種設定情報を変更する度にデータの内容に変更が生じるが、制御プログラム90およびカメラ調整データ91は、出荷後には変更されない。
SDRAM54からなるメモリは、本体CPU40の演算作業用領域として利用され、更に画像データ、即ち、Raw−RGB画像データ55、YUV画像データ56、圧縮伸張画像データ57等の一時記憶領域として利用される。
The flash ROM 58 connected to the main body CPU 40 via the bus has a control program 90 executed by the main body CPU 40, various data necessary for control, and data obtained by adjusting variations in various devices in the production process as camera adjustment data 91. The camera setting data 92 stores various setting information relating to the operation of the digital camera such as user setting information.
The camera setting data 92 changes in data contents every time various setting information of the digital camera is changed, but the control program 90 and the camera adjustment data 91 are not changed after shipment.
The memory composed of the SDRAM 54 is used as a calculation work area of the main body CPU 40 and further used as a temporary storage area for image data, that is, Raw-RGB image data 55, YUV image data 56, compression / decompression image data 57, and the like.

交換レンズ100は、被写体の光学画像を取り込むズームレンズ81とフォーカスレンズ82とこれらを制御するレンズ駆動部86と、絞り83と該絞り83を制御する絞り駆動部87と、メカシャッタ84と該メカシャッタ84を制御するシャッタ駆動部88と、これらを制御するレンズCPU38と、該レンズCPU38が実行する制御プログラムおよびレンズの管理情報を格納したレンズデータROM31からなる。レンズ駆動部86と絞り駆動部87とシャッタ駆動部88とは、レンズCPU38からの駆動指令により駆動制御される。   The interchangeable lens 100 includes a zoom lens 81 and a focus lens 82 that capture an optical image of a subject, a lens driving unit 86 that controls these, a diaphragm 83, a diaphragm driving unit 87 that controls the diaphragm 83, a mechanical shutter 84, and a mechanical shutter 84. And a lens data ROM 31 storing a control program executed by the lens CPU 38 and lens management information. The lens driving unit 86, the aperture driving unit 87, and the shutter driving unit 88 are driven and controlled by a driving command from the lens CPU 38.

また、交換レンズ100は、カメラ本体39から着脱可能な機構を持っている。着脱の検出は、カメラ本体39にあるレンズ検出スイッチ(不図示)で行う。レンズCPU38と本体CPU40の間は、シリアルインタフェース33を介して半二重通信を行うことができる。交換レンズ100への電源供給は、着脱機構を介してカメラ本体39より行う。   The interchangeable lens 100 has a mechanism that can be attached to and detached from the camera body 39. Attachment / detachment is detected by a lens detection switch (not shown) in the camera body 39. Half-duplex communication can be performed between the lens CPU 38 and the main body CPU 40 via the serial interface 33. The power supply to the interchangeable lens 100 is performed from the camera body 39 through an attaching / detaching mechanism.

交換撮像素子101は、交換レンズ100を通過した被写体光を受光面にて結像し光電変換する固体撮像素子(次に説明する)と、アナログ処理部(CDS/AMP)42と、A/D変換器43と、タイミングジェネレータ(TG)89と、これらを制御するCAMCPU37と、該CAMCPU37が実行する制御プログラムおよび撮像素子の管理情報を格納したCAMデータROM32からなる。
上記固体撮像素子は、CCD85で構成されており、その受光面には、所定の配列構造(ベイヤー、Gストライプなど)で配列された赤(R)、緑(G)、青(B)のカラーフィルタを介して多数のフォトダイオード(受光素子)が二次元的に配置されている。
The interchangeable image sensor 101 is a solid-state image sensor (to be described next) that forms an image of subject light that has passed through the interchangeable lens 100 on a light receiving surface and performs photoelectric conversion, an analog processing unit (CDS / AMP) 42, and an A / D. It comprises a converter 43, a timing generator (TG) 89, a CAM CPU 37 for controlling them, a CAM data ROM 32 storing a control program executed by the CAM CPU 37 and management information for the image sensor.
The solid-state imaging device is composed of a CCD 85, and the light receiving surface has red (R), green (G), and blue (B) colors arranged in a predetermined arrangement structure (Bayer, G stripe, etc.). A large number of photodiodes (light receiving elements) are two-dimensionally arranged through a filter.

また、交換撮像素子101は、カメラ本体39から着脱可能な機構を持っている。着脱の検出は、カメラ本体39にある撮像素子検出スイッチ(不図示)で行う。CAMCPU37と本体CPU40の間は、シリアルインタフェース35を介して半二重通信を行うことができる。交換撮像素子101への電源供給は、着脱機構を介してカメラ本体39より行う。
このシリアルインタフェース35とは別に、撮像データのデジタルRGB信号をカメラ本体39へ伝送する手段として、高速なパラレルインタフェース36を持っている。
The interchangeable image sensor 101 has a mechanism that can be attached to and detached from the camera body 39. Attachment / detachment is detected by an image sensor detection switch (not shown) in the camera body 39. Half-duplex communication can be performed between the CAM CPU 37 and the main body CPU 40 via the serial interface 35. The power supply to the replacement image sensor 101 is performed from the camera main body 39 through the attachment / detachment mechanism.
In addition to the serial interface 35, a high-speed parallel interface 36 is provided as means for transmitting digital RGB signals of image data to the camera body 39.

デジタルカメラの電源がオン状態になると、本体CPU40の制御プログラム90はメモリ(SDRAM)54にロードされ、本体CPU40はその制御プログラム90に従い装置各部の動作を制御する。それとともに制御に必要なデータ等を、一時的にメモリ(SDRAM)54に保存する。フラッシュROM58は、書き換え可能な半不揮発性メモリであることから、記録されている制御プログラムや制御に必要な各種データ、ユーザ設定情報を変更することが可能であり、機能のバージョンアップが容易であるという特徴をもつ。   When the power of the digital camera is turned on, the control program 90 of the main body CPU 40 is loaded into the memory (SDRAM) 54, and the main body CPU 40 controls the operation of each part of the apparatus according to the control program 90. At the same time, data and the like necessary for control are temporarily stored in a memory (SDRAM) 54. Since the flash ROM 58 is a rewritable semi-nonvolatile memory, it is possible to change the recorded control program, various data necessary for control, and user setting information, and the function can be easily upgraded. It has the characteristics.

デジタルカメラは、前記操作部41にある電源ボタン(不図示)を撮影位置に合わせることで、撮影モードに設定され、撮影が可能になる。撮影が可能になるまでの処理として、本体CPU40は、交換レンズ100および交換撮像素子101の初期化処理を行い、撮影を可能にする。
交換レンズ100の初期化処理は、レンズCPU38と本体CPU40がシリアルインタフェース33を介して通信を行い、交換レンズ100の初期化を行う。本体CPU40は、レンズデータROM31に格納されているレンズ管理情報を読み出すことにより、交換レンズを識別する。レンズCPU38は、フォーカスレンズ82と、絞り83と、メカシャッタ84とを、撮影動作可能にするために初期化処理を行い、結果を本体CPU40へ通知する。
The digital camera is set to a shooting mode by setting a power button (not shown) on the operation unit 41 to a shooting position, and shooting is possible. As processing until photographing is possible, the main body CPU 40 performs initialization processing of the interchangeable lens 100 and the interchangeable imaging device 101 to enable photographing.
In the initialization process of the interchangeable lens 100, the lens CPU 38 and the main body CPU 40 communicate via the serial interface 33 to initialize the interchangeable lens 100. The main body CPU 40 reads the lens management information stored in the lens data ROM 31 to identify the interchangeable lens. The lens CPU 38 performs initialization processing to enable the photographing operation of the focus lens 82, the diaphragm 83, and the mechanical shutter 84, and notifies the main body CPU 40 of the result.

交換撮像素子101の初期化処理は、CAMCPU37と本体CPU40がシリアルインタフェース35を介して通信を行い、交換撮像素子101の初期化を行う。本体CPU40は、CAMデータROM32に格納されている撮像素子管理情報を読み出すことにより、撮像素子を識別する。CAMCPU37は、CCD85と、アナログ処理部(CDS/AMP)42と、A/D変換器43と、タイミングジェネレータ(TG)89とを撮影動作可能に初期化処理を行い、結果を本体CPU40へ通知する。
カメラ本体39は、レンズCPU38およびCAMCPU37からの初期化終了通知を受けて撮影スタンバイ状態になり、シャッタボタン(不図示)の押下を受け付け可能となる。
In the initialization process of the exchange imaging device 101, the CAM CPU 37 and the main body CPU 40 communicate via the serial interface 35 to initialize the exchange imaging device 101. The main body CPU 40 identifies the image sensor by reading the image sensor management information stored in the CAM data ROM 32. The CAM CPU 37 initializes the CCD 85, the analog processing unit (CDS / AMP) 42, the A / D converter 43, and the timing generator (TG) 89 so that the photographing operation can be performed, and notifies the main body CPU 40 of the result. .
The camera body 39 receives a notification of completion of initialization from the lens CPU 38 and the CAM CPU 37 and enters a shooting standby state, and can accept pressing of a shutter button (not shown).

この撮影モードの下、交換レンズ101を通過した被写体光は、交換撮像素子101にあるCCD85の各フォトダイオードによって受光され、入射光量に応じた量の信号電荷に変換される。各フォトダイオードに蓄積された信号電荷は、CAMCPU37の制御のもとにタイミングジェネレータ(TG)89から与えられる駆動パルスに基づいて、信号電荷に応じた電圧信号(画像信号)として順次読み出され、アナログ処理部(CDS/AMP)42に加えられる。アナログ処理部(CDS/AMP)42は、入力された画素ごとのRGB信号をサンプリングホールド(相関二重サンプリング処理)するとともに、増幅し、A/D変換器43に出力する。A/D変換器43は、アナログ処理部(CDS/AMP)42から出力されたアナログRGB信号をデジタルRGB信号に変換して出力し、このデジタルのRGB信号が、パラレルインタフェース36を介してカメラ本体にあるセンサ入力制御部44へ入力され、Raw−RGB画像データ55としてメモリ(SDRAM)54に取り込まれる。   Under this photographing mode, the subject light that has passed through the interchangeable lens 101 is received by each photodiode of the CCD 85 in the interchangeable image sensor 101 and converted into a signal charge in an amount corresponding to the amount of incident light. The signal charge accumulated in each photodiode is sequentially read out as a voltage signal (image signal) corresponding to the signal charge based on the drive pulse given from the timing generator (TG) 89 under the control of the CAM CPU 37. It is added to the analog processing unit (CDS / AMP) 42. The analog processing unit (CDS / AMP) 42 samples and holds the input RGB signal for each pixel (correlated double sampling processing), amplifies it, and outputs it to the A / D converter 43. The A / D converter 43 converts the analog RGB signal output from the analog processing unit (CDS / AMP) 42 into a digital RGB signal and outputs the digital RGB signal, and the digital RGB signal is connected to the camera body via the parallel interface 36. Are input into the memory (SDRAM) 54 as Raw-RGB image data 55.

画像信号処理部46は、メモリ(SDRAM)54に取り込まれたRaw−RGB画像データ55を本体CPU40の指令に従って処理し、輝度信号(Y信号)及び色差信号(Cr、Cb信号)へ変換し、YUV画像データを生成する。即ち、この画像信号処理部46は、同時化回路(次に説明する)、ホワイトバランス補正回路、ガンマ補正回路、輪郭補正回路、輝度・色差信号生成回路等を含む画像処理手段として機能し、本体CPU40からの指令に従ってメモリ54を活用しながら、入力されたRGB信号を信号処理することにより、輝度信号および色差信号(輝度/色差信号)を生成する。生成された輝度/色差信号は、YUV画像データ56としてメモリ(SDRAM)54に格納される。
ここに、同時化回路とは、単板CCDのカラーフィルタ配列に伴う色信号の空間的なズレを補間して色信号を同時式に変換する処理回路である。
The image signal processing unit 46 processes the Raw-RGB image data 55 captured in the memory (SDRAM) 54 in accordance with a command from the main body CPU 40 and converts it into a luminance signal (Y signal) and a color difference signal (Cr, Cb signal). YUV image data is generated. That is, the image signal processing unit 46 functions as an image processing unit including a synchronization circuit (to be described below), a white balance correction circuit, a gamma correction circuit, a contour correction circuit, a luminance / color difference signal generation circuit, and the like. A luminance signal and a color difference signal (luminance / color difference signal) are generated by performing signal processing on the input RGB signal while utilizing the memory 54 in accordance with a command from the CPU 40. The generated luminance / color difference signal is stored in the memory (SDRAM) 54 as YUV image data 56.
Here, the synchronization circuit is a processing circuit that interpolates a spatial shift of the color signal associated with the color filter array of the single CCD and converts the color signal into a simultaneous expression.

撮影画像を液晶モニタ20に出力する場合は、YUV画像データ56が、メモリ(SDRAM)54からOSDMIX部48に送られる。OSDMIX部48は、入力されたYUV画像データ56の輝度/色差信号に文字や図形などのオンスクリーンディスプレイデータを重ね合わせて合成され、ビデオエンコーダ65および液晶モニタ信号処理部49に出力する。これにより、所要の撮影情報等が画像データに重ねて表示される。ビデオエンコーダ65は、入力されたYUV画像データ56の輝度/色差信号を表示用のデジタル表示出力信号(たとえばNTSC方式のカラー複合映像信号)に変換し、D/A変換器66にてデジタル表示出力信号をアナログビデオ出力信号に変換する。
ビデオAMP67は、D/A変換器66から出力されたアナログビデオ信号を、75Ωインピーダンス変換し、テレビなどの外部表示機器と接続するためのAV出力端子13へ出力する。これにより、CCD85で撮像された画像がテレビなどの外部表示機器に表示される。
When outputting the captured image to the liquid crystal monitor 20, YUV image data 56 is sent from the memory (SDRAM) 54 to the OSDMIX unit 48. The OSDMIX unit 48 combines the luminance / color difference signals of the input YUV image data 56 with on-screen display data such as characters and graphics, and outputs them to the video encoder 65 and the liquid crystal monitor signal processing unit 49. As a result, required shooting information and the like are displayed superimposed on the image data. The video encoder 65 converts the luminance / color difference signal of the input YUV image data 56 into a display digital display output signal (for example, NTSC color composite video signal), and the D / A converter 66 performs digital display output. Convert the signal to an analog video output signal.
The video AMP 67 performs 75Ω impedance conversion on the analog video signal output from the D / A converter 66 and outputs the analog video signal to the AV output terminal 13 for connection to an external display device such as a television. As a result, the image captured by the CCD 85 is displayed on an external display device such as a television.

一方、液晶モニタ信号処理部49は、入力されたYUV画像データ56の輝度/色差信号を液晶モニタ20の入力信号形式であるRGB信号へ変換し、液晶モニタ20へ出力する。これにより、CCD85で撮像された画像が液晶モニタ20に表示される。CCD85から画像信号を定期的に取り込み、その画像信号から生成される輝度/色差信号によってメモリ(SDRAM)54内のYUV画像データ56を定期的に書き換え、液晶モニタ20およびAV出力端子13に出力することにより、CCD85で撮像される画像がリアルタイムに表示される。撮影者は、この液晶モニタ20にリアルタイムに表示される画像(ライブビュー画像)を見ることにより、撮影画角を確認することができる。   On the other hand, the liquid crystal monitor signal processing unit 49 converts the luminance / color difference signal of the input YUV image data 56 into an RGB signal which is the input signal format of the liquid crystal monitor 20 and outputs the RGB signal to the liquid crystal monitor 20. As a result, an image captured by the CCD 85 is displayed on the liquid crystal monitor 20. The image signal is periodically taken from the CCD 85, the YUV image data 56 in the memory (SDRAM) 54 is periodically rewritten by the luminance / color difference signal generated from the image signal, and is output to the liquid crystal monitor 20 and the AV output terminal 13. As a result, an image captured by the CCD 85 is displayed in real time. The photographer can confirm the angle of view by viewing the image (live view image) displayed on the liquid crystal monitor 20 in real time.

撮影はシャッタボタンの押下によって行なわれる。撮影に先立ち、撮影者は、画角を調整する必要があるとき、ズームレンズ81の胴に設けられているズームリングにあるのをズーミングさせて画角を調整する。シャッタボタンが半押しされると、フォーカスオン信号が本体CPU40に入力され、本体CPU40はAE/AF処理を実施する。   Photographing is performed by pressing the shutter button. Prior to shooting, when the photographer needs to adjust the angle of view, the photographer zooms in on the zoom ring provided on the body of the zoom lens 81 to adjust the angle of view. When the shutter button is pressed halfway, a focus-on signal is input to the main body CPU 40, and the main body CPU 40 performs AE / AF processing.

まず、センサ入力制御部44を介してCCD85から取り込まれた画像信号がAF検出部51並びにAE/AWB検出部52に入力される。AE/AWB検出部52は、1画面を複数のエリア(例えば、16×16)に分割し、分割エリアごとにR、G、B信号を積算する回路を含み、その積算値をCPU(不図示)に提供する。このCPUは、AE/AWB検出部52から得た積算値に基づいて被写体の明るさ(被写体輝度)を検出し、撮影に適した露出値(撮影EV値)を算出する。そして、求めた撮影EV値と所定のプログラム線図から絞り値とシャッタスピードを決定し、これに従いCCD85の電子シャッタと絞り駆動部87を制御して適正な露光量を得る。   First, an image signal captured from the CCD 85 via the sensor input control unit 44 is input to the AF detection unit 51 and the AE / AWB detection unit 52. The AE / AWB detection unit 52 includes a circuit that divides one screen into a plurality of areas (for example, 16 × 16) and accumulates R, G, and B signals for each divided area, and the accumulated value is represented by a CPU (not shown). ) To provide. This CPU detects the brightness of the subject (subject brightness) based on the integrated value obtained from the AE / AWB detector 52, and calculates an exposure value (shooting EV value) suitable for shooting. Then, an aperture value and a shutter speed are determined from the obtained photographing EV value and a predetermined program diagram, and an appropriate exposure amount is obtained by controlling the electronic shutter and the aperture drive unit 87 of the CCD 85 according to this.

また、AE/AWB検出部52は、自動ホワイトバランス調整時、分割エリアごとにR、G、B信号の色別の平均積算値を算出し、その算出結果をCPU(不図示)に提供する。このCPUは、得られたRの積算値、Bの積算値、Gの積算値から分割エリアごとにR/GおよびB/Gの比を求め、求めたR/G、B/Gの値の、R/G、B/G色空間における分布等に基づいて、光源種判別を行う。そして、判別された光源種に適したホワイトバランス調整値に従って、たとえば、各比の値がおよそ1(つまり、1画面においてRGBの積算比率がR:G:B≒1:1:1)になるように、ホワイトバランス調整回路のR、G、B信号に対するゲイン値(ホワイトバランス補正値)を制御し、各色チャンネルの信号に補正をかける。   The AE / AWB detection unit 52 calculates an average integrated value for each color of the R, G, and B signals for each divided area during automatic white balance adjustment, and provides the calculation result to a CPU (not shown). This CPU obtains the ratio of R / G and B / G for each divided area from the obtained integrated value of R, integrated value of B, and integrated value of G, and determines the values of the calculated R / G and B / G. The light source type is determined based on the distribution in the R / G and B / G color spaces. Then, according to the white balance adjustment value suitable for the discriminated light source type, for example, the value of each ratio is approximately 1 (that is, the RGB integration ratio is R: G: B≈1: 1: 1 on one screen). As described above, the gain value (white balance correction value) for the R, G, and B signals of the white balance adjustment circuit is controlled to correct the signal of each color channel.

AF検出部51は、上記G信号の高周波成分のみを通過させるハイパスフィルタ、絶対値化処理部、所定のフォーカスエリア(たとえば、画面中央部)内の信号を切り出すAFエリア抽出部およびAFエリア内の絶対値データを積算する積算部から構成されている。AF検出部51で求めた積算値のデータは、本体CPU40に通知される。本体CPU40は、レンズ駆動部86を制御してフォーカスレンズ82を移動させながら、複数のAF検出ポイントで焦点評価値(AF評価値)を演算し、評価値が極大となるレンズ位置を合焦位置として決定する。そして、求めた合焦位置にフォーカスレンズ82が移動するように、レンズ駆動部86を制御する。以上のように、シャッタボタンの半押しによって、AE/AF処理が行なわれる。   The AF detection unit 51 includes a high-pass filter that passes only a high-frequency component of the G signal, an absolute value processing unit, an AF area extraction unit that extracts a signal within a predetermined focus area (for example, the center of the screen), and an AF area It is comprised from the integration part which integrates absolute value data. The integrated value data obtained by the AF detection unit 51 is notified to the main body CPU 40. The main body CPU 40 calculates a focus evaluation value (AF evaluation value) at a plurality of AF detection points while controlling the lens driving unit 86 to move the focus lens 82, and determines the lens position where the evaluation value is maximized as the in-focus position. Determine as. Then, the lens driving unit 86 is controlled so that the focus lens 82 moves to the obtained in-focus position. As described above, the AE / AF process is performed by half-pressing the shutter button.

この後、撮影者がシャッタボタンを押し切ると、本体CPU40にシャッタオン信号が入力され、本体CPU40は、撮影、記録処理を開始する。即ち、本体CPU40は測光結果に基づき決定された絞り値に従い、絞り駆動部87を制御して絞り83を動かし、シャッタ速度値に従い、シャッタ駆動部88を制御してメカシャッタ84の開閉動作を制御してCCD85の露光時間を制御し、CCD85を適正な光量で露光する。   Thereafter, when the photographer presses down the shutter button, a shutter-on signal is input to the main body CPU 40, and the main body CPU 40 starts photographing and recording processing. That is, the main body CPU 40 controls the aperture driving unit 87 to move the aperture 83 according to the aperture value determined based on the photometric result, and controls the shutter driving unit 88 to control the opening / closing operation of the mechanical shutter 84 according to the shutter speed value. The exposure time of the CCD 85 is controlled to expose the CCD 85 with an appropriate amount of light.

CCD85から出力された画像信号は、アナログ処理部(CDS/AMP)42、A/D変換器43、センサ入力制御部44を介してメモリ(SDRAM)54に取り込まれ、画像信号処理部46において輝度/色差信号に変換されたのち、YUV画像データ56としてメモリ(SDRAM)54に格納される。メモリ(SDRAM)54に格納されたYUV画像データ56は、圧縮伸張処理部47に加えられ、所定の圧縮フォーマット(たとえばJPEG形式)に従って圧縮された後、再びメモリ(SDRAM)54に圧縮伸張画像データ57として格納され、所定の画像記録フォーマット(たとえばExif形式)の画像ファイルとされたのち、カード制御部50を介してメモリカード(たとえばSDカード)69に記録される。   The image signal output from the CCD 85 is taken into the memory (SDRAM) 54 via the analog processing unit (CDS / AMP) 42, the A / D converter 43, and the sensor input control unit 44, and the image signal processing unit 46 determines the luminance. / After being converted into a color difference signal, it is stored in the memory (SDRAM) 54 as YUV image data 56. The YUV image data 56 stored in the memory (SDRAM) 54 is added to the compression / decompression processing unit 47, compressed in accordance with a predetermined compression format (for example, JPEG format), and then compressed again in the memory (SDRAM) 54. 57 and stored in a memory card (for example, an SD card) 69 via the card control unit 50 after being converted into an image file in a predetermined image recording format (for example, Exif format).

以上のようにしてメモリカード69に記録された画像は、再生ボタン(不図示)が押されることにより、以下のように動作してモニタ20で再生表示される。前記再生ボタンの押下により、デジタルカメラの動作モードが再生モードに設定され、本体CPU40は、カード制御部50にコマンドを出力し、メモリカード69から最後に記録された画像ファイルを読み出させる。読み出された画像ファイルの圧縮画像データは、圧縮伸張処理部47に加えられ、非圧縮の輝度/色差信号に伸張されたのち、OSDMIX部48および液晶モニタ信号処理部49を介して液晶モニタ20に出力される。これにより、メモリカード69に記録されている画像が液晶モニタ20に再生表示される。
その他の機能ないしは動作として以下のものがある。パソコンなどの外部機器とデジタルカメラとの間でUSB通信を行うには、USB端子14を介して外部機器と接続し、本体CPU40は、USB制御部59を制御することにより、USB通信を行う。
The image recorded in the memory card 69 as described above is reproduced and displayed on the monitor 20 by the following operation when a reproduction button (not shown) is pressed. By pressing the play button, the operation mode of the digital camera is set to the play mode, and the main body CPU 40 outputs a command to the card control unit 50 to read out the last recorded image file from the memory card 69. The compressed image data of the read image file is added to the compression / expansion processing unit 47 and expanded to an uncompressed luminance / color difference signal, and then the liquid crystal monitor 20 is connected via the OSDMIX unit 48 and the liquid crystal monitor signal processing unit 49. Is output. As a result, the image recorded on the memory card 69 is reproduced and displayed on the liquid crystal monitor 20.
Other functions or operations include the following. In order to perform USB communication between an external device such as a personal computer and a digital camera, the main body CPU 40 performs USB communication by controlling the USB control unit 59 by connecting to the external device via the USB terminal 14.

シャッタ音、操作音などの音声信号データはフラッシュROM58のカメラ調整データ91に格納されている。本体CPU40が音声信号処理部45を制御し、上記音声データを読み出し音声信号処理部45を介してオーディオCODEC61へ出力する。オーディオCODEC61は、入力された音声信号を増幅するマイクアンプや、スピーカ34を駆動するためのオーディオアンプを内蔵している。オーディオCODEC61には、ユーザが音声信号を入力するマイク10、音声信号を出力する上記スピーカ34が接続されていて、マイク10により音声を電気信号に変換してメモリに記録し、この音声信号を読み出してスピーカ34から出力することができる。   Audio signal data such as shutter sound and operation sound is stored in the camera adjustment data 91 of the flash ROM 58. The main body CPU 40 controls the audio signal processing unit 45 to read out the audio data and output it to the audio CODEC 61 via the audio signal processing unit 45. The audio CODEC 61 incorporates a microphone amplifier that amplifies the input audio signal and an audio amplifier that drives the speaker 34. The audio CODEC 61 is connected to a microphone 10 through which a user inputs an audio signal and the speaker 34 from which the audio signal is output. The audio is converted into an electrical signal by the microphone 10 and recorded in a memory, and the audio signal is read out. And output from the speaker 34.

図2は、図1の本体CPU40の詳細回路図である。図2において、本体CPU40は常時電源で動作する低消費電力のRTC(Real Time Clock)部70を持ち、本体CPU40内部に供給される電源のオン/オフを制御している。
RTC部70にはリセット信号が入力されており、リセット信号の入力がアサートされると、ENABLE信号を出力するENABLE端子を1つもつ。
ENABLE信号は、メイン電源スイッチ71に接続されており、これのオン/オフを制御する。本体CPU40が動作可能になるまでは、ENABLE信号のオン/オフはリセット信号に同期して行われ、制御プログラムは介在しない。
FIG. 2 is a detailed circuit diagram of the main body CPU 40 of FIG. In FIG. 2, the main body CPU 40 has a low power consumption RTC (Real Time Clock) unit 70 that is always operated by a power source, and controls on / off of the power supplied to the inside of the main body CPU 40.
A reset signal is input to the RTC unit 70. When the reset signal input is asserted, the RTC unit 70 has one ENABLE terminal that outputs an ENABLE signal.
The ENABLE signal is connected to the main power switch 71 and controls ON / OFF of the switch. Until the main body CPU 40 becomes operable, the ENABLE signal is turned on / off in synchronization with the reset signal and no control program is interposed.

また、RTC部70には、検出スイッチ類(電源スイッチ1、カード検出スイッチ2、レンズ検出スイッチ3、レンズアクセサリ検出スイッチ7、撮像素子検出スイッチ8)がキー入力端子へ接続されている。
本体CPU40のRTC部70および検出スイッチ類は、着脱可能なバッテリ30が取り付けられ装置全体に電力が供給されている間、常時電力の供給を受ける。
着脱可能なバッテリ30が取り付けられると、カメラ本体39に電源が供給され、本体CPU40およびRTC部70に電源が供給され、同時に外部リセット回路より本体CPU40へリセット解除信号が入力される。
リセット解除により、RTC部70よりENABLE信号オンが出力され、メイン電源スイッチ71のスイッチがオンとなり、フラッシュROM58、SDRAM54に電源が供給される。これと同時に本体CPU40もリセットが解除されて動作可能になる。
In addition, detection switches (power switch 1, card detection switch 2, lens detection switch 3, lens accessory detection switch 7, image sensor detection switch 8) are connected to the RTC unit 70 to the key input terminal.
The RTC unit 70 and the detection switches of the main body CPU 40 are constantly supplied with electric power while the detachable battery 30 is attached and electric power is supplied to the entire apparatus.
When the detachable battery 30 is attached, power is supplied to the camera main body 39, power is supplied to the main body CPU 40 and the RTC unit 70, and at the same time, a reset release signal is input from the external reset circuit to the main body CPU 40.
When the reset is released, the RTC unit 70 outputs an ENABLE signal ON, the main power switch 71 is turned on, and power is supplied to the flash ROM 58 and the SDRAM 54. At the same time, the main body CPU 40 is also released from the reset state and becomes operable.

本体CPU40は、図3のような動作モードを持っている。
電源が供給された直後は、本体CPU40はリセットモード200となる。リセットモード200では、外部からのリセット信号の入力がネゲートされる以外は、他のモードへ遷移することができない。
本体CPU40のリセットが解除されると、ノーマルモード201となる。リセット解除205は、着脱可能なバッテリ30のカメラ本体39への取り付けにより、本体CPU40へ電源が供給された時である。
The main body CPU 40 has an operation mode as shown in FIG.
Immediately after the power is supplied, the main body CPU 40 is in the reset mode 200. In the reset mode 200, a transition to another mode cannot be made except that an external reset signal input is negated.
When the reset of the main body CPU 40 is released, the normal mode 201 is entered. The reset release 205 is when power is supplied to the main body CPU 40 by attaching the detachable battery 30 to the camera main body 39.

ノーマルモード201は、カメラ本体39での撮影が再生を行っている状態であり、本体CPU40は、フラッシュROM58およびSDRAM54その他周辺機能(外部ポート、シリアルインタフェースなど)へアクセスが可能である。
ノーマルモード201でリセット入力203が発生すると、リセットモード200へ遷移し、制御プログラムが本体CPU40の設定を変更する制御プログラムによる設定206が発生すると、スタンバイモード202へ遷移する。
リセット入力203および204には、バッテリ電圧の降下により、本体CPU40への電源供給が動作可能電圧以下になった場合、またはバッテリ取り外しによる本体CPU40への電源供給遮断がある。
The normal mode 201 is a state in which photographing by the camera main body 39 is being reproduced, and the main body CPU 40 can access the flash ROM 58 and the SDRAM 54 and other peripheral functions (external port, serial interface, etc.).
When the reset input 203 is generated in the normal mode 201, the mode transitions to the reset mode 200. When the control program changes the setting 206 of the main body CPU 40, the mode transitions to the standby mode 202.
The reset inputs 203 and 204 include a power supply interruption to the main body CPU 40 when the power supply to the main body CPU 40 becomes lower than the operable voltage due to a drop in battery voltage, or a battery is removed.

制御プログラムによる設定206には、電源スイッチ1のオフや、スイッチ検出が一定時間なかった場合にカメラ本体39を省電力モードへ移行する、などがある。
スタンバイモード202は、ノーマルモード201より電力を削減することが可能なモードで、キー入力端子を除く全ての内部クロック供給を停止する。スタンバイモード202からの復帰は、キー入力端子からのキー入力207もしくはバッテリ電圧の降下やバッテリ取り外しによるリセット入力204により行われる。
The setting 206 by the control program includes turning off the power switch 1 or shifting the camera body 39 to the power saving mode when the switch is not detected for a certain time.
The standby mode 202 is a mode in which power can be reduced as compared with the normal mode 201, and all the internal clocks except the key input terminal are stopped. The return from the standby mode 202 is performed by a key input 207 from a key input terminal or a reset input 204 by a battery voltage drop or battery removal.

キー入力端子からのキー入力207には、検出スイッチ類(電源スイッチ1、カード検出スイッチ2、レンズ検出スイッチ3、レンズアクセサリ検出スイッチ7、撮像素子検出スイッチ8)のスイッチオン入力がある。
図2および図3のように、電源スイッチ1の状態に関係なく本体CPU40内部に供給される電源のオン/オフを制御するよう構成することで、外部ユニットが交換或いは脱着(取り外し及び再装着)を検出できるようにしている。よって、電源スイッチ1がオフの状態でも、外部ユニットが交換されたことを検出すると、外部ユニットの管理情報を読み出し、カメラ本体のメモリに記憶しておくことができる。詳細は、図10の説明箇所にて後述する。
The key input 207 from the key input terminal includes switch-on input of detection switches (power switch 1, card detection switch 2, lens detection switch 3, lens accessory detection switch 7, and image sensor detection switch 8).
As shown in FIGS. 2 and 3, the external unit can be replaced or removed (removed and remounted) by controlling the on / off of the power supplied to the inside of the main body CPU 40 regardless of the state of the power switch 1. Can be detected. Therefore, even when the power switch 1 is off, when it is detected that the external unit has been replaced, the management information of the external unit can be read and stored in the memory of the camera body. Details will be described later in the description of FIG.

次に、図4を用いて管理情報を説明する。
管理情報は、交換可能な外部ユニットを特定可能な識別データと、交換可能な外部ユニットの構成および状態を特定可能な固有データで構成されている。
交換可能な外部ユニットは、メモリカード69、交換レンズ100、交換撮像素子101であり、さらに交換レンズには図示しない交換レンズアクセサリ(例えばコンバージョンレンズ)や、図示しないホットシューに接続する外部フラッシュなどがある。
本実施形態では、メモリカード69、交換レンズ100、交換レンズアクセサリ、交換撮像素子101、として説明している。
Next, management information will be described with reference to FIG.
The management information includes identification data that can identify an exchangeable external unit, and unique data that can identify the configuration and state of the exchangeable external unit.
The replaceable external units are the memory card 69, the interchangeable lens 100, and the interchangeable image sensor 101. Further, the interchangeable lens includes an interchangeable lens accessory (not shown) (for example, a conversion lens), an external flash connected to a hot shoe (not illustrated), and the like. is there.
In the present embodiment, the memory card 69, the interchangeable lens 100, the interchangeable lens accessory, and the interchangeable imaging element 101 are described.

不揮発性メモリであるフラッシュROM58には、登録済外部メモリカード管理情報320、登録済交換レンズ管理情報321、登録済交換レンズアクセサリ管理情報322、登録済交換撮像素子管理情報323の領域が、制御プログラム90、カメラ調整データ91、カメラ設定データ92とは別の領域として存在する。
交換可能な外部ユニットの識別データ201、205、208、211は、例えば製造者ID、シリアル番号などのメモリカードを一意に識別することが可能なデータである。固有データ202、206、209、212は、メモリカード69の場合はメモリのブロックサイズ、合計サイズなど、交換レンズ100や交換レンズアクセサリの場合は、レンズの種類、開放絞り値、焦点距離、駆動量補正値など、交換撮像素子101の場合は、総画素数、有効画素数など、同じ条件の交換可能な外部ユニットであれば値は同じになるが、交換可能な外部ユニットの属性を識別可能なデータである。
The flash ROM 58, which is a non-volatile memory, includes areas for registered external memory card management information 320, registered interchangeable lens management information 321, registered interchangeable lens accessory management information 322, and registered interchangeable image sensor management information 323. 90, camera adjustment data 91, and camera setting data 92 exist as separate areas.
The exchangeable external unit identification data 201, 205, 208, and 211 is data that can uniquely identify a memory card such as a manufacturer ID and a serial number, for example. The unique data 202, 206, 209, and 212 are the memory block size and total size in the case of the memory card 69, and in the case of the interchangeable lens 100 and the interchangeable lens accessory, the lens type, the aperture value, the focal length, and the driving amount. In the case of the exchangeable image sensor 101 such as a correction value, the value is the same if the external unit can be exchanged under the same conditions such as the total number of pixels and the number of effective pixels, but the attribute of the exchangeable external unit can be identified. It is data.

次に、図5および図6を用いて、本実施形態における外部ユニット交換時の制御プログラムの構成を説明する。
図5は、揮発性メモリであるSDRAM54と、不揮発性メモリであるフラッシュROM58とに存在するデータ構成とデータの流れを示す図である。図6は、従来技術において、電源投入時(バッテリが取り付けられた)に交換ユニットの新規登録を行う場合のタイミングチャートである。
Next, the configuration of the control program at the time of external unit replacement in the present embodiment will be described using FIG. 5 and FIG.
FIG. 5 is a diagram showing a data configuration and a data flow existing in the SDRAM 54 as a volatile memory and the flash ROM 58 as a nonvolatile memory. FIG. 6 is a timing chart in the case where new registration of a replacement unit is performed when power is turned on (with a battery attached) in the prior art.

図5に示すように、不揮発性のフラッシュROM58には、登録済外部メモリカード管理情報320、登録済交換レンズ管理情報321、登録済交換レンズアクセサリ管理情報322、登録済交換撮像素子管理情報323、制御プログラム90がある。
本体CPU40の制御プログラム90は、本体CPU40がノーマルモード201へ遷移すると、メモリ(SDRAМ)54にロードされる(ステップS300)。
制御プログラム90には、外部ユニット情報の管理を担う外部ユニット情報管理モジュール311と、外部ユニットの制御を担う外部ユニット制御モジュール314の2つが含まれている。
As shown in FIG. 5, in the nonvolatile flash ROM 58, registered external memory card management information 320, registered interchangeable lens management information 321, registered interchangeable lens accessory management information 322, registered interchangeable image sensor management information 323, There is a control program 90.
The control program 90 of the main body CPU 40 is loaded into the memory (SDRAМ) 54 when the main body CPU 40 transitions to the normal mode 201 (step S300).
The control program 90 includes an external unit information management module 311 that manages external unit information and an external unit control module 314 that controls external units.

さらに外部ユニット情報管理モジュール311には、外部ユニット管理情報のフラッシュROMからSDRAMへのロード(図6(2))と、SDRAMからフラッシュROMへのセーブ(図6(9))を担う登録情報更新制御313と、SDRAM上にある管理情報とフラッシュROM上にある登録済の管理情報を比較し判別する(図6(4))、登録情報比較制御312、が含まれている。   Further, the external unit information management module 311 updates registered information for loading external unit management information from the flash ROM to the SDRAM (FIG. 6 (2)) and saving from the SDRAM to the flash ROM (FIG. 6 (9)). A control 313 and a registration information comparison control 312 for comparing and discriminating the management information on the SDRAM and the registered management information on the flash ROM (FIG. 6 (4)) are included.

一方、外部ユニット制御モジュール314には、それぞれの外部ユニット(本本実施形態では、メモリカード69、交換レンズ100、交換レンズアクセサリ、交換撮像素子101)の初期化制御を行うメモリカード初期化制御315、交換レンズ初期化制御316、交換レンズアクセサリ初期化制御317、交換撮像素子初期化制御318、が含まれている。
全ての外部ユニット初期化制御において共通である処理は、外部ユニットへの接続手段(シリアル通信/パラレル通信などの通信形態と通信プロトコル)を除いて、識別情報の受信をおこなう識別情報受信(図6(3))と、固有情報受信(図6(5))、が含まれている。
On the other hand, the external unit control module 314 includes a memory card initialization control 315 for performing initialization control of each external unit (in the present embodiment, the memory card 69, the interchangeable lens 100, the interchangeable lens accessory, and the interchangeable image sensor 101). An interchangeable lens initialization control 316, an interchangeable lens accessory initialization control 317, and an interchangeable image sensor initialization control 318 are included.
Processing common to all external unit initialization control is identification information reception for receiving identification information except for means for connecting to an external unit (communication form and communication protocol such as serial communication / parallel communication) (FIG. 6). (3)) and unique information reception ((5) in FIG. 6).

メモリカード初期化制御315には、図6のタイミングチャートにあるように識別情報受信処理(3)、ファイル管理情報受信処理(5)、ファイル準備処理(6)がある。
交換レンズ初期化制御316には、交換レンズのズームレンズ81のズーム光学系101とフォーカスレンズ102のフォーカス光学系102を含む鏡胴を繰り出して撮影可能な位置まで制御を行う交換レンズ鏡胴繰り出し処理(6)と、交換レンズの絞りユニット103の絞り83を開く、メカシャッタユニット104のメカシャッタ84を開く、フォーカス光学系102を撮影可能な位置まで動作させる、絞り、シャッタ、フォーカス準備処理(7)がある。
The memory card initialization control 315 includes an identification information reception process (3), a file management information reception process (5), and a file preparation process (6) as shown in the timing chart of FIG.
The interchangeable lens initialization control 316 includes an interchangeable lens barrel extension process for controlling the lens barrel including the zoom optical system 101 of the interchangeable lens zoom lens 81 and the focus optical system 102 of the focus lens 102 to a position where photographing is possible. (6), the aperture 83 of the interchangeable lens aperture unit 103 is opened, the mechanical shutter 84 of the mechanical shutter unit 104 is opened, and the focus optical system 102 is moved to a position where photographing can be performed. There is.

交換レンズアクセサリ初期化制御317には、アクセサリの構成によって処理内容が異なるが、テレコンバージョンアダプタのような形態であれば、鏡胴や絞り、シャッタが存在しないので、交換レンズアクセサリの初期化制御は、レンズCPU38の準備だけとなる。
交換撮像素子初期化制御318には、ライブビューを表示する場合は、CCD85、アナログ処理部(CDS/AMP)42、A/D変換器43、タイミングジェネレータ(TG)89を、ライブビュー動作可能に初期化を行うライブビュー準備処理(6)と、ライブビューの撮像データを出力するライブビュー表示処理(8)がある。
The processing contents of the interchangeable lens accessory initialization control 317 vary depending on the configuration of the accessory. However, in the case of a form such as a teleconversion adapter, there is no lens barrel, aperture, or shutter, so the initialization control of the interchangeable lens accessory is not performed. Only the lens CPU 38 is prepared.
In the interchangeable image sensor initialization control 318, when displaying a live view, the CCD 85, the analog processing unit (CDS / AMP) 42, the A / D converter 43, and the timing generator (TG) 89 can perform a live view operation. There is a live view preparation process (6) for performing initialization and a live view display process (8) for outputting imaging data of the live view.

次に図5および図7を用いて、本実施形態における外部ユニット交換時の制御プログラムの制御フローを説明する。
カメラ本体39に接続された外部ユニットは、本体CPU40のRTC部70に接続されている検出スイッチ類(電源スイッチ1、カード検出スイッチ2、レンズ検出スイッチ3、レンズアクセサリ検出スイッチ7、撮像素子検出スイッチ8)を介して、制御プログラム90は、該当外部ユニットが検出されたかを検知する(ステップS10)。
Next, the control flow of the control program at the time of external unit replacement in this embodiment will be described with reference to FIGS.
The external unit connected to the camera body 39 includes detection switches (power switch 1, card detection switch 2, lens detection switch 3, lens accessory detection switch 7, image sensor detection switch) connected to the RTC unit 70 of the main body CPU 40. 8), the control program 90 detects whether the corresponding external unit has been detected (step S10).

この後、外部ユニット情報管理モジュール311は、該当外部ユニットに適合したフラッシュROM58上にある登録済管理情報(登録済外部メモリカード管理情報320、登録済交換レンズ管理情報321、登録済交換レンズアクセサリ管理情報322、登録済交換撮像素子管理情報323)をSDRAM上の領域(300、302、304、306)へロードする(ステップS11、ステップS310、ステップS313、ステップS316、ステップS319)。   Thereafter, the external unit information management module 311 registers registered management information (registered external memory card management information 320, registered interchangeable lens management information 321, registered interchangeable lens accessory management) on the flash ROM 58 suitable for the corresponding external unit. The information 322 and the registered replacement image sensor management information 323) are loaded into the area (300, 302, 304, 306) on the SDRAM (Step S11, Step S310, Step S313, Step S316, Step S319).

これと同時並列に、外部ユニット制御モジュール314は、該当外部ユニットへの接続手段 により通信を行い、識別データを受信し、その識別データをSDRAM上の領域(301、303、305、307)へロードする(ステップS12、ステップS301、ステップS302、ステップS303、ステップS304)。
次に、外部ユニット情報管理モジュール311は、該当外部ユニットの識別データ(301、303、305、307へロード済)と、SDRAM上へ一旦ロードした登録済の外部ユニット管理情報(300、302、304、306)のうち識別データ部分を比較する(ステップS13)。
At the same time, the external unit control module 314 communicates with the connection means to the corresponding external unit, receives the identification data, and loads the identification data into the areas (301, 303, 305, 307) on the SDRAM. (Step S12, Step S301, Step S302, Step S303, Step S304).
Next, the external unit information management module 311 identifies the external unit identification data (loaded to 301, 303, 305, 307) and the registered external unit management information (300, 302, 304) once loaded onto the SDRAM. 306) are compared with each other (step S13).

比較の結果、該当外部ユニットの識別データが一致するのであれば、ステップS16へ進み、外部ユニットの初期化処理を行う。それぞれの外部ユニットの初期化処理に関しては先に説明した。
一致しないのであれば、外部ユニット制御モジュール314は、該当外部ユニットへの接続手段 により通信を行い、固有データを受信し、その固有データをSDRAM上の領域(301、303、305、307)へロードする(ステップS14、ステップS301、ステップS302、ステップS303、ステップS304)。
As a result of the comparison, if the identification data of the corresponding external unit matches, the process proceeds to step S16, and the external unit is initialized. The initialization process for each external unit has been described above.
If they do not match, the external unit control module 314 communicates with the connection means to the relevant external unit, receives the unique data, and loads the unique data into the areas (301, 303, 305, 307) on the SDRAM. (Step S14, Step S301, Step S302, Step S303, Step S304).

受信した該当外部ユニットの固有データ(301、303、305、307)は、そのままSDRAM上へ配置しておくと、電源遮断時に全て破壊されてしまうので、該当外部ユニットの管理情報を識別データと固有データをセットにしてフラッシュROM上へセーブする(ステップS15、ステップS312、ステップS315、ステップS318、ステップS321)。   If the received unique data (301, 303, 305, 307) of the relevant external unit is placed on the SDRAM as it is, it will be destroyed when the power is turned off. Data is set and saved on the flash ROM (step S15, step S312, step S315, step S318, step S321).

次に、図6、図8および図9のタイミングチャートを用いて、本実施形態と従来技術との相違を説明する。図8は、従来技術において、電源投入時(バッテリが取り付けられた)に交換ユニットの新規登録を行わない(既に登録済である)場合のタイミングチャート、図9は、本実施形態における、電源投入時(バッテリが取り付けられた)で交換ユニットの新規登録を行う場合のタイミングチャートである。
従来技術(特許文献2および特許文献3)では、交換可能な外部ユニットの管理情報を不揮発性メモリへ保存しておき、交換可能な外部ユニットが着脱されたが、同じ外部ユニットが取り付けられた場合、外部ユニットとの管理情報の通信時間をなくすことにより、動作の高速化を行ってきた(図8参照)。
Next, differences between the present embodiment and the prior art will be described with reference to timing charts of FIGS. 6, 8, and 9. FIG. 8 is a timing chart when new registration of a replacement unit is not performed (already registered) when power is turned on (battery is attached) in the prior art, and FIG. 9 is power on in this embodiment. It is a timing chart in the case of newly registering a replacement unit at the time (battery is attached).
In the prior art (Patent Document 2 and Patent Document 3), the management information of the replaceable external unit is stored in the nonvolatile memory, and the replaceable external unit is attached / detached, but the same external unit is attached The operation speed has been increased by eliminating the communication time of the management information with the external unit (see FIG. 8).

フラッシュROM58に登録されていない交換可能な外部ユニットが装着された場合、図6のような動作となり、読み出した該当外部ユニットの管理領域は、電源オフのタイミングにてSDRAM54からフラッシュROM58へセーブされる。
この場合の問題点は、登録情報のセーブ時間がカメラ本体39の起動時間に上乗せされないように電源オフのタイミングにした代わりに、区間Aの間にバッテリが何らかの要因で外れるということが発生した場合、登録情報がフラッシュROM58にセーブされていないために、再度図6のシーケンスと同じ動作を行う必要があり、カメラ本体39の起動時間が短縮されない、ということである。
When a replaceable external unit not registered in the flash ROM 58 is mounted, the operation is as shown in FIG. 6, and the management area of the read external unit is saved from the SDRAM 54 to the flash ROM 58 at power-off timing. .
The problem in this case is that the battery is disconnected during section A for some reason instead of the power-off timing so that the registration information save time is not added to the startup time of the camera body 39. Since the registration information is not saved in the flash ROM 58, it is necessary to perform the same operation as the sequence of FIG. 6 again, and the activation time of the camera body 39 is not shortened.

また、従来技術(特許文献1および特許文献4)は、管理情報をセーブ・図6(9)した後に初期化動作を行う(例えば交換撮像素子の場合、図6(5)→(9)→(6)というタイミングとなる)ので、一般的には不揮発性メモリへの書き込み動作はRAMよりも低速のために、新規登録時の起動時間が大幅に伸びてしまう、という問題がある。
よって本実施形態では、登録情報のセーブ(9)を行う外部ユニット情報管理モジュール311の登録情報更新制御313(図9の(9))と、外部ユニット制御モジュール314の該当外部ユニット初期化制御(315、316、317、318)(図9の(6))を並列に実行させることで、前述した従来技術の問題点を解決した。
Further, in the prior art (Patent Document 1 and Patent Document 4), the management information is saved and the initialization operation is performed after FIG. 6 (9) (for example, in the case of an exchangeable image sensor, FIG. 6 (5) → (9) → Therefore, since the write operation to the nonvolatile memory is generally slower than the RAM, there is a problem that the startup time at the time of new registration is greatly increased.
Therefore, in the present embodiment, the registration information update control 313 ((9) in FIG. 9) of the external unit information management module 311 that performs the saving (9) of registration information and the corresponding external unit initialization control ( 315, 316, 317, and 318) ((6) in FIG. 9) are executed in parallel to solve the above-described problems of the prior art.

図6の区間Aは、登録情報のセーブ(9)と外部ユニットの初期化処理を同時並列に実行することで、図9の区間Cとなり、全ての外部ユニットの初期化処理が終了し、カメラ本体39が起動完了するまでの時間へと短縮することで、電源遮断に対して強くすることができる。
また、新規登録時の起動時間に対しても、低速な不揮発性メモリへの書き込みと同時に外部ユニットの初期化処理を行うことにより、書き込み終了を待たずに初期化動作させることで、カメラ本体39が起動完了するまでの時間を短縮することができる。
Section A in FIG. 6 becomes section C in FIG. 9 by simultaneously executing registration information saving (9) and external unit initialization processing in parallel, and all external unit initialization processing is completed. By shortening the time until the main body 39 completes the activation, it is possible to strengthen against the power interruption.
Also, with respect to the start-up time at the time of new registration, by performing initialization operation without waiting for completion of writing by performing initialization processing of the external unit simultaneously with writing to the low-speed nonvolatile memory, the camera body 39 Can shorten the time to complete startup.

以上の構成により、カメラ本体39は図10に示す状態遷移を行う。
電源OFF中(400):カメラ本体の電源スイッチがオフで、検出スイッチ類の入力を待っている状態。
管理情報判定中(401):図7のステップS10、ステップS11、ステップS12、ステップS13、ステップS14を実行中の状態。
外部ユニット初期化中(402):図7のステップS15のみ実行中、またはステップS15およびステップS16を実行中の状態。
電源ON状態(403):カメラ本体の電源スイッチがオンで、外部ユニットの初期化が終了し撮影が可能な状態。
With the above configuration, the camera body 39 performs the state transition shown in FIG.
Power off (400): The camera body power switch is off and waiting for input of detection switches.
During management information determination (401): A state in which step S10, step S11, step S12, step S13, and step S14 in FIG. 7 are being executed.
Initializing external unit (402): State in which only step S15 in FIG. 7 is being executed, or steps S15 and S16 are being executed.
Power ON state (403): A state in which the power switch of the camera body is on, initialization of the external unit is completed, and shooting is possible.

カメラ本体39の電源スイッチ1がオフ状態である時(400)に、着脱可能なバッテリ30が取り付けられると、カメラ本体39に電源が供給され、本体CPUはノーマルモード201へ移行する(410)。本体CPUの制御プログラムは、検出スイッチ類(電源スイッチ1、カード検出スイッチ2、レンズ検出スイッチ3、レンズアクセサリ検出スイッチ7、撮像素子検出スイッチ8)のスイッチオン入力を判別し、外部ユニットが検出されたかを検知し(図7のステップS10)、該当外部ユニットから管理情報を読み出す(ステップS12)と共に、該当外部ユニットに適合したフラッシュROM58上にある登録済管理情報との判定処理を行い(ステップS13)(401)、管理情報のフラッシュROMへのセーブを行い(ステップS15)、制御プログラムによる設定206により、本体CPUをスタンバイモード202へ遷移し、カメラ本体39は電源OFF中(401)へと遷移する(411)。   When the detachable battery 30 is attached when the power switch 1 of the camera body 39 is off (400), power is supplied to the camera body 39, and the body CPU shifts to the normal mode 201 (410). The control program of the main body CPU discriminates switch-on input of detection switches (power switch 1, card detection switch 2, lens detection switch 3, lens accessory detection switch 7, image sensor detection switch 8), and an external unit is detected. 7 is detected (step S10 in FIG. 7), management information is read from the corresponding external unit (step S12), and determination processing with registered management information on the flash ROM 58 suitable for the corresponding external unit is performed (step S13). ) (401), management information is saved in the flash ROM (step S15), the main CPU is shifted to the standby mode 202 by the setting 206 by the control program, and the camera main body 39 is shifted to the power-off state (401). (411).

その後、カメラ本体39の電源スイッチ1がオフ状態である時(400)に、既に着脱可能なバッテリ30が取り付けられていると、前述のように本体CPUがスタンバイモード202である。このとき、外部ユニットの交換或いは着脱(取り外しおよび再装着)されると、カメラ本体39は検出スイッチ類のスイッチオン入力を判別し、外部ユニットが検出されたかを検知し(ステップS10)、該当外部ユニットから管理情報を読み出す(ステップS12)と共に、該当外部ユニットに適合したフラッシュROM58上にある登録済管理情報との判定処理を行う(ステップS13)(401)。そして、登録済管理情報と読み出した管理情報が一致しなければ、管理情報のフラッシュROMへのセーブを行い(ステップS15)、制御プログラムによる設定206により、本体CPUをスタンバイモード202へ遷移し、カメラ本体39は再び電源OFF中(401)へと遷移する(411)。   Thereafter, when the power switch 1 of the camera body 39 is in the off state (400), if the removable battery 30 is already attached, the body CPU is in the standby mode 202 as described above. At this time, when the external unit is replaced or detached (removed and remounted), the camera body 39 determines the switch-on input of the detection switches and detects whether the external unit is detected (step S10). Management information is read from the unit (step S12), and determination processing with registered management information on the flash ROM 58 suitable for the corresponding external unit is performed (step S13) (401). If the registered management information and the read management information do not match, the management information is saved in the flash ROM (step S15), the main CPU is shifted to the standby mode 202 by the setting 206 by the control program, and the camera The main body 39 again transitions to the power-off state (401) (411).

その後、カメラ本体39の電源スイッチ1がオン状態になると(413)、装着されている外部ユニットを検出し(ステップS10)、該当外部ユニットから識別情報を受信(ステップS12)しながら、登録済の管理情報をSDRAMへロード(ステップS11)し、該当外部ユニットの登録済管理情報との判定処理を行い(ステップS13)(401)、外部ユニットが交換されていないので、登録済管理情報と外部ユニットから読み出した管理情報が一致するために、ステップS14、ステップS15を実行することなく、外部ユニット初期化処理(ステップS16)を実行する。   Thereafter, when the power switch 1 of the camera body 39 is turned on (413), the mounted external unit is detected (step S10), and identification information is received from the corresponding external unit (step S12), while the registered one is registered. The management information is loaded into the SDRAM (step S11), and a determination process with the registered management information of the corresponding external unit is performed (step S13) (401). Since the external unit is not exchanged, the registered management information and the external unit Since the management information read out from the two matches, the external unit initialization process (step S16) is executed without executing steps S14 and S15.

以上のように、電源スイッチ1がオフ状態の時に外部ユニットが交換或いは脱着(取り外し及び再装着)された場合において、従来技術にて公知のとおり、装着された外部ユニットの管理情報を外部ユニットから読み出して、これをフラッシュROM58に保存し、電源スイッチ1がオン状態になった時にフラッシュROM58から管理情報を読み出す。そして、この管理情報を、外部ユニットの制御(例えば、交換撮像素子の場合、ライブビューを表示する制御)のために利用する。これにより、電源スイッチ1がオン状態にされた時に外部ユニットの管理情報を取得してカメラ本体39が起動完了するまでの時間を短縮することができる。   As described above, when the external unit is replaced or removed (removed and reattached) when the power switch 1 is in the OFF state, the management information of the attached external unit is obtained from the external unit as is known in the prior art. This is read out and stored in the flash ROM 58, and management information is read out from the flash ROM 58 when the power switch 1 is turned on. And this management information is utilized for control of an external unit (for example, in the case of an exchange imaging device, control which displays a live view). Thereby, when the power switch 1 is turned on, it is possible to shorten the time required to acquire the management information of the external unit and complete the activation of the camera body 39.

カメラ本体39の電源スイッチ1がオン状態で、カメラ本体が電源ON状態の時(403)に、外部ユニットが交換或いは脱着(取り外し及び再装着)された場合(414)において、本体CPUの制御プログラムは、検出スイッチ類(電源スイッチ1、カード検出スイッチ2、レンズ検出スイッチ3、レンズアクセサリ検出スイッチ7、撮像素子検出スイッチ8)のスイッチオン入力を判別し、外部ユニットが検出されたかを検知し(ステップS10)、該当外部ユニットから管理情報を読み出す(ステップS12)と共に、該当外部ユニットに適合したフラッシュROM58上にある登録済管理情報との判定処理を行い(ステップS13)(401)、管理情報のフラッシュROMへのセーブを行う(ステップS15)処理と、外部ユニット初期化処理(ステップS16)を並列に実施し(402)、カメラ本体は、再び電源ON状態(403)へ移行する。   When the power switch 1 of the camera body 39 is turned on and the camera body is powered on (403), when the external unit is replaced or removed (removed and remounted) (414), the control program for the body CPU Determines switch-on input of detection switches (power switch 1, card detection switch 2, lens detection switch 3, lens accessory detection switch 7, image sensor detection switch 8), and detects whether an external unit has been detected ( In step S10), management information is read from the corresponding external unit (step S12), and determination processing with registered management information on the flash ROM 58 suitable for the corresponding external unit is performed (step S13) (401). Saving to the flash ROM (step S15) and the external unit Slot initialization processing (Step S16) performed in parallel (402), the camera body shifts again to the power ON state (403).

以上のように、本実施形態では、電源スイッチ1がオン状態の時に外部ユニットが交換或いは脱着(取り外し及び再装着)された場合において、装着された外部ユニットの管理情報を外部ユニットから読み出して、これをフラッシュROM58に保存する処理と、外部ユニットの制御(例えば、交換撮像素子の場合、ライブビューを表示する制御)とを並列に実行してカメラ本体39が撮影完了となるまでの時間を短縮することができる。   As described above, in the present embodiment, when the external unit is replaced or removed (removed and reattached) when the power switch 1 is on, the management information of the attached external unit is read from the external unit, The processing for storing this in the flash ROM 58 and the control of the external unit (for example, control for displaying a live view in the case of an interchangeable image sensor) are executed in parallel to shorten the time until the camera body 39 completes photographing. can do.

また、本実施形態では、交換レンズ100と交換撮像素子101を別々の外部ユニットとして説明したが、これは交換レンズのレンズ光学系と撮像素子が一体でも良い。また、レンズ光学系はカメラ本体39と一体とし、撮像素子のみ交換式にするなどの構成としても良い。
また、本実施形態では、不揮発性メモリであるフラッシュROM58にある管理情報を登録する領域は、それぞれの外部ユニットに対して一つとしたが、これを一つの外部ユニットに対して複数持っても良い。この場合、例えば複数種類の交換レンズ管理情報を登録することにより、使用頻度の高い交換レンズを登録しておくことで、それらのレンズに対してはカメラ本体39を常に高速に起動することができるので、シャッターチャンスを逃すなどの問題を解消することが出来る。
また、本実施形態では、記憶手段をフラッシュROMとして説明したが、記憶手段はNOR型のフラッシュROMでもNAND型のフラッシュROMでも、またEEPROMでもバックアップ用途のSRAMで構成しても、本発明の目的は達成される。
In the present embodiment, the interchangeable lens 100 and the interchangeable image sensor 101 are described as separate external units. However, in this embodiment, the lens optical system of the interchangeable lens and the image sensor may be integrated. Further, the lens optical system may be integrated with the camera body 39, and only the image pickup device may be replaced.
In this embodiment, one area for registering management information in the flash ROM 58, which is a non-volatile memory, is provided for each external unit. However, a plurality of areas may be provided for each external unit. . In this case, for example, by registering a plurality of types of interchangeable lens management information, by registering frequently used interchangeable lenses, the camera body 39 can always be activated at high speed for those lenses. Therefore, problems such as missing a photo opportunity can be solved.
In this embodiment, the storage means is described as a flash ROM. However, the storage means may be a NOR flash ROM, a NAND flash ROM, an EEPROM, or a SRAM for backup purposes. Is achieved.

前記実施形態ではデジタルカメラの場合を説明したが、外部ユニットが着脱可能な情報処理装置(例えば、画像形成装置(複写機)に対するトナーボトル)にも本発明を適用可能であるのは勿論である。   In the above-described embodiment, the case of a digital camera has been described. However, it is needless to say that the present invention can be applied to an information processing apparatus (for example, a toner bottle for an image forming apparatus (copier)) to which an external unit can be attached and detached. .

本発明の実施形態のデジタルカメラ内部の制御系統の構成を示すブロック図である。It is a block diagram which shows the structure of the control system inside the digital camera of embodiment of this invention. 図1に示した本体CPUの回路図である。FIG. 2 is a circuit diagram of a main body CPU shown in FIG. 前記本体CPUの各種の動作モードを示す状態遷移図である。It is a state transition diagram showing various operation modes of the main body CPU. 前記実施形態における管理情報を説明する図である。It is a figure explaining the management information in the said embodiment. 前記実施形態のSDRAMとフラッシュROM上のデータ構成とデータの流れ示す図である。It is a figure which shows the data structure and data flow on SDRAM and flash ROM of the said embodiment. 従来技術において、電源投入時(バッテリが取り付けられた)に交換ユニットの新規登録を行う場合のタイミングチャートである。FIG. 6 is a timing chart in the case of newly registering a replacement unit when power is turned on (with a battery attached) in the prior art. 前記実施形態における外部ユニット交換時の制御プログラムの制御フローである。It is a control flow of the control program at the time of the external unit replacement | exchange in the said embodiment. 従来技術において、電源投入時(バッテリが取り付けられた)に交換ユニットの新規登録を行わない(既に登録済である)場合のタイミングチャートである。FIG. 6 is a timing chart in a case where new registration of a replacement unit is not performed (already registered) when power is turned on (a battery is attached) in the related art. 前記本実施形態における、電源投入時(バッテリが取り付けられた)で交換ユニットの新規登録を行う場合のタイミングチャートである。It is a timing chart in the case of performing new registration of an exchange unit at the time of power-on (with a battery attached) in the present embodiment. 前記実施形態におけるカメラ本体の状態遷移図である。It is a state transition diagram of the camera body in the embodiment.

符号の説明Explanation of symbols

30…バッテリ
39…デジタルカメラ本体
40…本体CPU
41…操作部
54…SDRAM
58…スラッシュROM
70…RTC部
100…交換レンズ
101…交換撮像素子
30 ... Battery 39 ... Digital camera body 40 ... Main body CPU
41 ... operation unit 54 ... SDRAM
58 ... Slash ROM
70 ... RTC unit 100 ... Interchangeable lens 101 ... Interchangeable imaging device

Claims (7)

交換可能なユニット部材を、着脱可能な情報処理装置において、
前記ユニット部材に関する管理情報を記憶する記憶手段と、
前記ユニット部材が当該情報処理装置に装着されたことを検知する検知手段と、
前記ユニット部材が当該情報処理装置に装着された場合の制御を行う制御手段と、
前記検知手段が、前記ユニット部材が当該情報処理装置に装着されたことを検知した場合に、前記ユニット部材から管理情報を読み出して、前記記憶手段に保存する保存手段と、
を備え、
前記制御手段による前記ユニット部材の制御と前記保存手段による前記記憶手段への保存処理とを、並列に実行することを特徴とする情報処理装置。
In the detachable information processing apparatus, the replaceable unit member
Storage means for storing management information relating to the unit member;
Detecting means for detecting that the unit member is mounted on the information processing apparatus;
Control means for performing control when the unit member is attached to the information processing apparatus;
A storage unit that reads management information from the unit member and stores it in the storage unit when the detection unit detects that the unit member is mounted on the information processing apparatus;
With
An information processing apparatus, wherein the control of the unit member by the control means and the storage processing in the storage means by the storage means are executed in parallel.
請求項1記載の情報処理装置において、
前記制御手段は、前記ユニット部材の初期化処理を行うことを特徴とする情報処理装置。
The information processing apparatus according to claim 1,
The information processing apparatus, wherein the control means performs an initialization process of the unit member.
請求項1または請求項2記載の情報処理装置において、
前記保存手段は、当該情報処理装置の電源スイッチがオンであり、前記検知手段が前記ユニット部材の当該情報処理装置への装着を検知した場合に、前記ユニット部材から管理情報を読み出して、前記記憶手段に保存することを特徴とする情報処理装置。
The information processing apparatus according to claim 1 or 2,
The storage means reads management information from the unit member when the power switch of the information processing apparatus is on and the detection means detects attachment of the unit member to the information processing apparatus, and stores the storage information. An information processing apparatus characterized in that it is stored in a means.
請求項1〜3のいずれか1つに記載の情報処理装置において、
装着された前記ユニット部材の管理情報が、前記記憶手段に記憶されているか否かを判定する判定手段を備え、
前記保存手段は、前記検知手段が、前記ユニット部材の当該情報処理装置への装着を検知し、且つ前記判定手段が、前記装着されたユニット部材の管理情報の前記記憶手段への記憶がされていないと判定した場合に、前記ユニット部材から管理情報を読み出して、前記記憶手段に保存することを特徴とする情報処理装置。
In the information processing apparatus according to any one of claims 1 to 3,
A determination unit that determines whether management information of the mounted unit member is stored in the storage unit;
In the storage means, the detection means detects attachment of the unit member to the information processing apparatus, and the determination means stores management information of the attached unit member in the storage means. If it is determined that there is no information, the management information is read from the unit member and stored in the storage means.
請求項1〜4のいずれか1つに記載の情報処理装置において、
前記交換可能なユニット部材は、撮像素子を備えた撮像手段、撮影光学系、アクセサリのうち少なくともいずれか1つを含むことを特徴とする情報処理装置。
In the information processing apparatus according to any one of claims 1 to 4,
The information processing apparatus according to claim 1, wherein the replaceable unit member includes at least one of an imaging unit including an imaging element, a photographing optical system, and an accessory.
請求項1〜5のいずれか1つに記載の情報処理装置において、
前記管理情報は、前記ユニット部材を特定可能な識別データと前記ユニット部材の構成および状態を特定可能な固有データで構成したことを特徴とする情報処理装置。
In the information processing apparatus according to any one of claims 1 to 5,
The information processing apparatus, wherein the management information includes identification data that can specify the unit member and unique data that can specify the configuration and state of the unit member.
交換可能なユニット部材を、着脱可能な情報処理装置の制御方法において、
前記ユニット部材に関する管理情報を記憶するステップと、
前記ユニット部材が当該情報処理装置に装着されたことを検知するステップと、
前記ユニット部材が当該情報処理装置に装着された場合の制御を行うステップと、
前記ユニット部材が当該情報処理装置に装着されたことを検知した場合に、前記ユニット部材から管理情報を読み出して保存するステップとを備え、
前記ユニット部材の制御のステップと前記管理情報の保存処理のステップとを、並列に実行することを特徴とする情報処理装置の制御方法。
In the control method of the detachable information processing apparatus for the replaceable unit member,
Storing management information relating to the unit member;
Detecting that the unit member is attached to the information processing apparatus;
Performing control when the unit member is attached to the information processing apparatus;
When it is detected that the unit member is mounted on the information processing apparatus, the management information is read from the unit member and stored.
A control method for an information processing apparatus, wherein the step of controlling the unit member and the step of storing the management information are executed in parallel.
JP2008174214A 2008-07-03 2008-07-03 Information processing device, and control method of information processing device Pending JP2010016585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008174214A JP2010016585A (en) 2008-07-03 2008-07-03 Information processing device, and control method of information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008174214A JP2010016585A (en) 2008-07-03 2008-07-03 Information processing device, and control method of information processing device

Publications (1)

Publication Number Publication Date
JP2010016585A true JP2010016585A (en) 2010-01-21

Family

ID=41702278

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008174214A Pending JP2010016585A (en) 2008-07-03 2008-07-03 Information processing device, and control method of information processing device

Country Status (1)

Country Link
JP (1) JP2010016585A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013020019A (en) * 2011-07-08 2013-01-31 Pentax Ricoh Imaging Co Ltd Shutter controller
JP2013250578A (en) * 2013-09-02 2013-12-12 Nikon Corp Interchangeable lens and camera body
US9039309B2 (en) 2011-05-13 2015-05-26 Nikon Corporation Exchangeable lens and camera body
US12028608B2 (en) 2011-05-13 2024-07-02 Nikon Corporation Exchangeable lens and camera body

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9039309B2 (en) 2011-05-13 2015-05-26 Nikon Corporation Exchangeable lens and camera body
US20150229829A1 (en) 2011-05-13 2015-08-13 Nikon Corporation Exchangeable lens and camera body
US9319577B2 (en) 2011-05-13 2016-04-19 Nikon Corporation Exchangeable lens and camera body
US9491347B2 (en) 2011-05-13 2016-11-08 Nikon Corporation Exchangeable lens and camera body
US9774777B2 (en) 2011-05-13 2017-09-26 Nikon Corporation Exchangeable lens and camera body
US10091407B2 (en) 2011-05-13 2018-10-02 Nikon Corporation Exchangeable lens and camera body
US10674065B2 (en) 2011-05-13 2020-06-02 Nikon Corporation Exchangeable lens and camera body
US10979618B2 (en) 2011-05-13 2021-04-13 Nikon Corporation Exchangeable lens and camera body
US11317012B2 (en) 2011-05-13 2022-04-26 Nikon Corporation Exchangeable lens and camera body
US12028608B2 (en) 2011-05-13 2024-07-02 Nikon Corporation Exchangeable lens and camera body
JP2013020019A (en) * 2011-07-08 2013-01-31 Pentax Ricoh Imaging Co Ltd Shutter controller
JP2013250578A (en) * 2013-09-02 2013-12-12 Nikon Corp Interchangeable lens and camera body

Similar Documents

Publication Publication Date Title
JP5276308B2 (en) Imaging apparatus and control method thereof
US7236193B2 (en) Apparatus and method to capture image and other data and recording onto multiple recording medium
US8111315B2 (en) Imaging device and imaging control method that detects and displays composition information
JP2006345296A (en) Image display device and sorting method
JP2006197243A (en) Imaging apparatus and method, program, and storage medium
JP2010193007A (en) Imaging apparatus
JP2008258981A (en) Imaging apparatus, control method thereof, program
JP2010016585A (en) Information processing device, and control method of information processing device
JP3625371B2 (en) Image processing apparatus, control method for image processing apparatus, and storage medium
US8049792B2 (en) Image capture apparatus
JP4948011B2 (en) Imaging apparatus, control method therefor, computer program, and storage medium
JP2007325211A (en) Digital camera
JP4912680B2 (en) Camera system, camera and external flash
JP2005176062A (en) Imaging device and imaging method
JP7098321B2 (en) Optical equipment and control method of optical equipment
JP5129879B2 (en) Imaging apparatus, control method therefor, and program
JP4667251B2 (en) Imaging apparatus and white balance control method
JP4307320B2 (en) Imaging device
JP4298491B2 (en) Imaging device
JP2005057691A (en) Imaging apparatus and method
JP2006203679A (en) Imaging apparatus, imaging apparatus body and imaging unit
JP2002150230A (en) Information apparatus
JP2016208206A (en) Recording apparatus
JP2012119806A (en) Imaging apparatus
JP4408545B2 (en) Imaging device