JPH0820662B2 - Control device - Google Patents
Control deviceInfo
- Publication number
- JPH0820662B2 JPH0820662B2 JP62233380A JP23338087A JPH0820662B2 JP H0820662 B2 JPH0820662 B2 JP H0820662B2 JP 62233380 A JP62233380 A JP 62233380A JP 23338087 A JP23338087 A JP 23338087A JP H0820662 B2 JPH0820662 B2 JP H0820662B2
- Authority
- JP
- Japan
- Prior art keywords
- output
- circuit
- level
- vcc
- oscillation
- 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
- Exposure Control For Cameras (AREA)
- Lens Barrels (AREA)
- Stroboscope Apparatuses (AREA)
- Safety Devices In Control Systems (AREA)
Description
【発明の詳細な説明】 [産業上の利用分野] 本発明は、カメラ等の制御を行なう制御装置の改良に
関するものである。The present invention relates to an improvement of a control device for controlling a camera or the like.
[従来の技術] 従来から、カメラ等の制御装置として用いられている
CPUは、電池の消耗等を防ぐため、カメラのレリーズボ
タンが押されて初めて電源が供給され、同時に発振回路
が動作するように構成されている。ここで、発振回路に
X′talやセラロックなどの発振子を用いた場合、発振
周波数が所定の値に達するまでは、CPUの動作を停止
し、所定周波数成分以外のクロックによりCPUが暴走し
ないようになっている。[Prior Art] Conventionally used as a control device for a camera or the like.
The CPU is configured so that power is supplied only when the release button of the camera is pressed and the oscillation circuit operates at the same time in order to prevent battery consumption and the like. Here, when an oscillator such as X'tal or Ceralock is used in the oscillator circuit, the operation of the CPU is stopped until the oscillation frequency reaches a predetermined value, and the CPU does not run away with a clock other than the predetermined frequency component. It has become.
[発明が解決しようとする問題点] 前述の従来のカメラのおいては、発振回路が所定の周
波数に達するまでの安定時間は、電源電圧によって大き
く影響されるので、通常のレリーズ開始状態とストロボ
充電時のように、発振開始後の電源電圧の上昇タイミン
グが異なる場合に、最長の発振安定時間に合わせた一定
の発振安定時間を設けたのでは、レリーズタイムラグが
非常に長くなるなどの問題点があった。[Problems to be Solved by the Invention] In the conventional camera described above, the stabilization time until the oscillation circuit reaches a predetermined frequency is greatly affected by the power supply voltage. If the power supply voltage rise timing after the start of oscillation is different, such as when charging, providing a constant oscillation stabilization time that matches the longest oscillation stabilization time causes a very long release time lag. was there.
本発明は、このような問題点を解決しようとするもの
である。The present invention is intended to solve such a problem.
[問題点を解決するための手段] 発振回路と、前記発振回路に応じて動作する制御回路
と、前記発振回路が動作を開始してから所定期間経過す
るまで前記制御回路に制御動作を行なわせないようにす
る阻止手段と、電源電圧応じて前記阻止手段の作用する
前記所定期間を変更する可変手段とを有する制御装置と
するものである。[Means for Solving the Problems] An oscillation circuit, a control circuit that operates according to the oscillation circuit, and a control circuit that causes the control circuit to perform a control operation until a predetermined period elapses after the oscillation circuit starts operating. The control device is provided with a blocking unit that is not provided and a variable unit that changes the predetermined period in which the blocking unit operates according to a power supply voltage.
[作用] 本発明によれば、発振回路が動作を開始してから該発
振回路に応じて動作する制御回路が制御動作を開始する
迄の待ち時間を電源電圧に応じて変更し、上記待ち時間
の短縮を図るものである。[Operation] According to the present invention, the waiting time from the start of the operation of the oscillating circuit to the start of the control operation of the control circuit operating according to the oscillating circuit is changed according to the power supply voltage. Is intended to be shortened.
[実施例] 第1図は本発明の一実施例の全体構成を示すブロック
図である。すなわち、第1図では、カメラに装てんされ
ている電池8の出力VBATがコンデンサ9を通してモータ
駆動回路1とストロボ回路2に供給され、また逆流防止
ダイオード10、コンデンサ16を通してVDDの出力がVCC検
出回路3、リニア部制御駆動回路4、VDD検出回路5、
動作周波数切換え回路6、シーケンス制御回路7に供給
されている。またトランジスタ11と抵抗12,13で構成さ
れるVCC通電回路、チョークコイル14、コンデンサ15を
通してVCCの出力がVCC検出回路3、リニア部制御駆動回
路4に供給されていて、それぞれVCC検出回路3の出力V
CCNGがリニア部制御駆動回路4とVDD検出回路5に、そ
して、VDD検出回路5の出力VDDNGがリニア部制御駆動回
路4、動作周波数切換え回路6、シーケンス制御回路7
に接続されている。[Embodiment] FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention. That is, in FIG. 1, the output VBAT of the battery 8 loaded in the camera is supplied to the motor drive circuit 1 and the strobe circuit 2 through the capacitor 9, and the VDD output is supplied to the VCC detection circuit through the backflow prevention diode 10 and the capacitor 16. 3, linear control drive circuit 4, VDD detection circuit 5,
It is supplied to the operating frequency switching circuit 6 and the sequence control circuit 7. Further, the output of VCC is supplied to the VCC detection circuit 3 and the linear section control drive circuit 4 through the VCC conducting circuit composed of the transistor 11 and the resistors 12 and 13, the choke coil 14, and the capacitor 15, Output V
CCNG is supplied to the linear control drive circuit 4 and the VDD detection circuit 5, and the output VDDNG of the VDD detection circuit 5 is the linear control drive circuit 4, the operating frequency switching circuit 6, and the sequence control circuit 7.
It is connected to the.
第2図はVCCのレベルを検出するVCC検出回路3の詳細
を示している。すなわち、第2図では、定電流発生回路
17の基準電流IS1がコンパレータ34,42,48,57のバイアス
電流として供給され、基準電圧発生回路18の出力VCが各
コンパレータの基準比較電圧として、それぞれの反転入
力端子に接続されている。またVCCを抵抗22,23,24,25,2
6で分圧した出力V1,V2,V3,V4は、それぞれ抵抗29,30,3
1,32を介してコンパレータ57,48,42,34の非反転入力端
子に接続され、VCCの所定電圧を検出しているが、コン
パレータ57の出力はトランジスタ56、抵抗58を介してVC
CNG1の出力となり、同様にコンパレータ48の出力はトラ
ンジスタ49、抵抗50を介してVCCNG2の出力、コンパレー
タ42の出力はトランジスタ43、抵抗44を介してVCCNG3の
出力、コンパレータ34の出力はトランジスタ37、抵抗38
を介してVCCNG4の出力となる。FIG. 2 shows the details of the VCC detection circuit 3 which detects the level of VCC. That is, in FIG. 2, the constant current generation circuit
The reference current IS1 of 17 is supplied as the bias current of the comparators 34, 42, 48, 57, and the output VC of the reference voltage generation circuit 18 is connected to the respective inverting input terminals as the reference comparison voltage of each comparator. In addition, VCC is a resistor 22,23,24,25,2
Outputs V1, V2, V3, V4 divided by 6 are resistors 29, 30, 3 respectively.
It is connected to the non-inverting input terminals of comparators 57, 48, 42, and 34 via 1, 32 and detects the predetermined voltage of VCC, but the output of comparator 57 is VC via transistor 56 and resistor 58.
It becomes the output of CNG1, and similarly the output of the comparator 48 is the output of VCCNG2 via the transistor 49 and the resistor 50, the output of the comparator 42 is the transistor 43, the output of VCCNG3 is via the resistor 44, the output of the comparator 34 is the transistor 37 and the resistor 37. 38
Becomes the output of VCCNG4 via.
なお抵抗19,20,21、トランジスタ59、抵抗35,40,46,5
4,MOSトランジスタ36,41,47,55で構成されるPUC回路
は、VCC低下時の誤判定防止回路である。Resistors 19,20,21, transistor 59, resistors 35,40,46,5
The PUC circuit composed of 4, MOS transistors 36, 41, 47, 55 is a false judgment prevention circuit when VCC drops.
第3図はVDDレベルを検出するVDD検出回路5の詳細を
示している。すなわち、第3図では、定電流発生回路60
の基準電流IS2,IS3がコンパレータ78,79,80,81のバイア
ス電流として供給され、基準電圧発生回路61の出力ΣVt
hがコンパレータ78,79,80,81の非反転入力端子に、VDD
の電圧を抵抗73,74,75,76,77で分圧した出力V5,V6,V7,V
8がそれぞれコンパレータ81,80,79,78の反転入力端子に
接続されている。FIG. 3 shows the details of the VDD detection circuit 5 for detecting the VDD level. That is, in FIG. 3, the constant current generating circuit 60
The reference currents IS2 and IS3 are supplied as the bias currents of the comparators 78, 79, 80 and 81, and the output ΣVt of the reference voltage generation circuit 61.
h is VDD to the non-inverting input terminal of comparator 78,79,80,81
Output voltage divided by resistors 73,74,75,76,77 V5, V6, V7, V
8 is connected to the inverting input terminals of the comparators 81, 80, 79, 78, respectively.
ここで、VCCNG1の出力とコンパレータ81の出力はオア
ゲート68を通してVDDNG1の出力、VCCNG1の出力とコンパ
レータ80の出力はオアゲート67を通してVDDNG2の出力、
VCCNG1の出力とコンパレータ79の出力はオアゲート66を
通してVDDNG3の出力、VCCNG1の出力とコンパレータ78の
出力はオアゲート65を通してVDDNG4の出力となってい
る。Here, the output of VCCNG1 and the output of comparator 81 are output of VDDNG1 through the OR gate 68, the output of VCCNG1 and the output of comparator 80 are output of VDDNG2 through the OR gate 67,
The output of VCCNG1 and the output of the comparator 79 are output of VDDNG3 through the OR gate 66, and the output of VCCNG1 and the output of the comparator 78 are output of VDDNG4 through the OR gate 65.
第4図は発振回路およびクロック切換え回路を示して
いる。この第4図では、ナンドゲート126、X′tall2
2、フィードバック抵抗125、コンデンサ123,124で発振
回路を構成し、ナンドゲート126への入力▲▼
によって発振の動作が制御される。VDDNG1とVDDNG3がと
もにLレベルの時は、インバータ127、アンドゲート13
7、オアゲート139,140、アンドゲート141を通して発振
回路と同一周波数の出力がXiNに表われ、VDDNG3のみが
Hレベルの時は、インバータ127、分周器128、アンドゲ
ート138、オアゲート139,140、アンドゲート141を通し
て発振回路の周波数を2分周した出力がXiNに表われ、V
DDNG1がHレベルの時は、インバータ127、分周器128,12
9,130,131,132、アンドゲート141を通して発振回路の周
波数を25分周した出力がXiNに表われる。FIG. 4 shows an oscillator circuit and a clock switching circuit. In FIG. 4, the NAND gate 126, X'tall2
2.Feedback resistor 125 and capacitors 123 and 124 form an oscillator circuit, and input to NAND gate 126 ▲ ▼
Controls the operation of oscillation. When both VDDNG1 and VDDNG3 are L level, inverter 127, AND gate 13
7. Through the OR gates 139 and 140 and the AND gate 141, the output of the same frequency as the oscillation circuit appears in XiN, and when only VDDNG3 is at the H level, through the inverter 127, the frequency divider 128, the AND gate 138, the OR gates 139 and 140, and the AND gate 141. The output obtained by dividing the frequency of the oscillator circuit by 2 appears in XiN and V
When DDNG1 is H level, inverter 127, frequency divider 128,12
9,130,131,132, the output was 2 5 divides the frequency of the oscillator circuit through the AND gate 141 appears at XIN.
第5図は発振安定待機回路を含むシーケンス制御回路
7の詳細を示している。すなわち、第5図では、スイッ
チインターフェース209を通してスイッチの状態がCPU20
0内に取り込まれ、カウンタ201、コンパレータ202、レ
ジスタ203、RSフリップフロップ204、ナンドゲート20
5、インバータ206によって発振安定待機回路を構成して
いる。FIG. 5 shows details of the sequence control circuit 7 including the oscillation stabilization waiting circuit. That is, in FIG. 5, the state of the switch is the CPU 20 through the switch interface 209.
Captured in 0, counter 201, comparator 202, register 203, RS flip-flop 204, NAND gate 20
5. The inverter 206 constitutes an oscillation stabilization standby circuit.
第6図はカメラの一連の動作を示したものであるが、
SW1WAITの状態でスイッチSW1がオンすると、バッテリー
チェック、測距、測光を行ない、ストロボ撮影が必要で
あると判断したら、直ちに充電を開始する。充電後、カ
メラのスイッチSW2がオンすると、AF制御、SH制御、巻
上げを行なって再びSW1WAITへ復帰する。ここで、SW1WA
ITで所定のスイッチが所定時間経過しても、オンしない
場合や、ストロボ充電で電源電圧が所定レベル以下にな
った場合は、発振回路の動作を停止することになる。FIG. 6 shows a series of operations of the camera,
When the switch SW1 is turned on in the SW1WAIT state, battery check, distance measurement, and photometry are performed, and if it is determined that flash photography is necessary, charging is immediately started. After charging, when the switch SW2 of the camera is turned on, AF control, SH control, and winding are performed, and the camera returns to SW1WAIT again. Where SW1WA
If the IT does not turn on the predetermined switch for a predetermined time, or if the power supply voltage drops below a predetermined level due to flash charging, the operation of the oscillation circuit is stopped.
つぎに、これらの発振制御の方法を、第7図および第
8図のフローチャートに従って説明する。Next, these oscillation control methods will be described with reference to the flowcharts of FIGS. 7 and 8.
第7図はSW1WAITの状態でのフローチャートで、ま
ず、第5図のCPU200に内蔵されているタイマ1を初期リ
セットした後にスタートさせ、つぎに、フロー502でMAI
NSWの状態を調べにいく。MAINSWがオンしている場合
は、フロー503へ進んでスイッチSW1の状態を調べ、スイ
ッチSW1もオンしていれば、第6図に示したように、BC
動作を開始する。MAINSWとSW1のいずれかがオフしてい
る場合には、フロー504でALENDLの状態を調べ、これが
リセットされている時には、つぎにフロー505で背蓋の
状態を調べ、この背蓋が閉じられていて、かつ、フロー
509でDXコードが検出された場合のみ、第6図に示した
ように、フイルムの空送り動作を開始する。またALENDL
がセットされている時は、フロー506で背蓋の状態を調
べ、ここで背蓋が開かれていると、フロー507でALENDL
をリセットし、チャタリングを吸収するための一定時間
を待機した後に、フロー511へ進む。フロー511では、タ
イマ1の値がThに達したかどうかを判定していて、タイ
マ値がThに達するまで、上記スイッチ検出動作を継続す
る。タイマ1がThに達したら、フロー512へ進んで、タ
イマ1のカウント動作を停止し、フロー513でVCCENをL
レベルにする。FIG. 7 is a flow chart in the SW1WAIT state. First, the timer 1 built in the CPU 200 of FIG. 5 is initialized and then started, and then the MAI is executed in flow 502.
I will check the status of NSW. If the MAIN SW is on, the flow proceeds to step 503 to check the state of the switch SW1, and if the switch SW1 is also on, BC is set as shown in FIG.
Start operation. If either MAINSW or SW1 is off, check the status of ALENDL in flow 504, and if it is reset, then check the status of the back cover in flow 505, and check that this back cover is closed. And and the flow
Only when the DX code is detected at 509, as shown in FIG. 6, the film idling operation is started. See also ALENDL
If is set, check the condition of the back cover with flow 506. If the back cover is opened here, use ALENDL with flow 507.
Is reset and after waiting for a certain period of time for absorbing chattering, the flow proceeds to flow 511. In the flow 511, it is determined whether or not the value of the timer 1 has reached Th, and the switch detection operation is continued until the timer value reaches Th. When timer 1 reaches Th, proceed to flow 512 to stop the counting operation of timer 1 and set VCCEN to L at flow 513.
To level.
第5図で、スイッチSW1がオフしていると、SW10N出力
はLレベル、VCCENもLレベルになるので、オアゲート2
07の出力もLレベルとなり、よってVCCラッチ用トラン
ジスタ208の出力VCCLはハイインピーダンスとなって、
第1図に表わされるVCC系の通電は停止され、第9図の
タイミングチャートに示すように、VCCのレベルは次第
に低下する。In FIG. 5, when the switch SW1 is off, the SW10N output goes to L level and VCCEN goes to L level.
The output of 07 also becomes L level, therefore the output VCCL of the VCC latch transistor 208 becomes high impedance,
The power supply to the VCC system shown in FIG. 1 is stopped, and the level of VCC gradually decreases as shown in the timing chart of FIG.
また第2図のVCC検出回路でVCCが低下し、VCCの分圧
値V1が基準電圧VCより低くなると、コンパレータ57、ト
ランジスタ56、抵抗58を通した出力VCCNG1はHレベルと
なる。When VCC drops in the VCC detection circuit of FIG. 2 and the divided voltage value V1 of VCC becomes lower than the reference voltage VC, the output VCCNG1 through the comparator 57, the transistor 56 and the resistor 58 becomes H level.
また第3図のVDD検出回路で、VCCNG1がHレベルとな
ると、インバータ62,64を介してトランジスタ70,69がオ
ンし、定電流発生回路60の出力電流IS2,IS3の供給がな
くなるため、コンパレータ78,79,80,81の出力は全てH
レベルとなって、オアゲート68の出力VDDNG1もHレベル
となる。Further, in the VDD detection circuit of FIG. 3, when VCCNG1 becomes H level, the transistors 70 and 69 are turned on via the inverters 62 and 64, and the output currents IS2 and IS3 of the constant current generation circuit 60 are not supplied. Outputs of 78, 79, 80, 81 are all H
As a result, the output VDDNG1 of the OR gate 68 also becomes H level.
再び、第7図のフローチャートに戻って、フロー513
でVCCの通電を切った後に、CPU200に内蔵されているタ
イマ2をリセットしてから、スタートさせる。フロー51
6でタイマ2の値がTDCに達するまで待機しているが、こ
の時間はVCCの通電を断ってから、上述したように、VDD
NG1がHレベルになるのに充分近いレベルまで、VCCが低
下する時間に設定されていて、タイマ2がこの時間に達
した時点でタイマ2のカウント動作を停止し、フロー51
8でCPU200よりレジスタ203に発振安定待機時間tsをセッ
トする。つぎに、フロー519でCPU200の▲▼出力を
LレベルとしてRSフリップフロップ204をリセットする
とともに、インバータ206を介してカウンタ201をリセッ
トする。続いてフロー520でCPU200の▲▼出力をH
レベルとすると、ナンドゲート205の▲▼出力
はLレベルとなり、この出力が第4図の発振回路を構成
するナンドゲート126の入力に加わり、発振が停止す
る。この状態ではXiNを通してクロックがCPU200に供給
されなくなるので、CPU200は動作を停止し、ホールド状
態に設定され、第7図のフロー520でプログラムの実行
は停止する。この状態で、たとえば、スイッチSW1がオ
ンすると、スイッチインターフェース209を通してSW10N
出力がHレベルとなり、オアゲート207を通してトラン
ジスタ208がオン状態となる。Returning again to the flowchart of FIG. 7, the flow 513
After turning off the power to VCC, reset the timer 2 built in the CPU200 and then start it. Flow 51
It waits until the value of timer 2 reaches TDC at 6, but during this time, after turning off the power supply to VCC, as described above, VDD
The time is set such that VCC drops to a level close enough to NG1 going to H level, and when timer 2 reaches this time, the counting operation of timer 2 is stopped, and flow 51
At 8, the CPU 200 sets the oscillation stabilization waiting time ts in the register 203. Next, in step 519, the output of the CPU 200 is set to L level to reset the RS flip-flop 204 and the counter 201 via the inverter 206. Then, in flow 520, the ▲ ▼ output of the CPU 200 is set to H.
When set to level, the output of the NAND gate 205 becomes L level, and this output is added to the input of the NAND gate 126 which constitutes the oscillation circuit of FIG. 4, and oscillation is stopped. In this state, the clock is not supplied to the CPU 200 via XiN, so the CPU 200 stops its operation and is set to the hold state, and the execution of the program is stopped in the flow 520 of FIG. In this state, for example, when the switch SW1 is turned on, SW10N is passed through the switch interface 209.
The output becomes H level, and the transistor 208 is turned on through the OR gate 207.
第1図でVCCLがLレベルとなると、抵抗12,13を介し
てトランジスタ11がオンし、VCC系の通電が開始され
る。また第9図のVCC波形の示すように、VCCが所定のレ
ベルまで達すると、第2図のVCC検出回路でVCCの分圧値
V1が基準電圧VCを越え、コンパレータ57の出力が反転
し、トランジスタ56、抵抗58を介してVCCNG1の出力がL
レベルとなる。When VCCL becomes L level in FIG. 1, the transistor 11 is turned on through the resistors 12 and 13, and the power supply to the VCC system is started. Also, as shown in the VCC waveform in Fig. 9, when VCC reaches a predetermined level, the VCC voltage divider in the VCC detection circuit in Fig. 2
V1 exceeds the reference voltage VC, the output of the comparator 57 is inverted, and the output of VCCNG1 is L through the transistor 56 and the resistor 58.
Level.
一方、第3図のVDD検出回路では、VCCNG1がLレベル
になったことにより、インバータ62,63,64を介して定電
流発生回路60、基準電圧発生回路61、抵抗73,74,75,76,
77が全てイネーブル状態となる。ここで、コンパレータ
81では基準電圧発生回路61の出力をΣVthとVDDの分圧値
V5との比較を行ない、V5のほうが高い時にはコンパレー
タ81の出力はLレベルとなり、よってノアゲート68の出
力VDDNG1もLレベルとなる。On the other hand, in the VDD detection circuit of FIG. 3, since VCCNG1 becomes L level, the constant current generation circuit 60, the reference voltage generation circuit 61, the resistors 73,74,75,76 via the inverters 62,63,64. ,
All 77 are enabled. Where the comparator
In 81, the output of the reference voltage generation circuit 61 is divided by ΣVth and VDD.
When V5 is higher than V5, the output of the comparator 81 becomes L level, and the output VDDNG1 of the NOR gate 68 also becomes L level.
ここで、VDDNG1がLレベルとなると、第5図のRSフリ
ップフロップ204はセットされ、その出力はLレベル
となるので、ナンドゲート205の▲▼出力はH
レベルとなり、第4図の発振回路は作動する。XiNより
クロックの供給が開始されると、カウンタ201はフロー5
21で示したようにカウント動作を開始する。コンパレー
タ202はカウンタ201の値とレジスタ203にセットされて
いる値tsの比較を行なっており、カウンタ201の値がts
に等しくなった時点でSTART出力はHレベルとなる。こ
の出力がCPU200に伝達されると直ちにCPU200はプログラ
ムの実行を開始し、フロー524へ進んでVCCENをHレベル
とし、VCC系の通電保持を行なう。そして、フロー500へ
進んでタイマ1を動作させ、前述したのと同様に各スイ
ッチのセンスを開始する。Here, when VDDNG1 becomes L level, the RS flip-flop 204 of FIG. 5 is set and the output thereof becomes L level, so that the output of the NAND gate 205 is at H level.
The oscillator circuit shown in FIG. 4 is activated. When the clock supply from XiN is started, the counter 201 flows
Start the counting operation as indicated by 21. The comparator 202 compares the value of the counter 201 with the value ts set in the register 203, and the value of the counter 201 is ts.
When it becomes equal to, the START output becomes H level. Immediately after this output is transmitted to the CPU 200, the CPU 200 starts executing the program, proceeds to flow 524, and sets VCCEN to the H level to keep the VCC system energized. Then, the process proceeds to the flow 500 to operate the timer 1 to start the sensing of each switch as described above.
つぎに、第8図のフローチャートに従って、ストロボ
充電制御の方法を説明する。Next, a strobe charging control method will be described with reference to the flowchart of FIG.
まず、フロー600でストロボ充電の起動を開始する
と、図示されていないストロボ充電回路の充電が開始さ
れ、続いてフロー601でタイマ1の値をリセットしてか
ら、フロー602でタイマ1をスタートさせる。フロー603
ではストロボ用メインコンデンサの充電レベルが所定値
に達したかどうかをチェックしていて、充電終了状態で
はCGUPがHレベルとなるので、その時はフロー606へ進
んでタイマ1をストップさせ、さらに、フロー607でス
トロボ充電停止の制御によって充電を終了する。フロー
603でストロボが未充電の時はフロー604でタイマ1の値
がTCに達したかどうかをチェックし、達している時は、
充電完了した場合と同様にフロー606,607へ進んでスト
ロボの充電を終了するし、達していない時はフロー605
でVDDNG1の状態をチェックする。First, when the start of strobe charging is started in flow 600, the charging of a strobe charging circuit (not shown) is started, and subsequently, the value of timer 1 is reset in flow 601 and then timer 1 is started in flow 602. Flow 603
Checks whether the charge level of the strobe main capacitor has reached the specified value. At the end of charge, CGUP becomes H level. At that time, proceed to flow 606 to stop timer 1, and then At 607, the charging is terminated by controlling the strobe charging stop. flow
When the strobe is not charged in 603, the flow 604 checks whether the value of timer 1 has reached TC, and when it is,
Similar to the case where the charging is completed, the flow proceeds to Steps 606 and 607 to end the charging of the strobe.
Check the status of VDDNG1 with.
ここで、第10図のタイミングチャートに示すように、
ストロボの充電が開始されると、VCCは急速に低下する
ので、第2図のVCC検出回路でVCCの分圧値V1が基準電圧
VCより低下し、コンパレータ57の出力はLレベルに反転
し、トランジスタ56、抵抗58を介してVCCNG1の出力はH
レベルとなる。Here, as shown in the timing chart of FIG.
When the strobe charge is started, VCC drops rapidly. Therefore, in the VCC detection circuit in Fig. 2, the divided voltage value V1 of VCC is the reference voltage.
It becomes lower than VC, the output of the comparator 57 is inverted to the L level, and the output of VCCNG1 goes high through the transistor 56 and the resistor 58.
Level.
一方、第3図のVDD検出回路でVCCNG1がHレベルとな
ると、インバータ62,64、トランジスタ69,70を介して定
電流発生回路60はディスイネーブル状態となり、その出
力電流IS2,IS3が供給されなくなり、コンパレータ81の
出力はHレベルとなる。したがって、オアゲート68の出
力VDDNG1はHレベルとなるので、フロー605でこれを検
出すると、直ちにフロー606へ進み、CPU200からレジス
タ203に発振安定待機時間tLをセットする。ただし、こ
のtLの値は、前述したSWWAIT時の発振安定待機時間tSよ
り長い値に設定されている。続いてフロー607でCPUの▲
▼出力をLレベルとすると、RSフリップフロップ20
4はリセットされ、一方、インバータ206を介してカウン
タ201もリセットされる。On the other hand, when VCCNG1 becomes H level in the VDD detection circuit in FIG. 3, the constant current generation circuit 60 is disabled via the inverters 62, 64 and transistors 69, 70, and its output current IS2, IS3 is no longer supplied. , The output of the comparator 81 becomes H level. Therefore, the output VDDNG1 of the OR gate 68 becomes the H level, and when this is detected in the flow 605, the process immediately proceeds to the flow 606, and the oscillation stabilization waiting time t L is set from the CPU 200 to the register 203. However, the value of t L is set to a value longer than the oscillation stabilization wait time t S during SWWAIT described above. Then, in Flow 607, CPU ▲
▼ When the output is at L level, RS flip-flop 20
4 is reset, while the counter 201 is also reset via the inverter 206.
そして、フロー608で▲▼出力をHレベルとする
と、ナンドゲート205の▲▼出力はLレベルと
なり、第4図の発振回路の動作は停止され、この時点で
CPU200のプログラム実行動作も停止する。ここで、CPU2
00の駆動電源電圧VDDは第10図に示したように、ストロ
ボ充電開始と同時に低下するが、VCC出力のほうが消費
電流およびトランジスタ11の逆トランジスタ効果により
速く低下するため、上記VCCが所定レベルに達した時点
でもCPU200の駆動電源電圧VDDは充分にあり、かつ、発
振が停止すると、CPU200の消費電流は非常に少なくなる
ので、バックアップ用コンデンサ16によって充分にバッ
クアップが可能となり、第10図に示したように、ストロ
ボの充電が進んで、コンデンサの充電が所定のレベルに
達してくると、電池電圧VBATが復帰し、VCCが上昇して
いく。Then, when the output ▲ ▼ is set to the H level in the flow 608, the output ▲ ▼ of the NAND gate 205 becomes the L level, and the operation of the oscillation circuit of FIG. 4 is stopped.
The program execution operation of the CPU 200 is also stopped. Where CPU2
As shown in Fig. 10, the drive power supply voltage VDD of 00 drops at the same time as the start of strobe charging, but the VCC output drops faster due to the consumption current and the reverse transistor effect of the transistor 11, so the above VCC rises to a predetermined level. The drive power supply voltage VDD of the CPU 200 is sufficient even when it reaches the limit, and when oscillation stops, the current consumption of the CPU 200 becomes very small, so the backup capacitor 16 enables sufficient backup, as shown in Fig. 10. As described above, when the charging of the strobe progresses and the charging of the capacitor reaches a predetermined level, the battery voltage VBAT recovers and VCC rises.
第2図のVCC検出回路でVCCの分圧値V1が基準電圧VCよ
り高くなると、コンパレータ57の出力がHレベルに反転
し、トランジスタ56、抵抗58を介した出力VCCNG1はLレ
ベルとなる。同時に第3図のVDD検出回路では、VCCNG1
出力の反転により、インバータ62,64、トランジスタ69,
70を介して定電流発生回路60がイネーブルとなり、また
インバータ62,63を介してトランジスタ71,72がオンする
ため、基準電圧発生回路61、抵抗73,74,75,76,77がイネ
ーブルとなる。コンパレータ81ではVDDの分圧値V5と基
準電圧ΣVthの比較をし、VDDがその値より高い時はコン
パレータ81の出力はLレベルとなり、オアゲート68の出
力VDDNG1もLレベルとなる。When the divided voltage value V1 of VCC becomes higher than the reference voltage VC in the VCC detection circuit of FIG. 2, the output of the comparator 57 is inverted to H level, and the output VCCNG1 via the transistor 56 and the resistor 58 becomes L level. At the same time, in the VDD detection circuit in Fig. 3, VCCNG1
By reversing the output, inverters 62, 64, transistors 69,
The constant current generation circuit 60 is enabled via 70, and the transistors 71, 72 are turned on via the inverters 62, 63, so that the reference voltage generation circuit 61 and the resistors 73, 74, 75, 76, 77 are enabled. . The comparator 81 compares the divided voltage value V5 of VDD with the reference voltage ΣVth. When VDD is higher than that value, the output of the comparator 81 becomes L level and the output VDDNG1 of the OR gate 68 also becomes L level.
第5図でVDDNG1がLレベルとなると、RSフリップフロ
ップ204がセットされてその出力がLレベルとなり、
ナンドゲート205の▲▼出力はHレベルに反転
する。In FIG. 5, when VDDNG1 becomes L level, the RS flip-flop 204 is set and its output becomes L level,
The output of the NAND gate 205 is inverted to H level.
第4図の発振回路では、この出力により発振が開始さ
れ、XiN出力を通してCPU200およびカウンタ201へクロッ
クが供給される。CPU200の駆動電源電圧VDDは発振開始
と同時に急速に低下し、CPU動作最低保証電圧以下に達
するが、この時点ではカウンタ201のカウント値がレジ
スタ203にセットされたtLの値に達していないので、CPU
200のプログラム実行動作は開始されず、CPU200が暴走
することがない。カウンタ201のカウントが進み、レジ
スタ203にセットされた発振安定時間tLに達すると、コ
ンパレータ202のSTART出力がHレベルとなり、この出力
信号によってCPU200はプログラム実行動作を開始する。In the oscillator circuit shown in FIG. 4, oscillation is started by this output, and a clock is supplied to the CPU 200 and the counter 201 through the XiN output. The driving power supply voltage VDD of the CPU 200 rapidly drops at the same time as the oscillation starts and reaches the CPU operation minimum guaranteed voltage or less, but at this point the count value of the counter 201 has not reached the value of t L set in the register 203, so ,CPU
The program execution operation of 200 is not started, and CPU 200 does not run away. When the count of the counter 201 progresses and reaches the oscillation stabilization time t L set in the register 203, the START output of the comparator 202 becomes H level, and this output signal causes the CPU 200 to start the program execution operation.
第8図のフローチャートでは、フロー609から611が以
上のようなハード処理に相当し、START出力がHレベル
になった時点で、再びフロー603へ進んでストロボの充
電が終了したかどうかのチェックを開始する。In the flowchart of FIG. 8, flows 609 to 611 correspond to the above-mentioned hardware processing, and when the START output becomes the H level, the flow proceeds to flow 603 again to check whether or not the strobe charging is completed. Start.
なお上記実施例では、通常のスイッチ入力待機状態か
ら復帰する時のクロック発振回路の待機時間より、スト
ロボ充電動作でホールド状態に設定される時の発振待機
時間を長くとるために、プログラム上で発振を停止する
前に、あらかじめ、待機すべき時間をレジスタにセット
しておくことにより、その電圧レベルに応じた発振安定
時間を確保していたが、この他に、スイッチ入力待機時
とストロボ充電時のホールド解除とする電圧レベルを可
変することも、発振安定待機のために有効な手段とな
る。すなわち、通常のスイッチ入力待機時にホールドを
解除するレベルをVCCの分圧値V1で既定し、VCCNG1がL
レベルになったことにより解除するように構成し、一
方、ストロボ充電時のホールド状態から復帰する時は、
VCCの分圧値V2を基準電圧VCと比較し、VCCNG2によって
解除するように構成すると、ストロボ充電時のホールド
状態からの復帰電圧のほうが高くなるので、VDDが発振
開始時に急速に低下するLレベルも相対的に高くなり、
発振状態としては有利な方向となる。よって、この場合
は、スイッチ入力待機時とストロボ充電時の発振安定待
機時間をあえて変更する必要がない。In the above embodiment, in order to set the oscillation standby time when the hold state is set by the strobe charging operation to be longer than the standby time of the clock oscillation circuit when returning from the normal switch input standby state, oscillation is generated in the program. Before stopping, the oscillation stabilization time corresponding to the voltage level was secured by setting the time to wait in advance in the register.However, in addition to this, during switch input standby and strobe charging. Varying the voltage level for releasing the hold is also an effective means for waiting for oscillation stabilization. That is, the level at which the hold is released during normal switch input standby is defined by the VCC divided voltage value V1 and VCCNG1 is set to L.
It is configured to release when it reaches the level, on the other hand, when returning from the hold state at the time of strobe charging,
If the divided voltage value V2 of VCC is compared with the reference voltage VC and configured to be released by VCCNG2, the return voltage from the hold state at the time of strobe charging becomes higher, so VDD drops to a low level at the start of oscillation. Becomes relatively high,
This is an advantageous direction for the oscillation state. Therefore, in this case, it is not necessary to intentionally change the oscillation stabilization waiting time at the time of switch input waiting and at the time of strobe charging.
[発明の効果] 以上説明したように、本発明によれば、発振回路が動
作を開始してから該発振回路に応じて動作する制御回路
が制御動作を開始する迄の待ち時間を短縮できるもので
ある。[Effects of the Invention] As described above, according to the present invention, it is possible to shorten the waiting time from the start of the operation of the oscillation circuit to the start of the control operation of the control circuit that operates according to the oscillation circuit. Is.
図面は本発明の実施状態を示したもので、第1図は全体
構成の説明図、第2図はVCCのレベルを検出するVCC検出
回路の説明図、第3図はVDDのレベルを検出するVDD検出
回路の説明図、第4図は発振回路およびクロック切換え
回路の説明図、第5図は発振安定待機回路を含むシーケ
ンス制御回路の説明図、第6図はカメラ全体の動作の説
明図、第7図はカメラのレリーズ動作がなされるまで待
機している時の説明図、第8図はストロボ充電制御中の
説明図、第9図はカメラのレリーズ動作待機中のタイミ
ングについての説明図、第10図はストロボ充電中のタイ
ミングについての説明図である。 1……モータ駆動回路、2……ストロボ回路、3……VC
C検出回路、4……リニア部制御駆動回路、5……VDD検
出回路、6……動作周波数切換え回路、7……シーケン
ス制御回路、8……電池、17,60……定電流発生回路、1
8,61……基準電圧発生回路、200……CPU、201……カウ
ンタ。The drawings show an embodiment of the present invention. FIG. 1 is an explanatory diagram of the entire configuration, FIG. 2 is an explanatory diagram of a VCC detection circuit for detecting a VCC level, and FIG. 3 is a VDD level. FIG. 4 is an explanatory diagram of a VDD detection circuit, FIG. 4 is an explanatory diagram of an oscillation circuit and a clock switching circuit, FIG. 5 is an explanatory diagram of a sequence control circuit including an oscillation stabilization standby circuit, and FIG. 6 is an explanatory diagram of the operation of the entire camera. FIG. 7 is an explanatory diagram when the camera is on standby until the release operation is performed, FIG. 8 is an explanatory diagram during strobe charging control, and FIG. 9 is an explanatory diagram of timing when the camera is in the release operation standby state, FIG. 10 is an explanatory diagram of timings during strobe charging. 1 ... Motor drive circuit, 2 ... Strobe circuit, 3 ... VC
C detection circuit, 4 ... Linear control drive circuit, 5 ... VDD detection circuit, 6 ... Operating frequency switching circuit, 7 ... Sequence control circuit, 8 ... Battery, 17,60 ... Constant current generation circuit, 1
8,61 …… Reference voltage generation circuit, 200 …… CPU, 201 …… Counter.
Claims (1)
る制御回路と、前記発振回路が動作を開始してから所定
期間経過するまで前記制御回路に制御動作を行なわせな
いようにする阻止手段と、電源電圧応じて前記阻止手段
の作用する前記所定期間を変更する可変手段とを有する
ことを特徴とする制御装置。1. An oscillation circuit, a control circuit that operates according to the oscillation circuit, and a blocking circuit that prevents the control circuit from performing a control operation until a predetermined period has elapsed after the oscillation circuit started operating. A control device comprising: means and variable means for changing the predetermined period in which the blocking means operates according to a power supply voltage.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62233380A JPH0820662B2 (en) | 1987-09-17 | 1987-09-17 | Control device |
| US07/556,862 US5053804A (en) | 1987-07-10 | 1990-07-24 | Camera having computer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62233380A JPH0820662B2 (en) | 1987-09-17 | 1987-09-17 | Control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6476009A JPS6476009A (en) | 1989-03-22 |
| JPH0820662B2 true JPH0820662B2 (en) | 1996-03-04 |
Family
ID=16954193
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62233380A Expired - Lifetime JPH0820662B2 (en) | 1987-07-10 | 1987-09-17 | Control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0820662B2 (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5260132A (en) * | 1976-11-29 | 1977-05-18 | Canon Inc | Digital circuit for camera |
| JPS60120336A (en) * | 1983-12-02 | 1985-06-27 | Canon Inc | Camera |
| DE3434993A1 (en) * | 1984-05-21 | 1985-11-21 | Etablissement Sinoval, Vaduz | Caliper |
| JPH0834422B2 (en) * | 1984-09-19 | 1996-03-29 | 株式会社ニコン | Power supply |
-
1987
- 1987-09-17 JP JP62233380A patent/JPH0820662B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6476009A (en) | 1989-03-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH06245409A (en) | Power supply loss sensor | |
| US5053804A (en) | Camera having computer | |
| JPH0450629B2 (en) | ||
| JPH0686555A (en) | Starting for power-supply control integrated circuit and starting method | |
| US7034587B2 (en) | Conditioned and robust ultra-low power power-on reset sequencer for integrated circuits | |
| JP3801247B2 (en) | Electrical device restart circuit | |
| JPH01174268A (en) | Detector for instantaneous disconnection of dc power supply | |
| JPH0820662B2 (en) | Control device | |
| US4196993A (en) | Still-camera film transport system with end-of-film motor deenergization | |
| JP2526572B2 (en) | Power circuit for camera | |
| US6496078B1 (en) | Activating on-chip oscillator using ring oscillator | |
| JPS5971525A (en) | State controller | |
| JP2710103B2 (en) | camera | |
| US4550992A (en) | Motor drive control circuit | |
| JPH08147064A (en) | Intermittent operation circuit | |
| JP2794443B2 (en) | Power control device | |
| JPS6111711Y2 (en) | ||
| JPH01147442A (en) | camera | |
| JP3285975B2 (en) | Bipolar IC for camera control | |
| JPS6253130A (en) | Power supply sharing circuit system | |
| JPH0266533A (en) | strobe device | |
| JP2635363B2 (en) | Mode selection device | |
| JPS60191323A (en) | Monolithic integrated circuit | |
| JPH0213287A (en) | Spindle motor control system | |
| JPH0786786B2 (en) | Microcomputer clock supply control circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080304 Year of fee payment: 12 |