JP7182962B2 - IMAGING DEVICE, LENS DEVICE, AND CONTROL METHOD THEREOF - Google Patents

IMAGING DEVICE, LENS DEVICE, AND CONTROL METHOD THEREOF Download PDF

Info

Publication number
JP7182962B2
JP7182962B2 JP2018165391A JP2018165391A JP7182962B2 JP 7182962 B2 JP7182962 B2 JP 7182962B2 JP 2018165391 A JP2018165391 A JP 2018165391A JP 2018165391 A JP2018165391 A JP 2018165391A JP 7182962 B2 JP7182962 B2 JP 7182962B2
Authority
JP
Japan
Prior art keywords
information
shake
lens
communication
timing
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.)
Active
Application number
JP2018165391A
Other languages
Japanese (ja)
Other versions
JP2020038296A (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 JP2018165391A priority Critical patent/JP7182962B2/en
Publication of JP2020038296A publication Critical patent/JP2020038296A/en
Application granted granted Critical
Publication of JP7182962B2 publication Critical patent/JP7182962B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、相互に通信するレンズ装置と装置本体部とを備える撮像システムにおいて、画像の像振れや歪みを低減する技術に関するものである。 The present invention relates to a technique for reducing image blurring and distortion in an imaging system that includes a lens device and a device main body that communicate with each other.

撮像装置に加わる手振れ等を検出して振れに起因する像振れを補正する技術がある。検出した振れに応じて像振れ補正レンズを移動させる方式の像振れ補正を、光学式像振れ補正又は光学防振という。また、検出した振れに応じて撮影画像の一部を切り出して出力することにより、動画撮影時の撮影画像の振れを補正する像振れ補正を、電子式像振れ補正又は電子防振という。 2. Description of the Related Art There is a technique for detecting camera shake or the like applied to an imaging device and correcting image blur caused by the shake. An image blur correction method in which an image blur correction lens is moved according to the detected shake is called optical image blur correction or optical image stabilization. Further, image blur correction that corrects blurring of a photographed image during moving image shooting by extracting and outputting a part of the photographed image according to the detected shake is called electronic image blur correction or electronic image stabilization.

近年では動画撮影時において、特にワイド側(広角側)の像振れ補正範囲を広げることにより、歩き撮り等により生じる大きな像振れに対する像振れ補正効果を高める技術も知られている。光学式像振れ補正と電子式像振れ補正を併用することで、より大きな補正効果が得られ、より大きな像振れにも対応可能である。 In recent years, there has also been known a technique of increasing the image blur correction effect for large image blur caused by shooting while walking or the like by expanding the image blur correction range especially on the wide side (wide-angle side) during moving image shooting. By using both the optical image blur correction and the electronic image blur correction, a greater correction effect can be obtained and even larger image blur can be handled.

一方、交換レンズ方式のカメラシステムにおいては、カメラ本体部に装着されるレンズ装置が光学式像振れ補正機構を備え、カメラ本体部が光学式像振れ補正部または電子式像振れ補正部を備える構成が考えられる。つまり、レンズ装置とカメラ本体部でそれぞれ独立した振れ補正を行うように組み合わせたシステムである。このようなシステムにおいて、レンズ装置とカメラ本体部が独立に振れ補正を制御するのではなく、互いの通信を介してそれぞれが協調し合って制御し、補正効果を高める技術が開示されている。 On the other hand, in an interchangeable lens type camera system, the lens device attached to the camera body has an optical image blur correction mechanism, and the camera body has an optical image blur correction section or an electronic image blur correction section. can be considered. In other words, it is a system in which the lens device and the camera body are combined so as to perform shake correction independently. In such a system, a technique has been disclosed in which the lens device and the camera body do not control shake correction independently, but cooperate with each other through mutual communication to improve the correction effect.

特許文献1には、カメラ本体の動きベクトル検出手段によって検出された動きベクトルと、レンズユニットの歪み補正量演算部の出力とに基づいて画像の補正を行う技術が開示されている。また特許文献2には、角速度の検出期間とID情報を関連付けて送信し、角速度の検出期間に検出された角速度と角速度に対応するID情報を関連付けて受信し、それぞれのID情報が一致する場合、被写体の角速度情報を算出する技術が開示されている。 Japanese Unexamined Patent Application Publication No. 2002-200000 discloses a technique of correcting an image based on a motion vector detected by a motion vector detection means of a camera body and an output of a distortion correction amount calculation section of a lens unit. In Patent Document 2, an angular velocity detection period and ID information are transmitted in association with each other, and an angular velocity detected during the angular velocity detection period and ID information corresponding to the angular velocity are received in association with each other, and the ID information matches each other. , discloses a technique for calculating angular velocity information of a subject.

特許第5984574号公報Japanese Patent No. 5984574 特開2018-17751号公報JP 2018-17751 A

交換レンズ方式のカメラシステムの場合、様々な交換レンズとカメラ本体部との組み合わせに対応するためには、個々のレンズ仕様やカメラ仕様を意識することなく制御することが必要となる。また、カメラ本体部とレンズ装置との間での通信量および通信頻度が多いと、規定時間内に処理が完了できない可能性があるため、より少ない通信量でかつ制御タイミングが合うように通信することが求められる。 In the case of an interchangeable lens type camera system, it is necessary to perform control without being conscious of individual lens specifications and camera specifications in order to support various combinations of interchangeable lenses and camera bodies. Also, if the amount and frequency of communication between the camera body and the lens device is large, there is a possibility that the processing cannot be completed within the specified time. is required.

一般的に、交換レンズ方式のカメラシステムにおけるカメラ本体を制御するCPUは、搭載された様々な機能を動作させるために、常に並行処理を行っており、その並行処理の優先順位次第では画像の像振れや歪みを低減するための処理が遅延することがある。また、カメラ本体と交換レンズとのマウント端子を経由した通信でデータの受け渡し(レンズ通信)においても、フォーカスレンズ制御や絞り制御や状態取得などの通信が必要に応じて実施される。このため、画像の像振れや歪みを低減するための通信が遅延することがある。動きベクトルについても、カメラ本体部に搭載されている撮像素子の仕様や、撮影モード、フレームレートやシャッタ速度などにより、動きベクトル出力の完了タイミングが変化する。 In general, the CPU that controls the camera body in an interchangeable lens type camera system always performs parallel processing in order to operate various built-in functions. Processing to reduce shake and distortion may be delayed. Also, in data transfer (lens communication) through communication between the camera body and the interchangeable lens via the mount terminal, communication such as focus lens control, aperture control, and status acquisition is performed as necessary. Therefore, communication for reducing image blurring and distortion of an image may be delayed. As for the motion vector, the timing of completion of outputting the motion vector also changes depending on the specifications of the image sensor mounted on the camera body, the shooting mode, the frame rate, the shutter speed, and the like.

すなわち、レンズ交換式カメラシステムにおいては、レンズ通信帯域の枯渇やCPU負荷集中により、予め想定していたタイミングでレンズ通信が実施できない、または動きベクトルの出力がタイミング通りに得られないという事態が発生しうる。画像の像振れや歪みを低減する処理において、検出タイミングが互いに不一致の動きベクトル出力とレンズ通信から受信した像振れ補正量とを用いると、誤った像振れ補正量が演算され、性能劣化や動作異常を引き起こす可能性がある。したがって、レンズ交換式カメラシステムによる画像の像振れや歪みを低減する性能を向上させるには、動きベクトル出力とレンズ通信での送受信との同期を適切に管理することが必要である。 In other words, in an interchangeable lens camera system, due to depletion of the lens communication band or CPU load concentration, lens communication cannot be performed at the timing assumed in advance, or a motion vector output cannot be obtained at the timing. I can. In processing to reduce image blurring and distortion of an image, if a motion vector output whose detection timing does not match with the image blurring correction amount received from lens communication is used, an erroneous image blurring correction amount is calculated, resulting in deterioration of performance and operation. It may cause anomalies. Therefore, in order to improve the performance of reducing image blurring and distortion of an image by an interchangeable lens camera system, it is necessary to appropriately manage synchronization between motion vector output and transmission/reception in lens communication.

特許文献1ではカメラ本体の動きベクトル検出手段によって検出された動きベクトルと、レンズユニットの歪み補正量演算部の出力とに基づいて画像の補正を行う技術が開示されている。しかしながら、動きベクトル出力とレンズ通信からの受信との同期については言及されていない。 Japanese Unexamined Patent Application Publication No. 2002-200002 discloses a technique of correcting an image based on a motion vector detected by a motion vector detection means of a camera body and an output of a distortion correction amount calculation section of a lens unit. However, no mention is made of synchronizing motion vector output with reception from lens communications.

特許文献2では、角速度の検出期間とID情報を関連付けて送信し、その結果の受信でID情報の一致を確認する技術が開示されている。しかしながら、対となるレンズ通信における送信、受信の同期処理であり、動きベクトル出力とレンズ通信での送受信との同期については言及されていない。 Japanese Patent Application Laid-Open No. 2002-200001 discloses a technique of transmitting ID information in association with a detection period of angular velocity, and confirming matching of the ID information by receiving the result. However, this is synchronous processing of transmission and reception in paired lens communication, and no mention is made of synchronization between motion vector output and transmission and reception in lens communication.

本発明の目的は、相互に通信するレンズ装置と撮像装置の本体部を備える撮像システムにおいて、複数の補正手段と振れ検出手段による像振れ補正を、協調かつ同期をとって制御する撮像装置、撮像システム、およびこれらの制御方法を提供することである。 SUMMARY OF THE INVENTION It is an object of the present invention to provide an image pickup system comprising a lens apparatus and an image pickup apparatus main body that communicate with each other, in which image blur correction by a plurality of correction means and shake detection means is controlled in a coordinated and synchronized manner. It is to provide systems and methods of controlling them.

本発明の一側面は、レンズ装置を装着できる撮像装置であって、露光によって像フレームに対応する画像信号を取得する撮像素子と、前記レンズ装置と通信を行う通信制御手段と、前記撮像装置の振れに対応する第1の防振情報を算出する算出手段と、撮像フレームに対して防振制御を行う防振制御手段と、前記撮像フレームに対応するID情報を、前記第1の防振情報に対応づけて設定する設定手段と、を有し、前記通信制御手段は、前記撮像フレームに対応して前記設定手段によって設定された第1のID情報を送信した後に、露光重心に対応するタイミングから所定時間が経過した場合に、通信要求を前記レンズ装置に送信するとともに当該通信要求に対応して前記レンズ装置の振れに対応する第2の防振情報と前記第1のID情報とを受信し、前記防振制御手段は、防振制御の対象とする撮像フレームに対応する第2のID情報と前記第1のID情報とが一致する場合には、前記第1の防振情報と前記第2の防振情報とに基づいて防振制御を実行するよう構成したことを特徴とする。 One aspect of the present invention is an imaging device to which a lens device can be attached, comprising: an imaging device that acquires an image signal corresponding to an image frame by exposure; communication control means that communicates with the lens device; Calculation means for calculating first image stabilization information corresponding to shake; Image stabilization control means for performing image stabilization control on an imaging frame; and setting means for setting in association with the timing corresponding to the exposure center of gravity after transmitting the first ID information set by the setting means in correspondence with the imaging frame. after a predetermined time has passed, a communication request is transmitted to the lens device, and in response to the communication request, second image stabilization information corresponding to vibration of the lens device and the first ID information are received. When the second ID information and the first ID information corresponding to the image pickup frame to be subjected to the anti-shake control match, the anti-shake control means controls the first anti-shake information and the first ID information. and the second image stabilization information.

レンズ装置と、レンズ装置を装着することができる撮像装置との撮像システムであって、露光によって撮像フレームに対応する画像信号を取得する撮像素子と、前記レンズ装置と通信を行うカメラ通信制御手段と、前記撮像装置と通信を行うレンズ通信制御手段と、前記撮像装置の振れに対応する第1の防振情報を算出する第1の算出手段と、レンズ装置の振れに対応する第2の防振情報を算出する第2の算出手段と、前記第1の防振情報と前記第2の防振情報とに基づいて、撮像フレームに対して防振制御を行う防振制御手段と、前記撮像フレームに対応するID情報を、前記第1の防振情報に対応づけて設定する第1の設定手段と、を有し、前記カメラ通信制御手段は、前記撮像フレームに対応して前記設定手段によって設定された第1のID情報を送信した後に、露光重心に対応するタイミングから所定時間が経過してから前記第2の算出手段が算出した前記第2の防振情報と第1のID情報とを前記レンズ通信制御手段から受信し、前記防振制御手段は、防振制御の対象とする撮像フレームに対応する第2のID情報と前記第1のID情報とが一致する場合には、前記第1の防振情報と前記第2の防振情報とに基づいて、前記撮像フレームに対する防振制御を実行するよう構成したことを特徴とする。 An image pickup system comprising a lens device and an image pickup device to which the lens device can be attached, comprising: an image pickup device for acquiring an image signal corresponding to an image pickup frame by exposure; and camera communication control means for communicating with the lens device. a lens communication control means for communicating with the imaging device; a first calculation means for calculating first vibration isolation information corresponding to the vibration of the imaging device; and a second vibration isolation corresponding to the vibration of the lens device. second calculation means for calculating information; image stabilization control means for performing image stabilization control on a captured frame based on the first image stabilization information and the second image stabilization information; and the imaged frame and a first setting means for setting ID information corresponding to the image pickup frame in association with the first image stabilizing information, wherein the camera communication control means is set by the setting means in correspondence with the imaging frame. After a predetermined time has elapsed from the timing corresponding to the center of gravity of exposure after transmitting the first ID information, the second anti-vibration information calculated by the second calculation means and the first ID information are calculated. Received from the lens communication control means, and the anti-shake control means, when the second ID information corresponding to the imaging frame to be subjected to anti-shake control matches the first ID information, the It is characterized in that image stabilization control is executed for the imaging frame based on the first image stabilization information and the second image stabilization information.

本発明によれば、相互に通信するレンズ装置と撮像装置の本体部を備える撮像システムにおいて、複数の補正手段と振れ検出手段による像振れ補正を、協調かつ同期をとって制御することができる。 According to the present invention, in an imaging system that includes a lens device and a main body of an imaging device that communicate with each other, image blur correction by a plurality of correctors and blur detectors can be controlled in a coordinated and synchronized manner.

本発明の一実施形態に係わる撮像システムの構成例を示すブロック図である。1 is a block diagram showing a configuration example of an imaging system according to an embodiment of the present invention; FIG. 像振れ補正の制御に関わる部分のブロック図である。FIG. 2 is a block diagram of a portion related to control of image blur correction; 電子式像振れ補正制御部の詳細を説明するブロック図である。3 is a block diagram illustrating details of an electronic image blur correction control unit; FIG. 第1実施形態における通信と振れ検出のタイミングについて説明する図である。FIG. 4 is a diagram illustrating the timing of communication and shake detection in the first embodiment; 第1実施形態におけるカメラ本体部の通信と制御を説明するフローチャートである。4 is a flowchart for explaining communication and control of a camera body in the first embodiment; 第1実施形態におけるレンズ装置の通信と制御を説明するフローチャートである。4 is a flowchart for explaining communication and control of the lens device in the first embodiment; 第2実施形態におけるカメラ本体部の通信と制御を説明するフローチャートである。9 is a flow chart for explaining communication and control of a camera body in the second embodiment; 第4実施形態における通信と振れ検出のタイミングについて説明する図である。FIG. 11 is a diagram for explaining timings of communication and shake detection in the fourth embodiment; 第4実施形態におけるカメラ本体部の通信と制御を説明するフローチャートである。FIG. 14 is a flow chart for explaining communication and control of a camera body in a fourth embodiment; FIG. 第4実施形態におけるレンズ装置の通信と制御を説明するフローチャートである。FIG. 12 is a flowchart for explaining communication and control of the lens device in the fourth embodiment; FIG. 焦点距離と像振れ補正可動範囲との関係を示すグラフである。7 is a graph showing the relationship between focal length and image blur correction movable range; 焦点距離と分割係数との関係を示すグラフである。4 is a graph showing the relationship between focal length and division factor; ローリングシャッタ歪み補正の概念図である。FIG. 4 is a conceptual diagram of rolling shutter distortion correction; 撮像装置におけるピッチ方向、ヨー方向、ロール方向の説明図である。4A and 4B are explanatory diagrams of the pitch direction, the yaw direction, and the roll direction in the imaging device;

以下、本発明の各実施形態について、添付図面を参照して詳細に説明する。まず、各実施形態に共通する事項について説明する。 Hereinafter, each embodiment of the present invention will be described in detail with reference to the accompanying drawings. First, matters common to each embodiment will be described.

図1は、本発明の一実施形態に係わる撮像システムの構成を示すブロック図である。撮像システムは、主に静止画像と動画像の撮影を行うためのレンズ交換式のデジタルカメラである。本発明の適用範囲はデジタルカメラに限定されず、本発明は各種の撮像システムに適用することができる。 FIG. 1 is a block diagram showing the configuration of an imaging system according to one embodiment of the present invention. The imaging system is a lens-interchangeable digital camera for mainly taking still images and moving images. The scope of application of the present invention is not limited to digital cameras, and the present invention can be applied to various imaging systems.

図1の撮像システムは、レンズ装置およびカメラ本体部から構成され、レンズ装置はカメラ本体部に装着して使用される。レンズ装置は101から112までを構成し、カメラ本体は113から125までを構成する。レンズ装置のズームユニット101は、変倍を行うズームレンズを含む。ズーム駆動制御部102は、ズームユニット101を駆動制御する。絞りユニット103は、絞りの機能を有する。絞り駆動制御部104は、絞りユニット103を駆動制御する。像振れ補正ユニット105はシフトレンズ等の像振れ補正レンズ(以下、補正レンズともいう)を備える。像振れ補正ユニット105は第1の像振れ補正手段であり、光学式像振れ補正制御部106が駆動制御を行う。フォーカスユニット107は、焦点調節を行って被写体像を形成するフォーカスレンズを含む。フォーカス駆動制御部108は、フォーカスユニット107を駆動制御する。 The imaging system shown in FIG. 1 is composed of a lens device and a camera body, and the lens device is attached to the camera body for use. The lens system comprises 101-112, and the camera body comprises 113-125. A zoom unit 101 of the lens apparatus includes a zoom lens for changing magnification. A zoom drive control unit 102 drives and controls the zoom unit 101 . The diaphragm unit 103 has a diaphragm function. A diaphragm drive control unit 104 drives and controls the diaphragm unit 103 . The image blur correction unit 105 includes an image blur correction lens (hereinafter also referred to as a correction lens) such as a shift lens. The image blur correction unit 105 is a first image blur correction means, and the optical image blur correction control section 106 performs drive control. A focus unit 107 includes a focus lens that performs focus adjustment to form a subject image. A focus drive control unit 108 drives and controls the focus unit 107 .

レンズ操作部109は、ユーザがレンズ装置の操作に使用する操作部である。レンズ振れ検出部110はレンズ装置に加わる振れ量を検出し、検出信号をレンズ制御部111に出力する。レンズ装置全体を制御するレンズ制御部111はCPU(中央演算処理装置)を備え、レンズ装置の各駆動制御部や補正制御部を統括制御する。レンズ制御部111は、レンズ通信制御部112を介して、カメラ本体部の制御部と通信する。 A lens operation unit 109 is an operation unit used by the user to operate the lens apparatus. A lens shake detection unit 110 detects the amount of shake applied to the lens device and outputs a detection signal to the lens control unit 111 . A lens control unit 111 that controls the entire lens device includes a CPU (Central Processing Unit), and performs integrated control of each drive control unit and correction control unit of the lens device. The lens control unit 111 communicates with the control unit of the camera body through the lens communication control unit 112 .

次にカメラ本体部について説明する。カメラ本体部はシャッタユニット113を備える。シャッタ駆動制御部114は、シャッタユニット113を駆動制御する。撮像部115は撮像素子を備え、各レンズ群を通過して結像される光像を光電変換して電気信号(画像信号とも称する)を出力する。撮像信号処理部116は、撮像部115から出力された電気信号を映像信号に変換処理する。映像信号処理部117は、撮像信号処理部116から出力された映像信号を用途に応じて加工する。例えば、電子式像振れ補正制御部123の補正量に応じて映像信号の切り出し位置を変更する。電子式像振れ補正制御部123(防振制御手段の一例である)は、第2の像振れ補正手段であり、画像の切り出しによって像振れ補正の制御(防振制御の一例である)を行う。なお、第2の像振れ補正については電子式像振れ補正に限らず、例えば撮像素子の駆動制御による像振れ補正やカメラ本体部内の可動光学素子の駆動制御による像振れ補正がある。 Next, the camera body will be described. The camera main body has a shutter unit 113 . The shutter drive control section 114 drives and controls the shutter unit 113 . The imaging unit 115 includes an imaging element, photoelectrically converts an optical image formed by passing through each lens group, and outputs an electric signal (also referred to as an image signal). The imaging signal processing unit 116 converts the electrical signal output from the imaging unit 115 into a video signal. The video signal processing unit 117 processes the video signal output from the imaging signal processing unit 116 according to the application. For example, the clipping position of the video signal is changed according to the correction amount of the electronic image blur correction control unit 123 . The electronic image stabilization control unit 123 (an example of stabilization control means) is a second image stabilization means, and performs image stabilization control (an example of stabilization control) by clipping an image. . Note that the second image blur correction is not limited to electronic image blur correction, and includes image blur correction by drive control of an image sensor and image blur correction by drive control of a movable optical element in the camera body.

表示部118は、映像信号処理部117から出力された信号に基づいて、必要に応じて画像表示を行う。記憶部119は、映像情報等の様々なデータを記憶する。電源部120は、システム全体に用途に応じて電源を供給する。カメラ操作部121は、ユーザがカメラシステムの操作に使用する操作部であり、操作信号をカメラ制御部124に出力する。カメラ振れ検出部122はカメラ本体部に加わった手振れ等のカメラ振れを動きベクトルによって検出し、該カメラ振れに応じたカメラ動き信号をカメラ制御部124に出力する。カメラ制御部124はCPUを備え、カメラシステム全体を統括制御する。カメラ制御部124は、カメラ通信制御部125を介してレンズ装置のレンズ通信制御部112と通信する。つまり、レンズ装置がカメラ本体部に装着され、電気的に接続された状態において、レンズ通信制御部112とカメラ通信制御部125により相互通信が行われる。 The display unit 118 displays an image as necessary based on the signal output from the video signal processing unit 117 . The storage unit 119 stores various data such as video information. The power supply unit 120 supplies power to the entire system according to the application. The camera operation unit 121 is used by the user to operate the camera system, and outputs operation signals to the camera control unit 124 . A camera shake detection unit 122 detects camera shake such as hand shake applied to the camera main unit by a motion vector, and outputs a camera motion signal corresponding to the camera shake to the camera control unit 124 . The camera control unit 124 has a CPU and controls the entire camera system. The camera control section 124 communicates with the lens communication control section 112 of the lens apparatus via the camera communication control section 125 . That is, mutual communication is performed by the lens communication control unit 112 and the camera communication control unit 125 in a state in which the lens device is attached to the camera body and electrically connected.

次に、上記構成を有する撮像システムの概略動作について説明する。 Next, a schematic operation of the imaging system having the above configuration will be described.

レンズ操作部109、カメラ操作部121は、像振れ補正のON/OFFを選択可能な像振れ補正スイッチを含む。ユーザが像振れ補正スイッチを操作して像振れ補正をONに選択すると、レンズ制御部111またはカメラ制御部124は、光学式像振れ補正制御部106または電子式像振れ補正制御部123に像振れ補正動作を指示する。像振れ補正のOFFの指示がなされるまでの間、各像振れ制御部は像振れ補正の制御を行う。 The lens operation unit 109 and the camera operation unit 121 include an image blur correction switch that can select ON/OFF of image blur correction. When the user operates the image blur correction switch to select image blur correction ON, the lens control unit 111 or the camera control unit 124 instructs the optical image blur correction control unit 106 or the electronic image blur correction control unit 123 to correct the image blur. Instructs corrective action. Each image blur control unit controls the image blur correction until an instruction to turn off the image blur correction is given.

また、カメラ操作部121は、像振れ補正に関して、第1のモードと第2のモードを選択可能な像振れ補正モードスイッチを含む。第1のモードは、光学像振れ補正(第1の像振れ補正)のみで像振れ補正を行うモードである。第2のモードは、光学式像振れ補正と電子式像振れ補正(第2の像振れ補正)を併用して像振れ補正を行うモードである。第1のモードが選択された場合、撮像部115の読み出し位置は一定となり、その分読み出し範囲を広げることで、より広角な撮影に対応できる。また、第2のモードが選択された場合、映像信号処理部117により映像信号の切り出し範囲が狭まる代わりに、切り出し位置を像振れ補正量に応じて変更することで、より大きな像振れに対応できる。 The camera operation unit 121 also includes an image blur correction mode switch that can select a first mode or a second mode for image blur correction. The first mode is a mode in which image blur correction is performed only by optical image blur correction (first image blur correction). The second mode is a mode in which image blur correction is performed using both optical image blur correction and electronic image blur correction (second image blur correction). When the first mode is selected, the readout position of the image pickup unit 115 is fixed, and by widening the readout range accordingly, wider-angle imaging can be handled. Further, when the second mode is selected, instead of narrowing the clipping range of the video signal by the video signal processing unit 117, by changing the clipping position according to the image blur correction amount, it is possible to cope with a larger image blur. .

カメラ操作部121は、押し込み量に応じて第1スイッチ(SW1)および第2スイッチ(SW2)が順にオンするように構成されたシャッタレリーズボタンを含む。ユーザがシャッタレリーズボタンを約半分押し込んだときに第1スイッチSW1がオンし、シャッタレリーズボタンを最後まで押し込んだときに第2スイッチSW2がオンする。SW1のオンにより、フォーカス駆動制御部108がフォーカスユニット107を駆動して焦点調節を行うとともに、絞り駆動制御部104が絞りユニット103を駆動して適正な露光量に設定する。SW2のオンにより、撮像部115に露光された光像から得られた画像データが記憶部119に記憶される。 The camera operation unit 121 includes a shutter release button configured to turn on the first switch (SW1) and the second switch (SW2) in order according to the amount of depression. The first switch SW1 is turned on when the user presses the shutter release button about halfway, and the second switch SW2 is turned on when the user presses the shutter release button all the way. When SW1 is turned on, the focus drive control section 108 drives the focus unit 107 to perform focus adjustment, and the aperture drive control section 104 drives the aperture unit 103 to set an appropriate exposure amount. Image data obtained from the optical image exposed to the imaging unit 115 is stored in the storage unit 119 by turning on the SW2.

またカメラ操作部121は動画記録スイッチを含む。カメラは動画記録スイッチの押下後に動画撮影を開始し、ユーザが記録中に再度動画記録スイッチを押すと記録を終了する。動画撮影中にユーザがシャッタレリーズボタンを操作してSW1およびSW2がオンすると、動画記録中の静止画を取得して記録する処理が実行される。また、カメラ操作部121は再生モードを選択可能な再生モード選択スイッチを含む。再生モード選択スイッチの操作により再生モードが選択された場合、カメラは防振(像振れ補正)動作を停止する。 The camera operation unit 121 also includes a moving image recording switch. The camera starts recording a moving image after the moving image recording switch is pressed, and ends recording when the user presses the moving image recording switch again during recording. When the user operates the shutter release button during moving image shooting to turn on SW1 and SW2, a process of acquiring and recording a still image during moving image recording is executed. Also, the camera operation unit 121 includes a reproduction mode selection switch that can select a reproduction mode. When the playback mode is selected by operating the playback mode selection switch, the camera stops anti-vibration (image blur correction) operation.

図2および図14を参照して撮像システムにおける像振れ補正制御について説明する。図2は、撮像システム全体の中で像振れ補正制御に係わる部分をより詳細に説明したブロック図である。図14は、Pitch(ピッチ)方向、Yaw(ヨー)方向、Roll(ロール)方向を説明する図である。図2のレンズ振れ検出部110は、振れ検出センサとしてジャイロセンサを用いて角速度データを検出し、検出電圧を出力する。レンズ振れ検出部110はPitch方向振れ検出センサ、Yaw方向振れ検出センサを有する。また、カメラ振れ検出部122は動きベクトルによる振れ検出を行う。図14に示すように、撮像装置において撮像光学系の光軸をZ軸とし、正位置での鉛直方向をY軸とし、Y軸およびZ軸に直交する方向をX軸と定義する。したがって、Pitch方向はX軸回り方向(チルティング方向)であり、Yaw方向はY軸回り方向(パンニング方向)であり、Roll方向はZ軸回り方向(撮像面が光軸に垂直な面で回転する方向)である。つまり、Pitch方向は、撮像装置の垂直方向において水平面に対する傾動方向であり、Yaw方向は、撮像システムの水平方向において鉛直面に対する傾動方向であり、互いに直交する方向である。 Image blur correction control in the imaging system will be described with reference to FIGS. 2 and 14. FIG. FIG. 2 is a block diagram illustrating in more detail a part related to image blur correction control in the entire imaging system. FIG. 14 is a diagram for explaining the Pitch direction, Yaw direction, and Roll direction. A lens shake detection unit 110 in FIG. 2 detects angular velocity data using a gyro sensor as a shake detection sensor, and outputs a detected voltage. The lens shake detection unit 110 has a pitch direction shake detection sensor and a yaw direction shake detection sensor. Also, the camera shake detection unit 122 performs shake detection using a motion vector. As shown in FIG. 14, the optical axis of the imaging optical system in the imaging apparatus is defined as the Z axis, the vertical direction at the normal position as the Y axis, and the direction orthogonal to the Y and Z axes as the X axis. Therefore, the Pitch direction is the direction around the X-axis (tilting direction), the Yaw direction is the direction around the Y-axis (panning direction), and the Roll direction is the direction around the Z-axis (the imaging plane rotates on the plane perpendicular to the optical axis). direction). In other words, the Pitch direction is the tilting direction with respect to the horizontal plane in the vertical direction of the imaging device, and the Yaw direction is the tilting direction with respect to the vertical plane in the horizontal direction of the imaging system, which directions are perpendicular to each other.

