Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6320094B2 - Imaging apparatus, control method thereof, and program - Google Patents
[go: Go Back, main page]

JP6320094B2 - Imaging apparatus, control method thereof, and program - Google Patents

Imaging apparatus, control method thereof, and program Download PDF

Info

Publication number
JP6320094B2
JP6320094B2 JP2014052598A JP2014052598A JP6320094B2 JP 6320094 B2 JP6320094 B2 JP 6320094B2 JP 2014052598 A JP2014052598 A JP 2014052598A JP 2014052598 A JP2014052598 A JP 2014052598A JP 6320094 B2 JP6320094 B2 JP 6320094B2
Authority
JP
Japan
Prior art keywords
current
azimuth
imaging
calculating
detection means
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2014052598A
Other languages
Japanese (ja)
Other versions
JP2015177366A (en
JP2015177366A5 (en
Inventor
雄資 白川
雄資 白川
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2014052598A priority Critical patent/JP6320094B2/en
Publication of JP2015177366A publication Critical patent/JP2015177366A/en
Publication of JP2015177366A5 publication Critical patent/JP2015177366A5/ja
Application granted granted Critical
Publication of JP6320094B2 publication Critical patent/JP6320094B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Details Of Cameras Including Film Mechanisms (AREA)
  • Camera Bodies And Camera Details Or Accessories (AREA)
  • Studio Devices (AREA)

Description

本発明は、方位を算出する機能を有する撮像装置、その制御方法、プログラム及びコンピュータ読み取り可能な記憶媒体に関する。   The present invention relates to an imaging apparatus having a function of calculating an azimuth, a control method thereof, a program, and a computer-readable storage medium.

近年デジタルカメラにおいて、撮影位置や撮影方向を知りたいというニーズが高まってきており、地磁気センサと加速度センサを用いた電子コンパスをデジタルカメラに組み込み、撮影方位を算出して撮影画像に関連付けて保存する機能が実用化されている。
しかしながら、電子コンパスは地磁気を検出して方位を算出するため、デジタルカメラ内部において磁界に影響を与えるものがあると、原理上、方位の算出精度が悪化してしまう。
従来、この問題を回避する方法が提案されており、例えば特許文献1では、地磁気センサに影響を及ぼす磁界発生部品の動作期間を判定し、動作期間以外の期間に、地磁気センサの値に基づいて撮像方位を算出する方法が開示されている。また、特許文献2では、地磁気センサに影響を及ぼす電気駆動部が、シャッター操作後に非駆動状態となるように制御し、この間に地磁気センサの出力を取り込んで方位を算出する方法が開示されている。
In recent years, there has been an increasing need to know the shooting position and shooting direction in digital cameras. An electronic compass using a geomagnetic sensor and an acceleration sensor is incorporated in the digital camera, and the shooting direction is calculated and stored in association with the shot image. The function is put into practical use.
However, since the electronic compass detects the geomagnetism and calculates the azimuth, if there is something that affects the magnetic field inside the digital camera, the calculation accuracy of the azimuth deteriorates in principle.
Conventionally, a method for avoiding this problem has been proposed. For example, in Patent Document 1, an operation period of a magnetic field generating component that affects the geomagnetic sensor is determined, and based on the value of the geomagnetic sensor in a period other than the operation period. A method for calculating an imaging orientation is disclosed. Further, Patent Document 2 discloses a method in which an electric drive unit that affects a geomagnetic sensor is controlled so as to be in a non-driven state after a shutter operation, and a direction is calculated by taking in the output of the geomagnetic sensor during this time. .

特開2011−139375号公報JP 2011-139375 A 特開2012−90124号公報JP 2012-90124 A

しかしながら、デジタルカメラ内部には、電子コンパスに影響を与える様々な要因があり、撮影を行う中でそれらが複雑に動作する。デジタル一眼レフカメラのように、レンズやストロボ等の外部機器と連動して動作する場合には、外部機器からの影響も考慮する必要がある。
上述の特許文献に開示された従来技術では、電子コンパスを動作するタイミングが限られてしまい、常に撮影方位を算出できるわけでは無い。このため、利用に適した撮影方位を算出できるタイミングには限界がある。結果として、撮影方位を利用できなかったり、不適切な方位情報を利用することになったりするおそれがあった。
However, there are various factors in the digital camera that affect the electronic compass, and these operate in a complicated manner during shooting. When operating in conjunction with an external device such as a lens or a strobe like a digital single-lens reflex camera, it is necessary to consider the influence from the external device.
In the prior art disclosed in the above-mentioned patent documents, the timing for operating the electronic compass is limited, and the shooting direction cannot always be calculated. For this reason, there is a limit to the timing at which a shooting orientation suitable for use can be calculated. As a result, there is a possibility that the shooting direction cannot be used or inappropriate direction information is used.

本発明は上記のような点に鑑みてなされたものであり、方位を算出するタイミングが限られないように、かつ方位を精度良く算出できるようにすることを目的とする。   The present invention has been made in view of the above points, and an object of the present invention is to be able to accurately calculate the azimuth so that the timing for calculating the azimuth is not limited.

本発明の撮像装置は、撮像手段と、電源と、地磁気検出手段と、角速度検出手段と、前記電源から前記撮像手段に電力が供給されている状態において、一定の条件下で、前記地磁気検出手段を用いて方位を算出する方式と、前記角速度検出手段を用いて方位を算出する方式とを切り替える制御手段と、前記電源から前記撮像手段に供給される電流を検出する電流検出手段とを備え、前記制御手段は、前記電流が一定である場合、前記地磁気検出手段を用いて方位を算出する方式を採用し、前記電流が一定でない場合、前記角速度検出手段を用いて方位を算出する方式を採用するよう制御することを特徴とする。 The imaging apparatus according to the present invention includes an imaging unit, a power source, a geomagnetism detection unit, an angular velocity detection unit, and the geomagnetism detection unit under a certain condition in a state where power is supplied from the power source to the imaging unit. A control means for switching between a method for calculating the azimuth using the method and a method for calculating the azimuth using the angular velocity detection means, and a current detection means for detecting a current supplied from the power source to the imaging means, When the current is constant, the control means adopts a method of calculating the azimuth using the geomagnetic detection means, and when the current is not constant, adopts a method of calculating the azimuth using the angular velocity detection means. It controls to do.

本発明によれば、方位を算出するタイミングが限られないように、かつ方位を精度良く算出することができる。   According to the present invention, the azimuth can be calculated with high accuracy so that the timing for calculating the azimuth is not limited.

実施形態に係るデジタル一眼レフカメラの構成を示すブロック図である。It is a block diagram which shows the structure of the digital single-lens reflex camera which concerns on embodiment. 地磁気センサを用いた撮影方位の算出原理を説明するための図である。It is a figure for demonstrating the calculation principle of the imaging | photography direction using a geomagnetic sensor. デジタル一眼レフカメラの撮影シーケンスを時間軸上に表わす図である。It is a figure showing on the time-axis the imaging | photography sequence of a digital single-lens reflex camera. 実施形態に係るデジタル一眼レフカメラの外観の一例を示す図である。It is a figure which shows an example of the external appearance of the digital single-lens reflex camera which concerns on embodiment. 第1の実施形態における地磁気センサとジャイロセンサの切り替えタイミングを示す図である。It is a figure which shows the switching timing of the geomagnetic sensor and gyro sensor in 1st Embodiment. ジャイロセンサを用いた撮影方位の算出原理を説明するための図である。It is a figure for demonstrating the calculation principle of the imaging | photography azimuth | direction using a gyro sensor. デジタル一眼レフカメラの撮影シーケンスを時間軸上に表わす図である。It is a figure showing on the time-axis the imaging | photography sequence of a digital single-lens reflex camera. 第2の実施形態における地磁気センサとジャイロセンサの切り替えタイミングを示す図である。It is a figure which shows the switching timing of the geomagnetic sensor and gyro sensor in 2nd Embodiment. 地磁気センサのキャリブレーションを促す表示例を示す図である。It is a figure which shows the example of a display which prompts the calibration of a geomagnetic sensor.

以下、添付図面を参照して、本発明の好適な実施形態について説明する。
(第1の実施形態)
図1は、実施形態に係るデジタル一眼レフカメラの構成を示すブロック図である。
100はカメラ本体に着脱可能なレンズ、101はAF、102は絞りである。103は撮像センサ、104はメカシャッター、105はミラーである。106はスイッチ、107は電源回路、108はバッテリー、109は通信インタフェース、110は記録装置、111は表示装置、112はストロボである。113はマイコンである。114は加速度センサ、115は角速度検出手段であるジャイロセンサ(角速度センサ)、116は地磁気検出手段である地磁気センサである。117は電流検出回路、118は動き検出回路である。なお、電流検出回路117は第1の実施形態で用いられ、動き検出回路118は第2の実施形態で用いられるが、ここでは便宜上両方のブロックを記載している。
Preferred embodiments of the present invention will be described below with reference to the accompanying drawings.
(First embodiment)
FIG. 1 is a block diagram illustrating a configuration of a digital single-lens reflex camera according to the embodiment.
Reference numeral 100 denotes a lens that can be attached to and detached from the camera body, 101 denotes AF, and 102 denotes an aperture. Reference numeral 103 denotes an image sensor, 104 denotes a mechanical shutter, and 105 denotes a mirror. Reference numeral 106 denotes a switch, 107 a power supply circuit, 108 a battery, 109 a communication interface, 110 a recording device, 111 a display device, and 112 a strobe. Reference numeral 113 denotes a microcomputer. 114 is an acceleration sensor, 115 is a gyro sensor (angular velocity sensor) which is an angular velocity detecting means, and 116 is a geomagnetic sensor which is a geomagnetic detecting means. 117 is a current detection circuit, and 118 is a motion detection circuit. The current detection circuit 117 is used in the first embodiment, and the motion detection circuit 118 is used in the second embodiment, but both blocks are shown here for convenience.

ユーザがスイッチ106を操作することによって撮影動作が開始される。撮影動作では、マイコン113は、AF/AE動作を行い、レンズ100を駆動する。AF/AE動作が完了すると、測光値に応じて絞り102及びミラー105を駆動した後、メカシャッター104の走行を開始する。メカシャッター104の走行と略同時に撮像センサ103を駆動し、被写体を撮影する。AE動作において、被写体が暗いときと判断された場合には、ストロボ112の充電制御を行い、撮像センサ103を駆動するタイミングで、ストロボ112の発光制御を行う。   The shooting operation is started when the user operates the switch 106. In the photographing operation, the microcomputer 113 performs the AF / AE operation and drives the lens 100. When the AF / AE operation is completed, the diaphragm 102 and the mirror 105 are driven according to the photometric value, and then the mechanical shutter 104 starts to travel. The imaging sensor 103 is driven almost simultaneously with the traveling of the mechanical shutter 104 to photograph the subject. In the AE operation, when it is determined that the subject is dark, charging control of the strobe 112 is performed, and light emission control of the strobe 112 is performed at the timing when the image sensor 103 is driven.

ここで、マイコン113は、基本的には、地磁気センサ116及び加速度センサ114を用いて撮影方位を算出するが、以下に詳述するように、一定の条件下で、地磁気センサ116に代えてジャイロセンサ115を用いて撮影方位を算出する方式に切り替える。   Here, the microcomputer 113 basically calculates the shooting direction using the geomagnetic sensor 116 and the acceleration sensor 114. As will be described in detail below, the microcomputer 113 replaces the geomagnetic sensor 116 under certain conditions. Switching to a method of calculating the shooting direction using the sensor 115.

電流検出回路117は、所定のブロックの動作電流を検出する。所定のブロックとは、地磁気センサ116に影響を与えるブロックであり、電流検出回路117は、1つのブロックだけではなく、複数のブロックに対応させて設けられても構わない。本実施形態で、電流検出回路117は、レンズ100の駆動電流、絞り102の駆動電流、メカシャッター104の駆動電流、ミラー105の駆動電流、撮像センサ103の駆動電流、ストロボ112の充電電流、ストロボ112の発光電流、表示装置111の駆動電流を検出する。   The current detection circuit 117 detects an operating current of a predetermined block. The predetermined block is a block that affects the geomagnetic sensor 116, and the current detection circuit 117 may be provided corresponding to a plurality of blocks, not just one block. In the present embodiment, the current detection circuit 117 includes a driving current for the lens 100, a driving current for the diaphragm 102, a driving current for the mechanical shutter 104, a driving current for the mirror 105, a driving current for the image sensor 103, a charging current for the strobe 112, and a strobe. The light emission current 112 and the drive current of the display device 111 are detected.

マイコン113は、撮影方位を算出している間、電流検出回路117の出力をモニタする。電流検出回路117の出力が所定値未満の場合、地磁気センサ116に与える影響が小さいとして、地磁気センサ116を用いて撮影方位を算出する。また、電流検出回路117の出力が所定値以上の場合、地磁気センサ116に与える影響が大きいとして、ジャイロセンサ115を用いて撮影方位を算出する。   The microcomputer 113 monitors the output of the current detection circuit 117 while calculating the shooting direction. When the output of the current detection circuit 117 is less than a predetermined value, the imaging direction is calculated using the geomagnetic sensor 116 on the assumption that the influence on the geomagnetic sensor 116 is small. Further, when the output of the current detection circuit 117 is equal to or greater than a predetermined value, the shooting direction is calculated using the gyro sensor 115 on the assumption that the influence on the geomagnetic sensor 116 is large.

図2は、地磁気センサ116を用いた撮影方位の算出原理を説明するための図である。マイコン113は、地磁気センサ116の出力から、環境磁場の成分をオフセット値として減算することで、地磁気ベクトルを算出する。同時に、加速度センサ114の出力から、重力加速度の向きを検出し、カメラの姿勢情報とする。これにより、地面と水平となる面上において、磁北と撮影方位のベクトルが得られるので、その2つのベクトルのなす角を求めることで、撮影方位角が得られる。GPS等によって撮影位置が分かっている場合には、撮影位置情報を用いて磁北と真北を変換しても良い。
また、本実施形態では撮影方位を求めたが、レンズ光軸が極端に上向きや下向きとなっている場合等は、レンズ光軸の向きを求めるのではなく、撮影画面中央から上へ向かう方向等、他の注目方向に関して方位を求めても構わない。
FIG. 2 is a diagram for explaining the calculation principle of the shooting direction using the geomagnetic sensor 116. The microcomputer 113 calculates a geomagnetic vector by subtracting the environmental magnetic field component from the output of the geomagnetic sensor 116 as an offset value. At the same time, the direction of gravitational acceleration is detected from the output of the acceleration sensor 114 and used as camera posture information. As a result, a magnetic north and a shooting azimuth vector are obtained on a plane parallel to the ground surface, and a shooting azimuth angle can be obtained by obtaining an angle formed by the two vectors. When the shooting position is known by GPS or the like, magnetic north and true north may be converted using the shooting position information.
Further, in this embodiment, the shooting direction is obtained, but when the lens optical axis is extremely upward or downward, the direction of the lens optical axis is not obtained, but the direction from the center of the shooting screen to the upper side, etc. The orientation may be obtained with respect to other attention directions.

図3は、1枚の静止画を撮影するときの撮影シーケンスを時間軸上に表わす模式図である。上述した一連のレンズ駆動、絞り駆動、シャッター駆動、ミラー駆動、撮像センサ駆動、ストロボチャージ、ストロボ発光のタイミングを、時間軸上に示したものである。なお、図3では表示装置駆動は省略している。
レンズ100、絞り102、メカシャッター104、ミラー105、撮像センサ103、ストロボ112、表示装置111といったブロックが動作することによって、各ブロックには電流が流れる。すなわち、レンズ100の駆動電流、絞り102の駆動電流、メカシャッター104の駆動電流、ミラー105の駆動電流、撮像センサ103の駆動電流、ストロボ112の充電電流、ストロボ112の発光電流、表示装置111の駆動電流である。
いずれかのブロックが動作することによって、デジタル一眼レフカメラ内部の磁場が変化する。地磁気センサ116が検出する磁場は地磁気と環境磁場とが合成されたものであるが、デジタル一眼レフカメラのブロックが動作することによって、地磁気センサ116の周りの環境磁場が変化する。その結果、地磁気と環境磁場とを分離し、地磁気成分のみを正確に算出することが難しくなる。
FIG. 3 is a schematic diagram showing a shooting sequence on the time axis when shooting a single still image. The timing of the series of lens drive, aperture drive, shutter drive, mirror drive, image sensor drive, strobe charge, and strobe light emission described above is shown on the time axis. In FIG. 3, the driving of the display device is omitted.
When blocks such as the lens 100, the aperture 102, the mechanical shutter 104, the mirror 105, the image sensor 103, the strobe 112, and the display device 111 operate, a current flows through each block. That is, the driving current of the lens 100, the driving current of the diaphragm 102, the driving current of the mechanical shutter 104, the driving current of the mirror 105, the driving current of the imaging sensor 103, the charging current of the strobe 112, the emission current of the strobe 112, Drive current.
The magnetic field inside the digital single-lens reflex camera changes as one of the blocks operates. The magnetic field detected by the geomagnetic sensor 116 is a combination of the geomagnetism and the environmental magnetic field, but the environmental magnetic field around the geomagnetic sensor 116 changes as the block of the digital single-lens reflex camera operates. As a result, it becomes difficult to separate the geomagnetism and the environmental magnetic field and accurately calculate only the geomagnetic component.

図3では、カメラがある1方向を向いて撮影する場合を想定しており、外乱の影響がなければ、地磁気センサ出力は一定値を示すはずであるが、所定のブロックが動作する影響を受けて、地磁気センサ出力が変化してしまっている。
一般に地磁気センサに悪影響を与える要因としては、ブロックの動作電流、モータの動作電流及びモータの回転動作、鉄やニッケル等の磁性体を素材とする部品が移動すること等が挙げられる。デジタル一眼レフカメラ内部では、これらの悪影響を与える要因が数多く存在しており、地磁気センサ116だけで方位を正確に算出することは簡単ではない。
In FIG. 3, it is assumed that the camera is shooting in one direction. If there is no influence from disturbance, the geomagnetic sensor output should show a constant value. As a result, the geomagnetic sensor output has changed.
In general, factors that adversely affect the geomagnetic sensor include block operating current, motor operating current and motor rotating operation, and movement of parts made of a magnetic material such as iron or nickel. There are many factors that cause these adverse effects inside the digital single-lens reflex camera, and it is not easy to accurately calculate the azimuth using only the geomagnetic sensor 116.

図4は、本実施形態に係るデジタル一眼レフカメラの外観の一例である。加速度センサ114及びジャイロセンサ115は、磁場の変化による影響を受けにくいため、比較的搭載位置は自由である。加速度センサ114及びジャイロセンサ115は、場合によってはレンズ100やその他のアクセサリ等に搭載されてもよく、カメラ本体に内蔵されていなくても構わない。
それに対して、地磁気センサ116は、磁場の変化による影響を受けやすいため、カメラボディの左右端やペンタプリズムの付近等、メカシャッター104やミラー105、撮像センサ103といったノイズ源から比較的遠い場所に搭載することが好ましい。
FIG. 4 is an example of the appearance of the digital single-lens reflex camera according to the present embodiment. Since the acceleration sensor 114 and the gyro sensor 115 are not easily affected by changes in the magnetic field, the mounting positions are relatively free. In some cases, the acceleration sensor 114 and the gyro sensor 115 may be mounted on the lens 100, other accessories, or the like, and may not be built in the camera body.
On the other hand, since the geomagnetic sensor 116 is easily affected by changes in the magnetic field, the geomagnetic sensor 116 is located relatively far from noise sources such as the mechanical shutter 104, the mirror 105, and the image sensor 103, such as the left and right ends of the camera body and the vicinity of the pentaprism. It is preferable to mount.

図3の一連の撮影動作の間、マイコン113は、地磁気センサ116/加速度センサ114/ジャイロセンサ115を駆動し、撮影方位を算出する。
上述したように、一連の撮影動作の間、所定のブロックが動作することによって地磁気センサ116が影響を受ける。そこで、環境磁場の変化が発生している間は、方位を算出する際に地磁気センサ116の出力を利用せず、代わりに、ジャイロセンサ115の出力を利用する。
During the series of shooting operations shown in FIG. 3, the microcomputer 113 drives the geomagnetic sensor 116 / acceleration sensor 114 / gyro sensor 115 to calculate the shooting direction.
As described above, the geomagnetic sensor 116 is affected by the operation of a predetermined block during a series of imaging operations. Thus, while the environmental magnetic field is changing, the output of the geomagnetic sensor 116 is not used when calculating the direction, and the output of the gyro sensor 115 is used instead.

図5は、本実施形態における地磁気センサ116とジャイロセンサ115の切り替えタイミングを示す図である。
図5でも、図3と同様、1枚の静止画を撮影するときの一連のレンズ駆動、絞り駆動、シャッター駆動、ミラー駆動、撮像センサ駆動、ストロボチャージ、ストロボ発光のタイミングを、時間軸上に示している。上述したようにカメラがある1方向を向いて撮影する場合を想定しており、外乱の影響がなければ、地磁気センサ出力は一定値を示す。
そこで、地磁気センサ出力が一定値を示す期間は地磁気センサ116の出力を利用し、地磁気センサ出力が変化してしまっている期間はジャイロセンサ115の出力を利用するように制御する。
なお、期間(a)では、ストロボ充電のための電流が流れている。故に、地磁気センサの出力は影響を受ける。しかしながら、その電流値はほぼ一定であるため、容易に補正することができる。このような理由から、期間(a)では、地磁気センサを用いて、補正により正しい方位を算出する。
FIG. 5 is a diagram showing the switching timing of the geomagnetic sensor 116 and the gyro sensor 115 in the present embodiment.
In FIG. 5, as in FIG. 3, the timing of a series of lens drive, aperture drive, shutter drive, mirror drive, image sensor drive, strobe charge, and strobe light emission when shooting a single still image is on the time axis. Show. As described above, it is assumed that the camera is shooting in one direction. If there is no influence of disturbance, the geomagnetic sensor output shows a constant value.
Therefore, the output of the geomagnetic sensor 116 is used during the period when the geomagnetic sensor output shows a constant value, and the output of the gyro sensor 115 is used during the period when the geomagnetic sensor output has changed.
In the period (a), a current for strobe charging flows. Therefore, the output of the geomagnetic sensor is affected. However, since the current value is almost constant, it can be easily corrected. For this reason, in the period (a), a correct orientation is calculated by correction using a geomagnetic sensor.

図6は、ジャイロセンサ115を用いた撮影方位の算出原理を説明するための図である。
ジャイロセンサ115は、出力を積分することで角度の変化を求めることができるが、相対的な角度変化しか求めることはできない。そこで、基準とする絶対方位としては、図5においてジャイロセンサ115に切り替わる前の、地磁気センサ116の出力から求めた方位を用いる。
FIG. 6 is a diagram for explaining the principle of calculating the shooting direction using the gyro sensor 115.
The gyro sensor 115 can obtain the change in angle by integrating the output, but can obtain only the relative change in angle. Therefore, as the reference absolute azimuth, the azimuth obtained from the output of the geomagnetic sensor 116 before switching to the gyro sensor 115 in FIG. 5 is used.

本実施形態では、地磁気センサ116とジャイロセンサ115の切り替えを判定するために、電流検出回路117の出力を使用する。
一連の撮影シーケンスにおいて、電流検出回路117は、所定のブロックの動作電流を検出する。
マイコン113は、撮影方位を算出している間、電流検出回路117の出力をモニタする。電流検出回路117の出力が所定値未満の場合、地磁気センサ116に与える影響が小さいとして、地磁気センサ116を用いて撮影方位を算出する。また、電流検出回路117の出力が所定値以上の場合、すなわちいずれかの所定のブロックが駆動している場合、地磁気センサ116に与える影響が大きいとして、ジャイロセンサ115を用いて撮影方位を算出する。
In the present embodiment, the output of the current detection circuit 117 is used to determine switching between the geomagnetic sensor 116 and the gyro sensor 115.
In a series of imaging sequences, the current detection circuit 117 detects an operating current of a predetermined block.
The microcomputer 113 monitors the output of the current detection circuit 117 while calculating the shooting direction. When the output of the current detection circuit 117 is less than a predetermined value, the imaging direction is calculated using the geomagnetic sensor 116 on the assumption that the influence on the geomagnetic sensor 116 is small. Further, when the output of the current detection circuit 117 is equal to or greater than a predetermined value, that is, when any predetermined block is driven, it is assumed that the influence on the geomagnetic sensor 116 is large, and the shooting direction is calculated using the gyro sensor 115. .

図6に示すように、マイコン113は、加速度センサ114の出力から、重力加速度の向きを検出し、カメラの姿勢情報とする。地磁気センサ116からジャイロセンサ115に切り替わったタイミングを時刻Tとし、撮影したときの撮影時刻を時刻tとする。時刻Tから時刻tまでの間、ジャイロセンサ115の出力を地面と水平面上で積分し、方位の変化を求める。この値を、時刻Tでの地磁気センサ116の出力から算出した絶対方位に加算して、時刻tでの撮影方位を算出する。   As shown in FIG. 6, the microcomputer 113 detects the direction of gravitational acceleration from the output of the acceleration sensor 114 and uses it as camera posture information. The timing at which the geomagnetic sensor 116 is switched to the gyro sensor 115 is time T, and the shooting time when shooting is time t. From time T to time t, the output of the gyro sensor 115 is integrated on the ground and a horizontal plane to determine a change in direction. This value is added to the absolute azimuth calculated from the output of the geomagnetic sensor 116 at time T to calculate the shooting azimuth at time t.

図7は、連写撮影するときの撮影シーケンスを時間軸上に表わす模式図である。連写撮影時には、所定のブロックがより複雑に動作し、地磁気センサ116に影響を与える期間も増えてくる。このような場合においても、地磁気センサ116とジャイロセンサ115とを切り替えることによって、撮影シーケンスの中で、途切れることなく撮影方位を算出することができ、常に精度の高い、正確な撮影方向を検出することが可能である。   FIG. 7 is a schematic diagram showing a shooting sequence on the time axis when continuous shooting is performed. During continuous shooting, the predetermined block operates more complicatedly, and the period during which the geomagnetic sensor 116 is affected also increases. Even in such a case, by switching between the geomagnetic sensor 116 and the gyro sensor 115, the shooting direction can be calculated without interruption in the shooting sequence, and the highly accurate and accurate shooting direction is always detected. It is possible.

(第2の実施形態)
次に、第2の実施形態を説明する。第1の実施形態では、撮影方位の算出に際して地磁気センサ116/ジャイロセンサ115の切り替えを、電流検出回路117で所定のブロックの電流を検出することにより実行した。それに対して、第2の実施形態では、撮影方位の算出に際して地磁気センサ116/ジャイロセンサ115の切り替えを、動き検出回路118で所定の部材の動きを検出することにより実行する。
一般に地磁気センサに悪影響を与える要因としては、ブロックの動作電流、モータの動作電流及びモータの回転動作、鉄やニッケル等の磁性体を素材とする部品が移動すること等が挙げられることは第1の実施形態で述べた。
(Second Embodiment)
Next, a second embodiment will be described. In the first embodiment, switching between the geomagnetic sensor 116 and the gyro sensor 115 is performed by detecting the current of a predetermined block by the current detection circuit 117 when calculating the shooting direction. On the other hand, in the second embodiment, switching of the geomagnetic sensor 116 / gyro sensor 115 is performed by detecting the motion of a predetermined member when calculating the shooting direction.
In general, factors that adversely affect the geomagnetic sensor include the block operating current, the motor operating current and the motor rotating operation, and the movement of parts made of magnetic materials such as iron and nickel. Described in the embodiment.

本実施形態では、モータの回転動作、鉄やニッケル等の磁性体を素材とする部品が移動することによって、地磁気センサ116に影響を与える場合の撮影方位の算出方法を切り替える例について述べる。
デジタル一眼レフカメラにおいて、地磁気センサ116に影響を与える可能性のある部材としては、メカシャッター104、ミラー105、レンズのAF101、絞り102、及びそれらを駆動するモータ等が挙げられる。
In the present embodiment, an example will be described in which the calculation method of the shooting direction is switched in the case where the geomagnetic sensor 116 is affected by the rotational operation of the motor and the movement of parts made of a magnetic material such as iron or nickel.
In a digital single-lens reflex camera, examples of members that may affect the geomagnetic sensor 116 include a mechanical shutter 104, a mirror 105, a lens AF 101, an aperture 102, and a motor for driving them.

図8は、本実施形態における地磁気センサ116とジャイロセンサ115の切り替えタイミングを示す図である。
図8では、1枚の静止画を撮影するときの一連のレンズ駆動、絞り駆動、シャッター駆動、ミラー駆動、撮像センサ駆動のタイミングを、時間軸上に示している。上述したようにカメラがある1方向を向いて撮影する場合を想定しており、外乱の影響がなければ、地磁気センサ出力は一定値を示すはずである。
そこで、地磁気センサ出力が一定値を示す期間は地磁気センサ116の出力を利用し、地磁気センサ出力が変化してしまっている期間はジャイロセンサ115の出力を利用するように制御する。
FIG. 8 is a diagram showing the switching timing of the geomagnetic sensor 116 and the gyro sensor 115 in the present embodiment.
In FIG. 8, the timing of a series of lens drive, aperture drive, shutter drive, mirror drive, and image sensor drive when shooting a single still image is shown on the time axis. As described above, it is assumed that the camera is shooting in one direction, and if there is no influence of disturbance, the geomagnetic sensor output should show a constant value.
Therefore, the output of the geomagnetic sensor 116 is used during the period when the geomagnetic sensor output shows a constant value, and the output of the gyro sensor 115 is used during the period when the geomagnetic sensor output has changed.

マイコン113は、撮影方位を算出している間、常に動き検出回路118の出力をモニタする。動き検出回路118の出力が所定値未満の場合、地磁気センサ116に与える影響が小さいとして、地磁気センサ116を用いて撮影方位を算出する。また、動き検出回路118の出力が所定値以上の場合、すなわちいずれかの所定の部材が動いている場合、地磁気センサ116に与える影響が大きいとして、ジャイロセンサ115の出力を用いて撮影方位を算出する。   The microcomputer 113 constantly monitors the output of the motion detection circuit 118 while calculating the shooting direction. When the output of the motion detection circuit 118 is less than a predetermined value, the imaging direction is calculated using the geomagnetic sensor 116 on the assumption that the influence on the geomagnetic sensor 116 is small. Further, when the output of the motion detection circuit 118 is equal to or greater than a predetermined value, that is, when any predetermined member is moving, the shooting direction is calculated using the output of the gyro sensor 115 on the assumption that the influence on the geomagnetic sensor 116 is large. To do.

以上述べた各実施形態では、地磁気センサ116からジャイロセンサ115に切り替わるときには、切り替わる瞬間の地磁気センサ116の値から算出した絶対方位に基づいて、ジャイロセンサ115の出力を考慮して撮影方位を求めたが、ジャイロセンサ115から地磁気センサ116に切り替わるときも、ジャイロセンサ115の出力を用いて算出した撮影方位を考慮して撮影方位を求めることにより、ユーザにセンサの切り替わりを意識させずに、スムーズな切換を行うことができる。具体的には、定期的に撮影方位を求め、それらの移動平均を取る等してフィルタリングし、急激に方位が変化するような現象を取り除くことが望ましい。   In each of the embodiments described above, when switching from the geomagnetic sensor 116 to the gyro sensor 115, the shooting direction is obtained in consideration of the output of the gyro sensor 115 based on the absolute direction calculated from the value of the geomagnetic sensor 116 at the moment of switching. However, even when switching from the gyro sensor 115 to the geomagnetic sensor 116, it is possible to obtain a shooting direction in consideration of the shooting direction calculated using the output of the gyro sensor 115, so that the user can be made smooth without being aware of the switching of the sensor. Switching can be performed. Specifically, it is desirable to periodically obtain a shooting direction and perform filtering by taking a moving average of them to remove a phenomenon in which the direction changes suddenly.

また、ジャイロセンサ115を用いて算出した撮影方位と、地磁気センサ116を用いて算出した撮影方位とが異なる場合も考えられる。これは、地磁気センサ116の出力から地磁気を求める際には、環境磁場のオフセットを減算する処理を行うが、このオフセットを間違って推定してしまう場合があるためである。
このような場合には、ユーザに地磁気センサ116のキャリブレーションを促す通知を行う。図9は、ユーザに地磁気センサ116のキャリブレーションを促す表示例である。この表示において“実行”を選択することにより、カメラは地磁気センサ116のキャリブレーションモードに入る。このようにして地磁気センサ116をキャリブレーションすることにより、環境磁場成分を精度良く推定することができ、その結果、撮影方向を元通りに精度良く算出することが可能となる。
In addition, there may be a case where the shooting direction calculated using the gyro sensor 115 and the shooting direction calculated using the geomagnetic sensor 116 are different. This is because, when obtaining the geomagnetism from the output of the geomagnetic sensor 116, a process of subtracting the offset of the environmental magnetic field is performed, but this offset may be erroneously estimated.
In such a case, the user is prompted to calibrate the geomagnetic sensor 116. FIG. 9 is a display example that prompts the user to calibrate the geomagnetic sensor 116. By selecting “execute” in this display, the camera enters the calibration mode of the geomagnetic sensor 116. By calibrating the geomagnetic sensor 116 in this way, it is possible to estimate the environmental magnetic field component with high accuracy, and as a result, it is possible to accurately calculate the imaging direction as it was.

以上、本発明の好ましい実施形態について説明したが、本発明はこれらの実施形態に限定されず、その要旨の範囲内で種々の変形及び変更が可能である。
(その他の実施形態)
また、本発明は、以下の処理を実行することによっても実現される。すなわち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムを読み出して実行する処理である。
As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to these embodiment, A various deformation | transformation and change are possible within the range of the summary.
(Other embodiments)
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.

100:レンズ、101:AF、102:絞り、103:撮像センサ、104:メカシャッター、105:ミラー、106:スイッチ、107:電源回路、108:バッテリー、109:通信インタフェース、110:記録装置、111:表示装置、112:ストロボ、113:マイコン、114:加速度センサ、115:ジャイロセンサ(角速度センサ)、116:地磁気センサ、117:電流検出回路、118:動き検出回路   100: Lens, 101: AF, 102: Aperture, 103: Imaging sensor, 104: Mechanical shutter, 105: Mirror, 106: Switch, 107: Power supply circuit, 108: Battery, 109: Communication interface, 110: Recording device, 111 : Display device, 112: strobe, 113: microcomputer, 114: acceleration sensor, 115: gyro sensor (angular velocity sensor), 116: geomagnetic sensor, 117: current detection circuit, 118: motion detection circuit

Claims (7)

撮像手段と、
電源と、
地磁気検出手段と、
角速度検出手段と、
前記電源から前記撮像手段に電力が供給されている状態において、一定の条件下で、前記地磁気検出手段を用いて方位を算出する方式と、前記角速度検出手段を用いて方位を算出する方式とを切り替える制御手段と
前記電源から前記撮像手段に供給される電流を検出する電流検出手段とを備え、
前記制御手段は、前記電流が一定である場合、前記地磁気検出手段を用いて方位を算出する方式を採用し、前記電流が一定でない場合、前記角速度検出手段を用いて方位を算出する方式を採用するよう制御することを特徴とする撮像装置。
Imaging means;
Power supply,
Geomagnetic detection means;
Angular velocity detection means;
A method of calculating an azimuth using the geomagnetism detection unit and a method of calculating an azimuth using the angular velocity detection unit under certain conditions in a state where power is supplied from the power source to the imaging unit. Control means for switching ;
Current detection means for detecting a current supplied from the power source to the imaging means,
When the current is constant, the control means adopts a method of calculating the azimuth using the geomagnetic detection means, and when the current is not constant, adopts a method of calculating the azimuth using the angular velocity detection means. An imaging device that is controlled to perform.
前記制御手段は、方位を算出する方式を切り替えたときに、切り替え前に算出した方位を用いて方位を算出することを特徴とする請求項に記載の撮像装置。 The imaging apparatus according to claim 1 , wherein the control unit calculates the azimuth using the azimuth calculated before switching when the method for calculating the azimuth is switched. 前記電流検出手段は、前記電源から前記撮像手段に供給される電流として、レンズの駆動電流、絞りの駆動電流、メカシャッターの駆動電流、ミラーの駆動電流、撮像センサの駆動電流、ストロボの充電電流、ストロボの発光電流、表示装置の駆動電流のうち少なくともいずれか一つを検出することを特徴とする請求項1又は2に記載の撮像装置。 The current detection means includes a lens driving current, a diaphragm driving current, a mechanical shutter driving current, a mirror driving current, an imaging sensor driving current, and a strobe charging current as currents supplied from the power source to the imaging means. , the light emission current of the flash, the imaging device according to claim 1 or 2, wherein the detecting at least one of the drive current of the display device. 前記地磁気検出手段を用いて算出した方位と、前記角速度検出手段を用いて算出した方位とが異なる場合、前記地磁気検出手段のキャリブレーションを促す通知を行う手段を備えたことを特徴とする請求項1乃至のいずれか1項に記載の撮像装置。 2. The apparatus according to claim 1, further comprising: a notification that prompts calibration of the geomagnetism detection means when the azimuth calculated using the geomagnetism detection means is different from the azimuth calculated using the angular velocity detection means. The imaging device according to any one of 1 to 3 . 撮像手段と電源とを備え、方位を算出する機能を有する撮像装置の制御方法であって、
前記電源から前記撮像手段に電力が供給されている状態において、一定の条件下で、地磁気検出手段を用いて方位を算出する方式と、角速度検出手段を用いて方位を算出する方式とを切り替える制御ステップと、
前記電源から前記撮像手段に供給される電流を検出する電流検出ステップとを有し、
前記制御ステップでは、前記電流が一定である場合、前記地磁気検出手段を用いて方位を算出する方式を採用し、前記電流が一定でない場合、前記角速度検出手段を用いて方位を算出する方式を採用するよう制御することを特徴とする撮像装置の制御方法。
A method for controlling an imaging apparatus comprising an imaging means and a power source and having a function of calculating an orientation,
Control for switching between a method for calculating the azimuth using the geomagnetic detection means and a method for calculating the azimuth using the angular velocity detection means under a certain condition in a state where power is supplied from the power source to the imaging means. Steps,
A current detection step of detecting a current supplied from the power source to the imaging means,
In the control step, when the current is constant, a method of calculating an azimuth using the geomagnetic detection means is adopted, and when the current is not constant, a method of calculating an azimuth using the angular velocity detection means is adopted. And a control method for the imaging apparatus.
コンピュータを、請求項1乃至4のいずれか1項に記載の撮像装置の各手段として機能させるための、コンピュータが読み取り可能なプログラム。 The computer-readable program for functioning a computer as each means of the imaging device of any one of Claims 1 thru | or 4 . 請求項に記載のプログラムを記憶することを特徴とするコンピュータ読み取り可能な記憶媒体。 A computer-readable storage medium storing the program according to claim 6 .
JP2014052598A 2014-03-14 2014-03-14 Imaging apparatus, control method thereof, and program Expired - Fee Related JP6320094B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014052598A JP6320094B2 (en) 2014-03-14 2014-03-14 Imaging apparatus, control method thereof, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014052598A JP6320094B2 (en) 2014-03-14 2014-03-14 Imaging apparatus, control method thereof, and program

Publications (3)

Publication Number Publication Date
JP2015177366A JP2015177366A (en) 2015-10-05
JP2015177366A5 JP2015177366A5 (en) 2017-04-13
JP6320094B2 true JP6320094B2 (en) 2018-05-09

Family

ID=54256123

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014052598A Expired - Fee Related JP6320094B2 (en) 2014-03-14 2014-03-14 Imaging apparatus, control method thereof, and program

Country Status (1)

Country Link
JP (1) JP6320094B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4552658B2 (en) * 2005-01-13 2010-09-29 日立金属株式会社 Attitude detection method using two-axis magnetic sensor and program thereof
US8531180B2 (en) * 2010-03-30 2013-09-10 Apple Inc. Determining heading using magnetometer data and angular rate data
JP2013057601A (en) * 2011-09-08 2013-03-28 Sony Corp Electronic instrument and imaging apparatus

Also Published As

Publication number Publication date
JP2015177366A (en) 2015-10-05

Similar Documents

Publication Publication Date Title
JP5558956B2 (en) Imaging apparatus and control method thereof
JP5262928B2 (en) Imaging device, portable terminal device, and focusing mechanism control method
JP4857363B2 (en) Image shake correction apparatus and imaging apparatus
US8844148B2 (en) Direction determining method and apparatus using a triaxial electronic compass
CN101106655B (en) Anti-shake device
US10122922B2 (en) Image pickup apparatus and image stabilization method
KR101256309B1 (en) Photographing device
CN104714353A (en) Image shake correcting device and control method therefor, optical apparatus, and image pickup apparatus
JP2010243824A (en) Image shake correction apparatus and imaging apparatus
JP2007219397A (en) Image blur correction device
US8537247B2 (en) Photographing device which measures azimuth during photographing
CN110278354A (en) Lens assembly, camera, control method and storage medium
JP2012128356A (en) Shake correction device and optical apparatus
CN105391943A (en) Rapid focusing method and system of shooting device
JP2003091028A (en) Correction means position control device
JP2015114615A (en) Imaging optical device and control method of imaging optical device
JP6320094B2 (en) Imaging apparatus, control method thereof, and program
JP2018197772A (en) Image blur correction device, lens device, imaging apparatus, control method for image blur correction device, program, and storage medium
US20160076888A1 (en) Electronic apparatus
CN110710193A (en) Image shake detection device, image pickup device, lens device, image pickup device main body, image shake detection method, and image shake detection program
JP2012042589A (en) Image shake correction mechanism, lens barrel, and image sensor
JP2015102774A (en) Imaging device
JP6312519B2 (en) Imaging device, control method thereof, and program
JP4817544B2 (en) Anti-vibration control device, camera and correction means position control device
JP4701006B2 (en) Camera shake detection device and photographing device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170309

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170309

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171214

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180215

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180403

R151 Written notification of patent or utility model registration

Ref document number: 6320094

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees