JP2016021020A - Control unit, control method therefor, and system - Google Patents

Control unit, control method therefor, and system Download PDF

Info

Publication number
JP2016021020A
JP2016021020A JP2014145381A JP2014145381A JP2016021020A JP 2016021020 A JP2016021020 A JP 2016021020A JP 2014145381 A JP2014145381 A JP 2014145381A JP 2014145381 A JP2014145381 A JP 2014145381A JP 2016021020 A JP2016021020 A JP 2016021020A
Authority
JP
Japan
Prior art keywords
communication
communication mode
external devices
packet
strobe
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014145381A
Other languages
Japanese (ja)
Inventor
剛 多治見
Go Tajimi
剛 多治見
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 JP2014145381A priority Critical patent/JP2016021020A/en
Publication of JP2016021020A publication Critical patent/JP2016021020A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stroboscope Apparatuses (AREA)
  • Selective Calling Equipment (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a control unit capable of minimizing a variation in operation among pieces of equipment when plural pieces of interconnected equipment that can communicate with each other by switching plural modes are remotely controlled.SOLUTION: A control unit of the present invention is a control unit capable of remotely controlling plural pieces of external equipment. The control unit includes communication means capable of switching a first communication mode in which sole transmission is performed at predetermined communication intervals, and a second communication mode in which broadcast transmission is performed, detection means that detects an operation instruction maneuver performed for the control unit, and control means that controls communication of the communication means with the plural pieces of external equipment. Before the detection means detects the maneuver, the control means controls the communication means so as to establish a connection in the first communication mode with the pieces of external equipment for communication at the predetermined communication intervals. When the detection means detects the maneuver, the control means transmits a notification, which brings the pieces of external equipment to the second communication mode so that they can communication in the second communication mode, to the pieces of external equipment. After transmitting the notification, the control means switches from the first communication mode to the second communication mode, and transmits information on an operation instruction to the pieces of external equipment.SELECTED DRAWING: Figure 6

Description

本発明は、制御装置およびその制御方法ならびにシステムに関し、特に機器を遠隔制御する技術に関する。   The present invention relates to a control device, a control method thereof, and a system, and more particularly to a technique for remotely controlling a device.

複数の機器と同期をとりながら無線通信を行うシステムでは、通信のタイムラグや通信のタイミングのバラツキが問題となる。このため、データの送受信の仕方に工夫を凝らして、これらの問題を解決する試みがなされている。   In a system in which wireless communication is performed while synchronizing with a plurality of devices, communication time lag and communication timing variations are problematic. For this reason, attempts have been made to solve these problems by contriving ways of transmitting and receiving data.

特許文献1には、カメラで撮影動作が行われたときにストロボとの通信間隔を短く切り替えることで、カメラの撮影動作とのタイムラグを低減したストロボ発光を行う技術が開示されている。また、特許文献2には、カメラで撮影動作が行われたときに、ストロボ発光に必要なデータを複数のストロボに対してブロードキャスト送信し、ストロボの応答速度を向上する技術が開示されている。   Japanese Patent Application Laid-Open No. 2004-228561 discloses a technique for performing strobe light emission with a reduced time lag with respect to a camera shooting operation by switching the communication interval with the strobe short when a camera shooting operation is performed. Patent Document 2 discloses a technique for improving the response speed of a strobe by broadcasting data necessary for strobe emission to a plurality of strobes when a shooting operation is performed with a camera.

特開2011−061715号公報JP 2011-061715 A 特開2011−050017号公報JP 2011-050017 A

しかしながら、上述の特許文献に開示された従来技術を適用できる通信規格は限られている。例えばBluetooth Low Energy(Bluetoothは登録商標)では、2種類のパケット通信のモードが提供されている。一方は、接続確立前にスレーブ装置がマスター装置に対して一方向に自装置の存在を通知するために送信する通信モードであり、複数の装置に対してブロードキャストすることが可能である。他方は、マスター装置がスレーブ装置と接続中に、双方向データ通信を行うために用いる通信モードであり、マスター装置とスレーブ装置がユニキャスト通信する際に用いられる。データ通信に用いられる後者の通信モードは、通信間隔として最低限空けるべき時間間隔が規定されており、マスター装置からの送信タイミングに制約があるうえ、ブロードキャスト通信ができないという制約がある。このため、上述の特許文献に開示された技術を適用することができない。上記の例が示すように、機器間の通信間隔を縮めることやブロードキャスト通信を用いることは、全ての通信規格において意図したタイミングや通信状況で行えるわけではない。   However, there are limited communication standards to which the prior art disclosed in the above-mentioned patent documents can be applied. For example, in Bluetooth Low Energy (Bluetooth is a registered trademark), two types of packet communication modes are provided. One is a communication mode in which the slave device transmits to notify the master device of the existence of its own device in one direction before connection is established, and can be broadcast to a plurality of devices. The other is a communication mode used for bidirectional data communication while the master device is connected to the slave device, and is used when the master device and the slave device perform unicast communication. In the latter communication mode used for data communication, a time interval that should be at least as a communication interval is defined, and there is a restriction that transmission timing from the master device is restricted and broadcast communication is not possible. For this reason, the technique disclosed in the above-mentioned patent document cannot be applied. As shown in the above example, reducing the communication interval between devices and using broadcast communication cannot be performed at the timing and communication situation intended in all communication standards.

本発明は、上述の従来技術の問題点に鑑みてなされ、適切な通信方法で外部装置を遠隔制御することを目的とする。   The present invention has been made in view of the above-described problems of the prior art, and an object thereof is to remotely control an external device by an appropriate communication method.

この課題を解決するため、例えば本発明の制御装置は以下の構成を備える。すなわち、複数の外部機器を遠隔制御することが可能な制御装置であって、所定の通信間隔で単一送信を行う第1の通信モードと、同報送信を行う第2の通信モードとが切り替え可能な通信手段と、制御装置に対する動作指示の操作を検出する検出手段と、通信手段による複数の外部機器との通信を制御する制御手段と、を有し、制御手段は、検出手段により操作が検出される前は、外部機器のそれぞれと、第1の通信モードによる接続を確立して所定の通信間隔で通信を行うように通信手段を制御し、検出手段により操作が検出されたことに応じて、外部機器のそれぞれを第2の通信モードにより通信できる状態にするための通知を外部機器に送信し、通知を送信した後に、第1の通信モードから第2の通信モードに切り替えて、動作指示に関する情報を外部機器のそれぞれに送信する、ことを特徴とする。   In order to solve this problem, for example, the control device of the present invention has the following configuration. In other words, the control device can remotely control a plurality of external devices, and switches between a first communication mode in which single transmission is performed at a predetermined communication interval and a second communication mode in which broadcast transmission is performed. Possible communication means, detection means for detecting operation instruction operation to the control device, and control means for controlling communication with a plurality of external devices by the communication means, the control means is operated by the detection means Before being detected, the communication means is controlled to establish communication with each of the external devices in the first communication mode and perform communication at a predetermined communication interval, and in response to the operation detected by the detection means. Then, a notification for making each of the external devices communicable in the second communication mode is transmitted to the external device, and after the notification is transmitted, the first communication mode is switched to the second communication mode to operate. Instructions And it transmits to each of the external device information about, characterized in that.

本発明によれば、適切な通信方法で外部装置を遠隔制御することが可能になる。   According to the present invention, it is possible to remotely control an external device by an appropriate communication method.

本発明の実施形態1に係る制御装置の一例としてのデジタルカメラの機能構成例を示すブロック図(a)および外部装置の一例としてのストロボの機能構成例を示すブロック図(b)1 is a block diagram showing a functional configuration example of a digital camera as an example of a control device according to Embodiment 1 of the present invention, and a block diagram showing an example of a functional configuration of a strobe as an example of an external device (b). 本実施形態に係る無線撮影システムの構成図The block diagram of the radio | wireless imaging system which concerns on this embodiment 本実施形態に係るADVパケットのパケット構造の例を示す図The figure which shows the example of the packet structure of the ADV packet which concerns on this embodiment 本実施形態に係るADVおよびCONNパケットの発行タイミングを示す図The figure which shows the issue timing of ADV and a CONN packet which concern on this embodiment 本実施形態に係るデジタルカメラとストロボが通信を確立する処理の一連の動作を示すフローチャートA flowchart showing a series of operations for establishing communication between the digital camera and the flash according to the present embodiment. 本実施形態に係るストロボが発光するまでのデジタルカメラにおける処理の一連の動作を示すフローチャートThe flowchart which shows a series of operation | movement of the process in the digital camera until the flash based on this embodiment light-emits. 本実施形態に係るストロボが発光するまでのストロボにおける処理の一連の動作を示すフローチャートA flowchart showing a series of processing operations in the flash until the flash according to the present embodiment emits light. 本実施形態に係るデジタルカメラが送信するパケットのパケット構造を示す図(a)およびデジタルカメラがADVパケットを送信するタイミングを示す図(b)The figure which shows the packet structure of the packet which the digital camera which concerns on this embodiment transmits (a), and the figure which shows the timing which the digital camera transmits an ADV packet (b) デジタルカメラとストロボ間の通信遅延を動的に測定する方法を説明する図Diagram explaining how to dynamically measure communication delay between digital camera and strobe 本実施形態に係る連続撮影を行う際にデジタルカメラが送信するパケットのパケット構造を示す図The figure which shows the packet structure of the packet which a digital camera transmits when performing continuous imaging | photography concerning this embodiment. ストロボがマスター装置となる制御システムの変形例を示す図The figure which shows the modification of the control system from which strobe becomes a master device リモコンがマスター装置となる制御システムの変形例を示す図The figure which shows the modification of the control system from which a remote control becomes a master apparatus リモコンがマスター装置となる場合のリモコンの一連の動作を示す図The figure which shows a series of operation | movement of a remote control when a remote control becomes a master apparatus リモコンがマスター装置となる場合のデジタルカメラの一連の動作を示す図The figure which shows a series of operation | movement of a digital camera when a remote control becomes a master device 実施形態2に係るストロボ発光までのデジタルカメラの一連の動作を示すフローチャート8 is a flowchart showing a series of operations of the digital camera up to strobe light emission according to the second embodiment. 実施形態2に係るストロボ発光までのストロボの一連の動作を示すフローチャートFlowchart showing a series of operations of the flash until the flash emission according to the second embodiment. 実施形態2に係るストロボにおけるパケットの受信状態の遷移を示す図The figure which shows the transition of the receiving state of the packet in the strobe which concerns on Embodiment 2. 上述の変形例を実施形態2に適用した場合のリモコンの一連の動作を示すフローチャートFlowchart showing a series of operations of the remote controller when the above modification is applied to the second embodiment. 上述の変形例を実施形態2に適用した場合のデジタルカメラの一連の動作を示すフローチャートThe flowchart which shows a series of operation | movement of a digital camera at the time of applying the above-mentioned modification to Embodiment 2. FIG.

(実施形態1)
以下、本発明の例示的な実施形態について、図面を参照して詳細に説明する。なお、以下では制御装置および外部装置から構成されるシステムにおいて、制御装置の一例として、遠隔制御が可能な任意のデジタルカメラまたはリモートコントローラに本発明を適用した例を説明する。しかし、本発明は、デジタルカメラに限らず、遠隔制御が可能な任意の電子機器にも適用可能である。これらの機器には、例えば携帯電話機、ゲーム機、タブレット端末、パーソナルコンピュータ、時計型や眼鏡型の情報端末などが含まれてよい。また、外部装置の一例として、遠隔制御が可能な任意のストロボに本発明を適用した例を説明する。しかし、本発明は、ストロボに限らず、遠隔制御が可能な任意の電子機器にも適用可能である。これらの機器には、デジタルカメラ、携帯電話機、ゲーム機、タブレット端末、パーソナルコンピュータ、時計型や眼鏡型の情報端末などが含まれてよい。
(Embodiment 1)
Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the drawings. In the following, an example in which the present invention is applied to an arbitrary digital camera or remote controller capable of remote control will be described as an example of a control device in a system including a control device and an external device. However, the present invention is not limited to a digital camera and can be applied to any electronic device that can be remotely controlled. These devices may include, for example, a mobile phone, a game machine, a tablet terminal, a personal computer, a clock-type or glasses-type information terminal. An example in which the present invention is applied to an optional strobe capable of remote control will be described as an example of an external device. However, the present invention is not limited to the strobe but can be applied to any electronic device that can be remotely controlled. These devices may include digital cameras, mobile phones, game machines, tablet terminals, personal computers, clock-type or glasses-type information terminals, and the like.

(1 システムの概要)
図2は、本実施形態におけるシステムの一例としてのデジタルカメラ100とストロボ250〜252を示している。デジタルカメラ100およびストロボ250〜252は、それぞれが有する通信部を介して無線通信を行い、デジタルカメラ100からストロボ250〜252のそれぞれを遠隔制御することができる。図中の矢印は、無線通信におけるデータの流れる向きを示しており、デジタルカメラ100はストロボ250〜252との間でデータの送受信を行ってそれぞれのストロボ発光を遠隔制御する。
(1 System overview)
FIG. 2 shows a digital camera 100 and strobes 250 to 252 as an example of a system in the present embodiment. The digital camera 100 and the strobes 250 to 252 can perform wireless communication via a communication unit included therein, and can remotely control each of the strobes 250 to 252 from the digital camera 100. The arrows in the figure indicate the direction of data flow in wireless communication, and the digital camera 100 transmits and receives data to and from the flashes 250 to 252 to remotely control each flash emission.

(2 デジタルカメラ100の構成)
図1(a)は、本実施形態の制御装置の一例としてデジタルカメラ100の機能構成例を示すブロック図である。なお、図1(a)に示す機能ブロックの1つ以上は、ASICやプログラマブルロジックアレイ(PLA)などのハードウェアによって実現されてもよいし、CPUやMPU等のプログラマブルプロセッサがソフトウェアを実行することによって実現されてもよい。また、ソフトウェアとハードウェアの組み合わせによって実現されてもよい。従って、以下の説明において、異なる機能ブロックが動作主体として記載されている場合であっても、同じハードウェアが主体として実現されうる。
(2 Configuration of digital camera 100)
FIG. 1A is a block diagram illustrating a functional configuration example of a digital camera 100 as an example of a control device according to the present embodiment. One or more of the functional blocks shown in FIG. 1A may be realized by hardware such as an ASIC or a programmable logic array (PLA), or a programmable processor such as a CPU or MPU executes software. It may be realized by. Further, it may be realized by a combination of software and hardware. Therefore, in the following description, even when different functional blocks are described as the operation subject, the same hardware can be realized as the subject.

カメラ制御部101は、例えばCPUあるいはMPUであり、不揮発性記憶装置105に格納されたプログラムを揮発性記憶装置104の作業エリアに展開し、実行することにより、デジタルカメラ100全体を制御する。カメラ制御部101は、デジタルカメラ100内の各機能ブロックと接続されており、各機能ブロックから入力された信号を基に演算を行う。また、カメラ制御部101は、後述する無線通信に係る処理を制御して例えばストロボ等の接続機器の発光などの動作制御を行う。このとき、カメラ制御部101は、無線通信部130に備えられた切り替えスイッチ110を制御して、第1の通信部120と第2の通信部121を切り替えることができる。   The camera control unit 101 is, for example, a CPU or MPU, and controls the entire digital camera 100 by developing and executing a program stored in the nonvolatile storage device 105 in the work area of the volatile storage device 104. The camera control unit 101 is connected to each functional block in the digital camera 100 and performs a calculation based on a signal input from each functional block. In addition, the camera control unit 101 controls processing related to wireless communication, which will be described later, and performs operation control such as light emission of a connected device such as a strobe. At this time, the camera control unit 101 can switch the first communication unit 120 and the second communication unit 121 by controlling the changeover switch 110 provided in the wireless communication unit 130.

レンズ部102は、デジタルカメラ100と電気的に接続され、カメラ制御部101の制御によって被写体からの光学像を撮像センサ103に適切に結像させる。   The lens unit 102 is electrically connected to the digital camera 100, and appropriately forms an optical image from the subject on the imaging sensor 103 under the control of the camera control unit 101.

撮像センサ103は、複数の画素を2次元に配置したもので、レンズ部102により結像された被写体光学像を各画素で光電変換する。光電変換された信号は、さらにタイミングジェネレータ111によって生成された動作タイミングに従ってA/D変換器112によってアナログ・デジタル変換され、画素単位のデジタル信号(画像データ)としてカメラ制御部101に入力される。   The imaging sensor 103 has a plurality of pixels arranged two-dimensionally, and photoelectrically converts the subject optical image formed by the lens unit 102 at each pixel. The photoelectrically converted signal is further subjected to analog / digital conversion by the A / D converter 112 in accordance with the operation timing generated by the timing generator 111 and input to the camera control unit 101 as a digital signal (image data) in units of pixels.

揮発性記憶装置104は、カメラ制御部101が使用する一時的なデータなど、カメラの電源を切った後に保持する必要のないデータを一時的に記憶する装置である。   The volatile storage device 104 is a device that temporarily stores data that need not be retained after the camera is turned off, such as temporary data used by the camera control unit 101.

不揮発性記憶装置105は、デジタルカメラ100に設定された設定値や撮像された画像データなど、デジタルカメラ100の電源を切っても保持すべき情報を記憶しておく装置であり、例えば半導体メモリや磁器ディスク等から構成される。設定値には、例えばTv値(絞り値)やAv値(シャッタースピード)等が含まれる。不揮発性記憶装置105に記憶される情報は、カメラ制御部101の制御により読み出しおよび書き込みが行われる。   The non-volatile storage device 105 is a device that stores information that should be retained even when the digital camera 100 is turned off, such as setting values set in the digital camera 100 and captured image data. It consists of a porcelain disk. The set value includes, for example, a Tv value (aperture value), an Av value (shutter speed), and the like. Information stored in the nonvolatile storage device 105 is read and written under the control of the camera control unit 101.

アクセサリシュー106は、カメラの上部に配置され、例えばクリップオンタイプのストロボと接続することができる金属接点の集合体である。アクセサリシュー106の金属接点には、シリアル通信用のものとデジタルカメラ100で撮影動作が行われたことを伝えるX信号専用のものが含まれる。X信号は、デジタルカメラ100の動作に同期してストロボを発光させたい場合などに用いる信号である。   The accessory shoe 106 is an assembly of metal contacts that are disposed on the top of the camera and can be connected to, for example, a clip-on type strobe. The metal contacts of the accessory shoe 106 include those for serial communication and those dedicated for the X signal that conveys that a photographing operation has been performed by the digital camera 100. The X signal is a signal used when it is desired to emit a strobe in synchronization with the operation of the digital camera 100.

撮影準備スイッチ(SW1)107は、ユーザが操作可能なメカスイッチであり、ユーザからの動作指示としてデジタルカメラ100に撮影準備指示を与えるスイッチである。SW1 107は、ユーザによって押下されると、SW1 107に接続された電極の電圧レベルを変化させ、当該SW1 107により変化した電圧レベルは、カメラ制御部101によって検出させる。カメラ制御部101は、SW1 107の押下を検出すると、レンズ部102に対してオートフォーカス等の所定の制御を行う。また、クリップオンタイプのストロボがアクセサリシュー106に接続されている場合、SW1 107が押下されると、カメラ制御部101は、アクセサリシュー106を介してストロボに対して発光準備動作を指示する。このほか、カメラ制御部101は、無線通信部130を介して外部機器に当該SW1 107が押下されたことを通知するパケットを送信する。   The shooting preparation switch (SW1) 107 is a mechanical switch that can be operated by the user, and is a switch that gives a shooting preparation instruction to the digital camera 100 as an operation instruction from the user. When the SW1 107 is pressed by the user, the voltage level of the electrode connected to the SW1 107 is changed, and the camera control unit 101 detects the voltage level changed by the SW1 107. When the camera control unit 101 detects that the SW1 107 is pressed, the camera control unit 101 performs predetermined control such as autofocus on the lens unit 102. When a clip-on type strobe is connected to the accessory shoe 106, when the SW1 107 is pressed, the camera control unit 101 instructs the strobe to perform a light emission preparation operation via the accessory shoe 106. In addition, the camera control unit 101 transmits a packet notifying that the SW1 107 has been pressed to an external device via the wireless communication unit 130.

撮影指示スイッチ(SW2)108は、ユーザが操作可能なメカスイッチであり、ユーザからの動作指示としてデジタルカメラ100に撮影動作指示を与えるスイッチである。SW1 107と同様に、SW2 108の電圧レベルは、カメラ制御部101によって検出される。カメラ制御部101は、SW2 108の押下を検出すると、レンズ部102の絞りの制御や撮像センサ103に対する撮像等の所定の制御を行う。また、カメラ制御部101は、SW2 108が押下されたタイミングでアクセサリシュー106を介してストロボ250等に対して発光を指示するコマンドを送信するほか、無線通信部130を介して外部機器に発光を指示するパケットを送信する。   The shooting instruction switch (SW2) 108 is a mechanical switch that can be operated by the user, and is a switch that gives a shooting operation instruction to the digital camera 100 as an operation instruction from the user. Similar to SW 1 107, the voltage level of SW 2 108 is detected by the camera control unit 101. When the camera control unit 101 detects that the SW2 108 is pressed, the camera control unit 101 performs predetermined control such as control of the aperture of the lens unit 102 and imaging of the imaging sensor 103. The camera control unit 101 transmits a command for instructing light emission to the strobe 250 or the like via the accessory shoe 106 at the timing when the SW2 108 is pressed, and also emits light to an external device via the wireless communication unit 130. Send the indicated packet.

カメラ設定ボタン109は、デジタルカメラ100のAv値やTv値をユーザが設定するためのボタンである。カメラ設定ボタン109は、ユーザによる操作を検出すると、操作内容または設定値をカメラ制御部101に通知する。カメラ制御部101は、撮像の際に、設定された設定値に基づいて各機能ブロックを制御する。   The camera setting button 109 is a button for the user to set the Av value and Tv value of the digital camera 100. When a user operation is detected, the camera setting button 109 notifies the camera control unit 101 of the operation content or setting value. The camera control unit 101 controls each functional block based on a set value that has been set during imaging.

無線通信部130は、無線アンテナ140を制御することで後述する無線通信を行う。無線通信部130は、切り替えスイッチ110を備えており、カメラ制御部101の指示に応じて、第1の通信部120と第2の通信部121を切り替えることができる。   The wireless communication unit 130 performs wireless communication described later by controlling the wireless antenna 140. The wireless communication unit 130 includes a changeover switch 110 and can switch between the first communication unit 120 and the second communication unit 121 in accordance with an instruction from the camera control unit 101.

無線アンテナ140は、所定の無線通信方式に準拠した形式で通信するためのデータを送信または受信を行うアンテナである。   The wireless antenna 140 is an antenna that transmits or receives data for communication in a format compliant with a predetermined wireless communication method.

電力供給部114は、デジタルカメラ100に対して電力を供給する。電力の供給先は、図に示したようにカメラ制御部101のみに限定されず、デジタルカメラ100を構成する各ブロックのいずれかまたは全てに対して電力が供給される。   The power supply unit 114 supplies power to the digital camera 100. The power supply destination is not limited to the camera control unit 101 as shown in the figure, and power is supplied to any or all of the blocks constituting the digital camera 100.

電源スイッチ115は、デジタルカメラ100の電源をオンかオフにするかを切り替えるメカスイッチであり、オンとオフの切替えにより、電力供給部114からデジタルカメラ100に対して電力を供給させるか否かを切り替える。   The power switch 115 is a mechanical switch that switches whether the power of the digital camera 100 is turned on or off. Whether the power is supplied from the power supply unit 114 to the digital camera 100 by switching between on and off is determined. Switch.

(3−1.BLEによる通信方式の概要−通信方式の構成)
次に、本実施形態で用いる通信方式について、まず通信方式の概要を説明する。本実施形態では、デジタルカメラ100とストロボ250〜252との間で行う無線通信の通信方式として、例えばBluetooth Low Energy(以下、BLE)を用いる。BLEは、周期的にスリープ状態とウェイクアップを行う間欠動作により省電力を実現しつつ、接続時にデータの送受信を行う通信モードと、接続開始時に自装置の存在通知のためにブロードキャスト送信を行う通信モードとで通信可能である。本実施形態では、前者の通信モードで用いるパケットをCONNECTION(CONN)パケットと呼び、後者の通信モードで用いるパケットをADVERTISE(ADV)パケットと呼ぶ。CONNパケットを用いた通信モードは第1の通信部120によって実行され、ADVパケットを用いた通信モードは第2の通信部121によって実行される。なお、本実施形態におけるブロードキャスト送信(同報送信ともいう)は、特定の複数の相手に送信するマルチキャスト送信であっても構わない。
(3-1. Overview of Communication System by BLE-Configuration of Communication System)
Next, an outline of the communication method used in the present embodiment will be described first. In the present embodiment, for example, Bluetooth Low Energy (hereinafter, BLE) is used as a communication method for wireless communication performed between the digital camera 100 and the flash units 250 to 252. BLE is a communication mode in which data is transmitted / received at the time of connection while performing power transmission by an intermittent operation that periodically wakes up and wakes up, and a communication in which broadcast transmission is performed for the presence notification of the own device at the start of connection. Communication with mode is possible. In this embodiment, a packet used in the former communication mode is referred to as a CONNECTION (CONN) packet, and a packet used in the latter communication mode is referred to as an ADVERTISE (ADV) packet. The communication mode using the CONN packet is executed by the first communication unit 120, and the communication mode using the ADV packet is executed by the second communication unit 121. Note that broadcast transmission (also referred to as broadcast transmission) in the present embodiment may be multicast transmission that is transmitted to a plurality of specific partners.

(3−2.BLEによる通信方式の概要−パケットの構造)
ADVパケットのパケット構造について、図3を参照して説明する。通常、ADVパケットは、スレーブとなる装置が生存確認を行うために、接続確立前にマスター装置に対して送信するパケットである。図3は、BLEで用いるADVパケットのフォーマット400を示している。preamble401は、パケットの先頭に付加されるビット列であり、通信相手によるパケットの誤受信を防ぐためのものである。パケットタイプ402は、送信されたパケットがADVパケットであることを識別するビット列である。ヘッダ403は、送信されたパケットの種類を識別するビット列である。Length404は、送信されたパケットのバイト長を示す。データヘッダ405は、IDおよびデータについてのヘッダを示すビット列である。ID406は、パケットを送信した装置を識別するユニークなIDである。データ407には、31Byteの任意のデータを含めることができる。通常、データ407には、通信相手に対して自装置の存在通知を行うために必要な情報を設定する。CRC408は、パケットの誤り訂正を行うための符号である。
(3-2. Outline of Communication System by BLE-Packet Structure)
The packet structure of the ADV packet will be described with reference to FIG. Normally, the ADV packet is a packet that is transmitted to the master device before the connection is established in order for the slave device to confirm the existence. FIG. 3 shows an ADV packet format 400 used in BLE. The preamble 401 is a bit string added to the head of the packet, and is for preventing erroneous reception of the packet by the communication partner. The packet type 402 is a bit string for identifying that the transmitted packet is an ADV packet. The header 403 is a bit string that identifies the type of the transmitted packet. Length 404 indicates the byte length of the transmitted packet. The data header 405 is a bit string indicating a header for ID and data. The ID 406 is a unique ID that identifies the device that transmitted the packet. The data 407 can include any 31-byte data. Normally, the data 407 is set with information necessary to notify the communication partner of the presence of the own device. The CRC 408 is a code for performing packet error correction.

(3−3.BLEによる通信方式の概要−BLEによる通信の流れと制約)
次に、BLEによる通信の流れと制約について、図4を参照して説明する。図4(a)には、CONNパケットを用いた通信の様子を示したタイミングチャートを示している。マスター装置(デジタルカメラ100)と複数のスレーブ装置(ストロボ250〜252)の各無線通信部が横軸にとった時間に沿って動作する様子を示している。通信410および411は、CONNパケットを用いた通信の方向を示しており、通信410はマスター装置がスレーブ装置へ送信したCONNパケットの流れを示し、通信411はスレーブ装置がマスター装置へ送信したCONNパケットの流れを示している。
(3-3. Outline of Communication Method by BLE-Flow and Restrictions of Communication by BLE)
Next, the communication flow and restrictions by BLE are demonstrated with reference to FIG. FIG. 4A shows a timing chart showing a state of communication using a CONN packet. It shows how the wireless communication units of the master device (digital camera 100) and the plurality of slave devices (strobes 250 to 252) operate along the time taken on the horizontal axis. Communication 410 and 411 indicate the direction of communication using a CONN packet, communication 410 indicates the flow of a CONN packet transmitted from the master device to the slave device, and communication 411 indicates a CONN packet transmitted from the slave device to the master device. Shows the flow.

図4(b)には、ADVパケットを用いた通信の様子を示したタイミングチャートを示しており、マスター装置およびスレーブ装置の各無線通信部の動作と、スレーブ装置のストロボ制御部201の動作を示している。通信412〜414は、スレーブ装置から送信されたADVパケットを用いた通信を示している。   FIG. 4B shows a timing chart showing the state of communication using the ADV packet. The operation of each wireless communication unit of the master device and the slave device and the operation of the strobe control unit 201 of the slave device are shown. Show. Communication 412 to 414 indicates communication using an ADV packet transmitted from the slave device.

まず、スレーブ装置がADVパケットを用いて自装置の存在通知を行う。スレーブ装置では、ストロボ制御部201によってADVパケットの通信開始・停止が制御され、一度開始すると、時間T2の間隔でADVパケットの送信が繰り返される。マスター装置は、ADVパケットの待ち受け状態となっており、スレーブ装置からの存在通知を受け取れる状態である。ADVパケットはブロードキャスト送信されるため、ADVパケットを受信できる状態にある装置は、どの装置でもADVパケットを受信することができる。   First, the slave device notifies the presence of the own device using the ADV packet. In the slave device, the start / stop of communication of the ADV packet is controlled by the strobe control unit 201, and once started, the transmission of the ADV packet is repeated at an interval of time T2. The master device is in an ADV packet standby state and can receive a presence notification from the slave device. Since the ADV packet is transmitted by broadcast, any device that can receive the ADV packet can receive the ADV packet.

マスター装置がスレーブ装置から送られてきた存在通知を検出すると、マスター装置はスレーブ装置に対して接続要求パケットを送り返す。スレーブ装置が接続要求パケットを受信すると、図4(a)に示すように、CONNパケットを用いたデータ通信をT1の周期でお互いにクロックの同期をとりながら行うことができるようになる。このように、デジタルカメラ100は、BLEによる通信を行う外部の機器と接続が確立した後、CONNパケットを用いて一定の間隔T1(例えば、20ms)で双方向データ通信を行う。   When the master device detects the presence notification sent from the slave device, the master device sends back a connection request packet to the slave device. When the slave device receives the connection request packet, as shown in FIG. 4A, data communication using the CONN packet can be performed with the clocks synchronized with each other at the period of T1. As described above, the digital camera 100 performs two-way data communication at a constant interval T1 (for example, 20 ms) using the CONN packet after connection with an external device that performs communication by BLE is established.

このとき、BLEによる通信方式では、T1は最小でも7.5ms以上とらなければならないと定めている。つまり、マスター装置は、同じスレーブ装置とT1以内の間隔で通信を行うことは出来ない。また、CONNパケットによる通信では、双方向通信が可能だが、ブロードキャスト通信ができない。このため、スレーブ装置が複数ある場合、マスター装置は各スレーブ装置の送受信のタイミングをずらして通信を行う。一方で、CONNパケットによりデータ通信をしている際は、マスター装置とスレーブ装置は間欠動作をすることで消費電力を抑えることができる。以上が、BLEにおける接続確立までの通常の流れである。   At this time, in the communication system using BLE, it is defined that T1 must be 7.5 ms or more at a minimum. That is, the master device cannot communicate with the same slave device at an interval within T1. In communication using a CONN packet, bidirectional communication is possible, but broadcast communication is not possible. For this reason, when there are a plurality of slave devices, the master device performs communication by shifting the transmission / reception timing of each slave device. On the other hand, when data communication is performed using a CONN packet, the master device and the slave device can suppress power consumption by performing an intermittent operation. The above is a normal flow until connection establishment in BLE.

本実施形態におけるデジタルカメラ100では、上述のようにCONNパケットとADVパケットを用いることが可能な通信手段を有する。そして、デジタルカメラ100は、マスター装置として動作しながら図4(b)で示したスレーブ装置同様、ADVパケットのデータの書き換えと、カメラ制御部101によるADVパケットによる通信の開始/停止の切替えを行うことが可能な構成をとる。デジタルカメラ100は、カメラ制御部101によるADVパケットによる通信を開始してから一定の間隔T2(例えば、30ms)で無線通信部130を介してADVパケットの送信を繰り返すことができる。なお、デジタルカメラ100は、T2として20ms以上の値を設定できるものとする。また、デジタルカメラ100がADVパケットによる通信を開始してから初めのADVパケットが送られるまでの時間はバラツキが少ないという特徴がある。   The digital camera 100 according to this embodiment includes a communication unit that can use a CONN packet and an ADV packet as described above. The digital camera 100 operates as a master device, and rewrites the data of the ADV packet and switches the start / stop of communication by the ADV packet by the camera control unit 101, similarly to the slave device shown in FIG. 4B. Take a configuration that can. The digital camera 100 can repeat the transmission of the ADV packet via the wireless communication unit 130 at a constant interval T2 (for example, 30 ms) after the camera control unit 101 starts communication using the ADV packet. Note that the digital camera 100 can set a value of 20 ms or more as T2. In addition, there is a feature that there is little variation in the time from when the digital camera 100 starts communication using an ADV packet until the first ADV packet is sent.

(4.ストロボ250の構成)
図1(b)は、本実施形態の外部装置の一例としてストロボ250(251、252)の機能構成例を示すブロック図である。なお、図1(a)と同様、異なる機能ブロックが動作主体として記載されている場合であっても、同じハードウェアが主体として実現されうる。
(4. Structure of strobe 250)
FIG. 1B is a block diagram illustrating a functional configuration example of the strobe 250 (251, 252) as an example of the external device according to the present embodiment. Similar to FIG. 1A, even when different functional blocks are described as the operation subject, the same hardware can be realized as the subject.

ストロボ制御部201は、例えばCPUあるいはMPUであり、不揮発性記憶装置205に格納されたプログラムを揮発性記憶装置204の作業エリアに展開し、実行することにより、デジタルカメラ100全体を制御する。ストロボ制御部201は、ストロボ250内の各機能ブロックと接続されており、各機能ブロックから入力された信号を基に演算を行う。ストロボ制御部201は、アクセサリシュー206からX信号を受け取るか、無線アンテナ240および無線通信部230を介してストロボ発光を指示する信号を受信すると、発光制御部202に発光指示を出してストロボを発光させる等の動作制御を行う。このとき、ストロボ制御部201は、デジタルカメラ100との通信の状況に応じて切り替えスイッチ210を制御して、第1の通信部220および第2の通信部221の切り替えを行なう。   The strobe control unit 201 is, for example, a CPU or MPU, and controls the entire digital camera 100 by developing and executing a program stored in the nonvolatile storage device 205 in the work area of the volatile storage device 204. The strobe control unit 201 is connected to each functional block in the strobe 250 and performs a calculation based on a signal input from each functional block. When the strobe control unit 201 receives an X signal from the accessory shoe 206 or receives a signal for instructing strobe light emission via the wireless antenna 240 and the wireless communication unit 230, the strobe control unit 201 issues a light emission instruction to the light emission control unit 202 to emit the strobe light. The operation control is performed. At this time, the strobe control unit 201 controls the changeover switch 210 according to the state of communication with the digital camera 100 to switch between the first communication unit 220 and the second communication unit 221.

発光制御部202は、ストロボ制御部201の指示に応じて、Xe管203の発光を制御してストロボ発光を行う回路である。   The light emission control unit 202 is a circuit that controls the light emission of the Xe tube 203 and performs strobe light emission in accordance with an instruction from the strobe control unit 201.

揮発性記憶装置204は、ストロボの電源を投入する毎に情報がリセットされる記憶装置で、例えば受信したパケットのデータやストロボ制御部201が処理に必要なデータを一時的に記憶させるための装置である。   The volatile storage device 204 is a storage device whose information is reset every time the strobe is turned on, for example, a device for temporarily storing received packet data and data necessary for processing by the strobe control unit 201. It is.

不揮発性記憶装置205は、ストロボの電源を落としても情報が保持される記憶装置であり、例えばストロボの設定値や通信相手のIDなどを記憶させるための装置である。   The nonvolatile storage device 205 is a storage device that retains information even when the power of the strobe is turned off. For example, the non-volatile storage device 205 is a device for storing a strobe setting value, a communication partner ID, and the like.

アクセサリシュー206は、デジタルカメラ100のアクセサリシュー106に接続することの可能な、複数の金属接点の集合体である。ストロボ250はアクセサリシュー106を介してデジタルカメラ100と接続することで、シリアル通信が可能となる。アクセサリシュー206は、シリアル通信のほかに、デジタルカメラ100のX信号を受け取る専用の接点を持つ。   The accessory shoe 206 is a collection of a plurality of metal contacts that can be connected to the accessory shoe 106 of the digital camera 100. The strobe 250 can be connected to the digital camera 100 via the accessory shoe 106 to enable serial communication. The accessory shoe 206 has a dedicated contact for receiving the X signal of the digital camera 100 in addition to serial communication.

電力供給部207は、ストロボ250に対して電力を供給する。電力の供給先は、図に示したようにストロボ制御部201のみに限定されず、Xe管203等の各ブロックのいずれかまたは全てに対して電力が供給される。   The power supply unit 207 supplies power to the strobe 250. The power supply destination is not limited to the strobe control unit 201 as shown in the figure, and power is supplied to any or all of the blocks such as the Xe tube 203.

無線通信部230は、無線アンテナ240を制御することでデジタルカメラ100との無線通信を行う。無線通信部230は、切り替えスイッチ210を備えており、ストロボ制御部201の指示に応じて、第1の通信部220と第2の通信部221を切り替えることができる。デジタルカメラ100と同様、第1の通信部220がCONNパケットを用いた通信モードに対応し、第2の通信部221がADVパケットを用いた通信モードに対応する。ストロボ250は、無線通信部230経由で無線アンテナ240を駆動させ、BLEによって無線通信を行う。   The wireless communication unit 230 performs wireless communication with the digital camera 100 by controlling the wireless antenna 240. The wireless communication unit 230 includes a changeover switch 210 and can switch between the first communication unit 220 and the second communication unit 221 in accordance with an instruction from the strobe control unit 201. Similar to the digital camera 100, the first communication unit 220 corresponds to a communication mode using a CONN packet, and the second communication unit 221 corresponds to a communication mode using an ADV packet. The strobe 250 drives the wireless antenna 240 via the wireless communication unit 230 and performs wireless communication by BLE.

無線アンテナ240は、所定の無線通信方式に準拠した形式で通信するためのデータを送信または受信を行うアンテナである。   The wireless antenna 240 is an antenna that transmits or receives data for communication in a format compliant with a predetermined wireless communication method.

ストロボ250は、デジタルカメラ100と同様に、ADVパケットのデータを書き換えおよび、ADVパケットによる通信の開始/停止の切替えを行うことが可能な構成をとる。図4において示したように、ストロボ250〜252は、ADVパケットによる通信を開始してから一定の間隔T2(例えば、30ms)で無線通信部230を介してパケットの送信を繰り返す。なお、ストロボ250〜252は、ADVパケットの送信間隔であるT2として20ms以上の値を設定可能である。デジタルカメラ100と接続が確立した後は、一定の間隔T1(例えば、20ms)で無線通信部230を介して、CONNパケットの送信を繰り返す。   As with the digital camera 100, the strobe 250 has a configuration capable of rewriting ADV packet data and switching communication start / stop using the ADV packet. As shown in FIG. 4, the strobes 250 to 252 repeat transmission of packets via the wireless communication unit 230 at a constant interval T2 (for example, 30 ms) after starting communication using ADV packets. Note that the strobes 250 to 252 can set a value of 20 ms or more as T2 which is an ADV packet transmission interval. After the connection with the digital camera 100 is established, transmission of the CONN packet is repeated via the wireless communication unit 230 at a constant interval T1 (for example, 20 ms).

(5−1.システムの一連の動作−接続確立までの流れ)
次に、本実施形態におけるシステムの一連の動作について説明する。まず、システムの一連の動作のうち、デジタルカメラ100およびストロボ250〜252が接続を確立までの一連の動作を、図5を参照して説明する。なお、図5(a)はデジタルカメラ100における一連の動作を、図5(b)はストロボ250における一連の動作を示している。図5(a)に示す処理は、デジタルカメラ100がBLEによるペアリングが完了し、マスター装置として動作可能な状態で、デジタルカメラ100の電源がオンとなった場合に本処理が開始される。本処理は、カメラ制御部101が不揮発性記憶装置105に記憶されたプログラムを揮発性記憶装置104の作業用領域に展開し、実行することにより実現される。また、図5(b)に示す処理は、ストロボ250がBLEによるペアリングが完了し、スレーブ装置として動作可能な状態で不図示の電源スイッチがオンになった場合に本処理が開始される。また、本処理は、ストロボ制御部201が不揮発性記憶装置205に記憶されたプログラムを揮発性記憶装置204の作業用領域に展開し、実行することにより実現される。なお、ストロボ250〜252は別個にそれぞれ別個に動作してデジタルカメラ100との接続を確立するが、処理内容は同一であるため以下の説明ではストロボ250についてのみ説明を行う。
(5-1. A series of operations of the system-flow until connection establishment)
Next, a series of operations of the system in this embodiment will be described. First, of a series of operations of the system, a series of operations until the digital camera 100 and the flash units 250 to 252 establish a connection will be described with reference to FIG. 5A shows a series of operations in the digital camera 100, and FIG. 5B shows a series of operations in the strobe 250. The processing shown in FIG. 5A is started when the digital camera 100 is turned on while the pairing by BLE is completed and the digital camera 100 can operate as a master device. This process is realized by the camera control unit 101 expanding and executing a program stored in the nonvolatile storage device 105 in the work area of the volatile storage device 104. Also, the processing shown in FIG. 5B is started when the power supply switch (not shown) is turned on in a state where the strobe 250 has completed pairing by BLE and can operate as a slave device. Further, this processing is realized by the strobe control unit 201 expanding and executing a program stored in the nonvolatile storage device 205 in the work area of the volatile storage device 204. The strobes 250 to 252 operate separately and establish a connection with the digital camera 100. However, since the processing contents are the same, only the strobe 250 will be described below.

まず図5(b)に示すS511においてストロボ制御部201は、ADVパケットの送信を開始する。ストロボ制御部201は、切り替えスイッチ210および第1の通信部220を制御して、生存確認を行うためADVパケットを例えば30ms毎に定期的に送信させる。ADVパケットは、無線アンテナ240を介してブロードキャスト送信される。   First, in step S511 illustrated in FIG. 5B, the strobe control unit 201 starts transmission of an ADV packet. The strobe control unit 201 controls the changeover switch 210 and the first communication unit 220 to periodically transmit an ADV packet, for example, every 30 ms in order to confirm the existence. The ADV packet is broadcasted via the wireless antenna 240.

S512においてストロボ制御部201は、無線通信部230を介してデジタルカメラ100から接続要求パケットを受信したかを判定する。ストロボ制御部201は、接続要求パケットを受信したと判定したときは処理をS513に進め、当該パケットを受信していないと判定した場合は再び処理をS512に戻して当該パケットの受信を待つ。   In step S <b> 512, the flash control unit 201 determines whether a connection request packet has been received from the digital camera 100 via the wireless communication unit 230. When it is determined that the connection request packet has been received, the flash control unit 201 advances the process to S513, and when it is determined that the packet has not been received, the process returns to S512 and waits for reception of the packet.

S513においてストロボ制御部201は、デジタルカメラ100からの接続要求に応じて、デジタルカメラ100との接続を行う。この接続によりデジタルカメラ100とのCONNパケットを用いた双方向通信が確立されると、ストロボ制御部201は、本処理の一連の動作を完了させる。   In step S <b> 513, the flash control unit 201 connects to the digital camera 100 in response to a connection request from the digital camera 100. When the two-way communication using the CONN packet with the digital camera 100 is established by this connection, the strobe control unit 201 completes a series of operations of this processing.

次に、図5(a)に示すS501においてカメラ制御部101は、無線通信部130をADVパケットの受信待ち状態にする。   Next, in S501 shown in FIG. 5A, the camera control unit 101 puts the wireless communication unit 130 into an ADV packet reception waiting state.

S502においてカメラ制御部101は、無線通信部130からの通知に基づいてストロボ250からADVパケットを受信したかを判定する。カメラ制御部101は、ADVパケットを受信したと判定した場合は、ストロボ250との接続を確立するために処理をS503に進める。一方、ADVパケットを受信していないと判定した場合は、再び処理をS502に戻して当該パケットの受信を待つ。   In step S <b> 502, the camera control unit 101 determines whether an ADV packet has been received from the strobe 250 based on the notification from the wireless communication unit 130. If the camera control unit 101 determines that the ADV packet has been received, the camera control unit 101 advances the process to step S503 in order to establish a connection with the strobe 250. On the other hand, if it is determined that the ADV packet has not been received, the process returns to S502 and waits for reception of the packet.

S503においてカメラ制御部101は、無線通信部130を介してストロボ250に対して接続要求パケットを送信する。S513において上述したように、ストロボ250が接続要求パケットを受信することで、S504において接続が確立する。   In step S <b> 503, the camera control unit 101 transmits a connection request packet to the flash 250 via the wireless communication unit 130. As described above in S513, when the strobe 250 receives the connection request packet, a connection is established in S504.

S505においてカメラ制御部101は、他の接続可能な全てのストロボと接続を完了したかを判定する。カメラ制御部101は、全てのストロボに接続要求パケットを送信している場合には全てのストロボと接続を完了したと判定して、S507に処理を進める。このとき、デジタルカメラ100は、接続相手の識別IDを不揮発性記憶装置105に記憶させ、再びストロボと接続をする際、接続相手の発見に要する時間を短縮させるようにしてもよい。識別IDを不揮発性記憶装置105に記憶すれば、デジタルカメラ100の電源をオフにした後であっても接続相手のIDを利用できる。一方、全てのストロボと接続を完了していないと判定した場合は、S506において、CONNパケットによる送受信を行わない期間はADVパケットの受信状態になるように制御して、残りのストロボとの接続を確立する。   In step S505, the camera control unit 101 determines whether the connection with all other strobes that can be connected is completed. If the connection request packet has been transmitted to all the strobes, the camera control unit 101 determines that all the strobes have been connected, and advances the process to S507. At this time, the digital camera 100 may store the identification ID of the connection partner in the nonvolatile storage device 105 and reduce the time required to find the connection partner when connecting to the strobe again. If the identification ID is stored in the nonvolatile storage device 105, the ID of the connection partner can be used even after the digital camera 100 is turned off. On the other hand, if it is determined that the connection with all the strobes has not been completed, in step S506, control is performed so that the ADV packet is received during a period during which no transmission / reception with the CONN packet is performed, and connection with the remaining strobes is performed. Establish.

S507においてカメラ制御部101は、全てのストロボと接続が完了するとADVパケットの受信状態を解除し、本処理の一連の動作を完了する。   In step S507, the camera control unit 101 cancels the reception state of the ADV packet when connection with all the strobes is completed, and completes a series of operations of this processing.

(5−2.システムの一連の動作−ストロボ発光までの流れ)
次に、本実施形態におけるシステムの一連の動作について、ストロボ発光がなされるまでの一連の動作について、図6および図7を参照して説明する。なお、図6はデジタルカメラ100における一連の動作を、図7はストロボ250における一連の動作を示している。なお、図6に示すデジタルカメラ100の処理は、デジタルカメラ100がストロボ250〜252との接続を完了した場合に本処理が開始される。
(5-2. System Operation-Flow to Strobe Flash)
Next, with respect to a series of operations of the system in the present embodiment, a series of operations until strobe light emission is performed will be described with reference to FIGS. 6 and 7. 6 shows a series of operations in the digital camera 100, and FIG. 7 shows a series of operations in the strobe 250. Note that the processing of the digital camera 100 shown in FIG. 6 is started when the digital camera 100 completes connection with the strobes 250 to 252.

S601においてカメラ制御部101は、無線通信部130を介してCONNパケットにより間隔T1の周期でデータを受信し、当該CONNパケットによってストロボ250〜252の充電完了などの情報を受信する。このとき、カメラ制御部101は、ストロボから充電完了などの情報を受け取ったことをストロボ250に通知するようにしても良い。こうすることで、ストロボ250は、充電完了などの情報を再送する必要がなくなる利点がある。これは、CONNパケットを用いた通信が双方向通信に対応していることによるものである。カメラ制御部101は、T1の間隔を長くとるように制御すると省電力となるが、その分時間あたりの通信量は減る。なお、カメラ制御部101は、全ストロボから充電完了の情報を受け取った段階でストロボ発光制御のためのパケットを送信するよう制御するものとする。   In step S <b> 601, the camera control unit 101 receives data with a period of an interval T <b> 1 by a CONN packet via the wireless communication unit 130, and receives information such as completion of charging of the strobes 250 to 252 by the CONN packet. At this time, the camera control unit 101 may notify the strobe 250 that information such as charging completion has been received from the strobe. By doing so, the strobe 250 has an advantage that it is not necessary to retransmit information such as completion of charging. This is because communication using a CONN packet is compatible with bidirectional communication. The camera control unit 101 saves power by controlling the interval of T1 to be long, but the amount of communication per hour is reduced accordingly. It is assumed that the camera control unit 101 performs control so that a packet for controlling the flash emission is transmitted at the stage when the information on the completion of charging is received from all the flashes.

S602においてカメラ制御部101は、SW1 107がオンになったかを判定する。SW1 107がオンになっていると判定したときは、処理をS603に進め、SW1 107がオンになっていないと判定したときは、処理を再びS601に戻す。   In step S602, the camera control unit 101 determines whether the SW1 107 is turned on. If it is determined that SW1 107 is on, the process proceeds to S603, and if it is determined that SW1 107 is not on, the process returns to S601 again.

S603においてカメラ制御部101は、SW1 107がオンになった場合、ストロボ250〜252に対してCONNパケットを送信して、CONNパケットを送信する間隔T1を例えば7.5msに短く変更することを通知する。このようにすることで、デジタルカメラ100のSW2 108が押されたときに、ストロボに対してSW2 108が押されたことを素早く通知することができるようになる。なお、このCONNパケットの送信は、ストロボ250に対してSW1 107が押下されたことの通知となる。   In step S <b> 603, when the SW <b> 1 107 is turned on, the camera control unit 101 transmits a CONN packet to the flash units 250 to 252, and notifies that the interval T <b> 1 for transmitting the CONN packet is shortened to, for example, 7.5 ms. To do. In this way, when the SW2 108 of the digital camera 100 is pressed, it is possible to quickly notify the strobe that the SW2 108 has been pressed. The transmission of the CONN packet is a notification that the SW 1 107 has been pressed to the strobe 250.

S604においてカメラ制御部101は、SW2 108が押下されたかを判定し、SW2 108が押下されたと判定したときは処理をS605に進め、一方SW2 108が押下されていないと判定したときは再び処理をS604に戻して待機する。   In step S604, the camera control unit 101 determines whether the SW2 108 has been pressed. If it is determined that the SW2 108 has been pressed, the process proceeds to step S605. If it is determined that the SW2 108 has not been pressed, the process is performed again. Return to S604 and wait.

S605においてカメラ制御部101は、デジタルカメラ100とストロボ250〜252との接続を切断するためのパケットを送信する。このように切断処理を行う理由を以下に説明する。カメラ制御部101は、SW2 108が押されたと判定すると、ストロボ250〜252に対して発光データを送信する必要がある。しかし、上述のようにCONNパケットを用いた通信では、パケットを送信するタイミングに7.5msのバラツキが生じてしまう。これは、ストロボの発光タイミングがデジタルカメラ100のシャッタータイミングと最大で7.5msずれてしまうことを意味する。そのうえ、CONNパケットはブロードキャスト送信に対応していないため、カメラ制御部101は、各ストロボに順番に発光データを送信する必要がある。この制約は、ストロボの制御を短時間で終わらせるためには不都合である。一方、ADVパケットは、カメラ制御部101が送信開始を指示した直後から間隔T2で送られるが、カメラ制御部101が送信開始を指示したタイミングから初めのADVパケットが送信されるまでのタイミングは、殆どバラつかない。そして、ADVパケットはブロードキャスト送信をすることができる。そこで、本実施形態では、本来は接続相手の生存確認のために用いるADVパケットを、ストロボの発光量や発光タイミングを制御するために用いる。このため、カメラ制御部101は、CONNパケットを送信してストロボ250と確立した通信を切断する。   In step S <b> 605, the camera control unit 101 transmits a packet for disconnecting the connection between the digital camera 100 and the flash units 250 to 252. The reason for performing the cutting process in this way will be described below. When the camera control unit 101 determines that the SW2 108 has been pressed, it needs to transmit light emission data to the flash units 250 to 252. However, in communication using a CONN packet as described above, there is a variation of 7.5 ms in packet transmission timing. This means that the light emission timing of the strobe deviates from the shutter timing of the digital camera 100 by a maximum of 7.5 ms. In addition, since the CONN packet does not support broadcast transmission, the camera control unit 101 needs to transmit light emission data to each strobe in order. This restriction is inconvenient for finishing the strobe control in a short time. On the other hand, the ADV packet is sent at an interval T2 immediately after the camera control unit 101 instructs transmission start. The timing from when the camera control unit 101 instructs transmission start until the first ADV packet is transmitted is Almost no variation. The ADV packet can be broadcast. Therefore, in the present embodiment, the ADV packet that is originally used for checking the existence of the connection partner is used for controlling the light emission amount and the light emission timing of the strobe. For this reason, the camera control unit 101 transmits a CONN packet to disconnect the communication established with the strobe 250.

本来は、接続後にネットワークのマスター装置となるデジタルカメラ100がADVパケットを受信する状態になるものである。しかし、本実施形態ではストロボの発光データを所定のタイミングで一斉送信するために、デジタルカメラ100がADVパケットを送信し、ストロボがADVパケットの受信するようにしている。このようにすることで、ストロボ発光等以外の同期が必要とならない通常の通信では、間欠動作による低消費電力の通信方式のメリットを活かしつつ、ストロボ発光等の同期が必要な場合に動作タイミングのバラツキを抑えることができる。   Originally, after connection, the digital camera 100 that is the master device of the network is in a state of receiving an ADV packet. However, in this embodiment, the digital camera 100 transmits an ADV packet and the strobe receives the ADV packet in order to transmit the flash emission data at a predetermined timing. In this way, in normal communication that does not require synchronization other than flash emission, etc., the timing of operation can be adjusted when synchronization such as flash emission is required while taking advantage of the communication method with low power consumption by intermittent operation. Variations can be suppressed.

S606においてカメラ制御部101は、接続切断パケットを送信した直後に、ADVパケットに後述する送信先IDを設定する。カメラ制御部101は、ストロボ250との接続を切断せずにADVパケットを送信可能であるが、ストロボ250の消費電力が増加してしまううえ、CONNパケットとADVパケットの通信のタイミングが重なる場合に干渉を起こすことが想定される。このため、本実施形態では一旦デジタルカメラ100とストロボ250の接続を切断してからADVパケットによる通信に切り替えている。   In step S606, the camera control unit 101 sets a destination ID (to be described later) in the ADV packet immediately after transmitting the connection disconnection packet. The camera control unit 101 can transmit an ADV packet without disconnecting the connection with the strobe 250, but the power consumption of the strobe 250 increases and the timing of communication between the CONN packet and the ADV packet overlaps. It is assumed that interference will occur. For this reason, in this embodiment, the connection between the digital camera 100 and the strobe 250 is once disconnected and then the communication is switched to ADV packet communication.

S607においてカメラ制御部101は、さらにADVパケットに後述するストロボの発光量を設定する。図8(a)を参照して、カメラ制御部101が設定するADVパケットの例を説明する。図8(a)に示すADVパケット800および801は、カメラ制御部101がストロボを発光させるためにストロボ250〜252に対して送信するADVパケットのフォーマットを表している。ADVパケット800はストロボ250等に対して発光タイミングを通知するコマンドであり、ADVパケット801はストロボ250等に対して発光量を通知するためのコマンドである。コマンド802は、ADVパケット800およびADVパケット801を区別するための情報である。また、発光タイミング804および発光量805には、デジタルカメラ100からストロボを適切に制御するための情報を設定する。送信先ID806は、送信先となる各ストロボを識別するIDである。この識別するためのIDを有することで、パケットを送信するストロボを指定し、ストロボ毎に別々の制御を行うことができる。このとき、ストロボ側では、例えばブロードキャストにより送信されたADVパケットのコマンド802が想定外のコマンドであるか、送信先ID806が自装置のIDと一致していない場合は無視できる。このようにすることで、ストロボは、システムに存在しない他のデバイスが生存確認のために送っているADVパケットとデジタルカメラ100からきた発光データとの区別ができる。カメラ制御部101は、ストロボの発光量をストロボごとに異ならせておく方が被写体に適切に露光させることができるため、ストロボごとに発光量805を設定し、対応する送信先IDを設定する。   In step S <b> 607, the camera control unit 101 further sets a later-described flash emission amount in the ADV packet. An example of the ADV packet set by the camera control unit 101 will be described with reference to FIG. ADV packets 800 and 801 shown in FIG. 8A represent the format of an ADV packet that the camera control unit 101 transmits to the strobes 250 to 252 in order to cause the strobe to emit light. The ADV packet 800 is a command for notifying the strobe 250 or the like of the light emission timing, and the ADV packet 801 is a command for notifying the strobe 250 or the like of the light emission amount. The command 802 is information for distinguishing between the ADV packet 800 and the ADV packet 801. Information for appropriately controlling the strobe from the digital camera 100 is set in the light emission timing 804 and the light emission amount 805. A transmission destination ID 806 is an ID for identifying each strobe as a transmission destination. By having this ID for identification, it is possible to designate a strobe to transmit a packet and perform separate control for each strobe. At this time, on the strobe side, for example, if the command 802 of the ADV packet transmitted by broadcast is an unexpected command or the transmission destination ID 806 does not match the ID of its own device, it can be ignored. By doing so, the strobe can distinguish between the ADV packet sent by another device not present in the system for the survival confirmation and the light emission data from the digital camera 100. The camera control unit 101 sets the light emission amount 805 for each strobe and sets the corresponding transmission destination ID, since the subject can be exposed appropriately if the light emission amount of the strobe is different for each strobe.

S608においてADVパケットを送信する。このようにすることで、デジタルカメラ100は、SW2 108が押下されてから所定のタイミングで発光量に関するデータをストロボに送信することができる。   In step S608, the ADV packet is transmitted. In this way, the digital camera 100 can transmit data relating to the light emission amount to the strobe at a predetermined timing after the SW2 108 is pressed.

S609においてカメラ制御部101は、図8(b)において後述するように、ADVパケットの送信を短時間で繰り返すため、ADVパケットの送信を停止させる。   In S609, the camera control unit 101 stops the transmission of the ADV packet in order to repeat the transmission of the ADV packet in a short time, as will be described later with reference to FIG. 8B.

S610においてカメラ制御部101は、ADVパケットを全ストロボに送信したかを判定する。全ストロボにADVパケットを送信していない場合、S611に処理を進めて新たなストロボの送信先IDを更新し、再びS607に処理を戻す。即ちストロボごとに発光量を別々に送信する処理を繰り返す。一方、全ストロボにADVパケットを送信した場合、各ストロボに発光タイミングを送信する処理を実行するため、S612に処理を進める。   In step S610, the camera control unit 101 determines whether the ADV packet has been transmitted to all the strobes. If the ADV packet has not been transmitted to all the strobes, the process proceeds to S611 to update the transmission destination ID of the new strobe, and the process returns to S607 again. That is, the process of separately transmitting the light emission amount for each strobe is repeated. On the other hand, when the ADV packet is transmitted to all the strobes, the process proceeds to S612 in order to execute the process of transmitting the light emission timing to each strobe.

なお、S605、S610、S611によるストロボごとに異なる発光量を設定する処理は必須ではなく、全ストロボに同一の発光量を一斉送信しても良い。データを一斉送信するためには、送信先ID806を、どのストロボでも受信できる値に設定しておけばよい。例えば、送信先ID806に0xFFを設定し、ストロボ側が当該送信先IDのパケットを受信して処理できるように設定すれば、ブロードキャストにより一斉配信された当該パケットを各ストロボが受信して、発光量を設定することができる。また、送信先ID806に所定のグループに割り当てたIDを設定してもよい。このようにすれば、特定の複数のストロボに送信できる。   Note that the process of setting a different light emission amount for each strobe in S605, S610, and S611 is not essential, and the same light emission amount may be simultaneously transmitted to all the strobes. In order to transmit data simultaneously, the transmission destination ID 806 may be set to a value that can be received by any strobe. For example, if the transmission destination ID 806 is set to 0xFF, and the strobe side is set to receive and process the packet of the transmission destination ID, each strobe receives the packet distributed simultaneously by broadcast, and the light emission amount is set. Can be set. Further, an ID assigned to a predetermined group may be set as the transmission destination ID 806. In this way, transmission to a specific plurality of strobes is possible.

次に、S612からS614においてカメラ制御部101は、プリ発光あるいは本発光に用いる発光タイミングをADVパケットにより送信する処理を行う。全ストロボをデジタルカメラ100のシャッター動作に同期させて発光させるため、発光タイミングを設定したADVパケットをブロードキャストで全ストロボに一斉送信する。なお、本実施形態ではプリ発光を行う場合も発光タイミングを設定したADVパケットを一斉送信するようにしているが、ストロボごとにプリ発光のタイミングを変更してもよい。この場合は、上述の発光量を送信する処理のように各ストロボに対してADVパケットを送信するようにすればよい。このようにすることで、ユニキャスト(単一送信ともいう)によるCONNパケットを用いて通信する場合に比べて、ストロボの発光タイミングのバラツキが小さくなる。また、デジタルカメラ100は、ストロボの発光タイミングを、ADVパケットを用いてブロードキャスト送信するため、ストロボの発光を一括制御することができる。   Next, in steps S612 to S614, the camera control unit 101 performs processing for transmitting the light emission timing used for the pre-light emission or the main light emission using an ADV packet. In order to cause all the strobes to emit light in synchronization with the shutter operation of the digital camera 100, an ADV packet in which the light emission timing is set is broadcast to all the strobes. In the present embodiment, ADV packets in which the light emission timing is set are simultaneously transmitted even when pre-light emission is performed, but the pre-light emission timing may be changed for each strobe. In this case, an ADV packet may be transmitted to each strobe as in the process of transmitting the light emission amount described above. By doing so, the variation in the light emission timing of the strobe is reduced as compared with the case where communication is performed using a unicast (also referred to as single transmission) CONN packet. In addition, since the digital camera 100 broadcasts the flash emission timing using ADV packets, it is possible to collectively control the flash emission.

S612においてカメラ制御部101は、ADVパケットのデータ部に発光タイミングを設定する。発光タイミングは、ストロボを発光させるタイミングを例えばADVパケットの受信後の指定時間(us)により指定する。   In S612, the camera control unit 101 sets the light emission timing in the data part of the ADV packet. For the light emission timing, the timing at which the strobe light is emitted is specified by a specified time (us) after receiving the ADV packet, for example.

S613においてカメラ制御部101は、発光タイミングを設定したADVパケットをブロードキャスト送信し、S614においてADVパケットの送信を停止する。   In step S613, the camera control unit 101 broadcasts an ADV packet in which the light emission timing is set. In step S614, the camera control unit 101 stops transmission of the ADV packet.

S615においてカメラ制御部101は、各ストロボに対する発光量および発光タイミングの送信を、それぞれプリ発光と本発光について繰り返す。   In step S615, the camera control unit 101 repeats transmission of the light emission amount and the light emission timing for each strobe for the pre-light emission and the main light emission, respectively.

本発光が終了すると、デジタルカメラとストロボは通常のCONNパケットを用いた通信を行うため、再び以下のS616からS619までの処理を行ってストロボとの接続を確立する。   When the main flash is finished, the digital camera and the strobe perform communication using a normal CONN packet. Therefore, the following processes from S616 to S619 are performed again to establish a connection with the strobe.

S616においてカメラ制御部101は、ADVパケットを受信できる状態に遷移する。そして、S617においてカメラ制御部101は、ストロボからのADVパケットを受信したかを判定し、当該パケットを受信した場合はS618において接続要求パケットを送信する。S619においてカメラ制御部101は、ストロボと再び接続が確立させると、本処理に係る一連の動作を終了する。   In step S616, the camera control unit 101 makes a transition to a state in which an ADV packet can be received. In step S617, the camera control unit 101 determines whether an ADV packet from the strobe is received. If the packet is received, the camera control unit 101 transmits a connection request packet in step S618. In step S619, when the camera control unit 101 establishes a connection with the strobe again, the camera control unit 101 ends the series of operations related to this processing.

本処理に係る一連の動作を終了すると、デジタルカメラ100とストロボは、再び元のシーケンスに戻る。接続状態に戻ることで、デジタルカメラ100とストロボは、再び充電完了情報などの情報を、CONNパケットを用いて双方向にやり取りすることができる。S616以降の再接続の処理において、カメラ制御部101は、予め記憶しておいた、SW2 108が押される前に接続していたストロボの識別IDと、再接続の処理において受信するADVパケットの識別IDを比較するようにしてもよい。このようにすることで、カメラ制御部101は、受信したADVパケットが再接続を行うストロボから受信したものか、他の装置から受信したものなのかを区別することが可能になる。   When a series of operations related to this processing is completed, the digital camera 100 and the strobe return to the original sequence again. By returning to the connected state, the digital camera 100 and the strobe can exchange information such as charging completion information in both directions again using the CONN packet. In the reconnection process after S616, the camera control unit 101 stores the identification ID of the strobe connected before the SW2 108 is pressed and the identification of the ADV packet received in the reconnection process. You may make it compare ID. In this way, the camera control unit 101 can distinguish whether the received ADV packet is received from a strobe to be reconnected or received from another device.

次に、本実施形態に係るストロボ250における一連の動作を、図7を参照して説明する。   Next, a series of operations in the strobe 250 according to the present embodiment will be described with reference to FIG.

S701においてストロボ制御部201は、無線通信部230を介して、規格で規定されているCONNパケットの通信間隔であるT1周期でデータを送信して、ストロボ250の充電完了などの情報を送信する。このとき、ストロボ制御部201は、デジタルカメラ100から、ストロボ250から充電完了などの情報を受け取ったことを通知する情報をさらに受信しても良い。   In step S <b> 701, the strobe control unit 201 transmits data through the wireless communication unit 230 at a T <b> 1 cycle that is a communication interval of a CONN packet defined in the standard, and transmits information such as charging completion of the strobe 250. At this time, the flash control unit 201 may further receive information notifying that the digital camera 100 has received information such as completion of charging from the flash 250.

S702においてストロボ制御部201は、デジタルカメラ100のSW1 107がオンになったことを通知するパケットを受信したかを判定する。当該パケットは、CONNパケットの間隔T1を例えば7.5ms短く変更することを通知するパケットである。ストロボ制御部201は、当該パケットを受信したと判定したときは、処理をS703に進め、当該パケットを受信していないと判定したときは処理をS701に戻す。   In step S <b> 702, the flash control unit 201 determines whether a packet notifying that the SW <b> 1 107 of the digital camera 100 has been turned on has been received. The packet is a packet for notifying that the CONN packet interval T1 is to be changed by, for example, 7.5 ms. When it is determined that the packet has been received, the flash control unit 201 advances the process to S703, and when it is determined that the packet has not been received, the process returns to S701.

S703においてストロボ制御部201は、CONNパケットの間隔T1を短く変更する。このとき、ストロボ制御部201はSW1 107がオンになったことを通知するパケットを受信したことについてデジタルカメラ100にACKを送信してもよい。   In step S <b> 703, the strobe control unit 201 changes the CONN packet interval T <b> 1 to be shorter. At this time, the strobe control unit 201 may transmit an ACK to the digital camera 100 regarding the reception of a packet notifying that the SW1 107 is turned on.

S704においてストロボ制御部201は、デジタルカメラ100とストロボ250の接続を切断するためのパケット(即ちSW2 108の押下を通知するパケット)を受信したかを判定し、受信したと判定した場合はS705において接続を切断する。   In step S704, the strobe control unit 201 determines whether a packet for disconnecting the connection between the digital camera 100 and the strobe 250 (that is, a packet notifying that the SW2 108 has been pressed) has been received. Disconnect the connection.

S706においてストロボ制御部201は、接続を切断後に直ちにCONNパケットの受信状態を状態遷移させてADVパケットを受信できる状態に切り替える。そして、S707においてストロボ制御部201は、発光タイミングを設定するADVパケットを受信したかを判定し、当該パケットを受信している場合はS708に処理を進める。一方、ADVパケットを受信していない場合は再びS707に戻してADVパケットの受信を待つ。   In step S <b> 706, the strobe control unit 201 switches the reception state of the CONN packet to a state in which an ADV packet can be received immediately after disconnection. In step S707, the flash control unit 201 determines whether an ADV packet for setting the light emission timing has been received. If the packet has been received, the process proceeds to step S708. On the other hand, if the ADV packet has not been received, the process returns to S707 again to wait for the reception of the ADV packet.

S708においてストロボ制御部201は、受信したADVパケットの発光量805から指定された発光量の情報を取得して、発光を行うための内部的な設定値として設定する。ストロボ制御部201は、当該発光量の情報を不揮発性記憶装置205に記憶する。   In step S <b> 708, the strobe control unit 201 acquires information on the designated light emission amount from the light emission amount 805 of the received ADV packet and sets it as an internal setting value for performing light emission. The strobe control unit 201 stores information on the light emission amount in the nonvolatile storage device 205.

S709においてストロボ制御部201は、次の発光タイミングを設定するADVパケットを受信したかを判定し、当該ADVパケットを受信している場合はS710に処理を進める。一方、当該ADVパケットを受信していない場合は再びS709に戻してADVパケットの受信を待つ。   In step S709, the flash controller 201 determines whether an ADV packet for setting the next light emission timing has been received. If the ADV packet has been received, the process proceeds to step S710. On the other hand, if the ADV packet has not been received, the process returns to S709 again to wait for the reception of the ADV packet.

S710においてストロボ制御部201は、受信したADVパケットの発光タイミング804から指定された発光タイミングの情報を取得して、発光を行うための内部的な設定値として設定する。ストロボ制御部201は、当該ADVパケットを受信したときから発光タイミングで指定された時間分の経過をモニタする。   In step S <b> 710, the strobe control unit 201 acquires information on the designated light emission timing from the light emission timing 804 of the received ADV packet and sets it as an internal setting value for performing light emission. The strobe control unit 201 monitors the passage of the time specified by the light emission timing from the time when the ADV packet is received.

S711においてストロボ制御部201は、設定した発光タイミングになったタイミングで、設定されていた発光量に基づいて発光を行う。そして、S712において本発光を行ったかを判定する。本発光を行ったかの判定は、例えば本実施形態では予めプリ発光と本発光を行うことを前提としているため、予め定められた所定の時間内に2度の発光を行ったかを判定することにより行う。ストロボ制御部201は、本発光を行ったと判定した場合はS713に処理を進め、本発光が完了していないと判定した場合にはS707に処理を戻して再び発光のためのADVパケットの受信を行う。   In step S <b> 711, the flash control unit 201 performs light emission based on the set light emission amount at the timing when the set light emission timing is reached. In step S712, it is determined whether the main light emission has been performed. The determination of whether or not the main light emission has been performed is based on the premise that the pre-light emission and the main light emission are performed in advance in the present embodiment, for example. Therefore, it is determined by determining whether or not the light emission has been performed twice within a predetermined time. . When it is determined that the main flash has been performed, the flash control unit 201 proceeds to S713. When it is determined that the main flash has not been completed, the process returns to S707 to receive the ADV packet for the flash again. Do.

S713においてストロボ制御部201は、デジタルカメラ100とのCONNパケットによる通信を行うため、ADVパケットを送信して存在通知を行い、その後S714においてデジタルカメラ100から接続要求を受信したかを判定する。デジタルカメラ100から接続要求を受信していないと判定した場合はS713に処理を戻し、当該接続要求を受信したと判定した場合はCONNパケットによる通信を確立して、本処理に係る一連の動作を完了する。   In step S <b> 713, the flash control unit 201 transmits an ADV packet to perform presence notification in order to perform communication with the digital camera 100 using a CONN packet, and then determines whether a connection request is received from the digital camera 100 in step S <b> 714. If it is determined that a connection request has not been received from the digital camera 100, the process returns to S713. If it is determined that the connection request has been received, communication using a CONN packet is established, and a series of operations related to this process are performed. Complete.

(5−3.システムの一連の動作−ADVパケットの送信制御処理)
次に、本実施形態におけるシステムの一連の動作のうち、デジタルカメラ100が実行するADVパケットの送信制御処理について、図8(b)を参照して説明する。本実施形態におけるADVパケットの送信制御処理は、上述のBLEのように通信間隔の制約がある場合に、通信タイミングのバラツキを低減するものである。
(5-3. System Operation-ADV Packet Transmission Control Process)
Next, the ADV packet transmission control processing executed by the digital camera 100 in a series of operations of the system according to the present embodiment will be described with reference to FIG. The ADV packet transmission control process according to the present embodiment reduces the variation in communication timing when there is a communication interval restriction as in the above-described BLE.

上述のように、デジタルカメラ100はADVパケットを送信する間隔T2を20ms以上設けなければならない制約がある。このため、SW2 108が押下されてからストロボを光らせるために必要なデータを送信するにあたって、大きなタイムラグが生じてしまう。   As described above, the digital camera 100 has a restriction that an interval T2 for transmitting ADV packets must be set to 20 ms or more. For this reason, a large time lag occurs when transmitting data necessary for flashing the strobe after the SW2 108 is pressed.

そこで、図8(b)に示すように、カメラ制御部101は、ADVパケットによる通信の開始/停止を短い間隔(例えば、1ms間隔)で繰り返すことで、短い時間間隔で複数回の発光データを送信可能になる。デジタルカメラ100は、ADVパケットによりデータを短時間に複数回送信することで、通信タイミングのバラツキを低減することができるほか、ストロボにデータが届く確率を高めることができ、通信の信頼性を向上させることができる。このため、図6において説明したデジタルカメラ100の一連の動作において、発光タイミングを複数回送信するようにしてもよい。具体的には、S614においてADVパケットの送信を停止すると、カメラ制御部101は、ADVパケットの送信を繰り返すか判定する。送信したADVパケットの数が、予め定められたADVパケットの送信数に達していない場合には、S613に処理を戻してADVパケットの送信を開始させるようにすればよい。送信したADVパケットの数が予め定められたADVパケットの送信数に達した場合には、処理をS615に進めて本発光が完了したかを判定すればよい。ADVパケットを複数回送信する場合、ADVパケットに設定する発光タイミング804には、その都度発光までの時間の値を減算した値を設定する。このようにすれば、発光タイミングを設定したADVパケットを送信するタイミングが異なっても、所定のタイミングでストロボを発光させることができる。   Therefore, as shown in FIG. 8B, the camera control unit 101 repeats the start / stop of communication by the ADV packet at a short interval (for example, 1 ms interval), so that a plurality of light emission data can be obtained at a short time interval. It becomes possible to send. The digital camera 100 can reduce the variation in communication timing by transmitting data several times in a short time using ADV packets, and can increase the probability that data will reach the strobe, improving the reliability of communication. Can be made. Therefore, the light emission timing may be transmitted a plurality of times in the series of operations of the digital camera 100 described in FIG. Specifically, when the transmission of the ADV packet is stopped in S614, the camera control unit 101 determines whether to repeat the transmission of the ADV packet. If the number of transmitted ADV packets has not reached the predetermined number of transmitted ADV packets, the process may be returned to S613 to start transmitting ADV packets. When the number of transmitted ADV packets reaches the predetermined number of transmitted ADV packets, the process proceeds to S615 to determine whether the main light emission is completed. When the ADV packet is transmitted a plurality of times, a value obtained by subtracting the value of the time until light emission is set for the light emission timing 804 set in the ADV packet each time. In this way, even if the timing for transmitting the ADV packet in which the light emission timing is set is different, the strobe light can be emitted at a predetermined timing.

(5−4.パケット通信における遅延測定と発光タイミングの調整処理)
上述したパケットの送受信処理において、よりストロボの発光タイミングの精度を向上し得る処理について説明する。通信タイミングのバラツキが小さいADVパケットを用いて各ストロボへデータを送信するとしても、ADVパケットを無線で送信することによる遅延時間(例えば、600us)が発生することが想定される。そこで、デジタルカメラ100もしくはストロボは、予め実験的に得られた遅延時間を固定値として不揮発性記憶装置105等に記憶させておき、遅延時間を考慮して当該遅延時間を相殺するような発光タイミングを算出してもよい。
(5-4. Delay measurement and light emission timing adjustment processing in packet communication)
In the packet transmission / reception process described above, a process that can further improve the accuracy of the flash emission timing will be described. Even if data is transmitted to each strobe using an ADV packet with small variations in communication timing, a delay time (for example, 600 us) due to wireless transmission of the ADV packet is assumed to occur. Therefore, the digital camera 100 or the strobe causes the delay time obtained experimentally in advance to be stored in the nonvolatile storage device 105 or the like as a fixed value, and the light emission timing cancels the delay time in consideration of the delay time. May be calculated.

しかし、上述の遅延時間は、デジタルカメラ100やストロボ250のファームウェアの相違、無線チップの種類、温度その他環境によって変化し得るため、設定した固定値と一致しない場合があることが想定される。このため、本実施形態では、遅延時間を考慮するにあたって、動的に遅延時間を測定して得られた遅延時間を用いるようにしてもよい。   However, the delay time described above may vary depending on the firmware of the digital camera 100 or the strobe 250, the type of wireless chip, the temperature, and other environments, so it is assumed that the delay time may not match the set fixed value. For this reason, in this embodiment, when considering the delay time, the delay time obtained by dynamically measuring the delay time may be used.

動的な遅延時間の測定について、図9を参照して、デジタルカメラ100とストロボ250の処理の流れを説明する。   With respect to the measurement of the dynamic delay time, the processing flow of the digital camera 100 and the strobe 250 will be described with reference to FIG.

本処理は、図5に示した接続処理の開始前、即ちS501およびS511の処理の前に、デジタルカメラ100とストロボ250〜252がADVパケットの通信を行って、ADVパケットの送受信に係る遅延時間を測定する処理である。   This process is performed before the connection process shown in FIG. 5 is started, that is, before the processes of S501 and S511, the digital camera 100 and the flash units 250 to 252 communicate ADV packets, and delay time related to transmission / reception of ADV packets. Is a process of measuring

本処理では、カメラ制御部101がADVパケットをストロボ250に送信すると、ストロボ250はADVパケットを受信後直ちに返信する。カメラ制御部101は、ADVパケットを送信してから受信までの時間Tcを計測し、ストロボ制御部201は、ADVパケットを受信してから返信するまでの時間Tsを計測する。ストロボ制御部201は、デジタルカメラ100にADVパケットを返信する際に、ADVパケットのデータ部にTsを記録することで、デジタルカメラ100に時間Tsを通知する。ストロボ250から送信されたADVパケットを受信すると、カメラ制御部101は、データ部に記録されたTsおよび計測したTcから、(Tc−Ts)/2の値を遅延時間として算出することができる。   In this process, when the camera control unit 101 transmits an ADV packet to the strobe 250, the strobe 250 returns immediately after receiving the ADV packet. The camera control unit 101 measures the time Tc from when the ADV packet is transmitted until it is received, and the strobe control unit 201 measures the time Ts from when the ADV packet is received until it is returned. When the strobe control unit 201 returns an ADV packet to the digital camera 100, the strobe control unit 201 notifies the digital camera 100 of the time Ts by recording Ts in the data part of the ADV packet. When the ADV packet transmitted from the strobe 250 is received, the camera control unit 101 can calculate a value of (Tc−Ts) / 2 as a delay time from Ts recorded in the data part and the measured Tc.

カメラ制御部101は、算出した遅延時間を不揮発性記憶装置205に記憶させ、ストロボに発光タイミング804を送信する場合に、遅延時間を差し引いた時間を発光タイミングとして送信する。このようにすることで、遅延時間を相殺した発光タイミングを送信することができ、より正確なタイミングに調整してストロボを発光させることが可能になる。なお、デジタルカメラ100から各ストロボにADVパケットを送信する場合、上述の送信先IDに各ストロボを識別するIDを設定しておけば、複数のストロボから同時にADVパケットが返信されることを防ぐことができる。   When the camera control unit 101 stores the calculated delay time in the nonvolatile storage device 205 and transmits the light emission timing 804 to the strobe, the camera control unit 101 transmits the time obtained by subtracting the delay time as the light emission timing. By doing so, it is possible to transmit the light emission timing that offsets the delay time, and it is possible to cause the strobe to emit light by adjusting to a more accurate timing. When an ADV packet is transmitted from the digital camera 100 to each strobe, if an ID for identifying each strobe is set as the above-mentioned transmission destination ID, it is possible to prevent the ADV packets from being returned simultaneously from a plurality of strobes. Can do.

(5−5.連続撮影を行う際の処理)
さらに、連続撮影を行う場合に追加的になし得る処理について、図10を参照して説明する。デジタルカメラ100のSW2 108が押下されたままの状態となる場合、連続撮影が行われるため、ストロボによる発光を短時間に繰り返す必要が生じる。上述したストロボ発光に係る一連の動作では、本発光が終了するとCONNパケットによる通信に遷移するため、連続したADVパケットによる発光タイミングの設定を行い難くなる。このため、本実施形態では、連続撮影が行われる場合に各ストロボに対して連続撮影を行う旨を通知し、本発光後に再接続を行わないようにする。
(5-5. Processing when performing continuous shooting)
Further, processing that can be additionally performed when continuous shooting is performed will be described with reference to FIG. When the SW2 108 of the digital camera 100 is kept pressed, continuous shooting is performed, and thus it is necessary to repeat the light emission by the flash in a short time. In the series of operations related to the strobe light emission described above, when the main light emission ends, the communication transitions to the communication using the CONN packet. Therefore, it becomes difficult to set the light emission timing using the continuous ADV packet. For this reason, in this embodiment, when continuous shooting is performed, each strobe is notified that continuous shooting is performed, and reconnection is not performed after the main flash.

例えば、ADVパケットは図10に示すフォーマット1000の構成をとる。カメラ制御部101は、SW2 108が押されたままであることを判定すると、フラグ1003に連続撮影であること示すフラグを付加してADVパケットを送信する。このため、デジタルカメラ100は、ストロボ250〜252に対して連続撮影が行われることを通知することができる。各ストロボは、受信したADVパケットのフラグ1003が連続撮影を示す場合には、本発光終了後に再接続を行わず、充電が完了した時点でADVパケットをデジタルカメラ100に送信する。なお、コマンド1001には、発光タイミングあるいは発光量を示すいずれのコマンドを示す値を設定してもよいし、ADVパケットに固有のコマンドを設定してもよい。さらに、データ1002には発光タイミング804や発光量805を設定してもよい。   For example, the ADV packet has a format 1000 shown in FIG. If the camera control unit 101 determines that the SW2 108 is kept pressed, the camera control unit 101 adds a flag indicating continuous shooting to the flag 1003 and transmits an ADV packet. Therefore, the digital camera 100 can notify the strobes 250 to 252 that continuous shooting is performed. If the flag 1003 of the received ADV packet indicates continuous shooting, each strobe does not reconnect after the main light emission ends, and transmits the ADV packet to the digital camera 100 when charging is completed. In the command 1001, a value indicating any command indicating the light emission timing or the light emission amount may be set, or a command specific to the ADV packet may be set. Further, a light emission timing 804 and a light emission amount 805 may be set in the data 1002.

カメラ制御部101は、ADVパケットを受信するため、ADVパケットを受信可能な状態に遷移させ、ストロボから送信されるADVパケットを受信する。カメラ制御部101は、ADVパケットを受信すると、送信元のストロボが充電完了状態にあることを判定できる。   In order to receive the ADV packet, the camera control unit 101 makes a transition to a state in which the ADV packet can be received, and receives the ADV packet transmitted from the strobe. Upon receiving the ADV packet, the camera control unit 101 can determine that the transmission source strobe is in a fully charged state.

このようにすることで、連続撮影を行う場合にデジタルカメラ100と各ストロボが再接続を行うことなく、次の発光タイミングの設定を行うことができる。このとき、カメラ制御部101は、全ストロボからCONNパケットによって送信される送充電完了の情報を待つ必要がないため、連続撮影時のコマ速度を確保することができる。   In this way, when performing continuous shooting, the next light emission timing can be set without reconnecting the digital camera 100 and each strobe. At this time, the camera control unit 101 does not have to wait for the information on the completion of transmission and charging transmitted by the CONN packet from all the strobes, so it is possible to secure the frame speed during continuous shooting.

なお、ストロボが送信するADVパケットについても、フォーマット1000に示した構成をとっていてもよい。例えばストロボ250は、本発光後にデジタルカメラ100に対して存在通知を行うADVパケットを送信する。このとき、ストロボ制御部201は、フラグ1003に、ストロボがADVパケットを送信する時点で充電完了しているかどうかを示すフラグを設定する。このようにすれば、ストロボ制御部201は、ストロボが充電完了しているか否かをデジタルカメラ100に通知することができる。また、ストロボ制御部201は、充電が完了していないとしても、デジタルカメラ100に対してストロボの存在通知をできる。   The ADV packet transmitted by the strobe may also have the configuration shown in the format 1000. For example, the strobe 250 transmits an ADV packet for notifying the digital camera 100 of presence after the main flash. At this time, the strobe control unit 201 sets a flag indicating whether or not charging is completed when the strobe transmits the ADV packet in the flag 1003. In this way, the strobe control unit 201 can notify the digital camera 100 whether or not the strobe is fully charged. Further, the flash control unit 201 can notify the digital camera 100 of the presence of a flash even when charging is not completed.

(5−6.デジタルカメラ100を遠隔制御するための処理)
本実施形態におけるシステム構成は図2に示した構成に限定されず、図11および図12に示すような変形例にも適用可能である。即ち、図11に示すシステムでは、ストロボ1100がデジタルカメラ100のアクセサリシュー106を介して接続されており、ストロボ1100が上述したマスター装置として動作する。図12に示すシステムでは、リモコン1200が上述したマスター装置として動作し、デジタルカメラ1201〜1203はスレーブ装置として動作する。デジタルカメラ1201〜1203は、ストロボ250〜252におけるストロボ発光に加えてシャッターの制御を行う。
(5-6. Processing for remotely controlling the digital camera 100)
The system configuration in the present embodiment is not limited to the configuration shown in FIG. 2, and can be applied to modifications as shown in FIGS. 11 and 12. That is, in the system shown in FIG. 11, the strobe 1100 is connected via the accessory shoe 106 of the digital camera 100, and the strobe 1100 operates as the master device described above. In the system shown in FIG. 12, the remote controller 1200 operates as the master device described above, and the digital cameras 1201 to 1203 operate as slave devices. The digital cameras 1201 to 1203 perform shutter control in addition to the strobe light emission from the strobes 250 to 252.

図11に示すシステムでは、デジタルカメラ100のSW1 107やSW2 108が押下されると、カメラ制御部101は、アクセサリシュー106を介してストロボ1100のストロボ制御部に上記スイッチが押下されたことを通知する。ストロボ1100は、デジタルカメラ100から通知をトリガにして、ストロボ1100の有する無線通信部を介してストロボ250〜252との一連の通信を行う。   In the system illustrated in FIG. 11, when SW1 107 or SW2 108 of the digital camera 100 is pressed, the camera control unit 101 notifies the strobe control unit of the strobe 1100 that the switch has been pressed via the accessory shoe 106. To do. The strobe 1100 performs a series of communications with the strobes 250 to 252 via the wireless communication unit of the strobe 1100 using the notification from the digital camera 100 as a trigger.

図12に示すシステムでは、リモコン1200は、デジタルカメラ100のSW1 107、SW2 108、無線通信部130に相当するブロックを備え、更にこれらを制御する制御部を備えている。リモコン1200がマスター装置として図13に示すフローチャートの一連の動作を行い、デジタルカメラ1201〜1203がスレーブ装置として図14に示すフローチャートの一連の動作を行う。リモコン1200とデジタルカメラ1201等が接続を行うまでの流れは、図2や図11に示すシステム構成をとる場合と同様である。   In the system shown in FIG. 12, the remote control 1200 includes blocks corresponding to SW1 107, SW2 108, and wireless communication unit 130 of the digital camera 100, and further includes a control unit that controls these blocks. The remote controller 1200 performs a series of operations shown in FIG. 13 as a master device, and the digital cameras 1201 to 1203 perform a series of operations shown in FIG. 14 as slave devices. The flow until the remote controller 1200 and the digital camera 1201 are connected is the same as that in the system configuration shown in FIGS.

図13に示すリモコン1200の一連の動作では、リモコン1200がデジタルカメラ1201等に対して撮影時に必要な情報を送信する点、ストロボの発光量を設定する処理を行わずにシャッタータイミングを設定する点が図6で示した一連の動作と異なる。図13では、図6の動作と共通する動作については同一の参照番号を付している。   In the series of operations of the remote control 1200 shown in FIG. 13, the remote control 1200 transmits information necessary for shooting to the digital camera 1201 and the like, and the shutter timing is set without performing the process of setting the flash emission amount. Is different from the series of operations shown in FIG. In FIG. 13, operations that are the same as those in FIG. 6 are given the same reference numerals.

リモコン1200とデジタルカメラ1201〜1203がそれぞれ接続を完了すると、S1301においてリモコン1200は、CONNパケットを用いてカメラのAv値やTv値など、撮影時に必要な情報をデジタルカメラ1201等に送信する。その後、S1302においてリモコン1200は、ADVパケットのデータにシャッタータイミングを設定してADVパケットをブロードキャスト送信する。   When the remote controller 1200 and the digital cameras 1201 to 1203 complete connection, in S1301, the remote controller 1200 transmits information necessary for shooting such as the Av value and Tv value of the camera to the digital camera 1201 and the like using the CONN packet. After that, in S1302, the remote controller 1200 sets the shutter timing to the ADV packet data and broadcasts the ADV packet.

図14に示すデジタルカメラ1201の一連の動作では、デジタルカメラ1201が撮影時に必要な情報を受信する点やストロボの発光量を設定する処理を行わずにシャッタータイミングを設定する点が図7で示した一連の動作と異なる。   In the series of operations of the digital camera 1201 shown in FIG. 14, the points where the digital camera 1201 receives information necessary for shooting and the point where the shutter timing is set without performing the process of setting the flash emission amount are shown in FIG. 7. This is different from the series of operations.

デジタルカメラ1201は、S1401においてリモコンから情報を受け取ったことをCONNパケットをリモコンに対して通知しても良い。その後、デジタルカメラ100は、S1402においてシャッタータイミングを設定し、S1403において設定したシャッタータイミングでシャッターを切る。   The digital camera 1201 may notify the remote controller of a CONN packet that information has been received from the remote controller in S1401. Thereafter, the digital camera 100 sets the shutter timing in S1402, and releases the shutter at the shutter timing set in S1403.

以上説明したように本実施形態では、充電完了等の通常のデータ送受信は、通信間隔が設けられたユニキャスト通信を用いて行なう一方、撮影動作のタイムラグ低減の必要な所定の動作については当該接続を切断して新たな送信を開始するようにした。また新たに開始する通信にはブロードキャスト通信を用いて通信相手に一斉に送信できるようにした。このようにすることで、適切な通信方法で外部装置を遠隔制御することが可能になる。特に、複数のモードを切り替えて通信可能な複数の接続機器を遠隔制御する場合に、機器ごとの動作のバラツキを低減することが可能になる。また、ストロボ発光等以外のライムラグ低減が必要とならない通常の通信では、間欠動作による低消費電力の通信方式のメリットを活かしつつ、ストロボ発光等のライムラグ低減が必要な場合に動作タイミングのバラツキを抑えることができる。   As described above, in the present embodiment, normal data transmission / reception such as completion of charging is performed using unicast communication with a communication interval, while the predetermined operation that needs to reduce the time lag of the photographing operation is connected. Was started and a new transmission was started. In addition, for newly started communication, broadcast communication can be used for simultaneous transmission to communication partners. By doing so, it becomes possible to remotely control the external device by an appropriate communication method. In particular, when remotely controlling a plurality of connected devices that can communicate with each other by switching a plurality of modes, it is possible to reduce variations in operation of each device. Also, in normal communications that do not require lime lag reduction other than strobe lighting, etc., while taking advantage of the low power consumption communication method by intermittent operation, it suppresses variation in operation timing when lime lag reduction such as strobe lighting is necessary be able to.

(6.実施形態2)
次に実施形態2について説明する。実施形態2では、デジタルカメラ100のSW1 107が押下された後の通信モードの切替えに係る構成が実施形態1と異なり、その他の構成は実施形態1と同一である。このため、同一の構成については同一の符号を付して重複する説明は省略し、相違点について重点的に説明する。
(6. Embodiment 2)
Next, Embodiment 2 will be described. In the second embodiment, the configuration relating to the switching of the communication mode after the SW1 107 of the digital camera 100 is pressed is different from the first embodiment, and other configurations are the same as the first embodiment. For this reason, the same reference numerals are assigned to the same components, and redundant descriptions are omitted, and differences will be mainly described.

実施形態1においては、デジタルカメラ100がSW2 108がオンになることを検出してから、CONNパケットによって接続を切断することをストロボ250等に対して通知するまでに、最大で間隔T1だけの遅延時間が発生し得る。このため、遅延時間の分だけレリーズタイムラグが遅れる場合がある。これは、CONNパケットの送受信を行うタイミングと、SW2 108がオンになるタイミングが非同期であるためである。これに対して本実施形態では、デジタルカメラ100は、SW2 108の押下を検出するとCONNパケットによる切断パケットを送信することなく、当該検出と同期してADVパケットを用いた発光データの送信を開始する。また、ストロボ250は、接続切断後にADVパケットの受信状態に遷移したのに対して、CONNパケットによる通信期間にADVパケットの待ち受け状態をもつ。このようにすることで、無線通信部の消費電力が多少上昇するものの、実施形態1において生じる遅延時間を縮めることができる。   In the first embodiment, after the digital camera 100 detects that the SW2 108 is turned on, the delay of the interval T1 is the maximum until the strobe 250 or the like is notified of disconnection by the CONN packet. Time can occur. For this reason, the release time lag may be delayed by the delay time. This is because the timing for transmitting and receiving the CONN packet and the timing for turning on the SW2 108 are asynchronous. On the other hand, in the present embodiment, when the digital camera 100 detects that the SW2 108 is pressed, the digital camera 100 starts transmission of light emission data using an ADV packet in synchronization with the detection without transmitting a disconnect packet based on the CONN packet. . In addition, the strobe 250 transitions to an ADV packet reception state after disconnection, whereas it has an ADV packet standby state during a communication period using a CONN packet. By doing in this way, although the power consumption of a radio | wireless communication part rises a little, the delay time which arises in Embodiment 1 can be shortened.

図15は、本実施形態におけるストロボ発光までのデジタルカメラ100の一連の動作を表すフローチャートを示しており、上述のデジタルカメラ100のSW1 107が押下された後の通信モードの切替えに係る動作以外は図6と共通である。また、図16は本実施形態におけるストロボ250〜252のストロボ発光までの一連の動作を表すフローチャートを示しており、上述のデジタルカメラ100のSW1 107が押下された後の通信モードの切替えに係る動作以外は図7と共通である。図17は、デジタルカメラ100のSW1 107が押下されたときの、デジタルカメラ100とストロボ250〜252の無線通信部の動作を示したタイミングチャートを示している。   FIG. 15 is a flowchart showing a series of operations of the digital camera 100 up to strobe light emission in the present embodiment, except for the operation related to switching of the communication mode after the SW1 107 of the digital camera 100 is pressed. This is common with FIG. FIG. 16 is a flowchart showing a series of operations up to the strobe emission of the strobes 250 to 252 in this embodiment, and the operation related to the switching of the communication mode after the SW1 107 of the digital camera 100 is pressed. Other than that is the same as FIG. FIG. 17 is a timing chart showing the operation of the wireless communication unit of the digital camera 100 and the flash units 250 to 252 when the SW1 107 of the digital camera 100 is pressed.

図15に示すS602においてカメラ制御部101は、SW1 107が押下されたと判定した場合、S1501において、通信間隔の変更通知を送信することなくSW1 107が押されたことをストロボ250等に通知する。   If the camera control unit 101 determines in step S602 shown in FIG. 15 that the SW1 107 has been pressed, in step S1501, the camera control unit 101 notifies the strobe 250 or the like that the SW1 107 has been pressed without transmitting a communication interval change notification.

カメラ制御部101は、S604においてSW2 108が押下されたと判定した場合、S1502においてADVパケットを用いて発光データを設定するとS608において当該ADVパケットを送信する。   If the camera control unit 101 determines in step S604 that the SW2 108 has been pressed, if the light emission data is set using the ADV packet in step S1502, the camera control unit 101 transmits the ADV packet in step S608.

一方、ストロボ250におけるストロボ制御部201は、S702においてSW1通知を受信したと判定すると、S1601においてCONNパケットによる通信をしながらADVパケットを受信できる状態に遷移する。ストロボ制御部201は、CONNパケットによる送受信をT1の周期で行いつつ、当該CONNパケットの送信を終えて当該CONNパケットの送受信を行わない期間になると、ADVパケットの待ち受け状態に状態を変更する(図17)。   On the other hand, if the strobe control unit 201 in the strobe 250 determines that the SW1 notification has been received in S702, the strobe control unit 201 transitions to a state in which the ADV packet can be received while performing communication using the CONN packet in S1601. The strobe control unit 201 performs transmission / reception using a CONN packet at a period of T1, and changes the state to a standby state for an ADV packet when transmission of the CONN packet is completed and transmission / reception of the CONN packet is not performed (FIG. 17).

ストロボ制御部201は、S1602においてデジタルカメラ100から送信されてきたADVパケットを受信したと判定すると、S1603においてCONNパケットによる通信のために確立した接続を切断する。その後、ストロボ制御部201は、実施形態1と同様にS708以降の処理によって受信したADVパケットのデータを設定し、データに付加されたコマンドの値に応じた動作を行う。   When the strobe control unit 201 determines that the ADV packet transmitted from the digital camera 100 has been received in S1602, the strobe control unit 201 disconnects the connection established for communication using the CONN packet in S1603. Thereafter, the strobe control unit 201 sets the data of the ADV packet received by the processing from S708 onward as in the first embodiment, and performs an operation according to the value of the command added to the data.

なお、実施形態1と同様に、本実施形態においてもシステム構成を図11および図12に示した構成にも適用してもよい。図12に示したシステム構成をとる場合の、リモコン1200とデジタルカメラ1201〜1203の一連の動作をそれぞれ図18および図19に示す。この場合も、S1501においてリモコン1200から送信されたSW1 107通知を、S702においてデジタルカメラ1201が受信した後に、S1601においてデジタルカメラ1201が接続しながらADVパケットの受信状態に遷移する。実施形態1における図16に示したシステムでは、リモコン1200が撮影動作をしてからデジタルカメラのシャッターが切られるまでに、最大で間隔T1だけレリーズタイムラグが発生していた。本実施形態によれば、接続機器の動作のバラツキを低減することに加えて、リモコンで撮影動作がされてからカメラのシャッターが切れるまでのタイムラグを縮めることができる。   As in the first embodiment, the system configuration may be applied to the configurations shown in FIGS. 11 and 12 in this embodiment. A series of operations of the remote controller 1200 and the digital cameras 1201 to 1203 when the system configuration shown in FIG. 12 is adopted are shown in FIGS. 18 and 19, respectively. Also in this case, after the SW1 107 notification transmitted from the remote controller 1200 in S1501 is received by the digital camera 1201 in S702, the digital camera 1201 is connected to the ADV packet reception state in S1601 while being connected. In the system shown in FIG. 16 according to the first embodiment, a release time lag is generated at a maximum interval T1 from when the remote controller 1200 performs a shooting operation to when the shutter of the digital camera is released. According to the present embodiment, in addition to reducing the variation in the operation of the connected device, the time lag from when the shooting operation is performed with the remote controller to when the camera shutter is released can be reduced.

以上説明したように本実施形態では、受信側(ストロボ250)に定期的にADVパケットの待ち受け状態を持たせ、CONNパケットによる切断パケット(即ち通知方法の切り替え)を送信することなくADVパケットを用いた送信を開始するようにした。このようにすることで、適切な通信方法で外部装置を遠隔制御することが可能になる。また、複数のモードを切り替えて通信可能な複数の接続機器を遠隔制御する場合に、機器ごとの動作のバラツキを低減することに加え、さらに撮影動作とのタイムラグを低減することが可能になる。   As described above, in the present embodiment, the receiving side (strobe 250) periodically has an ADV packet standby state, and the ADV packet is used without transmitting a disconnect packet (that is, switching of the notification method) by the CONN packet. Started to send. By doing so, it becomes possible to remotely control the external device by an appropriate communication method. In addition, when remotely controlling a plurality of connected devices that can communicate with each other by switching a plurality of modes, it is possible to reduce the time lag with the shooting operation in addition to reducing the variation in operation of each device.

(その他の実施形態)
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。
(Other embodiments)
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

101…カメラ制御部、110…スイッチ、130…無線通信部、107…撮影準備スイッチ、108…撮影指示スイッチ、201…ストロボ制御部、210…スイッチ、230…無線通信部、203…Xe管 DESCRIPTION OF SYMBOLS 101 ... Camera control part 110 ... Switch 130 ... Wireless communication part 107 ... Shooting preparation switch 108 ... Shooting instruction switch 201 ... Strobe control part 210 ... Switch 230 ... Wireless communication part 203 ... Xe tube

Claims (13)

複数の外部機器を遠隔制御することが可能な制御装置であって、
所定の通信間隔で単一送信を行う第1の通信モードと、同報送信を行う第2の通信モードとが切り替え可能な通信手段と、
前記制御装置に対する動作指示の操作を検出する検出手段と、
前記通信手段による前記複数の外部機器との通信を制御する制御手段と、を有し、
前記制御手段は、
前記検出手段により前記操作が検出される前は、前記外部機器のそれぞれと、前記第1の通信モードによる接続を確立して前記所定の通信間隔で通信を行うように前記通信手段を制御し、
前記検出手段により前記操作が検出されたことに応じて、前記外部機器のそれぞれを前記第2の通信モードにより通信できる状態にするための通知を前記外部機器に送信し、
前記通知を送信した後に、前記第1の通信モードから前記第2の通信モードに切り替えて、前記動作指示に関する情報を前記外部機器のそれぞれに送信する、ことを特徴とする制御装置。
A control device capable of remotely controlling a plurality of external devices,
A communication means capable of switching between a first communication mode for performing single transmission at a predetermined communication interval and a second communication mode for performing broadcast transmission;
Detecting means for detecting an operation instruction for the control device;
Control means for controlling communication with the plurality of external devices by the communication means,
The control means includes
Before the operation is detected by the detection unit, the communication unit is controlled to establish a connection in the first communication mode with each of the external devices and perform communication at the predetermined communication interval,
In response to the detection of the operation by the detection means, a notification for making each of the external devices communicable in the second communication mode is transmitted to the external device,
After transmitting the notification, the control device switches from the first communication mode to the second communication mode, and transmits information on the operation instruction to each of the external devices.
複数の外部機器を遠隔制御することが可能な制御装置であって、
所定の通信間隔で単一送信を行う第1の通信モードと、同報送信を行う第2の通信モードとが切り替え可能な通信手段と、
前記外部機器を制御するための動作指示の操作を検出する検出手段と、
前記通信手段による前記複数の外部機器との通信を制御する制御手段と、を有し、
前記制御手段は、
前記検出手段により前記操作が検出される前は、前記外部機器のそれぞれと、前記第1の通信モードによる接続を確立して前記所定の通信間隔で通信を行うように前記通信手段を制御し、
前記検出手段により前記操作が検出されたことに応じて、前記外部機器のそれぞれを前記第2の通信モードにより通信できる状態にするための通知を前記外部機器に送信し、
前記通知を送信した後に、前記第1の通信モードから前記第2の通信モードに切り替えて、前記動作指示に関する情報を前記外部機器のそれぞれに送信する、ことを特徴とする制御装置。
A control device capable of remotely controlling a plurality of external devices,
A communication means capable of switching between a first communication mode for performing single transmission at a predetermined communication interval and a second communication mode for performing broadcast transmission;
Detecting means for detecting operation of an operation instruction for controlling the external device;
Control means for controlling communication with the plurality of external devices by the communication means,
The control means includes
Before the operation is detected by the detection unit, the communication unit is controlled to establish a connection in the first communication mode with each of the external devices and perform communication at the predetermined communication interval,
In response to the detection of the operation by the detection means, a notification for making each of the external devices communicable in the second communication mode is transmitted to the external device,
After transmitting the notification, the control device switches from the first communication mode to the second communication mode, and transmits information on the operation instruction to each of the external devices.
前記通知は、前記外部機器のそれぞれと確立した前記第1の通信モードによる接続を切断するための通知であって、
前記制御手段は、前記検出手段により前記操作が検出されたことに応じて、前記通知を前記外部機器のそれぞれに送信することを特徴とする請求項1または2に記載の制御装置。
The notification is a notification for disconnecting the connection in the first communication mode established with each of the external devices,
The control apparatus according to claim 1, wherein the control unit transmits the notification to each of the external devices in response to the operation being detected by the detection unit.
前記動作指示は、第1の動作指示と、前記第1の動作指示に続く第2の動作指示からなり、
前記制御手段は、
前記検出手段により前記第1の動作指示が検出されたことに応じて、前記通知を前記外部機器のそれぞれに送信し、
前記通知を送信した後に、前記前記第2の動作指示が検出されたことに応じて、前記第1の通信モードから前記第2の通信モードに切り替えて、前記動作指示に関する情報を前記外部機器のそれぞれに送信する、ことを特徴とする請求項1ないし3のいずれか1項に記載の制御装置。
The operation instruction includes a first operation instruction and a second operation instruction following the first operation instruction.
The control means includes
In response to the detection of the first operation instruction by the detection means, the notification is transmitted to each of the external devices,
After transmitting the notification, in response to detection of the second operation instruction, the first communication mode is switched to the second communication mode, and information regarding the operation instruction is transmitted to the external device. The control device according to claim 1, wherein the control device transmits the data to each of the control devices.
前記制御手段は、前記通知を前記外部機器のそれぞれに送信する前に、前記第1の通信モードの前記所定の通信間隔を短縮するための変更通知をさらに送信することを特徴とする請求項1ないし3のいずれか1項に記載の制御装置。   The control means further transmits a change notification for shortening the predetermined communication interval in the first communication mode before transmitting the notification to each of the external devices. 4. The control device according to any one of items 3 to 3. 前記制御手段は、前記第2の通信モードに切り替えて前記動作指示に関する情報を送信した後で、前記第2の通信モードによる通信の停止および開始を行って、前記第2の通信モードによる前記動作指示に関する情報をさらに送信することを特徴とする請求項1ないし5のいずれか1項に記載の制御装置。   The control means, after switching to the second communication mode and transmitting information related to the operation instruction, stops and starts communication in the second communication mode, and performs the operation in the second communication mode. The control device according to claim 1, further transmitting information related to the instruction. 前記制御装置は撮像装置であり、
前記複数の外部機器はストロボ装置であり、
前記動作指示は、撮影準備指示または撮影指示であり、
前記通知は、前記外部機器のそれぞれと確立した前記第1の通信モードによる接続を切断するための通知であって、
前記制御手段は、前記検出手段により撮影指示の操作が検出されたことに応じて、前記通知を前記外部機器のそれぞれに送信することを特徴とする請求項1に記載の制御装置。
The control device is an imaging device;
The plurality of external devices are strobe devices,
The operation instruction is a shooting preparation instruction or a shooting instruction,
The notification is a notification for disconnecting the connection in the first communication mode established with each of the external devices,
The control device according to claim 1, wherein the control unit transmits the notification to each of the external devices in response to an operation of a shooting instruction detected by the detection unit.
前記制御装置はリモートコントローラであり、
前記複数の外部機器は撮像装置とストロボ装置の少なくともいずれかであり、
前記動作指示は、撮影準備指示または撮影指示であり、
前記通知は、前記外部機器のそれぞれと確立した前記第1の通信モードによる接続を切断するための通知であって、
前記制御手段は、前記検出手段により撮影指示の操作が検出されたことに応じて、前記通知を前記外部機器のそれぞれに送信することを特徴とする請求項2に記載の制御装置。
The control device is a remote controller;
The plurality of external devices are at least one of an imaging device and a strobe device,
The operation instruction is a shooting preparation instruction or a shooting instruction,
The notification is a notification for disconnecting the connection in the first communication mode established with each of the external devices,
The control device according to claim 2, wherein the control unit transmits the notification to each of the external devices in response to an operation of a photographing instruction being detected by the detection unit.
前記動作指示は、撮影準備指示または撮影指示であり、
前記動作指示に関する情報は、前記ストロボ装置の発光量、発光するタイミング、前記撮像装置のシャッタータイミング、絞り値およびシャッタースピードのいずれかあるいは全てを含む情報であることを特徴とする請求項7または8に記載の制御装置。
The operation instruction is a shooting preparation instruction or a shooting instruction,
9. The information related to the operation instruction is information including any or all of a light emission amount of the strobe device, a light emission timing, a shutter timing of the imaging device, an aperture value, and a shutter speed. The control device described in 1.
請求項1ないし6のいずれか1項に記載の制御装置と複数の外部機器とが通信するシステムであって、
前記外部機器のそれぞれは、
前記第1の通信モードと前記第2の通信モードとが切り替え可能な受信手段と、
前記受信手段を用いて前記制御装置から前記通知を受信したことに応じて、前記第2の通信モードにより通信できる状態に前記受信手段を切り替える切り替え手段と、
前記第2の通信モードに切り替えられた後、前記制御装置から受信した前記動作指示に関する情報に基づいて、動作制御を行う制御手段と、を有することを特徴とするシステム。
A system in which the control device according to any one of claims 1 to 6 communicates with a plurality of external devices,
Each of the external devices is
Receiving means capable of switching between the first communication mode and the second communication mode;
Switching means for switching the receiving means to a state in which communication can be performed in the second communication mode in response to receiving the notification from the control device using the receiving means;
And a control unit configured to perform operation control based on information related to the operation instruction received from the control device after switching to the second communication mode.
前記切り替え手段は、前記第1の通信モードによって前記制御装置からの通信を受信するタイミングでないときに、前記第2の通信モードによるパケットを受信できる状態に遷移することを特徴とする請求項10に記載のシステム。   11. The switch according to claim 10, wherein the switching unit transitions to a state in which a packet in the second communication mode can be received when it is not time to receive communication from the control device in the first communication mode. The system described. 複数の外部機器を遠隔制御することが可能な制御装置の制御方法であって、
通信手段が、所定の通信間隔で単一送信を行う第1の通信モードと、同報送信を行う第2の通信モードとが切り替え可能な通信工程と、
検出手段が、前記制御装置に対する動作指示の操作を検出する検出工程と、
制御手段が、前記通信手段による前記複数の外部機器との通信を制御する制御工程と、を有し、
前記制御工程において、
前記検出工程において前記操作が検出される前は、前記外部機器のそれぞれと、前記第1の通信モードによる接続を確立して前記所定の通信間隔で通信を行うように前記通信手段を制御し、
前記検出工程において前記操作が検出されたことに応じて、前記外部機器のそれぞれを前記第2の通信モードにより通信できる状態にするための通知を前記外部機器に送信し、
前記通知を送信した後に、前記第1の通信モードから前記第2の通信モードに切り替えて、前記動作指示に関する情報を前記外部機器のそれぞれに送信する、ことを特徴とする制御装置の制御方法。
A control method for a control device capable of remotely controlling a plurality of external devices,
A communication step in which the communication means can switch between a first communication mode in which single transmission is performed at a predetermined communication interval and a second communication mode in which broadcast transmission is performed;
A detecting step in which a detecting means detects an operation of an operation instruction for the control device;
And a control unit that controls communication with the plurality of external devices by the communication unit,
In the control step,
Before the operation is detected in the detection step, the communication means is controlled to establish a connection in the first communication mode with each of the external devices and perform communication at the predetermined communication interval,
In response to the detection of the operation in the detection step, a notification is sent to the external device to make each of the external devices communicable in the second communication mode,
After the notification is transmitted, the control method of the control device is characterized by switching from the first communication mode to the second communication mode and transmitting information on the operation instruction to each of the external devices.
コンピュータを、請求項1乃至9のいずれか1項に記載の制御装置の各手段として機能させるためのプログラム。   The program for functioning a computer as each means of the control apparatus of any one of Claims 1 thru | or 9.
JP2014145381A 2014-07-15 2014-07-15 Control unit, control method therefor, and system Pending JP2016021020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014145381A JP2016021020A (en) 2014-07-15 2014-07-15 Control unit, control method therefor, and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014145381A JP2016021020A (en) 2014-07-15 2014-07-15 Control unit, control method therefor, and system

Publications (1)

Publication Number Publication Date
JP2016021020A true JP2016021020A (en) 2016-02-04

Family

ID=55265874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014145381A Pending JP2016021020A (en) 2014-07-15 2014-07-15 Control unit, control method therefor, and system

Country Status (1)

Country Link
JP (1) JP2016021020A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017163290A (en) * 2016-03-08 2017-09-14 リンナイ株式会社 Communication system
JP2017188799A (en) * 2016-04-06 2017-10-12 キヤノン株式会社 Communication apparatus, control method therefor, and program
JP2017216639A (en) * 2016-06-01 2017-12-07 キヤノン株式会社 Communication apparatus and control method therefor, and program
JP2019197089A (en) * 2018-05-07 2019-11-14 キヤノン株式会社 Imaging device and light-emitting device, control method thereof, and program
US10630880B2 (en) 2017-10-25 2020-04-21 Canon Kabushiki Kaisha Image capturing apparatus, light emitting apparatus, and control methods thereof
US10638053B2 (en) 2017-08-01 2020-04-28 Canon Kabushiki Kaisha Image capturing apparatus, light emitting apparatus, and control method thereof

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017163290A (en) * 2016-03-08 2017-09-14 リンナイ株式会社 Communication system
JP2017188799A (en) * 2016-04-06 2017-10-12 キヤノン株式会社 Communication apparatus, control method therefor, and program
JP2017216639A (en) * 2016-06-01 2017-12-07 キヤノン株式会社 Communication apparatus and control method therefor, and program
US10638053B2 (en) 2017-08-01 2020-04-28 Canon Kabushiki Kaisha Image capturing apparatus, light emitting apparatus, and control method thereof
US10630880B2 (en) 2017-10-25 2020-04-21 Canon Kabushiki Kaisha Image capturing apparatus, light emitting apparatus, and control methods thereof
JP2019197089A (en) * 2018-05-07 2019-11-14 キヤノン株式会社 Imaging device and light-emitting device, control method thereof, and program
US10735666B2 (en) 2018-05-07 2020-08-04 Canon Kabushiki Kaisha Image capturing apparatus, light emitting apparatus, and control method thereof

Similar Documents

Publication Publication Date Title
JP2016021020A (en) Control unit, control method therefor, and system
US9066023B2 (en) Image sensing apparatus, communication apparatus, and control method of these apparatuses
US9258472B2 (en) Control apparatus, control system, command transmission method, and non-transitory computer-readable storage medium
US20150281622A1 (en) Image pickup apparatus, electronic device, control method, and camera system
CN110460749B (en) Image pickup apparatus, light emitting apparatus, and control method thereof
JP6287092B2 (en) Information processing apparatus, information processing method, imaging system, and program
JP6716356B2 (en) Communication device, control method thereof, and program
JP6385078B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP2019028222A (en) Communication device, method of controlling communication device, and communication system
JP2018113833A (en) Power supply device, control device and control method thereof, and program
US10568157B2 (en) Communication apparatus that carries out communications with external apparatuses, control method therefor, and storage medium
JP6515966B2 (en) Imaging device, system, electronic device and program
JP6819389B2 (en) Information processing system, client terminal and program
JP2017103650A (en) Communication device, communication device control method, and program
JP2017055265A (en) Communication device, and control method and program of communication device
WO2014068851A1 (en) Radio device, radio system and program
JP6197907B2 (en) Imaging apparatus, system, electronic device and program
JP7309407B2 (en) IMAGING DEVICE, CONTROL METHOD AND PROGRAM THEREOF
JP6955383B2 (en) Master communication device, slave communication device, communication system, control method, and program
WO2023074132A1 (en) Wireless communication device and control method therefor
JP7222190B2 (en) Electronic equipment, communication systems, communication equipment and programs
JP2018006962A (en) Communication equipment, control method for communication equipment, and program
JP5910073B2 (en) Imaging apparatus, system, electronic device and program
JP2018148433A (en) Image acquisition device, imaging apparatus, image acquisition method, imaging method, program, and image acquisition system
JP2018011269A (en) Communication device, control method thereof, and program