JP2018163301A - Electronic apparatus, imaging device, and control method, and program - Google Patents

Electronic apparatus, imaging device, and control method, and program Download PDF

Info

Publication number
JP2018163301A
JP2018163301A JP2017061114A JP2017061114A JP2018163301A JP 2018163301 A JP2018163301 A JP 2018163301A JP 2017061114 A JP2017061114 A JP 2017061114A JP 2017061114 A JP2017061114 A JP 2017061114A JP 2018163301 A JP2018163301 A JP 2018163301A
Authority
JP
Japan
Prior art keywords
module
imaging
smart device
control circuit
phase difference
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.)
Granted
Application number
JP2017061114A
Other languages
Japanese (ja)
Other versions
JP6946033B2 (en
Inventor
潤一郎 岩松
Junichiro Iwamatsu
潤一郎 岩松
陽介 深井
Yosuke Fukai
陽介 深井
敏弘 小川
Toshihiro Ogawa
敏弘 小川
日塔 潔
Kiyoshi Nitsuto
潔 日塔
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2017061114A priority Critical patent/JP6946033B2/en
Publication of JP2018163301A publication Critical patent/JP2018163301A/en
Application granted granted Critical
Publication of JP6946033B2 publication Critical patent/JP6946033B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Devices (AREA)
  • Focusing (AREA)
  • Cameras In General (AREA)
  • Stereoscopic And Panoramic Photography (AREA)
  • Structure And Mechanism Of Cameras (AREA)
  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Automatic Focus Adjustment (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an electronic apparatus that realizes a compound eye camera function by using imaging devices (imaging modules) as a plurality of modules, and can suitably switch control in consideration of the distance to a subject and the positional relationship between the respective imaging modules as well, an imaging device, and a control method, and a program.SOLUTION: When realizing a compound eye camera function by using imaging modules 500, 600 attached to a smart device 50, in a case where focus detection can be performed with phase difference AF, and in a case where focus detection can be performed with phase difference AF and the subject distance measured with the phase difference AF is closer to the smart device than a threshold set according to the length of the interval between the imaging modules 500, 600, the smart device switches from the phase difference AF to contrast AF to perform focus detection.SELECTED DRAWING: Figure 11

Description

本発明は、電子機器、撮像装置、及び制御方法、並びにプログラムに関し、特にモジュールとしての撮像装置を着脱可能な電子機器、撮像装置、及び制御方法、並びにプログラムに関する。   The present invention relates to an electronic device, an imaging device, a control method, and a program, and more particularly, to an electronic device, an imaging device, a control method, and a program in which an imaging device as a module can be attached and detached.

機能単位でまとまりを持たせたモジュールをブロックの様に組み合わせることで、所望する様々な機能を実現させたスマートデバイスと呼ばれる電子機器が公知となっている。こうしたスマートデバイスは、複数のスロットが形成された本体と、異なる機能を持った複数のモジュールとで構成されており、これらの多種多様なモジュールは、それぞれ自由な組み合わせで本体のスロットに着脱される。このとき、例えば撮影機能を有するモジュール(撮像モジュール)を本体のスロットに装着すれば、OS上にインストールされたアプリケーションプログラムの動作によって、撮影機能を利用することが可能となる。   2. Description of the Related Art Electronic devices called smart devices that realize various desired functions by combining modules that are grouped in functional units like blocks are known. Such smart devices are composed of a main body in which a plurality of slots are formed and a plurality of modules having different functions, and these various modules can be attached to and detached from the slots of the main body in free combinations. . At this time, for example, if a module having an imaging function (imaging module) is installed in the slot of the main body, the imaging function can be used by the operation of an application program installed on the OS.

こうしたスマートデバイスに対応する撮像モジュール自体もまた多種多様である。本体への着脱手段や通信手段など一定の規格を満足するものであれば、例えば光学レンズの焦点距離や撮像センサのサイズが異なっていても良い。更に、これらの撮像モジュールを設計するメーカーが特定の企業に限定される必要はなく、カメラメーカーや電機メーカーなど複数存在しても構わない。また撮像モジュール内において、どこにどの構成部品を配置するかといった制約が少なく、設計の自由度は高い。そのため、撮像モジュールをそれぞれの仕様やメーカーにとって都合のよい、最適なレイアウトで設計することができる。   There are also a wide variety of imaging modules themselves corresponding to such smart devices. For example, the focal length of the optical lens and the size of the image sensor may be different as long as they satisfy certain standards, such as attachment / detachment means and communication means. Furthermore, the manufacturer that designs these imaging modules does not need to be limited to a specific company, and there may be a plurality of manufacturers such as a camera manufacturer and an electrical manufacturer. Further, there are few restrictions on where to place which component in the imaging module, and the degree of freedom in design is high. Therefore, the imaging module can be designed with an optimal layout that is convenient for each specification and manufacturer.

更に前述のように、モジュールの組み合わせが比較的自由であるため、例えば複数の撮像モジュールをそれぞれ異なるスロットに装着することもできる。この場合、複眼カメラ機能を動作させるアプリケーションプログラムを装着した複数の撮像モジュールに対して実行することにより、所謂、複眼カメラの機能として公知な画像の合成機能や測定機能が利用可能となる。   Furthermore, as described above, since the combination of modules is relatively free, for example, a plurality of imaging modules can be mounted in different slots. In this case, by executing it for a plurality of imaging modules equipped with an application program for operating the compound eye camera function, a so-called image synthesis function or measurement function known as a compound eye camera function can be used.

複眼カメラに期待される画像の合成機能としては、立体視モード、パノラマモード、パンフォーカスモード、ダイナミックレンジ拡大モード、シャローフォーカスモード、マルチズーム(高解像度)モードなどが公知である(例えば特許文献1参照)。これらの機能は、それぞれの撮像モジュールにおける撮影条件を一致もしくは異ならせて同時撮影を行い、得られた複数の画像データから1枚の画像を合成するものである。また他にも、複眼カメラを使った測定機能として測距技術が挙げられる(例えば特許文献2参照)。この機能は、左右2つのカメラで被写体を同時に撮影し、得られたステレオ画像を処理することで、被写体を三次元的に認識したり、被写体までの距離を計測したりするものである。   As an image composition function expected for a compound-eye camera, a stereoscopic mode, a panorama mode, a pan focus mode, a dynamic range expansion mode, a shallow focus mode, a multi-zoom (high resolution) mode, and the like are known (for example, Patent Document 1). reference). These functions are to simultaneously shoot with different or different shooting conditions in each imaging module, and synthesize one image from a plurality of obtained image data. In addition, as a measurement function using a compound eye camera, there is a distance measuring technique (see, for example, Patent Document 2). This function is to photograph a subject at the same time with two cameras on the left and right and process the obtained stereo image to recognize the subject three-dimensionally and measure the distance to the subject.

こうした複眼カメラによる画像の合成機能や測定機能は、少なくとも2つの撮像モジュールの視差情報に基づいて処理されるため、お互いの撮像モジュールにおける光軸間の距離、つまり基線長を得ることが重要となる。   Since the image synthesis function and the measurement function of such a compound eye camera are processed based on the parallax information of at least two imaging modules, it is important to obtain the distance between the optical axes in each imaging module, that is, the baseline length. .

なお、被写体の測距方式として、コントラストAF制御や、位相差AF制御と呼ばれる技術が公知となっている。ここで、コントラストAF制御とは、撮像素子から出力された被写体像の信号のコントラストレベルがピークに向かう方向に、カメラ内部の焦点調節レンズを駆動させる制御方法である。一方、位相差AF制御とは、複眼カメラで出力した画像データから合焦に必要な焦点調節レンズの駆動方向や駆動量などの視差情報を取得する制御方法である。コントラストAF制御は、位相差AF制御のように合焦に必要な焦点調節レンズの駆動方向、駆動量を直接検知することはできない。このため、合焦動作に時間がかかってしまう反面、撮像素子からの出力信号に基づいて合焦判定を行っているので、高精度に焦点検出を行うことが出来るという特長を持つ。   As a subject distance measurement method, a technique called contrast AF control or phase difference AF control is known. Here, the contrast AF control is a control method for driving the focus adjustment lens in the camera in a direction in which the contrast level of the signal of the subject image output from the image sensor is directed toward the peak. On the other hand, the phase difference AF control is a control method for acquiring parallax information such as a driving direction and a driving amount of a focus adjustment lens necessary for focusing from image data output by a compound eye camera. Contrast AF control cannot directly detect the driving direction and driving amount of the focus adjustment lens necessary for focusing, unlike phase difference AF control. For this reason, the focusing operation takes time, but since the focus determination is performed based on the output signal from the image sensor, the focus detection can be performed with high accuracy.

更に、複眼カメラを用いた位相差AF制御は、一般的に、基線長が長いと測距精度は高いが至近側の測距が苦手である。一方、基線長が短いと測距精度は低いが至近側の測距にも強いという性質を持つ。   Furthermore, phase difference AF control using a compound-eye camera generally has a high ranging accuracy when the baseline length is long, but is not good at ranging on the near side. On the other hand, if the base line length is short, the distance measurement accuracy is low, but it is strong against distance measurement on the near side.

例えば、特許文献1では、複数の撮像ユニットを複数個同時に位置及び向きを調節してカメラ本体に対して接続することが可能な構成となっているため、撮像する被写体までの距離に応じて適切な基線長を選択して撮像することができる。   For example, in Patent Document 1, since a plurality of imaging units can be connected to the camera body by simultaneously adjusting the position and orientation of the plurality of imaging units, it is appropriate depending on the distance to the subject to be imaged. An appropriate baseline length can be selected and imaged.

また、特許文献2では、複眼カメラによる3次元画像を撮影可能な携帯端末において、撮影モードが2次元の撮影モードである場合と、3次元の撮影モードである場合を判断してディスプレイへの表示モードを変更する。これにより、3次元の撮影モード時に、2つのカメラのうちのいずれかが指等によって遮られている事を容易に知ることができるため、3次元画像の失敗が防止され得る。   Further, in Patent Document 2, in a portable terminal capable of photographing a three-dimensional image with a compound eye camera, the case where the photographing mode is the two-dimensional photographing mode and the case where the photographing mode is the three-dimensional photographing mode are determined and displayed on the display. Change the mode. This makes it possible to easily know that one of the two cameras is blocked by a finger or the like in the three-dimensional shooting mode, so that the failure of the three-dimensional image can be prevented.

特許第4448844号公報Japanese Patent No. 4448844 特開2012−239139号公報JP 2012-239139 A

ところで、特許文献1の構成は、複数の撮像ユニットによって得られた複数枚の画像データから、後に画像処理等を施して画像の3次元データを取得する場合や、パノラマモード、パンフォーカスモード等の特殊な画像を合成する場合などに用いられている。しかし、測距制御においては、複数の撮像ユニットによって得られた複数枚の画像データから視差情報を取得する位相差AF制御を用いておらず、AF検出回路によって焦点調節が撮像に適切か否かを検出するコントラストAF制御を採用している。このため、合焦動作においてはより時間を要してしまう。   By the way, the configuration of Patent Literature 1 is used when acquiring three-dimensional data of an image by performing image processing or the like later from a plurality of image data obtained by a plurality of imaging units, or in a panorama mode, a pan focus mode, or the like. This is used when combining special images. However, distance measurement control does not use phase difference AF control that obtains parallax information from a plurality of pieces of image data obtained by a plurality of imaging units, and whether or not focus adjustment is appropriate for imaging by an AF detection circuit. Contrast AF control is used to detect. For this reason, it takes more time in the focusing operation.

また特許文献2に記載された制御は、2次元画像の撮影モード、3次元画像の撮影モードによってディスプレイへの表示方法を変更する。これにより、指等の障害物によって遮られていることを容易に知ることが出来るが、2つのカメラから得られる撮影画像から視差情報を取得して位相差AF制御にて用いておらず、合焦動作においては時間がかかってしまう。もし仮に、2つのカメラを複眼カメラとして用いて位相差AF制御を行った場合も、2つのカメラが近接しているため、被写体と携帯端末の距離によっては測距精度が悪い恐れがある。   The control described in Patent Document 2 changes the display method on the display according to the two-dimensional image photographing mode and the three-dimensional image photographing mode. This makes it easy to know that the object is blocked by an obstacle such as a finger, but the parallax information is acquired from the captured images obtained from the two cameras and is not used in the phase difference AF control. It takes time in the focal movement. If phase difference AF control is performed using two cameras as compound-eye cameras, the two cameras are close to each other, so that the distance measurement accuracy may be poor depending on the distance between the subject and the portable terminal.

このような課題を鑑みて本発明は、複数の撮像モジュールを用いて複眼カメラの機能を実現する電子機器において、被写体までの距離だけでなく、それぞれの撮像モジュール同士の位置関係も考慮して、好適に制御を切り替えることができることを目的とする。   In view of such problems, the present invention, in an electronic device that realizes the function of a compound eye camera using a plurality of imaging modules, considers not only the distance to the subject but also the positional relationship between the imaging modules, It is an object to suitably switch control.

本発明の請求項1に係る電子機器は、第1及び第2の撮像モジュールを複数の取り付け領域のいずれかにそれぞれ装着する電子機器において、複眼モードで撮影を行う第1の撮影手段と、前記第1及び第2の撮像モジュールのいずれか一方により、コントラストAFによる焦点検出を行うコントラストAF制御手段と、前記第1及び第2の撮像モジュールの視差情報から被写体距離を測距し、焦点検出を行う位相差AF制御手段と、前記複眼モードにおいて、前記位相差AF制御手段により焦点検出されない場合、及び前記位相差AF制御手段により焦点検出された場合であって、前記測距された被写体距離が閾値で示す距離より近い場合は、前記位相差AF制御手段から前記コントラストAF制御手段に切り替えて焦点検出を行う切替手段とを備え、前記閾値は、前記装着された第1及び第2の撮像モジュールの間隔の大きさに応じて設定される値であることを特徴とする。   The electronic apparatus according to claim 1 of the present invention is an electronic apparatus in which the first and second imaging modules are respectively mounted in any of a plurality of attachment regions, and the first imaging unit that performs imaging in a compound eye mode; Contrast AF control means for performing focus detection by contrast AF by one of the first and second imaging modules, and subject distance measurement from the parallax information of the first and second imaging modules, and focus detection are performed. The phase difference AF control means to be performed, and in the compound eye mode, when the focus is not detected by the phase difference AF control means and when the focus is detected by the phase difference AF control means, the measured subject distance is Switching means for performing focus detection by switching from the phase difference AF control means to the contrast AF control means when closer than the distance indicated by the threshold Wherein the threshold is characterized in that the a value which is set according to the size of the mounted first and spacing of the second imaging module.

本発明によれば、複数のモジュールとしての撮像装置(撮像モジュール)を用いることで複眼カメラの機能を実現する電子機器において、被写体までの距離だけでなく、それぞれの撮像モジュール同士の位置関係も考慮して、好適に制御を切り替えることができる。   According to the present invention, in an electronic apparatus that realizes the function of a compound eye camera by using an imaging device (imaging module) as a plurality of modules, not only the distance to the subject but also the positional relationship between the imaging modules is considered. Thus, the control can be suitably switched.

実施例1に係る電子機器としてのスマートデバイスの外観図である。1 is an external view of a smart device as an electronic apparatus according to a first embodiment. スマートデバイスの本体に取り付けられるモジュールの外観図である。It is an external view of the module attached to the main body of a smart device. スマートデバイスの本体にモジュールを取り付ける方法を示す説明図である。It is explanatory drawing which shows the method of attaching a module to the main body of a smart device. スマートデバイスの本体に設けられたEPMとモジュールに設けられた磁性体との磁力による結合を示す説明図である。It is explanatory drawing which shows the coupling | bonding by the magnetic force of EPM provided in the main body of the smart device, and the magnetic body provided in the module. 複数のモジュール及びこれらが装着されたスマートデバイスの本体のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the main body of the smart device with which several modules and these were mounted | worn. アプリケーションプログラム制御モジュールにより実行される、複数のモジュールが装着されたスマートデバイスの動作制御処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the operation control process of the smart device with which the several module with which the application program control module was mounted | worn. 図6のステップS1107のリリース処理の詳細な手順を示すフローチャートである。It is a flowchart which shows the detailed procedure of the release process of step S1107 of FIG. 図6のステップS1109の装着処理の詳細な手順を示すフローチャートである。It is a flowchart which shows the detailed procedure of the mounting process of step S1109 of FIG. 図6のステップS1111のアプリケーションプログラム実行処理の一例である撮影アプリケーションプログラム実行処理の詳細な手順を示すフローチャートである。It is a flowchart which shows the detailed procedure of the imaging | photography application program execution process which is an example of the application program execution process of FIG.6 S1111. 図9のステップS1405の撮影実行処理の手順を示すフローチャートである。FIG. 10 is a flowchart illustrating a procedure of photographing execution processing in step S1405 of FIG. 図10のステップS1508で行われるAF切り替え処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the AF switching process performed by step S1508 of FIG. 図10のステップS1505において実行される実施例1に係る基線長の算出方法を示した説明図である。It is explanatory drawing which showed the calculation method of the base line length which concerns on Example 1 performed in step S1505 of FIG. 図10のステップS1505において実行される実施例2に係る基線長の算出方法を示した説明図である。It is explanatory drawing which showed the calculation method of the base line length which concerns on Example 2 performed in step S1505 of FIG. 実施例3にかかる複眼撮影の実行時における表示部のライブビュー画像の表示方法を示す説明図である。FIG. 10 is an explanatory diagram illustrating a method for displaying a live view image on a display unit at the time of execution of compound eye photography according to Example 3;

以下に、本発明の好ましい実施の形態を、添付の図面に基づいて詳細に説明する。   Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

(実施例1)
図1は、本実施例に係る電子機器のとしてのスマートデバイス50の外観図である。
Example 1
FIG. 1 is an external view of a smart device 50 as an electronic apparatus according to the present embodiment.

図1(a)は、スマートデバイス50の本体を正面側から見た外観図と、背面側から見た外観図である。   FIG. 1A is an external view of the main body of the smart device 50 viewed from the front side and an external view viewed from the back side.

図1(a)に示すように、スマートデバイス50の本体の正面側には、複数のリブ101a〜cが形成されている。また、スマートデバイス50の本体の背面側には、複数のリブ101a,c〜hが形成されると共に、スマートデバイス50の本体を左右の領域に分割するスパイン102が形成されている。リブ101a〜hとスパイン102(ガイド部)とは、モジュールを取り付ける際のガイド機能と装着後のモジュールを保持する保持機能とを兼ね備えていると共に、スマートデバイス50の本体の剛性を高める機能も有している。以下、リブ101a〜hとスパイン102とを合わせてフレーム構造と称する。スマートデバイス50の本体の正面側と背面側とは、リブ101a〜hとスパイン102とによって、複数のモジュールの取り付け領域に分割されている。以下、これらの複数のモジュールの取り付け領域を、スロット1000,1100,1200,1300,1400,1500,1600,1700,1800,1900と称する。   As illustrated in FIG. 1A, a plurality of ribs 101 a to 101 c are formed on the front side of the main body of the smart device 50. A plurality of ribs 101a, c to h are formed on the back side of the main body of the smart device 50, and a spine 102 that divides the main body of the smart device 50 into left and right regions is formed. The ribs 101a to 101h and the spine 102 (guide portion) have both a guide function for attaching the module and a holding function for holding the module after the mounting, and a function of increasing the rigidity of the main body of the smart device 50. doing. Hereinafter, the ribs 101a to 101h and the spine 102 are collectively referred to as a frame structure. The front side and the back side of the main body of the smart device 50 are divided into attachment regions for a plurality of modules by ribs 101 a to h and a spine 102. Hereinafter, the mounting areas of these modules are referred to as slots 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800, 1900.

各スロット1000〜1900には、電磁着脱機構を司るエレクトロパーマネントマグネット(EPM)160〜169が設けられている。尚、EPM160〜169については、詳しくは後述する。各EPM160〜169近傍には、これらと対となる、スマートデバイス50の本体と各モジュールとがデータの送受信をするための本体側非接触通信手段(以下、本体側CMCと称する)140〜149が備えられている。つまり、各スロット1000〜1900には、EPM160〜169と本体側CMC140〜149とが、それぞれ少なくとも一対設けられていることになる。尚、図1(a)に示すように、EPM160〜169と本体側CMC140〜149とは、各スロット1000〜1900の大きさに応じて複数設けられても良い。   In each of the slots 1000 to 1900, electro permanent magnets (EPM) 160 to 169 that control an electromagnetic attaching / detaching mechanism are provided. The EPMs 160 to 169 will be described later in detail. In the vicinity of each EPM 160 to 169, there is a main body side non-contact communication means (hereinafter referred to as a main body side CMC) 140 to 149 for transmitting / receiving data between the main body of the smart device 50 and each module. Is provided. That is, at least a pair of EPMs 160 to 169 and main body side CMCs 140 to 149 are provided in the slots 1000 to 1900, respectively. As shown in FIG. 1A, a plurality of EPMs 160 to 169 and main body side CMCs 140 to 149 may be provided according to the sizes of the slots 1000 to 1900.

スマートデバイス50の本体の正面側には、紙面向かって左側の端部付近にEPM160,163が配置されており、そのEPM160,163の右側に本体側CMC140,143が配置されている。スマートデバイス50の本体の背面側には、スパイン102に隣接するようにEPM161,162a,162b,164a,164b,165a,165b,166〜169が配置されている。紙面に向かってスパイン102の左側の領域には、EPM165a,165b,167a,167b,168,169が設けられ、更にその左側に本体側CMC145a,145b,147a,147b,148,149が配置されている。またスパイン102の右側の領域には、EPM161,162a,162b,164a,164b,166が設けられ、更にその右側に本体側CMC141、142a,142b,144a,144b,146が配置されている。   On the front side of the main body of the smart device 50, EPMs 160 and 163 are arranged near the left end of the paper surface, and main body side CMCs 140 and 143 are arranged on the right side of the EPMs 160 and 163. EPM 161, 162 a, 162 b, 164 a, 164 b, 165 a, 165 b, 166 to 169 are arranged on the back side of the main body of the smart device 50 so as to be adjacent to the spine 102. EPMs 165a, 165b, 167a, 167b, 168, and 169 are provided in the left region of the spine 102 toward the paper surface, and the main body side CMCs 145a, 145b, 147a, 147b, 148, and 149 are arranged on the left side thereof. . Further, EPMs 161, 162a, 162b, 164a, 164b, and 166 are provided in the right region of the spine 102, and further, main body side CMCs 141, 142a, 142b, 144a, 144b, and 146 are arranged on the right side thereof.

図1(b)は、スマートデバイス50の本体にモジュールを取り付けた状態を正面側から見た外観図と、背面側から見た外観図である。   FIG. 1B is an external view of the module attached to the main body of the smart device 50 as viewed from the front side and an external view from the back side.

図1(b)に示すように、スマートデバイス50の本体の正面側及び背面側には、各機能を備えたモジュール150,200,300,350,400,500,600,700,800,900が取り付けられる。スマートデバイス50の本体の正面側の下部のスロット1300には、略全面にタッチ検知機能を有したLCDパネル312から成るモジュール(以下、表示操作モジュールと称する)300が装着されている。表示操作モジュール300の右側面には、スマートデバイス50の電源のONとOFFとを切り替える電源ボタン314aが形成されており、同じく表示操作モジュール300の左側面には、音量を調節する音量調節ボタン314bが形成されている。更に表示操作モジュール300には、スマートデバイス50が移動体無線通信機器として機能する際に、通話者の音声を検出するマイク318が設けられている。マイク318は、スマートデバイス50がビデオカメラとして機能する際に、動画の音声を収集する役割も担う。また、スマートデバイス50の本体の正面側の上部のスロット1000には、スピーカモジュール350が取り付けられている。スピーカモジュール350には、スマートデバイス50が移動体無線通信機器として機能する際に、受信した音声を出力するスピーカ部351が設けられている。このスピーカ部351は、その他に音楽や操作音を出力する。   As shown in FIG. 1B, modules 150, 200, 300, 350, 400, 500, 600, 700, 800, 900 having various functions are provided on the front side and the back side of the main body of the smart device 50. It is attached. In a lower slot 1300 on the front side of the main body of the smart device 50, a module (hereinafter referred to as a display operation module) 300 composed of an LCD panel 312 having a touch detection function is mounted on substantially the entire surface. On the right side of the display operation module 300, a power button 314a for switching the power of the smart device 50 on and off is formed. Similarly, on the left side of the display operation module 300, a volume adjustment button 314b for adjusting the volume. Is formed. Further, the display operation module 300 is provided with a microphone 318 that detects the voice of the caller when the smart device 50 functions as a mobile wireless communication device. The microphone 318 also plays a role of collecting audio of moving images when the smart device 50 functions as a video camera. A speaker module 350 is attached to the upper slot 1000 on the front side of the main body of the smart device 50. The speaker module 350 is provided with a speaker unit 351 that outputs received sound when the smart device 50 functions as a mobile wireless communication device. In addition, the speaker unit 351 outputs music and operation sounds.

一方、スマートデバイス50の本体の背面側には、スパイン102の左側の上部のスロット1500に、各種撮影機能を有する撮像モジュール500が、またスパイン102の右側の上部のスロット1600に、撮像モジュール600が装着されている。撮像モジュール500,600が装着されるスロットが略同一平面であり、これらのスロットに装着した場合に撮像モジュール500,600の光軸が略平行である場合、後述する複眼モードがユーザ選択可能なモードに設定される。これによって、撮像モジュール500,600はそれぞれの撮影範囲に同一の被写体をフレーミングすることが可能となり、後述する視差を用いて被写体距離を測定したり略同時に撮影したりする構成となるからである。また前述した通り、撮像モジュール500,600は、スマートデバイス50の本体への着脱手段と通信手段とが一定の規格を満足するように共通化されてはいるものの、それぞれのモジュールにおいては構成部品の配置が異なっている。   On the other hand, on the back side of the main body of the smart device 50, an imaging module 500 having various imaging functions is provided in the upper slot 1500 on the left side of the spine 102, and an imaging module 600 is provided in the upper slot 1600 on the right side of the spine 102. It is installed. If the slots in which the imaging modules 500 and 600 are mounted are substantially on the same plane and the optical axes of the imaging modules 500 and 600 are substantially parallel when mounted in these slots, a compound eye mode to be described later can be selected by the user. Set to This is because the imaging modules 500 and 600 are capable of framing the same subject within the respective shooting ranges, and are configured to measure the subject distance using parallax, which will be described later, or to shoot substantially simultaneously. In addition, as described above, the imaging modules 500 and 600 are shared so that the attachment / detachment means and the communication means of the smart device 50 satisfy a certain standard. The arrangement is different.

スパイン102の左側の上部のスロット1500に対して、その下部に形成されたスロット1700には、外部と無線でデータの送受信を行う無線LANモジュール700が装着されている。更にその下部のスロット1800には、スマートデバイス50の姿勢を検知する姿勢検知モジュール800が取り付けられている。姿勢検知モジュール800は、3軸のジャイロセンサから取得する角速度情報を利用することで、スマートデバイス50の姿勢を検知する。スパイン102の左側の下部のスロット1900には、TDMA、CDMA、LTE等の単数或いは複数の各種遠距離通信機能を有する移動体通信モジュール900が装着されている。スパイン102の右側の上部のスロット1600に対して、その下部に形成されたスロット1200には、スマートデバイス50全体の制御を行うアプリケーションプログラム制御モジュール200が装着されている。   A slot 1700 formed in the lower portion of the upper slot 1500 on the left side of the spine 102 is mounted with a wireless LAN module 700 that transmits and receives data to and from the outside wirelessly. Further, a posture detection module 800 for detecting the posture of the smart device 50 is attached to the slot 1800 at the lower portion. The attitude detection module 800 detects the attitude of the smart device 50 by using angular velocity information acquired from a three-axis gyro sensor. A slot 1900 on the lower left side of the spine 102 is equipped with a mobile communication module 900 having a variety of long-distance communication functions such as TDMA, CDMA, LTE and the like. An application program control module 200 that controls the entire smart device 50 is installed in a slot 1200 formed in the lower portion of the upper slot 1600 on the right side of the spine 102.

ユーザがスマートデバイス50において利用を所望する機能を動作させるには、装着中の所定のモジュール専用のアプリケーションプログラムをアプリケーションプログラム制御モジュール200にインストールする必要がある。これにより、アプリケーションプログラム制御モジュール200を介することでスマートデバイス50においてその所望する機能を利用できる。例えば、移動体通信モジュール900専用の通話アプリケーションがインストールされている場合、アプリケーションプログラム制御モジュール200を介して移動体通信モジュール900を動作させて通話機能が利用可能となる。また、無線LANモジュール700専用のインターネット接続アプリケーションがインストールされている場合がある。この場合、アプリケーションプログラム制御モジュール200を介して無線LANモジュール700を動作させてインターネット接続によるウェブ閲覧機能が利用可能となる。また例えば、撮像モジュール500,600専用の撮影アプリケーションがインストールされている場合、アプリケーションプログラム制御モジュール200を介して撮像モジュール500,600を動作させて複眼カメラの機能を利用することができる。ここで、複眼カメラの機能とは画像の合成機能や測定機能を指す。   In order for a user to operate a function desired to be used in the smart device 50, it is necessary to install an application program dedicated to a predetermined module being installed in the application program control module 200. Thus, the desired function can be used in the smart device 50 via the application program control module 200. For example, when a call application dedicated to the mobile communication module 900 is installed, the call function can be used by operating the mobile communication module 900 via the application program control module 200. In addition, an internet connection application dedicated to the wireless LAN module 700 may be installed. In this case, the wireless LAN module 700 is operated via the application program control module 200, and the web browsing function by Internet connection can be used. Further, for example, when a photographing application dedicated to the imaging modules 500 and 600 is installed, the imaging module 500 and 600 can be operated via the application program control module 200 to use the function of the compound eye camera. Here, the function of the compound eye camera refers to an image composition function and a measurement function.

複眼カメラに期待される画像の合成機能としては、前述の特許文献1に記載された立体視モード、パノラマモード、パンフォーカスモード、ダイナミックレンジ拡大モード、シャローフォーカスモード、マルチズーム(高解像度)モードが含まれる。そして専用の撮影アプリケーションは、撮像モジュール500,600のそれぞれで任意に設定可能である。これらの合成機能は、撮像モジュール500,600の夫々の撮影条件を一致もしくは異ならせて同時撮影を行い、得られた2枚の画像データから1枚の画像を合成するものである。   As an image synthesis function expected for a compound-eye camera, the stereoscopic mode, panorama mode, pan focus mode, dynamic range expansion mode, shallow focus mode, and multi-zoom (high resolution) mode described in Patent Document 1 described above are available. included. The dedicated imaging application can be arbitrarily set in each of the imaging modules 500 and 600. These combining functions perform simultaneous shooting by matching or changing the shooting conditions of the imaging modules 500 and 600, and combine one image from the obtained two image data.

また上述の撮影アプリケーションでは、測定機能として、前述の特許文献2に記載された測距技術が適用される。この機能は、撮像モジュール500,600により被写体を同時に撮影し、得られたステレオ画像を処理することで、被写体を三次元的に認識したり、被写体までの距離を計測したりするものである。尚、本発明はこうした複眼カメラの機能を限定するものではなく、またこれらは既に先行技術文献等により公知であるため、詳細な個別の説明は省略する。   In the above-described photographing application, the distance measuring technique described in Patent Document 2 is applied as a measurement function. This function is to capture a subject at the same time by the imaging modules 500 and 600 and process the obtained stereo image, thereby recognizing the subject in three dimensions and measuring the distance to the subject. The present invention does not limit the functions of such a compound-eye camera, and since these are already known from prior art documents and the like, detailed individual descriptions are omitted.

スロット1200の下部のスロット1400には、スマートデバイス50に電力を供給する電源モジュール400が装着されている。更にスパイン102の右側の下部のスロット1100には、撮影した画像データなどの各種データを保存する記録モジュール150が取り付けられている。   A power supply module 400 that supplies power to the smart device 50 is mounted in a slot 1400 below the slot 1200. Further, a recording module 150 for storing various data such as photographed image data is attached to the lower slot 1100 on the right side of the spine 102.

図2は、スマートデバイス50の本体に取り付けられるモジュール150,200,300,350,400,500,600,700,800,900の外観図である。図2(a)は、スマートデバイス50の本体の正面側に取り付けられる表示操作モジュール300及びスピーカモジュール350を正面側から見た外観図と背面側から見た外観図である。図2(b)は、スマートデバイス50の本体の背面側に取り付けられる各モジュールを正面側から見た外観図と背面側から見た外観図である。前述のとおり、スマートデバイス50の本体の背面側には、図1(b)に示すように、スパイン102の左側に、撮像モジュール500、無線LANモジュール700、姿勢検知モジュール800、及び移動体通信モジュール900が取り付けられている。また、スパイン102の右側に、撮像モジュール600、アプリケーションプログラム制御モジュール200、電源モジュール400、及び記録モジュール150が取り付けられている。   FIG. 2 is an external view of the modules 150, 200, 300, 350, 400, 500, 600, 700, 800, 900 attached to the main body of the smart device 50. FIG. 2A is an external view of the display operation module 300 and the speaker module 350 attached to the front side of the main body of the smart device 50 as viewed from the front side and an external view as viewed from the back side. FIG. 2B is an external view of each module attached to the back side of the main body of the smart device 50 as viewed from the front side and an external view from the back side. As described above, on the back side of the main body of the smart device 50, as shown in FIG. 1B, on the left side of the spine 102, the imaging module 500, the wireless LAN module 700, the attitude detection module 800, and the mobile communication module 900 is attached. An imaging module 600, an application program control module 200, a power supply module 400, and a recording module 150 are attached to the right side of the spine 102.

図2(a)に示すように、表示操作モジュール300及びスピーカモジュール350の背面には、スマートデバイス50の本体に設けられたEPM163,160と対向する位置に、磁性体360,356が設けられている。ここで用いられる磁性体360,356の材質としては、保磁力が小さく透磁率が大きい軟磁性体が好ましく、本実施例では鉄・コバルト・バナジウムの軟磁性合金であるHIPERCOTM50が採用されている。以下説明する各磁性体においても同様の材質が採用される。   As shown in FIG. 2A, magnetic bodies 360 and 356 are provided on the back surfaces of the display operation module 300 and the speaker module 350 at positions facing the EPMs 163 and 160 provided on the main body of the smart device 50. Yes. The material of the magnetic bodies 360 and 356 used here is preferably a soft magnetic body having a small coercive force and a large magnetic permeability. In this embodiment, HIPERCOTM 50, which is a soft magnetic alloy of iron, cobalt, and vanadium, is employed. The same material is also used for each magnetic material described below.

更に、スマートデバイス50の本体に設けられた本体側CMC143,140と対向する位置には、スマートデバイス50の本体とデータの送受信を行うモジュール側非接触通信手段(以下、モジュール側CMCと称する)340,354が設けられている。磁性体360,356とモジュール側CMC340,354とは、それぞれ隣接して表示操作モジュール300及びスピーカモジュール350に一対ずつ設けられている。   Further, a module-side non-contact communication means (hereinafter referred to as module-side CMC) 340 that transmits and receives data to and from the main body of the smart device 50 is located at a position facing the main body-side CMC 143 and 140 provided in the main body of the smart device 50. , 354 are provided. A pair of the magnetic bodies 360 and 356 and the module side CMCs 340 and 354 are provided adjacent to the display operation module 300 and the speaker module 350, respectively.

一方、図2(b)に示すように、撮像モジュール500の背面には、スマートデバイス50の本体に設けられたEPM165a,165bと対向する位置に、磁性体560a,560bが設けられている。また、撮像モジュール600の背面には、スマートデバイス50の本体に設けられたEPM166と対向する位置に、磁性体660aが設けられている。尚、撮像モジュール600の背面には磁性体660bも設けられているが、スマートデバイス50の本体にはこれと対向する磁性体が存在しない。このため、撮像モジュール600では磁性体660bは用いず、磁性体660aがEPM166と磁力で結合することによりスマートデバイス50の本体に装着される。   On the other hand, as shown in FIG. 2B, magnetic bodies 560 a and 560 b are provided on the back surface of the imaging module 500 at positions facing the EPMs 165 a and 165 b provided on the main body of the smart device 50. In addition, a magnetic body 660 a is provided on the back surface of the imaging module 600 at a position facing the EPM 166 provided in the main body of the smart device 50. In addition, although the magnetic body 660b is also provided in the back surface of the imaging module 600, the magnetic body which opposes this does not exist in the main body of the smart device 50. Therefore, in the imaging module 600, the magnetic body 660b is not used, and the magnetic body 660a is attached to the main body of the smart device 50 by being coupled to the EPM 166 by magnetic force.

同様に、無線LANモジュール700の背面には、スマートデバイス50の本体に設けられたEPM167a,167bと対向する位置に、磁性体760a,760bが設けられている。また、姿勢検知モジュール800及び移動体通信モジュール900の背面には、スマートデバイス50の本体に設けられたEPM168,169と対向する位置に、磁性体860,960が設けられている。   Similarly, on the back surface of the wireless LAN module 700, magnetic bodies 760a and 760b are provided at positions facing the EPMs 167a and 167b provided on the main body of the smart device 50. Magnetic bodies 860 and 960 are provided on the back surfaces of the posture detection module 800 and the mobile communication module 900 at positions facing the EPMs 168 and 169 provided on the main body of the smart device 50.

更に、アプリケーションプログラム制御モジュール200の背面には、スマートデバイス50の本体に設けられたEPM162a,162bと対向する位置に、磁性体260a,260bが設けられている。また、電源モジュール400、及び記録モジュール150の背面には、スマートデバイス50の本体に設けられたEPM,164a,164b,161と対向する位置に、磁性体,460a,460b,156aが設けられている。尚、記録モジュール150の背面には磁性体156bも設けられているが、スマートデバイス50の本体にはこれと対向する磁性体が存在しない。このため、記録モジュール150では磁性体156bは用いず、磁性体156aがEPM161と磁力で結合することによりスマートデバイス50の本体に装着される。   Further, magnetic bodies 260 a and 260 b are provided on the back surface of the application program control module 200 at positions facing the EPMs 162 a and 162 b provided in the main body of the smart device 50. In addition, magnetic bodies 460a, 460b, and 156a are provided on the back surfaces of the power supply module 400 and the recording module 150 at positions facing the EPMs 164a, 164b, and 161 provided on the main body of the smart device 50. . Although the magnetic body 156b is also provided on the back surface of the recording module 150, the main body of the smart device 50 does not have a magnetic body facing it. Therefore, in the recording module 150, the magnetic body 156b is not used, and the magnetic body 156a is attached to the main body of the smart device 50 by being coupled to the EPM 161 by magnetic force.

本体側CMC145b,146,147b,148,149,142a,142b,144a,144b,141と対向する位置にモジュール側CMC540,640,740,840,940,240a,240b,440a,440b,154が設けられる。これらのモジュール側CMCにより、各モジュールはスマートデバイス50の本体とデータの送受信を行う。磁性体560b,660a,760b,860,960,260a,260b,460a,460b,156aとモジュール側CMC540,640,740,840,940,240a,240b,440a,440b,154はそれぞれ隣接して設けられる。このように、撮像モジュール500,600、無線LANモジュール700、姿勢検知モジュール800、移動体通信モジュール900、記録モジュール150には、それぞれ一対の磁性体及びモジュール側CMCが設けられている。また、アプリケーションプログラム制御モジュール200及び電源モジュール400は、それぞれ二対の磁性体及びモジュール側CMCが設けられている。   Module side CMCs 540, 640, 740, 840, 940, 240a, 240b, 440a, 440b, 154 are provided at positions facing the main body side CMCs 145b, 146, 147b, 148, 149, 142a, 142b, 144a, 144b, 141. . With these module-side CMCs, each module transmits and receives data to and from the main body of the smart device 50. Magnetic bodies 560b, 660a, 760b, 860, 960, 260a, 260b, 460a, 460b, 156a and module side CMC 540, 640, 740, 840, 940, 240a, 240b, 440a, 440b, 154 are provided adjacent to each other. . As described above, the imaging modules 500 and 600, the wireless LAN module 700, the attitude detection module 800, the mobile communication module 900, and the recording module 150 are each provided with a pair of magnetic bodies and a module side CMC. The application program control module 200 and the power supply module 400 are each provided with two pairs of magnetic bodies and module-side CMC.

図3は、スマートデバイス50の本体に、モジュール150,200,300,350,400,500,600,700,800,900を取り付ける方法を示した説明図である。   FIG. 3 is an explanatory view showing a method of attaching the modules 150, 200, 300, 350, 400, 500, 600, 700, 800, 900 to the main body of the smart device 50.

ここで、図3(a)は、スマートデバイス50の本体の正面側に、表示操作モジュール300及びスピーカモジュール350を取り付ける方法を示した説明図である。また、図3(b)は、スマートデバイス50の本体の背面側に、撮像モジュール500、無線LANモジュール700、姿勢検知モジュール800、及び移動体通信モジュール900を取り付ける方法を示した説明図である。また、図3(b)では、スパイン102の右側に、撮像モジュール600、アプリケーションプログラム制御モジュール200、電源モジュール400、及び記録モジュール150を取り付ける方法も併せて示す。   Here, FIG. 3A is an explanatory diagram illustrating a method of attaching the display operation module 300 and the speaker module 350 to the front side of the main body of the smart device 50. FIG. 3B is an explanatory diagram showing a method of attaching the imaging module 500, the wireless LAN module 700, the attitude detection module 800, and the mobile communication module 900 to the back side of the main body of the smart device 50. 3B also shows a method of attaching the imaging module 600, the application program control module 200, the power supply module 400, and the recording module 150 to the right side of the spine 102.

図3(a)に示すように、表示操作モジュール300及びスピーカモジュール350は、スマートデバイス50の本体に対して、リブ101a〜cに沿って側面方向からスライドさせて取り付けられる。このとき、表示操作モジュール300及びスピーカモジュール350は、スマートデバイス50の本体の左側面、或いは右側面のどちら側からでも挿入することができる。   As shown in FIG. 3A, the display operation module 300 and the speaker module 350 are attached to the main body of the smart device 50 by sliding from the side surface along the ribs 101a to 101c. At this time, the display operation module 300 and the speaker module 350 can be inserted from either the left side or the right side of the main body of the smart device 50.

図3(b)に示すように、撮像モジュール500、無線LANモジュール700、姿勢検知モジュール800、移動体通信モジュール900は、スマートデバイス50の本体に対して、左側面からスライドさせて取り付けられる。左側面から各モジュールをスパイン102に突き当てることにより、スマートデバイス50の本体に対してモジュール500,700,800,900の位置が決定する。また、撮像モジュール600、アプリケーションプログラム制御モジュール200、電源モジュール400、記録モジュール150は、スマートデバイス50の本体に対して、右側面からスライドさせて取り付けられる。右側面から各モジュールをスパイン102に突き当てることにより、スマートデバイス50の本体に対してモジュール600,200,400,150の位置が決定する。   As shown in FIG. 3B, the imaging module 500, the wireless LAN module 700, the attitude detection module 800, and the mobile communication module 900 are attached to the main body of the smart device 50 by sliding from the left side. By abutting each module against the spine 102 from the left side surface, the positions of the modules 500, 700, 800, 900 with respect to the main body of the smart device 50 are determined. The imaging module 600, the application program control module 200, the power supply module 400, and the recording module 150 are attached to the smart device 50 by sliding from the right side. By abutting each module against the spine 102 from the right side surface, the positions of the modules 600, 200, 400, 150 with respect to the main body of the smart device 50 are determined.

本実施例において、図3(b)のようにスマートデバイス50の本体の背面側に設けられたスロットは、サイズによって3種類に大別される。まずスロット1500,1600,1700,1100が同じ種類であり、例えば撮像モジュール500はこの4箇所のうち、どのスロットを選択して装着しても構わない。また最も大きいスロット1200,1400が同じ種類であり、例えばアプリケーションプログラム制御モジュール200はこの2箇所のうち、どちらのスロットを選択して装着しても構わない。同様に最も小さいスロット1800,1900が同じ種類であり、例えば姿勢検知モジュール800はこの2箇所のうち、どちらのスロットを選択して装着しても構わない。   In the present embodiment, as shown in FIG. 3B, the slots provided on the back side of the main body of the smart device 50 are roughly classified into three types depending on the size. First, the slots 1500, 1600, 1700, and 1100 are of the same type. For example, the imaging module 500 may select and install any of these four locations. The largest slots 1200 and 1400 are of the same type. For example, the application program control module 200 may select and install either of these two slots. Similarly, the smallest slots 1800 and 1900 are of the same type. For example, the posture detection module 800 may select and install either of these two slots.

図4は、スマートデバイス50の本体に設けられたEPM165bと、撮像モジュール500に設けられた磁性体560bとの磁力による結合を説明する模式図である。   FIG. 4 is a schematic diagram for explaining the coupling by magnetic force between the EPM 165 b provided in the main body of the smart device 50 and the magnetic body 560 b provided in the imaging module 500.

ここで、図4(a)は、スマートデバイス50の本体と撮像モジュール500とが磁力による結合をしていない状態の部分拡大図である。また、図4(b)は、スマートデバイス50の本体と撮像モジュール500とが磁力による結合をしている状態の部分拡大図である。尚、図4は例としてEPM165bと磁性体560bとの組み合わせを示すものであるが、他のEPMと磁性体との組み合わせについても図4と同様である。   Here, FIG. 4A is a partially enlarged view showing a state where the main body of the smart device 50 and the imaging module 500 are not coupled by magnetic force. FIG. 4B is a partially enlarged view showing a state in which the main body of the smart device 50 and the imaging module 500 are coupled by magnetic force. FIG. 4 shows a combination of the EPM 165b and the magnetic body 560b as an example, but other combinations of the EPM and the magnetic body are the same as those in FIG.

図4(a)に示すようにEPM165bは、極性が固定された永久磁石1651と永電磁石1652との両側面を、磁性体1653a,1653bによって連結・保持した構造となっている。ここで用いる永久磁石1651には、例えば磁束密度が非常に高いネオジム磁石などが適している。また永電磁石1652は、アルニコ等の硬磁性体からなる可逆性の永久磁石1654と、可逆性の永久磁石1654の周りに巻かれたコイル1655とから構成されている。コイル1655に電流を流すと、可逆性の永久磁石1654は一方向に着磁され、通電が終了した後もそのまま着磁状態を保持する。コイル1655に対する通電時間は1〜数秒程度であり、比較的短い時間である。こうして永電磁石1652は、コイル1655(極性変更手段)に流す電流の向きを変えることにより、極性が可変な永電磁石となる。   As shown in FIG. 4A, the EPM 165b has a structure in which both side surfaces of a permanent magnet 1651 and a permanent electromagnet 1652 having fixed polarities are connected and held by magnetic bodies 1653a and 1653b. As the permanent magnet 1651 used here, for example, a neodymium magnet having a very high magnetic flux density is suitable. The permanent electromagnet 1652 is composed of a reversible permanent magnet 1654 made of a hard magnetic material such as alnico, and a coil 1655 wound around the reversible permanent magnet 1654. When a current is passed through the coil 1655, the reversible permanent magnet 1654 is magnetized in one direction and maintains the magnetized state as it is even after energization is completed. The energization time for the coil 1655 is about 1 to several seconds, which is a relatively short time. Thus, the permanent electromagnet 1652 becomes a permanent electromagnet having a variable polarity by changing the direction of the current flowing through the coil 1655 (polarity changing means).

図4(a)に示す状態でコイル1655に対して通電すると、可逆性の永久磁石1654を着磁して、永電磁石1652は極性が固定された永久磁石1651の磁力線の向きと引き合う向きの磁力線を発生させる。その結果、永電磁石1652の磁力線と永久磁石1651の磁力線とが互いに閉じたループ形状となり、撮像モジュール500の磁性体560bを吸着しようとする磁力は非常に弱くなる。そのため撮像モジュール500は、EPM165bから吸着力を受けずに解放される。   When the coil 1655 is energized in the state shown in FIG. 4A, the reversible permanent magnet 1654 is magnetized, and the permanent electromagnet 1652 attracts the magnetic field lines in a direction that attracts the direction of the magnetic field lines of the permanent magnet 1651 with a fixed polarity. Is generated. As a result, the magnetic field lines of the permanent electromagnet 1652 and the magnetic field lines of the permanent magnet 1651 are in a closed loop shape, and the magnetic force to attract the magnetic body 560b of the imaging module 500 becomes very weak. Therefore, the imaging module 500 is released without receiving the suction force from the EPM 165b.

一方図4(b)に示すように、図4(a)とは逆方向にコイル1655に対して通電すると、可逆性の永久磁石1654を着磁して、永電磁石1652は極性が固定された永久磁石1651の磁力線の向きと反発し合う向きの磁力線を発生させる。その結果、永電磁石1652の磁力線と永久磁石1651の磁力線とが互いに強め合って、撮像モジュール500に設けられた磁性体560bを吸着する磁力が非常に高まる。そのため撮像モジュール500は、EPM165bから吸着力を受けてスマートデバイス50の本体に固着される。このように本実施例では、着脱手段にEPMを採用することで、各モジュールの着脱の作業性と信頼性との両立を実現している。   On the other hand, as shown in FIG. 4B, when the coil 1655 is energized in the direction opposite to that in FIG. 4A, the reversible permanent magnet 1654 is magnetized, and the polarity of the permanent electromagnet 1652 is fixed. A magnetic field line is generated in a direction repelling the direction of the magnetic field line of the permanent magnet 1651. As a result, the magnetic field lines of the permanent electromagnet 1652 and the magnetic field lines of the permanent magnet 1651 strengthen each other, and the magnetic force attracting the magnetic body 560b provided in the imaging module 500 is greatly increased. Therefore, the imaging module 500 is fixed to the main body of the smart device 50 by receiving an adsorption force from the EPM 165b. As described above, in this embodiment, by adopting EPM as the attaching / detaching means, both workability of attaching / detaching each module and reliability are realized.

図5は、複数のモジュール200〜600,800及びこれらが装着されたスマートデバイス50のハードウェア構成を示すブロック図である。   FIG. 5 is a block diagram showing a hardware configuration of the plurality of modules 200 to 600, 800 and the smart device 50 to which these modules are attached.

以下、図5を用いて、スマートデバイス50の本体、アプリケーションプログラム制御モジュール200、表示操作モジュール300、電源モジュール400、撮像モジュール500,600、及び姿勢検知モジュール800の構成を説明する。尚、スマートデバイス50の本体に装着可能なモジュールは多種多様であり、図5に示す組み合わせは単なる一例に過ぎず、本発明はその組み合わせを限定するものではない。   Hereinafter, the configuration of the main body of the smart device 50, the application program control module 200, the display operation module 300, the power supply module 400, the imaging modules 500 and 600, and the attitude detection module 800 will be described with reference to FIG. There are a wide variety of modules that can be attached to the main body of the smart device 50, and the combinations shown in FIG. 5 are merely examples, and the present invention does not limit the combinations.

<スマートデバイス50の本体の構成>
スマートデバイス50の本体は、アプリケーションプログラム制御モジュール200による統括制御の下で、スマートデバイス50の本体に装着された各モジュールに関する制御を行う。スマートデバイス50の本体において、110はスマートデバイス50の本体全体を制御するシステム制御回路である。システム制御回路110は、カーネルやOSを実行させた環境で各種アプリケーションプログラムを実行する際、アプリケーションプログラム制御モジュール200が備えるアプリケーション制御回路210の指示や要求に応じて、協調動作を行う。そしてシステム制御回路110は、スマートデバイス50の本体と各モジュールとを連携して動作させることが可能となっており、アプリケーション制御回路210を介して各種サービス、機能を実行することが可能である。
<Configuration of the main body of the smart device 50>
The main body of the smart device 50 performs control related to each module mounted on the main body of the smart device 50 under overall control by the application program control module 200. In the main body of the smart device 50, 110 is a system control circuit that controls the entire main body of the smart device 50. When executing various application programs in an environment in which a kernel or OS is executed, the system control circuit 110 performs a cooperative operation according to an instruction or request from the application control circuit 210 included in the application program control module 200. The system control circuit 110 can operate the main body of the smart device 50 and each module in cooperation with each other, and can execute various services and functions via the application control circuit 210.

112は、システム制御回路110が直接アクセスして読み書きを行うメモリである。114は、システム制御回路110の動作用の定数、変数、プログラム、各スロットの位置情報等を記憶し、電気的に消去・記録可能な不揮発性メモリであり、例えばフラッシュメモリ等が用いられる。ここで、各スロットの位置情報には、スマートデバイス50の本体の背面側に設けられたスロット1100,1200,1400,1500,1600,1700,1800,1900のそれぞれの位置情報が含まれる。この各スロットの位置情報は、各スロットにおいて、モジュールを装着した際にその位置を決定することになる、各リブ101a,c〜hやスパイン102の突き当て面の座標を特定するものである。尚、本実施例は各モジュールの位置決めを、リブ101a,c〜hとスパイン102への突き当てにより行っているが、本発明はこれに限定されるものではない。例えば、スマートデバイス50の本体に位置決め用の凸部を設け、各モジュールに凸部と嵌合する凹部を設けるなどしても良い。この場合、各スロットの位置情報には、位置決め用の凸部の位置情報が含まれることになる。   Reference numeral 112 denotes a memory in which the system control circuit 110 directly accesses and reads / writes. Reference numeral 114 denotes a non-volatile memory that stores constants, variables, programs, position information of each slot, and the like for operation of the system control circuit 110 and can be electrically erased and recorded. For example, a flash memory or the like is used. Here, the position information of each slot includes position information of each of the slots 1100, 1200, 1400, 1500, 1600, 1700, 1800, 1900 provided on the back side of the main body of the smart device 50. The position information of each slot specifies the coordinates of the abutment surfaces of the ribs 101a, c to h and the spine 102, which determine the position of each slot when the module is mounted. In this embodiment, each module is positioned by abutting against the ribs 101a, c to h and the spine 102, but the present invention is not limited to this. For example, a positioning convex portion may be provided on the main body of the smart device 50, and a concave portion fitted to the convex portion may be provided on each module. In this case, the position information of each slot includes the position information of the positioning convex portion.

116は識別情報メモリであり、スマートデバイス50の本体が各モジュールと通信を行う際に必要な各種識別情報が格納されている。118は、スマートデバイス50の本体の所定箇所の温度を計測するための単数或いは複数の温度センサである。120は、システム制御回路110を介してスマートデバイス50の本体の各部に必要な所定の電圧・電流を供給する電源制御回路である。   Reference numeral 116 denotes an identification information memory that stores various types of identification information necessary when the main body of the smart device 50 communicates with each module. Reference numeral 118 denotes one or a plurality of temperature sensors for measuring the temperature at a predetermined location of the main body of the smart device 50. Reference numeral 120 denotes a power supply control circuit that supplies a predetermined voltage / current necessary for each part of the main body of the smart device 50 via the system control circuit 110.

122は、スマートデバイス50の本体の電源制御回路120及びコネクタ182〜186,188の電源端子に接続される電源バスである。コネクタ182〜186,188の電源端子は、それぞれ、各モジュールのコネクタ280,380,480,580,680,880の電源端子を介して、各モジュールの電源制御回路220,320,410,520,620,820と接続されている。   A power bus 122 is connected to the power control circuit 120 of the main body of the smart device 50 and the power terminals of the connectors 182 to 186 and 188. The power supply terminals of the connectors 182 to 186 and 188 are connected to the power supply control circuits 220, 320, 410, 520, and 620 of the respective modules via the power supply terminals of the connectors 280, 380, 480, 580, 680, and 880 of the respective modules. , 820.

130はスイッチインターフェース回路であり、図5に示すように、本体側CMC142a,142b(不図示),143,144a,144b(不図示),145b,146,148を介して、各モジュールと接続する。これにより、各モジュールとスマートデバイス50の本体の間でデータやメッセージの高速な通信を切り替え中継する。本体側CMC142a,143,144a,145b,146,148は、誘導結合(インダクティブカップリング)方式により接触近接通信を行う。これにより、それぞれがこれに近接するモジュール側CMC240a,340,440a,540,640,840と高速通信を行う。尚、本体側CMCとこれに近接するモジュール側CMCとの組み合わせは、ユーザの意図に応じて適宜変更されるものであり、図5に示す組み合わせは単なる一例に過ぎない。   A switch interface circuit 130 is connected to each module via main body side CMCs 142a and 142b (not shown), 143, 144a, 144b (not shown), 145b, 146, and 148, as shown in FIG. Thereby, high-speed communication of data and messages is switched and relayed between each module and the main body of the smart device 50. The main body side CMCs 142a, 143, 144a, 145b, 146, and 148 perform contact proximity communication by an inductive coupling (inductive coupling) method. Thereby, each performs high-speed communication with module side CMC 240a, 340, 440a, 540, 640, 840 which adjoins each. The combination of the main body side CMC and the module side CMC adjacent thereto is appropriately changed according to the user's intention, and the combination shown in FIG. 5 is merely an example.

図5に示すように、スマートデバイス50は、EPM162a,162b(不図示),163,164a,164b(不図示),165a,165b(不図示),166,168を備える。これは、それぞれモジュールの磁性体260a,260b(不図示),360,460a,460b(不図示),560a,560b(不図示),660a,860を磁力制御により吸着或いは非吸着する。これにより、各モジュールをスマートデバイス50の本体のフレーム構造と各モジュールとの接続箇所において、固定(ロック)或いは解放(リリース)する。尚、スマートデバイス50の本体側の各EPMとこれに接続するモジュール側の磁性体との組み合わせは、ユーザの意図に応じて適宜変更されるものであり、図5に示す組み合わせは単なる一例に過ぎない。   As shown in FIG. 5, the smart device 50 includes EPMs 162a and 162b (not shown), 163, 164a, 164b (not shown), 165a, 165b (not shown), 166 and 168. This adsorbs or non-adsorbs the magnetic bodies 260a, 260b (not shown), 360, 460a, 460b (not shown), 560a, 560b (not shown), 660a, 860 of the module by magnetic force control. As a result, each module is fixed (locked) or released (released) at the connection portion between the frame structure of the main body of the smart device 50 and each module. Note that the combination of each EPM on the main body side of the smart device 50 and the magnetic material on the module side connected thereto is appropriately changed according to the user's intention, and the combination shown in FIG. 5 is merely an example. Absent.

コネクタ182〜186,188は、それぞれモジュールのコネクタ280,380,480,580,680,880と接続する。これにより、電源関係(パワーバス、グラウンド)の端子群を、スマートデバイス50の本体と各モジュール間で相互に使用可能とする。更に、モジュールの装着を示す検出(Detect)信号の端子、モジュールのスリープ解除を示す起動(Wake)信号の端子、アンテナの配線をつなぐRF信号の端子などの各機能についても同様に、相互に使用可能とするものである。ここで本実施例におけるコネクタ182〜186,188は、スマートデバイス50の本体のリブ101a〜hやスパイン102の側面部に形成された一般的な小型の金属端子であるが、図1〜3に示す位置からは視認できないため不図示とする。尚、コネクタ182〜186,188と、これに接続するモジュール側のコネクタの組み合わせは、ユーザの意図に応じて適宜変更されるものであり、図5に示す組み合わせは単なる一例に過ぎない。   The connectors 182 to 186 and 188 are connected to the connectors 280, 380, 480, 580, 680 and 880 of the module, respectively. As a result, a power supply (power bus, ground) terminal group can be used between the main body of the smart device 50 and each module. In addition, the functions of the detection (Detect) signal indicating the module installation, the activation (Wake) signal terminal indicating that the module is released from sleep, and the RF signal terminal connecting the antenna wiring are also used mutually. It is possible. Here, the connectors 182 to 186 and 188 in this embodiment are general small metal terminals formed on the ribs 101a to h of the main body of the smart device 50 and the side surface portion of the spine 102. Since it cannot be visually recognized from the position shown, it is not shown. Note that the combinations of the connectors 182 to 186 and 188 and the connectors on the module side connected thereto are appropriately changed according to the user's intention, and the combinations shown in FIG. 5 are merely examples.

<アプリケーションプログラム制御モジュール200の構成>
アプリケーションプログラム制御モジュール200は、アプリケーション制御回路210の動作により、スマートデバイス50の本体とこれに装着された各モジュールを含めた全体システムを統括制御する。例えばアプリケーション制御回路210は、表示操作モジュール300が備える表示操作制御回路310を介して、表示部であるLCDパネル312を制御し、各種情報の表示を行うことが可能である。またアプリケーション制御回路210は、表示操作モジュール300が備える表示操作制御回路310を介して、操作入力手段であるタッチパネル及び操作ボタン(以下「TP/ボタン」という)314に対する操作入力情報を取得することができる。そして、その操作入力内容に応じて、カーネルのサービスやOSのサービス、各種アプリケーションプログラムによる処理を実行させることが可能である。
<Configuration of Application Program Control Module 200>
The application program control module 200 performs overall control of the entire system including the main body of the smart device 50 and each module attached thereto by the operation of the application control circuit 210. For example, the application control circuit 210 can control the LCD panel 312 that is a display unit via the display operation control circuit 310 provided in the display operation module 300 and display various information. Further, the application control circuit 210 can acquire operation input information for a touch panel and operation buttons (hereinafter referred to as “TP / buttons”) 314 which are operation input means, via the display operation control circuit 310 included in the display operation module 300. it can. Depending on the contents of the operation input, it is possible to execute processing by a kernel service, an OS service, and various application programs.

212は、アプリケーション制御回路210が直接アクセスして読み書きを行うメモリである。214は、アプリケーション制御回路210の動作用の定数、変数、プログラム等を記憶し、電気的に消去・記録可能な不揮発性メモリであり、例えばフラッシュメモリ等が用いられる。216は識別情報メモリであり、アプリケーションプログラム制御モジュール200がスマートデバイス50の本体及び各モジュールと通信を行う際に必要な各種識別情報が格納されている。220は、アプリケーションプログラム制御モジュール200の各部に必要な所定の電圧・電流を供給する電源制御回路である。222は、アプリケーションプログラム制御モジュール200の所定箇所の温度を計測するための単数或いは複数の温度センサである。230はインターフェース回路であり、モジュール側CMC240aを介して、スマートデバイス50の本体及び各モジュールとのデータやメッセージの高速な通信を中継する。   A memory 212 is directly accessed and read / written by the application control circuit 210. Reference numeral 214 denotes a nonvolatile memory that stores constants, variables, programs, and the like for operation of the application control circuit 210 and can be electrically erased and recorded. For example, a flash memory or the like is used. Reference numeral 216 denotes an identification information memory that stores various types of identification information necessary for the application program control module 200 to communicate with the main body of the smart device 50 and each module. Reference numeral 220 denotes a power supply control circuit that supplies predetermined voltages and currents necessary for each unit of the application program control module 200. Reference numeral 222 denotes one or a plurality of temperature sensors for measuring the temperature at a predetermined location of the application program control module 200. Reference numeral 230 denotes an interface circuit that relays high-speed communication of data and messages with the main body of the smart device 50 and each module via the module-side CMC 240a.

290は、各専用アプリケーションプログラムを実行する上で必要となる複数の管理ファイルの情報を記憶した管理テーブルである。管理ファイルの情報には、各専用アプリケーションプログラムを実行する際に不可欠なモジュールの種類や、所望の機能を最大限に活用できる該当モジュールの組み合わせや、該当モジュールを装着するのに最適な各スロットの位置関係などが含まれる。また本実施例は、管理ファイルの情報として、各専用アプリケーションプログラムに必須ではないものの、機能追加に有効なモジュールの種類などを含んでおり、ユーザに多くの選択肢を提供することで利便性を高めている。こうした管理ファイルの情報は、アプリケーション制御回路210が、管理テーブル290から取得する。尚、本発明はこの構成に限定されるものではなく、管理ファイルの情報はメモリ212や不揮発性メモリ214に記憶させても良い。この場合の管理ファイルの情報は、アプリケーション制御回路210が、メモリ212や不揮発性メモリ214から取得することになる。   A management table 290 stores information on a plurality of management files necessary for executing each dedicated application program. The management file information includes the types of modules that are indispensable when executing each dedicated application program, the combinations of modules that can make the most of the desired functions, and the slots that are optimal for mounting the modules. Includes positional relationships. In addition, although the management file information is not essential for each dedicated application program, it includes the types of modules that are effective for adding functions, etc., and it provides convenience to users by providing many options. ing. Information on such a management file is acquired from the management table 290 by the application control circuit 210. The present invention is not limited to this configuration, and management file information may be stored in the memory 212 or the nonvolatile memory 214. In this case, the management file information is acquired from the memory 212 and the nonvolatile memory 214 by the application control circuit 210.

<表示操作モジュール300の構成>
表示操作モジュール300は、アプリケーションプログラム制御モジュール200による統括制御の下で、スマートデバイス50の本体の制御により、各種情報の表示、操作入力の取得を行う。表示操作モジュール300において、310は表示操作モジュール300全体を制御する表示操作制御回路である。表示操作モジュール300の表示部としては、LCD、OLED、LED等の表示デバイスを採用することができるが、本実施例はLCDパネル312を採用している。表示操作モジュール300の操作入力手段としては、タッチパネル(TP)、操作ボタン等の操作デバイスを独立して構成しても一体として構成してもよいが、本実施例では、独立して構成されるTP/ボタン314を採用している。
<Configuration of Display Operation Module 300>
The display operation module 300 displays various types of information and acquires operation inputs under the overall control of the application program control module 200 under the control of the main body of the smart device 50. In the display operation module 300, 310 is a display operation control circuit that controls the entire display operation module 300. As the display unit of the display operation module 300, a display device such as an LCD, an OLED, or an LED can be used. In this embodiment, an LCD panel 312 is used. As the operation input means of the display operation module 300, operation devices such as a touch panel (TP) and operation buttons may be configured independently or integrally, but in the present embodiment, configured independently. A TP / button 314 is employed.

LCDパネル312は、アプリケーションプログラム制御モジュール200のアプリケーション制御回路210の指示に応じて、表示操作制御回路310によりユーザに対する各種情報の表示を行う。また、TP/ボタン314へのユーザによるタッチパネル操作やボタン操作等の入力操作と、マイク318が検出した音声信号とは、表示操作制御回路310を介して、アプリケーション制御回路210に伝達される。   The LCD panel 312 displays various information to the user by the display operation control circuit 310 in accordance with an instruction from the application control circuit 210 of the application program control module 200. Also, the input operation such as touch panel operation or button operation by the user to the TP / button 314 and the audio signal detected by the microphone 318 are transmitted to the application control circuit 210 via the display operation control circuit 310.

316は識別情報メモリで、表示操作モジュール300がスマートデバイス50の本体及び各モジュールと通信を行う際に必要な各種識別情報が格納されている。320は、表示操作モジュール300の各部に必要な所定の電圧・電流を供給する電源制御回路である。322は、表示操作モジュール300の所定箇所の温度を計測するための単数或いは複数の温度センサである。330はインターフェース回路であり、モジュール側CMC340を介して、スマートデバイス50の本体及び各モジュールとのデータやメッセージの高速な通信を中継する。   Reference numeral 316 denotes an identification information memory which stores various types of identification information necessary for the display operation module 300 to communicate with the main body of the smart device 50 and each module. Reference numeral 320 denotes a power supply control circuit that supplies predetermined voltages and currents necessary for each part of the display operation module 300. Reference numeral 322 denotes one or more temperature sensors for measuring the temperature at a predetermined location of the display operation module 300. Reference numeral 330 denotes an interface circuit that relays high-speed communication of data and messages with the main body of the smart device 50 and each module via the module-side CMC 340.

<電源モジュール400の構成>
電源モジュール400は、アプリケーションプログラム制御モジュール200による統括制御の下で、スマートデバイス50の本体の電源バス122を介して電池420の放電・充電を行う。電源モジュール400において、410は電池420の放電・充電制御を含め、電源モジュール400全体を制御する電池制御回路であり、電源モジュール400の各部に必要な所定の電圧・電流を供給する。416は識別情報メモリであり、電源モジュール400がスマートデバイス50の本体及び各モジュールと通信を行う際に必要な各種識別情報が格納されている。
<Configuration of Power Supply Module 400>
The power supply module 400 discharges and charges the battery 420 through the power supply bus 122 of the main body of the smart device 50 under the overall control by the application program control module 200. In the power supply module 400, reference numeral 410 denotes a battery control circuit that controls the entire power supply module 400 including discharge / charge control of the battery 420, and supplies a predetermined voltage / current necessary for each part of the power supply module 400. Reference numeral 416 denotes an identification information memory which stores various types of identification information necessary for the power supply module 400 to communicate with the main body of the smart device 50 and each module.

電池420には、Li−ion電池、燃料電池等が該当する。電池420は、電池制御回路410によりコネクタ480を介して、スマートデバイス50の本体及び各モジュールに対して放電すると共に、スマートデバイス50の本体及び不図示の充電モジュールから充電される。422は、電源モジュール400の所定箇所の温度を計測するための単数或いは複数の温度センサである。430はインターフェース回路であり、モジュール側CMC440aを介して、スマートデバイス50の本体及び各モジュールとのデータやメッセージの高速な通信を中継する。   The battery 420 corresponds to a Li-ion battery, a fuel cell, or the like. The battery 420 is discharged by the battery control circuit 410 via the connector 480 to the main body and each module of the smart device 50 and charged from the main body of the smart device 50 and a charging module (not shown). Reference numeral 422 denotes one or a plurality of temperature sensors for measuring the temperature at a predetermined location of the power supply module 400. Reference numeral 430 denotes an interface circuit that relays high-speed communication of data and messages with the main body of the smart device 50 and each module via the module-side CMC 440a.

<撮像モジュール500の構成>
撮像モジュール500は、アプリケーションプログラム制御モジュール200による統括制御の下で、スマートデバイス50の本体によって制御され、所望の撮像処理を行うモジュールとしての撮像装置である。撮像モジュール500において510は、光軸上に光学レンズを複数配置したカメラである。更にカメラ510は、通過する光量を調節する絞り機構と、光軸方向に少なくとも一枚の光学レンズを移動させて焦点調節を行うAF機構と、これらの構成部品を内部に収納するレンズ鏡筒とで構成されている。またカメラ510は、光電変換により画像データを得る撮像センサと、画像データを処理する画像処理回路と、各機構を制御する駆動制御回路とを備える。
<Configuration of Imaging Module 500>
The imaging module 500 is an imaging device that is controlled by the main body of the smart device 50 under the overall control of the application program control module 200 and performs a desired imaging process. In the imaging module 500, reference numeral 510 denotes a camera having a plurality of optical lenses arranged on the optical axis. The camera 510 further includes an aperture mechanism that adjusts the amount of light passing therethrough, an AF mechanism that adjusts the focus by moving at least one optical lens in the direction of the optical axis, and a lens barrel that houses these components. It consists of The camera 510 includes an image sensor that obtains image data by photoelectric conversion, an image processing circuit that processes the image data, and a drive control circuit that controls each mechanism.

カメラ510は、絞りやシャッター速度や撮像センサの感度を最適に設定する自動露出調節(AE)、被写体距離に応じた自動焦点調節(AF)、色温度を調節して適正な色調を再現する自動ホワイトバランス(AWB)などの制御を実現する。他にも本実施例は、姿勢検知モジュール800で取得した角速度情報から手ブレを算出し、撮像センサ上で切り出した露光範囲を追従させることで、簡易的に手ブレ補正(IS)を行うことが可能である。尚、本発明はこうした撮像装置の一般的な制御方法を限定するものではなく、またこれらは既に先行技術文献等により公知であるため、詳細な個別の説明は省略する。   The camera 510 has automatic exposure adjustment (AE) that optimally sets the aperture, shutter speed, and sensitivity of the image sensor, automatic focus adjustment (AF) according to the subject distance, and automatic that reproduces the appropriate color tone by adjusting the color temperature. Control such as white balance (AWB) is realized. In addition, in this embodiment, camera shake is calculated from the angular velocity information acquired by the posture detection module 800, and camera shake correction (IS) is simply performed by following the exposure range cut out on the image sensor. Is possible. Note that the present invention does not limit a general control method of such an imaging apparatus, and these are already known from prior art documents and the like, and thus detailed individual descriptions are omitted.

カメラ510への指示は、アプリケーション制御回路210で実行されるアプリケーションプログラムや、表示操作モジュール300の操作入力手段であるTP/ボタン314に対する入力に応じて行われる。カメラ510により取得した画像データは、アプリケーション制御回路210が、スマートデバイス50の本体と表示操作モジュール300とを制御することで、LCDパネル312に表示可能となる。   An instruction to the camera 510 is given in response to an application program executed by the application control circuit 210 and an input to the TP / button 314 that is an operation input unit of the display operation module 300. Image data acquired by the camera 510 can be displayed on the LCD panel 312 by the application control circuit 210 controlling the main body of the smart device 50 and the display operation module 300.

516は識別情報メモリで、撮像モジュール500がスマートデバイス50の本体及び各モジュールと通信を行う際に必要な各種識別情報が格納されている。520は、撮像モジュール500の各部に必要な所定の電圧・電流を供給する電源制御回路である。   An identification information memory 516 stores various types of identification information necessary for the imaging module 500 to communicate with the main body of the smart device 50 and each module. Reference numeral 520 denotes a power supply control circuit that supplies predetermined voltages and currents necessary for each unit of the imaging module 500.

522は、カメラ510の動作用の定数、変数、構成部品の位置情報、光軸の誤差情報、レンズの誤差情報等を記憶し、電気的に消去・記録可能な不揮発性メモリであり、例えばフラッシュメモリ等が用いられる。ここでいう構成部品の位置情報には、撮像モジュール500の外形から見た光軸の座標情報が含まれている。前述のように、撮像モジュール500は、スマートデバイス50の本体に対してその外形を突き当てることで位置が決定される。尚、本実施例は撮像モジュール500の位置決めを、スマートデバイス50の本体のリブ101a〜hとスパイン102への突き当てにより行っているが、本発明はこれに限定されるものではない。例えば、スマートデバイス50の本体に位置決め用の凸部を設け、撮像モジュール500に凸部と嵌合する凹部を設けるなどしても良い。この場合、構成部品の位置情報には、凸部と嵌合する凹部から見た光軸の座標情報が含まれることになる。   Reference numeral 522 denotes a nonvolatile memory that stores constants, variables, position information of component parts, optical axis error information, lens error information, and the like for the operation of the camera 510 and can be electrically erased and recorded. A memory or the like is used. The component position information here includes the coordinate information of the optical axis viewed from the outer shape of the imaging module 500. As described above, the position of the imaging module 500 is determined by abutting the outer shape against the main body of the smart device 50. In this embodiment, the imaging module 500 is positioned by abutting the ribs 101a to 101h of the main body of the smart device 50 and the spine 102, but the present invention is not limited to this. For example, a positioning convex portion may be provided on the main body of the smart device 50, and a concave portion that fits the convex portion may be provided on the imaging module 500. In this case, the positional information of the component parts includes the coordinate information of the optical axis viewed from the concave portion that fits with the convex portion.

また光軸の誤差情報には、詳しくは後述するが、例えば部品や組立の精度により製造誤差として生じる、カメラ510の光軸の傾きの誤差が含まれる。一方レンズの誤差情報には、例えば製造誤差として生じる焦点距離の誤差やF値の誤差、歪曲、光軸を回転中心とする撮像センサの角度誤差などが含まれる。こうした製造誤差に関する情報を不揮発性メモリ522に記憶させることで、アプリケーション制御回路210の処理においてこれらの誤差を補正することが可能となる。ひいては、後述する複眼カメラの機能を利用する際に画像の合成機能や測定機能の精度を高めることができる。   The optical axis error information includes an error in the tilt of the optical axis of the camera 510, which will be described later in detail as a manufacturing error due to the accuracy of parts and assembly. On the other hand, the error information of the lens includes, for example, a focal length error, an F value error, distortion, an angle error of the image sensor centered on the optical axis as a manufacturing error. By storing information regarding such manufacturing errors in the nonvolatile memory 522, these errors can be corrected in the processing of the application control circuit 210. As a result, the accuracy of the image synthesis function and the measurement function can be improved when using the functions of the compound eye camera described later.

530はインターフェース回路であり、モジュール側CMC540を介して、スマートデバイス50の本体及び各モジュールとのデータやメッセージの高速な通信を中継する。   Reference numeral 530 denotes an interface circuit that relays high-speed communication of data and messages with the main body of the smart device 50 and each module via the module-side CMC 540.

<撮像モジュール600の構成>
撮像モジュール600は、アプリケーションプログラム制御モジュール200による統括制御の下で、スマートデバイス50の本体によって制御され、所望の撮像処理を行うモジュールとしての撮像装置である。撮像モジュール600において610は、光軸上に光学レンズを複数配置したカメラである。更にカメラ610は、通過する光量を調節する絞り機構と、光軸方向に少なくとも一枚の光学レンズを移動させて焦点調節を行うAF機構と、これらの構成部品を内部に収納するレンズ鏡筒とで構成されている。またカメラ610は、光電変換により画像データを得る撮像センサと、画像データを処理する画像処理回路と、各機構を制御する駆動制御回路とを備える。こうしたカメラ610の構成部品は、前述のカメラ510と同様である。しかしながら、撮像モジュール600におけるカメラ610の配置や形状は、撮像モジュール500におけるカメラ510の配置や形状とは異なっている。
<Configuration of Imaging Module 600>
The imaging module 600 is an imaging device that is controlled by the main body of the smart device 50 under the overall control of the application program control module 200 and performs a desired imaging process. In the imaging module 600, reference numeral 610 denotes a camera having a plurality of optical lenses arranged on the optical axis. The camera 610 further includes an aperture mechanism that adjusts the amount of light passing therethrough, an AF mechanism that adjusts the focus by moving at least one optical lens in the optical axis direction, and a lens barrel that houses these components. It consists of The camera 610 includes an imaging sensor that obtains image data by photoelectric conversion, an image processing circuit that processes the image data, and a drive control circuit that controls each mechanism. The components of the camera 610 are the same as those of the camera 510 described above. However, the arrangement and shape of the camera 610 in the imaging module 600 are different from the arrangement and shape of the camera 510 in the imaging module 500.

カメラ610は、カメラ510と同様の制御を実現する。具体的には、絞りやシャッター速度や撮像センサの感度を最適に設定する自動露出調節(AE)、被写体距離に応じた自動焦点調節(AF)、色温度を調節して適正な色調を再現する自動ホワイトバランス(AWB)などの制御を実現する。他にも本実施例は、姿勢検知モジュール800で取得した角速度情報から手ブレを算出し、撮像センサ上で切り出した露光範囲を追従させることで、簡易的に手ブレ補正(IS)を行うことが可能である。尚、本発明はこうした撮像装置の一般的な制御方法を限定するものではなく、またこれらは既に先行技術文献等により公知であるため、詳細な個別の説明は省略する。   The camera 610 realizes the same control as the camera 510. Specifically, automatic exposure adjustment (AE) that optimally sets the aperture, shutter speed, and sensitivity of the image sensor, automatic focus adjustment (AF) according to subject distance, and color temperature are adjusted to reproduce the appropriate color tone. Control such as automatic white balance (AWB) is realized. In addition, in this embodiment, camera shake is calculated from the angular velocity information acquired by the posture detection module 800, and camera shake correction (IS) is simply performed by following the exposure range cut out on the image sensor. Is possible. Note that the present invention does not limit a general control method of such an imaging apparatus, and these are already known from prior art documents and the like, and thus detailed individual descriptions are omitted.

カメラ610への指示は、アプリケーション制御回路210で実行されるアプリケーションプログラムや、表示操作モジュール300の操作入力手段であるTP/ボタン314に対する入力に応じて行われる。カメラ610により取得した画像データは、アプリケーション制御回路210が、スマートデバイス50の本体と表示操作モジュール300とを制御することで、LCDパネル312に表示可能となる。   An instruction to the camera 610 is given in response to an application program executed by the application control circuit 210 and an input to the TP / button 314 that is an operation input unit of the display operation module 300. Image data acquired by the camera 610 can be displayed on the LCD panel 312 by the application control circuit 210 controlling the main body of the smart device 50 and the display operation module 300.

616は識別情報メモリで、撮像モジュール600がスマートデバイス50の本体及び各モジュールと通信を行う際に必要な各種識別情報が格納されている。620は、撮像モジュール600の各部に必要な所定の電圧・電流を供給する電源制御回路である。   An identification information memory 616 stores various types of identification information necessary for the imaging module 600 to communicate with the main body of the smart device 50 and each module. Reference numeral 620 denotes a power supply control circuit that supplies predetermined voltages and currents necessary for each unit of the imaging module 600.

622は、カメラ610の動作用の定数、変数、構成部品の位置情報、光軸の誤差情報、レンズの誤差情報等を記憶し、電気的に消去・記録可能な不揮発性メモリであり、例えばフラッシュメモリ等が用いられる。ここでいう構成部品の位置情報には、撮像モジュール600の外形から見た光軸の座標情報が含まれている。前述のように、撮像モジュール600は、スマートデバイス50の本体に対してその外形を突き当てることで位置が決定される。尚、本実施例は撮像モジュール600の位置決めを、スマートデバイス50の本体のリブ101a〜hとスパイン102への突き当てにより行っているが、本発明はこれに限定されるものではない。例えば、スマートデバイス50の本体に位置決め用の凸部を設け、撮像モジュール600に凸部と嵌合する凹部を設けるなどしても良い。この場合、構成部品の位置情報には、凸部と嵌合する凹部から見た光軸の座標情報が含まれることになる。   622 is a nonvolatile memory that stores constants, variables, component position information, optical axis error information, lens error information, and the like for operation of the camera 610 and can be electrically erased and recorded. A memory or the like is used. The component position information here includes coordinate information of the optical axis viewed from the outer shape of the imaging module 600. As described above, the position of the imaging module 600 is determined by abutting its outer shape against the main body of the smart device 50. In this embodiment, the imaging module 600 is positioned by abutting against the ribs 101a to 101h of the main body of the smart device 50 and the spine 102, but the present invention is not limited to this. For example, a positioning convex portion may be provided on the main body of the smart device 50, and a concave portion that fits the convex portion may be provided on the imaging module 600. In this case, the positional information of the component parts includes the coordinate information of the optical axis viewed from the concave portion that fits with the convex portion.

また光軸の誤差情報には、詳しくは後述するが、例えば部品や組立の精度により製造誤差として生じる、カメラ610の光軸の傾きの誤差が含まれる。一方レンズの誤差情報には、例えば製造誤差として生じる焦点距離の誤差やF値の誤差、歪曲、光軸を回転中心とする撮像センサの角度誤差などが含まれる。こうした製造誤差に関する情報を不揮発性メモリ622に記憶させることで、アプリケーション制御回路210の処理においてこれらの誤差を補正することが可能となる。ひいては、後述する複眼カメラの機能を利用する際に画像の合成機能や測定機能の精度を高めることができる。   The optical axis error information includes an error in the tilt of the optical axis of the camera 610, which will be described later in detail as a manufacturing error due to the accuracy of parts and assembly. On the other hand, the error information of the lens includes, for example, a focal length error, an F value error, distortion, an angle error of the image sensor centered on the optical axis as a manufacturing error. By storing information on such manufacturing errors in the nonvolatile memory 622, these errors can be corrected in the processing of the application control circuit 210. As a result, the accuracy of the image synthesis function and the measurement function can be improved when using the functions of the compound eye camera described later.

630はインターフェース回路であり、モジュール側CMC640を介して、スマートデバイス50の本体及び各モジュールとのデータやメッセージの高速な通信を中継する。   Reference numeral 630 denotes an interface circuit that relays high-speed communication of data and messages with the main body of the smart device 50 and each module via the module-side CMC 640.

<姿勢検知モジュール800の構成>
姿勢検知モジュール800は、アプリケーションプログラム制御モジュール200による統括制御の下で、スマートデバイス50の本体によって制御され、スマートデバイス50の姿勢を検知する。姿勢検知モジュール800において、810は3軸のジャイロセンサから角速度情報を取得するジャイロセンサである。816は識別情報メモリであり、姿勢検知モジュール800がスマートデバイス50の本体及び各モジュールと通信を行う際に必要な各種識別情報が格納されている。820は、姿勢検知モジュール800の各部に必要な所定の電圧・電流を供給する電源制御回路である。822は、姿勢検知モジュール800の所定箇所の温度を計測するための単数或いは複数の温度センサである。
<Configuration of Attitude Detection Module 800>
The posture detection module 800 is controlled by the main body of the smart device 50 under the overall control by the application program control module 200, and detects the posture of the smart device 50. In the posture detection module 800, reference numeral 810 denotes a gyro sensor that acquires angular velocity information from a triaxial gyro sensor. Reference numeral 816 denotes an identification information memory that stores various types of identification information necessary for the posture detection module 800 to communicate with the main body of the smart device 50 and each module. Reference numeral 820 denotes a power supply control circuit that supplies predetermined voltages and currents necessary for each unit of the posture detection module 800. Reference numeral 822 denotes one or a plurality of temperature sensors for measuring the temperature at a predetermined location of the posture detection module 800.

830はインターフェース回路であり、モジュール側CMC840を介して、スマートデバイス50の本体及び各モジュールとのデータやメッセージの高速な通信を中継する。インターフェース回路830は、ジャイロセンサ810で取得した角速度情報を、スマートデバイス50の本体に送信する。そこから更に、スマートデバイス50の本体は、アプリケーションプログラム制御モジュール200にデータを高速で転送する。こうして、姿勢検知モジュール800の角速度情報は、表示操作モジュール300における表示方向の切り替えや、撮像モジュール500,600に対する手ブレ補正などに用いられる。   Reference numeral 830 denotes an interface circuit that relays high-speed communication of data and messages with the main body of the smart device 50 and each module via the module-side CMC 840. The interface circuit 830 transmits angular velocity information acquired by the gyro sensor 810 to the main body of the smart device 50. From there, the main body of the smart device 50 transfers data to the application program control module 200 at high speed. Thus, the angular velocity information of the posture detection module 800 is used for switching the display direction in the display operation module 300, correcting camera shake for the imaging modules 500 and 600, and the like.

<アプリケーションプログラム制御モジュール200の動作説明>
図6は、アプリケーションプログラム制御モジュール200により実行される、複数のモジュールが装着されたスマートデバイス50の動作制御処理の手順を示すフローチャートである。
<Description of Operation of Application Program Control Module 200>
FIG. 6 is a flowchart showing a procedure of operation control processing of the smart device 50 to which a plurality of modules are mounted, which is executed by the application program control module 200.

図6の処理は、アプリケーションプログラム制御モジュール200とスマートデバイス50の本体と表示操作モジュール300とが低消費電力状態であって、表示操作モジュール300の電源ボタン314aへのユーザ操作があったときに開始する。   The processing in FIG. 6 starts when the application program control module 200, the main body of the smart device 50, and the display operation module 300 are in a low power consumption state and a user operation is performed on the power button 314a of the display operation module 300. To do.

かかるユーザ操作があると、表示操作制御回路310は、アプリケーション制御回路210へ向けてスリープ解除を示す起動(Wake)信号を送信する。アプリケーション制御回路210は、表示操作制御回路310からの起動(Wake)信号を受信すると、ステップS1100において初期設定を実行する。また本実施例は、スマートデバイス50の本体に装着される全てのモジュールのコネクタ部に検出(Detect)信号の端子が設けられている。これにより、例えば空いているスロットに対して新たなモジュールを装着した際も同様に、検出(Detect)信号が送信されてステップS1100に移行する。   When there is such a user operation, the display operation control circuit 310 transmits an activation (Wake) signal indicating sleep release to the application control circuit 210. When receiving the activation (Wake) signal from the display operation control circuit 310, the application control circuit 210 executes initial setting in step S1100. Further, in this embodiment, detection signal terminals are provided in the connector portions of all modules mounted on the main body of the smart device 50. As a result, for example, when a new module is installed in an empty slot, a detection signal is similarly transmitted, and the process proceeds to step S1100.

ステップS1100において、アプリケーション制御回路210は、所定のフラグや制御変数等をリセットして初期化すると共に、アプリケーションプログラム制御モジュール200の各部の初期化を行う。続いて、アプリケーション制御回路210は、不揮発性メモリ214から読み出したソフトウェアプログラムを実行して、カーネル起動とOS起動を順次行う。その後、インターフェース回路230、モジュール側CMC240a、本体側CMC142a、スイッチインターフェース回路130を介して、スマートデバイス50の本体のシステム制御回路110との通信の初期化を行う。システム制御回路110の初期化によってスマートデバイス50の本体に装着される全てのモジュールは動作可能な状態となる。これにより、例えば表示操作モジュール300において、表示操作制御回路310は、表示部であるLCDパネル312に所定の起動画面を表示させる。そして表示操作モジュール300は、操作入力手段であるTP/ボタン314に対するユーザの入力指示が可能な状態に至る。   In step S <b> 1100, the application control circuit 210 resets and initializes predetermined flags, control variables, and the like, and initializes each part of the application program control module 200. Subsequently, the application control circuit 210 executes the software program read from the non-volatile memory 214, and sequentially performs kernel startup and OS startup. Thereafter, the communication with the system control circuit 110 of the main body of the smart device 50 is initialized via the interface circuit 230, the module side CMC 240a, the main body side CMC 142a, and the switch interface circuit 130. By initializing the system control circuit 110, all the modules mounted on the main body of the smart device 50 become operable. Thereby, for example, in the display operation module 300, the display operation control circuit 310 displays a predetermined startup screen on the LCD panel 312 which is a display unit. Then, the display operation module 300 reaches a state where the user can give an input instruction to the TP / button 314 serving as an operation input unit.

ステップS1100を終えると、ステップS1101に進み、アプリケーション制御回路210は、ステップS1101において終了メッセージを受信したか否かを判断する。この終了メッセージは、表示操作制御回路310において以下のような形でアプリケーション制御回路210に送信される。まず、表示部であるLCDパネル312に終了ボタンを表示すると共に、この終了ボタンをTP/ボタン314でユーザ選択できる状態とする。その後、この終了ボタンがユーザ選択されたとき、表示操作制御回路310は、アプリケーション制御回路210に終了メッセージを送信する。   When step S1100 ends, the process proceeds to step S1101, and the application control circuit 210 determines whether an end message is received in step S1101. This end message is transmitted to the application control circuit 210 in the following manner in the display operation control circuit 310. First, an end button is displayed on the LCD panel 312 which is a display unit, and the end button is set in a state where the user can select the end button with the TP / button 314. Thereafter, when the end button is selected by the user, the display operation control circuit 310 transmits an end message to the application control circuit 210.

ステップS1101で終了メッセージを受信したと判断した場合、ステップS1120に進む。ステップS1120で、アプリケーション制御回路210は終了処理を行なう。具体的には、アプリケーション制御回路210は、システム制御回路110に終了メッセージを送信した後、フラグや制御変数等を必要に応じて不揮発性メモリ214に退避する。それと共に、OS及びカーネルを低消費電力で動作する動作終了状態に移行する。そして、電源制御回路220を介したアプリケーションプログラム制御モジュール200とスマートデバイス50の本体と表示操作モジュール300とへの電力供給を、低消費電力の設定に変更する。システム制御回路110は、終了メッセージを受信すると、アプリケーションプログラム制御モジュール200とスマートデバイス50の本体、表示操作モジュール300以外のモジュールの全ての動作を停止する処理を行う。   If it is determined in step S1101 that an end message has been received, the process advances to step S1120. In step S1120, the application control circuit 210 performs a termination process. Specifically, the application control circuit 210 transmits an end message to the system control circuit 110 and then saves a flag, a control variable, and the like in the nonvolatile memory 214 as necessary. At the same time, the OS and the kernel are shifted to an operation end state that operates with low power consumption. Then, the power supply to the application program control module 200, the main body of the smart device 50, and the display operation module 300 via the power control circuit 220 is changed to a setting of low power consumption. When receiving the end message, the system control circuit 110 performs a process of stopping all the operations of the application program control module 200, the main body of the smart device 50, and the modules other than the display operation module 300.

ステップS1120の終了処理を終えた後、アプリケーション制御回路210は、本処理を終了し、所謂電源OFFの状態に至る。   After completing the termination process in step S1120, the application control circuit 210 terminates this process and reaches a so-called power-off state.

ステップS1101で、終了メッセージを受信しなかった場合、ステップS1102に進む。ステップS1102において、アプリケーション制御回路210は、表示操作モジュール300の表示操作制御回路310からスリープ状態に移行するスリープメッセージを受信したかどうかを判断する。このスリープメッセージは、表示操作制御回路310において以下のような形でアプリケーション制御回路210に送信される。まず、表示部であるLCDパネル312にスリープボタンを表示すると共に、このスリープボタンをTP/ボタン314でユーザ選択できる状態とする。その後、このスリープボタンがユーザ選択されたとき、表示操作制御回路310は、アプリケーション制御回路210にスリープ状態に移行するスリープメッセージを送信する。   If it is determined in step S1101 that an end message has not been received, the process advances to step S1102. In step S1102, the application control circuit 210 determines whether a sleep message for shifting to the sleep state is received from the display operation control circuit 310 of the display operation module 300. This sleep message is transmitted to the application control circuit 210 in the following manner in the display operation control circuit 310. First, a sleep button is displayed on the LCD panel 312 which is a display unit, and the sleep button can be selected by the user using the TP / button 314. Thereafter, when this sleep button is selected by the user, the display operation control circuit 310 transmits a sleep message for shifting to the sleep state to the application control circuit 210.

ステップS1102で、スリープ状態に移行するスリープメッセージを受信したと判断した場合、ステップS1103に進む。ステップS1103において、アプリケーション制御回路210はスリープ処理を行なう。具体的には、アプリケーション制御回路210は、システム制御回路110にスリープメッセージを送信した後、フラグや制御変数等を必要に応じて不揮発性メモリ214に退避する。それと共に、OS及びカーネルを低消費電力で動作するスリープ動作状態に移行する。そしてシステム制御回路110は、スリープメッセージを受信すると、スマートデバイス50の全てのモジュールの動作をスリープ状態に移行する処理を行った後、ステップS1104に進む。   If it is determined in step S1102 that the sleep message for shifting to the sleep state has been received, the process advances to step S1103. In step S1103, the application control circuit 210 performs a sleep process. Specifically, after transmitting a sleep message to the system control circuit 110, the application control circuit 210 saves flags, control variables, and the like in the nonvolatile memory 214 as necessary. At the same time, the OS and the kernel are shifted to a sleep operation state in which the OS and kernel operate with low power consumption. When the system control circuit 110 receives the sleep message, the system control circuit 110 performs a process of shifting the operations of all the modules of the smart device 50 to the sleep state, and then proceeds to step S1104.

尚、ステップS1100で初期設定がされると、表示操作モジュール300のLCDパネル312には、上述した終了ボタン、スリープボタンの他、後述するリリースボタン、アプリ実行ボタンが表示される。これらのボタンのいずれもLCDパネル312に表示されてから所定時間が経過するまでにユーザ選択されない場合がある。また、本処理の開始時に表示操作モジュール300の電源ボタン314aへのユーザ操作があった後、表示操作制御回路310から送信される起動(Wake)信号が所定の時間を経過しても受信されない場合がある。このような場合、スリープメッセージを受信したのと同じようにステップS1103に進む。更に、ステップS1102において、アプリケーション制御回路210は、後述する処理による入力指示や起動(Wake)信号が最後に受信されたタイミングから経過した時間を積算する。この積算した時間を所定値と比較した結果、積算時間のほうが長ければスリープ状態に移行する。その後のスリープ処理については、前述した通りである。   When the initial setting is performed in step S1100, the LCD panel 312 of the display operation module 300 displays a release button and an application execution button described later in addition to the above-described end button and sleep button. None of these buttons may be selected by the user until a predetermined time has elapsed after being displayed on the LCD panel 312. In addition, after a user operation is performed on the power button 314a of the display operation module 300 at the start of this processing, the activation (Wake) signal transmitted from the display operation control circuit 310 is not received even after a predetermined time has elapsed. There is. In such a case, the process proceeds to step S1103 in the same manner as when the sleep message is received. Further, in step S1102, the application control circuit 210 integrates the time that has elapsed since the timing at which the input instruction or the activation (Wake) signal by the process described later was last received. As a result of comparing the accumulated time with a predetermined value, if the accumulated time is longer, the sleep state is entered. The subsequent sleep process is as described above.

ステップS1104において、アプリケーション制御回路210は、コネクタ280を介して、各モジュールから送信される起動(Wake)信号を受信したかどうか判断する。ステップS1104で起動(Wake)信号を受信しなかったならば、起動(Wake)信号を受信するまでスリープ動作状態を継続する。ここで、本実施例におけるスリープ動作状態とは、前述した電源OFFの状態とは異なる。例えば、移動体通信モジュール900が移動体通信の規格に準じた呼び出し信号を受信した際、アプリケーション制御回路210は、直ちにスマートデバイス50をスリープ動作状態から所定のアプリ実行状態へと移行させる。尚、こうした移動体無線通信システムの一般的な制御については、既に公知であるため詳しい説明を省略する。   In step S <b> 1104, the application control circuit 210 determines whether an activation (Wake) signal transmitted from each module is received via the connector 280. If the activation (Wake) signal is not received in step S1104, the sleep operation state is continued until the activation (Wake) signal is received. Here, the sleep operation state in the present embodiment is different from the power-off state described above. For example, when the mobile communication module 900 receives a call signal conforming to the mobile communication standard, the application control circuit 210 immediately shifts the smart device 50 from the sleep operation state to a predetermined application execution state. In addition, since it is already well-known about the general control of such a mobile radio | wireless communications system, detailed description is abbreviate | omitted.

ステップS1104で起動(Wake)信号を受信したならば、ステップS1105に進む。ステップS1105において、アプリケーション制御回路210は、フラグや制御変数等を必要に応じて不揮発性メモリ214から戻す。それと共に、OS及びカーネルを通常消費電力で動作する通常動作状態に移行し、電源制御回路220を介したスマートデバイス50の全てのモジュールへの電力供給を通常消費電力の設定に変更する復帰処理を行う。更にステップS1105において、アプリケーション制御回路210は、スマートデバイス50の本体のシステム制御回路110との通信の復帰処理を行う。このときシステム制御回路110は、アプリケーション制御回路210以外の全てのモジュールに対して復帰処理を行い、スマートデバイス50を通常動作状態に移行させて、ステップS1101に戻る。   If an activation (Wake) signal is received in step S1104, the process proceeds to step S1105. In step S1105, the application control circuit 210 returns flags, control variables, and the like from the nonvolatile memory 214 as necessary. At the same time, the OS and the kernel are shifted to a normal operation state where the OS and the kernel are operated with the normal power consumption, and the restoration process for changing the power supply to all the modules of the smart device 50 via the power control circuit 220 to the normal power consumption setting Do. Further, in step S1105, the application control circuit 210 performs communication restoration processing with the system control circuit 110 of the main body of the smart device 50. At this time, the system control circuit 110 performs return processing for all modules other than the application control circuit 210, shifts the smart device 50 to the normal operation state, and returns to step S1101.

ステップS1102でスリープ状態に移行するスリープメッセージを受信しなかった場合、ステップS1106に進む。ステップS1106において、アプリケーション制御回路210は、表示操作モジュール300の表示操作制御回路310からリリースメッセージを受信したかどうかを判断する。このリリースメッセージは、表示操作制御回路310において以下のような形でアプリケーション制御回路210に送信される。まず、表示操作制御回路310は、表示部であるLCDパネル312にリリースボタンを表示すると共に、このリリースボタンをTP/ボタン314でユーザ選択できる状態とする。その後、このリリースボタンがユーザ選択され、更に、どのモジュールの取り外しを行うかのユーザ指示が入力された場合、表示操作制御回路310は、アプリケーション制御回路210にリリース状態に移行するリリースメッセージを送信する。   If a sleep message for shifting to the sleep state is not received in step S1102, the process proceeds to step S1106. In step S <b> 1106, the application control circuit 210 determines whether a release message has been received from the display operation control circuit 310 of the display operation module 300. This release message is transmitted to the application control circuit 210 in the following manner in the display operation control circuit 310. First, the display operation control circuit 310 displays a release button on the LCD panel 312 which is a display unit, and sets the release button in a state where the user can select the release button with the TP / button 314. Thereafter, when this release button is selected by the user and a user instruction indicating which module is to be removed is input, the display operation control circuit 310 transmits a release message for shifting to the release state to the application control circuit 210. .

ステップS1106でリリース状態に移行するリリースメッセージを受信したと判断した場合、ステップS1107に進む。ステップS1107において、アプリケーション制御回路210は、ユーザが取り外しを意図するモジュールに対して、正常に機能を終了させてEPMを解放するためのリリース処理を実行する。リリース処理の詳細は、図7を用いて後述する。ステップS1107を終了すると、ステップS1101に戻る。   If it is determined in step S1106 that a release message for shifting to the release state has been received, the process advances to step S1107. In step S1107, the application control circuit 210 executes a release process for normally ending the function and releasing the EPM for the module that the user intends to remove. Details of the release process will be described later with reference to FIG. When step S1107 ends, the process returns to step S1101.

ステップS1106で、リリース状態に移行するリリースメッセージを受信しなかった場合、ステップS1108に進む。ステップS1108において、アプリケーション制御回路210は、各モジュールの検出(Detect)信号を受信したかどうかを判断する。ここで検出(Detect)信号とは、スマートデバイス50の本体に対して新たにモジュールが装着されたことを検出する信号である。また、この検出信号は、その新たに装着されたモジュールからシステム制御回路110を介してアプリケーション制御回路210に送信される電気信号のことである。   If it is determined in step S1106 that a release message for shifting to the release state has not been received, the process advances to step S1108. In step S1108, the application control circuit 210 determines whether a detection (Detect) signal of each module has been received. Here, the detection (Detect) signal is a signal for detecting that a module is newly attached to the main body of the smart device 50. The detection signal is an electrical signal transmitted from the newly mounted module to the application control circuit 210 via the system control circuit 110.

ステップS1108で検出(Detect)信号を受信したならば、ステップS1109に進む。ステップS1109において、アプリケーション制御回路210は、スマートデバイス50の本体に挿入された該当モジュールを固定し適切に機能させるためのモジュール設定処理を実行する。モジュール設定処理の詳細は、図8を用いて後述する。ステップS1109を終了すると、ステップS1101に戻る。   If a detection signal is detected in step S1108, the process proceeds to step S1109. In step S1109, the application control circuit 210 executes module setting processing for fixing the corresponding module inserted into the main body of the smart device 50 and causing it to function properly. Details of the module setting process will be described later with reference to FIG. When step S1109 ends, the process returns to step S1101.

ステップS1108で検出(Detect)信号を受信しなかったと判断した場合、ステップS1110に進む。ステップS1110において、アプリケーション制御回路210は、表示操作モジュール300の表示操作制御回路310から、アプリケーションプログラム関係メッセージを受信したかどうかを判断する。このアプリケーションプログラム関係メッセージは、表示操作制御回路310において以下のような形でアプリケーション制御回路210に送信される。まず、表示操作制御回路310は、表示部であるLCDパネル312にアプリ実行ボタンを表示すると共に、このアプリ実行ボタンをTP/ボタン314でユーザ選択できる状態とする。その後、このアプリ実行ボタンがユーザ選択され、更に、どのアプリケーションプログラムを実行するかユーザ入力された場合、表示操作制御回路310は、アプリケーション制御回路210にアプリケーションプログラム関係メッセージを送信する。   If it is determined in step S1108 that no detection signal has been received, the process advances to step S1110. In step S1110, the application control circuit 210 determines whether an application program related message is received from the display operation control circuit 310 of the display operation module 300. The application program related message is transmitted to the application control circuit 210 in the following manner in the display operation control circuit 310. First, the display operation control circuit 310 displays an application execution button on the LCD panel 312 which is a display unit, and sets the application execution button in a state where the user can select the application execution button with the TP / button 314. Thereafter, when the application execution button is selected by the user and the user inputs which application program to execute, the display operation control circuit 310 transmits an application program related message to the application control circuit 210.

ステップS1110でアプリケーションプログラム関係メッセージを受信したと判断した場合、ステップS1111に進み、アプリケーション制御回路210は、ステップS1111でアプリケーションプログラム実行処理を実行する。本実施例で想定されるアプリケーションプログラムには、各モジュールの組み合わせによって実現され得る様々な機能が含まれる。例えば、移動体通信モジュール900と表示操作モジュール300の組み合わせにより通話機能が可能となり、無線LANモジュール700と表示操作モジュール300の組み合わせによりインターネット接続を介したウェブ閲覧が可能となる。また例えば、撮像モジュール500のみによって一般的な撮影機能が実現され、そこへ撮像モジュール600を組み合わせることによって複眼カメラの機能である画像の合成機能や測定機能が実現される。こうしたアプリケーションプログラムの一例である撮影アプリケーション実行処理の詳細は、図9を用いて後述する。ステップS1111を終了すると、ステップS1101に戻る。   If it is determined in step S1110 that an application program-related message has been received, the process advances to step S1111 and the application control circuit 210 executes application program execution processing in step S1111. The application program assumed in the present embodiment includes various functions that can be realized by a combination of modules. For example, a call function is possible by the combination of the mobile communication module 900 and the display operation module 300, and web browsing via the Internet connection is possible by the combination of the wireless LAN module 700 and the display operation module 300. Further, for example, a general photographing function is realized only by the imaging module 500, and an image synthesis function and a measurement function, which are functions of a compound eye camera, are realized by combining the imaging module 600 therewith. Details of the photographing application execution process as an example of such an application program will be described later with reference to FIG. When step S1111 is completed, the process returns to step S1101.

ステップS1110でアプリケーションプログラム関係メッセージを受信しなかったと判断した場合、ステップS1101に戻る。   If it is determined in step S1110 that an application program related message has not been received, the process returns to step S1101.

図7は、図6のステップS1107のリリース処理の詳細な手順を示すフローチャートである。   FIG. 7 is a flowchart showing a detailed procedure of the release process in step S1107 of FIG.

図7において、まずステップS1201で、アプリケーション制御回路210は、システム制御回路110にユーザにより取り外し指示を受けたモジュール(以下「リリース対象モジュール」という)の機能の終了を指示するメッセージを送信する。次にステップS1202に進み、アプリケーション制御回路210は、システム制御回路110から送信される、リリース対象モジュールのモジュール情報が更新されていることを通知する情報更新メッセージを受信したかどうかを判断する。   In FIG. 7, first, in step S <b> 1201, the application control circuit 210 transmits a message instructing the system control circuit 110 to end the function of the module (hereinafter referred to as “release target module”) that has been instructed to be removed by the user. Next, proceeding to step S1202, the application control circuit 210 determines whether an information update message transmitted from the system control circuit 110 and notifying that the module information of the release target module has been updated has been received.

ステップS1202で情報更新メッセージを受信しなかったと判断した場合、アプリケーション制御回路210は、ステップS1203で所定のエラー処理を行う。その後、ステップS1205においてEPMを制御することにより、リリース対象モジュールのロック状態を解除して本処理を終了する。ステップS1203のエラー処理では、表示操作モジュール300などにエラー内容を表示してユーザに通知しても良い。   If it is determined in step S1202 that the information update message has not been received, the application control circuit 210 performs predetermined error processing in step S1203. Thereafter, by controlling the EPM in step S1205, the locked state of the release target module is released, and this process is terminated. In the error processing in step S1203, the error content may be displayed on the display operation module 300 or the like to notify the user.

ステップS1202で情報更新メッセージを受信したと判断した場合、ステップS1204に進む。ステップS1204において、アプリケーション制御回路210は、受信した情報更新メッセージの内容に応じて、OS及びカーネルが管理する不揮発性メモリ214及びメモリ212の所定領域に格納された管理情報を更新する。ここでいう管理情報とは、モジュール管理情報、EPM制御管理情報、RFバス構成管理情報を含む。その後、ステップS1215においてEPMを制御することにより、リリース対象モジュールのロック状態を解除して本処理を終了する。   If it is determined in step S1202 that an information update message has been received, the process advances to step S1204. In step S1204, the application control circuit 210 updates management information stored in a predetermined area of the nonvolatile memory 214 and the memory 212 managed by the OS and the kernel, according to the content of the received information update message. The management information here includes module management information, EPM control management information, and RF bus configuration management information. After that, by controlling the EPM in step S1215, the locked state of the release target module is released, and this process ends.

図8は、図6のステップS1109の装着処理の詳細な手順を示すフローチャートである。   FIG. 8 is a flowchart showing a detailed procedure of the mounting process in step S1109 of FIG.

図8において、まずステップS1301で、アプリケーション制御回路210は、システム制御回路110と共にメッセージ通信のコネクションセットアップを行い、システム制御回路110とのネットワークリンクを確立する。次にステップS1302に進み、アプリケーション制御回路210は、システム制御回路110を介してスマートデバイス50の本体に装着されたモジュール(以下「装着モジュール」という)から初期化などのモジュール情報を取得する。更にステップS1303に進み、アプリケーション制御回路210は、ステップS1302で取得したモジュール情報が、スマートデバイス50において問題の無い内容かどうかを検証する。例えば、安定した通信が可能か、既に装着されている電源モジュール400の電圧で動作可能か、またその他にも、スマートデバイス50に個別で設定されている規格がある場合にはそれを満足しているか等が検証される。   In FIG. 8, first, in step S <b> 1301, the application control circuit 210 performs message communication connection setup together with the system control circuit 110 to establish a network link with the system control circuit 110. In step S1302, the application control circuit 210 acquires module information such as initialization from a module mounted on the main body of the smart device 50 (hereinafter referred to as “mounted module”) via the system control circuit 110. In step S1303, the application control circuit 210 verifies whether the module information acquired in step S1302 has no problem in the smart device 50. For example, whether stable communication is possible, operation is possible with the voltage of the power supply module 400 that is already installed, and, in addition, if there is a standard that is set individually for the smart device 50, that is satisfied. It is verified whether or not.

ステップS1303で検証した結果に問題があれば、アプリケーション制御回路210は、ステップS1304で所定のエラー処理を行った後、装着モジュールに対して本処理を終了する。エラー処理では、表示操作モジュール300などにエラー内容などを表示してユーザに通知しても良い。   If there is a problem with the result verified in step S1303, the application control circuit 210 performs a predetermined error process in step S1304, and then ends the process for the mounted module. In the error processing, the error content or the like may be displayed on the display operation module 300 or the like to notify the user.

一方、ステップS1303で検証した結果に問題が無ければ、装着モジュールが正常であると判断し、ステップS1305に進む。ステップS1305において、アプリケーション制御回路210は、初期化を行う装着モジュールのモジュール情報に基づき、不揮発性メモリ214及びメモリ212の所定領域に格納された管理情報を更新する。ここでいう管理情報とは、モジュール管理情報、EPM制御管理情報、RFバス構成管理情報を含む。   On the other hand, if there is no problem in the result verified in step S1303, it is determined that the mounted module is normal, and the process proceeds to step S1305. In step S1305, the application control circuit 210 updates the management information stored in the predetermined areas of the nonvolatile memory 214 and the memory 212 based on the module information of the mounting module to be initialized. The management information here includes module management information, EPM control management information, and RF bus configuration management information.

次にステップS1306において、アプリケーション制御回路210は、システム制御回路110に初期化を行う装着モジュールのEPMロック指示メッセージを送信する。これにより、スマートデバイス50の本体と初期化を行う装着モジュールとが、EPMにより固定されてロック状態となる。   In step S <b> 1306, the application control circuit 210 transmits an EPM lock instruction message of a mounting module to be initialized to the system control circuit 110. As a result, the main body of the smart device 50 and the mounting module for initialization are fixed by the EPM and are locked.

続いて、ステップS1307でアプリケーション制御回路210は、システム制御回路110に向けて通信開始指示メッセージを送信し、一連の初期化処理を行った装着モジュールとのメッセージ通信が可能になったことを通知する。その後、ステップS1308において、状態変化フラグをONに切り替えて、本処理を終了する。ここでいう状態変化フラグとは、各モジュールに割り付けられて不揮発性メモリ214に保持されるフラグであり、各モジュールの状態変化の有無によりONとOFFとが切り替えられる再処理フラグである。状態変化フラグがONとなるのは、各モジュールの状態変化フラグがOFFの状態において、スマートデバイス50の本体に装着された各モジュールの状態が変化した時である。尚、状態の変化としては、各モジュールの装着の他に、外部からの衝撃、電池残量の変化、故障、性能の劣化などが含まれる。また、スマートデバイス50の本体にある温度センサ118により計測された温度変化が一定の閾値を超えた場合や、図5において不図示の湿度センサにより計測された湿度変化が一定の閾値を超えた場合は、すべてのモジュールの状態変化フラグがONとなる。   In step S 1307, the application control circuit 210 transmits a communication start instruction message to the system control circuit 110 to notify that message communication with the mounting module that has performed a series of initialization processing is possible. . Thereafter, in step S1308, the state change flag is switched to ON, and this process ends. Here, the state change flag is a flag that is assigned to each module and is held in the nonvolatile memory 214, and is a reprocessing flag that is switched between ON and OFF depending on whether or not the state of each module has changed. The state change flag is turned ON when the state of each module mounted on the main body of the smart device 50 is changed while the state change flag of each module is OFF. In addition to the mounting of each module, the change in state includes external impact, change in remaining battery level, failure, performance deterioration, and the like. Further, when the temperature change measured by the temperature sensor 118 in the main body of the smart device 50 exceeds a certain threshold, or when the humidity change measured by a humidity sensor not shown in FIG. 5 exceeds a certain threshold. The state change flags of all modules are turned ON.

本処理の結果、装着モジュールが正常であり(ステップS1303でYES)、更に装着モジュールがロック状態となったときに(ステップS1306)、装着モジュールの機能がスマートデバイス50において利用可能な状態となる。   As a result of this processing, when the mounting module is normal (YES in step S1303) and the mounting module is further locked (step S1306), the function of the mounting module becomes available in the smart device 50.

尚、本発明の装着処理は図8に示す手順に限定されるわけでない。例えば、各通信を安定させるため、EPMによる装着モジュールのロックをステップS1301の前に行っても良く、その場合はステップS1304の後にロック解除を行うことになる。   The mounting process of the present invention is not limited to the procedure shown in FIG. For example, in order to stabilize each communication, the mounting module may be locked by EPM before step S1301, and in that case, the lock is released after step S1304.

図9は、図6のステップS1111のアプリケーションプログラム実行処理の一例である撮影アプリケーション実行処理の動作フローを示すフローチャートである。   FIG. 9 is a flowchart showing an operation flow of a shooting application execution process which is an example of the application program execution process in step S1111 of FIG.

図9において、まずステップS1401で表示操作モジュール300の操作入力により撮影アプリケーションを立ち上げると、アプリケーション制御回路210は、管理テーブル290から撮影アプリケーションの管理ファイルの情報を取得する。この情報には、撮影アプリケーションを実行するのに不可欠なモジュールの種類や、撮影機能を最大限に活用できる該当モジュールの組み合わせや、該当モジュールを装着するのに最適な各スロットの位置関係が含まれる。   In FIG. 9, first, in step S <b> 1401, when a shooting application is started by an operation input of the display operation module 300, the application control circuit 210 acquires information on a shooting application management file from the management table 290. This information includes the types of modules that are indispensable for executing the shooting application, the combination of the modules that can make the most of the shooting functions, and the position of each slot that is optimal for mounting the modules. .

次にステップS1402に進み、アプリケーション制御回路210は、システム制御回路110を介して各モジュールからモジュール情報を取得する。そしてステップS1403において、撮像アプリケーションの管理ファイルの情報に基づき、必要なモジュールが装着されているか、その組み合わせに問題がないか等を検証する。   In step S1402, the application control circuit 210 acquires module information from each module via the system control circuit 110. In step S1403, based on the information in the management file of the imaging application, it is verified whether a necessary module is installed and whether there is a problem with the combination.

ステップS1403で検証した結果に問題があれば、アプリケーション制御回路210は、ステップS1404で所定のエラー処理を行った後、本撮影アプリケーション実行処理を終了する。エラー処理では、表示操作モジュール300などにエラー内容などを表示してユーザに通知しても良い。例えば、ステップS1402の時点でいずれのスロットにも撮像モジュールが装着されておらず、撮像アプリケーションを実行できない場合は、ステップS1404のエラー処理においてエラー内容を通知し、本撮影アプリケーション実行処理を終了する。またその他に、装着された撮像モジュール500に手ブレ補正(IS)の機能が備わっているにも関わらず、例えば姿勢検知モジュール800が装着されていないために手ブレを検知できない場合がある。この場合は、ステップS1404のエラー処理において撮影機能の一部を制限する。この場合は、本撮影アプリケーション実行処理を終了する必要はなく、エラー内容の通知に対してユーザの操作入力等があれば、状況に応じてステップS1405の撮影実行処理に移行しても良い。   If there is a problem with the result of verification in step S1403, the application control circuit 210 performs predetermined error processing in step S1404, and then ends the photographing application execution processing. In the error processing, the error content or the like may be displayed on the display operation module 300 or the like to notify the user. For example, if no imaging module is mounted in any slot at the time of step S1402 and the imaging application cannot be executed, the error content is notified in the error processing of step S1404, and the imaging application execution processing is terminated. In addition, there is a case where camera shake cannot be detected because, for example, the posture detection module 800 is not attached, even though the attached imaging module 500 has a camera shake correction (IS) function. In this case, a part of the photographing function is limited in the error processing in step S1404. In this case, it is not necessary to end the photographing application execution process, and if there is a user operation input or the like for the notification of the error content, the process may proceed to the photographing execution process in step S1405 depending on the situation.

ステップS1403で検証した結果に問題が無ければ、ステップS1405に進んで撮影実行処理を行う。その後、アプリケーション制御回路210は、撮像アプリケーションに必要な各モジュールの動作を停止し、本処理を終了する。撮影実行処理の詳細は、図10を用いて後述する。   If there is no problem with the result of the verification in step S1403, the process proceeds to step S1405 to perform a shooting execution process. Thereafter, the application control circuit 210 stops the operation of each module necessary for the imaging application, and ends this process. Details of the photographing execution process will be described later with reference to FIG.

図10は、図9のステップS1405において実行される撮影実行処理の手順を示すフローチャートである。   FIG. 10 is a flowchart showing the procedure of the photographing execution process executed in step S1405 of FIG.

図10のステップS1501で、アプリケーション制御回路210は、モジュール起動指示のメッセージをシステム制御回路110に送信する。システム制御回路110を介してこの撮像モジュール起動指示のメッセージを受信すると、装着されている撮像モジュール(本実施例では、撮像モジュール500,600)はリセット動作を行って撮影準備を完了させる。   In step S1501 of FIG. 10, the application control circuit 210 transmits a module activation instruction message to the system control circuit 110. When the imaging module activation instruction message is received via the system control circuit 110, the mounted imaging module (in this embodiment, the imaging modules 500 and 600) performs a reset operation to complete preparation for imaging.

次にステップS1502において、図9のステップS1402で取得したモジュール情報から、アプリケーション制御回路210は、撮像モジュールが複数装着されているかどうかを判断する。撮像モジュールが一つのみであった場合はステップS1503に進む。例えば撮像モジュール500のみが装着されている場合、アプリケーション制御回路210が、そのカメラ510を利用して単眼モードの一般的な撮影を実行し、ステップS1510に進む。ここでいう一般的な撮影とは、自動露出(AE)、自動焦点調節(AF)、自動ホワイトバランス(AWB)、手ブレ補正(IS)等の制御を行いつつ、撮像センサから所望の画像データを取得することである。尚、本発明はこうした一般的な撮影の内容を限定するものではなく、またこれらは既に先行技術文献等により公知であるため、詳細な説明は省略する。   Next, in step S1502, the application control circuit 210 determines whether or not a plurality of imaging modules are mounted from the module information acquired in step S1402 of FIG. If there is only one imaging module, the process proceeds to step S1503. For example, when only the imaging module 500 is mounted, the application control circuit 210 executes general imaging in the monocular mode using the camera 510, and the process proceeds to step S1510. The general photographing here refers to desired image data from an image sensor while controlling automatic exposure (AE), automatic focus adjustment (AF), automatic white balance (AWB), camera shake correction (IS), and the like. Is to get. The present invention does not limit the contents of such general photography, and since these are already known from prior art documents and the like, detailed description thereof is omitted.

ステップS1502で、撮像モジュールが複数装着されていると判断した場合は、ステップS1504に進む。ステップS1504において、アプリケーション制御回路210は、装着されている各撮像モジュールの状態が変化したかどうかを検知するため、状態変化フラグがONとなっているかどうかを判断する。このとき、状態変化フラグが全てOFFであればステップS1508に進む。このとき、例えば撮像モジュール500,600が装着され、且つ複眼モードでの撮影のユーザ指示があった場合、ステップS1508のAF切り替え処理を行なう。その後、アプリケーション制御回路210が、そのカメラ510,610を介して複眼モードの撮影を実行した後、本処理を終了する。前述のように、複眼カメラの機能には、画像の合成機能や測定機能が含まれる。   If it is determined in step S1502 that a plurality of imaging modules are mounted, the process proceeds to step S1504. In step S1504, the application control circuit 210 determines whether or not the state change flag is ON in order to detect whether or not the state of each mounted imaging module has changed. At this time, if all the state change flags are OFF, the process proceeds to step S1508. At this time, for example, when the imaging modules 500 and 600 are mounted and there is a user instruction for photographing in the compound eye mode, AF switching processing in step S1508 is performed. After that, the application control circuit 210 performs imaging in the compound eye mode via the cameras 510 and 610, and then ends this processing. As described above, the functions of the compound eye camera include an image composition function and a measurement function.

ステップS1504の判断の結果、装着されている撮像モジュール(例えば撮像モジュール500,600)のいずれかの状態変化フラグがONとなっていた場合、ステップS1505に進む。   As a result of the determination in step S1504, when any state change flag of the mounted imaging module (for example, the imaging modules 500 and 600) is ON, the process proceeds to step S1505.

ステップS1505では、そのカメラ510,610の光軸間の距離である基線長の情報を取得する。具体的には、アプリケーションプログラム制御モジュール200に設けられた管理テーブル290から、撮像モジュール500,600が装着された各スロット1500、1600の位置関係に対応した値を基線長の情報として取得する。   In step S1505, information on the baseline length, which is the distance between the optical axes of the cameras 510 and 610, is acquired. Specifically, from the management table 290 provided in the application program control module 200, a value corresponding to the positional relationship between the slots 1500 and 1600 in which the imaging modules 500 and 600 are mounted is acquired as baseline length information.

続いてステップS1506において、アプリケーション制御回路210は、ステップS1505で取得した基線長の情報に基づき、不揮発性メモリ214及びメモリ212の所定領域に格納された管理情報を更新する。ここでいう管理情報とは、ステップS1505で新たに得た基線長の情報以外に、モジュール管理情報、EPM制御管理情報、RFバス構成管理情報を含む。   Subsequently, in step S1506, the application control circuit 210 updates the management information stored in the predetermined areas of the nonvolatile memory 214 and the memory 212 based on the baseline length information acquired in step S1505. The management information here includes module management information, EPM control management information, and RF bus configuration management information in addition to the base line length information newly obtained in step S1505.

その後、ステップS1507へ進み、アプリケーション制御回路210はステップS1504でONとなっていると判断された状態変化フラグをOFFに切り替える。ここで状態変化フラグがONとなるタイミングとは、例えば図8の装着処理におけるステップS1308で新たなモジュールをスマートデバイス50の本体に対して装着した時である。一方、状態変化フラグがOFFとなるタイミングとは、例えば、ステップS1507のように、管理ファイルを最新の状態に更新した直後である。このように、適切なタイミングで状態変化フラグのONとOFFとを切り替えることにより、本実施例ではモジュールの状態変化が常に管理される。   Thereafter, the process proceeds to step S1507, and the application control circuit 210 switches the state change flag determined to be ON in step S1504 to OFF. Here, the timing when the state change flag is turned on is, for example, when a new module is mounted on the main body of the smart device 50 in step S1308 in the mounting process of FIG. On the other hand, the timing when the state change flag is turned off is immediately after the management file is updated to the latest state as in step S1507, for example. As described above, by switching the state change flag between ON and OFF at an appropriate timing, the module state change is always managed in this embodiment.

続いてステップS1508に進み、アプリケーション制御回路210が、状況に応じてAF制御方式を位相差AF制御とコントラストAF制御かを選択するAF切り替え処理を実行する。AF切り替え処理の詳細は図11において説明する。尚、図11のAF切り替え処理は、複眼モードでの撮影のユーザ指示があった場合の処理である。   In step S1508, the application control circuit 210 executes AF switching processing for selecting an AF control method between phase difference AF control and contrast AF control according to the situation. Details of the AF switching process will be described with reference to FIG. Note that the AF switching process in FIG. 11 is a process when there is a user instruction for photographing in the compound eye mode.

それぞれのAF制御方式については公知の技術であるため、具体的な制御に関してはここでは省略するが、概略、次のように動作する。   Since each AF control method is a known technique, specific control is omitted here, but generally operates as follows.

位相差AF制御は、カメラ510,610それぞれに撮像された画像の視差(視差情報)を元に、カメラ510,610間の基線長から三角測量によって奥行きを求めて被写体距離を計算し、焦点位置を検出する。尚、前述したように、基線長とは、少なくとも2つの撮像モジュールの視差情報を処理する目的で用いられる変数であって、2つの光軸間の距離を示しているが、先行技術文献によっては位置ずれ量や視差といった表現で記載されるものである。カメラ510,610間の基線長の算出方法については後述する。   The phase difference AF control calculates the subject distance by obtaining the depth by triangulation from the base line length between the cameras 510 and 610 based on the parallax (parallax information) of the images captured by the cameras 510 and 610, and the focal position. Is detected. As described above, the baseline length is a variable used for the purpose of processing the parallax information of at least two imaging modules and indicates the distance between the two optical axes. It is described in terms of positional deviation amount and parallax. A method for calculating the baseline length between the cameras 510 and 610 will be described later.

一方、コントラストAF制御は、被写体像を撮像するための撮像素子から出力された信号のレベルがピークに向かう方向に、カメラ内部の焦点調節レンズを駆動させる。コントラストAF制御は、位相差AF制御のように合焦に必要な焦点調節レンズの駆動方向、駆動量を直接検知することはできないため、合焦動作に時間がかかってしまうという欠点がある。しかし、撮像素子からの出力信号に基づいて合焦判定を行っているので、高精度に焦点検出を行うことが出来るという特長をもつ。   On the other hand, in contrast AF control, the focus adjustment lens in the camera is driven in a direction in which the level of the signal output from the image sensor for capturing a subject image is directed toward the peak. Contrast AF control has a drawback in that it takes time to perform the focusing operation because it cannot directly detect the driving direction and driving amount of the focus adjustment lens necessary for focusing unlike phase difference AF control. However, since the focus determination is performed based on the output signal from the image sensor, the focus detection can be performed with high accuracy.

次に、ステップS1509に進み、アプリケーション制御回路210が、例えばカメラ510,610を複眼カメラとして利用して複眼モードの撮影を実行した後、本処理を終了する。前述のように複眼カメラの機能には、画像の合成機能や測定機能が含まれる。   In step S1509, the application control circuit 210 performs photographing in the compound eye mode using, for example, the cameras 510 and 610 as compound eye cameras, and then ends the present process. As described above, the functions of the compound eye camera include an image composition function and a measurement function.

最後にステップS1510で、アプリケーション制御回路210は、撮像モジュール終了指示のメッセージをシステム制御回路110に送信し、本処理を終了する。システム制御回路110はこの撮像モジュール終了指示のメッセージを受信すると、電源制御回路220を介して撮像モジュール500,600への電源供給を、低消費電力の設定に変更する。   Finally, in step S1510, the application control circuit 210 transmits an imaging module end instruction message to the system control circuit 110, and the process ends. When receiving the imaging module end instruction message, the system control circuit 110 changes the power supply to the imaging modules 500 and 600 via the power control circuit 220 to a setting of low power consumption.

図11は、図10のステップS1508において行われるAF切り替え処理の手順を示すフローチャートである。上述のように、このAF切り替え処理は、複眼モードでの撮影指示がユーザからあった場合に行われる。   FIG. 11 is a flowchart showing the procedure of AF switching processing performed in step S1508 of FIG. As described above, this AF switching process is performed when a user gives a shooting instruction in the compound eye mode.

図11のステップS1601で、アプリケーション制御回路210により合焦指示のメッセージをシステム制御回路110に送信する。システム制御回路110を介してこの合焦指示のメッセージを受信すると、装着されている撮像モジュール(本実施例では、撮像モジュール500,600)はそのカメラ510,610の合焦動作を開始する。   In step S1601 of FIG. 11, the application control circuit 210 transmits a focusing instruction message to the system control circuit 110. When the instructing instruction message is received via the system control circuit 110, the mounted imaging module (imaging modules 500 and 600 in this embodiment) starts the focusing operation of the cameras 510 and 610.

ステップS1602でカメラ510,610の視差情報を利用した位相差AFによって撮影画面内所定位置の被写体に対する焦点検出を行う。   In step S1602, focus detection is performed on a subject at a predetermined position in the shooting screen by phase difference AF using the parallax information of the cameras 510 and 610.

次にステップS1603へ進み、アプリケーション制御回路210によって、位相差AFによって位相差AFによって焦点検出(合焦)されたかどうか判定する。位相差AFによって焦点検出されなかった場合は、ステップS1606へ進み、位相差AFからコントラストAFに切り替える。   In step S1603, the application control circuit 210 determines whether the focus is detected (focused) by the phase difference AF by the phase difference AF. If focus detection is not performed by phase difference AF, the process advances to step S1606 to switch from phase difference AF to contrast AF.

次にステップS1603において、位相差AF制御によって焦点検出された場合は、ステップS1604へ進み、あらかじめ設定された閾値を取得する。この閾値は距離を示す値であり、後述するステップS1605において位相差AF制御で測距された被写体距離と比較される。   In step S1603, if focus detection is performed by phase difference AF control, the process proceeds to step S1604, and a preset threshold value is acquired. This threshold value is a value indicating the distance, and is compared with the subject distance measured by the phase difference AF control in step S1605 described later.

なお、閾値は、基線長に応じて異なる。基線長が長い場合は、至近側での位相差AF制御での測距精度が低いため、閾値は大きく、基線長が短い場合は、至近側での位相差AF制御での測距に強いため閾値は小さい。   The threshold value varies depending on the baseline length. When the baseline length is long, the distance measurement accuracy in the phase difference AF control on the near side is low, so the threshold is large, and when the baseline length is short, the distance difference in the phase difference AF control on the near side is strong. The threshold is small.

その後ステップS1605に進み、位相差AF制御により測距された被写体距離がステップS1604で得られた閾値で示す距離よりも遠い場合は合焦ができたと判断し、ステップS1609に進む。ステップS1609でアプリケーション制御回路210は、合焦結果を通知し、AF切り替え処理を終了する。   Thereafter, the process proceeds to step S1605, and if the subject distance measured by the phase difference AF control is longer than the distance indicated by the threshold obtained in step S1604, it is determined that focusing has been achieved, and the process proceeds to step S1609. In step S1609, the application control circuit 210 notifies the focusing result, and ends the AF switching process.

ステップS1605において、前期位相差AF制御により測距された被写体距離がステップS1604で得られた閾値で示す距離よりも近い場合は、ステップS1606へ進み、位相差AF制御からコントラストAF制御に切り替える(切替手段)。これは、カメラ510,610同士が遠くて基線長が長いと、望遠側では測距精度が高い反面、至近側では画像処理が困難となり正確に測距できない恐れがあるためである。   In step S1605, if the subject distance measured by the previous phase difference AF control is closer than the distance indicated by the threshold obtained in step S1604, the process proceeds to step S1606, where the phase difference AF control is switched to the contrast AF control (switching). means). This is because if the cameras 510 and 610 are far from each other and the base line length is long, the distance measurement accuracy is high on the telephoto side, but image processing is difficult on the close side and accurate distance measurement may not be possible.

