JPH10186488A - Data communication device, and camera apparatus - Google Patents

Data communication device, and camera apparatus

Info

Publication number
JPH10186488A
JPH10186488A JP8350499A JP35049996A JPH10186488A JP H10186488 A JPH10186488 A JP H10186488A JP 8350499 A JP8350499 A JP 8350499A JP 35049996 A JP35049996 A JP 35049996A JP H10186488 A JPH10186488 A JP H10186488A
Authority
JP
Japan
Prior art keywords
data
camera
communication
control means
data communication
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
JP8350499A
Other languages
Japanese (ja)
Inventor
Kazuya Higuma
樋熊  一也
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 JP8350499A priority Critical patent/JPH10186488A/en
Publication of JPH10186488A publication Critical patent/JPH10186488A/en
Pending legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Structure And Mechanism Of Cameras (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a data communication device and a camera apparatus capable of performing high speed processing by preventing useless data communications and shortening the communication time. SOLUTION: In the case this camera apparatus is provided with a camera main body 1 outputting a data communication instruction and a camera accessory 2 communicating data with the main body 1 according to the communication instruction, the accessory 2 outputs a specified signal to the main body 1 when the quantity and the contents, etc., of the data communicated the last time and the data to be communicated this time are the same, and the main body 1 controls the data communication from the accessory 2 this time and performs processing based on the data communicated the last time when the specified signal is inputted in the main body 1.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、相互に通信可能な
複数の制御手段を有するデータ通信装置、さらには相互
に通信可能なカメラ本体とカメラアクセサリとを有する
カメラ装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communication device having a plurality of mutually communicable control means, and further to a camera device having a mutually communicable camera body and a camera accessory.

【0002】[0002]

【従来の技術】カメラ本体とこれに着脱自在に装着され
る交換レンズ等のカメラアクセサリとの間の通信はシリ
アル転送方式で行われており、カメラ本体からアクセサ
リに制御命令を通信し、アクセサリは制御命令を認識し
てそれに応じた処理演算および動作を行っている。
2. Description of the Related Art Communication between a camera body and a camera accessory such as an interchangeable lens which is detachably mounted on the camera body is performed by a serial transfer method, and a control command is transmitted from the camera body to the accessory. Recognizing the control instruction, it performs the processing operation and operation according to it.

【0003】ところで、最近のカメラ本体やカメラアク
セサリはそれぞれ高機能化、高性能化しており、これに
伴って、カメラ本体やアクセサリが有するデータは多様
化、増大化している。このようなアクセサリが有するデ
ータのなかには、アクセサリの状態によってデータの量
または内容が変化するものや、1つのデータにおけるデ
ータ長が10byteを超えるようなものが存在する。
[0003] By the way, recent camera bodies and camera accessories have become sophisticated and sophisticated, respectively, and accordingly, the data possessed by the camera bodies and accessories has been diversified and increased. Among the data included in such accessories, there are data in which the amount or content of data changes depending on the state of the accessory and data in which the data length of one piece of data exceeds 10 bytes.

【0004】そして、多様化・増大化し、かつ状態によ
って変化するデータは、変化しないデータと違い、最初
の通信で得られたデータをそれ以降の処理演算でも用い
ればよいわけではなく、常に現在の状態に対応するデー
タに基づいて演算処理を行わなければならない。このた
め、データを用いた演算処理を行なう際には必ずデータ
通信を経なくてはならず、カメラ本体−アクセサリ間で
の通信の量も増大している。
[0004] Unlike data that does not change, data that is diversified, increased, and changes depending on the state does not mean that data obtained in the first communication may be used for subsequent processing operations. Arithmetic processing must be performed based on the data corresponding to the state. Therefore, when performing arithmetic processing using data, data communication must be performed without fail, and the amount of communication between the camera body and the accessory is also increasing.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来機
種との互換性を保つためにカメラ−アクセサリ間の通信
は従来通りのシリアル転送方式の通信によって行われて
いる。また、従来の通信方法では、前述したような状態
によってデータの量または内容が変化するデータの通信
が、データがいつ変化してもよいように繰り返し行われ
ている。
However, in order to maintain compatibility with the conventional model, communication between the camera and the accessory is performed by a conventional serial transfer communication. Further, in the conventional communication method, communication of data in which the amount or content of data changes depending on the state described above is repeatedly performed so that the data may change at any time.

【0006】このため、データが変化していない場合に
は無駄な通信が行われることとなり、余計な時間を要し
ている。
For this reason, when the data has not changed, useless communication is performed, and extra time is required.

【0007】さらに、これ以外にも、従来に比べ増大し
た分のデータを通信するための通信時間が余分にかかっ
ており、カメラ側での他の処理(AFやAEの処理)に
影響を与える可能性がある。
Further, in addition to the above, an extra communication time is required for communicating data that has been increased compared to the conventional art, which affects other processing (AF and AE processing) on the camera side. there is a possibility.

【0008】そこで、本願発明は、無駄なデータ通信を
行わないようにして通信時間を短縮し、高速処理を行え
るようにしたデータ通信装置およびカメラ装置を提供す
ることを目的としている。
Accordingly, an object of the present invention is to provide a data communication device and a camera device capable of shortening the communication time by preventing useless data communication and performing high-speed processing.

【0009】[0009]

【課題を解決するための手段】上記の目的を達成するた
め、本願発明では、データ通信命令を出力する第1制御
手段(カメラ本体)と、上記通信命令に応じて第1制御
手段にデータを通信する第2制御手段(カメラアクセサ
リ)とを有する場合に、第2制御手段には、前回通信し
たデータと今回通信しようとするデータとが量および内
容等において同じであるときに、所定信号を第1制御手
段に出力させ、第1制御手段には、上記所定信号が入力
されたときは今回の第2制御手段からのデータ通信を規
制させるとともに、前回通信されたデータに基づいて動
作させるようにしている。
In order to achieve the above object, according to the present invention, first control means (camera body) for outputting a data communication command, and data are transmitted to the first control means in response to the communication command. In the case of having a second control means (camera accessory) for communication, the second control means transmits a predetermined signal when the previously communicated data and the data to be communicated this time are the same in terms of amount and content. When the predetermined signal is input to the first control means, the first control means controls the data communication from the second control means and controls the first control means to operate based on previously transmitted data. I have to.

【0010】すなわち、第2制御手段から第1制御手段
に対して同じデータが連続して繰り返し通信されること
を回避するとともに、第1制御手段に前回データを使用
した処理動作を行わせるようにすることにより、通信回
数を減らして通信時間を短縮し、第1制御手段の負担を
軽減して他の処理への影響を少なくし、さらに高速処理
が行えるようにしている。
That is, it is possible to prevent the same data from being continuously and repeatedly transmitted from the second control means to the first control means, and to cause the first control means to perform a processing operation using the previous data. By doing so, the number of times of communication is reduced to shorten the communication time, the load on the first control means is reduced, the influence on other processing is reduced, and high-speed processing can be performed.

【0011】なお、所定信号としては、第1制御手段が
第2制御手段にデータ量の通信命令を出力するようにな
っている場合には「0」を示す信号でよく、また、第1
制御手段においてデータとして意味をなさない値を示す
信号であってもよい。
The predetermined signal may be a signal indicating "0" when the first control means outputs a data amount communication command to the second control means.
It may be a signal indicating a value that does not make sense as data in the control means.

【0012】[0012]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

(第1実施形態)図1には、相互に通信可能なカメラ本
体1と交換レンズ2とからなるカメラ装置を示してい
る。カメラ本体1内には、電気回路部3があり、電気回
路部3は、交換レンズ2の光学系を通ってきた光の量を
測定するための測光部4と、フィルム面上から被写体ま
での距離を測定するための測距部5と、フィルムを適当
な時間露光するためのシャッター6と、フィルムの巻き
上げ・巻き戻しを行うための給送チャージ系7と、これ
らのカメラ内の制御を行うカメラ内CPU8と、レンズ
2とのシリアル通信を行うための通信手段9と、電源1
0とを有する。
(First Embodiment) FIG. 1 shows a camera device including a camera body 1 and an interchangeable lens 2 which can communicate with each other. Inside the camera body 1, there is an electric circuit section 3, and the electric circuit section 3 includes a light measuring section 4 for measuring the amount of light that has passed through the optical system of the interchangeable lens 2, and a light measuring section 4 from the film surface to the subject. A distance measuring unit 5 for measuring the distance, a shutter 6 for exposing the film for an appropriate time, a feed charge system 7 for winding and rewinding the film, and controls these cameras. Communication means 9 for performing serial communication with the CPU 8 in the camera, the lens 2, and the power supply 1
0.

【0013】また、交換レンズ2内において、11は交
換レンズ2中のフォーカシングレンズ、12はズーミン
グレンズ、13は絞り、14はズーミングレンズ12の
位置を検出するためのズーム位置検出用ブラシ、15は
フォーカシングレンズ11の位置を検出するためのフォ
ーカス位置検出用ブラシ、16はオートフォーカスとマ
ニュアルフォーカスを切り換えるためのAF/MANU
AL切換スイッチ、17は交換レンズ2内の電気回路部
である。電気回路部17内には、カメラ本体1との間で
シリアル通信を行うための通信手段18と、交換レンズ
2内の制御を行うレンズ内CPU19と、フォーカシン
グレンズ11の駆動制御を行うためのレンズ駆動制御部
20と、フォーカシングレンズ11を駆動するためのレ
ンズ駆動用モータ21と、絞り13の駆動制御を行うた
めの絞り制御部22と、絞り13を駆動するための絞り
駆動用モータ23とを有する。
In the interchangeable lens 2, reference numeral 11 denotes a focusing lens in the interchangeable lens 2, reference numeral 12 denotes a zooming lens, reference numeral 13 denotes an aperture, reference numeral 14 denotes a zoom position detecting brush for detecting the position of the zooming lens 12, and reference numeral 15 denotes A focus position detection brush for detecting the position of the focusing lens 11, and an AF / MANU 16 for switching between auto focus and manual focus
The AL switch 17 is an electric circuit in the interchangeable lens 2. A communication unit 18 for performing serial communication with the camera body 1, an in-lens CPU 19 for controlling the interchangeable lens 2, and a lens for controlling the driving of the focusing lens 11 are provided in the electric circuit unit 17. A drive control unit 20, a lens drive motor 21 for driving the focusing lens 11, an aperture control unit 22 for controlling the drive of the aperture 13, and an aperture drive motor 23 for driving the aperture 13. Have.

【0014】次に、図2を用いて、カメラ本体1と交換
レンズ2によって行われているシリアル通信について説
明する。図2中、「LCLK」は、カメラ本体1から発
振されるシリアルクロックを送信する信号線である。1
回の通信では8発のシリアルクロックが送信され、8b
itつまり1byteのデータの通信が行なわれる。図
2中の「DCL」は、カメラ本体1からレンズ2にデー
タを送信する信号線であり、「DI0、DI1」はDC
Lで送信される1つのデータで、1byteで構成さ
れ、「LCLK」にて送信されるシリアルクロックに同
期してレンズ2側へ送信される。これら、「DI0、D
I1」はレンズへの制御命令となっている。
Next, serial communication performed by the camera body 1 and the interchangeable lens 2 will be described with reference to FIG. In FIG. 2, “LCLK” is a signal line for transmitting a serial clock oscillated from the camera body 1. 1
In the first communication, 8 serial clocks are transmitted and 8b
It, that is, communication of 1-byte data is performed. "DCL" in FIG. 2 is a signal line for transmitting data from the camera body 1 to the lens 2, and "DI0, DI1" are DC lines.
One data transmitted by L is composed of 1 byte, and transmitted to the lens 2 side in synchronization with a serial clock transmitted by "LCLK". These "DI0, D
"I1" is a control command to the lens.

【0015】図2中の「DLC」は、レンズ2からカメ
ラ本体1にデータを送信する信号線で、「DO0、DO
1」はDLCで送信される1つのデータで、1byte
で構成され、「LCLK」にて送信されてくるシリアル
クロックに同期してカメラ本体1側へ送信される。レン
ズ2側はカメラ本体1側から「DCL」を通して送信さ
れてくる制御命令を受信し、各命令に応じて、データの
送信や各アクチュエータの駆動等を行なう。
"DLC" in FIG. 2 is a signal line for transmitting data from the lens 2 to the camera body 1, and "DL0", "DOC"
"1" is one data transmitted by DLC and 1 byte
And transmitted to the camera body 1 in synchronization with the serial clock transmitted as “LCLK”. The lens 2 receives a control command transmitted from the camera body 1 through “DCL”, and performs data transmission, driving of each actuator, and the like according to each command.

【0016】なお、「DO0」は制御命令「DI0」以
前に送信されてきた不図示の制御命令に対する返信デー
タで、「DO1」は「DI0」又はそれ以前の制御命令
に対する返信データである。
Note that "DO0" is reply data to a control command (not shown) transmitted before the control command "DI0", and "DO1" is reply data to a control command before "DI0".

【0017】データの通信は、例えば、カメラ本体1側
からの制御命令によって要求されたデータが10byt
eのデータであれば、カメラ本体1側からの制御命令送
信に1回の通信が必要で、その後にデータの通信に10
回の通信が必要となり、合計11回の通信が必要とな
る。
For data communication, for example, data requested by a control command from the camera body 1 is 10 bytes.
In the case of data e, one communication is required for transmitting a control command from the camera body 1 side, and then 10
Times of communication are required, and a total of 11 times of communication are required.

【0018】ここで、フォーカシングレンズ11の位置
およびズーミングレンズ12の位置によって、データの
量または内容の少なくとも一方が変化するデータを
「A」と名付け、この「A」データの通信を要求する制
御命令を「Aデータ要求命令」、また「A」データのデ
ータ量を「n」として、図3に示すフローチャートを用
いて通信制御の内容を説明する。なお、図3のフローチ
ャートはレンズ内CPU19の制御動作を示している。
Here, data in which at least one of the data amount and the content changes depending on the position of the focusing lens 11 and the position of the zooming lens 12 is named "A", and a control command requesting communication of this "A" data. Is described as “A data request command” and the data amount of “A” data is “n”, and the contents of the communication control will be described using the flowchart shown in FIG. The flowchart of FIG. 3 shows the control operation of the CPU 19 in the lens.

【0019】「ステップ(図では、#で示す)101」
交換レンズ2がカメラ本体1に装着され、フローチャー
トがスタートする。
"Step (shown by # in the figure) 101"
The interchangeable lens 2 is mounted on the camera body 1, and the flowchart starts.

【0020】「ステップ102」カメラ本体1と交換レ
ンズ2とが、カメラ本体1側の通信手段9および交換レ
ンズ2側の通信手段18を介して8bitのシリアル通
信を開始する。
[Step 102] The camera body 1 and the interchangeable lens 2 start 8-bit serial communication via the communication means 9 on the camera body 1 side and the communication means 18 on the interchangeable lens 2 side.

【0021】「ステップ103」カメラ本体1からの制
御命令が「Aデータ要求命令」であるかどうかを判断
し、「Aデータ要求命令」ならば「ステップ105」
へ、別の制御命令ならば「ステップ104」へ進む。
[Step 103] It is determined whether or not the control command from the camera body 1 is an "A data request command".
If it is another control command, the process proceeds to "Step 104".

【0022】「ステップ104」カメラ側からの制御命
令を認識し、その命令に応じた処理動作を行なう。
[Step 104] Recognizes a control command from the camera and performs a processing operation according to the command.

【0023】「ステップ105」前回行われた「Aデー
タ通信」時に保存したゾーン情報と、ゾーンブラシ15
より得られる現在のゾーン情報とを比較し、ゾーン情報
に変化がない場合には「ステップ106」へ、変化があ
った場合には「ステップ108」へ進む。
[Step 105] The zone information stored during the previous "A data communication" and the zone brush 15
The current zone information obtained is compared with the current zone information. If there is no change in the zone information, the process proceeds to “Step 106”, and if there is a change, the process proceeds to “Step 108”.

【0024】「ステップ106」前回行われた「Aデー
タ通信」時に保存したズーム情報と、図1中14のズー
ムブラシより得られる現在のズーム情報とを比較し、ズ
ーム情報に変化がない場合には「ステップ107」へ、
変化があった場合には「ステップ109」へ進む。
[Step 106] The zoom information stored during the previous "A data communication" is compared with the current zoom information obtained from the zoom brush 14 in FIG. Goes to “Step 107”
When there is a change, the process proceeds to “Step 109”.

【0025】「ステップ107」前回の「Aデータ通
信」時と比較して、ゾーン情報及びズーム情報共に変化
がないため、「A」データには変化がないと判断でき、
カメラ本体1側に「A」データに変化がないことを知ら
せる信号(請求の範囲にいう所定信号)を出力する。
[Step 107] Since there is no change in both the zone information and the zoom information as compared with the previous "A data communication", it can be determined that there is no change in the "A" data.
A signal (a predetermined signal in the claims) that informs the camera body 1 that there is no change in the “A” data.

【0026】なお、この信号を受信したカメラ本体1側
は「Aデータ通信」を中止し、前回行われた「Aデータ
通信」で得られた「A」データを用いて、演算、処理を
行なう。
The camera body 1 receiving this signal stops the "A data communication", and performs an operation and a process using the "A" data obtained by the "A data communication" performed last time. .

【0027】「ステップ108」前回の「Aデータ通
信」時とゾーン情報が変化しているため、新たなゾーン
情報として現在のゾーンブラシ15の状態を保存し、ゾ
ーン情報を更新する。
[Step 108] Since the zone information has changed since the previous "A data communication", the current state of the zone brush 15 is stored as new zone information, and the zone information is updated.

【0028】「ステップ109」前回の「Aデータ通
信」時とズーム情報が変化しているため、新たなズーム
情報として現在のズームブラシ14の状態を保存し、ズ
ーム情報を更新する。また、ゾーン情報が変化した場合
にも、ズーム情報を更新する。
[Step 109] Since the zoom information has changed since the previous "A data communication", the current state of the zoom brush 14 is stored as new zoom information, and the zoom information is updated. Also, when the zone information changes, the zoom information is updated.

【0029】「ステップ110」カメラ本体1側からの
制御命令「Aデータ要求命令」に従って、「A」データ
を1byte送信する。
[Step 110] According to the control command "A data request command" from the camera body 1, the "A" data is transmitted by 1 byte.

【0030】「ステップ111」「A」データのデータ
量「n」をデクリメントする。
[Step 111] The data amount "n" of the "A" data is decremented.

【0031】「ステップ112」「n」が0であれば
「ステップ102」へ、0でなければ「ステップ11
0」へ戻る。つまり、「ステップ110」から「ステッ
プ112」までが「Aデータ通信」であり、「A」デー
タ量が「n」byteなので、全ての「A」データを通
信するのに「n」回の通信が必要となる。
"Step 112" If "n" is 0, go to "Step 102"; if not, go to "Step 11".
Return to "0". In other words, since “Step 110” to “Step 112” are “A data communication” and the “A” data amount is “n” bytes, “n” times communication is required to communicate all “A” data. Is required.

【0032】以上のように、「A」データに変化がない
場合には、カメラ本体1側に「A」データに変化がない
ことを示す信号を出力し、これを受けたカメラ本体1が
「Aデータ通信」を中止することで、カメラ本体1は
「n」byteの「Aデータ通信」に要すべき時間や負
担を負わなくて済む。このため、カメラ本体1は他の演
算、処理に速く移行することができ、従来より高速での
演算、処理が可能となる。
As described above, when there is no change in the "A" data, a signal indicating that there is no change in the "A" data is output to the camera body 1 side. By canceling the "A data communication", the camera body 1 does not need to bear the time and burden required for the "n data" of the "A data communication". For this reason, the camera body 1 can quickly shift to other calculations and processes, and can perform calculations and processes at a higher speed than before.

【0033】(第2実施形態)図4には、本願発明の第
2実施形態であるカメラ装置の通信制御フローチャート
を示している。なお、本フローチャートは、第1実施形
態にて説明したカメラ装置の交換レンズ2における制御
動作の変形例を示している。
(Second Embodiment) FIG. 4 shows a communication control flowchart of a camera device according to a second embodiment of the present invention. This flowchart shows a modified example of the control operation of the interchangeable lens 2 of the camera device described in the first embodiment.

【0034】「ステップ201」交換レンズ2がカメラ
本体1に装着され、フローチャートがスタートする。
[Step 201] The interchangeable lens 2 is mounted on the camera body 1, and the flowchart starts.

【0035】「ステップ202」カメラ本体1と交換レ
ンズ2が、カメラ本体1側の通信手段9および交換レン
ズ1側の通信手段18を介して8bitのシリアル通信
を開始する。
[Step 202] The camera body 1 and the interchangeable lens 2 start 8-bit serial communication via the communication means 9 on the camera body 1 side and the communication means 18 on the interchangeable lens 1 side.

【0036】「ステップ203」カメラ本体1からの制
御命令が、現在の状態における「A」データの量「n」
の送信を要求する「Aデータ量要求命令」であるかどう
かを判断し、「Aデータ量要求命令」ならば「ステップ
205」へ、別の制御命令ならば「ステップ204」へ
進む。
[Step 203] The control command from the camera main body 1 determines that the amount of "A" data "n" in the current state.
It is determined whether the received command is an “A data amount request command” requesting transmission. If the command is an “A data amount request command”, the process proceeds to “Step 205”; if another control command, the process proceeds to “Step 204”.

【0037】「ステップ204」カメラ本体1側からの
制御命令を認識し、その命令に応じた処理動作を行な
う。
[Step 204] Recognize a control command from the camera body 1 and perform a processing operation according to the command.

【0038】「ステップ205」前回行われた「Aデー
タ通信」時に保存したゾーン情報と、ゾーンブラシ15
より得られる現在のゾーン情報とを比較し、ゾーン情報
に変化がない場合には「ステップ206」へ、変化があ
った場合には「ステップ208」へ進む。
[Step 205] The zone information stored during the previous “A data communication” and the zone brush 15
The current zone information obtained is compared with the current zone information. If there is no change in the zone information, the process proceeds to “Step 206”, and if there is a change, the process proceeds to “Step 208”.

【0039】「ステップ206」前回行われた「Aデー
タ通信」時に保存したズーム情報と、図1中14のズー
ムブラシより得られる現在のズーム情報とを比較し、ズ
ーム情報に変化がない場合には「ステップ207」へ、
変化があった場合には「ステップ209」へ進む。
[Step 206] The zoom information stored during the previous "A data communication" is compared with the current zoom information obtained from the zoom brush 14 in FIG. Goes to “Step 207”
When there is a change, the process proceeds to “Step 209”.

【0040】「ステップ207」前回の「Aデータ通
信」時と比較して、ゾーン情報及びズーム情報共に変化
がないため、「A」データには変化がないと判断でき、
カメラ側に「A」のデータ量として「0」を送信する。
[Step 207] Since there is no change in both the zone information and the zoom information as compared with the previous “A data communication”, it can be determined that there is no change in the “A” data.
“0” is transmitted to the camera as the data amount of “A”.

【0041】「Aデータ量要求命令」で「0」を受信し
たカメラ側は、「Aデータ通信」を中止し、前回行われ
た「Aデータ通信」で得られた「A」データを用いて、
演算、処理を行なう。
When the camera receives "0" in the "A data amount request command", the camera stops "A data communication" and uses "A" data obtained in the previous "A data communication". ,
Performs calculations and processes.

【0042】「ステップ208」前回の「Aデータ通
信」時とゾーン情報が変化しているため、新たなゾーン
情報として現在のゾーンブラシ15の状態を保存し、ゾ
ーン情報を更新する。
[Step 208] Since the zone information has changed since the previous "A data communication", the current state of the zone brush 15 is stored as new zone information, and the zone information is updated.

【0043】「ステップ209」前回の「Aデータ通
信」時とズーム情報が変化しているため、新たなズーム
情報として現在のズームブラシ14の状態を保存しズー
ム情報を更新する。また、ゾーン情報が変化した場合に
も、ズーム情報を更新する。
[Step 209] Since the zoom information has changed since the previous “A data communication”, the current state of the zoom brush 14 is stored as new zoom information and the zoom information is updated. Also, when the zone information changes, the zoom information is updated.

【0044】「ステップ210」「Aデータ量要求命
令」に従って、現在のズーム情報とゾーン情報における
「A」データのデータ量「n」を送信する。
[Step 210] In accordance with the "A data amount request command", the data amount "n" of the "A" data in the current zoom information and zone information is transmitted.

【0045】「ステップ211」カメラ側からの制御命
令「Aデータ要求命令」に従って、現在のズーム情報と
ゾーン情報における「A」データを1byte送信す
る。
[Step 211] In accordance with a control command "A data request command" from the camera, "A" data in the current zoom information and zone information is transmitted by 1 byte.

【0046】「ステップ212」「A」データのデータ
量「n」をデクリメントする。
[Step 212] The data amount "n" of the "A" data is decremented.

【0047】「ステップ213」「n」が0であれば
「ステップ202」へ、0でなければ「ステップ21
0」へ戻る。つまり、「ステップ211」から「ステッ
プ213」までが、「Aデータ通信」であり、「A」デ
ータはデータ量が「n」byteなので、全ての「A」
データを通信するのに「n」回の通信が必要となる。
"Step 213" If "n" is 0, go to "Step 202"; otherwise, go to "Step 21".
Return to "0". In other words, “A data communication” is performed from “Step 211” to “Step 213”, and since “A” data has a data amount of “n” bytes, all “A” data
"N" times of communication are required to communicate data.

【0048】以上のように、「A」データに変化がない
場合には、カメラ本体1側の「Aデータ量要求命令」に
対して「A」のデータ量として「0」を送信し、「0」
を受信したカメラ本体1は「Aデータ通信」を中止する
ことで、カメラ本体1は「n」byteの「Aデータ通
信」に要すべき時間や負担を負わなくて済む。このた
め、カメラ本体1は他の演算、処理に速く移行すること
ができ、従来より高速での演算、処理が可能となる。
As described above, when there is no change in the “A” data, “0” is transmitted as the data amount of “A” in response to the “A data amount request command” on the camera body 1 side, and “0” is transmitted. 0 "
By stopping the "A data communication", the camera body 1 receiving "" does not have to bear the time or burden required for "n data""A data communication". For this reason, the camera body 1 can quickly shift to other calculations and processes, and can perform calculations and processes at a higher speed than before.

【0049】(第3実施形態)図5には、本願発明の第
2実施形態であるカメラ装置の通信制御フローチャート
を示している。なお、本フローチャートは、第1実施形
態にて説明したカメラ装置の交換レンズ2における制御
動作の変形例を示している。
(Third Embodiment) FIG. 5 shows a communication control flowchart of a camera device according to a second embodiment of the present invention. This flowchart shows a modified example of the control operation of the interchangeable lens 2 of the camera device described in the first embodiment.

【0050】「ステップ301」交換レンズ2がカメラ
本体1に装着され、フローチャートがスタートする。
[Step 301] The interchangeable lens 2 is mounted on the camera body 1, and the flowchart starts.

【0051】「ステップ302」カメラ本体1と交換レ
ンズ2が、カメラ本体1側の通信手段9および交換レン
ズ2側の通信手段18を介して8bitのシリアル通信
を開始する。
[Step 302] The camera body 1 and the interchangeable lens 2 start 8-bit serial communication via the communication means 9 on the camera body 1 side and the communication means 18 on the interchangeable lens 2 side.

【0052】「ステップ303」カメラ本体1からの制
御命令が「Aデータ要求命令」であるかどうかを判断
し、「Aデータ要求命令」ならば「ステップ305」
へ、別の制御命令ならば「ステップ304」へ進む。
[Step 303] It is determined whether or not the control command from the camera body 1 is an "A data request command".
If it is another control command, the process proceeds to "Step 304".

【0053】「ステップ304」カメラ本体1側からの
制御命令を認識し、その命令に応じた処理動作を行な
う。
[Step 304] Recognizes a control command from the camera body 1 and performs a processing operation according to the command.

【0054】「ステップ305」前回行われた「Aデー
タ通信」時に保存したゾーン情報と、ゾーンブラシ15
より得られる現在のゾーン情報とを比較し、ゾーン情報
に変化がない場合には「ステップ306」へ、変化があ
った場合には「ステップ308」へ進む。
[Step 305] The zone information stored during the previous “A data communication” and the zone brush 15
The current zone information obtained is compared with the current zone information. If there is no change in the zone information, the process proceeds to “Step 306”, and if there is a change, the process proceeds to “Step 308”.

【0055】「ステップ306」前回行われた「Aデー
タ通信」時に保存したズーム情報と、ズームブラシ14
より得られる現在のズーム情報とを比較し、ズーム情報
に変化がない場合には「ステップ307」へ、変化があ
った場合には「ステップ309」へ進む。
[Step 306] The zoom information stored during the previous “A data communication” and the zoom brush 14
The current zoom information obtained is compared with the current zoom information. If there is no change in the zoom information, the process proceeds to “Step 307”, and if there is a change, the process proceeds to “Step 309”.

【0056】「ステップ307」前回の「Aデータ通
信」時と比較して、ゾーン情報及びズーム情報共に変化
がないため、前回の「Aデータ通信」時の「A」データ
と現在の状態における「A」データには変化がないこと
が分かる。このため、レンズ側は「A」データとして意
味のなさないデータをカメラ側へ送信する。
[Step 307] Since there is no change in both the zone information and the zoom information as compared with the previous “A data communication”, the “A” data at the previous “A data communication” and the “A” data in the current state are not changed. It can be seen that there is no change in the “A” data. For this reason, the lens side transmits data meaningless as “A” data to the camera side.

【0057】ここで、意味のなさないデータとは、例え
ば、「A」データの1つのデータが「0〜127(00
〜7Fhex)」で表されるデータとして定義されてい
た場合に、「128〜255(80〜FFhex)」を
いう。
Here, the meaningless data is, for example, one data of "A" data is "0 to 127 (00
77Fhex) ”means“ 128 to 255 (80 to FFhex) ”.

【0058】この意味のなさないデータを受信したカメ
ラ本体1は「Aデータ通信」を中止し、前回行われた
「Aデータ通信」で得られた「A」データを用いて、演
算、処理を行なう。
The camera body 1 which has received the meaningless data stops the "A data communication", and uses the "A" data obtained in the previous "A data communication" to perform calculations and processes. Do.

【0059】「ステップ308」前回の「Aデータ通
信」時とゾーン情報が変化しているため、新たなゾーン
情報として現在のゾーンブラシ15の状態を保存し、ゾ
ーン情報を更新する。
[Step 308] Since the zone information has changed since the previous “A data communication”, the current state of the zone brush 15 is stored as new zone information, and the zone information is updated.

【0060】「ステップ309」前回の「Aデータ通
信」時とズーム情報が変化しているため、新たなズーム
情報として現在のズームブラシ14の状態を保存しズー
ム情報を更新する。また、ゾーン情報が変化した場合に
も、ズーム情報を更新する。
[Step 309] Since the zoom information has changed since the previous “A data communication”, the current state of the zoom brush 14 is stored as new zoom information and the zoom information is updated. Also, when the zone information changes, the zoom information is updated.

【0061】「ステップ310」カメラ本体1側からの
制御命令「Aデータ要求命令」に従って、「A」データ
を1byte送信する。
[Step 310] According to the control command "A data request command" from the camera body 1, the "A" data is transmitted by 1 byte.

【0062】「ステップ311」「A」データのデータ
量「n」をデクリメントする。
[Step 311] The data amount "n" of the "A" data is decremented.

【0063】「ステップ312」「n」が0であれば
「ステップ302」へ0でなければ「ステップ310」
へ戻る。つまり、「ステップ310」から「ステップ3
12」までが「Aデータ通信」であり、「A」データは
データ量が「n」byteなので、全ての「A」データ
を通信するのに「n」回の通信が必要となる。
[Step 312] If "n" is 0, go to "Step 302"; if not, go to "Step 310".
Return to That is, from “Step 310” to “Step 3”
No. 12 is "A data communication", and since the data amount of "A" data is "n" bytes, "n" times of communication are required to communicate all "A" data.

【0064】以上のように、「A」データに変化がない
場合には、カメラ本体1側の「Aデータ要求命令」に対
してカメラ本体1に「A」データに変化がないことを示
す信号を出力し、これを受けたカメラ本体1が「Aデー
タ通信」を中止することで、カメラ本体1は「n」by
teの「Aデータ通信」に要すべき時間や負担を負わな
くて済む。このため、カメラ本体1は他の演算、処理に
速く移行することができ、従来より高速での演算、処理
が可能となる。
As described above, when there is no change in the “A” data, a signal indicating that there is no change in the “A” data in the camera body 1 in response to the “A data request command” on the camera body 1 side. Is output, and the camera body 1 receiving this stops the “A data communication”, so that the camera body 1 becomes “n” by
The time and burden required for te's “A data communication” can be saved. For this reason, the camera body 1 can quickly shift to other calculations and processes, and can perform calculations and processes at a higher speed than before.

【0065】なお、上記各実施形態では、カメラアクセ
サリとして交換レンズを使用した場合について説明した
が、本願発明は交換レンズ以外のカメラアクセサリを用
いる場合にも適用することができる。
In the above embodiments, the case where an interchangeable lens is used as a camera accessory has been described. However, the present invention can be applied to a case where a camera accessory other than the interchangeable lens is used.

【0066】また、上記実施形態では、カメラ装置につ
いて説明したが、本願発明は、カメラ装置以外の種々の
装置に用いることができる。
In the above embodiment, the camera device has been described. However, the present invention can be applied to various devices other than the camera device.

【0067】[0067]

【発明の効果】以上説明したように、本願発明によれ
ば、第2制御手段(カメラアクセサリ)から第1制御手
段(カメラ本体)に対して同じデータが連続して繰り返
し通信されることを回避するとともに、第1制御手段に
前回データを使用した処理動作を行わせるようにしてい
るので、通信回数を減らして通信時間を短縮し、第1制
御手段の負担を軽減して他の処理への影響を少なくし、
さらに高速処理が行えるようにすることができる。
As described above, according to the present invention, it is possible to prevent the same data from being continuously and repeatedly transmitted from the second control means (camera accessory) to the first control means (camera body). In addition, since the first control means is caused to perform the processing operation using the previous data, the number of communication times is reduced, the communication time is shortened, the load on the first control means is reduced, and the other control processing is performed. Less impact,
Further, high-speed processing can be performed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1実施形態であるカメラ装置のブロ
ック図である。
FIG. 1 is a block diagram of a camera device according to a first embodiment of the present invention.

【図2】上記カメラ装置における通信のタイミングチャ
ートである。
FIG. 2 is a timing chart of communication in the camera device.

【図3】上記カメラ装置の通信制御フローチャートであ
る。
FIG. 3 is a communication control flowchart of the camera device.

【図4】本発明の第2実施形態であるカメラ装置の通信
制御フローチャートである。
FIG. 4 is a communication control flowchart of a camera device according to a second embodiment of the present invention.

【図5】本発明の第3実施形態であるカメラ装置の通信
制御フローチャートである。
FIG. 5 is a communication control flowchart of a camera device according to a third embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 カメラ本体 2 交換レンズ 3 カメラ内電気回路 4 測光部 5 測距部 6 シャッター 7 給送チャージ系 8 カメラ本体内CPU 9 カメラ内シリアル通信手段 10 電源 11 フォーカシングレンズ 12 ズーミングレンズ 13 絞り 14 ズーム位置検出用ブラシ 15 フォーカス位置検出用ブラシ 16 AF/MANUAL切換スイッチ 17 交換レンズ内電気回路 18 レンズ内シリアル通信手段 19 レンズ内CPU 20 フォーカシングレンズ駆動制御部 21 フォーカシングレンズ駆動用モータ 22 絞り駆動制御部 23 絞り駆動用モータ DESCRIPTION OF SYMBOLS 1 Camera main body 2 Interchangeable lens 3 In-camera electric circuit 4 Photometric unit 5 Distance measuring unit 6 Shutter 7 Feed charging system 8 In-camera CPU 9 In-camera serial communication means 10 Power supply 11 Focusing lens 12 Zooming lens 13 Aperture 14 Zoom position detection Brush 15 Focus position detection brush 16 AF / MANUAL switch 17 Electric circuit in interchangeable lens 18 Serial communication means in lens 19 CPU in lens 20 Focusing lens drive control unit 21 Focusing lens drive motor 22 Aperture drive control unit 23 Aperture drive Motor

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 データ通信命令を出力する第1制御手段
と、前記通信命令に応じて前記第1制御手段にデータを
通信する第2制御手段とを有するデータ通信装置におい
て、 前記第2制御手段は、前回通信したデータと今回通信し
ようとするデータとが同じであるときに、所定信号を前
記第1制御手段に出力し、 前記第1制御手段は、前記所定信号が入力されたとき
は、今回の前記第2制御手段からのデータ通信を規制す
るとともに、前回通信されたデータに基づいて動作する
ことを特徴とするデータ通信装置。
1. A data communication apparatus comprising: first control means for outputting a data communication command; and second control means for communicating data to the first control means in response to the communication command. Outputs the predetermined signal to the first control means when the previously communicated data is the same as the data to be communicated this time, and the first control means, when the predetermined signal is input, A data communication device, which regulates data communication from the second control means this time and operates based on previously communicated data.
【請求項2】 前記第2制御手段は、前回通信したデー
タと今回通信しようとするデータとが量および内容にお
いて同じであるときに、前記所定信号を出力することを
特徴とする請求項1に記載のデータ通信装置。
2. The apparatus according to claim 1, wherein the second control means outputs the predetermined signal when the previously communicated data and the data to be communicated this time are the same in amount and content. A data communication device as described.
【請求項3】 前記第1制御手段が、前記第2制御手段
にデータ量の通信命令を出力するようになっており、 前記所定信号が、「0」を示す信号であることを特徴と
する請求項1又は2に記載のデータ通信装置。
3. The method according to claim 2, wherein the first control means outputs a data amount communication command to the second control means, and the predetermined signal is a signal indicating "0". The data communication device according to claim 1.
【請求項4】 前記所定信号が、前記第1制御手段にお
いてデータとして意味をなさない値を示す信号であるこ
とを特徴とする請求項1又は2に記載のデータ通信装
置。
4. The data communication device according to claim 1, wherein the predetermined signal is a signal indicating a value that has no meaning as data in the first control unit.
【請求項5】 データ通信命令を出力するカメラ本体
と、前記通信命令に応じて前記カメラ本体にデータを通
信するカメラアクセサリとを有するカメラ装置におい
て、 前記カメラアクセサリは、前回通信したデータと今回通
信しようとするデータとが同じであるときに、所定信号
を前記カメラ本体に出力し、 前記カメラ本体は、前記所定信号が入力されたときは、
今回の前記カメラアクセサリからのデータ通信を規制す
るとともに、前回通信されたデータに基づいて動作する
ことを特徴とするカメラ装置。
5. A camera device comprising: a camera body that outputs a data communication command; and a camera accessory that communicates data to the camera body in response to the communication command. When the data to be tried is the same, a predetermined signal is output to the camera main body. When the predetermined signal is input, the camera main body outputs
A camera device which regulates data communication from the camera accessory at this time and operates based on previously communicated data.
【請求項6】 前記カメラアクセサリは、前回通信した
データと今回通信しようとするデータとが量および内容
において同じであるときに、前記所定信号を出力するこ
とを特徴とする請求項1に記載のカメラ装置。
6. The camera accessory according to claim 1, wherein the camera accessory outputs the predetermined signal when the previously communicated data and the data to be communicated this time are the same in amount and content. Camera device.
【請求項7】 前記カメラアクセサリが交換レンズであ
り、 前記データが、前記交換レンズにおけるレンズの位置に
応じて変化するデータであることを特徴とする請求項5
又は6に記載のカメラ装置。
7. The camera according to claim 5, wherein the camera accessory is an interchangeable lens, and the data is data that changes according to a position of the lens in the interchangeable lens.
Or the camera device according to 6.
【請求項8】 前記カメラ本体が、前記カメラアクセサ
リにデータ量の通信命令を出力するようになっており、 前記所定信号が、「0」を示す信号であることを特徴と
する請求項5から7のいずれかに記載のカメラ装置。
8. The camera according to claim 5, wherein the camera body outputs a data amount communication command to the camera accessory, and the predetermined signal is a signal indicating “0”. 8. The camera device according to any one of 7.
【請求項9】 前記所定信号が、前記カメラ本体におい
てデータとして意味をなさない値を示す信号であること
を特徴とする請求項5から7のいずれかに記載のカメラ
装置。
9. The camera device according to claim 5, wherein the predetermined signal is a signal indicating a value that has no meaning as data in the camera body.
JP8350499A 1996-12-27 1996-12-27 Data communication device, and camera apparatus Pending JPH10186488A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8350499A JPH10186488A (en) 1996-12-27 1996-12-27 Data communication device, and camera apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8350499A JPH10186488A (en) 1996-12-27 1996-12-27 Data communication device, and camera apparatus

Publications (1)

Publication Number Publication Date
JPH10186488A true JPH10186488A (en) 1998-07-14

Family

ID=18410913

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8350499A Pending JPH10186488A (en) 1996-12-27 1996-12-27 Data communication device, and camera apparatus

Country Status (1)

Country Link
JP (1) JPH10186488A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002267924A (en) * 2001-03-12 2002-09-18 Canon Inc Optical instrument system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002267924A (en) * 2001-03-12 2002-09-18 Canon Inc Optical instrument system
JP4708588B2 (en) * 2001-03-12 2011-06-22 キヤノン株式会社 camera

Similar Documents

Publication Publication Date Title
US6654554B2 (en) Power controller of a camera having an interchangeable lens
US6766111B2 (en) Camera system having a communication system between a camera body and a photographing lens
US6707992B2 (en) Camera system having a communication system between a camera body and a photographing lens
US4758854A (en) Camera system
CN107277310A (en) Fittings equipment, picture pick-up device, camera system and control method
US5682556A (en) Camera with vibration correcting function
JPH10186488A (en) Data communication device, and camera apparatus
US5940631A (en) Optical apparatus having a vibration compensation device operable during photographic preparations
US6128443A (en) Camera and interchangeable lens
JPH05210039A (en) Zoom lens camera
US6741808B2 (en) Camera system having a communication system between a camera body and a photographing lens
JPH10161221A (en) Camera system
JP2004085838A (en) Motor controller, lens device, camera system, and camera
JP2003202623A (en) Electronic equipment system
JPH10239748A (en) Camera performing data communications with mounted equipment or interchangeable lens
JP3513906B2 (en) Camera with shake correction function
JPH10161006A (en) Lens barrel with built-in actuator
JPH1184499A (en) Camera system and camera accessory
JP3584258B2 (en) Camera with shake correction function
JPH09218450A (en) Camera body and camera accessory
JP2003035927A (en) Camera system
JP3360718B2 (en) camera
JPH10260449A (en) Camera system and lens
JPH11125858A (en) Camera system
JPH0427924A (en) Camera

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050304

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050315

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20050712