Pitch方向振れ検出センサは、Pitch方向の振れに応じた振れ情報を検出する。Yaw方向振れ検出センサは、Yaw方向の振れに応じた振れ情報を検出する。各振れ情報は角速度データとして取得される。なお、図2において、Pitch方向およびYaw方向に関して同様の構成となるため、片軸のみ説明を行う。 The pitch direction shake detection sensor detects shake information corresponding to shake in the pitch direction. The Yaw direction shake detection sensor detects shake information corresponding to shake in the Yaw direction. Each shake information is acquired as angular velocity data. In FIG. 2, since the configuration is the same in the pitch direction and the yaw direction, only one axis will be described.

レンズ振れ検出部110は、例えばジャイロセンサ等の角速度センサによる角速度データを検出電圧として出力する。角速度検出AD変換部201は、レンズ振れ検出部110が出力した検出信号をデジタルデータに変換する。ハイパスフィルタ202は、角速度データのオフセット成分や温度ドリフト成分を除去して積分部203に出力する。積分部203は、主にローパスフィルタによる疑似積分で角速度データを積分し、角度データに変換する。光学式像振れ補正の敏感度乗算部204は、積分部203から取得した角度データを像振れ補正レンズの駆動制御量(シフト量)に変換する。この駆動制御量を像振れ補正量とも称する。この敏感度は撮像光学系の焦点距離が変わるごとに値が変更される。また敏感度には、角速度センサの感度調整による補正量も反映され、感度バラツキが吸収される。 The lens shake detection unit 110 outputs angular velocity data obtained by an angular velocity sensor such as a gyro sensor as a detection voltage. The angular velocity detection AD converter 201 converts the detection signal output by the lens shake detector 110 into digital data. A high-pass filter 202 removes offset components and temperature drift components from the angular velocity data and outputs the data to the integrating section 203 . The integrator 203 mainly integrates the angular velocity data by pseudo-integration using a low-pass filter, and converts it into angle data. An optical image blur correction sensitivity multiplication unit 204 converts the angle data acquired from the integration unit 203 into a drive control amount (shift amount) of the image blur correction lens. This drive control amount is also called an image blur correction amount. The value of this sensitivity is changed each time the focal length of the imaging optical system changes. The sensitivity also reflects the amount of correction by sensitivity adjustment of the angular velocity sensor, and sensitivity variations are absorbed.

分割部205は、敏感度乗算部204の出力する像振れ補正量を二分割する。像振れ補正量は、光学式振れ補正に適用する光学式像振れ補正量と、電子式振れ補正に適用する電子式像振れ補正量に分割される。分割部205は、光学式像振れ補正量の算出を行うため、像振れ補正量に対して係数(Kと記す)を乗算する。係数Kは、各焦点距離における、光学式像振れ補正の可動範囲(Aと記す)と電子式像振れ補正の可動範囲(Bと記す)によって下記式(1)のように決定される。可動範囲は像振れ補正の制御が可能な範囲であり、光学式像振れ補正の場合には像振れ補正ユニット105の駆動制御可能な範囲に相当する。また電子式像振れ補正の場合には画像の切り出しによる補正処理が可能な範囲に相当する。
K=A/(A+B) …(1)
A division unit 205 divides the image blur correction amount output from the sensitivity multiplication unit 204 into two. The image blur correction amount is divided into an optical image blur correction amount applied to optical blur correction and an electronic image blur correction amount applied to electronic blur correction. The dividing unit 205 multiplies the image blur correction amount by a coefficient (denoted as K) in order to calculate the optical image blur correction amount. The coefficient K is determined by the following formula (1) based on the movable range of optical image blur correction (denoted as A) and the movable range of electronic image blur correction (denoted as B) at each focal length. The movable range is the range in which image blur correction can be controlled, and corresponds to the range in which drive control of the image blur correction unit 105 is possible in the case of optical image blur correction. In the case of electronic image blur correction, this corresponds to a range in which correction processing by clipping an image is possible.
K=A/(A+B) (1)

式(1)から、Kは1以下の値をとる。つまり係数Kの乗算により、像振れ補正量の全体量に対して光学式像振れ補正の補正量(第1の像振れ補正量)が算出される。 From equation (1), K takes a value of 1 or less. That is, by multiplying the coefficient K, the correction amount of the optical image blur correction (first image blur correction amount) is calculated with respect to the total image blur correction amount.

光学式像振れ補正量のリミッタ部206は、第1の像振れ補正量を像振れ補正ユニット105の可動範囲でクランプする。こうすることで光学式像振れ補正の可動範囲端(駆動制御範囲の限界位置)に補正レンズが到達したままの状態になる事態を防ぐことができる。リミッタ部206の出力は減算部DECに入力される。 The optical image blur correction amount limiter unit 206 clamps the first image blur correction amount within the movable range of the image blur correction unit 105 . By doing so, it is possible to prevent a situation in which the correction lens reaches the end of the movable range of the optical image blur correction (the limit position of the drive control range). The output of limiter section 206 is input to subtraction section DEC.

PID制御部207は、減算部DECからの入力に応じて像振れ補正レンズの位置制御を行う。位置制御は、P(比例)制御、I(積分)制御、D(微分)制御の組み合わせにより行われる。ドライバ部208は、第1の像振れ補正量に相当するPID制御部207の制御信号にしたがって、像振れ補正ユニット105を駆動するための電流を供給する。像振れ補正ユニット105は電磁アクチュエータを備え、像振れ補正レンズを含む可動ユニットを駆動される。位置検出部209は、像振れ補正ユニット105の位置を検出し、検出電圧を出力する。AD変換部210は、位置検出部209の出力するアナログ検出電圧をデジタルデータに変換し、減算部DECに出力する。減算部DECはリミッタ部206とAD変換部210の各出力の差分(偏差)を算出してPID制御部207に出力する。これにより、フィードバック制御が行われる。 The PID control unit 207 performs position control of the image blur correction lens according to the input from the subtraction unit DEC. Position control is performed by a combination of P (proportional) control, I (integral) control, and D (differential) control. A driver unit 208 supplies a current for driving the image blur correction unit 105 according to a control signal from the PID control unit 207 corresponding to the first image blur correction amount. The image blur correction unit 105 has an electromagnetic actuator and drives a movable unit including an image blur correction lens. A position detection unit 209 detects the position of the image blur correction unit 105 and outputs a detection voltage. The AD conversion section 210 converts the analog detection voltage output from the position detection section 209 into digital data, and outputs the digital data to the subtraction section DEC. The subtraction unit DEC calculates the difference (deviation) between the outputs of the limiter unit 206 and the AD conversion unit 210 and outputs it to the PID control unit 207 . Feedback control is thereby performed.