続いてステップS1607へ進み、ステップS1606のコントラストAFによって合焦できているかどうか判定する。コントラストAFによって合焦できない場合は、アプリケーション制御回路210は、ステップS1608で所定のエラー処理を行った後、本AF切り替え処理を終了する。   Subsequently, the process proceeds to step S1607, and it is determined whether or not the focus is achieved by the contrast AF in step S1606. If focusing cannot be performed by contrast AF, the application control circuit 210 performs a predetermined error process in step S1608, and then ends the AF switching process.

コントラストAFで合焦できた場合は、アプリケーション制御回路210は、ステップS1609で合焦結果を通知し、AF切り替え処理を終了する。   If the focus can be achieved by contrast AF, the application control circuit 210 notifies the focus result in step S1609, and ends the AF switching process.

また、アプリケーション制御回路210は、マクロ撮影モードと望遠モードを備えている。これらのモードがユーザ選択された場合、図11とは異なるAF切り替え処理が行われる。具体的には、マクロ撮影モードがユーザにより選択された場合は、測距された被写体距離の値に関係なく、位相差AF制御による焦点検出をした後、コントラストAF制御に切り替えて焦点検出を行なう。この結果、より精度の高い合焦結果を得ることが可能となる。一方、望遠モードがユーザにより選択された場合、AF制御方式として位相差AF制御のみを有効にする。この結果、より高速で測距することが可能となる。   The application control circuit 210 has a macro shooting mode and a telephoto mode. When these modes are selected by the user, AF switching processing different from that in FIG. 11 is performed. Specifically, when the macro shooting mode is selected by the user, focus detection by phase difference AF control is performed and focus detection is performed by switching to contrast AF control regardless of the measured subject distance value. . As a result, it is possible to obtain a more accurate focusing result. On the other hand, when the telephoto mode is selected by the user, only the phase difference AF control is enabled as the AF control method. As a result, distance measurement can be performed at a higher speed.

