JPH0657055B2 - Power system and accessory unit - Google Patents
Power system and accessory unitInfo
- Publication number
- JPH0657055B2 JPH0657055B2 JP60139916A JP13991685A JPH0657055B2 JP H0657055 B2 JPH0657055 B2 JP H0657055B2 JP 60139916 A JP60139916 A JP 60139916A JP 13991685 A JP13991685 A JP 13991685A JP H0657055 B2 JPH0657055 B2 JP H0657055B2
- Authority
- JP
- Japan
- Prior art keywords
- power supply
- switch
- accessory unit
- communication
- power
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Structure And Mechanism Of Cameras (AREA)
- Continuous-Control Power Sources That Use Transistors (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電源装置に脱着可能な付属品ユニット、及び電
源システムに関する。The present invention relates to an accessory unit that can be attached to and detached from a power supply device, and a power supply system.
従来、例えばカメラ内に電源を設け、例えばレンズユニ
ツトに内蔵した絞り等を駆動するようにしたものがあ
る。しかし、このようなシステムにおいてレンズユニツ
トをカメラに着脱可能な構成にするとレンズユニツトへ
の給電のタイミングが重要となる。In the related art, for example, there is a camera in which a power source is provided and a diaphragm or the like built in a lens unit is driven. However, when the lens unit is detachably attached to the camera in such a system, the timing of power supply to the lens unit becomes important.
特にレンズユニツト及びカメラ内に夫々マイクロコンピ
ューター(以下マイコンと略す。)を内蔵させた場合に
はレンズユニツトとカメラとの間に各種信号を伝送する
為のチヤンネルが必要となるので、電源ラインとこれら
のチヤンネルとの接触に注意しなければならない。In particular, when a microcomputer (hereinafter abbreviated as "microcomputer") is built in the lens unit and the camera respectively, a channel for transmitting various signals is required between the lens unit and the camera, so that the power line and these Be careful of contact with the channel.
上述のようにした場合レンズユニツトへの給電を行なつ
ている途中でレンズユニツトを交換しようとするとマイ
コン間の通信が終了していないのに電源ラインに給電が
為されたままとなる場合があり、この場合にはマイコン
を破壊してしまう欠点があつた。In the above case, if the lens unit is replaced while power is being supplied to the lens unit, power may still be supplied to the power line even though communication between the microcomputers has not ended. , In this case, there was a defect that the microcomputer was destroyed.
仮にこれを防止する為にレンズユニツトとカメラとを装
着した場合にこれを検出するスイツチを設け、このスイ
ツチにより給電ラインをON・OFFすることも考えら
れる(例えば特開昭58−83824号)が、このよう
にするとレンズユニツトを装着しているだけでレンズユ
ニツトに対して給電が為されてしまいカメラ本体内の電
源の浪費となつてしまう欠点があつた。In order to prevent this, it is conceivable to provide a switch for detecting this when the lens unit and the camera are attached, and to turn on / off the power supply line with this switch (for example, Japanese Patent Laid-Open No. 58-83824). By doing so, there is a drawback in that power is supplied to the lens unit just by mounting the lens unit, and the power source in the camera body is wasted.
本発明はこのような従来技術の欠点を解決することを目
的とするものであり、一般的な電源装置とこれに着脱可
能な他の装置との間の給電タイミングの効果的な制御を
可能にした電源装置に脱着可能な付属品ユニット、及び
電源システムを提供することを目的としたものである。The present invention has an object to solve the above-mentioned drawbacks of the prior art, and enables effective control of power supply timing between a general power supply device and another device detachable therefrom. It is an object of the present invention to provide a detachable accessory unit and a power supply system for the power supply device.
<問題点を解決するための手段> 本出願の電源システムは付属品ユニットの着脱を検出す
べく前記付属品ユニットの着脱に応じて状態が切り換わ
るスイッチ(本実施例においてはSSWに相当する)、
前記付属品ユニットの装着が前記スイッチにより検出さ
れた後に前記付属品ユニットと双方向通信を行う通信手
段(同じく第6図#5乃至#9のステップを実行するC
2)、 前記スイッチによる装着検出出力と前記通信手段による
所定の双方向通信が行われたことを示す出力との両方が
得られたときに前記付属品ユニットの駆動系に対する実
質的な給電を行うとともに前記通信手段による双方向通
信にかかわらず前記スイッチによる装脱検出出力に応じ
て前記給電を停止する給電手段(同じく第5図の電源回
路)とを有する電源装置と、 前記電源装置との装着の際に前記スイッチの状態を切り
換えるための部材(同じく 部16)、 前記電源装置からの給電を受ける受入れ手段(同じくT
21)、前記受入れ手段により給電された電力を機械エ
ネルギーに変換する駆動系(同じく駆動系L4,L5,
L6のいずれか)、前記通信手段と双方向通信を行うた
めのマイクロコンピュータ(同じくL1)とを有する付
属品ユニットからなるなることを特徴とする。<Means for Solving Problems> The power supply system of the present application is a switch (corresponding to SSW in this embodiment) whose state is switched according to attachment / detachment of the accessory unit in order to detect attachment / detachment of the accessory unit. ,
Communication means for performing two-way communication with the accessory unit after the attachment of the accessory unit is detected by the switch (also C for executing steps # 5 to # 9 in FIG. 6).
2) Substantially supplying power to the drive system of the accessory unit when both the mounting detection output by the switch and the output indicating that the predetermined bidirectional communication is performed by the communication unit are obtained. And a power supply unit having a power supply unit (also a power supply circuit in FIG. 5) that stops the power supply in response to the output of the insertion / removal detection by the switch regardless of the bidirectional communication by the communication unit, and the mounting of the power supply unit. A member for switching the state of the switch at the time of (the same as the part 16), a receiving means for receiving power from the power supply device (also the T
21), a drive system for converting the electric power supplied by the receiving means into mechanical energy (also drive systems L4, L5,
L6), and an accessory unit having a microcomputer (also L1) for performing bidirectional communication with the communication means.
また、本発明は付属品ユニットの着脱を検出すべく前記
付属品ユニットの着脱に応じて状態が切り換わるスイッ
チ、前記付属品ユニットの装着が前記スイッチにより検
出された後に前記付属品ユニットと双方向通信を行う通
信手段、前記スイッチによる装着検出出力と前記通信手
段による所定の双方向通信が行われたことを示す出力と
の両方が得られたときに前記付属品ユニットの駆動系に
対する実質的な給電を行うとともに前記通信手段による
双方向通信にかかわらず前記スイッチによる装脱検出出
力に応じて前記給電を停止する給電手段とを有する電源
装置に着脱可能な付属品ユニットであって、 前記電源装置との装着の際に前記スイッチの状態を切り
換えるための部材、 前記電源装置からの給電を受ける受入れ手段、 前記受入れ手段により給電された電力を機械エネルギー
に変換する駆動系、 前記通信手段と双方向通信を行うためのマイクロコンピ
ュータとを有することを特徴とする。The present invention also provides a switch whose state is switched according to attachment / detachment of the accessory unit to detect attachment / detachment of the accessory unit, and bidirectional with the accessory unit after the attachment of the accessory unit is detected by the switch. Substantially with respect to the drive system of the accessory unit when both communication means for performing communication, output for detection of mounting by the switch, and output for indicating predetermined bidirectional communication by the communication means are obtained. An accessory unit attachable to and detachable from a power supply device that supplies power and has power supply means for stopping the power supply in response to an insertion / removal detection output by the switch regardless of bidirectional communication by the communication means. A member for switching the state of the switch at the time of mounting, a receiving means for receiving power from the power supply device, the receiving means Characterized in that it has a more powered power a drive system for converting the mechanical energy, and a microcomputer for performing said communication means and two-way communication.
<実施例> 第2図は本発明の電源装置の一例としての電子カメラ本
体100の構成例図で、C1はメインマイコン、C2は
メインインターフエイス、C21,C25は電源出力端
子、C22,C26はDATA端子、C23,C27は
BUSY端子、C24,C28はGND端子である。C
3はROM、C4は電源部、C5はデイスクドライブ
部、C6は測光系、C7は測距系、SSW1,SSW2
は検出手段としての安全スイツチである。200は第1
の装置としてのレンズユニツトで電子カメラ100に対
して着脱可能となつている。L1はサブマイコン、L2
はレンズ側インターフエース、L21は電源端子、L2
2はDATA端子、L23はBUSY端子、L24はG
ND端子、L3はROM、L4は絞り駆動系、L5はフ
オーカス駆動系、L6はズーム駆動系である。<Embodiment> FIG. 2 is a diagram showing a configuration example of an electronic camera body 100 as an example of a power supply device of the present invention. C1 is a main microcomputer, C2 is a main interface, C21 and C25 are power output terminals, and C22 and C26 are DATA terminals, C23 and C27 are BUSY terminals, and C24 and C28 are GND terminals. C
3 is a ROM, C4 is a power supply unit, C5 is a disk drive unit, C6 is a photometry system, C7 is a distance measurement system, and SSW1 and SSW2.
Is a safety switch as a detection means. 200 is the first
The lens unit as the device is detachable from the electronic camera 100. L1 is a sub-microcomputer, L2
Is the lens side interface, L21 is the power supply terminal, L2
2 is DATA terminal, L23 is BUSY terminal, L24 is G
An ND terminal, L3 is a ROM, L4 is a diaphragm drive system, L5 is a focus drive system, and L6 is a zoom drive system.
又、300はやはり第1の装置としてのストロボユニツ
トであり、S1はサブマイコン、S2はストロボ側イン
ターフエース、S21は電源端子、S22はDATA端
子、S23はBUSY端子、S24はGND端子、S3
はROM、S4はストロボ発光部である。Also, 300 is a strobe unit as the first device, S1 is a sub-microcomputer, S2 is a strobe side interface, S21 is a power supply terminal, S22 is a DATA terminal, S23 is a BUSY terminal, S24 is a GND terminal, and S3 is S3.
Is a ROM, and S4 is a flash light emitting unit.
以下電源装置と第1の装置との基本的な結合を説明する
為に第1の装置としてレンズユニツトを用いた例につき
説明する。Hereinafter, an example using a lens unit as the first device will be described in order to explain the basic coupling between the power supply device and the first device.
尚、本発明は電源装置としてカメラ本体だけでなく電源
を含む一般的な電子機器全てを含む。又、第1の装置と
しても上記電子機器に着脱可能なすべての付属的な電子
機器を含む。It should be noted that the present invention includes not only the camera body as a power supply device but also all general electronic equipment including a power supply. Further, the first device also includes all auxiliary electronic devices that can be attached to and detached from the electronic device.
又、検出手段は機械スイツチに限らず光スイツチ、磁気
センサ等どのようなものであつても良い。Further, the detecting means is not limited to the mechanical switch, and may be any type such as an optical switch and a magnetic sensor.
次に第3図は本発明の電源装置のメインインターフエー
ス回路C2の要部構成例を示す図でQ1,Q2はスイツ
チングトランジスタである。トランジスタQ1は電源C
4からレンズ側電源端子C21への給電路中に設けられ
ている。SSWは安全スイツチであり第1の装置として
のレンズユニツトをカメラ本体に装着し終わるとONす
る。Next, FIG. 3 is a diagram showing a configuration example of a main part of the main interface circuit C2 of the power supply device of the present invention. Q1 and Q2 are switching transistors. Transistor Q1 is power supply C
4 is provided in the power feeding path from the lens side power supply terminal C21. The SSW is a safety switch, which is turned on when the lens unit as the first device is completely attached to the camera body.
第4図はこの様子を説明する図でレンズユニツト200
の端部には例えばネジ19′が切つてあり、このネジ1
9′をカメラ本体側のネジ19にねじ込むことによりレ
ンズユニツト200をカメラ本体100に装着できるよ
うに構成されている。FIG. 4 is a diagram for explaining this state, which is used for the lens unit 200.
For example, a screw 19 'is cut at the end of the
The lens unit 200 can be attached to the camera body 100 by screwing 9'into the screw 19 on the camera body side.
又、ネジ19′,19の螺合が完了するとレンズユニツ
ト200の端面18′とカメラ本体の対応する端面18
とが圧接される。When the screws 19 'and 19 are screwed together, the end surface 18' of the lens unit 200 and the corresponding end surface 18 of the camera body are
And are pressed.
このときレンズ側インターフエースL2の端子L21〜
L24に夫々接続された端子T′21〜T′24とメイ
ンインターフエースC2の端子C21〜C24に夫々接
続された端子T21〜T24とが夫々接触し、これによ
つてC21〜C24とL21〜L24の接続が行なわれ
る。At this time, the terminals L21 to L21 of the lens side interface L2
The terminals T'21 to T'24 respectively connected to the L24 and the terminals T21 to T24 respectively connected to the terminals C21 to C24 of the main interface C2 come into contact with each other, whereby C21 to C24 and L21 to L24 are contacted. Is connected.
このとき、レンズユニツトに設けた弾性的な凸部16が
カメラ本体に設けた凹部17に落ち込みスイツチSSW
1をONとする。At this time, the elastic convex portion 16 provided on the lens unit falls into the concave portion 17 provided on the camera body and the switch SSW.
Turn 1 on.
さて第3図に戻つて、スイツチSSW1がONすると定
電圧VCCより抵抗R1、ダイオード14を介して電流
が流れ、ダイオードのアノードはローレベルとなる。Well connexion back to Figure 3, switch SSW1 resistance than turned ON constant voltage V CC R1, current flows through the diode 14, the anode of the diode becomes low.
このローレベルはインバータ15で反転されメインマイ
コンC1に入力される。This low level is inverted by the inverter 15 and input to the main microcomputer C1.
メインマイコンC1はこの入力に応じて後述のようなプ
ログラムに従つて動作を開始する。In response to this input, the main microcomputer C1 starts its operation according to a program to be described later.
そしてメインマイコンC1より所定の出力信号が出力さ
れるとスイツチ13がONする。このように安全スイツ
チSSWのONと、メインマイコンの所定出力との両方
が得られたときのみスイツチ13がONする。When the main microcomputer C1 outputs a predetermined output signal, the switch 13 is turned on. In this way, the switch 13 is turned on only when both the safety switch SSW is turned on and the predetermined output of the main microcomputer is obtained.
スイッチ13がONするとトランジスタQ2がONす
る。このトランジスタQ2のONによりQ1のエミツタ
・ベース間に接続された抵抗R2に電流が流れQ1がO
Nする。When the switch 13 is turned on, the transistor Q2 is turned on. When the transistor Q2 is turned on, a current flows through the resistor R2 connected between the emitter and base of Q1 and Q1 becomes O.
N
これによりカメラ内の電源C4からレンズユニツトへの
給電が許容される。This allows the power supply from the power supply C4 in the camera to the lens unit.
第5図は上記の第3図示回路の詳細を示す図でQ3〜Q
5はトランジスタ、D1〜D3はダイオードである。S
SWがONのときにはD2の方には電流が流れないので
トランジスタQ5はOFFとなつている。FIG. 5 is a diagram showing the details of the above-mentioned third circuit shown in FIG.
Reference numeral 5 is a transistor, and D1 to D3 are diodes. S
When SW is ON, no current flows in D2, so the transistor Q5 is OFF.
このときメインマイコンC1からの信号によりスイツチ
13がONするとQ2がONし、この電流はQ3のベー
スに流れてQ3をONする。Q4はQ3の動作を安定さ
せる為のものである。Q3のONによりQ1がONしカ
メラ内の電源C4からレンズユニツトへの給電が行なわ
れる。At this time, when the switch 13 is turned on by the signal from the main microcomputer C1, Q2 is turned on, and this current flows to the base of Q3 to turn on Q3. Q4 is for stabilizing the operation of Q3. When Q3 is turned on, Q1 is turned on and power is supplied from the power source C4 in the camera to the lens unit.
一方スイツチSSWがOFFであるとD2に電流が流
れ、Q5がONする。このときはQ1はスイツチ13の
ON,OFFに拘らずOFFとなる。On the other hand, when the switch SSW is OFF, a current flows through D2 and Q5 is turned ON. At this time, Q1 is OFF regardless of whether the switch 13 is ON or OFF.
次に第6図はメインマイコンC1の動作を示すフローチ
ヤートである。先ずステツプ#1でメインマイコンC1
に電源を供給する。Next, FIG. 6 is a flow chart showing the operation of the main microcomputer C1. First, in step # 1, the main microcomputer C1
Supply power to.
次いでSSWがONか否かをステツプ#2で判別する。
これはインバータ15の出力がハイかローかにより行な
う。SSWがOFFの場合にはスイツチ13をOFFし
Q1をOFFする。(ステツプ#3)これによりレンズ
ユニツトへの給電は行なわれない。SSWがONしてい
るとステツプ#4でとりあえずスイツチ13をONす
る。これによりQ1がONしレンズユニツトへの給電が
行なわれる。Then, it is determined in step # 2 whether the SSW is ON.
This is done depending on whether the output of the inverter 15 is high or low. When SSW is OFF, the switch 13 is turned off and Q1 is turned off. (Step # 3) As a result, power is not supplied to the lens unit. If the SSW is turned on, the switch 13 is turned on for the time being at step # 4. As a result, Q1 is turned on and power is supplied to the lens unit.
その後でステツプ#5でDATAラインをローレベルと
する(Breakにする。)。又、この状態を例えば1msec
程度保持する。これによりサブマイコンL1は自動的に
リセツトされる。ステツプ#6でDATAを再びハイと
しレンズ側のイニシヤライズを開始し、このイニシヤラ
イズが完了するのに充分な時間だけ#6で待つ。次にス
テツプ#7に移り、チエツクカウントをクリアする。
(#17) 次にステツプ#18でメインインターフエースのBUS
Yをハイレベルとする。レンズユニツトのサブマイコン
L1が受信状態にあればBUSYラインはローレベルと
なる。After that, the DATA line is set to low level (set to Break) in step # 5. In addition, this state is, for example, 1 msec
Hold about. As a result, the sub-microcomputer L1 is automatically reset. At step # 6, DATA is set to high again to start initialization on the lens side, and wait at # 6 for a sufficient time to complete this initialization. Then, the procedure goes to step # 7 to clear the check count.
(# 17) Next, at step # 18, the main interface BUS
Set Y to high level. If the sub-microcomputer L1 of the lens unit is in the receiving state, the BUSY line becomes low level.
そこでステツプ#19でBUSYラインがハイレベルか
否かを判別し、ハイレベルの場合にはチエツクカウント
を1つプラスする(ステツプ#22)。この場合にはチ
エツクカウントはゼロからスタートしているので“1”
となる。次いでステツプ#23でカウント値が3より小
さいか否かを判別し、3より小さければステツプ#18
に戻し再びBUSYラインのチエツクを行なう。このよ
うにステツプ#18,#19,#22,#23を2回繰
り返してもやはりBUSYラインがハイレベルの場合に
はステツプ#23からステツプ#10に移りスイツチ1
3をOFFする。その後でステツプ#11でメインマイ
コンC1の電源がOFFとなつているか否かを判別し、
OFFになればプログラムを終了する。このように、本
実施例ではサブマイコンの状態がメインマイコンからの
DATAを受信できないような異常状態であるか否かを
チエツクする為に複数回のチエツク動作を行なうことに
より、チエツク動作自身のエラーを防ぐことができるよ
うにしている。Therefore, in step # 19, it is determined whether or not the BUSY line is at the high level, and if it is at the high level, the check count is incremented by 1 (step # 22). In this case, the check count starts from zero, so "1"
Becomes Next, in step # 23, it is judged whether or not the count value is smaller than 3, and if it is smaller than 3, step # 18
Check the BUSY line again. In this way, even if the steps # 18, # 19, # 22, and # 23 are repeated twice, if the BUSY line is still at the high level, the process moves from the step # 23 to the step # 10 and the switch 1
Turn off 3. Then, in step # 11, it is determined whether or not the power source of the main microcomputer C1 is off,
When turned off, the program ends. As described above, in this embodiment, the check operation is performed a plurality of times in order to check whether or not the state of the sub-microcomputer is an abnormal state such that DATA from the main microcomputer cannot be received. So that it can be prevented.
従つてメイン及びサブのマイコンの歩留りを上げること
ができる。Therefore, the yield of the main and sub microcomputers can be increased.
さて、ステツプ#19でサブマイコン側のBUSYライ
ンが受信可能な状態、即ちBUSYがローレベルのとき
にはステツプ#20に進み、今度はカメラ側のDATA
ラインをローレベルとする。When the BUSY line on the sub-microcomputer side can be received at step # 19, that is, when BUSY is at the low level, the process proceeds to step # 20, and this time the DATA on the camera side is received.
Set the line to low level.
本実施例では所定の時間データがメインマイコンから送
られると正常な状態ではサブマイコン側のBUSYライ
ンはハイレベルとなる筈である。そこでステツプ#21
でレンズ側のBUSYラインがハイか否かを判別し、ロ
ーの場合にはステツプ#22,#23により再びチエツ
クカウントをアツプさせる。#18〜#23のチエツク
が3回まで繰り返されるとステツプ#10,#11に移
るのは先程説明した通りである。In the present embodiment, when a predetermined time data is sent from the main microcomputer, the BUSY line on the sub-microcomputer side should be at high level in a normal state. Then step # 21
It is determined whether the BUSY line on the lens side is high or not, and if it is low, the check count is again increased by steps # 22 and # 23. As described above, when the check of # 18 to # 23 is repeated up to three times, the process proceeds to steps # 10 and # 11.
もし、ステツプ#21でレンズユニツト側のBUSYが
ハイであると判別されればBUSYラインが断線等して
いないと考えられるので次にステツプ#8に移る。If it is determined in step # 21 that BUSY on the lens unit side is high, it is considered that the BUSY line is not broken, so that the process proceeds to step # 8.
ステツプ#8ではレンズユニツトに対して「TEST
ID」というコマンドを送る。このコマンドにより後述
のようにレンズユニツト側のIDコードが送信されてく
るのでステツプ#9でこのIDコードをチエツクする。
IDコードが適正でなければステツプ#10においてサ
ブマイコンの電源を切つてしまう。In step # 8, the lens unit is set to "TEST
Send the command "ID". Since the ID code on the lens unit side is transmitted by this command as will be described later, the ID code is checked at step # 9.
If the ID code is not proper, the power of the sub-microcomputer is turned off in step # 10.
IDコードが適正であればステツプ#12へ移り、メイ
ンマイコンがONしているか否かを確認する。メインマ
イコンがONしていなければステツプ#15でレンズユ
ニツトの絞りを開放にするようコマンドを送る。その後
でステツプ#16に移りスイツチ13をOFFしレンズ
側への給電を切る。If the ID code is proper, the process proceeds to step # 12 to check whether the main microcomputer is ON. If the main microcomputer is not on, a command is sent to open the diaphragm of the lens unit in step # 15. After that, the process proceeds to step # 16, the switch 13 is turned off, and the power supply to the lens side is cut off.
又、ステツプ#12でメインマイコンの電源が入つてい
ると判断されるとステツプ#13に移り、後述の如く各
種コマンドを送る。これによりレンズユニツト内の各部
分の状態がステツプ#14でコントロールされる。この
#13,#14のステツプはメインマイコンがOFFさ
れるまで続けられる。If it is determined in step # 12 that the main microcomputer is powered on, the process proceeds to step # 13 to send various commands as described later. As a result, the state of each part in the lens unit is controlled by step # 14. The steps # 13 and # 14 are continued until the main microcomputer is turned off.
次に第7図はレンズユニツト側の動作を示すフローチヤ
ートで、第6図のステツプ#6でDATAがハイレベル
になることによりステツプ#24でサブマイコン内のR
AMをクリアする。又、レンズ側インターフエースの各
ポートをDATA端子がハイレベル、BUSY端子がロ
ーレベルになるようにセツトする。Next, FIG. 7 is a flow chart showing the operation on the lens unit side. When DATA goes high at step # 6 in FIG. 6, R in the sub-microcomputer is set at step # 24.
Clear AM. Also, each port of the lens side interface is set so that the DATA terminal is at the high level and the BUSY terminal is at the low level.
次いでステツプ#25で後述のように絞りのイニシヤラ
イズを行ない所定の開放絞り状態になるようにする。こ
れにより絞りが開放状態となると不図示の開放スイツチ
OSWがONする。Then, in step # 25, the diaphragm is initialized as described later so that a predetermined open diaphragm state is obtained. As a result, when the diaphragm is opened, the open switch OSW (not shown) is turned on.
次にステツプ#26でコマンドがカメラ本体より送られ
て来たか否かを判別し、送られて来るとステツプ#27
に進みコマンドインタープリターにコマンドを送る。コ
マンドインタープリターではステツプ#28でこのコマ
ンドがROML3内に記憶されたものの中にあるか否か
を判別する。もしあればこのコマンドを今度はカメラ本
体側に返送する(#29)。Then, in step # 26, it is determined whether or not the command is sent from the camera body.
Go to and send the command to the command interpreter. In the command interpreter, in step # 28, it is determined whether or not this command is among those stored in the ROML3. If there is, this command is sent back to the camera body side (# 29).
又、これと共にステツプ#30で上記コマンドに応じた
ルーチンに飛びこのルーチンをステツプ#31で実行し
た後ステツプ#26でコマンド待ち状態に戻る。又、ス
テツプ#28でコマンドがROML3内に記憶されてい
ない場合にはステツプ#32でコマンドエラー信号をカ
メラ本体側に送り、ステツプ#26でコマンド待ち状態
に戻る。At the same time, at step # 30, the routine jumps to the routine corresponding to the above command, this routine is executed at step # 31, and then the command waiting state is returned at step # 26. If the command is not stored in the ROML3 at step # 28, a command error signal is sent to the camera body side at step # 32, and the command waiting state is returned at step # 26.
次に第8図は第6図のステツプ#8におけるIDをテス
トするコマンド“TEST ID”に対するレンズ側に
おけるステツプ#31の詳細を示す図で第7図のステツ
プ#30より入り、ステツプ#33においてフエーズエ
ラーか否かを判別する。これはカメラ本体側のメインイ
ンターフエースのDATA端がローとなつていたり、B
USY端がハイとなつていたらレンズ側からDATAを
送ることができない為に、このようなDATA,BUS
Yの各ラインのレベルを判別するステツプである。Next, FIG. 8 is a diagram showing the details of step # 31 on the lens side in response to the command "TEST ID" for testing the ID in step # 8 in FIG. 6, which is entered from step # 30 in FIG. 7 and then in step # 33. Determine if it is a phase error. This is because the DATA end of the main interface on the camera body side is low, B
If the USY end is high, DATA cannot be sent from the lens side.
This is a step for discriminating the level of each line of Y.
フエーズエラーでなければステツプ#34に進み、カメ
ラ本体に対してキーワードコード1を送る。ここでキー
ワードコードは例えばアスキーの文字例の中から選ばれ
0と1の繰り返しが多くなるように設定されている。即
ち情報量が大きくなるようにしている。これによりセル
フクロツキング特性を向上させることができ、しかも誤
りを検出し易くなる効果を有する。このようなコードと
して本実施例では具体的には 「0101 0011 0101 0010 0010 1010 0101 1010」 を用いる。If it is not a phase error, the process proceeds to step # 34 to send the keyword code 1 to the camera body. Here, the keyword code is selected from ASCII character examples, for example, and is set so that the number of repetitions of 0 and 1 increases. That is, the amount of information is increased. As a result, the self-clocking characteristic can be improved, and an error can be easily detected. As such a code, “0101 0011 0101 0010 0010 1010 0101 1010” is specifically used in this embodiment.
このうち最初の1bite「0101 0011」をキーワ
ード1、次の1bite「0101 0010」をキーワー
ド2、次の1bite「0010 1010」をキーワード
3、次の1bite「0101 1010」をキーワード4
とする。Of these, the first 1 bite “0101 0011” is keyword 1, the next 1 bite “0101 0010” is keyword 2, the next 1 bite “0010 1010” is keyword 3, and the next 1 bite “0101 1010” is keyword 4
And
前述のようにステツプ#34でキーワードコード1をカ
メラ側に送信し、次にステツプ#35でフエーズエラー
がないか判別し、なければステツプ#36でキーワード
コード2を送る。その後ステツプ#37でフエーズエラ
ーを検出しエラーがなければステツプ#38でキーワー
ドコード3を送り、ステツプ#39でフエーズエラーを
検出し、エラーがなければステツプ#40でキーワード
コード4を送る。その後でステツプ#41でフエーズエ
ラーを検出し、エラーがなければステツプ#42でメー
カー・種類コードを送る。メーカー・種類コードは夫々
4bitから成り、メーカーコードは4bitの0.1の組み合
わせで構成される。種類コードは次の表のような構成と
なつている。As described above, at step # 34, the keyword code 1 is transmitted to the camera side, then at step # 35, it is determined whether or not there is a phase error, and if not, the keyword code 2 is sent at step # 36. Thereafter, in step # 37, a phase error is detected, and if there is no error, the keyword code 3 is sent in step # 38. In step # 39, the phase error is detected, and if there is no error, the keyword code 4 is sent in step # 40. After that, a phase error is detected in step # 41, and if there is no error, the manufacturer / type code is sent in step # 42. Each maker / type code consists of 4 bits, and the maker code consists of a combination of 0.1 of 4 bits. The type code has the structure shown in the following table.
又、その後でステツプ#43でフエーズエラーを検出
し、エラーがなければ通し番号コードを送る(ステツプ
#44)。通し番号コードは1biteからなり、レンズユ
ニツトの通し番号を示すものである。例えば製品系列が
切換わつたときに旧製品系列と新製品系列の違いをつけ
る為などに使われる。 After that, a phase error is detected in step # 43, and if there is no error, a serial number code is sent (step # 44). The serial number code consists of 1 bite and indicates the serial number of the lens unit. For example, it is used to make a difference between the old product series and the new product series when the product series is switched.
その後でフエーズエラーをステツプ#45で検出し、な
ければ#46で1biteの機能コードを送る。After that, a phase error is detected at step # 45, and if not, a 1-bit function code is sent at # 46.
機能コードは各ビツトが夫々そのレンズユニツトの特徴
を示すように構成されている。例えば最下位ビツトがA
Fの有無、次のビツトがマクロポジシヨンの有無を示す
ように構成されている。もちろん残りのビツトにその他
の各種の情報を入れることもできる。The function code is constructed so that each bit has its own characteristics of the lens unit. For example, the lowest bit is A
The presence or absence of F, and the following bit are configured to indicate the presence or absence of macroposition. Of course, the rest of the bits can contain various other information as well.
各フエーズエラー検出のステツプ#33,#35,#3
7,#39,#41,#43,#45でエラーが検出さ
れた場合、又は機能コードがステツプ#46で送信終了
した場合にはステツプ#47でコマンドウエイトルーチ
ンに移る。Steps # 33, # 35, # 3 for detecting each phase error
When an error is detected at 7, # 39, # 41, # 43, # 45, or when the transmission of the function code is completed at step # 46, the command wait routine is moved to at step # 47.
従つて次のコマンドが来るまで第7図の#26のステツ
プで判別を行なう。Therefore, the determination is made in step # 26 in FIG. 7 until the next command comes.
以上の実施例では第1の装置としてのレンズユニツトの
IDコードが適正なものでなかつたり、カメラ本体との
間で予め定めた条件を満たしていない場合にはレンズユ
ニツトへの給電を停止するようにしているので不要な電
力の消費を防ぐことができる。In the above embodiment, the power supply to the lens unit is stopped when the ID code of the lens unit as the first device is not proper or the predetermined condition with the camera body is not satisfied. Since it is set, unnecessary power consumption can be prevented.
又、本実施例では第1の装置としてのレンズユニツトの
DATAライン、BUSYラインの状態を判別すること
によりレンズユニツトの異常を検出するようにしている
のでレンズユニツトが故障した場合にも速やかにこれを
知ることができ、しかも、その場合にレンズユニツトへ
の給電を遮断するようにしているので漏電等を防ぐこと
ができる。Further, in this embodiment, the abnormality of the lens unit is detected by discriminating the states of the DATA line and the BUSY line of the lens unit as the first device. In addition, since the power supply to the lens unit is cut off in that case, it is possible to prevent electric leakage.
又、本実施例ではレンズユニツトのIDコード等を判別
する為にカメラ本体から1つのコマンドを送るだけでレ
ンズユニツトから必要な情報を全て読み出せるようにし
ているので、カメラ本体とレンズユニツト間の信号の送
受に要する時間を大巾に短縮できる。又、限られた時間
内でより多くの情報の送受を行なうことができる。Further, in this embodiment, all the necessary information can be read from the lens unit by sending one command from the camera unit in order to discriminate the ID code or the like of the lens unit. The time required to send and receive signals can be greatly reduced. Further, more information can be transmitted and received within a limited time.
従つてレンズユニツトのような外部の装置の状態をきめ
細かくしかも高速でコントロールすることが可能とな
る。Therefore, it becomes possible to finely control the state of an external device such as a lens unit at high speed.
又、本実施例では各交換レンズユニツトに共通のキーワ
ードコードを設け、このコードをカメラ本体側からの最
初のコマンドにより読み出すようにしているので最も効
率良くID情報を読み出すことができる。Further, in this embodiment, a common keyword code is provided for each interchangeable lens unit, and this code is read by the first command from the camera body side, so that the ID information can be read most efficiently.
又、キーワードコードを複数の単位(例えばbite)に分
割し各単位のコードをカメラ本体に送る毎にカメラとの
間でフエーズエラーがないか確認しあつた場合には最初
からコードを送り直しているのでコードの誤認がない。Also, the keyword code is divided into multiple units (eg bite), and each time the code of each unit is sent to the camera body, if it is confirmed that there is no phase error with the camera, the code is sent again from the beginning. So there is no misidentification of the code.
又、その他IDコード等についても同様に各単位毎にフ
エーズエラーを検出しているので同様の効果が得られ
る。Also, for other ID codes and the like, the phase error is similarly detected for each unit, so that the same effect can be obtained.
<発明の効果> 本発明によれば、電源装置に付属品ユニットが装着され
ていない場合や、本来装着されるべきでないユニット、
例えば、故障したような付属品ユニットが装着された場
合でも、誤って過大な電流が流れてしまうことを防止出
来、しかも付属品ユニットとの間で通信中に付属品ユニ
ットを電源装置から取り外そうとした場合であってもス
イッチによる装脱検出出力に応じて前記給電を停止する
ので斯かる場合でも誤って過大な電流が流れてしまうこ
とを防止し、安全で効率的な給電を可能とする電源シス
テム及び付属品ユニットを提供出来る。<Effects of the Invention> According to the present invention, when the accessory unit is not attached to the power supply device, or the unit which should not be originally attached,
For example, even if an accessory unit that seems to have failed is installed, it is possible to prevent an excessive current from flowing accidentally, and even remove the accessory unit from the power supply during communication with the accessory unit. Even in such a case, the power supply is stopped according to the loading / unloading detection output by the switch. Therefore, even in such a case, it is possible to prevent an erroneous excessive current from flowing and to enable safe and efficient power supply. It is possible to provide a power supply system and an accessory unit that operate.
第1図は本発明の概念図、 第2図は電源装置の構成例図、 第3図はメインインターフエース回路の要部構成例図、 第4図はレンズユニツトとカメラ本体の給合関係を示す
図、 第5図は第3図示回路の詳細を示す図、 第6図はレンズユニツト装着時のカメラ本体側の動作を
示すフローチヤート、 第7図はカメラ本体にレンズユニツトを装着した時のレ
ンズユニツト側の動作を示すフローチヤート、 第8図はコマンド「TEST ID」に対するレンズユ
ニツトからの送信動作のフローチヤート。 1…電源装置、2…第1の装置、3…電源、4…検出手
段、5…制御手段、7…給電手段。FIG. 1 is a conceptual diagram of the present invention, FIG. 2 is a configuration diagram of a power supply device, FIG. 3 is a configuration diagram of main parts of a main interface circuit, and FIG. 4 is a supply relation between a lens unit and a camera body. Fig. 5, Fig. 5 is a diagram showing the details of the third illustrated circuit, Fig. 6 is a flow chart showing the operation of the camera body side when the lens unit is attached, and Fig. 7 is a diagram showing the operation when the lens unit is attached to the camera body. Fig. 8 is a flow chart showing the operation on the lens unit side, and Fig. 8 is a flow chart of the transmission operation from the lens unit in response to the command "TEST ID". 1 ... Power supply device, 2 ... 1st device, 3 ... Power supply, 4 ... Detection means, 5 ... Control means, 7 ... Power feeding means.
Claims (2)
属品ユニットの着脱に応じて状態が切り換わるスイッ
チ、 前記付属品ユニットの装着が前記スイッチにより検出さ
れた後に前記付属品ユニットと双方向通信を行う通信手
段、 前記スイッチによる装着検出出力と前記通信手段による
所定の双方向通信が行われたことを示す出力との両方が
得られたときに前記付属品ユニットの駆動系に対する実
質的な給電を行うとともに前記通信手段による双方向通
信にかかわらず前記スイッチによる装脱検出出力に応じ
て前記給電を停止する給電手段とを有する電源装置と、 前記電源装置との装着の際に前記スイッチの状態を切り
換えるための部材、 前記電源装置からの給電を受ける受入れ手段、 前記受入れ手段により給電された電力を機械エネルギー
に変換する駆動系、 前記通信手段と双方向通信を行うためのマイクロコンピ
ュータとを有する付属品ユニットからなるなる電源シス
テム。1. A switch whose state is switched according to attachment / detachment of the accessory unit to detect attachment / detachment of the accessory unit, and bidirectional with the accessory unit after the attachment of the accessory unit is detected by the switch. A communication means for performing communication, a substantial part for the drive system of the accessory unit when both the mounting detection output by the switch and the output indicating that the predetermined bidirectional communication is performed by the communication means are obtained. A power supply device that has a power supply device that supplies power and that stops the power supply in response to an insertion / removal detection output by the switch regardless of bidirectional communication by the communication device, and a switch of the switch when the power supply device is attached. A member for switching the state, a receiving means for receiving electric power from the power supply device, and a mechanical energy for supplying electric power supplied by the receiving means. Power supply system comprising consisting accessory unit having a microcomputer for performing driving system for converting the over, the communication means and two-way communication.
属品ユニットの着脱に応じて状態が切り換わるスイッ
チ、前記付属品ユニットの装着が前記スイッチにより検
出された後に前記付属品ユニットと双方向通信を行う通
信手段、前記スイッチによる装着検出出力と前記通信手
段による所定の双方向通信が行われたことを示す出力と
の両方が得られたときに前記付属品ユニットの駆動系に
対する実質的な給電を行うとともに前記通信手段による
双方向通信にかかわらず前記スイッチによる装脱検出出
力に応じて前記給電を停止する給電手段とを有する電源
装置に着脱可能な付属品ユニットであって、 前記電源装置との装着の際に前記スイッチの状態を切り
換えるための部材、 前記電源装置からの給電を受ける受入れ手段、 前記受入れ手段により給電された電力を機械エネルギー
に変換する駆動系、 前記通信手段と双方向通信を行うためのマイクロコンピ
ュータとを有することを特徴とする付属品ユニット。2. A switch whose state is switched according to attachment / detachment of the accessory unit to detect attachment / detachment of the accessory unit, and bidirectional with the accessory unit after the attachment of the accessory unit is detected by the switch. Substantially with respect to the drive system of the accessory unit when both communication means for performing communication, output for detection of mounting by the switch, and output for indicating predetermined bidirectional communication by the communication means are obtained. An accessory unit attachable to and detachable from a power supply device that supplies power and has power supply means for stopping the power supply in response to an insertion / removal detection output by the switch regardless of bidirectional communication by the communication means. A member for switching the state of the switch at the time of mounting with, a receiving means for receiving power from the power supply device, and a receiving means Ri powered power a drive system for converting the mechanical energy, accessories unit characterized by having a microcomputer for performing said communication means and two-way communication.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60139916A JPH0657055B2 (en) | 1985-06-26 | 1985-06-26 | Power system and accessory unit |
| US06/877,264 US4782355A (en) | 1985-06-26 | 1986-06-23 | Power source device |
| DE19863621212 DE3621212A1 (en) | 1985-06-26 | 1986-06-25 | POWER SUPPLY |
| DE3645206A DE3645206C2 (en) | 1985-06-26 | 1986-06-25 | Current supply unit for detachable camera lens |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60139916A JPH0657055B2 (en) | 1985-06-26 | 1985-06-26 | Power system and accessory unit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62174A JPS62174A (en) | 1987-01-06 |
| JPH0657055B2 true JPH0657055B2 (en) | 1994-07-27 |
Family
ID=15256631
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60139916A Expired - Lifetime JPH0657055B2 (en) | 1985-06-26 | 1985-06-26 | Power system and accessory unit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0657055B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5122880A (en) * | 1989-05-29 | 1992-06-16 | Canon Kabushiki Kaisha | Electronic still camera with lessened power consumption |
| US4977634A (en) * | 1989-09-29 | 1990-12-18 | Seinosuke Koji | Pillow with poisonous gas removing cover |
-
1985
- 1985-06-26 JP JP60139916A patent/JPH0657055B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62174A (en) | 1987-01-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4782355A (en) | Power source device | |
| US4945376A (en) | Camera having interchangeable lenses | |
| US6845218B2 (en) | Interchangeable lens type camera system | |
| US5247623A (en) | Automatic multiple personal computer/computer printer connecting system | |
| US5794082A (en) | Electronic flash device with slave emission function | |
| US8103174B2 (en) | Transmission network having an optical receiver that utilizes dual power pins and a single status pin to lower power consumption, lower manufacturing cost, and increase transmission efficiency | |
| JPH0657055B2 (en) | Power system and accessory unit | |
| US5034769A (en) | Interchangeable camera and interchangeable flash device | |
| JPH041554B2 (en) | ||
| JPH0990488A (en) | Electronics | |
| CN114168395A (en) | Chip power-on control method, control device and storage medium | |
| JPH04285921A (en) | Camera system | |
| US20220400212A1 (en) | Image pickup apparatus, accessory, control method of image pickup apparatus, control method of accessory, and storage medium | |
| KR100275904B1 (en) | Apparatus and method for controlling battery charge | |
| US5063403A (en) | Electronic flash apparatus for camera | |
| KR100246211B1 (en) | Video light apparatus | |
| EP0566996A2 (en) | Programmable controller with erroneous input prevention control circuit | |
| JPS62175A (en) | power supply | |
| US5678078A (en) | Camera capable of communicating with an external device via communication contact points arranged in a cartridge compartment | |
| EP0449273A2 (en) | Integral recording unit type television camera | |
| JP3397537B2 (en) | Information processing system | |
| US4370042A (en) | Ready-to-flash condition indicating device for a camera | |
| US5675747A (en) | Data transmission system with erroneous connection indicator | |
| US5687405A (en) | Camera and method for recording information about flashing device | |
| JPS5930284A (en) | Chip selection controlling circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |