Movatterモバイル変換


[0]ホーム

URL:


JPS62175A - power supply - Google Patents

power supply

Info

Publication number
JPS62175A
JPS62175AJP60139917AJP13991785AJPS62175AJP S62175 AJPS62175 AJP S62175AJP 60139917 AJP60139917 AJP 60139917AJP 13991785 AJP13991785 AJP 13991785AJP S62175 AJPS62175 AJP S62175A
Authority
JP
Japan
Prior art keywords
power supply
lens unit
command
code
lens
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
JP60139917A
Other languages
Japanese (ja)
Inventor
Shinji Sakai
堺 信二
Ryosuke Miyamoto
了介 宮本
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 IncfiledCriticalCanon Inc
Priority to JP60139917ApriorityCriticalpatent/JPS62175A/en
Priority to US06/877,264prioritypatent/US4782355A/en
Priority to DE19863621212prioritypatent/DE3621212A1/en
Priority to DE3645206Aprioritypatent/DE3645206C2/en
Publication of JPS62175ApublicationCriticalpatent/JPS62175A/en
Pendinglegal-statusCriticalCurrent

Links

Abstract

Translated fromJapanese

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

Translated fromJapanese

【発明の詳細な説明】[産業上の利用分野]本発明は電源を制御する為の電源装置、特に他の装置と
着脱可能な電源装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a power supply device for controlling a power supply, and particularly to a power supply device that is detachable from other devices.

[開示の概要]本明細書及び図面は他の装置(第1の装置)を着脱可能
な電源装置において、第1の装置を電源装置に装着する
のに伴って前記電源装置から第1の装置に給電を開始す
ると共に第1の装置に対し第1の信号を送信し、これに
対して所定の信号が返送されてこない場合に前記給電手
段を停止トするようにしたので、電源装置から第1の装
置への給電が効果的に行なわれ無駄な電力消費を防止で
きる技術を開示するものである。
[Summary of the Disclosure] This specification and the drawings describe a power supply device to which another device (first device) can be attached and detached. At the same time as starting power supply to the first device, the first signal is sent to the first device, and if a predetermined signal is not returned, the power supply means is stopped. The present invention discloses a technique that can effectively supply power to the first device and prevent wasteful power consumption.

[従来技術]従来1例えばカメラ内に電源を設け、例えばレンズユニ
ットに内蔵した絞り等を駆動するようにしたものがある
。しかし、このようなシステムにおいてレンズユニット
をカメラに着脱可能な構成にするとレンズユニットへの
給電のタイミングが重要となる。
[Prior Art] For example, there is a conventional camera in which a power source is provided inside the camera to drive, for example, an aperture built into a lens unit. However, in such a system, if the lens unit is configured to be detachable from the camera, the timing of power supply to the lens unit becomes important.

特にレンズユニット及びカメラ内に夫々マイクロコンピ
ュータ−C以下マイコンと略す、)を内蔵させ更にレン
ズ内に絞り駆動用等の電動モータを内蔵させた場合には
夫々のマイコンの信号ラインがショートされたりすると
致命的な破壊を生じる恐れがある。
In particular, when a microcomputer (hereinafter referred to as microcomputer) is built into the lens unit and camera, and an electric motor for driving the aperture is built into the lens, the signal lines of each microcomputer may be short-circuited. There is a risk of causing fatal damage.

又、レンズユニット内にROM等しかないものに比べて
電動モーター等への給電量は非常に大きくなる。
Furthermore, the amount of power supplied to the electric motor or the like becomes much larger than in a lens unit that only includes a ROM or the like.

従ってE記の様な破壊の危険性が一層高い。Therefore, the risk of destruction like that described in E is even higher.

又、当然カメラ本体内の限られた電源を効率的に使用し
ないと電源がすぐに上がってしまう。
Also, of course, if the limited power inside the camera body is not used efficiently, the power will quickly turn off.

これに対して上述の様なシステムにおいて例えばレンズ
が装着されたか否かを検出するスイッチ等を設け、この
スイッチの動作に応じてレンズユニットへの給電を制御
する事も考えられる。
On the other hand, it is also conceivable to provide a switch or the like for detecting whether or not a lens is attached in the above-mentioned system, and to control the power supply to the lens unit in accordance with the operation of this switch.

[本発明が解決しようとする問題点]上述のようなシステムにおいては例えばレンズが実際に
装着されていなくても前記の検出スイッチが故意又は過
失でONされることがある。
[Problems to be Solved by the Present Invention] In the above-described system, for example, the detection switch may be turned on intentionally or negligently even if the lens is not actually attached.

その場合にはレンズ側への給電端子には大きな電圧がか
かって′しまい、しかもカメラ又はしンズ側のマイコン
の通信端子にこの端子が接触する可能性°が大きい、そ
して仮に接触してしまった場合には各マイコンは回復不
可能な損傷を破る欠点がある。
In that case, a large voltage will be applied to the power supply terminal to the lens side, and there is a high possibility that this terminal will come into contact with the communication terminal of the camera or the microcomputer on the lens side, and even if it does come into contact with it. Each microcontroller has shortcomings in case it breaks irreparable damage.

又、仮にレンズが装着されていてもこのレンズがカメラ
側からコントロールできないような不適性なレンズであ
った場合給電をそのまま行なっておくことは極めて無駄
なことである。
Further, even if a lens is attached, if this lens is an unsuitable lens that cannot be controlled from the camera side, it is extremely wasteful to continue supplying power.