以上で、スマートデバイス50の一連の動作フローの説明を終了する。尚、図5に示すアプリケーションプログラム制御モジュール200に設けられた管理テーブル290は、無線LANモジュール700等により、アプリケーションプログラムのアップデートがされた時点で情報を更新することができる。そのため、図5における管理テーブル290は、各モジュールの種類や実現できる機能、その他必要となる情報を適宜変更したり追加したりすることが可能である。   Above, description of a series of operation | movement flow of the smart device 50 is complete | finished. Note that the management table 290 provided in the application program control module 200 shown in FIG. 5 can update information when the application program is updated by the wireless LAN module 700 or the like. Therefore, the management table 290 in FIG. 5 can appropriately change or add the types of modules, functions that can be realized, and other necessary information.

図12は、図10のステップS1505において実行される基線長の算出方法を示した説明図である。   FIG. 12 is an explanatory diagram showing the baseline length calculation method executed in step S1505 of FIG.

前述した図10のステップS1505において、アプリケーション制御回路210は、スマートデバイス50の本体のメモリ114から各スロットの位置情報を取得する。ここで本実施例における各スロットの位置情報とは、スロット1500,1600との位置情報を含み、モジュールの位置を決定する各リブ101a,c〜hやスパイン102の突き当て面の位置を特定するものである。これと同時に、ステップS1505においてアプリケーション制御回路210は、撮像モジュール500の不揮発性メモリ522からカメラ510における光軸の座標情報を取得する。またアプリケーション制御回路210は、撮像モジュール600の不揮発性メモリ622からカメラ610における光軸の座標情報を取得する。ここで本実施例における各光軸の座標情報とは、それぞれの撮像モジュール500,600の外形から見た各光軸の座標を特定するものである。   In step S1505 of FIG. 10 described above, the application control circuit 210 acquires the position information of each slot from the memory 114 of the main body of the smart device 50. Here, the position information of each slot in the present embodiment includes the position information with respect to the slots 1500 and 1600, and specifies the positions of the abutment surfaces of the ribs 101a, c to h and the spine 102 that determine the position of the module. Is. At the same time, in step S1505, the application control circuit 210 acquires the coordinate information of the optical axis in the camera 510 from the nonvolatile memory 522 of the imaging module 500. In addition, the application control circuit 210 acquires coordinate information of the optical axis in the camera 610 from the nonvolatile memory 622 of the imaging module 600. Here, the coordinate information of each optical axis in the present embodiment specifies the coordinates of each optical axis viewed from the outer shape of each of the imaging modules 500 and 600.