一方、分割部205は、電子式像振れ補正量を算出するため、敏感度乗算部204の出力する像振れ補正量に対して係数「1-K」を乗算する。光学式像振れ補正量については、係数Kが乗算されるのに対し、電子式像振れ補正量については係数「1-K」の乗算により、像振れ補正量が分割される。角度変換部211は、電子式像振れ補正量(第2の像振れ補正量)を角度データに変換する。この変換係数は焦点距離ごとに異なる値をもち、焦点距離が変わるごとに変更される。変換後のデータはレンズ通信制御部112、カメラ通信制御部125を介して、電子式像振れ補正制御部123に伝達される。電子式像振れ補正制御部123は、第2の像振れ補正量、およびカメラ振れ検出部122で得られた振れ量に基づく電子式像振れ補正量に応じて電子式像振れ補正制御を行う。図11を参照して、像振れ補正の可動範囲について具体的に説明する。 On the other hand, the division unit 205 multiplies the image blur correction amount output from the sensitivity multiplication unit 204 by a coefficient “1−K” in order to calculate the electronic image blur correction amount. The optical image blur correction amount is multiplied by the coefficient K, whereas the electronic image blur correction amount is divided by multiplication of the coefficient "1-K". The angle conversion unit 211 converts the electronic image shake correction amount (second image shake correction amount) into angle data. This conversion factor has a different value for each focal length and is changed each time the focal length changes. The converted data is transmitted to the electronic image blur correction control section 123 via the lens communication control section 112 and the camera communication control section 125 . The electronic image shake correction control unit 123 performs electronic image shake correction control according to the second image shake correction amount and the electronic image shake correction amount based on the shake amount obtained by the camera shake detection unit 122 . A movable range for image blur correction will be specifically described with reference to FIG. 11 .

図11はカメラの焦点距離と像振れ補正の可動範囲との関係を示すグラフである。横軸は焦点距離fを表し、Wide(広角)端、Middle(中間)位置、Tele(望遠)端を示す。縦軸は可動範囲(単位:degree)を表す。(a)、(b)、(c)のグラフ線はそれぞれ、光学式像振れ補正の可動範囲A、電子式像振れ補正の可動範囲B、全体の像振れ補正可動範囲(A+B)を示している。即ち、(a)+(b)=(c)の関係にある。 FIG. 11 is a graph showing the relationship between the focal length of the camera and the movable range of image blur correction. The horizontal axis represents the focal length f, indicating the Wide (wide-angle) end, the Middle (middle) position, and the Tele (telephoto) end. The vertical axis represents the movable range (unit: degree). Graph lines (a), (b), and (c) respectively indicate the movable range A for optical image stabilization, the movable range B for electronic image stabilization, and the overall movable range for image stabilization (A+B). there is That is, there is a relationship of (a)+(b)=(c).

光学式像振れ補正の可動範囲Aは撮影レンズの光学特性で決まり、電子式像振れ補正の可動範囲Bは撮像素子の余剰画素で決まる。なお、光学式像振れ補正の可動範囲A、電子式像振れ補正の可動範囲Bともにズーム状態によって補正角度が変わる。即ち、カメラに同じ振れが加わった場合でも、ズームポジション(光学ズーム倍率、焦点距離)によって、像振れを補正するための像振れ補正ユニット105の駆動量は異なる。同じ1degreeの振れがカメラに加わったとしても、この1degreeの振れによる像振れを補正するためにWide端で像振れ補正ユニット105のシフトレンズが移動する量の方が、Tele端でシフトレンズが移動する量よりも小さい。光学式像振れ補正の可動範囲Aおよび電子式像振れ補正の可動範囲Bはいずれも焦点距離fによって変化し、像振れ補正の制御上ではいずれも角度換算したデータとして管理される。 The movable range A of the optical image blur correction is determined by the optical characteristics of the photographing lens, and the movable range B of the electronic image blur correction is determined by the surplus pixels of the image sensor. The correction angles of both the movable range A for optical image blur correction and the movable range B for electronic image blur correction change depending on the zoom state. That is, even when the same camera shake is applied, the drive amount of the image blur correction unit 105 for correcting image blur differs depending on the zoom position (optical zoom magnification, focal length). Even if the same 1 degree shake is applied to the camera, the amount by which the shift lens of the image blur correction unit 105 moves at the Wide end to correct the image blur caused by this 1 degree shake is greater than the amount the shift lens moves at the Tele end. less than the amount to be Both the movable range A for the optical image blur correction and the movable range B for the electronic image blur correction change with the focal length f, and both are managed as angle-converted data in controlling the image blur correction.

図12は焦点距離と係数Kの関係を示すグラフである。図11と同様に横軸は焦点距離fを表し、縦軸は像振れ補正量の分割用の係数Kを表す。係数Kは光学式像振れ補正の可動範囲Aと電子式像振れ補正の可動範囲Bによって決定される。また、光学式像振れ補正と電子式像振れ補正がそれぞれ動作するため、光学式像振れ補正と電子式像振れ補正の可動端の境界が存在しなくなる。その結果、光学式像振れ補正のオーバーシュートによる画像の乱れが抑えられる。 12 is a graph showing the relationship between the focal length and the coefficient K. FIG. As in FIG. 11, the horizontal axis represents the focal length f, and the vertical axis represents the coefficient K for dividing the image blur correction amount. The coefficient K is determined by the movable range A for optical image blur correction and the movable range B for electronic image blur correction. Further, since the optical image blur correction and the electronic image blur correction operate respectively, there is no boundary between the movable ends of the optical image blur correction and the electronic image blur correction. As a result, image distortion due to overshoot of the optical image blur correction is suppressed.

図12に示すWide端、Middle位置、Tele端について具体的に説明する。光学式像振れ補正では、像振れ補正レンズが可動範囲A内で移動し、電子式像振れ補正は可動範囲B内で画像処理が実行される。これらの補正を併せて、全体の像振れ補正可動範囲に対応する像振れを補正できる。一例として、光学式像振れ補正の可動範囲AをWide端、Middle位置、Tele端でそれぞれ、(2,0.75,0.3)とする。電子式像振れ補正の可動範囲BをWide端、Middle位置、Tele端でそれぞれ、(2.5,1.6,1.1)とする。可動範囲AおよびBの単位はdegreeである。この場合、係数Kの値はWide端、Middle位置、Tele端でそれぞれ、(0.444,0.319,0.214)となる。 The Wide end, Middle position, and Tele end shown in FIG. 12 will be specifically described. In the optical image blur correction, the image blur correction lens moves within the movable range A, and in the electronic image blur correction, image processing is performed within the movable range B. Together with these corrections, image blur corresponding to the entire image blur correction movable range can be corrected. As an example, the movable range A for optical image stabilization is set to (2, 0.75, 0.3) at the Wide end, Middle position, and Tele end, respectively. The movable range B of electronic image blur correction is set to (2.5, 1.6, 1.1) at the Wide end, Middle position, and Tele end, respectively. The units of the movable ranges A and B are degrees. In this case, the value of the coefficient K is (0.444, 0.319, 0.214) at the Wide end, Middle position, and Tele end, respectively.

光学式像振れ補正と電子式像振れ補正を行う第2のモードが設定された場合、K=A/(A+B)の乗算結果の像振れ補正量で補正レンズの駆動が行われ、係数「1-K」の乗算結果の像振れ補正量で撮像の切り出し位置が変更される。一方、光学式像振れ補正のみを行う第1のモードが設定された場合、分割部205は係数Kの値を1とする。つまり、像振れ補正量の全体量を光学式像振れ補正量として補正レンズの駆動制御が行われる。電子式像振れ補正は行わないため、電子式像振れ補正量に係る係数「1-K」の値はゼロである。 When the second mode for performing optical image blur correction and electronic image blur correction is set, the correction lens is driven with the image blur correction amount obtained by multiplying K=A/(A+B), and the coefficient "1 -K' is multiplied to change the image blur correction amount. On the other hand, when the first mode in which only the optical image blur correction is performed is set, the division unit 205 sets the value of the coefficient K to 1. That is, drive control of the correction lens is performed with the total image blur correction amount as the optical image blur correction amount. Since electronic image blur correction is not performed, the value of the coefficient "1-K" relating to the electronic image blur correction amount is zero.

次に、第2のモードでの静止画撮影について説明する。カメラ操作部121のシャッタレリーズボタンの操作により第2スイッチSW2がオンになると、静止画露光動作が行われる。分割部205は係数Kの値を1とする。像振れ補正量の全体量が光学式像振れ補正量となる。電子式像振れ補正は静止画露光時に行わないため、電子式像振れ補正量に係る係数「1-K」の値はゼロである。静止画露光動作の終了時に分割部205は、光学式像振れ補正にて係数K=A/(A+B)を設定し、電子式像振れ補正にて係数「1-K」に設定する。なお、静止画露光動作の開始時と終了時には、光学式像振れ補正、および電子式像振れ補正の補正量の急な変動を避けるため、所定の出力時間を設けて徐々に補正出力を変更する処理が行われる。 Next, still image shooting in the second mode will be described. When the shutter release button of the camera operation unit 121 is operated to turn on the second switch SW2, a still image exposure operation is performed. The dividing unit 205 sets the value of the coefficient K to one. The total image blur correction amount is the optical image blur correction amount. Since electronic image blur correction is not performed during still image exposure, the value of the coefficient "1-K" relating to the electronic image blur correction amount is zero. At the end of the still image exposure operation, the dividing unit 205 sets the coefficient K=A/(A+B) for the optical image blur correction, and sets the coefficient "1-K" for the electronic image blur correction. At the start and end of the still image exposure operation, in order to avoid sudden changes in the amount of correction for optical and electronic image blur correction, a predetermined output time is provided and the correction output is gradually changed. processing takes place.

図3は電子式像振れ補正制御部123の構成を詳細に示すブロック図である。 FIG. 3 is a block diagram showing in detail the configuration of the electronic image blur correction control section 123. As shown in FIG.

カメラ通信制御部125は、レンズ装置から通信を介して電子式像振れ補正量を受信する。Pitch方向とYaw方向の電子式像振れ補正量は、角度に換算された補正量として伝達される。Pixel変換部301は電子式像振れ補正量をPixel換算の補正量(画素数)に変換してリミッタ305に出力する。変換係数は焦点距離ごとに異なる値をもち、焦点距離が変わるごとに変更される。 The camera communication control unit 125 receives the electronic image blur correction amount from the lens device through communication. The electronic image blur correction amounts in the pitch direction and the yaw direction are transmitted as correction amounts converted into angles. A pixel conversion unit 301 converts the electronic image blur correction amount into a pixel-converted correction amount (the number of pixels), and outputs the pixel-converted correction amount to the limiter 305 . The transform coefficients have different values for different focal lengths and are changed whenever the focal length changes.

カメラ振れ検出部122は動きベクトルによる振れ検出を行い、検出信号をリミッタ302に出力する。動きベクトルの出力は、撮像面に対する上下左右方向の移動量である。リミッタ302は、レンズ側で検出した振れ情報とカメラ側で検出した振れ情報を用いて電子式像振れ補正量を生成し、電子式像振れ補正の切り出し範囲でクランプする。リミッタ302はPixel変換部301、カメラ振れ検出部122の出力に対して処理を行う。すなわち、Pitch方向、Yaw方向ごとにリミッタの各レベルが設定されている。リミット処理後の補正量は電子式像振れ補正量設定部303に入力される。電子式像振れ補正量設定部303は、各補正軸方向の電子式像振れ補正量をそれぞれ設定する。 A camera shake detection unit 122 performs shake detection using a motion vector and outputs a detection signal to the limiter 302 . The motion vector output is the amount of movement in the up, down, left, and right directions with respect to the imaging plane. A limiter 302 generates an electronic image blur correction amount using the shake information detected by the lens and the shake information detected by the camera, and clamps the clipping range of the electronic image blur correction. A limiter 302 processes the outputs of the pixel conversion unit 301 and the camera shake detection unit 122 . That is, each level of the limiter is set for each pitch direction and each yaw direction. The correction amount after limit processing is input to the electronic image blur correction amount setting unit 303 . An electronic image blur correction amount setting unit 303 sets an electronic image blur correction amount in each correction axis direction.

[第1実施形態]
以下に本発明の第1実施形態を説明する。
[First embodiment]
A first embodiment of the present invention will be described below.

図4を参照して、レンズ側検出振れ情報(防振情報の一例である)の検出タイミングとID情報、またカメラ側検出振れ情報(防振情報の一例である)の検出タイミングとID情報について説明する。光学式像振れ補正と電子式像振れ補正を行うためには、カメラ本体部からレンズ装置に撮像部115の露光重心タイミング(406)を伝える必要がある。しかし、カメラ本体部とレンズ装置との間の通信は、像振れ補正以外にも、AF(自動焦点調節)やAE(自動露出)等のための多くの通信がある。他の通信との重なりにより通信タイミングがばらつき、正確な露光重心タイミングが通信できない場合、処理に支障を来たす可能性がある。そこで、本実施形態では通信タイミングずれを回避するために、基準時間と相対時間の2回に分けて通信処理を行うことで、カメラ本体部がレンズ装置に露光重心タイミングを伝える。 Referring to FIG. 4, detection timing and ID information of lens-side detected shake information (an example of shake-proof information) and detection timing and ID information of camera-side detected shake information (an example of shake-proof information) are shown. explain. In order to perform optical image blur correction and electronic image blur correction, it is necessary to transmit the exposure barycenter timing (406) of the imaging unit 115 from the camera body to the lens device. However, the communication between the camera body and the lens device includes many communications for AF (automatic focus adjustment), AE (automatic exposure), etc., in addition to image blur correction. If communication timing varies due to overlap with other communication, and accurate exposure center-of-gravity timing cannot be communicated, processing may be hindered. Therefore, in the present embodiment, in order to avoid the communication timing deviation, the communication processing is divided into two times, the reference time and the relative time, so that the camera body section conveys the exposure center-of-gravity timing to the lens device.

また、カメラ本体部とレンズ装置との間の通信で送受する情報の量が多いと、規定時間内に処理を完了させることが困難となる。さらに、様々な交換レンズに対応するためには、個々のレンズ仕様を意識することなく制御することが必要となる。そこで、本実施形態では、レンズ装置が主体となって制御を行い、像振れ補正のための角度換算データでの通信を行う。 Moreover, if the amount of information transmitted and received in communication between the camera body and the lens device is large, it becomes difficult to complete the processing within the specified time. Furthermore, in order to deal with various interchangeable lenses, it is necessary to control without being conscious of individual lens specifications. Therefore, in the present embodiment, the lens apparatus mainly performs control and communicates angle conversion data for image blur correction.

図4に示すVDは垂直同期信号のタイミングを示し、V_BLKは垂直ブランキング期間のタイミングを示している。「CMOS駆動」は撮像素子の駆動状態を示している。「C⇔L通信」はカメラ本体部(C)とレンズ装置(L)との間の通信を示している。最下段の「Cブレ」、カメラ本体部の振れ検出を示す。第1の通信401の通信タイミング404と、露光時間が決まるタイミング405と、露光重心タイミング406、をそれぞれ示している。F[n]は第nフレームを表す指標であり、そのフレーム番号が通知されるタイミング408、を示している。 VD shown in FIG. 4 indicates the timing of the vertical synchronizing signal, and V_BLK indicates the timing of the vertical blanking period. "CMOS drive" indicates the drive state of the imaging element. "C⇔L communication" indicates communication between the camera body (C) and the lens device (L). "C blurring" at the bottom indicates detection of camera body shake. A communication timing 404 of the first communication 401, a timing 405 for determining the exposure time, and an exposure center-of-gravity timing 406 are shown. F[n] is an index representing the n-th frame, and indicates timing 408 at which the frame number is notified.

図4に示す各時間は以下の通りである。
BT:垂直ブランキング期間の長さ
IT:イメージ時間
AT:通信タイミング404からタイミング405までの時間
ET:露光時間
DT:露光期間の中心から露光重心タイミング406までの遅延時間。
Each time shown in FIG. 4 is as follows.
BT: Length of vertical blanking period IT: Image time AT: Time from communication timing 404 to timing 405 ET: Exposure time DT: Delay time from the center of the exposure period to exposure barycenter timing 406 .

タイミング405を基準とする露光重心タイミング406は、露光期間の中心に基づいて、「IT+BT-ET/2+DT」により計算される。 The exposure center-of-gravity timing 406 with reference to the timing 405 is calculated by "IT+BT-ET/2+DT" based on the center of the exposure period.

なお、各フレームにおいて平行四辺形の重心位置が露光重心タイミング406に対応しており、露光量が少ないほど平行四辺形の面積は小さくなる。露光開始時点(平行四辺形の左上頂点)から露光時間ETが経過した時点(平行四辺形の右上頂点)で撮像素子の信号読み出しが開始する。 In each frame, the center-of-gravity position of the parallelogram corresponds to the exposure center-of-gravity timing 406, and the smaller the exposure amount, the smaller the area of the parallelogram. When the exposure time ET (upper right vertex of the parallelogram) elapses from the start of exposure (upper left vertex of the parallelogram), signal readout of the image sensor starts.

撮像部115の垂直同期信号を起点として、カメラ本体部からレンズ装置へ第1の通信401が行われる。第1の通信401は、カメラ本体部からレンズ装置へ露光重心タイミング406を伝えるための基準となる。レンズ装置は第1の通信401による情報を受け取ったタイミングで、レンズ装置内のタイマー時間を取得し、その時間を露光重心タイミング算出のための基準時間とする。なお、第1の通信401の通信タイミング404については、垂直同期信号と同じタイミングで通信を行ってもよいし、垂直同期信号から任意の時間の前または後に通信してもよい。ただし、毎フレーム、垂直同期信号に対して一定の時間差で通信が行われるようにする。また、第1の通信401の通信タイミング404は、他の通信と重ならないタイミングとする。図4に示す例では、垂直同期信号よりも手前(過去)の時点に、第1の通信401の通信タイミング404が設定されている。 Starting from the vertical synchronization signal of the imaging unit 115, a first communication 401 is performed from the camera body to the lens device. The first communication 401 serves as a reference for transmitting the exposure center-of-gravity timing 406 from the camera body to the lens apparatus. The lens apparatus acquires the timer time in the lens apparatus at the timing of receiving the information by the first communication 401, and uses that time as the reference time for calculating the exposure barycenter timing. As for the communication timing 404 of the first communication 401, communication may be performed at the same timing as the vertical synchronization signal, or may be performed before or after an arbitrary time from the vertical synchronization signal. However, every frame, communication is performed with a constant time difference from the vertical synchronization signal. Also, the communication timing 404 of the first communication 401 is set to timing that does not overlap with other communication. In the example shown in FIG. 4, the communication timing 404 of the first communication 401 is set at a point before (past) the vertical synchronization signal.

次に、カメラ本体部からレンズ装置へ第2の通信402が行われる。第2の通信402では、第1の通信401を基準とする、第1の通信401の通信タイミング404から露光重心タイミング406までの相対時間407の情報がレンズ装置に伝達される。また第2の通信402では、現在の焦点距離における電子式像振れ補正の可動範囲Bと、振れ情報を判別するためのID情報が伝達される。このID情報には、振れを検出するタイミングに対応する撮像フレーム番号を設定する。これにより、一意のID情報が設定される。第2の通信402の通信タイミングは、露光重心を伝える該当フレームの露光時間が決まるタイミング405の後である。これにより、各フレームで露光時間が変わる場合にも、正確な露光重心タイミング406をレンズ装置に伝えることができる。決定された露光時間と、撮像素子の信号読み出し時間に基づいて露光重心タイミング406が求められ、第1の通信401の通信タイミング404を基準とする差により相対時間407が求まる。つまり相対時間407は、「AT+IT+BT-ET/2+DT」により計算される。なお、各フレームの露光時間が決まるタイミング405は固定されているわけではない。また、第2の通信402の通信タイミングは、フレーム番号が通知されるタイミング408の前である。そのため、振れ情報を判別するためのID情報には、振れを検出するタイミングに対応する撮像フレーム番号として、それまでに通知を受けている撮像フレーム番号の次のフレーム番号を設定するようにする。 Next, a second communication 402 is made from the camera body to the lens device. In the second communication 402, information on the relative time 407 from the communication timing 404 of the first communication 401 to the exposure barycenter timing 406 with the first communication 401 as a reference is transmitted to the lens apparatus. In the second communication 402, the movable range B of electronic image blur correction at the current focal length and ID information for determining shake information are transmitted. An imaging frame number corresponding to the timing at which shake is detected is set in this ID information. Thereby, unique ID information is set. The communication timing of the second communication 402 is after the timing 405 at which the exposure time of the corresponding frame that conveys the exposure barycenter is determined. As a result, even when the exposure time varies for each frame, the accurate exposure center-of-gravity timing 406 can be transmitted to the lens apparatus. An exposure center-of-gravity timing 406 is obtained based on the determined exposure time and the signal readout time of the image sensor, and a relative time 407 is obtained from the difference based on the communication timing 404 of the first communication 401 . That is, the relative time 407 is calculated by "AT+IT+BT-ET/2+DT". Note that the timing 405 that determines the exposure time of each frame is not fixed. Also, the communication timing of the second communication 402 is before the timing 408 at which the frame number is notified. For this reason, ID information for discriminating shake information is set with a frame number next to an image pickup frame number that has been notified so far as an image pickup frame number corresponding to the timing of detecting shake.

レンズ装置は、第1の通信401の受信タイミングを基準として、第2の通信402で相対時間407の情報を受け取る。これにより、レンズ装置内のタイマー設定により露光重心タイミング406を把握できる。また、レンズ装置は第2の通信402により、電子式像振れ補正の可動範囲Bを受け取ることで、レンズ装置自身の光学式像振れ補正の可動範囲Aをも含めて、分割部205で用いる係数Kを算出できる。レンズ装置では露光重心タイミング406にて、レンズ振れ検出部110が振れ情報を検出し、さらに分割部205は像振れ補正量の全体量を、レンズ装置での光学式像振れ補正量とカメラ本体部での電子式像振れ補正量に振り分ける。レンズ制御部111はカメラ制御部124からの通信要求があるまで、振り分けた電子式像振れ補正量と、第2の通信402で伝達された振れ情報を判別するためのID情報と共にメモリに保持する。 The lens apparatus receives the information of the relative time 407 through the second communication 402 with reference to the reception timing of the first communication 401 . As a result, the exposure center-of-gravity timing 406 can be grasped by timer setting in the lens apparatus. In addition, the lens apparatus receives the movable range B of the electronic image blur correction through the second communication 402, so that the coefficient used in the dividing unit 205 including the movable range A of the optical image blur correction of the lens apparatus itself is K can be calculated. In the lens apparatus, the lens shake detection unit 110 detects shake information at the exposure center-of-gravity timing 406, and the division unit 205 divides the total image shake correction amount into the optical image shake correction amount in the lens apparatus and the camera body unit. It is distributed to the electronic image stabilization amount in . Until there is a communication request from the camera control unit 124, the lens control unit 111 holds in memory together with the distributed electronic image blur correction amount and the ID information for determining the shake information transmitted by the second communication 402. .

一方で、カメラ本体部でも、カメラ振れ検出部122により、カメラ本体部の振れ情報を取得する。本実施形態で検出するカメラ本体部の振れ情報は動きベクトルである。それに先立ち、カメラ本体部は振れ情報を判別するためのID情報を設定する。このID情報には、振れを検出するタイミングに対応する撮像フレーム番号を設定する。これにより、一意のID情報が設定される。ID情報を設定するタイミングは、フレーム番号が通知されるタイミング408の後のタイミングである409である。よって、振れ情報を判別するためのID情報には、フレーム番号が通知されるタイミング408で通知された撮像フレーム番号をそのまま設定するようにする。また、カメラ本体部の振れ情報を取得が可能になるのは、振れ検出をするフレームに対する動きベクトルの検出が完了するタイミングである410となる。ここで、カメラ本体部の振れ情報が取得できると共に、先に設定した振れ情報を判別するためのID情報を取得する。 On the other hand, the camera body section also acquires the camera body shake information by the camera shake detection section 122 . The camera shake information detected in this embodiment is a motion vector. Prior to this, the camera body sets ID information for discriminating shake information. An imaging frame number corresponding to the timing at which shake is detected is set in this ID information. Thereby, unique ID information is set. The timing for setting the ID information is timing 409, which is timing after timing 408 for notifying the frame number. Therefore, the imaging frame number notified at the timing 408 when the frame number is notified is set as it is in the ID information for determining the shake information. Further, it becomes possible to acquire the shake information of the camera main unit at 410, which is the timing at which the detection of the motion vector for the frame in which the shake is to be detected is completed. Here, the shake information of the camera main body can be acquired, and the previously set ID information for discriminating the shake information is acquired.

次に、カメラ本体部からレンズ装置へ第3の通信403が行われる。第3の通信403では、カメラ制御部124からの通信要求を受けて、レンズ制御部111がカメラ制御部124に対し、振り分けた後のレンズ側検出振れ情報(本実施例では振り分けた電子式像振れ補正量)と、第2の通信402で伝達された振れ情報を判別するためのID情報を伝える。これにより、レンズ側で検出した振れ情報をID情報と共に取得する。第3の通信403の通信タイミングは、露光重心タイミング406の後である。元々カメラ制御部124は露光重心タイミング406を把握しているので、露光重心タイミング後の任意のタイミングで通信を行う。 Next, a third communication 403 is performed from the camera body to the lens device. In the third communication 403, upon receiving a communication request from the camera control unit 124, the lens control unit 111 sends the camera control unit 124 the sorted lens-side detected shake information (in this embodiment, the sorted electronic image shake correction amount) and ID information for discriminating the shake information transmitted by the second communication 402 are transmitted. As a result, shake information detected on the lens side is obtained together with ID information. The communication timing of the third communication 403 is after the exposure center-of-gravity timing 406 . Since the camera control unit 124 originally grasps the exposure center-of-gravity timing 406, communication is performed at an arbitrary timing after the exposure center-of-gravity timing.

カメラ本体部では、レンズ制御部111から受け取ったレンズ側検出振れ情報と、カメラ振れ検出部122で検出したカメラ側検出振れ情報のもつ、それぞれのID情報が一致するかを判定する。一致する場合に、2つの振れ情報から生成したカメラ電子式像振れ補正量を、電子式像振れ補正制御部123に渡し、最終的に電子式像振れ補正量設定部306が補正量を設定する。その際には、生成したカメラ電子式像振れ補正量と先のID情報と関連付けて設定する。 The camera main unit determines whether the ID information of the lens-side detected shake information received from the lens control unit 111 and the camera-side detected shake information detected by the camera shake detection unit 122 match each other. If they match, the camera electronic image stabilization amount generated from the two pieces of shake information is passed to the electronic image stabilization control unit 123, and finally the electronic image stabilization amount setting unit 306 sets the compensation amount. . In this case, the generated camera electronic image blur correction amount and the previous ID information are set in association with each other.

第1の通信、第2の通信及び第3の通信は毎フレームで行われ、カメラ制御部124は第1の通信401で基準時間をレンズ制御部111に通知する。カメラ制御部124は第2の通信402で、振れ情報を判別するID情報と基準時間からの相対時間と電子式像振れ補正の可動範囲を通知する。第3の通信403でカメラ制御部124はレンズ制御部111から、振れ情報を判別するID情報とレンズ側検出振れ情報を取得する。他方、レンズ制御部111は毎フレームにて、第1の通信401で基準時間を取得し、第2の通信で振れ情報を判別するID情報と基準時間からの相対時間407と電子式像振れ補正の可動範囲を取得し、露光重心タイミング406での電子式像振れ補正量を振り分ける。振り分けられた電子式像振れ補正量と振れ情報を判別するID情報は、レンズ制御部111が第3の通信403でカメラ制御部124に通知する。 The first communication, the second communication, and the third communication are performed in each frame, and the camera control section 124 notifies the lens control section 111 of the reference time through the first communication 401 . In the second communication 402, the camera control unit 124 notifies the ID information for discriminating the shake information, the relative time from the reference time, and the movable range of the electronic image stabilization. Through third communication 403 , the camera control unit 124 acquires ID information for discriminating shake information and lens-side detected shake information from the lens control unit 111 . On the other hand, the lens control unit 111 acquires the reference time in each frame through the first communication 401, and transmits ID information for discriminating shake information, relative time 407 from the reference time, and electronic image blur correction through the second communication. is obtained, and the amount of electronic image blur correction at the timing 406 of the center of gravity of exposure is distributed. The lens control unit 111 notifies the camera control unit 124 of the distributed electronic image blur correction amount and the ID information for determining the shake information through the third communication 403 .

図5および図6を参照して本実施形態の処理について説明する。図5は、カメラ制御部124が行う通信と制御内容に関するフローチャートである。図6はレンズ制御部111が行う通信と制御内容に関するフローチャートである。以下の処理は各制御部のCPUがメモリから読み出して実行する所定のプログラムにしたがって実現される。 The processing of this embodiment will be described with reference to FIGS. 5 and 6. FIG. FIG. 5 is a flow chart regarding communication and control contents performed by the camera control unit 124 . FIG. 6 is a flowchart relating to communication and control contents performed by the lens control unit 111 . The following processing is realized according to a predetermined program read from the memory and executed by the CPU of each control unit.

図5に示す処理の主体はカメラ制御部124であり、カメラ通信制御部125、レンズ通信制御部112を介してレンズ制御部111との間で通信処理が実行される。 The processing shown in FIG. 5 is performed by the camera control unit 124 , and communication processing is performed with the lens control unit 111 via the camera communication control unit 125 and the lens communication control unit 112 .

S101で、カメラ制御部124はレンズ制御部111に対し、第1の通信401を行う。第1の通信401の通信タイミング404が露光重心タイミング406に関する基準時間となる。 In S<b>101 , the camera control unit 124 performs first communication 401 with the lens control unit 111 . The communication timing 404 of the first communication 401 becomes the reference time for the exposure center-of-gravity timing 406 .

次にS102で第2の通信402が行われる。第1の通信401での基準時間からの相対時間407の送信により、露光重心タイミング406が伝達される。そして現在の焦点距離における電子式像振れ補正の可動範囲が送信される。さらに振れ情報を判別するための第1のID情報が送信される。このID情報には、振れを検出するタイミングに対応する撮像フレーム番号を設定する。前述のように、設定する撮像フレーム番号は、撮像フレーム番号の通知タイミングと、振れを検出するタイミングに合わせて補正して設定する。 Next, in S102, a second communication 402 is performed. By transmitting the relative time 407 from the reference time in the first communication 401, the exposure center-of-gravity timing 406 is transmitted. Then, the movable range of the electronic image blur correction at the current focal length is transmitted. Furthermore, the first ID information for discriminating the shake information is transmitted. An imaging frame number corresponding to the timing at which shake is detected is set in this ID information. As described above, the imaging frame number to be set is corrected and set in accordance with the timing of notification of the imaging frame number and the timing of detecting shake.

S103で、カメラ制御部124は、カメラ振れ検出部122で検出するカメラ本体部の振れ情報を判別するための第2のID情報を設定する。このID情報にも、振れを検出するタイミングに対応する撮像フレーム番号を設定する。前述のように、設定する撮像フレーム番号は、撮像フレーム番号の通知タイミングと、振れを検出するタイミングに合わせて補正して設定する。 In S<b>103 , the camera control unit 124 sets second ID information for determining shake information of the camera body detected by the camera shake detection unit 122 . The ID information is also set with the imaging frame number corresponding to the timing of detecting the shake. As described above, the imaging frame number to be set is corrected and set in accordance with the timing of notification of the imaging frame number and the timing of detecting shake.

S104で、カメラ制御部124は露光重心タイミング406から一定時間(所定時間とも称する)が経過したか否かを判定する。一定時間とは露光重心タイミング406から予め設定されている時間である。露光重心タイミング406から一定時間が経過している場合、処理はS105に進み、経過していない場合にはS104に戻り、処理を繰り返す。S104で一定時間の経過を待つ理由は、レンズ制御部111が露光重心タイミング406での制御処理を完了した状態で、カメラ制御部124がレンズ制御部111へ通信要求を行うためである。 In S<b>104 , the camera control unit 124 determines whether or not a certain period of time (also referred to as a predetermined period of time) has passed since the exposure center-of-gravity timing 406 . The fixed time is a time set in advance from the exposure barycenter timing 406 . If the predetermined time has passed since the exposure center-of-gravity timing 406, the process proceeds to S105, and if not, the process returns to S104 and repeats the process. The reason why the camera controller 124 waits for the predetermined period of time to pass in S104 is that the camera controller 124 issues a communication request to the lens controller 111 after the lens controller 111 has completed the control processing at the exposure center-of-gravity timing 406 .

S105で、カメラ制御部124は、第3の通信を実行する。つまり、レンズ制御部111に対して通信要求を送信する。そして、この通信要求への応答として、露光重心タイミング406でレンズ制御部111が振り分けたレンズ側検出振れ情報と、先のS102で通知した振れ情報を判別するための第1のID情報とを、レンズ制御部111から受信する。 In S105, the camera control unit 124 executes third communication. That is, it transmits a communication request to the lens control unit 111 . Then, as a response to this communication request, the lens-side detected shake information distributed by the lens control unit 111 at the exposure center-of-gravity timing 406 and the first ID information for discriminating the shake information notified in S102, Received from the lens control unit 111 .

次のS106で、カメラ制御部124は、カメラ振れ検出部122で検出するカメラ本体部の振れ情報を検出したかを判定する。具体的には、動きベクトル検出の完了割り込みで判定する。カメラ本体部の振れ情報を検出した場合は、処理はS107に進み、検出していない場合にはS106に戻り、処理を繰り返す。 In the next step S106, the camera control unit 124 determines whether the camera shake information detected by the camera shake detection unit 122 has been detected. Specifically, it is determined by a motion vector detection completion interrupt. If shake information of the camera body is detected, the process proceeds to S107, and if not detected, the process returns to S106 and repeats the process.

S107で、カメラ制御部124は、カメラ振れ検出部122で検出したカメラ本体部の振れ情報と、先のS103で設定した振れ情報を判別するための第2のID情報を取得する。 In S107, the camera control unit 124 acquires the shake information of the camera body detected by the camera shake detection unit 122 and the second ID information for discriminating the shake information set in S103.