特にこのような不適切なレンズユニットに対しカメラ側
から所定のコマンドを送った場合にレンズユニット側の
マイコンがどのような実行をするかは予測が不可能であ
り、場合によっては絞りを駆動する為のモーターに常時
電流を流すような誤った実行をしてしまう可能性もある
In particular, it is impossible to predict what the microcontroller on the lens unit will do when a predetermined command is sent from the camera to such an inappropriate lens unit, and in some cases it may drive the aperture. There is also the possibility of making a mistake such as constantly supplying current to the motor.

その場合には極めて短時間のうちにカメラ側の電源は消
耗してしまう欠点がある。
In that case, there is a drawback that the power supply on the camera side is consumed within an extremely short period of time.

本発明はこのような従来技術の欠点を解決することを目
的とするものであり、一般的な電源装置とこれに着脱可
能な他の装置との間の給電タイミングの効果的な制御を
可能にした電源装置を提供することを目的としたもので
ある。
The present invention aims to solve these drawbacks of the conventional technology, and makes it possible to effectively control the power supply timing between a general power supply device and other devices that can be attached to and detached from it. The purpose of this invention is to provide a power supply device with a high efficiency.

く問題点を解決する為の手段〉本発明では、このような問題点を解決するために第1図
に示す如く電源3を有する電源装置1に対し第1の装置
2を着脱したことを検出する検出手段と、電源装置lと
第1の装置2の着脱に応じて所定の動作をする制御手段
5と、前記第1の装置2に対する給電を行なう為の給電
手段7とを有する。
Means for Solving the Problems In the present invention, in order to solve these problems, as shown in FIG. A control means 5 performs a predetermined operation in accordance with attachment/detachment of the power supply device 1 and the first device 2, and a power supply means 7 for supplying power to the first device 2.

8.9は給電の為の接点、10は被制御回路である。1
1.12は信号を通信する為の接点である。
8.9 is a contact for power supply, and 10 is a controlled circuit. 1
1.12 is a contact point for communicating signals.

く作用〉電源装置lと第1の装置2とを装着すると検出手段4が
これを検出する。検出手段の応答特性は比較的速い。
Effect> When the power supply device 1 and the first device 2 are attached, the detection means 4 detects this. The response characteristics of the detection means are relatively fast.

又、この装着によって制御手段5が所定の動作を開始す
る。この制御手段5の着脱に対する応答は比較的遅い。
Further, by this attachment, the control means 5 starts a predetermined operation. The response to attachment and detachment of this control means 5 is relatively slow.

又、検出手段による装着検出出力と前記制御手段による
所定の出力との両方が得られた時に給電手段7を導通し
電源3から第1の装置2内の被制御回路10に対する給
電が行なわれる。
Further, when both the attachment detection output from the detection means and the predetermined output from the control means are obtained, the power supply means 7 is turned on and power is supplied from the power supply 3 to the controlled circuit 10 in the first device 2.

従って制御手段の動作中に電源装置lと第1の装置2と
を切り離そうとした時に端子11゜12等が端子8.9
に接触してもこの時、電源ラインは切れているので破壊
がおきない、又、検出手段のみが検出をしても制御手段
による検出動作が正しく行なわれなければ給電手段は動
作しないので無駄な給電が行なわれる事がない。
Therefore, when attempting to disconnect the power supply device 1 and the first device 2 during operation of the control means, the terminals 11, 12, etc.
Even if the power supply line is cut off at this time, no damage will occur even if the power supply line is cut off, and even if only the detection means detects it, the power supply means will not operate unless the detection operation by the control means is performed correctly, so it is wasted. No power is supplied.

又、制御手段4はレンズユニット装着に応じてレンズユ
ニットに対して第1の信号としてキーワードをチェック
する為のコマンドを送る。レンズユニットはこのコマン
ドを受信すると一旦このコマンドを返送したあと、予め
レンズユニット内に記憶された所定の信号としてのキー
ワードを返送する。
Further, the control means 4 sends a command to check the keyword as a first signal to the lens unit in response to the lens unit being attached. When the lens unit receives this command, it once returns this command, and then returns a keyword as a predetermined signal stored in the lens unit in advance.

制御手段4はこのキーワードが予め定めたキーワードで
あるか否かを確認し、そうでない場合には給電手段によ
る給電を停止する。
The control means 4 checks whether this keyword is a predetermined keyword or not, and if not, stops the power supply by the power supply means.

〈実施例〉第2図は本発明の電源装置−例としての電子カメラ本体
lOoの構成例図で、C1はメインマイコン、C2はメ
インインターフェース、C21、C25は電源出力端子
、C22,C26はDATA端子、C23,C27はB
USY端子、C24,C28はGND端子である。C3
はROM、C4は電源部、C5はディスクドライブ部、
C6は測光系、C7は測距系、5SW1.5SW2は検
出手段としての安全スイッチである。200は第1の装
置としてのレンズユニットで電子カメラ100に対して
着脱可能となっている。Llはサブマイコン、L2はレ
ンズ側インターフェース、L21は電源端子、L22は
DATA端子、L23はBUSY端子。
<Embodiment> Fig. 2 is a configuration example diagram of an electronic camera main body lOo as a power supply device of the present invention, in which C1 is a main microcomputer, C2 is a main interface, C21 and C25 are power output terminals, and C22 and C26 are DATA terminals. Terminals, C23 and C27 are B
The USY terminal, C24, and C28 are GND terminals. C3
is the ROM, C4 is the power supply section, C5 is the disk drive section,
C6 is a photometry system, C7 is a distance measurement system, and 5SW1.5SW2 is a safety switch as a detection means. Reference numeral 200 denotes a lens unit as a first device, which is detachable from the electronic camera 100. Ll is the sub microcomputer, L2 is the lens side interface, L21 is the power supply terminal, L22 is the DATA terminal, and L23 is the BUSY terminal.

L24はGND端子、L3はROM、L4は絞り駆動系
、L5はフォーカス駆動系、L6はズーム駆動系である
L24 is a GND terminal, L3 is a ROM, L4 is an aperture drive system, L5 is a focus drive system, and L6 is a zoom drive system.

又、300はやはり第1の装置としてのストロボユニッ
トであり、Slはサブマイコン。
Also, 300 is a strobe unit as the first device, and Sl is a sub-microcomputer.

S2はストロボ側インターフェース、S21は電源端子
、S22はDATA端子、S23はBUSY端子、S2
4はGND端子、S3はROM 、S 4はストロボ発
光部である。
S2 is the strobe side interface, S21 is the power supply terminal, S22 is the DATA terminal, S23 is the BUSY terminal, S2
4 is a GND terminal, S3 is a ROM, and S4 is a strobe light emitting section.

以下電源装置と第1の装置との基本的な結合を説明する
為に第1の装置としてレンズユニット転用いた例につき
説明する。
In order to explain the basic connection between the power supply device and the first device, an example in which a lens unit is used as the first device will be described below.

尚1本発明は電源装置としてカメラ本体だけでなく電源
を含む一般的な電子機基金てを含む、又、第1の装置と
しても上記電子機器に着脱可能なすべての付属的な電子
機器を含む、又、検出手段は機械スイッチに限らず光ス
ィッチ、磁気センサ等のようなものであっても良い。
Note that the present invention includes not only the camera body but also a general electronic device including a power source as a power supply device, and also includes all ancillary electronic devices that can be attached to and detached from the above-mentioned electronic device as a first device. Furthermore, the detection means is not limited to a mechanical switch, but may be an optical switch, a magnetic sensor, or the like.

次に第3図は本発明の電源装置のメインインターフェー
ス回路C2の要部構成例を示す図でQl、C2はスイッ
チングトランジスタである。トランジスタQ1は電源C
4からレンズ側電源端子C21への給電路中に設けられ
ている。SSWは安全スイッチであり第1の装置として
のレンズユニットをカメラ本体に装着し終わるとONす
る。
Next, FIG. 3 is a diagram showing an example of the main part configuration of the main interface circuit C2 of the power supply device of the present invention, in which Ql and C2 are switching transistors. Transistor Q1 is power supply C
4 to the lens side power supply terminal C21. SSW is a safety switch that is turned ON when the lens unit as the first device is attached to the camera body.

第4図はこの様子を説明する図でレンズユニツl= 2
00の端部には例えばネジ19′が切ってあり、このネ
ジ19’をカメラ本体側のネジ19にねじ込むことによ
りレンズユニット200をカメラ本体lOOに装着でき
るように構成されている。
Figure 4 is a diagram explaining this situation, where the lens unit l=2
For example, a screw 19' is cut at the end of 00, and the lens unit 200 can be attached to the camera body lOO by screwing this screw 19' into the screw 19 on the camera body side.

又、ネジ19’、19の螺合が完了するとレンズユニッ
ト200の端面18′とカメラ本体の対応する端部18
とが圧接される。
Moreover, when the screws 19' and 19 are screwed together, the end surface 18' of the lens unit 200 and the corresponding end 18 of the camera body are connected.
are pressed together.

この時レンズ側インターフェースL2の端子L21〜L
24に夫々接続された端子T’21〜T′24とメイン
インターフェースC2の端子C21〜C24に夫々接続
された端子T21〜T24とが夫々接触し、これによっ
てC21〜C24とL21−L24の接続が行なわれる
At this time, terminals L21 to L of the lens side interface L2
Terminals T'21 to T'24 respectively connected to terminals C21 to C24 of main interface C2 come into contact with terminals T'21 to T24 respectively connected to terminals C21 to C24 of main interface C2, thereby establishing connections between C21 to C24 and L21 to L24. It is done.

この時、レンズユニットに設けた弾性的な凸部16がカ
メラ本体に設けた凹部17に落ち込みスイッチ5SWI
を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 5SWI
Turn on.

さて第3図に戻って、スイッチ55wtがONすると定
電圧Vccより抵抗R1,ダイオード14を介して電流
が流れ、ダイオードの7ノードはローレベルとなる。
Now, returning to FIG. 3, when the switch 55wt is turned on, a current flows from the constant voltage Vcc through the resistor R1 and the diode 14, and the 7 nodes of the diode become low level.

このローレベルはインバータ15で反転されメインマイ
コンC1に入力される。
This low level is inverted by the inverter 15 and input to the main microcomputer C1.

メインマイコンC1はこの入力に応じてt& aのよう
なプログラムに従って動作を開始する。
In response to this input, the main microcomputer C1 starts operating according to a program such as T&A.

そしてメインマイコンCIより所定の出力信号が出力さ
れるとスイッチ13がONする。このように安全スイッ
チSSWのONと、メインマイコンの所定出力との両方
が得られたときのみスイッチ13がONする。
When a predetermined output signal is output from the main microcomputer CI, 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 from the main microcomputer is obtained.

スイッチ13がONすると抵抗R1,ダイオード14.
抵抗R3を介して電流が流れ、トランジスタQ2がON
する。このトランジスタQ2のONによりQlのエミッ
タ拳ベース間に接続された抵抗R2に電流が流れQlが
ONする。
When the switch 13 is turned on, the resistor R1, the diode 14.
Current flows through resistor R3, turning transistor Q2 on.
do. When the transistor Q2 is turned on, a current flows through the resistor R2 connected between the emitter and the base of Ql, turning Ql on.

これによりカメラ内の電源C4からレンズユニットへの
給電が許容される。
This allows power supply to the lens unit from the power supply C4 inside the camera.

第5図は上記の第3図示回路の詳細を示す図でQ3〜Q
5はトランジスタ、DI−03はダイオードである。
FIG. 5 is a diagram showing the details of the circuit shown in the third diagram above.
5 is a transistor, and DI-03 is a diode.

SSWがONのときにはD2の方には電流が流れないの
でトランジスタQ5はOFFとなっている。
When SSW is ON, no current flows to D2, so transistor Q5 is OFF.

この時メインマイコンC1からの信号によりスイッチ1
3がONするとQ2がONt、、この電流はQ3のベー
スに流れてQ3をONする。
At this time, a signal from the main microcomputer C1 causes switch 1 to
When Q3 turns ON, Q2 turns ONt, and this current flows to the base of Q3, turning Q3 ON.

Q4はQ3の動作を安定させる為のものである。Q4 is for stabilizing the operation of Q3.

Q3のONによりQlがONLカメラ内の電源C4から
レンズユニットへの給電が行なわれる。
When Q3 is turned on, power is supplied to Ql from the power supply C4 in the ONL camera to the lens unit.

一方スイッチSSWがOFFであるとD2に電流が流れ
、Q5がONする。このときはQlはスイッチ13のO
N、OFFに拘らずOFFとなる。
On the other hand, when switch SSW is OFF, current flows through D2 and Q5 is turned ON. At this time, Ql is O of switch 13.
It will be OFF regardless of whether it is N or OFF.

次に第6図は、メインマイコンC1の動作を示すフロー
チャートである。先ずステップ#1でメインマイコンC
1に電源を供給する。
Next, FIG. 6 is a flowchart showing the operation of the main microcomputer C1. First, in step #1, main microcomputer C
Supply power to 1.

次いでSSWがONか否かをステップ#2で判別する。Next, it is determined in step #2 whether the SSW is ON or not.

これはインバータ15の出力が/\イかローかにより行
なう。
This is done depending on whether the output of the inverter 15 is /\high or low.

SSWがOFFの場合にはスイッチ13を0FFLQI
をOFFする。(ステップ#3)これによりレンズユニ
ットへの給電は行なわれない、SSWがONI、ている
とステップ#4でとりあえずスイッチ13をONする。
When SSW is OFF, switch 13 is set to 0FFLQI.
Turn off. (Step #3) As a result, power is not supplied to the lens unit. If the SSW is ONI, the switch 13 is turned ON in step #4.

これによkJ Q l カON Lレンズユニットへの
給電が行なわれる。
As a result, power is supplied to the kJQlON L lens unit.

その後でステップ#5でDATAラインをローレベルと
する(Breakにする。)。
After that, in step #5, the DATA line is set to low level (Break).

又、この状態を例えば1m5ec程度保持する。Further, this state is maintained for about 1 m5ec, for example.

これによりサブブイコンL1は自動的にリセットされる
。ステップ#6でDATAを再びハイとしレンズ側のイ
ニシャライズを開始し、このイニシャライズが完了する
のに充分な時間だけ#6で待つ。次にステップ#7に移
り、チェックカウントをクリアする。(#17)次にス
テップ#18でメインインターフェースのBUSYをハ
イレベルとする。レンズユニットのサブマイコンL1が
受信状態にあればBUSYラインはローレベルとなる。
As a result, the sub icon L1 is automatically reset. In step #6, DATA is set high again to start initializing the lens side, and wait in step #6 for a sufficient time to complete this initialization. Next, proceed to step #7 and clear the check count. (#17) Next, in step #18, BUSY of the main interface is set 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・°
゛となる。
Therefore, in step #19, it is determined whether the BUSY line is at a high level or not, and if it is at a high level, the check count is incremented by one. (Step #22) In this case, the check count starts from zero, so it is 1°
It becomes ゛.

次いでステップ#23でカウント値が3より小さいか否
かを判別し、3より小さければステップ#181こ戻し
再びBUSYラインのチェックを行なう。このようにス
テップ#18.#19゜#22.#23を3回繰り返し
てもやはりBUSYラインがハイレベルの場合にはステ
ップ#23からステップ#10に移りスイッチ13をO
FFする。その後でステップ#11でメインマイコンC
1の電源がOFFとなっているか否かを判別し、OFF
になればプログラムを終了する。このように1本実施例
ではサブマイコンの状態がメインマイコンからのDAT
Aを受信できないようなU常状態であるか否かをチェッ
クする為に複数回のチェック動作を行なうことにより、
チェック動作自身のエラーを防ぐことができるようにし
ている。
Next, in step #23, it is determined whether the count value is less than 3. If it is less than 3, the process returns to step #181 and checks the BUSY line again. Thus step #18. #19° #22. If the BUSY line is still at a high level even after repeating #23 three times, move from step #23 to step #10 and turn switch 13 to OFF.
FF. After that, in step #11, the main microcomputer C
Determine whether the power of 1 is OFF and turn it OFF.
When it does, the program will end. In this way, in this embodiment, the status of the sub microcomputer is the DAT from the main microcomputer.
By performing multiple check operations to check whether the U is in a normal state where it cannot receive A,
Checking operations are designed to prevent errors on their own.

従ってメイン及びサブのマイコンの歩留りを上げること
ができる。
Therefore, the yield of main and sub microcomputers can be increased.

さて、ステップ#19でサブマイコン側のBUSYライ
ンが受信可能な状態、即ちBUSYがローレベルのとき
にはステップ#20に進み今度はカメラ側のDATAラ
インをローレベルとする。
Now, in step #19, when the BUSY line on the sub-microcomputer side is in a receivable state, that is, BUSY is at a low level, the process proceeds to step #20, where the DATA line on the camera side is set at a low level.

本実施例では所定の時間データがメインマイコンから送
られると受信側のBUSYラインはハイレベルとなるよ
う構成されているので正常な状態ではサブマイコン側の
BUSYラインはハイレベルとなる筈である。そこでス
テップ#21でレンズ側のBUSYラインが/\イか否
かを判別し、ローの場合にはステップ#22゜#23に
より再びチェックカウントをアップさせる。#18〜#
23のチェックが3回まで繰り返されるとステップ#1
0.#11に移るのは先程説明した通りである。
In this embodiment, the BUSY line on the receiving side is set to high level when data is sent from the main microcomputer for a predetermined period of time, so the BUSY line on the sub-microcomputer side should be at high level under normal conditions. Therefore, in step #21, it is determined whether the BUSY line on the lens side is /\a, and if it is low, the check count is increased again in steps #22 and #23. #18~#
If check 23 is repeated up to 3 times, step #1
0. The process moves to #11 as explained earlier.

もし、ステップ#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 disconnected, so the process moves to step #8.

ステップ#8ではレンズユニットに対してrTEST 
 IDJというコマンドを送る。このコマンドにより後
述のようにレンズユニット側のIDコードが送信されて
くるのでステップ#9でこのIDコードをチェックする
。IDコードが適正でなければステップ#10において
サブマイコンの電源を切ってしまう。
In step #8, perform rTEST on the lens unit.
Send the command IDJ. This command sends the ID code of the lens unit as described later, so this ID code is checked in step #9. If the ID code is not correct, the power to the sub-microcomputer is turned off in step #10.

IDニードが適正であればステップ#12へ移り、メイ
ンマイコンがONしているか否かを確認する。メインマ
イコンがONしていなければステップ#15でレンズユ
ニットの絞りを開放にするようコマンドを送る。その後
でステップ#16に移りスイッチ13をOFF L、レ
ンズ側への給電を切る。又、ステップ#12でメインマ
イコンの電源が入っていると判断されるとステップ#1
3に移り、後述の如く各種コマンドを送る。これにより
レンズユニット内の各部分の状7mがステップ#14で
コントロールされる。この#13.井14のステップは
メインマイコンがOFFされるまで続けられる。
If the ID need is appropriate, the process moves to step #12, and it is checked whether the main microcomputer is turned on. If the main microcomputer is not turned on, it sends a command to open the aperture of the lens unit in step #15. After that, the process moves to step #16 and the switch 13 is turned OFF L to cut off the power supply to the lens side. Also, if it is determined in step #12 that the main microcomputer is powered on, step #1
Moving on to step 3, various commands are sent as described later. As a result, the shape 7m of each part within the lens unit is controlled in step #14. This #13. Step 14 continues until the main microcomputer is turned off.

次に第7図はレンズユニット側の動作を示すフローチャ
ートで、第6図のステップ#6でDATAがハイレベル
になることによりステップ#24でサブマイコン内のR
AMをクリアする。又、レンズ側インターフェースの各
ボートをDATA端子がハイレベル、BUSY端子がロ
ーレベルになるようにセットする。
Next, FIG. 7 is a flowchart showing the operation on the lens unit side. When DATA becomes high level in step #6 of FIG.
Clear AM. Also, set each port of the lens side interface so that the DATA terminal is at high level and the BUSY terminal is at low level.

次いでステップ#25で後述のように絞りのイニシャラ
イズを行ない所定の開放絞り状態になるようにする。こ
れにより絞りが開放状態となると不図示の開放スイッチ
O3WがONする。
Next, in step #25, the diaphragm is initialized as described later to bring it into a predetermined open aperture state. As a result, when the aperture becomes open, an open switch O3W (not shown) is turned on.

次にステップ#26でコマンドがカメラ本体より送られ
て来たか否かを判別し、送られて来るとステップ#27
に進みコマンドインタープリタ−にコマンドを送る。コ
マンドインタープリタ−ではステップ#28でこのコマ
ンドがROML3内に記憶されたものの中にあるか否か
を判別する。もしあればこのコマンドを今度はカメラ本
体側に返送する。(#29)又、これと共にステップ#
30で上記コマンドに応じたルーチンに飛び、このルー
チンをステップ#31で実行した後ステップ#26でコ
マンド待ち状態に戻る。又、ステップ#28でコマンド
がROML3内に記憶されていない場合にはステップ#
32でコマンドエラー信号をカメラ本体側に送り、ステ
ップ#26でコマンド待ち状態に戻る。
Next, in step #26, it is determined whether or not the command has been sent from the camera body, and if the command has been sent, step #27
Go to and send the command to the command interpreter. In step #28, the command interpreter determines whether this command is among those stored in the ROML3. If there is, this command is then sent back to the camera body. (#29) Also, along with this step #
At step 30, the routine jumps to a routine corresponding to the above command, and after executing this routine at step #31, the program returns to the command waiting state at step #26. Also, if the command is not stored in ROML3 in step #28, step #28
At step #32, a command error signal is sent to the camera body, and at step #26, the process returns to the command waiting state.

次に第8図は第6図のステップ#8におけるIDをテス
トするコマンド“TEST  ID”に対するレンズ側
におけるステップ#31の詳細を示す図で第7図のステ
ップ#3oより入り、ステップ#33においてフェーズ
エラーか否かを判別する。これはカメラ本体側のメイン
インターフェースのDATA端がローとなっていたり、
BLJSY端がハイとなっていたらレンズ側からDAT
Aを送ることができない為に、このようなりATA 、
BUSYの各ラインのレベルを判別するステップである
Next, FIG. 8 is a diagram showing the details of step #31 on the lens side for the command "TEST ID" to test the ID in step #8 of FIG. 6, which starts from step #3o of FIG. Determine whether or not there is a phase error. This is because the DATA end of the main interface on the camera body side is low,
If the BLJSY end is high, DAT from the lens side.
This happens because ATA cannot send A,
This is a step of determining the level of each line of BUSY.

フェーズエラーでなければステップ#34に進み、カメ
ラ本体に対してキーワードコード1を送る。ここでキー
ワードコードは1例えばアスキーの文字列の中から選ば
れ0と1の繰り返しが多くなるように設定されている。
If there is no phase error, the process proceeds to step #34, and keyword code 1 is sent to the camera body. Here, the keyword code is selected from 1, for example, an ASCII character string, and is set to increase the number of repetitions of 0 and 1.

即ち情報量が大きくなるようにしている。これによりセ
ルフクロッキング特性を向上させることができ。
In other words, the amount of information is increased. This improves self-clocking characteristics.

しかも誤りを検出し易くなる効果を有する。このような
コードとして未実施例では具体的には、rolol  
0011 0101 00100010 101Q  
0101 1010Jを用いる。
Moreover, it has the effect of making it easier to detect errors. Specifically, in the unimplemented code, rolol
0011 0101 00100010 101Q
0101 1010J is used.

このうち最初(7)lbite rolol  0011Jをキ
ーワード1、次(7)lbfterolol  0010Jをキーワ
ード2、次のl b i t e roolo  l010Jを
午−ワード3、次のl b i t e rolol  1010Jを
キーワード4とする。
Among these, the first (7) lbite rolol 0011J is keyword 1, the next (7) lbfterolol 0010J is keyword 2, the next lbiterolol 1010J is pm-word 3, the next lbiterolol 1010J is keyword 4 shall be.

前述のようにステップ#34でキーワードコード1をカ
メラ側に送信し1次にステップ#35でフェーズエラー
がないか判別し、なければステップ#36でキーワード
コード2を送る。その後ステップ#37でフェーズエラ
ーを検出しエラーがなければステップ#38でキーワー
ドコード3を送りステップ#39でフェーズエラーを検
出し、エラーがなければステップ#40でキーワードコ
ード4を送る。その後でステップ#41でフェーズエラ
ーを検出し。
As described above, keyword code 1 is sent to the camera side in step #34, and then it is determined in step #35 whether there is a phase error, and if not, keyword code 2 is sent in step #36. Thereafter, a phase error is detected in step #37, and if there is no error, keyword code 3 is sent in step #38, a phase error is detected in step #39, and if there is no error, keyword code 4 is sent in step #40. After that, a phase error is detected in step #41.

エラーがなければステップ#42でメーカ一種類コード
を送る。メーカ一種類コードは夫々4bitから成り、
メーカーコードは4bitのOllの組み合わせで構成
される。
If there is no error, send one type of manufacturer code in step #42. Each manufacturer code consists of 4 bits,
The manufacturer code is composed of a combination of 4-bit Olls.

種類コードは次の表の様な構成となっている。The type code is structured as shown in the table below.

表1又、その後でステップ#43でフェーズエラーを検出し
、エラーがなければ通し番号コードを送る。(ステップ
#44)、通し番号コードは1biteからなり、レン
ズユニットの通し番号を示すものである0例えば製品系
列が切換わったときに旧製品系列と新製品系列の違いを
つける為などに使われる。
Table 1 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 bit and indicates the serial number of the lens unit 0. For example, it is used to distinguish between the old product series and the new product series when the product series is changed.

その後でフェーズエラーをステップ#45で検出し、な
ければヰ46で1biteの機能コードを送る。
Thereafter, a phase error is detected in step #45, and if not, a 1-bit function code is sent in step #46.

機能コードは各ビットが夫々そのレンズユニットの特徴
を示すように構成されている。
The function code is constructed such that each bit indicates a characteristic of the lens unit.

例えば最下位ビットがAFの有無、次のビットがマクロ
ポジションの有無、を示すように構成されている。もち
ろん残りのビットにその他の各種の情報を入れることも
できる。
For example, the least significant bit is configured to indicate the presence or absence of AF, and the next bit indicates the presence or absence of macro position. Of course, the remaining bits can also contain various other information.

各フェーズエラー検出のステップ#33゜$35.#3
7.#39.#41.#43゜#45でエラーが検出さ
れた場合、又は機能コードがステップ井46で送信終了
した場合にはステップ#47でコマンドウェイトルーチ
ンに移る。
Step #33 of each phase error detection $35. #3
7. #39. #41. #43 If an error is detected in #45, or if the function code has been transmitted in step #46, the process moves to a command wait routine in step #47.

従って、次のコマンドが来るまで第7図の#26のステ
ップで判別を行なう。
Therefore, the determination is made in step #26 in FIG. 7 until the next command arrives.

以上の実施例では第1の装置としてのレンズユニットの
IDコードが適正なものでなかったり、カメラ本体との
間で予め定めた条件を満たしていない場合にはレンズユ
ニットへの給電を停止するようにしているので不要な電
力の消費を防ぐことができる。
In the above embodiment, if the ID code of the lens unit as the first device is not appropriate or the predetermined conditions with the camera body are not met, the power supply to the lens unit is stopped. This prevents unnecessary power consumption.

又、本実施例では第1の装置としてのレンズユニットの
DATAライン、BUSYラインの状態を判別すること
によりレンズユニットの異常を検出するようにしている
のでレンズユニットが故障した場合にも速やかにこれを
知ることができ、しかも、その場合にレンズユニットへ
の給電を遮断するようにしているので漏電等を防ぐこと
ができる。
Furthermore, in this embodiment, an abnormality in the lens unit is detected by determining the status of the DATA line and BUSY line of the lens unit as the first device, so even if the lens unit breaks down, it can be detected immediately. In addition, since the power supply to the lens unit is cut off in such a case, it is possible to prevent electric leakage, etc.

又、本実施例ではレンズユニットのIDコード等を判別
する為にカメラ本体から1つのコマンドを送るだけでレ
ンズユニットから必要な情報を全て読み出せるようにし
ているので、カメラ本体とレンズユニット間の信号の送
受に要する時間を大幅に短縮できる。又、限られた時間
内でより多くの情報の送受を行なうことができる。
In addition, in this embodiment, all necessary information can be read from the lens unit by just sending one command from the camera body in order to determine the ID code of the lens unit. The time required to send and receive signals can be significantly reduced. Furthermore, more information can be sent and received within a limited time.

従ってレンズユニットのような外部の装置の状態をきめ
細かく、しかも高速でコントロールすることが可能とな
る。
Therefore, it becomes possible to precisely control the state of external devices such as the 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 out by the first command from the camera body, so that the ID information can be read out most efficiently.

又、キーワードコードを複数の単位(例えばb i t
 e)に分割し各単位のコードをカメラ本体に送る毎に
カメラとの間でフェーズエラーがないか確認しあった場
合には最初からコードを送り直しているのでコードの誤
認がない。
Also, keyword codes can be divided into multiple units (e.g. bit
e) Each time the code of each unit is divided into the camera body and checked for phase errors with the camera, the code is sent again from the beginning, so there is no misidentification of the code.

又、その他のIDコード等についても同様に各単位毎に
フェーズエラーを検出しているので同様の効果が得られ
る。
Furthermore, since phase errors are similarly detected for each unit of other ID codes, similar effects can be obtained.

〈発明の効果〉以上説明した如く、本発明によれば電源装置に第1の装
置が単に装着されていたり2或いは検出手段が単に故障
や誤認により検出動作を行なってしまっても、一旦給電
を開始した後、第1の装置に第1の信号を送って第1の
装置から所定の信号が返送されてこなければ第1の装置
への給電が停止されるので1節電、効率的な給電が可能
となる。又、電源装置側、第1の装置側での破壊も起き
ない。
<Effects of the Invention> As explained above, according to the present invention, even if the first device is simply attached to the power supply device or the detection means performs a detection operation simply due to a failure or misidentification, the power supply is temporarily stopped. After starting, a first signal is sent to the first device, and if a predetermined signal is not returned from the first device, power supply to the first device is stopped, resulting in power saving and efficient power supply. It becomes possible. Furthermore, no damage occurs on the power supply side or the first device side.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の概念図、第2図は電源装置の構成例日
、第3図はメインインターフェース回路の要部構成例図
、第4図はレンズユニットとカメラ本体の結合間係を示
す図、第5図は第3図示回路の詳細を示す図、第6図は
レンズユニット装着時のカメラ本体側の動作を示すフロ
ーチャート、第7図はカメラ本体にレンズユニットを装
着した時のレンズユニット側の動作を示すフローチャー
ト、第8図はコマンドrTEST  IDJに対するレ
ンズユニットからの送信動作のフローチャート。1 −−−−−−−一電源装置、2 −−−−−−−一第1の装置、3 −−−−−−−一電源、4 −−−−−−−一検出手段、5 −−−−−−−一制御手段、7 −−一−−−−−給電手段。木嬢痙肩のポL還図易7図慎虚装置0婢紛例図メインインターフ1柁ぺWE貝4の蓼、蜜閃鈎ふ一す2
め3図しンス゛°ユニ、トとΔメツ本体の一合関保i示す囚発4図QZIへあ3図示回路の嵯犯図第5図
Fig. 1 is a conceptual diagram of the present invention, Fig. 2 is an example of the configuration of the power supply device, Fig. 3 is an example of the main part configuration of the main interface circuit, and Fig. 4 is the connection between the lens unit and the camera body. Figure 5 is a diagram showing the details of the third illustrated circuit, Figure 6 is a flowchart showing the operation of the camera body when the lens unit is attached, and Figure 7 is the lens unit when the lens unit is attached to the camera body. FIG. 8 is a flowchart showing the transmission operation from the lens unit in response to the command rTEST IDJ. DESCRIPTION OF SYMBOLS 1 -----------1 power supply device, 2 ---------1 first device, 3 ---------1 power supply, 4 ---------1 detection means, 5 -------1 control means, 7 ---1--power supply means. Tree girl spastic shoulder po L return figure easy 7 figure modest device 0 slander example figure main interface 1 柁peWE shell 4 foot, honey flash hook 2
Figure 3 Figure 4 Figure 4 shows the connection between unit and ΔMetsu body Figure 5 Figure 5

Claims (2)

Translated fromJapanese
【特許請求の範囲】[Claims](1)第1の装置を着脱可能な電源装置において、前記
第1の装置の着脱を検出する検出手段と、前記第1の装
置の装着に応じて前記第1の装置に給電を行なう給電手段と、該給電開始に応じて第1の装置に第1の信号を送信する
と共に、その後所定の信号が返送されてこない場合に前
記給電手段を停止する制御手段と、を有する電源装置。
(1) In a power supply device to which a first device can be attached and detached, there is a detection means for detecting attachment and detachment of the first device, and a power supply means for supplying power to the first device according to attachment of the first device. and a control means that transmits a first signal to the first device in response to the start of the power supply, and stops the power supply means when a predetermined signal is not returned thereafter.
(2)前記所定の信号は0と1の比較的高周波の信号を
含むことを特徴とする特許請求の範囲第(1)項記載の
電源装置。
(2) The power supply device according to claim (1), wherein the predetermined signal includes relatively high frequency signals of 0 and 1.
JP60139917A1985-06-261985-06-26 power supplyPendingJPS62175A (en)

Priority Applications (4)

Application NumberPriority DateFiling DateTitle
JP60139917AJPS62175A (en)1985-06-261985-06-26 power supply
US06/877,264US4782355A (en)1985-06-261986-06-23Power source device
DE19863621212DE3621212A1 (en)1985-06-261986-06-25 POWER SUPPLY
DE3645206ADE3645206C2 (en)1985-06-261986-06-25Current supply unit for detachable camera lens

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
JP60139917AJPS62175A (en)1985-06-261985-06-26 power supply

Publications (1)

Publication NumberPublication Date
JPS62175Atrue JPS62175A (en)1987-01-06

Family

ID=15256656

Family Applications (1)

Application NumberTitlePriority DateFiling Date
JP60139917APendingJPS62175A (en)1985-06-261985-06-26 power supply

Country Status (1)

CountryLink
JP (1)JPS62175A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JPH0265476A (en)*1988-08-311990-03-06Canon Inc Camera and lens unit and camera system
US5122880A (en)*1989-05-291992-06-16Canon Kabushiki KaishaElectronic still camera with lessened power consumption

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JPH0265476A (en)*1988-08-311990-03-06Canon Inc Camera and lens unit and camera system
US5122880A (en)*1989-05-291992-06-16Canon Kabushiki KaishaElectronic still camera with lessened power consumption

Similar Documents

PublicationPublication DateTitle
US4782355A (en)Power source device
JP6936543B2 (en) USB interface circuits and methods for low power operation
US5794082A (en)Electronic flash device with slave emission function
CN108390728B (en)Optical module power-on control method and device
JPS62176A (en)Power source device
JPS62175A (en) power supply
KR100395664B1 (en)Universal serial bus device and initializing mehtod of the device
CN114168395A (en)Chip power-on control method, control device and storage medium
CN101299200A (en)Processor system, equipment and fault handling method
CN110908673B (en)Digital power supply chip burning method
KR20020030669A (en)Computer system and a method of automatically setting an operating system thereof
JPS62174A (en) Power system and accessory unit
JP3781607B2 (en) Interface selector
CN114904719B (en)Piezoelectric type glue valve control method, device and system
CN109117348B (en)Method and system for controlling server UID LED indicator light
JP7186569B2 (en) MOTOR DRIVE CONTROL DEVICE, FAN DEVICE, AND MOTOR DRIVE CONTROL METHOD
WO2000043859A1 (en)Power switch circuit and electronic device
US5678078A (en)Camera capable of communicating with an external device via communication contact points arranged in a cartridge compartment
US20220190759A1 (en)Power apparatus for vehicle
KR0130785Y1 (en) Automatic detection device when replacing PC IC card of portable computer
CN210038594U (en)Power-on and power-off circuit of program control switch
JP3090866B2 (en) Power supply sequence control circuit
JP2917341B2 (en) Water leak sensor
CN114786306A (en) Working circuit and control method of lamp, storage medium and electronic device
JPS5930284A (en)Chip selection controlling circuit

[8]ページ先頭

©2009-2025 Movatter.jp