JP6407538B2 - Communication control method for camera system - Google Patents

Communication control method for camera system Download PDF

Info

Publication number
JP6407538B2
JP6407538B2 JP2014046225A JP2014046225A JP6407538B2 JP 6407538 B2 JP6407538 B2 JP 6407538B2 JP 2014046225 A JP2014046225 A JP 2014046225A JP 2014046225 A JP2014046225 A JP 2014046225A JP 6407538 B2 JP6407538 B2 JP 6407538B2
Authority
JP
Japan
Prior art keywords
control device
command signal
communication
communication method
side control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2014046225A
Other languages
Japanese (ja)
Other versions
JP2015169878A (en
Inventor
雄一 上山
雄一 上山
研次 藤波
研次 藤波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tamron Co Ltd
Original Assignee
Tamron Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tamron Co Ltd filed Critical Tamron Co Ltd
Priority to JP2014046225A priority Critical patent/JP6407538B2/en
Publication of JP2015169878A publication Critical patent/JP2015169878A/en
Application granted granted Critical
Publication of JP6407538B2 publication Critical patent/JP6407538B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Structure And Mechanism Of Cameras (AREA)
  • Lens Barrels (AREA)

Description

本件発明は、レンズユニットをカメラ本体に交換可能に取り付けたカメラシステムの通信制御方法に関する。   The present invention relates to a communication control method for a camera system in which a lens unit is replaceably attached to a camera body.

従来より、レンズユニットを交換可能にカメラ本体に取り付けてなるカメラシステムでは、カメラ本体とレンズユニットとの間で通信を行い、カメラ本体とレンズユニットとを連動させている。これらカメラ本体とレンズユニット間では、例えば、同期シリアル通信を採用して、データやコマンドを送受信している。この際、動画撮影時やライブ画像の表示を行う場合には、撮影周期に応じて円滑なレンズ制御を行うため、情報量の多いデータ信号を高い通信頻度で送受信する必要がある。しかしながら、送受信を行うデータ信号の情報量が多くなると、カメラ本体とレンズユニットとの間で通信に多くの時間を要し、リアルタイムの取得に支障が生じる。そこで、従来より、リアルタイム性が要求されるデータ信号の送受信をより迅速に行う方法が開発されている。   Conventionally, in a camera system in which a lens unit is replaceably attached to a camera body, communication is performed between the camera body and the lens unit, and the camera body and the lens unit are interlocked. Between the camera body and the lens unit, for example, synchronous serial communication is employed to transmit and receive data and commands. At this time, when shooting a moving image or displaying a live image, it is necessary to transmit and receive a data signal with a large amount of information at a high communication frequency in order to perform smooth lens control according to the shooting period. However, when the amount of information of the data signal to be transmitted / received increases, it takes a lot of time for communication between the camera body and the lens unit, which hinders real-time acquisition. In view of this, a method has been developed in which data signals that require real-time performance are transmitted and received more quickly.

例えば、特許文献1に開示された撮像システムは、レンズ装置と、当該レンズ装置が着脱可能に装着される撮像装置と、を有する撮像システムであって、前記レンズ装置は、レンズ制御手段と、物体の光学像を形成する撮影光学系と、有し、前記撮像装置は、制御基準信号に同期して前記撮像装置の内部処理を行うと共に前記レンズ制御手段と前記制御基準信号に同期して通信する撮像装置制御手段を有し、前記レンズ制御手段は、前記撮像装置制御手段から与えられる前記制御基準信号に同期して前記撮影光学系の駆動を制御し、前記撮像装置制御手段は、前記制御基準信号の周期の変更に対応できるかどうかを前記レンズ制御手段に問い合わせずに前記撮像装置の内部処理のために前記制御基準信号の周期を変更し、変更後の前記制御基準信号に同期して前記レンズ制御手段に前記制御基準信号の周期の変更に対応できたかどうかを表す情報を前記撮像装置制御手段に送信している。   For example, an imaging system disclosed in Patent Document 1 is an imaging system that includes a lens device and an imaging device to which the lens device is detachably mounted. The lens device includes a lens control unit, an object, and an object. The imaging apparatus performs internal processing of the imaging apparatus in synchronization with a control reference signal and communicates with the lens control unit in synchronization with the control reference signal. An imaging device control unit, wherein the lens control unit controls driving of the imaging optical system in synchronization with the control reference signal provided from the imaging device control unit, and the imaging device control unit includes the control reference The control reference signal period is changed for the internal processing of the imaging apparatus without inquiring of the lens control means whether the change of the signal period can be supported, and the control base after the change is changed. Sending information in synchronization with the signal indicating whether or not corresponding to the change of the period of the control reference signal to the lens control unit to the imaging device control unit.

特開2013−242350号公報JP 2013-242350 A

上述した特許文献1に記載の撮像システムでは、制御基準信号の周期変更を行う際に、撮像装置制御手段からレンズ制御手段に応答可能かどうかの問い合わせに関するデータ信号の送受信を行わないことで、短時間で制御の破綻を招かずに制御基準信号の切り替えを行っている。しかしながら、当該特許文献1に記載の撮像システムでは、その他の従来の撮像システムと同様に、データ信号に含まれる情報の種類に依存することなく、コマンド信号やステータス信号が送信される度に、受信側は受信したデータ信号に関するレスポンス信号を送信先に送信し直していた。   In the imaging system described in Patent Literature 1 described above, when changing the period of the control reference signal, the data signal related to the inquiry about whether or not the imaging device control unit can respond to the lens control unit is not transmitted and received. The control reference signal is switched without incurring control failure over time. However, in the imaging system described in Patent Document 1, as with other conventional imaging systems, reception is performed each time a command signal or status signal is transmitted without depending on the type of information included in the data signal. The side retransmits the response signal regarding the received data signal to the transmission destination.

そのため、情報量の多いデータ信号に関しても、高い頻度でやりとりが行われると、通信に多大な時間を要することとなる。情報の信頼性が要求されるデータ信号の送受信では、当該信号のやりとりが必須となるが、オートフォーカス等の高い処理速度が要求されるデータ信号の送受信では、迅速性が失われ、要求に応じたレンズ位置制御を行うことが困難となる。   For this reason, even if a data signal having a large amount of information is exchanged at a high frequency, a long time is required for communication. In the transmission and reception of data signals that require information reliability, the exchange of the signals is essential, but in the transmission and reception of data signals that require a high processing speed such as autofocus, the speediness is lost, and in response to the request It is difficult to control the lens position.

そこで、本件発明の課題は、レンズユニットとカメラ本体との間において、即時性が要求される通信内容に関するデータ信号をより高速に通信することを可能とするカメラシステムの通信制御方法を提供することにある。   Accordingly, an object of the present invention is to provide a communication control method for a camera system that enables data signals related to communication contents requiring immediacy to be communicated at higher speed between the lens unit and the camera body. It is in.

本件発明者等は、鋭意研究を行った結果、以下の構成を採用することにより、上述の課題を解決するに至った。   As a result of intensive studies, the inventors of the present invention have solved the above-mentioned problems by adopting the following configuration.

すなわち、本件発明におけるカメラシステムの通信制御方法は、レンズユニットを備えるカメラシステムの通信制御方法であって、当該カメラシステムは、当該レンズユニットが備えたレンズユニット側制御手段と、当該レンズユニット側制御手段との間でデータ信号の授受を行う上位側制御手段とを備え、当該レンズユニット側制御手段と当該上位側制御手段との間での通信方式として、一方の制御手段から送信されたコマンド信号に対して、他方の制御手段が一方の制御手段にレスポンス信号を送信する同期交信方式と、一方の制御手段から送信されたコマンド信号に対して、他方の制御手段が一方の制御手段にレスポンス信号の送信を行わずに、当該コマンド信号に含まれたコマンド内容に応じた制御を行う非同期交信方式とを、通信内容に応じて選択的に採用することを特徴とする。   That is, the communication control method of the camera system in the present invention is a communication control method of a camera system including a lens unit, and the camera system includes a lens unit side control unit provided in the lens unit, and the lens unit side control. A command signal transmitted from one control means as a communication method between the lens unit side control means and the higher order control means. On the other hand, for the synchronous communication system in which the other control means transmits a response signal to one control means, and for the command signal transmitted from one control means, the other control means sends a response signal to one control means. Asynchronous communication method that performs control according to the command content included in the command signal without transmitting Wherein the selectively employed depending on the volume.

また、本件発明のカメラシステムの通信制御方法は、前記非同期交信方式を採用した通信において、前記他方の制御手段は、一方の制御手段からのコマンド信号の有無にかかわらず、他方の制御手段が一方の制御手段にデータ信号を送信することが好ましい。   In the communication control method of the camera system according to the present invention, in the communication adopting the asynchronous communication method, the other control means is one of the other control means regardless of the presence / absence of a command signal from the one control means. It is preferable to transmit a data signal to the control means.

さらに、本件発明のカメラシステムの通信制御方法は、前記非同期交信方式を採用した通信において、前記他方の制御手段は、周期的に前記データ信号を前記一方の制御手段に送信することが好ましい。   Furthermore, in the communication control method of the camera system of the present invention, in the communication employing the asynchronous communication method, it is preferable that the other control unit periodically transmits the data signal to the one control unit.

また、本件発明のカメラシステムの通信制御方法は、前記他方の制御手段から前記一方の制御手段への周期的なデータ信号の送信は、当該一方の制御手段からの停止要求に応じて停止することが好ましい。   Further, according to the communication control method of the camera system of the present invention, the periodic data signal transmission from the other control means to the one control means is stopped in response to a stop request from the one control means. Is preferred.

さらに、本件発明のカメラシステムの通信制御方法は、前記同期交信方式を採用した通信において、前記一方の制御手段は、前記コマンド信号の送信後、前記他方の制御手段からレスポンス信号を受信するまで、前記他方の制御手段への当該コマンド信号とは異なる内容の同期交信方式を採用したコマンド信号の送信を禁止することが好ましい。   Furthermore, in the communication control method of the camera system of the present invention, in the communication adopting the synchronous communication method, the one control unit, after transmitting the command signal, until receiving a response signal from the other control unit, It is preferable to prohibit transmission of a command signal adopting a synchronous communication method having a content different from that of the command signal to the other control means.

また、本件発明のカメラシステムの通信制御方法は、前記同期交信方式の通信と、前記非同期交信方式の通信とは、前記コマンド信号の前部に付された符号により識別されることが好ましい。   In the camera system communication control method of the present invention, it is preferable that the synchronous communication system communication and the asynchronous communication system communication are identified by a code attached to a front portion of the command signal.

さらに、本件発明のカメラシステムの通信制御方法は、前記レンズユニット側制御手段と、前記レンズユニット側制御手段との間におけるデータ信号の授受は、全二重調歩同期式シリアル通信を用いることが好ましい。   Further, in the communication control method of the camera system of the present invention, it is preferable that full-duplex asynchronous serial communication is used for the exchange of data signals between the lens unit side control means and the lens unit side control means. .

本件発明のカメラシステムの通信制御方法によれば、上位側制御手段とレンズユニット側制御手段との間で行う通信内容が、迅速性よりも信頼性が優先されるものである場合には、一方の制御手段から送信されたコマンド信号に対して、他方の制御手段が一方の制御手段にレスポンス信号を送信する同期交信方式を採用することで、一方の制御手段と他方の制御手段との間で確実性の高い通信を行うことができる。   According to the communication control method of the camera system of the present invention, when the content of communication performed between the higher-level control means and the lens unit-side control means is such that reliability is given priority over speed, By adopting a synchronous communication system in which the other control means transmits a response signal to one control means in response to a command signal transmitted from one control means, between one control means and the other control means. Highly reliable communication can be performed.

そして、上位側制御手段とレンズユニット側制御手段との間で行う通信内容が、信頼性よりも迅速性が優先されるものである場合、一方の制御手段から送信されたコマンド信号に対して、他方の制御手段が当該上位側制御手段にレスポンス信号の送信を行わない非同期交信方式を採用することで、応答を省き、無駄な通信を低減することによって、リアルタイム性の高い迅速な制御を行うことができる。   And, when the communication content performed between the higher-level control means and the lens unit-side control means is such that quickness is given priority over reliability, the command signal transmitted from one control means, By adopting an asynchronous communication method in which the other control means does not send a response signal to the higher-order control means, it is possible to perform quick control with high real-time characteristics by eliminating responses and reducing unnecessary communication. Can do.

よって、上位側制御手段とレンズユニット側制御手段との間で通信される信頼性や迅速性が異なる種々の通信内容は、それぞれの優先内容に応じて、通信に用いる方式を使い分けることにより、通常の命令内容の伝達の場合には、レスポンス信号の送信を要求する信頼性の高い通信を行い、信頼性よりも即時性が大きく優先される場合には、無駄な応答を低減して高速な通信制御を実現することが可能となる。   Therefore, various communication contents with different reliability and speed that are communicated between the host control means and the lens unit side control means are usually determined by using different communication methods according to the priority contents. In the case of the transmission of command contents, reliable communication requiring response signal transmission is performed, and when immediacy is given priority over reliability, unnecessary communication is reduced and high-speed communication is performed. Control can be realized.

従って、本件発明によれば、応答不要な通信方式を含め、用途によって、必要な通信方式を選択し、同時に、かつ、並行的に使い分けることで、高度な情報伝達を可能とすることができる。   Therefore, according to the present invention, it is possible to transmit advanced information by selecting a necessary communication method depending on the application, including a communication method that does not require a response, and simultaneously using it in parallel.

本実施の形態に係るカメラシステム全体を示す構成図である。It is a block diagram which shows the whole camera system which concerns on this Embodiment. カメラ本体側制御装置のフローチャートである。It is a flowchart of a camera main body side control apparatus. レンズユニット側制御装置のフローチャートである。It is a flowchart of a lens unit side control apparatus. 同期交信方式のシーケンスである。This is a synchronous communication system sequence. 非同期交信方式のシーケンスである。This is an asynchronous communication system sequence. 非同期交信方式のシーケンスである。This is an asynchronous communication system sequence. 非同期交信方式のシーケンスである。This is an asynchronous communication system sequence. 同期交信方式と非同期交信方式が並存するシーケンスである。This is a sequence in which a synchronous communication method and an asynchronous communication method coexist.

以下、図面を参照して、本件発明に係るカメラシステムの通信制御方法の実施の形態について説明する。図1は本実施の形態に係るカメラシステム1全体を示す構成図である。本実施の形態におけるカメラシステム1は、監視等に用いられる中赤外や遠赤外の撮像を可能とする赤外線カメラシステムであり、カメラ本体10と、当該カメラ本体10に交換可能に取り付けられるレンズユニット20とを備えている。   Hereinafter, an embodiment of a communication control method for a camera system according to the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram showing the entire camera system 1 according to the present embodiment. The camera system 1 according to the present embodiment is an infrared camera system that enables mid-infrared and far-infrared imaging used for monitoring and the like, and a camera body 10 and a lens that is attached to the camera body 10 in a replaceable manner. Unit 20.

本実施の形態におけるレンズユニット20は、鏡筒21にズームレンズ22、フォーカスレンズ23等を含むレンズ群が光軸に沿って保持されている。ズームレンズ22及びフォーカスレンズ23は、それぞれ位置調整手段としての駆動装置22M、23Mによって光軸方向に移動可能に設けられている。また、当該レンズユニット20は、像振れ補正機構24が組み込まれていてもよい。図中24Mは、像振れ補正機構24の駆動装置である。そして、当該レンズユニット20の像面側の端部には、レンズマウント25が設けられており、カメラ本体10に設けられるカメラマウント13と係合してカメラ本体10に着脱自在に取り付けられる。   In the lens unit 20 in the present embodiment, a lens group including a zoom lens 22, a focus lens 23, and the like is held in a lens barrel 21 along an optical axis. The zoom lens 22 and the focus lens 23 are provided so as to be movable in the optical axis direction by driving devices 22M and 23M as position adjusting means, respectively. Further, the lens unit 20 may incorporate an image blur correction mechanism 24. In the figure, reference numeral 24M denotes a drive device for the image blur correction mechanism 24. A lens mount 25 is provided at the end of the lens unit 20 on the image plane side. The lens mount 25 is detachably attached to the camera body 10 by engaging with the camera mount 13 provided in the camera body 10.

当該レンズユニット20は、レンズユニット側制御装置(レンズユニット側制御手段)20Cを備えている。当該レンズユニット側制御装置20Cは、汎用のマイクロコンピュータにより構成されている。当該レンズユニット側制御装置20Cには、上述したズームレンズ22の駆動装置22M、フォーカスレンズ23の駆動装置23M、像振れ補正機構24の駆動装置24Mが接続されている他に、鏡筒21内部及び又は表面の温度を検出する温度測定部26や、ジャイロユニット27などが接続されている。当該レンズユニット側制御装置20Cは、これらズームレンズ22や、フォーカスレンズ23、像振れ補正機構24等の動作を制御するプログラムを格納したROMや、変数を記憶するRAM、各パラメータを記憶する電気的消去や書き込みが可能なEEPROMが内蔵されている。レンズユニット側制御装置20Cは、ROMに格納されたプログラムを実行することにより、ズームレンズ22の駆動装置22Mや、フォーカスレンズ23の駆動装置23M、像振れ補正機構24の駆動装置24M等を駆動制御する。   The lens unit 20 includes a lens unit side control device (lens unit side control means) 20C. The lens unit side control device 20C is constituted by a general-purpose microcomputer. The lens unit control device 20C is connected to the drive device 22M for the zoom lens 22, the drive device 23M for the focus lens 23, and the drive device 24M for the image blur correction mechanism 24 described above. Alternatively, a temperature measuring unit 26 that detects the surface temperature, a gyro unit 27, and the like are connected. The lens unit side control device 20C includes a ROM that stores programs for controlling the operations of the zoom lens 22, the focus lens 23, the image blur correction mechanism 24, etc., a RAM that stores variables, and an electrical that stores parameters. An EEPROM that can be erased and written is incorporated. The lens unit side control device 20C drives and controls the drive device 22M of the zoom lens 22, the drive device 23M of the focus lens 23, the drive device 24M of the image blur correction mechanism 24, and the like by executing a program stored in the ROM. To do.

本実施の形態におけるカメラ本体10は、レンズユニット20のレンズ群を透過した中赤外線領域及び遠赤外線領域の赤外光を検知し、画像信号に変換処理する撮像素子(イメージセンサ)11を備えている。また、当該カメラ本体10は、レンズユニット20と撮像素子11との間に駆動装置12Mにより駆動するシャッタ12が設けられている。当該シャッタ12とレンズユニット20との間に上述したレンズマウント25と係合可能とするカメラマウント13が設けられている。   The camera body 10 in the present embodiment includes an image sensor (image sensor) 11 that detects infrared light in the mid-infrared region and far-infrared region transmitted through the lens group of the lens unit 20 and converts the infrared light into an image signal. Yes. In addition, the camera body 10 is provided with a shutter 12 that is driven by a driving device 12M between the lens unit 20 and the image sensor 11. A camera mount 13 that can be engaged with the lens mount 25 described above is provided between the shutter 12 and the lens unit 20.

また、上述したカメラ本体10は、カメラ本体側制御装置(上位側制御手段)10Cを備えている。当該カメラ本体側制御装置10Cは、上述のレンズユニット側制御装置20Cと同様に、汎用のマイクロコンピュータにより構成されている。当該カメラ本体側制御装置10Cには、上述した撮像素子11や、シャッタ12の駆動装置12Mなどが接続されている。当該カメラ本体側制御装置10Cは、これら撮像装置11やシャッタ12等の動作を制御するプログラムを格納したROMや、変数を記憶するRAM、各パラメータを記憶する電気的消去や書き込みが可能なEEPROMが内蔵されている。カメラ本体側制御装置10C側10Cは、ROMに格納されたプログラムを実行することにより、撮像装置11やシャッタ12の駆動装置12M等を駆動制御する。   The camera body 10 described above includes a camera body side control device (upper side control means) 10C. The camera main body side control device 10C is configured by a general-purpose microcomputer, similarly to the lens unit side control device 20C described above. The camera body side control device 10C is connected to the above-described imaging device 11, the driving device 12M of the shutter 12, and the like. The camera body-side control device 10C includes a ROM that stores programs for controlling the operations of the imaging device 11, the shutter 12, and the like, a RAM that stores variables, and an EEPROM that can be electrically erased and written to store parameters. Built in. The camera main body side control device 10C side 10C drives and controls the imaging device 11, the drive device 12M of the shutter 12, and the like by executing a program stored in the ROM.

そして、当該カメラ本体10は、電源が設けられており、当該カメラ本体10は、レンズユニットにおける各レンズ22、23の駆動や像振れ補正機構24の動作に要する電源を供給する。すなわち、カメラマウント13とレンズマウント25とは、係合により当該カメラ本体10と、レンズユニット20とを電気的に接続する接点群が設けられており、当該接点群を介してカメラ本体10からレンズユニット20への電源供給が行われる。   The camera body 10 is provided with a power source, and the camera body 10 supplies power necessary for driving the lenses 22 and 23 and the operation of the image blur correction mechanism 24 in the lens unit. That is, the camera mount 13 and the lens mount 25 are provided with a contact group that electrically connects the camera body 10 and the lens unit 20 by engagement, and the lens is attached from the camera body 10 via the contact group. Power is supplied to the unit 20.

さらに、当該接点群では、レンズユニット20側のレンズユニット側制御装置20Cと、カメラ本体10側のカメラ本体側制御装置10Cとの間でコマンド信号、状態信号等のデータ信号の授受により通信が行われる。   Further, in the contact group, communication is performed between the lens unit side control device 20C on the lens unit 20 side and the data signal such as a command signal and a status signal between the camera body side control device 10C on the camera body 10 side. Is called.

本実施の形態における通信は、全二重調歩同期式のシリアル通信方式を採用する。すなわち、本実施の形態では、カメラ本体側制御装置10Cへデータ信号とレンズユニット側制御装置20Cとは、カメラ本体側制御装置10Cからレンズユニット側制御装置20Cへデータ信号を送信するためのDCLライン(第1通信線)2と、レンズユニット側制御装置20Cからカメラ本体側制御装置10Cへデータ信号を送信するためのDLCライン(第2通信線)3とにより電気的に接続されている。よって、本実施の形態では、これらDCLライン2とDLCライン3を介してデータ信号の送信と受信とを同時に行うことが可能であり、かつ、同期のためのクロック信号等を特に用いずに、スタートビット及びストップビットを用いて、カメラ本体側制御装置10Cからレンズユニット側制御装置20Cへ映像信号のV同期信号を送信し、これらカメラ本体側制御装置10Cとレンズユニット側制御装置20Cとの間で同期を行うことが可能である。   The communication in this embodiment employs a full-duplex asynchronous serial communication method. That is, in the present embodiment, the data signal to the camera body side control device 10C and the lens unit side control device 20C are a DCL line for transmitting the data signal from the camera body side control device 10C to the lens unit side control device 20C. (First communication line) 2 and a DLC line (second communication line) 3 for transmitting a data signal from the lens unit side control device 20C to the camera body side control device 10C are electrically connected. Therefore, in this embodiment, it is possible to simultaneously transmit and receive data signals via these DCL line 2 and DLC line 3, and without using a clock signal for synchronization in particular, Using the start bit and the stop bit, a V synchronization signal of a video signal is transmitted from the camera main body side control device 10C to the lens unit side control device 20C, and between the camera main body side control device 10C and the lens unit side control device 20C. Can be synchronized.

上述の構成により、本実施の形態におけるカメラシステム1は、カメラ本体側制御装置10Cと、レンズユニット側制御装置20Cとの間でデータ信号の授受を行い、各レンズ22、23の位置制御やシャッタ12の開閉制御、像振れ補正機構24の駆動制御等が行われる。   With the configuration described above, the camera system 1 according to the present embodiment exchanges data signals between the camera main body side control device 10C and the lens unit side control device 20C, and controls the positions of the lenses 22 and 23 and the shutter. 12 open / close control, drive control of the image blur correction mechanism 24, and the like are performed.

次に、本件発明の特徴とするレンズユニット側制御装置20Cとカメラ本体側制御装置10Cとの間で行う通信動作について説明する。すなわち、本件発明におけるカメラシステム1の通信制御方法は、レンズユニット側制御装置20Cとカメラ本体側制御装置10Cとの間での通信方式として、一方の制御装置から送信されたコマンド信号に対して、他方の制御装置が一方の制御装置にレスポンス信号を送信する同期交信方式と、一方の制御装置から送信されたコマンド信号に対して、他方の制御装置が一方の制御装置にレスポンス信号の送信を行わない非同期交信方式とを、通信内容に応じて選択的に採用することを特徴とする。   Next, a communication operation performed between the lens unit side control device 20C and the camera body side control device 10C, which is a feature of the present invention, will be described. That is, the communication control method of the camera system 1 according to the present invention is based on a command signal transmitted from one control device as a communication method between the lens unit side control device 20C and the camera body side control device 10C. A synchronous communication method in which the other control device transmits a response signal to one control device, and the other control device transmits a response signal to one control device in response to a command signal transmitted from one control device. Asynchronous communication method is selectively adopted according to communication contents.

以下に、具体的な通信動作について、図2及び図3のフローチャートと、図4及び図5の通信シーケンスを参照して説明する。図2はカメラ本体側制御装置10Cのフローチャートであり、図3はレンズユニット側制御装置20Cのフローチャート、図4は同期交信方式のシーケンス、図5〜図7は非同期交信方式のシーケンス、図8は同期交信方式と非同期交信方式が並存するシーケンスを示している。以下に示す本実施の形態では、一方の制御装置をカメラ本体側制御装置10Cとし、他方の制御装置をレンズユニット側制御装置20Cであるものとして説明する。   A specific communication operation will be described below with reference to the flowcharts of FIGS. 2 and 3 and the communication sequences of FIGS. 4 and 5. 2 is a flowchart of the camera main body side control device 10C, FIG. 3 is a flowchart of the lens unit side control device 20C, FIG. 4 is a sequence of the synchronous communication method, FIGS. 5 to 7 are sequences of the asynchronous communication method, and FIG. A sequence in which a synchronous communication method and an asynchronous communication method coexist is shown. In the present embodiment described below, one control device will be described as the camera main body side control device 10C, and the other control device will be described as the lens unit side control device 20C.

まずはじめに、カメラ本体側制御装置10Cは、電源が投入されると、ステップSC1において、レンズユニット側制御装置20Cに送信するコマンド信号が同期交信方式コマンド信号であるか、非同期交信方式コマンド信号であるか否かを判断する。ここで、コマンド信号が同期交信方式を採用した同期交信方式コマンド信号とするか、非同期交信方式を採用した非同期交信方式コマンド信号とするかは、通信内容に応じて選択的に採用する。具体的には、通常の命令内容のように信頼性が要求される伝達の場合には、同期交信方式コマンド信号を採用し、信頼性よりも迅速性が要求されるレンズの位置情報要求などの伝達の場合には、非同期交信方式コマンド信号を採用する。同期交信方式コマンド信号を用いる通信内容としては、フォーカスレンズ駆動や手ぶれ補正開始などを挙げることができる。非同期交信方式コマンド信号を用いる通信内容としては、フォーカスレンズ位置やズームレンズ位置などの状態情報の要求などを挙げることができる。   First, when the camera main body side control device 10C is turned on, in step SC1, the command signal transmitted to the lens unit side control device 20C is a synchronous communication method command signal or an asynchronous communication method command signal. Determine whether or not. Here, whether the command signal is a synchronous communication method command signal adopting a synchronous communication method or an asynchronous communication method command signal adopting an asynchronous communication method is selectively adopted according to the contents of communication. Specifically, in the case of transmissions that require reliability as in the case of normal command contents, a synchronous communication method command signal is adopted, and a lens position information request that requires more speed than reliability is used. In the case of transmission, an asynchronous communication method command signal is adopted. Examples of communication contents using the synchronous communication method command signal include driving a focus lens and starting camera shake correction. Examples of communication contents using the asynchronous communication method command signal include a request for status information such as a focus lens position and a zoom lens position.

カメラ本体側制御装置10Cは、ステップSC1において、レンズユニット側制御装置20Cに送信するコマンド信号が同期交信方式コマンド信号である場合には、ステップSC2に進み、非同期交信方式コマンド信号である場合には、ステップSC10に進む。以下、同期交信方式による通信動作と、非同期交信方式による通信動作に分けて説明する。   When the command signal to be transmitted to the lens unit side control device 20C is a synchronous communication method command signal in step SC1, the camera body side control device 10C proceeds to step SC2, and when the command signal is an asynchronous communication method command signal. The process proceeds to step SC10. Hereinafter, the communication operation using the synchronous communication method and the communication operation using the asynchronous communication method will be described separately.

<同期交信方式による通信動作>
レンズユニット側制御装置20Cに送信するコマンド信号が同期交信方式コマンド信号である場合には、ステップSC2において、カメラ本体側制御装置10Cは、現在新たな同期交信方式コマンド信号の送信が禁止されているか否かを判断する。ここでは、まだ新たな同期交信方式コマンド信号の送信が禁止されていないため、ステップSC3に進む。ステップSC3において、カメラ本体側制御装置10Cは、レンズユニット側制御装置20Cに同期交信方式コマンド信号を送信する(図4参照)。当該同期交信方式における通信プロトコルは、常時、カメラ本体側制御装置10Cを要求局、レンズユニット側制御装置20Cを受付局とし、要求局であるカメラ本体側制御装置10Cがコマンド信号を発行し、受付局であるレンズユニット側制御装置20Cがレスポンス信号を発行し、受付局からのコマンド信号の発行は行わないものとする。
<Communication operation by synchronous communication method>
If the command signal to be transmitted to the lens unit side control device 20C is a synchronous communication method command signal, whether or not the camera body side control device 10C is currently prohibited from transmitting a new synchronous communication method command signal in step SC2. Judge whether or not. Here, since transmission of a new synchronous communication method command signal has not been prohibited, the process proceeds to step SC3. In Step SC3, the camera main body side control device 10C transmits a synchronous communication method command signal to the lens unit side control device 20C (see FIG. 4). The communication protocol in the synchronous communication method is that the camera body side control device 10C is always a request station and the lens unit side control device 20C is a reception station, and the camera body side control device 10C, which is the request station, issues a command signal and receives It is assumed that the lens unit side control device 20C, which is a station, issues a response signal and does not issue a command signal from the receiving station.

当該同期交信方式コマンド信号の送信は、パケット通信を採用する。当該パケット通信を用いたコマンド信号は、例えば、表1に示すパケットフォーマットに従って構成される。表1において、パケット番号は、パケット発行ごとに+1されていく通し番号であり、要求局であるカメラ本体側制御装置10Cにより任意のタイミングで0にリセットすることができる。   Transmission of the synchronous communication mode command signal employs packet communication. The command signal using the packet communication is configured according to the packet format shown in Table 1, for example. In Table 1, the packet number is a serial number that is incremented by 1 every time the packet is issued, and can be reset to 0 at an arbitrary timing by the camera body side control device 10C that is the requesting station.

Figure 0006407538
Figure 0006407538

また、当該パケット通信により行われる同期交信方式コマンド信号の前部に位置する「機能番号」は、当該コマンド信号が同期交信方式によるものか、非同期交信方式によりものかを識別することが可能な符号により構成されることが好ましい。ここでは、同期交信方式によるコマンド信号を送信するため、当該機能番号には、同期交信方式であることを識別可能とする符号が付される。   In addition, the “function number” located at the front of the synchronous communication method command signal performed by the packet communication is a code that can identify whether the command signal is a synchronous communication method or an asynchronous communication method. It is preferable that it is comprised. Here, in order to transmit the command signal by a synchronous communication system, the code | symbol which can identify that it is a synchronous communication system is attached | subjected to the said function number.

一方、レンズユニット側制御装置20Cは、ステップSL1において、カメラ本体側制御装置10Cからコマンド信号を受信したか否かを判断する。レンズユニット側制御装置20Cがカメラ本体側制御装置10Cからコマンド信号を受信した場合には、ステップSL2に進み、当該受信したコマンド信号が、同期交信方式コマンド信号であるか否かを判断する。ここでは、受信したコマンド信号は、同期交信方式コマンド信号であるため、ステップSL3に進み、受付局であるレンズユニット側制御装置20Cは、コマンド信号に含まれたコマンドの指示内容に応じた処理を実行し(図4参照)、その後、ステップSL4において、要求局であるカメラ本体側制御装置10Cに対し、図4に示すように、レスポンス信号を送信して、レンズユニット側制御装置20Cに送信は、当該同期交信方式による通信を完了させ、ステップSL1に戻る。   On the other hand, the lens unit side control device 20C determines whether or not a command signal is received from the camera body side control device 10C in step SL1. When the lens unit side control device 20C receives a command signal from the camera body side control device 10C, the process proceeds to step SL2, and it is determined whether or not the received command signal is a synchronous communication method command signal. Here, since the received command signal is a synchronous communication method command signal, the process proceeds to step SL3, and the lens unit-side control device 20C, which is the receiving station, performs processing according to the instruction content of the command included in the command signal. Then, in step SL4, as shown in FIG. 4, a response signal is transmitted to the camera body side control device 10C, which is the requesting station, and is transmitted to the lens unit side control device 20C. Then, the communication by the synchronous communication method is completed, and the process returns to step SL1.

ここで、当該同期交信方式におけるレスポンス信号は、同期交信方式コマンド信号と同様に、パケット通信を採用する。当該パケット通信を用いたレスポンス信号は、例えば、表2に示すパケットフォーマットに従って構成される。表2において、パケット番号は、対となる受信したコマンド信号において用いられたものと同じ番号である。表1のパケットフォーマットと表2のパケットフォーマットとからわかるように、当該レスポンス信号は、受信したコマンド信号の内容を含むものである。   Here, the response signal in the synchronous communication method adopts packet communication as in the synchronous communication method command signal. The response signal using the packet communication is configured according to the packet format shown in Table 2, for example. In Table 2, the packet number is the same number used in the received received command signal. As can be seen from the packet format in Table 1 and the packet format in Table 2, the response signal includes the contents of the received command signal.

Figure 0006407538
Figure 0006407538

当該レスポンス信号の送信は、カメラ本体側制御装置10Cがレンズユニット側制御装置20Cへコマンド信号の送信を完了してから、所定時間、例えば10Sec以内に行うことが好ましい。   The response signal is preferably transmitted within a predetermined time, for example, 10 Sec, after the camera main body side control device 10C completes the transmission of the command signal to the lens unit side control device 20C.

なお、レンズユニット側制御装置20Cは、カメラ本体側制御装置10Cから受信したコマンド信号が通信内容の欠落や破損等のエラーを含むものであるかどうかをチェックし、エラーを含むものである場合には、コマンド信号がエラーを含むものであった旨の異常信号をカメラ本体側制御装置10Cに送信する。カメラ本体側制御装置10Cは、異常信号を受信した場合には、再度、前回と同様のコマンド内容を含むコマンド信号をレンズユニット側制御装置20Cに送信する。   The lens unit side control device 20C checks whether or not the command signal received from the camera body side control device 10C includes an error such as missing or damaged communication contents, and if it includes an error, the command signal Is transmitted to the camera main body side control device 10C. When the camera main body side control device 10C receives the abnormal signal, the camera body side control device 10C transmits again a command signal including the same command content as the previous one to the lens unit side control device 20C.

他方、上述したステップSC3において、カメラ本体側制御装置10Cは、同期交信方式コマンド信号を送信した後、ステップSC4に進み、当該同期交信方式コマンド信号とは異なる内容の新たな同期交信方式コマンド信号の送信を禁止する。その後、ステップSC5に進み、レンズユニット側制御装置20Cから送信されたレスポンス信号を受信したか否かを判断する。レスポンス信号を受信していない場合には、カメラ本体側制御装置10Cは、ステップSC6に進み、カメラ本体側制御装置10Cは、前回の同期交信方式コマンド信号の送信を完了してから所定時間、例えば、10Secが経過したか否かを判断し、所定時間が経過していない場合にはステップSC2に戻る。SC6において、前回の同期交信方式コマンド信号の送信を完了してから所定時間が経過した場合には、適切にコマンド信号をレンズユニット側制御装置20Cに送信できなかったものと判断して、ステップSC7に進んで、前回と同様のコマンド内容を含む同期交信方式コマンド信号をレンズユニット側制御装置20Cに再送し、その後、ステップSC5に戻る。   On the other hand, in step SC3 described above, the camera main body side control device 10C transmits the synchronous communication method command signal, and then proceeds to step SC4, where a new synchronous communication method command signal having a content different from that of the synchronous communication method command signal. Prohibit transmission. Thereafter, the process proceeds to step SC5, and it is determined whether or not a response signal transmitted from the lens unit side control device 20C has been received. If the response signal is not received, the camera body-side control device 10C proceeds to step SC6, and the camera body-side control device 10C completes the transmission of the previous synchronous communication method command signal for a predetermined time, for example, It is determined whether or not 10Sec has elapsed. If the predetermined time has not elapsed, the process returns to step SC2. In SC6, when a predetermined time has elapsed since the transmission of the previous synchronous communication method command signal was completed, it is determined that the command signal could not be properly transmitted to the lens unit side controller 20C, and step SC7. Then, the synchronous communication method command signal including the same command content as the previous one is retransmitted to the lens unit side control device 20C, and then the process returns to step SC5.

ステップSC6において、前回の同期交信方式コマンド信号の送信を完了してから所定時間が経過していない場合には、ステップSC2に戻る。この場合、ステップSC4において新たな同期送信コマンド信号の送信が禁止されているため、ステップSC2からステップSC5に進む。当該ステップSC5、SC6、SC2を繰り返すことにより、カメラ本体側制御装置10Cが正常にレンズユニット側制御装置20Cからレスポンス信号を受信した場合には、ステップS5において、ステップSC8に進み、新たな同期交信方式コマンド信号の送信禁止を解除し、その後、当該カメラ本体側制御装置10Cは、当該同期交信方式による通信を完了して、ステップSC1に戻る。   If it is determined in step SC6 that the predetermined time has not elapsed since the transmission of the previous synchronous communication method command signal was completed, the process returns to step SC2. In this case, since transmission of a new synchronous transmission command signal is prohibited in step SC4, the process proceeds from step SC2 to step SC5. If the camera body side control device 10C normally receives the response signal from the lens unit side control device 20C by repeating the steps SC5, SC6, SC2, the process proceeds to step SC8 in step S5, and a new synchronous communication is performed. The prohibition of transmission of the method command signal is canceled, and then the camera main body side control device 10C completes communication by the synchronous communication method, and returns to step SC1.

<非同期交信方式による通信動作>
レンズユニット側制御装置20Cに送信するコマンド信号が非同期交信方式コマンド信号である場合には、カメラ本体側制御装置10Cは、ステップSC10に進み、当該ステップSC10において、レンズユニット側制御装置20Cに非同期交信方式コマンド信号を送信する(図5、図6、図7参照)。当該非同期交信方式における通信プロトコルは、常時、カメラ本体側制御装置10Cを要求局、レンズユニット側制御装置20Cを受付局とし、要求局であるカメラ本体側制御装置10Cがコマンド信号を発行し、受付局であるレンズユニット側制御装置20Cは、要求局に対してレスポンス信号を発行しないものとする。
<Communication operation by asynchronous communication method>
When the command signal transmitted to the lens unit side control device 20C is an asynchronous communication method command signal, the camera body side control device 10C proceeds to step SC10, and in step SC10, the lens unit side control device 20C is asynchronously communicated. A system command signal is transmitted (see FIGS. 5, 6, and 7). The communication protocol in the asynchronous communication method always uses the camera body side control device 10C as a request station and the lens unit side control device 20C as a reception station, and the camera body side control device 10C as a request station issues a command signal and receives it. It is assumed that the lens unit side control device 20C as a station does not issue a response signal to the requesting station.

当該非同期交信方式コマンド信号の送信は、パケット通信を採用する。当該パケット通信を用いたコマンド信号は、上述した同期交信方式コマンド信号において例示したパケットフォーマットと同様に構成される。   The asynchronous communication method command signal is transmitted using packet communication. The command signal using the packet communication is configured in the same manner as the packet format exemplified in the above-described synchronous communication method command signal.

当該パケット通信により行われる非同期交信方式コマンド信号の前部に位置する「機能番号」は、当該コマンド信号が同期交信方式によるものか、非同期交信方式によりものかを識別することが可能な符号により構成されることが好ましい。ここでは、非同期交信方式によるコマンド信号を送信するため、当該機能番号には、非同期交信方式であることを識別可能とする符号が付される。   The "function number" located at the front of the asynchronous communication method command signal performed by the packet communication is configured with a code that can identify whether the command signal is based on the synchronous communication method or the asynchronous communication method. It is preferred that Here, in order to transmit the command signal by the asynchronous communication method, the function number is assigned a code that makes it possible to identify the asynchronous communication method.

一方、レンズユニット側制御装置20Cは、ステップSL1において、カメラ本体側制御装置10Cからコマンド信号を受信したか否かを判断する。レンズユニット側制御装置20Cがカメラ本体側制御装置10Cからコマンド信号を受信した場合には、上述した同期交信方式による通信動作と同様に、ステップSL2に進み、当該受信したコマンド信号が、同期交信方式コマンド信号であるか否かを判断する。ここでは、受信したコマンド信号は、非同期交信方式コマンド信号であるため、ステップSL5に進む。なお、レンズユニット側制御装置20Cは、カメラ本体側制御装置10Cから受信したコマンド信号が通信内容の欠落や破損等のエラーを含むものであるかどうかをチェックし、エラーを含むものであると判断した場合には、異常信号をカメラ本体側制御装置10Cに送信することなくコマンド信号を廃棄し、ステップSL1に戻る。レンズユニット側制御装置20Cが受信したコマンド信号が正常である場合には、レンズユニット側制御装置20Cは、ステップSL5において、コマンド信号に含まれたコマンドの指示内容にビーコン発信の要求があるか否かを判断する。   On the other hand, the lens unit side control device 20C determines whether or not a command signal is received from the camera body side control device 10C in step SL1. When the lens unit side control device 20C receives a command signal from the camera body side control device 10C, the process proceeds to step SL2 in the same manner as the communication operation by the synchronous communication method described above, and the received command signal is converted into the synchronous communication method. It is determined whether it is a command signal. Here, since the received command signal is an asynchronous communication method command signal, the process proceeds to step SL5. The lens unit side control device 20C checks whether or not the command signal received from the camera main body side control device 10C includes an error such as missing or damaged communication contents, and determines that it includes an error. Then, the command signal is discarded without transmitting the abnormal signal to the camera main body side control device 10C, and the process returns to step SL1. If the command signal received by the lens unit side control device 20C is normal, the lens unit side control device 20C determines whether there is a request for beacon transmission in the instruction content of the command included in the command signal in step SL5. Determine whether.

ここで、「ビーコン発信」とは、非同期交信方式コマンド信号に含むことができるカメラ本体側制御装置10Cからレンズユニット側制御装置20Cへのビーコン信号の返送の要求である。なお、「ビーコン」とは、当該非同期通信において使用するパケットの形態をいう。具体的には、上述したようなヘッダとフッダを含むパケット通信とは異なり、表3に示すようにヘッダとフッタを含まずに、1バイトオーダーのビーコンID信号と、状態信号と、チェックサム等からなる。ゆえに、状態信号には、非同期交信方式コマンド信号に含まれたコマンドの指示内容に応じたレンズ位置情報などの状態信号を含めることができる。   Here, “beacon transmission” is a request to return a beacon signal from the camera body side control device 10C to the lens unit side control device 20C that can be included in the asynchronous communication method command signal. Note that the “beacon” refers to a packet format used in the asynchronous communication. Specifically, unlike the packet communication including the header and footer as described above, as shown in Table 3, the header and footer are not included, but a 1-byte order beacon ID signal, a status signal, a checksum, etc. Consists of. Therefore, the status signal can include a status signal such as lens position information corresponding to the instruction content of the command included in the asynchronous communication method command signal.

Figure 0006407538
Figure 0006407538

ステップSL5において、レンズユニット側制御装置20Cが受信したコマンド信号に、ビーコン発信要求が含まれていない場合には、ステップSL6に進み、当該コマンド信号に含まれたコマンドの内容に応じた処理を実行し、レンズユニット側制御装置20Cは、カメラ本体側制御装置10Cに対してレスポンス信号を送信することなく、当該非同期交信方式による通信を完了させ、ステップSL1に戻る(図5参照)。当該コマンド信号にビーコン発信要求が含まれていない例としては、レンズユニット側に対してレンズ位置等の制御のみを行い、現在のレンズ位置情報等を必要としない場合などが挙げられる。   In step SL5, when the command signal received by the lens unit side control device 20C does not include a beacon transmission request, the process proceeds to step SL6, and processing corresponding to the content of the command included in the command signal is executed. Then, the lens unit side control device 20C completes communication by the asynchronous communication method without transmitting a response signal to the camera body side control device 10C, and returns to step SL1 (see FIG. 5). An example in which the command signal does not include a beacon transmission request includes a case where only control of the lens position or the like is performed on the lens unit side and current lens position information or the like is not required.

同様に、カメラ本体側制御装置10Cにおいても、上述したステップSC10において非同期交信方式コマンド信号を送信した後、当該カメラ本体側制御装置10Cは、ステップSC11に進み、当該送信した非同期交信方式コマンド信号がビーコン発信要求を含むか否かを判断する。ビーコン発信要求を含まない場合には、カメラ本体側制御装置10Cは、非同期交信方式による通信を完了して、ステップSC1に戻る。   Similarly, in the camera main body side control device 10C, after transmitting the asynchronous communication method command signal in step SC10 described above, the camera main body side control device 10C proceeds to step SC11, and the transmitted asynchronous communication method command signal is received. It is determined whether or not a beacon transmission request is included. When the beacon transmission request is not included, the camera main body side control device 10C completes the communication using the asynchronous communication method and returns to step SC1.

一方、上述したステップSL5において、レンズユニット側制御装置20Cが受信したコマンド信号に、ビーコン発信要求が含まれている場合には、レンズユニット側制御装置20Cは、ステップSL7に進む。当該ステップSL7において、レンズユニット側制御装置20Cは、受信したコマンド信号の内容が周期的に、すなわち、所定時間毎に、処理の実行やビーコン発信を行うことが含まれているか否かを判断する。   On the other hand, if the command signal received by the lens unit side control device 20C includes a beacon transmission request in step SL5 described above, the lens unit side control device 20C proceeds to step SL7. In step SL7, the lens unit-side control device 20C determines whether or not the content of the received command signal includes performing processing or performing beacon transmission periodically, that is, every predetermined time. .

周期的な処理の実行やビーコン発信を行うことを含むコマンド信号ではない場合には、レンズユニット側制御装置20Cは、ステップSL8に進み、当該コマンド信号に含まれたコマンドの内容に応じた処理を実行する。その後、ステップSL9に進み、レンズユニット側制御装置20Cは、カメラ本体側制御装置10Cに対してレスポンス信号とは異なる上述したビーコン信号を送信し、当該非同期交信方式による通信を完了させ、ステップSL1に戻る。当該ビーコン信号には、上述したように、ビーコンID信号の他に、非同期交信方式コマンド信号に含まれたコマンドの指示内容に応じた状態信号を含めることができる。   If the command signal does not include execution of periodic processing or beacon transmission, the lens unit control device 20C proceeds to step SL8 and performs processing according to the content of the command included in the command signal. Run. Thereafter, the process proceeds to step SL9, and the lens unit side control device 20C transmits the above-described beacon signal different from the response signal to the camera body side control device 10C, completes the communication by the asynchronous communication method, and proceeds to step SL1. Return. As described above, in addition to the beacon ID signal, the beacon signal can include a status signal corresponding to the instruction content of the command included in the asynchronous communication method command signal.

同様に、カメラ本体側制御装置10Cにおいても、上述したステップSC11において非同期交信方式コマンド信号がビーコン発信を含むと判断した場合には、当該カメラ本体側制御装置10Cは、ステップSC12に進み、当該送信した非同期交信方式コマンド信号の内容が、周期的に、すなわち、所定時間毎に、処理の実行やビーコン発信を行うことが含まれているか否かを判断する。周期的な処理の実行やビーコン発信を行うことを含むコマンド信号ではない場合には、カメラ本体側制御装置10Cは、ステップSC13に進み、レンズユニット側制御装置20Cから送信されたビーコン信号を受信したか否かを判断する。ビーコン信号を受信していない場合には、カメラ本体側制御装置10Cは、ステップSC14に進み、カメラ本体側制御装置10Cは、前回の非同期交信方式コマンド信号の送信を完了してから所定時間、例えば、10Secが経過したか否かを判断する。SC14において、前回の非同期交信方式コマンド信号の送信を完了してから所定時間が経過した場合には、適切にコマンド信号をレンズユニット側制御装置20Cに送信できなかったものと判断して、ステップSC15に進んで、前回と同様のコマンド内容を含む非同期交信方式コマンド信号をレンズユニット側制御装置20Cに再送し、その後、ステップSC11に戻る。   Similarly, in the camera main body side control device 10C, if it is determined in step SC11 described above that the asynchronous communication method command signal includes beacon transmission, the camera main body side control device 10C proceeds to step SC12 and performs the transmission. It is determined whether or not the contents of the asynchronous communication method command signal include processing execution and beacon transmission periodically, that is, at predetermined time intervals. When the command signal does not include execution of periodic processing or beacon transmission, the camera body side control device 10C proceeds to step SC13 and receives the beacon signal transmitted from the lens unit side control device 20C. Determine whether or not. When the beacon signal is not received, the camera body-side control device 10C proceeds to step SC14, and the camera body-side control device 10C completes the transmission of the previous asynchronous communication method command signal for a predetermined time, for example, It is determined whether 10Sec has elapsed. In SC14, when a predetermined time has elapsed since the previous transmission of the asynchronous communication method command signal was completed, it is determined that the command signal could not be properly transmitted to the lens unit side controller 20C, and step SC15. Then, the asynchronous communication method command signal including the same command content as the previous one is retransmitted to the lens unit side control device 20C, and then the process returns to step SC11.

ステップSC14において、前回の非同期交信方式コマンド信号の送信を完了してから所定時間が経過していない場合には、ステップSC13に戻る。カメラ本体側制御装置10Cが正常にレンズユニット側制御装置20Cからビーコン信号を受信した場合には、当該カメラ本体側制御装置10Cは、当該非同期交信方式による通信を完了して、ステップSC1に戻る。   In step SC14, if the predetermined time has not elapsed since the previous transmission of the asynchronous communication method command signal was completed, the process returns to step SC13. When the camera main body side control device 10C normally receives the beacon signal from the lens unit side control device 20C, the camera main body side control device 10C completes the communication by the asynchronous communication method and returns to step SC1.

一方、レンズユニット側制御装置20Cは、上述したステップSL7において、受信したコマンド信号の内容が周期的な処理の実行やビーコン発信を行うことを含むコマンド信号である場合には、レンズユニット側制御装置20Cは、ステップSL10に進み、当該コマンド信号にビーコン信号の停止要求が含まれているか否かを判断する。ステップSL10において、コマンド信号にビーコン信号の停止要求が含まれていない場合には、レンズユニット側制御装置20Cは、ステップSL11に進み、当該コマンド信号に含まれたコマンドの内容に応じた処理を実行する(図6参照)。その後、ステップSL12に進み、レンズユニット側制御装置20Cは、カメラ本体側制御装置10Cに対して上述したビーコン信号を送信し、ステップSL13に進む。   On the other hand, when the content of the received command signal is a command signal including execution of periodic processing or beacon transmission in step SL7 described above, the lens unit side control device 20C 20C proceeds to step SL10, and determines whether or not the command signal includes a beacon signal stop request. If the command signal does not include a beacon signal stop request in step SL10, the lens unit side control device 20C proceeds to step SL11 and executes processing corresponding to the content of the command included in the command signal. (See FIG. 6). Thereafter, the process proceeds to step SL12, and the lens unit side control device 20C transmits the above-described beacon signal to the camera body side control device 10C, and then proceeds to step SL13.

当該ステップSL10以降では、カメラ本体側制御装置10Cから送信されたコマンド信号には、周期的な処理の実行やビーコン発信を行う内容が含まれているため、レンズユニット側制御装置20Cは、ステップSL13において、前回の処理の実行又はビーコン発信から所定時間が経過したか否かを判断する。ステップSL13において、所定時間が経過したものと判断された場合、レンズユニット側制御装置20Cは、ステップSL10に戻る。よって、レンズユニット側制御装置20Cは、ステップSL10〜ステップSL13を繰り返すことにより、カメラ本体側制御装置10Cから新たなコマンド信号を受信することなく、レンズユニット側制御装置20Cは、当該コマンド信号のコマンド内容に従って、周期的に処理の実行及びカメラ本体側制御装置10Cへのビーコン信号の送信を行うことが可能となる(図6参照)。   In step SL10 and subsequent steps, the command signal transmitted from the camera main body side control device 10C includes contents for performing periodic processing and beacon transmission, and therefore the lens unit side control device 20C is configured to execute step SL13. In step (1), it is determined whether or not a predetermined time has elapsed since the previous execution of the process or beacon transmission. If it is determined in step SL13 that the predetermined time has elapsed, the lens unit control device 20C returns to step SL10. Therefore, the lens unit side control device 20C repeats steps SL10 to SL13, so that the lens unit side control device 20C receives the command of the command signal without receiving a new command signal from the camera body side control device 10C. According to the contents, it is possible to periodically execute processing and transmit a beacon signal to the camera main body side control device 10C (see FIG. 6).

当該周期的な処理の実行及びビーコン発信を行っている間に、別途、カメラ本体側制御装置10Cからビーコン発信の停止要求があった場合には、ステップSL10において、レンズユニット側制御装置20Cは、ステップSL14に進み、以後の周期的な処理の実行及びビーコン発信を停止して、当該非同期交信方式による通信を完了させ、ステップSL1に戻る(図7参照)。   During the execution of the periodic processing and the beacon transmission, if there is a separate beacon transmission stop request from the camera main body side control device 10C, in step SL10, the lens unit side control device 20C Proceeding to step SL14, the execution of the subsequent periodic processing and beacon transmission are stopped, communication by the asynchronous communication method is completed, and the process returns to step SL1 (see FIG. 7).

他方、カメラ本体側制御装置10Cは、上述したステップSC12において、送信した非同期交信方式コマンド信号の内容が、周期的に、すなわち、所定時間毎に、処理の実行やビーコン発信を行うことが含まれていると判断した場合には、カメラ本体側制御装置10Cは、ステップSC16に進み、カメラ本体側制御装置10Cから当該非同期交信方式コマンド信号に対する周期的なビーコン発信を停止するビーコン信号の停止要求を含む新たな非同期交信方式コマンド信号を送信したか否かを判断する。   On the other hand, in step SC12, the camera body side control device 10C includes that the contents of the transmitted asynchronous communication method command signal are periodically executed, that is, performed at predetermined intervals, and beacon transmission. If it is determined that the camera main body side control device 10C proceeds to step SC16, the camera main body side control device 10C issues a beacon signal stop request to stop periodic beacon transmission from the asynchronous communication method command signal. It is determined whether or not a new asynchronous communication method command signal is transmitted.

当該ビーコン信号の停止要求を含む新たなコマンド信号を送信していない場合には、カメラ本体側制御装置10Cは、ステップSC17に進み、レンズユニット側制御装置20Cからビーコン信号を受信したか否かを判断する。ビーコン信号を受信していない場合には、カメラ本体側制御装置10Cは、ステップSC18に進み、カメラ本体側制御装置10Cは、前回の非同期交信方式コマンド信号の送信を完了してから、もしくは、前回のビーコン信号の受信から所定の待機時間、例えば、10Secが経過したか否かを判断する。SC18において、前回の非同期交信方式コマンド信号の送信を完了してから、もしくは、前回のビーコン信号の受信から所定の待機時間が経過した場合には、ステップSC19に進んで、前回と同様のコマンド内容を含む非同期交信方式コマンド信号をレンズユニット側制御装置20Cに再送し、その後、ステップSC11に戻る。   If a new command signal including a request to stop the beacon signal has not been transmitted, the camera body-side control device 10C proceeds to step SC17 and determines whether a beacon signal has been received from the lens unit-side control device 20C. to decide. If the beacon signal has not been received, the camera main body side control device 10C proceeds to step SC18, and the camera main body side control device 10C completes the transmission of the previous asynchronous communication method command signal or the previous time. It is determined whether or not a predetermined waiting time, for example, 10 Sec, has elapsed since the reception of the beacon signal. In SC18, after the transmission of the previous asynchronous communication method command signal is completed, or when a predetermined waiting time has elapsed since the reception of the previous beacon signal, the process proceeds to step SC19 and the same command content as in the previous time is received. Asynchronous communication method command signal including is retransmitted to the lens unit side controller 20C, and then the process returns to step SC11.

ステップSC18において、前回の非同期交信方式コマンド信号の送信を完了してから、もしくは、前回のビーコン信号の受信から所定の待機時間が経過していない場合には、ステップSC17に戻る。カメラ本体側制御装置10Cが正常にレンズユニット側制御装置20Cからビーコン信号を受信した場合には、当該カメラ本体側制御装置10Cは、ステップSC20に進み、待機時間をリセットして、ステップSC16に戻る。   In step SC18, the transmission of the previous asynchronous communication method command signal is completed, or if the predetermined standby time has not elapsed since the reception of the previous beacon signal, the process returns to step SC17. When the camera main body side control device 10C normally receives the beacon signal from the lens unit side control device 20C, the camera main body side control device 10C proceeds to step SC20, resets the standby time, and returns to step SC16. .

当該周期的なビーコン信号の受信を行っている間に、別途、カメラ本体側制御装置10Cにおいてビーコン発信の停止要求が発生した場合には、カメラ本体側制御装置10Cは、ステップSC16からステップSC21に進む。当該ステップSC21において、カメラ本体側制御装置10Cは、以後の周期的な処理の実行及びビーコン発信を停止する内容の非同期交信方式コマンド信号(ビーコン発信停止要求)をレンズユニット側制御装置20Cに送信する。その後、カメラ本体側制御装置10CはステップSC22に進み、ビーコン発信停止要求のコマンド信号の送信を完了してから所定時間、例えば10Secが経過する間に、レンズユニット側制御装置20Cに送信からビーコン信号を受信したか否かを判断する。ステップSC22においてカメラ本体側制御装置10Cがビーコン発信停止要求後にビーコン信号を受信した場合には、ステップSC21に戻り、再度、ビーコン発信停止要求のコマンド信号を送信する。ステップSC22において、ビーコン発信停止要求のコマンド信号の送信を完了してから所定時間内にビーコン信号を受信しなかった場合には、カメラ本体側制御装置10Cは、当該非同期交信方式による通信を完了させ、ステップSC1に戻る。   If a request to stop beacon transmission is generated in the camera main body side control device 10C while receiving the periodic beacon signal, the camera main body side control device 10C proceeds from step SC16 to step SC21. move on. In step SC21, the camera body-side control device 10C transmits an asynchronous communication method command signal (beacon transmission stop request) with a content for stopping execution of the subsequent periodic processing and beacon transmission to the lens unit-side control device 20C. . Thereafter, the camera body-side control device 10C proceeds to step SC22, and transmits a beacon signal from the transmission to the lens unit-side control device 20C while a predetermined time, for example, 10Sec, elapses after the transmission of the command signal for beacon transmission stop request is completed. Is received. When the camera main body side control device 10C receives a beacon signal after a beacon transmission stop request in step SC22, the process returns to step SC21 and transmits a command signal for a beacon transmission stop request again. In step SC22, if the beacon signal is not received within a predetermined time after the transmission of the beacon transmission stop request command signal is completed, the camera body side control device 10C completes the communication using the asynchronous communication method. Return to step SC1.

上述した如き実施の形態では、コマンド信号を送信する一方の制御装置をカメラ本体側制御装置10Cとし、コマンド信号を受信する他方の制御装置をレンズユニット側制御装置20Cとすることを例に挙げて説明している。本件発明では、コマンド信号を送信する制御装置と、コマンド信号を受信する制御装置とは、これに限定されるものではなく、通信内容に応じて、変更してもよい。すなわち、通信内容に応じて、コマンド信号を送信する制御装置と、コマンド信号を受信する制御装置とを任意に変更し、複数の通信内容に関する通信を同時に並行して行ってもよい。   In the embodiment as described above, one control device that transmits a command signal is the camera body side control device 10C, and the other control device that receives the command signal is the lens unit side control device 20C. Explains. In the present invention, the control device that transmits the command signal and the control device that receives the command signal are not limited to this, and may be changed according to the communication content. That is, according to the communication content, the control device that transmits the command signal and the control device that receives the command signal may be arbitrarily changed, and communication regarding a plurality of communication content may be performed simultaneously in parallel.

上述したように、本件発明のカメラシステムの通信制御方法では、カメラ本体側制御装置10Cとレンズユニット側制御装置20Cとの間で行う通信内容が、迅速性よりも信頼性が優先されるものである場合には、一方の制御装置から送信されたコマンド信号に対して、他方の制御装置が一方の制御装置にレスポンス信号を送信する同期交信方式を採用することで、カメラ本体側制御装置10Cとレンズユニット側制御装置20Cとの間で確実性の高い通信を行うことができる。   As described above, in the communication control method of the camera system of the present invention, the content of communication performed between the camera main body side control device 10C and the lens unit side control device 20C has priority on reliability over speed. In some cases, by adopting a synchronous communication system in which the other control device transmits a response signal to one control device in response to a command signal transmitted from one control device, Highly reliable communication can be performed with the lens unit side control device 20C.

そして、カメラ本体側制御装置10Cとレンズユニット側制御装置20Cとの間で行う通信内容が、信頼性よりも迅速性が優先されるものである場合、一方の制御装置から送信されたコマンド信号に対して、他方の制御装置が一方の制御装置にレスポンス信号の送信を行わない非同期交信方式を採用することで、応答を省き、無駄な通信を低減することによって、リアルタイム性の高い迅速な制御を行うことができる。   If the communication content performed between the camera main body side control device 10C and the lens unit side control device 20C is such that speed is given priority over reliability, the command signal transmitted from one control device is used. On the other hand, by adopting an asynchronous communication method in which the other control device does not transmit a response signal to one control device, the response is omitted and wasteful communication is reduced, so that real-time quick control can be performed. It can be carried out.

よって、カメラ本体側制御装置10Cとレンズユニット側制御装置20Cとの間で通信される信頼性や迅速性が異なる種々の通信内容は、それぞれの優先内容に応じて、通信に用いる方式を使い分けることにより、通常の命令内容の伝達の場合には、レスポンス信号の送信を要求する信頼性の高い通信を行い、信頼性よりも即時性が大きく優先される場合には、無駄な応答を低減して高速な通信制御を実現することが可能となる。   Therefore, for various communication contents with different reliability and speed that are communicated between the camera main body side control device 10C and the lens unit side control device 20C, a method used for communication is properly used according to each priority content. Therefore, in the case of normal command content transmission, highly reliable communication requiring response signal transmission is performed, and if immediacy is given priority over reliability, useless responses are reduced. High-speed communication control can be realized.

従って、本件発明によれば、応答不要な通信方式を含め、用途によって、必要な通信方式を選択し、同時に、かつ、並行的に使い分けることで、高度な情報伝達を可能とすることができる。   Therefore, according to the present invention, it is possible to transmit advanced information by selecting a necessary communication method depending on the application, including a communication method that does not require a response, and simultaneously using it in parallel.

さらに、上述したように、本実施の形態では、非同期交信方式を採用した通信において、レンズユニット側制御装置20Cは、コマンド信号のコマンド内容に応じて、データ信号を含んだビーコン信号を送信することを可能とする。よって、オートフォーカス制御等のリアルタイム性が要求され、高い頻度で情報要求が行われる制御において、レンズユニット側制御装置20Cは、最初のコマンド信号の受信のみでレンズ位置情報等を周期的にカメラ本体側制御装置10Cに送信することができる。従って、レンズ位置情報を取得するたびに行われるコマンド信号の送信等の無駄な通信を低減でき、リアルタイム性の高い迅速な制御を行うことが可能となる。また、上述した実施の形態では、当該非同期交信方式における通信において、コマンド信号の受信に応じデータ信号を含んだビーコン信号を送信する場合について説明しているが、本件発明はこれに限定されるものではなく、コマンド信号の受信の有無にかかわらず、他方の制御装置から一方の制御装置に対してデータ信号を含んだ単一の、もしくは、周期的なビーコン信号を送信してもよい。   Furthermore, as described above, in the present embodiment, in communication employing the asynchronous communication method, the lens unit side control device 20C transmits a beacon signal including a data signal according to the command content of the command signal. Is possible. Therefore, in control where real-time performance such as autofocus control is required and information is requested frequently, the lens unit side control device 20C periodically receives lens position information and the like only by receiving the first command signal. Can be transmitted to the side control device 10C. Therefore, useless communication such as transmission of a command signal performed every time lens position information is acquired can be reduced, and quick control with high real-time characteristics can be performed. In the above-described embodiment, the case where a beacon signal including a data signal is transmitted in response to reception of a command signal in communication in the asynchronous communication method has been described. However, the present invention is limited to this. Instead, a single or periodic beacon signal including a data signal may be transmitted from the other control device to one control device regardless of whether or not a command signal is received.

このような周期的なデータ信号からなるビーコン信号の他方の制御装置から一方の制御装置への送信は、一方の制御装置から任意に停止要求を行うことで停止することができる。よって、無駄な通信を低減することができる。   Transmission of the beacon signal composed of such a periodic data signal from the other control device to the one control device can be stopped by arbitrarily making a stop request from the one control device. Therefore, useless communication can be reduced.

上述した非同期交信方式を採用した通信において、一方の制御装置から送信されたコマンド信号がエラーを含むものと他方の制御装置が判断した場合には、異常信号を一方の制御装置に送信することなく、コマンド信号を廃棄して通信を終了する。ゆえに、一方の制御装置は、他方の制御装置から異常信号等の応答などを待つ必要がなくなり、よりいっそう迅速な処理を実現することが可能となる。   In communication employing the above-described asynchronous communication method, when the other control device determines that the command signal transmitted from one control device includes an error, an abnormal signal is not transmitted to the one control device. Then, the command signal is discarded and the communication is terminated. Therefore, it is not necessary for one control device to wait for a response such as an abnormal signal from the other control device, and it is possible to realize even faster processing.

また、本実施の形態では、同期交信方式の通信と、非同期交信方式の通信とは、コマンド信号の前部に付された符号により識別を行っている。ゆえに、通信方式を切り替えるための動作を格別に行う必要がなく、通信内容に応じて、同時に並行してこれら同期交信方式の通信と、非同期交信方式の通信とを使い分けることが可能となる。従って、一方の通信方式が採用されている場合に、他方の通信方式を採用することができなくなる不都合を回避することができ、通信内容に応じた円滑な通信制御を実現することができる。   In the present embodiment, the synchronous communication method communication and the asynchronous communication method communication are identified by a code attached to the front part of the command signal. Therefore, it is not necessary to perform an operation for switching the communication method, and it is possible to use both the synchronous communication method and the asynchronous communication method in parallel according to the communication contents. Therefore, when one communication method is adopted, it is possible to avoid the inconvenience that the other communication method cannot be adopted, and it is possible to realize smooth communication control according to communication contents.

さらに、本実施の形態における同期交信方式による通信動作では、上述したように、カメラ本体側制御装置10Cは、同期交信方式コマンド信号の送信後、レンズユニット側制御装置20Cからレスポンス信号を受信するため、現在送信している同期交信方式コマンド信号とは異なる内容の同期交信方式を採用したコマンド信号の送信を禁止する。ここで、本実施の形態では、同期交信方式コマンド信号の送信に対応する応答が完了するまでの間、カメラ本体側制御装置10Cは、非同期交信方式コマンド信号の送信は可能として、現在送信している同期交信方式コマンド信号とは異なる内容の新たな同期交信方式コマンド信号の送信のみを禁止する。よって、複数の同期交信方式コマンド信号が同時に並行してレンズユニット側制御装置20Cに送信される不都合を回避することができると共に、図9に示すように、非同期交信方式コマンド信号の送信を可能とすることで、即時性が要求されるコマンド信号の送信を可能とすることができる。従って、即時性が要求されるレンズ位置制御などを、即時性よりも信頼性が要求される通常の通信と並行して行うことができ、高度な情報処理を実現することが可能となる。   Further, in the communication operation by the synchronous communication method in the present embodiment, as described above, the camera body side control device 10C receives the response signal from the lens unit side control device 20C after transmitting the synchronous communication method command signal. The transmission of a command signal that employs a synchronous communication method having a content different from that of the currently transmitted synchronous communication method command signal is prohibited. Here, in the present embodiment, until the response corresponding to the transmission of the synchronous communication method command signal is completed, the camera body side control device 10C is allowed to transmit the asynchronous communication method command signal and currently transmits it. Only the transmission of a new synchronous communication method command signal having a content different from that of the existing synchronous communication method command signal is prohibited. Therefore, it is possible to avoid the inconvenience that a plurality of synchronous communication method command signals are simultaneously transmitted to the lens unit side control device 20C, and it is possible to transmit an asynchronous communication method command signal as shown in FIG. By doing so, it is possible to transmit a command signal that requires immediacy. Therefore, lens position control that requires immediacy can be performed in parallel with normal communication that requires more reliability than immediacy, and advanced information processing can be realized.

なお、上述した如き本実施の形態では、中赤外や遠赤外の撮像を可能とする赤外線カメラシステム1を例に挙げて説明したが、本件発明に係るカメラシステムは、当該遠赤外線カメラシステム1に限定されるものではない。また、本実施の形態では、レンズユニット20が備えるレンズユニット側制御装置20Cと通信を行う制御装置として、カメラ本体10が備えるカメラ本体側制御装置10Cを例に挙げて説明したが、本件発明はこれに限定されるものではなく、例えば、外部の監視用制御装置の上位側制御装置を採用してもよい。   In the present embodiment as described above, the infrared camera system 1 that enables mid-infrared and far-infrared imaging has been described as an example. However, the camera system according to the present invention includes the far-infrared camera system. It is not limited to 1. In the present embodiment, the camera body side control device 10C included in the camera body 10 is described as an example of the control device that communicates with the lens unit side control device 20C included in the lens unit 20, but the present invention is described. However, the present invention is not limited to this. For example, a higher-level control device of an external monitoring control device may be employed.

また、本実施の形態では、カメラ本体側制御装置10Cとレンズユニット側制御装置20Cとの通信方式として、全二重調歩同期式のシリアル通信方式を採用しているが、本件発明はこれに限定されるものではなく、同期式シリアル通信方式等のカメラ本体側制御装置10Cとレンズユニット側制御装置20Cとの間でデータ信号等の授受を行う方式であれば、いずれの通信方式を採用してもよい。   In the present embodiment, a full-duplex asynchronous serial communication system is employed as a communication system between the camera body side control device 10C and the lens unit side control device 20C. However, the present invention is limited to this. As long as it is a system that exchanges data signals and the like between the camera body side control device 10C and the lens unit side control device 20C, such as a synchronous serial communication method, any communication method is adopted. Also good.

本件発明に係るカメラシステムの通信制御方法は、上位側制御手段とレンズユニット側制御手段との間で行う通信内容の迅速性や信頼性に応じて、一方の制御手段から送信されたコマンド信号に対して、他方の制御手段がレスポンス信号を送信する同期交信方式と、他方の制御手段が一方の制御手段にレスポンス信号の送信を行わない非同期交信方式とを選択的に採用すること。よって、迅速性が要求される通信内容を送信する場合のみ、応答を省き、無駄な通信を低減することによって、リアルタイム性の高い迅速な制御を行うことができる。   The communication control method of the camera system according to the present invention is based on the command signal transmitted from one control means according to the speed and reliability of the communication content performed between the upper control means and the lens unit control means. On the other hand, a synchronous communication method in which the other control means transmits a response signal and an asynchronous communication method in which the other control means does not transmit a response signal to one control means are selectively adopted. Therefore, only in the case of transmitting communication contents that require quickness, it is possible to perform quick control with high real-time property by omitting a response and reducing useless communication.

1 カメラシステム
2 DCLライン(第1通信線)
3 DLCライン(第2通信線)
10 カメラ本体
10C カメラ本体側制御装置(上位側制御手段)
11 撮像素子(イメージセンサ)
12 シャッタ
12M 駆動装置
13 カメラマウント
20 レンズユニット
20C レンズユニット側制御装置(レンズユニット側制御手段)
21 鏡筒
22 ズームレンズ
22M〜24M 駆動装置
23 フォーカスレンズ
25 レンズマウント
1 Camera system 2 DCL line (first communication line)
3 DLC line (second communication line)
10 Camera Body 10C Camera Body Control Device (Upper Control Unit)
11 Image sensor (image sensor)
12 Shutter 12M Drive device 13 Camera mount 20 Lens unit 20C Lens unit side control device (lens unit side control means)
21 Lens barrel 22 Zoom lens 22M to 24M Drive device 23 Focus lens 25 Lens mount

Claims (5)

レンズユニットを備えるカメラシステムの通信制御方法であって、
当該カメラシステムは、当該レンズユニットが備えたレンズユニット側制御手段と、当該レンズユニット側制御手段との間でデータ信号の授受を行う上位側制御手段とを備え、
当該レンズユニット側制御手段と当該上位側制御手段との間での通信方式として、
全二重調歩同期式のシリアル通信方式を用い、
一方の制御手段から送信された同期交信方式コマンド信号に対して、他方の制御手段が一方の制御手段に受信した同期交信方式コマンド信号の内容を含むレスポンス信号を送信して当該同期交信方式コマンド信号に含まれたコマンド内容に応じた制御を行う同期交信方式と、
一方の制御手段から送信された非同期交信方式コマンド信号に基づき、当該非同期交信方式コマンド信号に含まれたコマンド内容に応じた制御を行う非同期交信方式とを、
通信内容に応じて選択的に採用することを特徴とするカメラシステムの通信制御方法。
A communication control method for a camera system including a lens unit,
The camera system includes a lens unit-side control unit provided in the lens unit, and a higher-level control unit that exchanges data signals with the lens unit-side control unit.
As a communication method between the lens unit side control means and the higher order side control means,
Using full-duplex asynchronous serial communication system,
In response to the synchronous communication method command signal transmitted from one control means, the other control means transmits a response signal including the content of the synchronous communication method command signal received by the one control means, and the synchronous communication method command signal A synchronous communication method that performs control according to the command content included in the
Based on the asynchronous communication method command signal transmitted from one control means, an asynchronous communication method that performs control according to the command content included in the asynchronous communication method command signal,
A communication control method for a camera system, which is selectively adopted according to communication contents.
前記非同期交信方式を採用した通信において、前記他方の制御手段は、周期的に前記データ信号を前記一方の制御手段に送信する請求項1に記載のカメラシステムの通信制御方法。   2. The communication control method for a camera system according to claim 1, wherein in the communication employing the asynchronous communication method, the other control unit periodically transmits the data signal to the one control unit. 前記他方の制御手段から前記一方の制御手段への周期的なデータ信号の送信は、当該一方の制御手段からの停止要求に応じて停止する請求項2に記載のカメラシステムの通信制御方法。   3. The communication control method for a camera system according to claim 2, wherein transmission of a periodic data signal from the other control means to the one control means is stopped in response to a stop request from the one control means. 前記同期交信方式を採用した通信において、前記一方の制御手段は、前記同期交信方式コマンド信号の送信後、前記他方の制御手段からレスポンス信号を受信するまで、前記他方の制御手段への当該同期交信方式コマンド信号とは異なるコマンド内容の同期交信方式コマンド信号の送信を禁止する請求項1〜請求項3のいずれかに記載のカメラシステムの通信制御方法。   In the communication adopting the synchronous communication method, the one control means transmits the synchronous communication method command signal to the other control means until receiving a response signal from the other control means. 4. The communication control method for a camera system according to claim 1, wherein transmission of a synchronous communication method command signal having a command content different from the method command signal is prohibited. 前記同期交信方式の通信と、前記非同期交信方式の通信とは、前記コマンド信号の前部に付された符号により識別される請求項1〜請求項4のいずれかに記載のカメラシステムの通信制御方法。   The communication control of the camera system according to any one of claims 1 to 4, wherein the communication of the synchronous communication method and the communication of the asynchronous communication method are identified by a code attached to a front portion of the command signal. Method.
JP2014046225A 2014-03-10 2014-03-10 Communication control method for camera system Active JP6407538B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014046225A JP6407538B2 (en) 2014-03-10 2014-03-10 Communication control method for camera system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014046225A JP6407538B2 (en) 2014-03-10 2014-03-10 Communication control method for camera system

Publications (2)

Publication Number Publication Date
JP2015169878A JP2015169878A (en) 2015-09-28
JP6407538B2 true JP6407538B2 (en) 2018-10-17

Family

ID=54202626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014046225A Active JP6407538B2 (en) 2014-03-10 2014-03-10 Communication control method for camera system

Country Status (1)

Country Link
JP (1) JP6407538B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6641594B2 (en) * 2016-02-02 2020-02-05 ソニー株式会社 Interchangeable lens and its communication method, and imaging device and its communication method
JP6272382B2 (en) * 2016-03-31 2018-01-31 キヤノン株式会社 Accessory device, imaging device, and communication control program
JP6214709B2 (en) 2016-03-31 2017-10-18 キヤノン株式会社 Accessory device, imaging device, and communication control program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004304836A (en) * 2004-06-01 2004-10-28 Canon Inc Imaging apparatus, control method thereof, and image print system
JP2010237514A (en) * 2009-03-31 2010-10-21 Nikon Corp Imaging apparatus and imaging lens
JP5182357B2 (en) * 2010-09-09 2013-04-17 株式会社ニコン Interchangeable lens and camera body
JP5683249B2 (en) * 2010-12-15 2015-03-11 キヤノン株式会社 Imaging apparatus and control method thereof, interchangeable lens and control method thereof

Also Published As

Publication number Publication date
JP2015169878A (en) 2015-09-28

Similar Documents

Publication Publication Date Title
CN108885386B (en) Accessory device, imaging apparatus, communication control method, and imaging system
US8542989B2 (en) Camera system, camera body and interchangeable lens
JP7129292B2 (en) Accessory devices, cameras, communication control programs, and camera systems
JP5853197B2 (en) Interchangeable lens, camera body and camera system
JP2022125246A (en) Imaging device, interchangeable lens, intermediate accessory, and control method for them
CN107659756B (en) Image pickup apparatus, accessory apparatus, control method thereof, and image pickup system
JP6407538B2 (en) Communication control method for camera system
JP6736730B2 (en) Imaging device, accessory device, and communication control method thereof
JP7102217B2 (en) Imaging equipment, interchangeable lenses, intermediate accessories and their control methods
JP6716206B2 (en) Imaging device, lens device, and data communication processing program
CN107659767B (en) Accessory apparatus, imaging apparatus, control method thereof, and imaging system
US10897565B2 (en) Imaging apparatus and accessory device
CN107277310A (en) Fittings equipment, picture pick-up device, camera system and control method
CN108885387B (en) Accessory device, imaging apparatus, and communication control program
US11805318B2 (en) Camera body, camera accessory, and sharing ratio transmission method
US12007683B2 (en) Camera body, camera accessory, and information transmission method
CN111800561B (en) Image pickup apparatus, accessory apparatus, and storage medium
JP7046709B2 (en) Accessory device, camera system with it, and program
JP7071059B2 (en) Lens device, imaging system, control method of lens device, control program
JP2015171072A (en) Communication control method for camera system
EP3705939A1 (en) Camera, accessory device and control method thereof
JP6667417B2 (en) Imaging device, accessory device, and control program
JP2019008322A (en) Accessory device, imaging device, and communication control program
JP2020034740A (en) Imaging device, accessory, and program
JP2023177479A (en) Accessory devices, imaging apparatus, imaging system, control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161121

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170802

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170921

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180314

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180319

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180904

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180919

R150 Certificate of patent or registration of utility model

Ref document number: 6407538

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250