S108で、カメラ制御部124は、先のS105で取得したレンズ側検出振れ情報に対応づけられた第1のID情報と、先のS107で取得したカメラ側検出振れ情報に対応づけられた第2のID情報とが、一致するかを判定する。第1のID情報と第2のID情報とが一致する場合は、処理はS109に進み、振れ情報のID情報が一致しない場合にはS101に戻り、処理を繰り返す。なお、振れ情報のID情報が一致しなかった場合は、前回設定した電子式像振れ補正量を設定するようにしても良い。また、振れ情報のID情報の不一致が所定回数続いた場合には、通信異常等の何らかのエラーが生じていると判断して、リセット処理(電源OFFし再度電源ONすることに相当する処理を行うようにしても良い。 In S108, the camera control unit 124 retrieves the first ID information associated with the lens-side detected shake information acquired in S105 and the second ID information associated with the camera-side detected shake information acquired in S107. It is determined whether the ID information matches the ID information of . If the first ID information and the second ID information match, the process proceeds to S109, and if the shake information ID information does not match, the process returns to S101 and repeats the process. If the ID information of the shake information does not match, the previously set electronic image blur correction amount may be set. If the ID information mismatch continues for a predetermined number of times, it is determined that some kind of error such as a communication error has occurred, and reset processing (processing equivalent to turning off the power and then turning on the power again) is performed. You can do it.

S109で、カメラ制御部124は先のS105で取得したレンズ側検出振れ情報と、先のS107で取得したカメラ側検出振れ情報を用いて、電子式像振れ補正量を生成する。より具体的には、カメラ側検出振れ情報からレンズ側検出振れ情報のフレーム間差分を減算し、それをレンズ側検出振れ情報に加算することで、電子式像振れ補正量を生成する。電子式像振れ補正量を生成された際には、生成した電子式像振れ補正量と振れ情報のID情報とを関連付けて設定する。 In S109, the camera control unit 124 generates an electronic image blur correction amount using the lens-side detected shake information acquired in S105 and the camera-side detected shake information acquired in S107. More specifically, the inter-frame difference of the lens-side detected shake information is subtracted from the camera-side detected shake information and added to the lens-side detected shake information to generate the electronic image shake correction amount. When the electronic image blurring correction amount is generated, the generated electronic image blurring correction amount and the ID information of the vibration information are set in association with each other.

最後にS110で、カメラ制御部124は、電子式像振れ補正制御部123に指示し、S109で生成した電子式像振れ補正量に基づいて像振れ補正動作が行われる。 Finally, in S110, the camera control unit 124 instructs the electronic image blur correction control unit 123 to perform an image blur correction operation based on the electronic image blur correction amount generated in S109.

図6に示す処理の主体はレンズ制御部111であり、レンズ通信制御部112、カメラ通信制御部125を介してカメラ制御部124との間で通信処理が実行される。S201で、レンズ制御部111は第1の通信401を受け付ける。第1の通信401の通信タイミング404でレンズ装置内のタイマー時間を取得する処理が実行され、その時間が露光重心タイミングの算出のための基準時間となる。 6 is the lens control unit 111, and communication processing is executed with the camera control unit 124 via the lens communication control unit 112 and the camera communication control unit 125. FIG. In S<b>201 , the lens control unit 111 receives the first communication 401 . At the communication timing 404 of the first communication 401, the process of acquiring the timer time in the lens apparatus is executed, and that time becomes the reference time for calculating the exposure center-of-gravity timing.

次にS202で、レンズ制御部111は第2の通信402を受け付け、第1の通信401の通信タイミング404での基準時間からの相対時間407と、電子式像振れ補正の可動範囲と、振れ情報を判別するための第1のID情報を取得する。レンズ制御部111は第1の通信401の通信タイミング404で基準時間を取得しているため、第2の通信で相対時間407を受け取り、タイマー設定により露光重心タイミングを設定する。また、レンズ制御部111は電子式像振れ補正の可動範囲を取得する。この可動範囲とレンズ装置自身の光学式像振れ補正の可動範囲を含めて、分割部205が用いる係数Kが算出されて、光学式像振れ補正および電子式像振れ補正に係るそれぞれの補正量が設定される。 Next, in S202, the lens control unit 111 receives the second communication 402, and calculates the relative time 407 from the reference time at the communication timing 404 of the first communication 401, the movable range of the electronic image blur correction, and the shake information. 1st ID information for discriminating is acquired. Since the lens control unit 111 acquires the reference time at the communication timing 404 of the first communication 401, it receives the relative time 407 through the second communication and sets the exposure center-of-gravity timing by timer setting. Also, the lens control unit 111 acquires the movable range of the electronic image blur correction. The coefficient K used by the dividing unit 205 is calculated including this movable range and the movable range of the optical image blur correction of the lens apparatus itself, and the respective correction amounts related to the optical image blur correction and the electronic image blur correction are calculated. set.

S203で、レンズ制御部111はS202でタイマー設定された露光重心タイミングが到来したか否かを判定する。露光重心タイミング406が到来した場合には、S204へ処理を進め、露光重心タイミング406が到来していない場合にはS203の判定処理を繰り返す。 In S203, the lens control unit 111 determines whether or not the exposure center-of-gravity timing set by the timer in S202 has arrived. If the exposure center-of-gravity timing 406 has arrived, the process proceeds to S204, and if the exposure center-of-gravity timing 406 has not arrived, the determination process of S203 is repeated.

S204で、レンズ制御部111は露光重心タイミング406にて、レンズ振れ検出部110から振れ情報を取得し、分割部205は係数Kの値にしたがって像振れ補正量の全体量を、光学式像振れ補正量と電子式像振れ補正量に振り分ける。レンズ制御部111は、カメラ制御部124がS105において送信する通信要求を取得するまで、振り分けた電子式像振れ補正量と、先のS202で取得した振れ情報を判別するための第1のID情報と共に一時記憶しておく。 In step S204, the lens control unit 111 acquires shake information from the lens shake detection unit 110 at the exposure barycenter timing 406, and the division unit 205 calculates the total amount of image shake correction according to the value of the coefficient K, and calculates the optical image shake. It is divided into the amount of correction and the amount of electronic image stabilization. Until the camera control unit 124 acquires the communication request transmitted in S105, the lens control unit 111 stores the first ID information for determining the distributed electronic image stabilization amount and the shake information acquired in the previous S202. temporarily stored together with

S205で、レンズ制御部111は、カメラ制御部124からS105において送信される第3の通信403の通信要求を、受信したか否かを判定する。第3の通信の通信要求を受信した場合には処理をS206に進め、通信要求を受信していない場合にはS205の判定処理を繰り返す。S206で、レンズ制御部111はS105において送信される第3の通信403の通信要求の受信への応答として、S204で振り分けた後のレンズ側検出揺れ情報と、先のS202で取得した振れ情報を判別するため第1のID情報をカメラ制御部124に通知する。 In S205, the lens control unit 111 determines whether or not the communication request for the third communication 403 transmitted from the camera control unit 124 in S105 has been received. If the communication request for the third communication has been received, the process proceeds to S206, and if the communication request has not been received, the determination process of S205 is repeated. In S206, as a response to the reception of the communication request of the third communication 403 transmitted in S105, the lens control unit 111 transmits the lens-side detected shake information sorted in S204 and the shake information acquired in S202. First ID information is notified to the camera control unit 124 for determination.

<第1の実施形態による効果>
本実施形態では、1回の通信で露光期間のタイミング情報を伝えるわけではなく、カメラ本体部からレンズ装置へ、第1および第2の通信で基準時間と相対時間をそれぞれ通知する。これにより、他の通信の影響により第2の通信の通信タイミングがばらついたとしても、第1の通信による基準時間と、第2の通信による相対時間がレンズ装置に伝達されるので、レンズ装置に正確な露光重心タイミングを伝達できる。
<Effects of First Embodiment>
In this embodiment, the timing information of the exposure period is not transmitted in one communication, but the reference time and the relative time are notified from the camera body to the lens device in the first and second communications, respectively. As a result, even if the communication timing of the second communication varies due to the influence of other communication, the reference time of the first communication and the relative time of the second communication are transmitted to the lens device. Accurate exposure center-of-gravity timing can be transmitted.

また、仮に第1の通信が他の通信と重なり、通信が遅れたとしても、第1の通信の発行時の遅延時間を考慮して、第2の通信による相対時間を設定することができる。つまり、遅延時間に基づいて補正された相対時間の情報により露光重心タイミングを通知できる。よって、第1の通信の通信タイミングがばらついたとしても、より正確な露光重心タイミングをカメラ本体部からレンズ装置に伝達できる。 Also, even if the first communication overlaps with another communication and the communication is delayed, the relative time of the second communication can be set in consideration of the delay time when issuing the first communication. That is, the exposure center-of-gravity timing can be notified based on the relative time information corrected based on the delay time. Therefore, even if the communication timing of the first communication varies, more accurate exposure center-of-gravity timing can be transmitted from the camera body to the lens device.

電子式像振れ補正の可動範囲や、電子式像振れ補正量は角度換算データで通知される。カメラ制御部124は電子式像振れ補正の可動範囲をレンズ制御部111へ送信し、電子式像振れ補正量をレンズ制御部111から取得する。 The movable range of electronic image blur correction and the amount of electronic image blur correction are notified as angle conversion data. The camera control unit 124 transmits the movable range of electronic image stabilization to the lens control unit 111 and acquires the electronic image stabilization amount from the lens control unit 111 .

さらに、カメラ制御部124は、振れ情報を判別するためのID情報を、それぞれレンズ側振れ情報とカメラ側振れ情報に対して送信または設定を行うため、2つの振れ情報のID情報の一致を持って、振れ情報の同期を取ることができる。 Furthermore, since the camera control unit 124 transmits or sets ID information for determining shake information for the lens-side shake information and the camera-side shake information, respectively, the ID information for the two pieces of shake information must match. synchronizing the shake information.

本実施形態によれば、レンズ交換式の撮像システムにおいて個々のレンズおよびカメラ仕様を意識することなく、より少ない通信量で光学式像振れ補正と電子式像振れ補正の複数の補正手段と、レンズ側の角速度センサとカメラ側の動きベクトルの複数の振れ検出手段による補正を、協調かつ同期をとって制御することができる。これにより、像振れ補正範囲を拡大させる撮像システムを提供できる。 According to this embodiment, in a lens-interchangeable imaging system, a plurality of correction means for optical image blur correction and electronic image blur correction and a lens The correction of the angular velocity sensor on the side and the motion vector on the camera side by a plurality of shake detection means can be controlled in a coordinated and synchronized manner. This makes it possible to provide an imaging system that expands the image blur correction range.

[第2実施形態]
次に本発明の第2実施形態を説明する。本実施形態にて第1実施形態の場合と同様の構成については既に使用した符号を用いることにより、それらの説明を省略して、主に相違点を説明する。このような説明の省略については後述の実施形態でも同じである。
[Second embodiment]
Next, a second embodiment of the invention will be described. In the present embodiment, by using the same reference numerals as those of the first embodiment, the description thereof will be omitted, and mainly the differences will be described. Such omission of description also applies to embodiments described later.

第1実施形態では、カメラ制御部124がレンズ制御部111へ露光期間のタイミング情報を送信した後で、レンズ制御部111が露光重心タイミングで振り分けたレンズ側検出振れ情報を取得する。また、カメラ本体部に加わった手振れ等のカメラ振れを動きベクトルによって検出する構成であった。これに対し本実施形態では、カメラ振れ検出部122が不図示の角速度センサを有し、当該角速度センサを用いて振り分け対象以外の補正軸方向(Roll方向)の補正を行うことにより、像振れ補正効果を高めることができる。 In the first embodiment, after the camera control unit 124 transmits the timing information of the exposure period to the lens control unit 111, the lens control unit 111 acquires the lens-side detected shake information sorted by the exposure center-of-gravity timing. Further, the camera shake such as hand shake applied to the camera body is detected by a motion vector. On the other hand, in the present embodiment, the camera shake detection unit 122 has an angular velocity sensor (not shown), and the angular velocity sensor is used to correct the image shake in the direction of the correction axis (Roll direction) other than the distribution target. You can increase the effect.

図7のフローチャートを参照して、本実施形態の制御内容について説明する。図7では、カメラ本体部における通信処理と振れ検出処理を含めた制御例を示す。まず、S301でカメラ制御部124はカメラ通信制御部125を介してレンズ制御部111と第1の通信を行う。第1の通信タイミングの時間が露光重心タイミングの基準時間となる。次にS302で第2の通信402が行われる。第1の通信401での基準時間からの相対時間407の送信により、露光重心タイミング406が伝達される。そして現在の焦点距離における電子式像振れ補正の可動範囲が送信される。さらに振れ情報を判別するための第1のID情報が送信される。このID情報には、振れを検出するタイミングに対応する撮像フレーム番号を設定する。設定する撮像フレーム番号は、撮像フレーム番号の通知タイミングと、振れを検出するタイミングに合わせて補正して設定する。 The contents of the control of this embodiment will be described with reference to the flowchart of FIG. FIG. 7 shows an example of control including communication processing and shake detection processing in the camera body. First, in S<b>301 , the camera control unit 124 performs first communication with the lens control unit 111 via the camera communication control unit 125 . The time of the first communication timing becomes the reference time of the exposure center-of-gravity timing. Next, in S302, a second communication 402 is performed. By transmitting the relative time 407 from the reference time in the first communication 401, the exposure center-of-gravity timing 406 is transmitted. Then, the movable range of the electronic image blur correction at the current focal length is transmitted. Furthermore, the first ID information for discriminating the shake information is transmitted. An imaging frame number corresponding to the timing at which shake is detected is set in this ID information. The imaging frame number to be set is corrected and set in accordance with the timing of notification of the imaging frame number and the timing of detecting the shake.

S303で、カメラ制御部124は、カメラ振れ検出部122で検出するカメラ本体部の振れ情報を判別するための第2のID情報を設定する。このID情報にも、振れを検出するタイミングに対応する撮像フレーム番号を設定する。設定する撮像フレーム番号は、撮像フレーム番号の通知タイミングと、振れを検出するタイミングに合わせて補正して設定する。 In S<b>303 , the camera control unit 124 sets second ID information for determining shake information of the camera body detected by the camera shake detection unit 122 . The ID information is also set with the imaging frame number corresponding to the timing of detecting the shake. The imaging frame number to be set is corrected and set in accordance with the timing of notification of the imaging frame number and the timing of detecting the shake.

S304で、カメラ制御部124はタイマー設定により、露光重心タイミングが到来したか否かを判定する。露光重心タイミングが到来したと判定された場合、S305に進み、到来していなければS304の判定処理を繰り返す。 In S304, the camera control unit 124 determines whether or not the exposure center-of-gravity timing has arrived by timer setting. If it is determined that the exposure center-of-gravity timing has arrived, the process proceeds to S305, and if it has not arrived, the determination processing of S304 is repeated.

S305にて、カメラ制御部124は露光重心タイミングで、カメラ振れ検出部122により検出された、カメラ本体部の振れ情報と先のS303で設定した振れ情報を判別するための第2のID情報を取得する。ここで検出される振れ情報は、後のS307でレンズ制御部111から取得する電子式像振れ補正量に関する補正軸とは異なる補正軸の振れ情報、つまり検出方向が異なるセンサの検出情報である。本実施例ではRoll方向の補正軸の振れ情報である。 In S305, the camera control unit 124, at the exposure center-of-gravity timing, acquires the second ID information for distinguishing between the shake information of the camera body unit detected by the camera shake detection unit 122 and the shake information set in S303. get. The shake information detected here is shake information about a correction axis different from the correction axis related to the electronic image blur correction amount acquired from the lens control unit 111 in S307, that is, detection information of sensors with different detection directions. In this embodiment, it is the shake information of the correction axis in the Roll direction.

S306で、カメラ制御部124は露光重心タイミングから一定時間が経過したか否かを判定する。露光重心タイミングから一定時間が経過したことが判定された場合、S307に進み、経過していなければ、S306の判定処理を繰り返す。S306にて一定時間の経過を待つ理由は、図5のS104で説明したとおりである。 In S306, the camera control unit 124 determines whether or not a certain period of time has passed since the exposure center-of-gravity timing. If it is determined that the predetermined time has passed since the timing of the center of gravity of exposure, the process proceeds to S307, and if not, the determination process of S306 is repeated. The reason for waiting for the lapse of the predetermined time in S306 is as explained in S104 of FIG.

S307で、カメラ制御部124はカメラ通信制御部125を介してレンズ制御部111と第3の通信を行う。つまり、カメラ制御部124はレンズ制御部111に対して通信要求を送信する。そして、この通信要求のレンズ制御部111による受信に応じて、レンズ制御部111が露光重心タイミング406でレンズ制御部111が振り分けたレンズ側検出振れ情報と、先のS302で通知した振れ情報を判別するための第1のID情報を取得する。ここで、レンズ側検出振れ情報は、S304で検出された振れ情報とは異なる補正軸の振れ情報であり、具体的にはPitch方向およびYaw方向の補正軸の振れ情報である。 In S<b>307 , the camera control unit 124 performs third communication with the lens control unit 111 via the camera communication control unit 125 . That is, the camera control section 124 transmits a communication request to the lens control section 111 . Then, in response to the reception of this communication request by the lens control unit 111, the lens control unit 111 discriminates between the lens-side detected vibration information distributed by the lens control unit 111 at the exposure center-of-gravity timing 406 and the vibration information notified in S302. acquire first ID information for Here, the lens-side detected shake information is shake information about a correction axis different from the shake information detected in S304, specifically, shake information about the correction axes in the Pitch and Yaw directions.

S308で、カメラ制御部124は、先のS305で取得したカメラ側検出振れ情報と、先のS307で取得したレンズ側検出振れ情報のもつ、それぞれのID情報が一致するかを判定する。振れ情報のID情報が一致する場合は、処理はS309に進み、振れ情報のID情報が一致しない場合にはS301に戻り、処理を繰り返す。ここでもS108と同様に、振れ情報のID情報が一致しなかった場合は、前回設定した電子式像振れ補正量を設定するようにしても良い。また、振れ情報のID情報の不一致が所定回数続いた場合には、通信異常等の何らかのエラーが生じていると判断して、リセット処理(電源OFFし再度電源ONすることに相当する処理)を行うようにしても良い。 In S308, the camera control unit 124 determines whether the ID information of the camera-side detected shake information acquired in S305 matches the ID information of the lens-side detected shake information acquired in S307. If the ID information of the shake information matches, the process proceeds to S309, and if the ID information of the shake information does not match, the process returns to S301 and repeats the process. As in S108, if the ID information of the shake information does not match, the previously set electronic image blur correction amount may be set. Further, when the ID information mismatch of the shake information continues for a predetermined number of times, it is determined that some kind of error such as a communication error has occurred, and reset processing (processing equivalent to turning off the power and then turning on the power again) is performed. You can do it.

S309で、カメラ制御部124は先のS305で取得したカメラ側検出振れ情報と、先のS307で取得したレンズ側検出振れ情報を用いて、電子式像振れ補正量を生成する。その際には、生成した電子式像振れ補正量と振れ情報のID情報とを関連付けて設定する。 In S309, the camera control unit 124 generates an electronic image blur correction amount using the camera-side detected shake information acquired in S305 and the lens-side detected shake information acquired in S307. At that time, the generated electronic image blur correction amount and the ID information of the shake information are set in association with each other.

最後にS310で、カメラ制御部124は、電子式像振れ補正制御部123に指示し、S309で生成した電子式像振れ補正量に基づいて像振れ補正動作が行われる。 Finally, in S310, the camera control unit 124 instructs the electronic image stabilization control unit 123 to perform an image stabilization operation based on the electronic image stabilization amount generated in S309.

<第2の実施形態による効果>
本実施形態では、レンズ制御部111により振り分けられた電子式像振れ補正量と、カメラ本体部の角速度センサによって検出した振れ情報を取得して像振れ補正制御が行われる。電子式像振れ補正量は、Pitch方向およびYaw方向に関する補正量であり、カメラ本体部の振れ情報は、振り分け対象でない補正軸方向(Roll方向)の振れ検出情報である。
<Effects of Second Embodiment>
In this embodiment, the amount of electronic image stabilization distributed by the lens control unit 111 and the shake information detected by the angular velocity sensor of the camera body are acquired to perform image stabilization control. The electronic image shake correction amount is the amount of correction in the Pitch direction and the Yaw direction, and the camera body shake information is the shake detection information in the correction axis direction (Roll direction) that is not distributed.

カメラ制御部124は、振れ情報を判別するためのID情報を、それぞれレンズ側振れ情報とカメラ側振れ情報に対して送信または設定を行う。このため、カメラ本体部の振れ情報(Roll方向)とレンズ側振れ情報(Pitch方向およびYaw方向)のID情報の一致を持って、3軸方向の振れ情報の同期を取ることができる。このようにタイミングの同期をとった振れ情報に基づいて3軸方向における電子式像振れ補正が行われるので、像振れ補正効果を高めることができる。 The camera control unit 124 transmits or sets ID information for discriminating shake information with respect to the lens side shake information and the camera side shake information, respectively. Therefore, it is possible to synchronize the shake information in the three axial directions by matching the ID information of the shake information of the camera body (Roll direction) and the shake information of the lens side (Pitch direction and Yaw direction). Since the electronic image blur correction in the three axial directions is performed based on the shake information whose timing is synchronized in this way, the image blur correction effect can be enhanced.

[第3実施形態]
次に本発明の第3の実施形態では、その他の電子式補正としてローリングシャッタ歪み(以下、RS歪みという)補正への適用について説明する。
[Third Embodiment]
Next, in a third embodiment of the present invention, application to rolling shutter distortion (hereinafter referred to as RS distortion) correction as other electronic correction will be described.

撮像部115の露光方式には、グローバルシャッタ方式とローリングシャッタ方式とがある。CCD(電荷結合素子)イメージセンサに代表されるグローバルシャッタ方式の装置では、1つのフレーム画像において画素間の露光時間および露光開始時刻はほぼ同一である。CMOS(相補型金属酸化膜半導体)イメージセンサを備える装置では、露光方式がローリングシャッタ方式である。 The exposure method of the imaging unit 115 includes a global shutter method and a rolling shutter method. In a global shutter type device represented by a CCD (charge-coupled device) image sensor, the exposure time between pixels and the exposure start time are substantially the same in one frame image. In an apparatus having a CMOS (Complementary Metal Oxide Semiconductor) image sensor, the exposure method is a rolling shutter method.

画素ラインごとに露光タイミングが異なるローリングシャッタ方式では、ラインごとの露光タイミングおよび信号読み出し時間のずれに起因する画像歪み(RS歪み)が発生する。撮像装置の振れがラインごとの信号読み取りに影響を及ぼし、RS歪みが発生する。撮像装置が三脚等に据え付けられていたとしても、風等の外乱により装置に振動が加わると、RS歪みが発生する。RS歪みは、露光タイミングが画素ラインごとに異なることにより、撮影された画像に生じる歪みであるため、撮像装置の振れ信号に基づいて、各画素ラインの移動量を補正量として補正することができる。 In the rolling shutter method in which the exposure timing differs for each pixel line, image distortion (RS distortion) occurs due to deviations in exposure timing and signal readout time for each line. Imager shake affects the signal reading line by line, causing RS distortion. Even if the imaging device is installed on a tripod or the like, RS distortion occurs when vibration is applied to the device due to disturbance such as wind. Since the RS distortion is a distortion that occurs in the captured image due to the exposure timing being different for each pixel line, it is possible to correct the movement amount of each pixel line as the correction amount based on the shake signal of the imaging device. .

図11の概念図を参照して、RS歪み補正について説明する。撮像装置が水平方向に動いた場合を想定し、RS歪みの発生前の画像1301(点線の矩形枠)と、RS歪みの発生後の画像1302(実線の平行四辺形枠)を例示する。右側の図は、露光期間中に発生する、撮像装置の水平方向の移動量(振れ量)を複数の点1303で例示する。横軸は画素位置を表し、縦軸は時間軸に対応する。図示の例では11点を例示している。 RS distortion correction will be described with reference to the conceptual diagram of FIG. 11 . An image 1301 (dotted rectangular frame) before RS distortion and an image 1302 (solid parallelogram frame) after RS distortion are illustrated assuming that the imaging device moves in the horizontal direction. The diagram on the right illustrates by a plurality of points 1303 the amount of horizontal movement (shake amount) of the imaging device that occurs during the exposure period. The horizontal axis represents pixel positions, and the vertical axis corresponds to the time axis. In the illustrated example, 11 points are exemplified.

撮像装置では、露光期間中に発生する装置の水平方向の移動量(振れ量)が、複数の点において算出される。これらの点を補正点とも称する。複数の点の間を補間することで各ラインの移動量が補正量として取得され、水平方向の振れに対してラインごとに読み出し位置を変更することで補正処理が行われる。つまり、レンズ振れ検出部110(図2)は、RS歪みを発生させる振れを検出する。映像信号処理部117は電子的にRS歪み補正を行う。RS歪みを補正する補正量の算出については、電子式像振れ補正量と同様に分割部205が行い、像振れ補正量に対して係数「1-K」を乗算する。カメラ通信制御部125(図3)は、レンズ装置からRS歪み補正量を取得する。Pixel変換部301は、角度換算で伝達された電子式像振れ補正量をPixel換算値に変換する。このときに使用される変換係数は焦点距離ごとに異なる値をもち、焦点距離が変わるごとに変更される。さらに、リミッタ302はRS歪み補正の可動範囲でクランプを行う。各補正軸方向のリミット値が設定されている。電子式像振れ補正量設定部303は、各補正軸方向のRS歪み補正量の設定を行う。 In an imaging device, the horizontal movement amount (shake amount) of the device that occurs during an exposure period is calculated at a plurality of points. These points are also called correction points. By interpolating between a plurality of points, the amount of movement of each line is acquired as a correction amount, and correction processing is performed by changing the reading position for each line with respect to horizontal shake. That is, the lens shake detection unit 110 (FIG. 2) detects shake that causes RS distortion. The video signal processing unit 117 electronically corrects the RS distortion. Calculation of the correction amount for correcting the RS distortion is performed by the division unit 205 in the same manner as the electronic image blur correction amount, and the image blur correction amount is multiplied by the coefficient “1−K”. The camera communication control unit 125 (FIG. 3) acquires the RS distortion correction amount from the lens device. A pixel conversion unit 301 converts the electronic image blur correction amount transmitted in angle conversion into a pixel conversion value. The conversion coefficients used at this time have different values for each focal length, and are changed each time the focal length changes. Furthermore, the limiter 302 performs clamping within the movable range of RS distortion correction. A limit value is set for each correction axis direction. An electronic image blur correction amount setting unit 303 sets an RS distortion correction amount in each correction axis direction.

次に図8を参照して、レンズ通信制御部112とカメラ通信制御部125との間で行われるRS歪み補正に関する通信とそのタイミングについて説明する。VD、V_BLK等については図4と同じである。 Next, communication regarding RS distortion correction performed between the lens communication control unit 112 and the camera communication control unit 125 and its timing will be described with reference to FIG. VD, V_BLK, etc. are the same as in FIG.

RS歪み補正を行うためには、カメラ本体部からレンズ装置に対し、撮像部115の露光重心タイミング(1009)を伝える必要がある。前述のように、RS歪み補正では複数の補正点(本実施例では、の露光重心タイミング1009に対応するフレームに対して、例えば1006から1010まで斜めに続く11点として例示する)があるため、基準時間に対する相対時間として、露光重心タイミング1009と、先頭の補正タイミング(複数の補正点のうち、補正タイミングが最初に到来する補正点に対応する補正タイミングである)と次の補正点との差分時間(後述のRS歪み補正先頭差分時間1008)が伝達される。本実施形態でも通信タイミングずれを回避するために、基準時間と相対時間の2回に分けて通信が行われる。 In order to correct the RS distortion, it is necessary to transmit the exposure barycenter timing (1009) of the imaging unit 115 from the camera body to the lens device. As described above, in the RS distortion correction, there are a plurality of correction points (in this embodiment, for example, 11 points obliquely continuing from 1006 to 1010 with respect to the frame corresponding to the exposure barycenter timing 1009). As the time relative to the reference time, the exposure center-of-gravity timing 1009 and the difference between the leading correction timing (the correction timing corresponding to the correction point at which the correction timing arrives first among the plurality of correction points) and the next correction point. A time (RS distortion corrected leading delta time 1008, described below) is conveyed. Also in this embodiment, in order to avoid communication timing deviation, communication is performed in two parts, the reference time and the relative time.

図8にて、第1の通信1001を通信タイミング1004で示す。第2の通信1002は、露光重心を伝える該当フレームの露光時間が決まるタイミング1005の後に実行される。第2の通信では、レンズ制御部111からカメラ制御部124に、RS歪み補正の露光重心タイミング1009とRS歪み補正先頭差分時間1008を伝達する処理が実行される。レンズ制御部111が主体となって制御を行い、RS歪み補正のための角度換算データで通信を行う。 In FIG. 8 , the first communication 1001 is indicated by communication timing 1004 . The second communication 1002 is executed after the timing 1005 at which the exposure time of the relevant frame to convey the exposure barycenter is determined. In the second communication, the lens control unit 111 transmits the exposure center-of-gravity timing 1009 for RS distortion correction and the RS distortion correction head differential time 1008 to the camera control unit 124 . The lens control unit 111 mainly performs control, and performs communication using angle conversion data for RS distortion correction.

撮像部115の垂直同期信号(VD参照)を起点として、カメラ制御部124はレンズ制御部111へ第1の通信1001を行う。第1の通信に対応する通信タイミング1004での時間は、カメラ制御部124からレンズ制御部111へRS歪み補正の先頭補正タイミング1006を伝えるための基準時間となる。レンズ制御部111は第1の通信1001を受け付けたタイミングで、内部のタイマー時間を取得し、当該時間をRS歪み補正の先頭補正タイミングを算出するための基準時間とする。なお、第1の通信1001の通信タイミング1004は、垂直同期信号と同じタイミングでもよいし、垂直同期信号から任意の時間の前または後でもよい。ただし、毎フレーム、垂直同期信号に対して一定の時間差で通信が行われるものとする。また、第1の通信タイミング1004は、他の通信と重ならないタイミングが望ましい。図10の例では、垂直同期信号よりも手前の時点に第1の通信1001の通信タイミング1004が設定されている。 Starting from the vertical synchronization signal (see VD) of the imaging unit 115 , the camera control unit 124 performs first communication 1001 to the lens control unit 111 . The time at the communication timing 1004 corresponding to the first communication is the reference time for transmitting the leading correction timing 1006 for RS distortion correction from the camera control unit 124 to the lens control unit 111 . The lens control unit 111 acquires an internal timer time at the timing of receiving the first communication 1001, and uses the acquired time as a reference time for calculating the head correction timing of RS distortion correction. Note that the communication timing 1004 of the first communication 1001 may be the same timing as the vertical synchronization signal, or an arbitrary time before or after the vertical synchronization signal. However, it is assumed that communication is performed with a constant time difference with respect to the vertical synchronizing signal every frame. Also, the first communication timing 1004 is desirably a timing that does not overlap with other communication. In the example of FIG. 10, the communication timing 1004 of the first communication 1001 is set at a point before the vertical synchronization signal.

次に、カメラ制御部124は第2の通信1002を行う。第2の通信1002では、第1の通信1001による時間を基準時間として、基準時間からの相対時間1007、及びRS歪み補正先頭差分時間1008がレンズ制御部111に伝達される。RS歪み補正先頭差分時間1008は、露光重心タイミングからRS歪み補正の先頭の補正タイミングとの差分時間である。カメラ制御部124はRS歪み補正の補正点算出のための差分時間1007、RS歪み補正先頭差分時間1008と、現在の焦点距離における電子式像振れ補正の可動範囲Bと、振れ情報を判別するためのID情報をレンズ制御部111に送信する。このID情報には、振れを検出するタイミングに対応する撮像フレーム番号を設定する。第2の通信1002は、RS歪み補正の先頭補正タイミング1006を伝える該当フレームの露光時間が決まるタイミング1005の後である。これにより、各フレームで露光時間が変わる場合にも、正確なRS歪み補正の先頭補正タイミング1006を伝達できる。決定された露光時間と、撮像素子の信号読み出し時間からRS歪み補正の先頭補正タイミング1006が求まり、第1の通信1001による基準時間との差により相対時間1007及びRS歪み補正先頭差分時間1008により求まる。 Next, the camera control unit 124 performs second communication 1002 . In the second communication 1002 , the time of the first communication 1001 is used as a reference time, and a relative time 1007 from the reference time and an RS distortion correction top difference time 1008 are transmitted to the lens control unit 111 . The RS distortion correction head difference time 1008 is the difference time from the exposure barycenter timing to the head correction timing of the RS distortion correction. The camera control unit 124 determines a difference time 1007 for calculating a correction point for RS distortion correction, an RS distortion correction head difference time 1008, a movable range B for electronic image blur correction at the current focal length, and shake information. to the lens control unit 111. An imaging frame number corresponding to the timing at which shake is detected is set in this ID information. The second communication 1002 is after the timing 1005 at which the exposure time of the corresponding frame is determined to transmit the head correction timing 1006 of the RS distortion correction. As a result, even when the exposure time varies for each frame, the correct head correction timing 1006 for RS distortion correction can be transmitted. The head correction timing 1006 for RS distortion correction is obtained from the determined exposure time and the signal readout time of the image sensor, and the relative time 1007 and RS distortion correction head difference time 1008 are obtained from the difference from the reference time by the first communication 1001. .

また、第2の通信1002の通信タイミングは、フレーム番号が通知されるタイミング1011の前である。そのため、振れ情報を判別するためのID情報には、振れを検出するタイミングに対応する撮像フレーム番号として、それまでに通知を受けている撮像フレーム番号の次のフレーム番号を設定するようにする。 Also, the communication timing of the second communication 1002 is before the timing 1011 at which the frame number is notified. For this reason, ID information for discriminating shake information is set with a frame number next to an image pickup frame number that has been notified so far as an image pickup frame number corresponding to the timing of detecting shake.

レンズ制御部111は、第1の通信1001を受け付けたタイミングで基準時間を既に取得している。このため、レンズ制御部111は第2の通信1002により相対時間1007、RS歪み補正先頭差分時間1008を取得することで、内部のタイマー設定によりRS歪み補正の先頭補正タイミング1006を設定することができる。また、レンズ制御部111は電子式像振れ補正の可動範囲Bを取得することで、レンズ装置の光学式像振れ補正の可動範囲Aをも含めて、分割部205で用いる係数Kを算出することができる。レンズ制御部111はRS歪み補正の先頭補正タイミング1006で、レンズ振れ検出部110から振れ情報を取得する。分割部205は像振れ補正量に対して、係数「1-K」を乗算し、RS歪み補正量を算出する。レンズ制御部111はカメラ制御部124からの通信要求があるまで、RS歪み補正量を保持する。 The lens control unit 111 has already acquired the reference time at the timing of accepting the first communication 1001 . Therefore, the lens control unit 111 acquires the relative time 1007 and the RS distortion correction top differential time 1008 through the second communication 1002, and can set the RS distortion correction top correction timing 1006 by setting the internal timer. . Further, the lens control unit 111 obtains the movable range B for electronic image blur correction, and calculates the coefficient K used in the division unit 205, including the movable range A for optical image blur correction of the lens apparatus. can be done. The lens control unit 111 acquires shake information from the lens shake detection unit 110 at the head correction timing 1006 of RS distortion correction. The division unit 205 multiplies the image blur correction amount by a coefficient “1−K” to calculate the RS distortion correction amount. The lens control unit 111 holds the RS distortion correction amount until a communication request is received from the camera control unit 124 .

さらに、レンズ制御部111は、あるRS歪み補正タイミングが経過した際に、内部のタイマー設定により次のRS歪み補正タイミングを設定する。次のRS歪み補正タイミングの設定においてレンズ制御部111は、現在のRS歪み補正の補正タイミングと、RS歪み補正の補正点間の差分時間を、RS歪み補正先頭差分時間1008と補正点数とを用いて算出する。タイマー設定は、RS歪み補正の全補正タイミングが終了するまで繰り返し行われる。図10では、RS歪み補正の補正点を11点としているので、先頭補正タイミング1006から6番目の補正点が露光重心に相当する。つまり、露光期間のタイミング情報は露光重心タイミング1009の情報を含んでいる。このように、RS歪み補正の複数の補正点のうち1点が、露光重心タイミング1009に対応するように、RS歪み補正の補正点が設定されている。露光重心タイミング1009においてもレンズ制御部111は、電子式像振れ補正量を取得しておく。これらの取得した情報は、第2の通信1002で伝達された振れ情報を判別するためのID情報と共にメモリに保持する。 Furthermore, when a certain RS distortion correction timing has passed, the lens control unit 111 sets the next RS distortion correction timing by setting an internal timer. In setting the next RS distortion correction timing, the lens control unit 111 determines the correction timing of the current RS distortion correction and the difference time between the correction points of the RS distortion correction using the RS distortion correction start difference time 1008 and the number of correction points. calculated by The timer setting is repeated until all correction timings of RS distortion correction are completed. In FIG. 10, since the correction points for RS distortion correction are 11 points, the sixth correction point from the head correction timing 1006 corresponds to the exposure barycenter. That is, the timing information of the exposure period includes the information of the exposure barycenter timing 1009 . In this way, the correction points for RS distortion correction are set so that one of the plurality of correction points for RS distortion correction corresponds to the exposure gravity center timing 1009 . The lens control unit 111 also acquires the electronic image blur correction amount at the exposure center-of-gravity timing 1009 . These pieces of acquired information are held in a memory together with ID information for discriminating shake information transmitted by the second communication 1002 .

一方で、カメラ本体部でも、カメラ振れ検出部122により、カメラ本体部の振れ情報を取得する。本実施形態で検出するカメラ本体部の振れ情報は動きベクトルである。それに先立ち、カメラ本体部は振れ情報を判別するためのID情報を設定する。このID情報には、振れを検出するタイミングに対応する撮像フレーム番号を設定する。これにより、一意のID情報が設定される。ID情報を設定するタイミングは、フレーム番号が通知されるタイミング1011の後のタイミングである1012である。よって、振れ情報を判別するためのID情報には、フレーム番号が通知されるタイミング1011で通知された撮像フレーム番号をそのまま設定するようにする。また、カメラ本体部の振れ情報を取得が可能になるのは、振れ検出をするフレームに対する動きベクトルの検出が完了するタイミングである1013となる。ここで、カメラ本体部の振れ情報が取得できると共に、先に設定した振れ情報を判別するためのID情報を取得する。 On the other hand, the camera body section also acquires the camera body shake information by the camera shake detection section 122 . The camera shake information detected in this embodiment is a motion vector. Prior to this, the camera body sets ID information for discriminating shake information. An imaging frame number corresponding to the timing at which shake is detected is set in this ID information. Thereby, unique ID information is set. The timing for setting the ID information is 1012, which is the timing after the timing 1011 at which the frame number is notified. Therefore, the imaging frame number notified at the timing 1011 at which the frame number is notified is set as it is in the ID information for determining the shake information. Further, it becomes possible to acquire the shake information of the camera main unit at 1013, which is the timing at which the detection of the motion vector for the frame for which shake detection is to be completed. Here, the shake information of the camera main body can be acquired, and the previously set ID information for discriminating the shake information is acquired.

次に、カメラ制御部124はレンズ制御部111への第3の通信1003を行う。第3の通信1003において、レンズ制御部111はカメラ制御部124からの通信要求を受け付けて、保持しているRS歪み補正量と、第2の通信1002で伝達された振れ情報を判別するためのID情報を伝える。これにより、レンズ側で検出した振れ情報をID情報と共に取得する。第3の通信1003の通信タイミングは、RS歪み補正の最終補正タイミング1010の後である。最終補正タイミング1010は11番目の補正点に対応する。元々カメラ制御部124はRS歪み補正タイミングを把握しているので、RS歪み補正の最終補正タイミング1010後の任意のタイミングで通信を行う。カメラ制御部124は、レンズ制御部111から取得したRS歪み補正量を電子式像振れ補正制御部123に渡し、最終的に電子式像振れ補正量設定部306が補正量を設定する。 Next, the camera control section 124 performs a third communication 1003 to the lens control section 111 . In the third communication 1003 , the lens control unit 111 receives a communication request from the camera control unit 124 , and determines the retained RS distortion correction amount and the shake information transmitted in the second communication 1002 . Convey ID information. As a result, shake information detected on the lens side is acquired together with ID information. The communication timing of the third communication 1003 is after the final correction timing 1010 of RS distortion correction. Final correction timing 1010 corresponds to the 11th correction point. Since the camera control unit 124 originally grasps the RS distortion correction timing, communication is performed at an arbitrary timing after the final correction timing 1010 of the RS distortion correction. The camera control unit 124 passes the RS distortion correction amount acquired from the lens control unit 111 to the electronic image blur correction control unit 123, and finally the electronic image blur correction amount setting unit 306 sets the correction amount.

第1の通信、第2の通信及び第3の通信は毎フレーム行われる。カメラ制御部124は第1の通信1001で基準時間の通知を行い、第2の通信1002で基準時間からの相対時間と電子式像振れ補正の可動範囲を通知し、第3の通信1003でRS歪み補正量を受け取る。レンズ制御部111は、第1の通信1001で基準時間を取得し、第2の通信1002で基準時間からの相対時間によるRS歪み補正の先頭補正タイミングと電子式像振れ補正の可動範囲を取得する。レンズ制御部111は各RS歪み補正タイミングで補正量を算出し、第3の通信1003で補正量と振れ情報を判別するID情報をカメラ制御部124に通知する。 The first communication, the second communication and the third communication are performed every frame. The camera control unit 124 notifies the reference time through the first communication 1001 , notifies the relative time from the reference time and the movable range of the electronic image stabilization through the second communication 1002 , and sends the RS signal through the third communication 1003 . Receives the amount of distortion correction. The lens control unit 111 acquires the reference time through the first communication 1001, and acquires the start correction timing of the RS distortion correction and the movable range of the electronic image blur correction by the relative time from the reference time through the second communication 1002. . The lens control unit 111 calculates the correction amount at each RS distortion correction timing, and notifies the camera control unit 124 of ID information for determining the correction amount and shake information through the third communication 1003 .

図9のフローチャートを参照して、カメラ制御部124が行うRS歪み補正を含めた通信および制御内容について説明する。 Contents of communication and control including RS distortion correction performed by the camera control unit 124 will be described with reference to the flowchart of FIG. 9 .

まず、S401でカメラ制御部124はカメラ通信制御部125を介してレンズ制御部111へ第1の通信を行う。第1の通信による時間がRS歪み補正の先頭補正タイミング1006の基準時間となる。 First, in S<b>401 , the camera control unit 124 performs first communication to the lens control unit 111 via the camera communication control unit 125 . The time of the first communication is the reference time of the head correction timing 1006 for RS distortion correction.

次にS402で、カメラ制御部124はカメラ通信制御部125を介してレンズ制御部111へ第2の通信を行う。第1の通信による時間を基準時間として、基準時間からの相対時間1007、RS歪み補正先頭差分時間1008が送信され、RS歪み補正の先頭補正タイミング1006がレンズ制御部111に伝達される。カメラ制御部124は現在の焦点距離における電子式像振れ補正の可動範囲と、振れ情報を判別するための第1のID情報をレンズ制御部111に送信する。このID情報には、振れを検出するタイミングに対応する撮像フレーム番号を設定する。設定する撮像フレーム番号は、撮像フレーム番号の通知タイミングと、振れを検出するタイミングに合わせて補正して設定する。 Next, in S<b>402 , the camera control unit 124 performs second communication to the lens control unit 111 via the camera communication control unit 125 . Using the time of the first communication as a reference time, a relative time 1007 from the reference time and an RS distortion correction head difference time 1008 are transmitted, and a head correction timing 1006 of RS distortion correction is transmitted to the lens control unit 111 . The camera control unit 124 transmits to the lens control unit 111 the movable range of the electronic image stabilization at the current focal length and the first ID information for determining the shake information. An imaging frame number corresponding to the timing at which shake is detected is set in this ID information. The imaging frame number to be set is corrected and set in accordance with the timing of notification of the imaging frame number and the timing of detecting the shake.

S403で、カメラ制御部124は、カメラ振れ検出部122で検出するカメラ本体部の振れ情報を判別するための第2のID情報を設定する。このID情報にも、振れを検出するタイミングに対応する撮像フレーム番号を設定する。設定する撮像フレーム番号は、撮像フレーム番号の通知タイミングと、振れを検出するタイミングに合わせて補正して設定する。 In step S<b>403 , the camera control unit 124 sets second ID information for determining shake information of the camera body detected by the camera shake detection unit 122 . The ID information is also set with the imaging frame number corresponding to the timing of detecting the shake. The imaging frame number to be set is corrected and set in accordance with the timing of notification of the imaging frame number and the timing of detecting the shake.

S404で、カメラ制御部124はRS歪み補正の最終補正タイミング1010から一定時間が経過したかどうかを判定する。当該一定時間は予め設定された時間である。RS歪み補正は最終補正タイミング1010から一定時間が経過している場合、S405に進み、一定時間が経過していない場合にはS404の判定処理を繰り返す。S404で一定時間の経過を待つ理由は、レンズ制御部111がRS歪み補正の最終補正点の処理が完了した状態で、カメラ制御部124がレンズ制御部111へ通信要求を行うためである。 In S404, the camera control unit 124 determines whether a certain period of time has passed since the final correction timing 1010 of the RS distortion correction. The certain period of time is a preset period of time. For RS distortion correction, if a certain period of time has passed since the final correction timing 1010, the process proceeds to S405, and if the certain period of time has not passed, the determination processing of S404 is repeated. The reason for waiting in S404 for a certain period of time is that the camera control unit 124 makes a communication request to the lens control unit 111 after the lens control unit 111 has completed the processing of the final correction point of the RS distortion correction.

S405で、カメラ制御部124は、カメラ通信制御部125を介してレンズ制御部111へ第3の通信を行う。具体的には、カメラ制御部124はレンズ制御部111に通信要求を送信する。そして、当該通信要求への応答として、露光重心タイミング1009でレンズ制御部111が振り分けた電子式像振れ補正量と、RS歪み補正の複数の補正点それぞれにおけるRS歪み補正量と、先のS402で通知した振れ情報を判別するための第1のID情報とを、レンズ制御部111から取得する。 In S<b>405 , the camera control unit 124 performs third communication to the lens control unit 111 via the camera communication control unit 125 . Specifically, the camera controller 124 transmits a communication request to the lens controller 111 . Then, as a response to the communication request, the electronic image blur correction amount distributed by the lens control unit 111 at the exposure center-of-gravity timing 1009, the RS distortion correction amount at each of the plurality of correction points for RS distortion correction, and the First ID information for determining the notified shake information is acquired from the lens control unit 111 .

次のS406で、カメラ制御部124は、カメラ振れ検出部122で検出するカメラ本体部の振れ情報を検出したかを判定する。具体的には、動きベクトル検出の完了割り込みで判定する。カメラ本体部の振れ情報を検出した場合は、処理はS407に進み、検出していない場合にはS406に戻り、処理を繰り返す。S407で、カメラ制御部124は、カメラ振れ検出部122で検出したカメラ本体部の振れ情報と、先のS403で設定した振れ情報を判別するための第2のID情報を取得する。 In the next step S406, the camera control unit 124 determines whether the camera shake information detected by the camera shake detection unit 122 has been detected. Specifically, it is determined by a motion vector detection completion interrupt. If shake information of the camera body is detected, the process proceeds to S407, and if not detected, the process returns to S406 and repeats the process. In S407, the camera control unit 124 acquires the shake information of the camera body detected by the camera shake detection unit 122 and the second ID information for distinguishing the shake information set in S403.

S408で、カメラ制御部124は、先のS405で取得したレンズ側検出振れ情報と、先のS407で取得したカメラ側検出振れ情報のもつ、それぞれのID情報が一致するかを判定する。振れ情報のID情報が一致する場合は、処理はS409に進み、振れ情報のID情報が一致しない場合にはS401に戻り、処理を繰り返す。ここでもS108と同様に、振れ情報のID情報が一致しなかった場合は、前回設定した電子式像振れ補正量を設定するようにしても良い。また、振れ情報のID情報の不一致が所定回数続いた場合には、通信異常等の何らかのエラーが生じていると判断して、リセット処理(電源OFFし再度電源ONすることに相当する処理)を行うようにしても良い。 In S408, the camera control unit 124 determines whether the ID information of the lens-side detected shake information acquired in S405 matches the ID information of the camera-side detected shake information acquired in S407. If the ID information of the shake information matches, the process proceeds to S409, and if the ID information of the shake information does not match, the process returns to S401 and repeats the process. As in S108, if the ID information of the shake information does not match, the previously set electronic image blur correction amount may be set. Further, when the ID information mismatch of the shake information continues for a predetermined number of times, it is determined that some kind of error such as a communication error has occurred, and reset processing (processing equivalent to turning off the power and then turning on the power again) is performed. You can do it.

S409で、カメラ制御部124は先のS405で取得したレンズ側検出振れ情報と、先のS407で取得したカメラ側検出振れ情報を用いて、電子式像振れ補正量を生成する。その際には、生成した電子式像振れ補正量と振れ情報のID情報とを関連付けて設定する。 In S409, the camera control unit 124 generates an electronic image blur correction amount using the lens-side detected shake information acquired in S405 and the camera-side detected shake information acquired in S407. At that time, the generated electronic image blur correction amount and the ID information of the shake information are set in association with each other.

最後にS410で、カメラ制御部124は、電子式像振れ補正制御部123に指示し、S409で生成した電子式像振れ補正量とRS歪み補正量に基づいて画像補正を行う。 Finally, in S410, the camera control unit 124 instructs the electronic image blur correction control unit 123 to perform image correction based on the electronic image blur correction amount and the RS distortion correction amount generated in S409.

図10のフローチャートを参照して、レンズ制御部111が行うRS歪み補正を含めた通信と制御内容について説明する。 Communication and control contents including RS distortion correction performed by the lens control unit 111 will be described with reference to the flowchart of FIG. 10 .

まず、S501で、レンズ制御部111はレンズ通信制御部112を介してカメラ制御部124からの第1の通信を受け付ける。レンズ制御部111は第1の通信タイミングで内部のタイマー時間を取得し、その時間をRS歪み補正の先頭補正タイミング算出の基準時間とする。 First, in S<b>501 , the lens control unit 111 receives a first communication from the camera control unit 124 via the lens communication control unit 112 . The lens control unit 111 acquires the internal timer time at the first communication timing, and uses that time as the reference time for calculating the leading correction timing of the RS distortion correction.

次にS502で、レンズ制御部111はレンズ通信制御部112を介してカメラ制御部124からの第2の通信を受け付ける。第2の通信で、レンズ制御部111は第1の通信による基準時間からの相対時間と、RS歪み補正の先頭差分時間、および電子式像振れ補正の可動範囲と、振れ情報を判別するための第1のID情報を取得する。レンズ制御部111は、第1の通信タイミング1004の時間を基準時間として取得しているため、第2の通信1002で相対時間1007及びRS歪み補正先頭差分時間1008を受け取る。そして、内部のタイマー設定によりRS歪み補正の先頭補正タイミングを設定する。また、レンズ制御部111は電子式像振れ補正の可動範囲を受け取ることで、レンズ装置の光学式像振れ補正の可動範囲をも含めて分割部205で用いる係数Kを算出して設定する。 Next, in step S<b>502 , the lens control unit 111 receives second communication from the camera control unit 124 via the lens communication control unit 112 . In the second communication, the lens control unit 111 determines the relative time from the reference time in the first communication, the head differential time of RS distortion correction, the movable range of electronic image blur correction, and the shake information. Acquire the first ID information. Since the lens control unit 111 acquires the time of the first communication timing 1004 as the reference time, it receives the relative time 1007 and the RS distortion correction head difference time 1008 through the second communication 1002 . Then, the head correction timing of RS distortion correction is set by setting an internal timer. Further, the lens control unit 111 receives the movable range of the electronic image blur correction, and calculates and sets the coefficient K used in the division unit 205 including the movable range of the optical image blur correction of the lens device.

S503で、レンズ制御部111はRS歪み補正の補正タイミングが到来したか否かを判定する。RS歪み補正の補正タイミングが到来したと判定された場合、S504に進み、補正タイミングが到来していない場合には、S503の判定処理を繰り返す。 In S503, the lens control unit 111 determines whether or not the correction timing for RS distortion correction has arrived. If it is determined that the correction timing for RS distortion correction has arrived, the process proceeds to S504, and if the correction timing has not arrived, the determination process of S503 is repeated.

S504で、レンズ制御部111はRS歪み補正の補正タイミングで、レンズ振れ検出部110から振れ情報を取得する。さらに分割部205は、レンズ装置の光学式像振れ補正量と、RS歪み補正の補正量を算出する。レンズ制御部111は、カメラ制御部124からの通信要求があるまで、RS歪み補正量と、先のS502で取得した振れ情報を判別するための第1のID情報と共に一時記憶しておく。なお、本実施形態の例ではRS歪み補正の補正点を11点としており、先頭から6番目の補正点が露光重心に相当する。レンズ制御部111は、露光重心タイミング1009でも電子式像振れ補正量を取得しておく。 In S504, the lens control unit 111 acquires shake information from the lens shake detection unit 110 at the correction timing of RS distortion correction. Furthermore, the dividing unit 205 calculates the optical image blur correction amount of the lens apparatus and the correction amount of the RS distortion correction. Until there is a communication request from the camera control unit 124, the lens control unit 111 temporarily stores the RS distortion correction amount and the first ID information for determining the shake information acquired in the previous step S502. In the example of this embodiment, 11 correction points are used for RS distortion correction, and the sixth correction point from the top corresponds to the exposure barycenter. The lens control unit 111 also acquires the electronic image blur correction amount at the exposure center-of-gravity timing 1009 .

S505で、レンズ制御部111はRS歪み補正の全補正タイミングが終了したか否かを判定する。RS歪み補正の補正タイミングが全て到来した場合、S507に進み、全て到来していない場合にはS506に進む。 In S505, the lens control unit 111 determines whether or not all correction timings for RS distortion correction have ended. If all correction timings for RS distortion correction have arrived, the process advances to S507, and if all have not arrived, the process advances to S506.

S506で、レンズ制御部111は内部のタイマー設定により次のRS歪み補正の補正タイミングを設定する。次の補正タイミングの設定にてレンズ制御部111は、現在のRS歪み補正の補正タイミングと、RS歪み補正の補正点間の差分時間をS502で取得したRS歪み補正先頭差分時間1008と補正点数とを用いて算出する。タイマー設定後、S503の処理に戻る。 In S506, the lens control unit 111 sets the correction timing for the next RS distortion correction by setting an internal timer. In setting the next correction timing, the lens control unit 111 sets the correction timing of the current RS distortion correction, the difference time between the correction points of the RS distortion correction, the RS distortion correction top difference time 1008 acquired in S502, and the number of correction points. Calculated using After setting the timer, the process returns to S503.

S507で、レンズ制御部111はレンズ通信制御部112を介してカメラ制御部124からの第3の通信の通信要求があるか否かを判定する。第3の通信の通信要求があった場合、S508に進み、当該通信要求がない場合にはS507の判定処理を繰り返す。 In step S<b>507 , the lens control unit 111 determines whether or not there is a communication request for the third communication from the camera control unit 124 via the lens communication control unit 112 . If there is a communication request for the third communication, the process proceeds to S508, and if there is no such communication request, the determination processing of S507 is repeated.

S508で、レンズ制御部111はレンズ通信制御部112を介してカメラ制御部124から受信した通信要求への応答としての第3の通信を実行する。レンズ制御部111は露光重心タイミングで振り分けられた電子式像振れ補正量と、RS歪み補正の複数の補正点それぞれにおけるRS歪み補正量と、先のS502で取得した振れ情報を判別するため第1のID情報をカメラ制御部124に通知する。 In S<b>508 , the lens control unit 111 executes third communication as a response to the communication request received from the camera control unit 124 via the lens communication control unit 112 . The lens control unit 111 determines the electronic image blur correction amount distributed at the timing of the exposure center of gravity, the RS distortion correction amount at each of a plurality of correction points for RS distortion correction, and the shake information acquired in S502. ID information is notified to the camera control unit 124 .

<第3の実施形態の効果>
本実施形態では、カメラ制御部からレンズ制御部へ、露光重心タイミングおよびRS歪み補正先頭差分時間が送信される。また、カメラ補正点数レンズ制御部111はRS歪み補正の各補正点のタイミングを把握し、RS歪み補正の補正点間の差分時間を算出することにより、RS歪み補正量を取得することができる。RS歪み補正量がカメラ制御部に通知されて、RS歪み補正が行われる。
<Effects of the third embodiment>
In the present embodiment, the exposure center-of-gravity timing and the RS distortion correction leading differential time are transmitted from the camera control section to the lens control section. Further, the camera correction point lens control unit 111 grasps the timing of each correction point for RS distortion correction, and calculates the difference time between the correction points for RS distortion correction, thereby obtaining the RS distortion correction amount. The RS distortion correction amount is notified to the camera control unit, and the RS distortion correction is performed.

また、カメラ制御部124は、振れを検出するタイミングに合わせて、振れ情報を判別するためのID情報を、それぞれレンズ側振れ情報とカメラ側振れ情報に対して送信または設定を行う。このため、2つの振れ情報のID情報の一致を持って、振れ情報の同期を取ることができる。 In addition, the camera control unit 124 transmits or sets ID information for discriminating shake information for the lens side shake information and the camera side shake information, respectively, in accordance with the timing of detecting shake. Therefore, it is possible to synchronize the shake information by matching the ID information of the two pieces of shake information.

本実施形態によれば、レンズ交換式の撮像システムにおいて、より少ない通信量で光学式像振れ補正とRS歪み補正を含めた電子式像振れ補正の複数の補正手段と、レンズ側の角速度センサとカメラ側の動きベクトルの複数の振れ検出手段による補正とを、協調かつ同期をとって制御することができる。これにより、像振れ補正範囲を拡大させる撮像システムを提供できる。 According to this embodiment, in a lens-interchangeable imaging system, a plurality of correction means for electronic image blur correction including optical image blur correction and RS distortion correction, and an angular velocity sensor on the lens side with less communication traffic. The correction of motion vectors on the camera side by a plurality of shake detection means can be controlled in a coordinated and synchronized manner. This makes it possible to provide an imaging system that expands the image blur correction range.

本実施形態では、レンズ制御部から取得したRS歪み補正量を用いてカメラ制御が補正を行う場合を説明した。またカメラ制御部が、取得した軸以外の補正軸方向(Roll方向)でのRS歪み補正を行うことにより、像振れ補正効果をさらに高めることができる。また、本実施形態では、RS歪み補正点として、11点を例示した。RS歪み補正点の数を所定数に固定する必要はなく、例えばレンズ装置が対応可能な通信速度に応じて補正点の数を変更してもよい。この場合、レンズ装置との通信により対応が可能な通信速度をカメラ制御部が取得し、第2の通信時にRS歪み補正の補正点数をレンズ制御部に通知する。それに応じてレンズ制御部が取得するRS歪み補正点数が決定される。 In the present embodiment, a case has been described in which camera control performs correction using the RS distortion correction amount acquired from the lens control unit. Further, the camera control unit performs RS distortion correction in a correction axis direction (Roll direction) other than the acquired axis, so that the image blur correction effect can be further enhanced. Also, in this embodiment, 11 points are illustrated as RS distortion correction points. It is not necessary to fix the number of RS distortion correction points to a predetermined number, and the number of correction points may be changed according to, for example, the communication speed that can be handled by the lens device. In this case, the camera control unit acquires the communication speed that can be handled by communicating with the lens device, and notifies the lens control unit of the number of correction points for RS distortion correction during the second communication. Accordingly, the number of RS distortion correction points acquired by the lens control unit is determined.

[その他の実施形態]
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
[Other embodiments]
The present invention supplies a program that implements one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by processing to It can also be implemented by a circuit (for example, ASIC) that implements one or more functions.

105 像振れ補正ユニット
106 光学式像振れ補正制御部
110 レンズ振れ検出部
111 レンズ制御部
112 レンズ通信制御部
122 カメラ振れ検出部
123 電子式像振れ補正制御部
124 カメラ制御部
125 カメラ通信制御部
105 image shake correction unit 106 optical image shake correction controller 110 lens shake detector 111 lens controller 112 lens communication controller 122 camera shake detector 123 electronic image shake correction controller 124 camera controller 125 camera communication controller

Claims (9)

レンズ装置を装着できる撮像装置であって、
露光によって像フレームに対応する画像信号を取得する撮像素子と、
前記レンズ装置と通信を行う通信制御手段と、
前記撮像装置の振れに対応する第1の防振情報を算出する算出手段と、
撮像フレームに対して防振制御を行う防振制御手段と、
前記撮像フレームに対応するID情報を、前記第1の防振情報に対応づけて設定する設定手段と、を有し、
前記通信制御手段は、前記撮像フレームに対応して前記設定手段によって設定された第1のID情報を送信した後に、露光重心に対応するタイミングから所定時間が経過した場合に、通信要求を前記レンズ装置に送信するとともに当該通信要求に対応して前記レンズ装置の振れに対応する第2の防振情報と前記第1のID情報とを受信し、
前記防振制御手段は、防振制御の対象とする撮像フレームに対応する第2のID情報と前記第1のID情報とが一致する場合には、前記第1の防振情報と前記第2の防振情報とに基づいて防振制御を実行することを特徴とする撮像装置。
An imaging device to which a lens device can be attached,
an imaging device that acquires an image signal corresponding to the image frame by exposure;
communication control means for communicating with the lens device;
calculation means for calculating first image stabilization information corresponding to shake of the imaging device;
anti-vibration control means for performing anti-vibration control on an imaging frame;
setting means for setting the ID information corresponding to the imaging frame in association with the first vibration isolation information;
The communication control means sends a communication request to the lens when a predetermined time elapses from the timing corresponding to the exposure center of gravity after the first ID information set by the setting means corresponding to the imaging frame is transmitted. receiving the second image stabilization information corresponding to the vibration of the lens device and the first ID information in response to the communication request while transmitting to the device;
When the second ID information and the first ID information corresponding to the imaging frame to be subjected to the anti-vibration control match, the anti-vibration control means sets the first anti-vibration information and the second ID information. image stabilization control based on the image stabilization information.
第2の防振情報は、前記レンズ装置において検出された角速度センサによって検出された情報に基づく防振情報であり、前記第1の防振情報は、複数の撮像フレームに基づいて算出された動きベクトルまたは角速度に基づく防振情報であることを特徴とする請求項1に記載の撮像装置。 The second image stabilization information is image stabilization information based on information detected by an angular velocity sensor detected in the lens device, and the first image stabilization information is movement calculated based on a plurality of imaging frames. 2. The image pickup apparatus according to claim 1, wherein the image stabilization information is based on vectors or angular velocities. 前記防振制御手段は、前記第1の防振情報と前記第2防振情報との同期を取ることで第3の防振情報を生成し、前記第3の防振情報は前記第1のID情報及び前記第2のID情報と関連付けて設定することを特徴とする請求項1に記載の撮像装置。 The anti-vibration control means generates third anti-vibration information by synchronizing the first anti-vibration information and the second anti-vibration information. 2. The imaging apparatus according to claim 1, wherein the ID information and the second ID information are set in association with each other. 前記第1のID情報及び前記第2のID情報は、振れを検出するタイミングに対応する撮像フレーム番号であることを特徴とする請求項1に記載の撮像装置。 2. The imaging apparatus according to claim 1, wherein said first ID information and said second ID information are imaging frame numbers corresponding to the timing of detecting shake. 前記設定手段が前記第1のID情報を設定するタイミングと、前記設定手段が前記第2のID情報を設定するタイミングは、異なるタイミングであることを特徴とする請求項4に記載の撮像装置。 5. The imaging apparatus according to claim 4, wherein the timing at which said setting means sets said first ID information and the timing at which said setting means sets said second ID information are different timings. 前記防振制御手段は前記撮像フレーム番号の通知タイミングと、振れを検出するタイミングに合わせて、前記第1のID情報及び前記第2のID情報を補正して設定することを特徴とする請求項4又は請求項5に記載の撮像装置。 3. The anti-vibration control means corrects and sets the first ID information and the second ID information in accordance with the notification timing of the imaging frame number and the timing of detecting the shake. 6. The imaging device according to claim 4 or 5. レンズ装置と、レンズ装置を装着することができる撮像装置との撮像システムであって、
露光によって撮像フレームに対応する画像信号を取得する撮像素子と、
前記レンズ装置と通信を行うカメラ通信制御手段と、
前記撮像装置と通信を行うレンズ通信制御手段と、
前記撮像装置の振れに対応する第1の防振情報を算出する第1の算出手段と、
レンズ装置の振れに対応する第2の防振情報を算出する第2の算出手段と、
前記第1の防振情報と前記第2の防振情報とに基づいて、撮像フレームに対して防振制御を行う防振制御手段と、
前記撮像フレームに対応するID情報を、前記第1の防振情報に対応づけて設定する第1の設定手段と、を有し、
前記カメラ通信制御手段は、前記撮像フレームに対応して前記設定手段によって設定された第1のID情報を送信した後に、露光重心に対応するタイミングから所定時間が経過してから前記第2の算出手段が算出した前記第2の防振情報と第1のID情報とを前記レンズ通信制御手段から受信し、
前記防振制御手段は、防振制御の対象とする撮像フレームに対応する第2のID情報と前記第1のID情報とが一致する場合には、前記第1の防振情報と前記第2の防振情報とに基づいて、前記撮像フレームに対する防振制御を実行することを特徴とする撮像システム。
An imaging system comprising a lens device and an imaging device to which the lens device can be attached,
an imaging device that acquires an image signal corresponding to an imaging frame by exposure;
camera communication control means for communicating with the lens device;
lens communication control means for communicating with the imaging device;
a first calculation means for calculating first image stabilization information corresponding to shake of the imaging device;
a second calculation means for calculating second image stabilization information corresponding to shake of the lens device;
anti-vibration control means for performing anti-vibration control on a captured frame based on the first anti-vibration information and the second anti-vibration information;
a first setting means for setting ID information corresponding to the imaging frame in association with the first vibration isolation information;
After transmitting the first ID information set by the setting means corresponding to the imaging frame, the camera communication control means performs the second calculation after a predetermined time has elapsed from the timing corresponding to the exposure center of gravity. receiving the second image stabilization information and the first ID information calculated by the means from the lens communication control means;
When the second ID information and the first ID information corresponding to the imaging frame to be subjected to the anti-vibration control match, the anti-vibration control means sets the first anti-vibration information and the second ID information. image stabilization control for the imaging frame based on the image stabilization information.
レンズ装置を装着することが可能であり、露光によって撮像フレームに対応する画像信号を取得する撮像素子を有する撮像装置の制御方法であって、
前記レンズ装置と通信を行う通信制御ステップと、
前記撮像装置の振れに対応する第1の防振情報を算出する算出ステップと、
撮像フレームに対して防振制御を行う防振制御ステップと、
前記撮像フレームに対応するID情報を、前記第1の防振情報に対応づけて設定する設定ステップと、を有し、
前記通信制御ステップでは、前記撮像フレームに対応して前記設定ステップで設定された第1のID情報を送信した後に、露光重心に対応するタイミングから所定時間が経過した場合に、通信要求を前記レンズ装置に送信するとともに当該通信要求に対応して前記レンズ装置の振れに対応する第2の防振情報と前記第1のID情報とを受信し、
前記防振制御ステップでは、防振制御の対象とする撮像フレームに対応する第2のID情報と前記第1のID情報とが一致する場合には、前記第1の防振情報と前記第2の防振情報とに基づいて防振制御を実行することを特徴とする撮像装置の制御方法。
A control method for an imaging device having an imaging device capable of mounting a lens device and acquiring an image signal corresponding to an imaging frame by exposure, comprising:
a communication control step for communicating with the lens device;
a calculation step of calculating first vibration isolation information corresponding to the shake of the imaging device;
an anti-shake control step of performing anti-shake control on the imaging frame;
a setting step of setting ID information corresponding to the imaging frame in association with the first vibration isolation information;
In the communication control step, after the first ID information set in the setting step corresponding to the imaging frame is transmitted, a communication request is sent to the lens when a predetermined time has elapsed from the timing corresponding to the exposure center of gravity. receiving the second image stabilization information corresponding to the vibration of the lens device and the first ID information in response to the communication request while transmitting to the device;
In the anti-shake control step, when the second ID information corresponding to the imaging frame to be subjected to anti-shake control matches the first ID information, the first anti-shake information and the second ID information are matched. A control method for an image pickup apparatus, characterized in that image stabilization control is executed based on the image stabilization information.
レンズ装置と、レンズ装置を装着することが可能であり、露光によって撮像フレームに対応する画像信号を取得する撮像素子を有する撮像装置との撮像システムの制御方法であって、
前記レンズ装置と通信を行うカメラ通信制御ステップと、
前記撮像装置と通信を行うレンズ通信制御ステップと、
前記撮像装置の振れに対応する第1の防振情報を算出する第1の算出ステップと、
レンズ装置の振れに対応する第2の防振情報を算出する第2の算出ステップと、
前記第1の防振情報と前記第2の防振情報とに基づいて、撮像フレームに対して防振制御を行う防振制御ステップと、
前記撮像フレームに対応するID情報を、前記第1の防振情報に対応づけて設定する第1の設定ステップと、を有し、
前記カメラ通信制御ステップでは、前記撮像フレームに対応して前記設定ステップで設定された第1のID情報を送信した後に、露光重心に対応するタイミングから所定時間が経過してから前記第2の算出ステップで算出した前記第2の防振情報と第1のID情報とを前記レンズ通信制御ステップで受信し、
前記防振制御ステップでは、防振制御の対象とする撮像フレームに対応する第2のID情報と前記第1のID情報とが一致する場合には、前記第1の防振情報と前記第2の防振情報とに基づいて、前記撮像フレームに対する防振制御を実行することを特徴とする撮像システムの制御方法
A control method for an imaging system including a lens device and an imaging device having an imaging device to which the lens device can be attached and which obtains an image signal corresponding to an imaging frame by exposure, comprising:
a camera communication control step for communicating with the lens device;
a lens communication control step for communicating with the imaging device;
a first calculation step of calculating first image stabilization information corresponding to shake of the imaging device;
a second calculation step of calculating second image stabilization information corresponding to shake of the lens device;
a stabilization control step of performing stabilization control on a captured frame based on the first stabilization information and the second stabilization information;
a first setting step of setting ID information corresponding to the imaging frame in association with the first vibration isolation information;
In the camera communication control step, after transmitting the first ID information set in the setting step corresponding to the imaging frame, after a predetermined time has passed from the timing corresponding to the exposure center of gravity, the second calculation is performed. receiving the second image stabilization information and the first ID information calculated in the step in the lens communication control step;
In the anti-shake control step, when the second ID information corresponding to the imaging frame to be subjected to anti-shake control matches the first ID information, the first anti-shake information and the second ID information are matched. A control method for an imaging system, characterized in that the image stabilization control is executed for the imaging frame based on the image stabilization information.
JP2018165391A 2018-09-04 2018-09-04 IMAGING DEVICE, LENS DEVICE, AND CONTROL METHOD THEREOF Active JP7182962B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018165391A JP7182962B2 (en) 2018-09-04 2018-09-04 IMAGING DEVICE, LENS DEVICE, AND CONTROL METHOD THEREOF

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018165391A JP7182962B2 (en) 2018-09-04 2018-09-04 IMAGING DEVICE, LENS DEVICE, AND CONTROL METHOD THEREOF

Publications (2)

Publication Number Publication Date
JP2020038296A JP2020038296A (en) 2020-03-12
JP7182962B2 true JP7182962B2 (en) 2022-12-05

Family

ID=69738504

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018165391A Active JP7182962B2 (en) 2018-09-04 2018-09-04 IMAGING DEVICE, LENS DEVICE, AND CONTROL METHOD THEREOF

Country Status (1)

Country Link
JP (1) JP7182962B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016208483A (en) 2015-04-23 2016-12-08 俊洋 古澤 Video system and aerial photography system using the same
JP2017152995A (en) 2016-02-26 2017-08-31 キヤノン株式会社 Imaging system, method for controlling the same, imaging apparatus, and lens device
JP2018017751A5 (en) 2016-07-25 2019-08-29 Imaging device, accessory device, control method, program, and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6786288B2 (en) 2016-07-25 2020-11-18 キヤノン株式会社 Imaging device, lens device, control method, program, and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016208483A (en) 2015-04-23 2016-12-08 俊洋 古澤 Video system and aerial photography system using the same
JP2017152995A (en) 2016-02-26 2017-08-31 キヤノン株式会社 Imaging system, method for controlling the same, imaging apparatus, and lens device
JP2018017751A5 (en) 2016-07-25 2019-08-29 Imaging device, accessory device, control method, program, and storage medium

Also Published As

Publication number Publication date
JP2020038296A (en) 2020-03-12

Similar Documents

Publication Publication Date Title
JP6700853B2 (en) Imaging system and control method thereof, imaging device, and lens device
JP6635825B2 (en) Imaging system and control method thereof, imaging apparatus, lens apparatus
JP7277513B2 (en) a lens device, a lens device control method, and a lens device control program;
JP6530602B2 (en) Image pickup apparatus and control method thereof
KR102393775B1 (en) Camera controller, image processing module, and semiconductor system
JP6808399B2 (en) Accessory device, control device, imaging system, communication control method and communication control program
JP6806467B2 (en) Image processing equipment and methods, imaging equipment, and imaging systems
JP2023041748A (en) Camera, lens device, control method, and computer program
JP7218207B2 (en) Camera, lens apparatus, control method, and computer program
JP2016005160A (en) Imaging device and control method thereof
JP7257774B2 (en) IMAGING SYSTEM AND CONTROL METHOD THEREOF, LENS UNIT, IMAGING DEVICE, PROGRAM, STORAGE MEDIUM
JP6525800B2 (en) Image blurring correction apparatus, control method therefor, and imaging apparatus
CN110418053B (en) Lens apparatus, control method thereof, image pickup apparatus, and control method thereof
JP7182962B2 (en) IMAGING DEVICE, LENS DEVICE, AND CONTROL METHOD THEREOF
JP2019124928A (en) Image blur correction device, interchangeable lens, camera body, image blur correction method, and program
JP2019125890A (en) Image shake correction device, camera body, image shake correction method, and program
JP6800642B2 (en) Accessory device, control device, control method of these
JP7039263B2 (en) Imaging system, imaging device, lens device, and its control method
JP7214424B2 (en) Imaging device and its control method
JP7321844B2 (en) Shake correction control device and shake correction control method
JP4759238B2 (en) Optical equipment
JP2023075680A (en) Optical apparatus, imaging system, and method for calculating correction amount in imaging system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210902

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220707

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220830

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221003

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221122

R151 Written notification of patent or utility model registration

Ref document number: 7182962

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151