具体的にはこうした位置・座標情報を基にして、アプリケーション制御回路210は、図12に示すX101〜X103及びY101、Y102のそれぞれの数値を得る。X101は、撮像モジュール500の突き当て面からカメラ510における光軸までの水平方向の長さを示しており、同じくY101は、垂直方向の長さを示している。X102は、スマートデバイス50の本体におけるスパイン102の水平方向の長さを示している。X103は、撮像モジュール600の突き当て面からカメラ610における光軸までの水平方向の長さを示しており、同じくY102は、垂直方向の長さを示している。   Specifically, based on such position / coordinate information, the application control circuit 210 obtains the numerical values of X101 to X103 and Y101 and Y102 shown in FIG. X101 indicates the horizontal length from the abutment surface of the imaging module 500 to the optical axis of the camera 510, and Y101 similarly indicates the vertical length. X <b> 102 indicates the horizontal length of the spine 102 in the main body of the smart device 50. X103 indicates the horizontal length from the abutting surface of the imaging module 600 to the optical axis of the camera 610, and Y102 similarly indicates the vertical length.

図12に示すL100は、カメラ510における光軸とカメラ610における光軸とを結んだ中心線の長さを示しており、基線長に相当するものである。基線長L100は、X101〜X103とY101、Y102とから幾何学的に算出されるものである。ここで本実施例における基線長L100は、下記数1に示す計算式によって求められる。   L100 shown in FIG. 12 indicates the length of the center line connecting the optical axis in the camera 510 and the optical axis in the camera 610, and corresponds to the base line length. The baseline length L100 is geometrically calculated from X101 to X103 and Y101 and Y102. Here, the baseline length L100 in the present embodiment is obtained by the calculation formula shown in the following formula 1.

[数1]
L100=√{(X101+X102+X103)+(Y101−Y102)
上記に示すように、計算式自体は比較的単純であり、アプリケーションプログラム制御モジュール200のメモリ212や不揮発性メモリ214に要求とされるメモリ容量は比較的少ない。更に、アプリケーション制御回路210による処理速度は非常に高速であるため、合焦や露光開始までにタイムラグを生じさせてしまう恐れはない。
[Equation 1]
L100 = √ {(X101 + X102 + X103) 2 + (Y101−Y102) 2 }
As described above, the calculation formula itself is relatively simple, and the memory capacity required for the memory 212 and the nonvolatile memory 214 of the application program control module 200 is relatively small. Furthermore, since the processing speed by the application control circuit 210 is very high, there is no possibility of causing a time lag before focusing or starting exposure.

(実施例2)
ここまで本発明の好ましい実施の形態を、図1〜12に示す実施例1に従って説明してきた。ここから以下に、モジュールを取り付けるスロットの組み合わせのみを実施例1から変更する実施例2について説明する。
(Example 2)
So far, a preferred embodiment of the present invention has been described according to Example 1 shown in FIGS. Hereafter, a description will be given of a second embodiment in which only the combination of slots in which modules are mounted is changed from the first embodiment.

図13は、本実施例にかかる電子機器としてのスマートデバイス50の外観図であり、図10のステップS1505において実行される基線長の計算方法を示した説明図である。   FIG. 13 is an external view of the smart device 50 as an electronic apparatus according to the present embodiment, and is an explanatory diagram illustrating the baseline length calculation method executed in step S1505 of FIG.

本実施例は実施例1と異なり、スマートデバイス50の本体の背面側において、スロット1600に撮像モジュール500が、またスロット1100に撮像モジュール600が装着されている。そして、実施例1において撮像モジュール500が装着されていたスロット1500に対して、本実施例では記録モジュール150が取り付けられた状態となっている。こうすることによって、カメラ510における光軸とカメラ610における光軸とをより離して配置し、基線長を長くすることができる。一般的に基線長を長くすると、遠くの被写体を撮影する際、立体視モードにおいて立体感を得やすく、また測距精度を高めることが可能である。また、ユーザがスマートデバイス50を使用する際の持ちやすさなどによっても、こうした撮像モジュール500,600との位置関係は変更されるものである。   In the present embodiment, unlike the first embodiment, the imaging module 500 is mounted in the slot 1600 and the imaging module 600 is mounted in the slot 1100 on the back side of the main body of the smart device 50. In this embodiment, the recording module 150 is attached to the slot 1500 in which the imaging module 500 is mounted in the first embodiment. By doing so, the optical axis in the camera 510 and the optical axis in the camera 610 can be arranged further apart, and the base line length can be increased. In general, when the base line length is increased, it is easy to obtain a stereoscopic effect in the stereoscopic mode when shooting a distant subject, and it is possible to improve the ranging accuracy. The positional relationship with the imaging modules 500 and 600 is also changed depending on the ease of holding the user when using the smart device 50.

前述した図10のステップS1505においてアプリケーション制御回路210は、スマートデバイス50の本体のメモリ114から各スロットの位置情報を取得する。ここで本実施形態における各スロットの位置情報とは、スロット1500,1600,1800の位置情報を含み、モジュールの位置を決定する各リブ101a〜hやスパイン102の突き当て面の位置を特定するものである。これと同時に、ステップS1505においてアプリケーション制御回路210は、撮像モジュール500の不揮発性メモリ522からカメラ510における光軸の座標情報を取得する。またアプリケーション制御回路210は、撮像モジュール600の不揮発性メモリ622からカメラ610における光軸の座標情報を取得する。ここで本実施例における各光軸の座標情報とは、それぞれの撮像モジュール500,600の外形から見た各光軸の座標を特定するものである。   In step S1505 of FIG. 10 described above, the application control circuit 210 acquires the position information of each slot from the memory 114 of the main body of the smart device 50. Here, the position information of each slot in the present embodiment includes the position information of the slots 1500, 1600, and 1800, and specifies the positions of the ribs 101a to h that determine the position of the module and the abutting surface of the spine 102. It is. At the same time, in step S1505, the application control circuit 210 acquires the coordinate information of the optical axis in the camera 510 from the nonvolatile memory 522 of the imaging module 500. In addition, the application control circuit 210 acquires coordinate information of the optical axis in the camera 610 from the nonvolatile memory 622 of the imaging module 600. Here, the coordinate information of each optical axis in the present embodiment specifies the coordinates of each optical axis viewed from the outer shape of each of the imaging modules 500 and 600.

具体的にはこうした位置・座標情報を基にして、アプリケーション制御回路210は、図13に示すX201〜X203及びY201、Y202のそれぞれの数値を得る。X201は、撮像モジュール500の突き当て面からカメラ510における光軸までの水平方向の長さを示しており、同じくY201は、垂直方向の長さを示している。X202は、スマートデバイス50の本体におけるリブ101fとリブ101hの水平方向の長さを示している。X203は、撮像モジュール600の突き当て面からカメラ610における光軸までの水平方向の長さを示しており、同じくY202は、垂直方向の長さを示している。   Specifically, based on such position / coordinate information, the application control circuit 210 obtains numerical values of X201 to X203, Y201, and Y202 shown in FIG. X201 indicates the horizontal length from the abutting surface of the imaging module 500 to the optical axis of the camera 510, and Y201 indicates the vertical length. X202 indicates the horizontal length of the rib 101f and the rib 101h in the main body of the smart device 50. X203 indicates the horizontal length from the abutting surface of the imaging module 600 to the optical axis of the camera 610, and Y202 similarly indicates the vertical length.

図13に示すL200は、カメラ510における光軸とカメラ610における光軸とを結んだ中心線の長さを示しており、基線長に相当するものである。基線長L200は、X201〜X203とY201、Y202とから幾何学的に算出されるものである。ここで本実施例における基線長L200は、下記数2に示す計算式によって求められる。   L200 shown in FIG. 13 indicates the length of the center line connecting the optical axis of the camera 510 and the optical axis of the camera 610, and corresponds to the base line length. The base line length L200 is geometrically calculated from X201 to X203 and Y201 and Y202. Here, the baseline length L200 in the present embodiment is obtained by the calculation formula shown in the following formula 2.

[数2]
L200=√{(X201+X202+X203)+(Y201−Y202)
上記に示すように、計算式自体は比較的単純であり、アプリケーションプログラム制御モジュール200のメモリ212や不揮発性メモリ214に要求とされるメモリ容量は比較的少ない。更に、アプリケーション制御回路210による処理速度は非常に高速であるため、合焦や露光開始までにタイムラグを生じさせてしまう恐れはない。
[Equation 2]
L200 = √ {(X201 + X202 + X203) 2 + (Y201−Y202) 2 }
As described above, the calculation formula itself is relatively simple, and the memory capacity required for the memory 212 and the nonvolatile memory 214 of the application program control module 200 is relatively small. Furthermore, since the processing speed by the application control circuit 210 is very high, there is no possibility of causing a time lag before focusing or starting exposure.

以上が、本実施例にかかる図10のステップS1506において実行される基線長Lの計算方法である。   The above is the calculation method of the baseline length L executed in step S1506 of FIG. 10 according to the present embodiment.

また、前述のように、スマートデバイス50は装着されるモジュールの組み合わせが比較的自由であるため、複数の撮像モジュールをそれぞれ異なるスロットに装着することもできる。このため、それぞれのカメラの光軸を結ぶ中心線の長さ、すなわち基線長Lは一様ではない。   As described above, since the smart device 50 has a relatively free combination of modules to be mounted, a plurality of imaging modules can be mounted in different slots. For this reason, the length of the center line connecting the optical axes of the respective cameras, that is, the base line length L is not uniform.

前述のように、カメラ510,610同士が遠く基線長が長い状態においては、望遠側では測距精度が高くなる半面、至近側では画像処理が困難となり正確に測距できなくなるなど、基線長の長さが測距性能の結果に寄与している。   As described above, in the state where the cameras 510 and 610 are far from each other and the base length is long, the distance measurement accuracy is high on the telephoto side, and on the close side, image processing becomes difficult and accurate distance measurement becomes impossible. The length contributes to the ranging performance result.

このため、アプリケーションプログラム制御モジュール200は、撮像モジュール500,600の間隔の大きさに応じて設定される閾値を保持し、この閾値と測距される被写体距離とを比較する。   Therefore, the application program control module 200 holds a threshold set according to the size of the interval between the imaging modules 500 and 600, and compares this threshold with the subject distance to be measured.

例えば、図12に示す撮像モジュール500,600の間隔が狭い第一の装着状態での基線長L100は、図13に示す撮像モジュール500,600の間隔が広い第二の装着状態での基線長L200よりも短い。   For example, the baseline length L100 in the first mounting state where the interval between the imaging modules 500 and 600 shown in FIG. 12 is narrow is the baseline length L200 in the second mounting state where the interval between the imaging modules 500 and 600 shown in FIG. Shorter than.

この時、第一の装着状態に応じて設定される閾値は、第二の装着状態に応じて設定される閾値よりも小さくなる。   At this time, the threshold value set according to the first wearing state is smaller than the threshold value set according to the second wearing state.

以上、本発明の好ましい実施例1とは別の実施の形態を、図13に従って説明した。尚、スマートデバイス50の本体に装着可能なモジュールは多種多様であり、またモジュールを装着するスロットもユーザにより自由に選択可能であるため、図13に示す組み合わせは単なる一例に過ぎず、本発明はその組み合わせを限定するものではない。   The embodiment different from the preferred embodiment 1 of the present invention has been described with reference to FIG. Since there are a wide variety of modules that can be mounted on the main body of the smart device 50, and the slot into which the module is mounted can be freely selected by the user, the combination shown in FIG. 13 is merely an example, and the present invention is The combination is not limited.

(実施例3)
ここまで本発明の好ましい実施の形態を、図1〜13に示す実施例1,2に従って説明してきた。ここから以下に、複眼モードの撮影実行時におけるLCDパネル312のライブビュー画像の表示方法のみを実施例1及び実施例2から変更する実施例3について説明する。
(Example 3)
So far, the preferred embodiment of the present invention has been described according to Examples 1 and 2 shown in FIGS. Hereinafter, a third embodiment in which only the display method of the live view image on the LCD panel 312 at the time of performing the photographing in the compound eye mode is changed from the first and second embodiments will be described.

本実施例に係るスマートデバイス50の本体とその他のモジュールとは実施例1と同じ構成であるため、本実施例においては実施例1と異なる部分のみを説明する。   Since the main body and other modules of the smart device 50 according to the present embodiment have the same configuration as in the first embodiment, only the portions different from the first embodiment will be described in the present embodiment.

図14(a)はスマートデバイス50の本体の、表示操作モジュール300側外観図、側面外観図、撮像モジュール500,600側外観図を示した図である。   FIG. 14A is a diagram showing an external view of the display device module 300 side, a side external view, and an imaging module 500, 600 side of the main body of the smart device 50.

図14(b)はマルチ表示モード時のLCDパネル312の外観図、図14(c)はシングル表示モード時のLCDパネル312の外観図を示している。   FIG. 14B shows an external view of the LCD panel 312 in the multi display mode, and FIG. 14C shows an external view of the LCD panel 312 in the single display mode.

図14(b)に示すように、LCDパネル312は、撮像モジュール500から出力されるライブビュー画像511と、撮像モジュール600から出力されるライブビュー画像611をマルチ表示する事ができる。   As illustrated in FIG. 14B, the LCD panel 312 can perform multi-display of the live view image 511 output from the imaging module 500 and the live view image 611 output from the imaging module 600.

また、マルチ表示モードでは、LCDパネル312の表示領域において、撮像モジュール500に近接する側にライブビュー画像511を、撮像モジュール600に近接する側にライブビュー画像611を表示する。   In the multi display mode, the live view image 511 is displayed on the side close to the imaging module 500 and the live view image 611 is displayed on the side close to the imaging module 600 in the display area of the LCD panel 312.

尚、本実施例では、ライブビュー画像511,611をそれぞれが出力される撮像モジュールに近接する側に表示しているが、本発明はこれに限定されるものではなくユーザ指定により任意に変更可能である。   In this embodiment, the live view images 511 and 611 are displayed on the side close to the imaging module to which each is output. However, the present invention is not limited to this and can be arbitrarily changed by user designation. It is.

図14(c)に示すように、LCDパネル312は、ライブビュー画像511,611のいずれかを選択して表示したり、画像の合成、または、複眼モードでの撮影を行った後、位相差AF制御により処理を行った画像をシングル表示することも可能である。   As shown in FIG. 14C, the LCD panel 312 selects and displays one of the live view images 511 and 611, combines the images, or performs imaging in the compound eye mode, and then performs a phase difference. It is also possible to display a single image processed by AF control.

このように、LCDパネル312は、撮像モジュール500,600のそれぞれから出力されるライブビュー画像511,611に関して、シングル表示モード、または、マルチ表示モードのいずれかのモードに選択表示することが可能である。   As described above, the LCD panel 312 can selectively display the live view images 511 and 611 output from the imaging modules 500 and 600 in either the single display mode or the multi display mode. is there.

また、以下の合焦処理において、LCDパネル312は、ライブビュー画像511,611の表示モードを、シングル表示モード、または、マルチ表示モードのいずれかに切り替えてもよい。   In the following focusing process, the LCD panel 312 may switch the display mode of the live view images 511 and 611 to either the single display mode or the multi display mode.

まず、アプリケーション制御回路210により合焦指示のメッセージをシステム制御回路110に送信する。システム制御回路110を介してこの合焦指示のメッセージを受信すると、撮像モジュール500,600はそのカメラ510,610の合焦動作を開始する。これにより、カメラ510,610の視差情報を利用した位相差AFによって撮影画面内所定位置の被写体に対する焦点検出を行う。   First, the application control circuit 210 transmits a focusing instruction message to the system control circuit 110. When receiving the message for in-focus instruction via the system control circuit 110, the imaging modules 500 and 600 start the in-focus operation of the cameras 510 and 610. Thus, focus detection is performed on a subject at a predetermined position in the shooting screen by phase difference AF using the parallax information of the cameras 510 and 610.

次に、アプリケーション制御回路210によって、位相差AFによって合焦できているかどうか判定する。位相差AF制御によって合焦できた場合は、画像処理を行い、LCDパネル312にメインカメラから出力されたライブビュー画像のみを表示するシングル表示モードとする。   Next, the application control circuit 210 determines whether or not focusing is achieved by the phase difference AF. When focusing is achieved by phase difference AF control, image processing is performed, and a single display mode in which only the live view image output from the main camera is displayed on the LCD panel 312 is set.

一方、位相差AFによって合焦できていない場合や位相差AFにより測距された被写体距離が閾値で示す距離よりも近い場合は、位相差AFによる画像処理が不可能と判断する。この場合、LCDパネル312にライブビュー画像511,611がそれぞれ表示される、マルチ表示モードとする。   On the other hand, when focus is not achieved by phase difference AF, or when the subject distance measured by phase difference AF is closer than the distance indicated by the threshold, it is determined that image processing by phase difference AF is impossible. In this case, a multi-display mode in which live view images 511 and 611 are respectively displayed on the LCD panel 312 is set.

以上、本発明の好ましい別の実施の形態を、図14に従って説明した。尚、LCDパネル312の表示方法は多種多様であり、図14に示す表示方法は単なる一例に過ぎず、本発明はその表示方法を限定するものではない。   As described above, another preferred embodiment of the present invention has been described with reference to FIG. The display method of the LCD panel 312 is various, and the display method shown in FIG. 14 is merely an example, and the present invention does not limit the display method.

また、本発明の目的は、以下の処理を実行することによっても達成される。即ち、上述した実施例の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)が記憶媒体に格納されたプログラムコードを読み出す処理である。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施の形態の機能を実現することになり、そのプログラムコード及び該プログラムコードを記憶した記憶媒体は本発明を構成することになる。   The object of the present invention can also be achieved by executing the following processing. That is, a storage medium that records a program code of software that implements the functions of the above-described embodiments is supplied to a system or apparatus, and a computer (or CPU, MPU, etc.) of the system or apparatus is stored in the storage medium. This is the process of reading the code. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code and the storage medium storing the program code constitute the present invention.

50 スマートデバイス
101a〜h リブ
102 スパイン
118 温度センサ
1000〜1900 スロット
200 アプリケーションプログラム制御モジュール
210 アプリケーション制御回路
214 不揮発性メモリ
500,600 撮像モジュール
510,610 カメラ
50 Smart Device 101a-h Rib 102 Spine 118 Temperature Sensor 1000-1900 Slot 200 Application Program Control Module 210 Application Control Circuit 214 Non-Volatile Memory 500, 600 Imaging Module 510, 610 Camera

Claims (16)

第1及び第2の撮像モジュールを複数の取り付け領域のいずれかにそれぞれ装着する電子機器において、
複眼モードで撮影を行う第1の撮影手段と、
前記第1及び第2の撮像モジュールのいずれか一方により、コントラストAFによる焦点検出を行うコントラストAF制御手段と、
前記第1及び第2の撮像モジュールの視差情報から被写体距離を測距し、焦点検出を行う位相差AF制御手段と、
前記複眼モードにおいて、前記位相差AF制御手段により焦点検出されない場合、及び前記位相差AF制御手段により焦点検出された場合であって、前記測距された被写体距離が閾値で示す距離より近い場合は、前記位相差AF制御手段から前記コントラストAF制御手段に切り替えて焦点検出を行う切替手段とを備え、
前記閾値は、前記装着された第1及び第2の撮像モジュールの間隔の大きさに応じて設定される値であることを特徴とする電子機器。
In an electronic device in which the first and second imaging modules are respectively attached to any of a plurality of attachment regions,
First imaging means for imaging in compound eye mode;
Contrast AF control means for performing focus detection by contrast AF by any one of the first and second imaging modules;
Phase difference AF control means for measuring a subject distance from parallax information of the first and second imaging modules and performing focus detection;
In the compound eye mode, when focus detection is not performed by the phase difference AF control unit and when focus detection is performed by the phase difference AF control unit, and the measured subject distance is closer than the distance indicated by the threshold value Switching means for performing focus detection by switching from the phase difference AF control means to the contrast AF control means,
The electronic device according to claim 1, wherein the threshold value is a value set according to a size of an interval between the mounted first and second imaging modules.
前記被写体距離は、前記視差情報を基に前記2つの撮像モジュールの間の基線長から算出されることを特徴とする請求項1記載の電子機器。   The electronic device according to claim 1, wherein the subject distance is calculated from a baseline length between the two imaging modules based on the parallax information. 前記第1及び第2の撮像モジュールの間の基線長が短いほど、前記閾値は小さい値に設定されることを特徴とする請求項2記載の電子機器。   The electronic device according to claim 2, wherein the threshold value is set to a smaller value as the baseline length between the first and second imaging modules is shorter. 前記閾値を保持する保持手段を更に備えることを特徴とする請求項1乃至3のいずれか1項に記載の電子機器。   The electronic apparatus according to claim 1, further comprising a holding unit that holds the threshold value. マクロ撮影を行う第2の撮影手段を更に備え、
前記マクロ撮影において、前記位相差AF制御手段による焦点検出を行った後、前記コントラストAF制御手段に切り替えて焦点検出を行うことを特徴とする請求項1乃至4のいずれか1項に記載の電子機器。
A second photographing means for performing macro photography;
5. The electron according to claim 1, wherein focus detection is performed by switching to the contrast AF control unit after performing focus detection by the phase difference AF control unit in the macro imaging. machine.
望遠で撮影を行う第3の撮影手段を更に備え、
前記望遠での撮影において、前記位相差AF制御手段及び前記コントラストAF制御手段のうち、前記位相差AF制御手段のみを有効にすることを特徴とする請求項1乃至4のいずれか1項に記載の電子機器。
A third photographing means for photographing at a telephoto position;
5. The method according to claim 1, wherein only the phase difference AF control unit is made effective among the phase difference AF control unit and the contrast AF control unit in photographing at the telephoto. Electronic equipment.
前記第1の撮像モジュールから出力される第1のライブビュー画像と、前記第2の撮像モジュールから出力される第2のライブビュー画像とを表示する表示手段を更に備え、
前記表示手段は、前記第1及び第2のライブビュー画像を合成もしくはそのいずれかを選択して表示するシングル表示モードと、前記第1及び第2のライブビュー画像を分割して表示するマルチ表示モードとを備えることを特徴とする請求項1乃至6のいずれか1項に記載の電子機器。
A display unit for displaying a first live view image output from the first imaging module and a second live view image output from the second imaging module;
The display means combines the first and second live view images or selects one of them and displays them, and multi-display that divides and displays the first and second live view images. The electronic apparatus according to claim 1, further comprising a mode.
前記複眼モードにおいて、前記位相差AF制御手段により焦点検出されない場合、及び前記位相差AF制御手段により焦点検出された場合であって、前記測距された被写体距離が閾値で示す距離より近い場合、前記マルチ表示モードとすることを特徴とする請求項7記載の電子機器。   In the compound eye mode, when focus detection is not performed by the phase difference AF control unit, and when focus detection is performed by the phase difference AF control unit, and when the measured subject distance is closer than the distance indicated by the threshold, The electronic device according to claim 7, wherein the multi-display mode is set. 前記マルチ表示モードは、前記表示手段の表示領域において、前記第1の撮像モジュールに近接する側に前記第1のライブビュー画像を、前記第2の撮像モジュールに近接する側に前記第2のライブビュー画像を表示することを特徴とする請求項7又は8記載の電子機器。   In the multi-display mode, in the display area of the display means, the first live view image is displayed on the side close to the first imaging module, and the second live view is displayed on the side close to the second imaging module. 9. The electronic apparatus according to claim 7, wherein a view image is displayed. 前記複眼モードは、前記第1及び第2の撮像モジュールのそれぞれから出力される画像を合成するモードであり、前記複数の取り付け領域は略同一平面であって、前記第1及び第2の撮像モジュールの光軸が略平行である場合にユーザ選択可能なモードに設定されることを特徴とする請求項1乃至9のいずれか1項に記載の電子機器。   The compound eye mode is a mode for combining images output from each of the first and second imaging modules, and the plurality of attachment areas are substantially on the same plane, and the first and second imaging modules 10. The electronic device according to claim 1, wherein the user-selectable mode is set when the optical axes of the electronic devices are substantially parallel to each other. 11. 前記第1及び第2の撮像モジュールが前記複数の取り付け領域のいずれかにそれぞれ装着されているか否かを検出する検出手段を更に備え、
前記検出手段により前記第1及び第2の撮像モジュールのそれぞれが前記複数の取り付け領域のいずれかに装着されたと検出された場合に、前記第1の撮影手段により前記複眼モードで撮影を行うことを特徴とする請求項1乃至10のいずれか1項に記載の電子機器。
Detecting means for detecting whether or not the first and second imaging modules are respectively attached to any of the plurality of attachment regions;
When the detection unit detects that each of the first and second imaging modules is mounted in any of the plurality of attachment areas, the first imaging unit performs imaging in the compound eye mode. The electronic device according to claim 1, wherein the electronic device is characterized in that:
前記複数の取り付け領域のそれぞれの、前記第1及び第2の撮像モジュールの有する磁性体に対応する位置に設けられる永電磁石と、前記永電磁石の極性を個別に変更する極性変更手段とを更に備え、
前記極性変更手段は、前記永電磁石の極性を個別に変更することによって、前記第1及び第2の撮像モジュールの前記複数の取り付け領域のいずれかへの解放及び固着を行うことを特徴とする請求項1乃至11のいずれか1項に記載の電子機器。
Each of the plurality of attachment regions further includes a permanent electromagnet provided at a position corresponding to the magnetic body of the first and second imaging modules, and polarity changing means for individually changing the polarity of the permanent electromagnet. ,
The polarity changing means releases and fixes the first and second imaging modules to any one of the plurality of attachment regions by individually changing the polarity of the permanent electromagnet. Item 12. The electronic device according to any one of Items 1 to 11.
前記複数の取り付け領域を分割するガイド部を更に備え、
前記ガイド部は、前記第1及び第2の撮像モジュールを前記複数の取り付け領域のいずれかに取り付ける際にガイドし、且つ装着後の前記第1及び第2の撮像モジュールを保持することを特徴とする請求項1乃至12のいずれか1項に記載の電子機器。
A guide portion for dividing the plurality of attachment regions;
The guide portion guides when the first and second imaging modules are attached to any of the plurality of attachment regions, and holds the first and second imaging modules after being mounted. The electronic device according to any one of claims 1 to 12.
請求項1乃至13のいずれか1項に記載の前記複数の取り付け領域のいずれかに装着された場合に、前記第1及び第2の撮像モジュールのうちの1つとして機能することを特徴とする撮像装置。   When mounted on any one of the plurality of attachment regions according to any one of claims 1 to 13, it functions as one of the first and second imaging modules. Imaging device. 第1及び第2の撮像モジュールを複数の取り付け領域のいずれかにそれぞれ装着する電子機器の制御方法において、
複眼モードで撮影を行う第1の撮影ステップと、
前記第1及び第2の撮像モジュールのいずれか一方により、コントラストAFによる焦点検出を行うコントラストAF制御ステップと、
前記第1及び第2の撮像モジュールの視差情報から被写体距離を測距し、焦点検出を行う位相差AF制御ステップと、
前記複眼モードにおいて、前記位相差AF制御ステップで焦点検出されない場合、及び前記位相差AF制御ステップで焦点検出された場合であって、前記測距された被写体距離が閾値で示す距離より近い場合は、前記位相差AF制御ステップから前記コントラストAF制御ステップに切り替えて焦点検出を行う切替ステップとを備え、
前記閾値は、前記装着された第1及び第2の撮像モジュールの間隔の大きさに応じて設定される値であることを特徴とする制御方法。
In the control method of the electronic device in which the first and second imaging modules are respectively attached to any of the plurality of attachment regions,
A first shooting step of shooting in compound eye mode;
A contrast AF control step for performing focus detection by contrast AF with one of the first and second imaging modules;
A phase difference AF control step of measuring a subject distance from parallax information of the first and second imaging modules and performing focus detection;
In the compound eye mode, when focus detection is not performed in the phase difference AF control step, and focus detection is performed in the phase difference AF control step, and the measured subject distance is closer than the distance indicated by the threshold value. And a switching step of performing focus detection by switching from the phase difference AF control step to the contrast AF control step,
The control method characterized in that the threshold value is a value set according to the size of the interval between the mounted first and second imaging modules.
請求項15記載の制御方法を実行することを特徴とするプログラム。   A program for executing the control method according to claim 15.
JP2017061114A 2017-03-27 2017-03-27 Electronic devices, imaging devices, control methods, and programs Active JP6946033B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017061114A JP6946033B2 (en) 2017-03-27 2017-03-27 Electronic devices, imaging devices, control methods, and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017061114A JP6946033B2 (en) 2017-03-27 2017-03-27 Electronic devices, imaging devices, control methods, and programs

Publications (2)

Publication Number Publication Date
JP2018163301A true JP2018163301A (en) 2018-10-18
JP6946033B2 JP6946033B2 (en) 2021-10-06

Family

ID=63860152

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017061114A Active JP6946033B2 (en) 2017-03-27 2017-03-27 Electronic devices, imaging devices, control methods, and programs

Country Status (1)

Country Link
JP (1) JP6946033B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381181A (en) * 2019-06-28 2019-10-25 信利光电股份有限公司 Future range inducing method, electronic device, storage medium and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381181A (en) * 2019-06-28 2019-10-25 信利光电股份有限公司 Future range inducing method, electronic device, storage medium and mobile terminal

Also Published As

Publication number Publication date
JP6946033B2 (en) 2021-10-06

Similar Documents

Publication Publication Date Title
JP6906995B2 (en) Electronic devices, imaging devices, control methods, and programs
JP6929094B2 (en) Electronic devices, imaging devices, control methods, and programs
JP5506499B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND RECORDING MEDIUM
KR101719590B1 (en) Image capturing apparatus and control method thereof
JP6455474B2 (en) Image processing apparatus, image processing method, and program
US11595563B2 (en) Imaging apparatus for generating a composite image from a plurality of images
JP5275789B2 (en) camera
JP2012239135A (en) Electronic apparatus
JP5675926B1 (en) Electronic device and control program thereof
JP6946033B2 (en) Electronic devices, imaging devices, control methods, and programs
JP5543762B2 (en) Camera system
US20120243856A1 (en) Interchangeable lens, and camera body which has the interchangeable lens attached thereto and can control the interchangeable lens
JP2010157851A (en) Camera and camera system
JP2015072719A (en) Electronic device and control program of the same
JP2012019321A (en) Imaging apparatus, control method thereof, program, and storage medium
US20190014199A1 (en) Electronic equipment and method for controlling the same
JP2012239134A (en) Electronic apparatus
JP5615086B2 (en) Imaging apparatus, control method thereof, and program
JP2015029219A (en) Electronic apparatus
JP2012237937A (en) Electronic apparatus
US20230300453A1 (en) Electronic apparatus, control method of electronic apparatus, and non-transitory computer readable medium
JP2019102972A (en) Electronic apparatus and control method thereof
JP2019015945A (en) Electronic apparatus and control method thereof
KR20150016871A (en) Photographing apparatus, display apparatus, photographing method, and photographing program
JP5591376B2 (en) Camera and camera system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200323

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210304

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210316

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210507

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210915

R151 Written notification of patent or utility model registration

Ref document number: 6946033

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151