JPH0823653B2 - Camera with film information reader - Google Patents
Camera with film information readerInfo
- Publication number
- JPH0823653B2 JPH0823653B2 JP60296446A JP29644685A JPH0823653B2 JP H0823653 B2 JPH0823653 B2 JP H0823653B2 JP 60296446 A JP60296446 A JP 60296446A JP 29644685 A JP29644685 A JP 29644685A JP H0823653 B2 JPH0823653 B2 JP H0823653B2
- Authority
- JP
- Japan
- Prior art keywords
- film
- switch
- camera
- information
- output
- 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)
- Details Of Cameras Including Film Mechanisms (AREA)
- Indication In Cameras, And Counting Of Exposures (AREA)
Description
【発明の詳細な説明】 〔発明の利用分野〕 本発明は、フィルム情報読取装置を有するカメラに関
するもので、特に、フィルムパトローネにフィルム感度
情報およびフィルム枚数情報がコード化して配設してあ
るフィルム、いわゆるDXフィルムを使用してフィルム枚
数を検出するフィルム情報読取装置を有するカメラに関
するものである。Description: FIELD OF THE INVENTION The present invention relates to a camera having a film information reading device, and in particular, a film in which film sensitivity information and film number information are coded and arranged. The present invention relates to a camera having a film information reading device that detects the number of films by using a so-called DX film.
最近のカメラはモータを使用してフィルムの給送を行
うものが多くなり、フィルムの巻戻しもフィルムが終了
した事を検出して自動的に行うものが市販されている。
しかしながらフィルム給送が高速になるとフィルムを最
後まで巻上げると、機械的に高い張力がかかり、カメラ
の給送機構、特に歯車等の耐久問題が生じてくる。ま
た、フィルムメーカーによってはパトローネ軸にフィル
ムを巻きつける場合、従来は接着テープ等で張力がかか
っても問題ないものも製作していたが、最近は単にフィ
ルムに穴を設けパトローネ軸に引っかける方式のものを
製作するようになってきており、この場合はフィルムを
強く巻上げるとフィルム穴がやぶれパトローネからぬき
出してしまうという致命的な問題が出る可能性さえあ
る。In recent years, many cameras use a motor to feed the film, and those that automatically rewind the film by detecting the end of the film are commercially available.
However, when the film is fed at a high speed, when the film is wound to the end, a high mechanical tension is applied, which causes a problem of durability of the feeding mechanism of the camera, especially gears. In addition, depending on the film manufacturer, when winding the film around the Patrone shaft, conventionally there was also one that produced no problem even if tension was applied with adhesive tape, but recently there is a method of simply making a hole in the film and hooking it on the Patrone shaft. Things are becoming more and more prominent, and in this case, if the film is strongly wound up, there is a possibility of a fatal problem that the film hole is broken and the film is exposed from the patrone.
フィルムパトローネに枚数情報が配設してあるいわゆ
るDXフィルムを使用した場合は、その枚数まで撮影が終
了した場合はすぐに自動的に巻戻すようにすれば上記問
題が発生しなくなる。In the case of using a so-called DX film in which information about the number of sheets is provided in the film cartridge, the above problem does not occur if the film is photographed up to that number and the film is automatically rewound immediately.
このようなDXフィルムについて先ず説明する。 First, such a DX film will be described.
第3図は、DXフィルムのパトローネを示す側面図、第
4図は第3図に示すパトローネに配設されたDXコードを
示す。図示のDXコードの中、白色部分は導電性部分、黒
色部分は非導電性部分をあらわす。カメラ本体のパトロ
ーネ収容部に、上記のDXコードに対応する接点(図示せ
ず)が設けられている。図示のコード中、1,2,3,4,5,6
はフィルムのISO感度情報検出区域で、これらの区域の
中、1は接地区域である。また、7,8,9,10は枚数検出区
域、11,12はラチチュード検出区域で、7,8は接地区域で
ある。FIG. 3 is a side view showing a patrone of DX film, and FIG. 4 shows a DX code arranged in the patrone shown in FIG. In the DX code shown, the white part represents the conductive part and the black part represents the non-conductive part. A contact (not shown) corresponding to the above DX code is provided in the cartridge storage portion of the camera body. 1,2,3,4,5,6 in the code shown
Is an ISO sensitivity information detection area of the film, and among these areas, 1 is a ground area. Further, 7,8,9,10 are the number detection areas, 11,12 are the latitude detection areas, and 7,8 are the ground areas.
下記の第1表はISO感度コードにおけるバイナリコー
ドの割り当てを示す。Table 1 below shows the binary code assignments in the ISO speed code.
上記の表において、区域5および6の接点はOFFとな
ることはないことが見られる。 In the above table, it can be seen that the contacts in areas 5 and 6 never turn off.
次に第2表は、フィルムの枚数コードにおけるバイナ
リコードの割り当てを示す。Next, Table 2 shows the allocation of the binary code in the film number code.
このように、DXコードのついたフィルムの枚数として
は、3ビット割り当てられているが、通常されているフ
ィルムは、12Ex,20Ex,24Ex,36Exであるので、3ビット
目は使用しなくても、ほとんど問題はない。すなわち、
第2表において8と9を使い、10は使わなくても問題は
ない。 In this way, 3 bits are allocated for the number of films with the DX code, but normally used films are 12Ex, 20Ex, 24Ex, 36Ex, so even if the 3rd bit is not used. , Almost no problem. That is,
In Table 2, use 8 and 9 and not use 10 without any problem.
本発明の目的は、フィルム枚数の検出に3ビット割り
当てられている規格のDXフィルムを使用してフィルム枚
数を検出するフィルム情報読取装置を有するカメラにお
いて、使用しなくてもよい3ビット目を使用しないでフ
ィルム枚数を読取り、DXフィルムが入っていないかの判
別を他の手段によって行うことによって、実装スペース
を削減し且つカメラのコストを低減することができるフ
ィルム情報読取装置を有するカメラを提供することにあ
る。An object of the present invention is to use the third bit which does not need to be used in a camera having a film information reading device for detecting the number of films by using a standard DX film which is assigned 3 bits to detect the number of films. Provided is a camera having a film information reading device capable of reducing the mounting space and the cost of the camera by reading the number of films without doing so and determining whether or not the DX film is contained by other means. Especially.
本発明によるフィルム情報読取装置を有するカメラ
は、少なくとも3ビットのフィルム枚数情報コード部及
び複数ビットのフィルム感度情報コード部が設けられて
いるフィルムパトローネからフィルム情報を読み取るフ
ィルム情報読取装置を有するカメラにおいて、前記フィ
ルム枚数情報コード部であって、コード化された情報を
設けていないパトローネの場合と同じ検出結果が出力さ
れる可能性のある2ビットのみによりフィルム枚数の検
出を行う第1の検出手段と、前記フィルム感度情報コー
ド部によりコード化された情報を設けたパトローネか否
かを検出する第2の検出手段を有することを特徴とする
ものである。A camera having a film information reading device according to the present invention is a camera having a film information reading device for reading film information from a film cartridge having at least a 3-bit film number information code part and a multi-bit film sensitivity information code part. First detecting means for detecting the number of films by only the 2 bits, which is the film number information code part and may output the same detection result as in the case of a cartridge having no coded information. And a second detecting means for detecting whether or not the cartridge has information coded by the film sensitivity information code section.
以下図面に示す実施例に基づいて本発明を詳細に説明
する。BEST MODE FOR CARRYING OUT THE INVENTION The present invention will be described in detail below based on embodiments shown in the drawings.
第1図は本発明の一実施例を示す。 FIG. 1 shows an embodiment of the present invention.
第1図に示す装置は、受光素子SPC,演算増巾器OP1,圧
縮ダイオードD1を含む側光回路により被写体の輝度に対
応する対数圧縮情報BVを得て、これとフィルムのISO感
度検出装置DXSVからの感度情報あるいはマニュアル感度
設定装置MSVからの感度情報SV、およびシャッターダイ
アルに連動する可変抵抗VR2からの設定情報TVを演算増
巾器OP2により演算することによって得られる電圧とし
て生じる絞り値AVをファインダー内表示装置DSPに表示
するとともに、絞り制御マグネットMG1により絞りを制
御する。図中、DACはISO感度検出装置からの情報をアナ
ログ電圧に変換するDAコンバータ,SWSVはマニュアルとD
Xの切換スイッチ,VG1は定電圧源,OP2はBV+SV−TVによ
り絞り値を演算する演算増巾器,ADCは絞り値AVをデジタ
ル値に変換するADコンバータ,DCDは表示器用デコーダド
ライバである。また、CNTはカウンタ,AEFPはくし歯状電
極,BRはそのブラシで、レンズの絞りが絞り込まれるの
と同時にブラシBRが走行し、その信号がカウンタCNTに
入力されて、絞りが実際に絞り込まれる値がカウンタCN
Tのカウント値として計数される。DCMPはデジタルコン
パレータで、カウンタCNTの一方の入力に伝えられ、そ
の他方の入力に前記の演算された絞り情報のデジタル値
がADコンバータADCから伝えられ、両者が一致した時に
デジタルコンパレータDCMPの出力が0レベルとなり、こ
の信号は抵抗R6を介してトランジスタTR1をOFFとし、絞
り制御用マグネットMG1の電流をたち、絞り込みを停止
する。このようにして、演算された絞りの実際の制御が
行なわれる。The apparatus shown in FIG. 1 obtains logarithmic compression information BV corresponding to the brightness of the object by the side light circuit including the light receiving element SPC, the operation amplifier OP1, and the compression diode D1, and this and the ISO sensitivity detection device DXSV of the film. The sensitivity value SV from the manual sensitivity setting device MSV or the sensitivity information SV from the manual sensitivity setting device MSV and the setting information TV from the variable resistor VR2 linked with the shutter dial are calculated by the calculation amplifier OP2, and the aperture value AV generated as a voltage is calculated. The aperture is controlled by the aperture control magnet MG1 while displaying on the display device DSP in the viewfinder. In the figure, DAC is a DA converter that converts the information from the ISO sensitivity detector into analog voltage, SWSV is manual and D
X changeover switch, VG1 is a constant voltage source, OP2 is an operational amplifier that calculates the aperture value by BV + SV-TV, ADC is an AD converter that converts the aperture value AV into a digital value, and DCD is a decoder driver for the display. Also, CNT is a counter, AEFP is a comb-shaped electrode, and BR is its brush.When the diaphragm of the lens is narrowed down, the brush BR runs at the same time, the signal is input to the counter CNT, and the diaphragm is actually narrowed down. Counter CN
It is counted as the count value of T. DCMP is a digital comparator, which is transmitted to one input of the counter CNT, the digital value of the calculated aperture information is transmitted to the other input from the AD converter ADC, and when both match, the output of the digital comparator DCMP is output. This signal becomes 0 level, and this signal turns off the transistor TR1 via the resistor R6 to supply the current of the diaphragm control magnet MG1 to stop the narrowing. In this way, the actual control of the calculated aperture is performed.
MG2は第1緊定マグネットで、これが駆動されると、
公知のカメラの機械的シーケンスが実行され、先ず上記
の絞り制御が行なわれる。MG2 is the first tension magnet, and when it is driven,
A known camera mechanical sequence is executed, and the above-mentioned aperture control is first performed.
MG3−1はシャッター先幕の係止解除マグネットで、
これに通電することによってシャッター先幕の走行が開
始する。スイッチSWTは先幕の走行に関連するカウント
スイッチで、通常時閉路状態にあり、先幕の走行に応じ
て開路する。可変抵抗VR1とコンデンサC1は該カウント
スイッチの開路時に動作する積分回路を構成する。抵抗
VR1は前記の可変抵抗VR2と機械的に結合しており、設定
されたシャッター秒時に従った抵抗値に設定される。CP
1はコンパレータで、その入力の一方に上記の積分電圧
が接続され、他方の入力には、電源電圧Vccを抵抗R4,R5
により分割された電圧が接続される。従って、コンパレ
ータCP1の出力は抵抗VR1によって決定される時定回路に
より制御され、シャッター時間が経過された後1レベル
になり、ワンショット回路ON1によって一定時間0レベ
ルになり、シャッター後幕マグネットMG3−2の通電を
行いシャッターの後幕を走行させる。MG3-1 is a lock release magnet of the shutter front curtain,
By energizing this, the shutter front curtain starts running. The switch SWT is a count switch related to the running of the front curtain, is normally closed, and opens according to the running of the front curtain. The variable resistor VR1 and the capacitor C1 form an integrating circuit that operates when the count switch is open. resistance
VR1 is mechanically coupled to the variable resistor VR2, and is set to a resistance value according to the set shutter speed. CP
Reference numeral 1 is a comparator, one of the inputs of which is connected to the above integrated voltage, and the other input of which is connected to the power supply voltage Vcc by resistors R4 and R5.
The voltage divided by is connected. Therefore, the output of the comparator CP1 is controlled by the time-determining circuit determined by the resistor VR1, and becomes 1 level after the shutter time has elapsed, and becomes 0 level for a certain time by the one-shot circuit ON1, and the shutter rear curtain magnet MG3− Energize 2 to drive the rear curtain of the shutter.
この装置には、フィルム巻上用,フィルム巻戻用およ
びチャージ系用に別々の合計3個のモータが設けられ
る。MBはフィルム巻上用モータ,DBはその駆動回路,MCは
フィルム巻戻用モータ,DCはその駆動回路,MDはチャージ
用モータ,DDはその駆動回路を示す。This device is provided with a total of three motors for film winding, film rewinding, and charge system. MB is a film winding motor, DB is its driving circuit, MC is a film rewinding motor, DC is its driving circuit, MD is a charging motor, and DD is its driving circuit.
また、DXFLMは上述のように、フィルムパトローネに
フィルム感度情報およびフィルム枚数情報をコード化し
て配設してあるDXフィルムのフィルム枚数を読取るフィ
ルム枚数読取装置、LEDはDXコード付フィルムを使用し
なかった場合に、これを警告する警告表示器を示す。In addition, as mentioned above, DXFLM is a film number reading device that reads the number of films of DX film that is arranged by encoding film sensitivity information and film number information in the film cartridge, LED does not use DX coded film In case of failure, a warning indicator to warn of this is shown.
上記のカメラにおける動作をコントロールするため
に、マイクロコンピュータCOMが設けられている。BATは
その電源電池,TRBATは電源トランジスタで、上記のスタ
ティックな回路動作は、電源トランジスタTRBATがONの
時のみ行なわれる。A microcomputer COM is provided to control the operation of the camera. BAT is its power battery, TRBAT is a power transistor, and the above static circuit operation is performed only when the power transistor TRBAT is ON.
このマイクロコンピュータにおいて、X0,X1は基本ク
ロックを供給する水晶発振子QZに接続された端子,RSTは
リセット端子,VDDは電源端子,GNDはアース端子を示
す。In this microcomputer, X0 and X1 are terminals connected to a crystal oscillator QZ that supplies a basic clock, RST is a reset terminal, V DD is a power supply terminal, and GND is a ground terminal.
入力ポートとして、レリーズボタンの第1ストローク
でONとなるスイッチSW1からの入力ポートPA0,レリーズ
ボタンの第2ストロークでONとなるスイッチSW2からの
入力ポートPA1,ミラーがダウンとなっている時にONとな
っているミラースイッチMRUPからの入力ポートPA2,シャ
ッター後幕が走行した時にOFFとなりチャージされてい
る時にONとなるスイッチCN2からの入力ポートPA3,フィ
ルム巻上げに伴ってON−OFFするスイッチFLM1からの入
力ポートPF0,スプロケットに連動接続され1駒巻上終了
でONとなるスイッチFLM3からの入力ポートPF1,シャッタ
ー,自動絞り、およびミラーのチャージ完了でONとなる
スイッチCGEからの入力ポートPF2,前記のフィルム枚数
読取装置DXFLMに接続された入力ポートPG0,PG1,フィル
ムISO感度検出装置DXSVに接続された入力ポートPG2,前
記のデジタルコンパレータDCMPの出力に接続された入力
ポートPG3が設けられる。さらに、このマイクロコンピ
ュータCOMには、パトローネ在否スイッチPTからの入力
ポートPG4,カメラの背蓋開閉スイッチBP(閉じている時
にOFF)からの接続ポートPG5,フィルム巻戻し終了時に
フィルムを総てパトローネに巻込んでしまうか、或いは
リーダ部を残しておくかを選択するスイッチRSTP(ONす
ると前者,OFFすると後者となる。このスイッチはカメラ
の外部につけて撮影者が自由に選択しても、或いは、カ
メラ内部に配線パッド或いはプリント板上にパッドを出
しておき、撮影者の好みにより、サービスステーション
等でさせるようにしてもよい)からの入力ポートPG6が
設けられる。As an input port, the input port PA0 from the switch SW1 that turns on with the first stroke of the release button, the input port PA1 from the switch SW2 that turns on with the second stroke of the release button, and on when the mirror is down. Input port PA2 from the mirror switch MRUP, input port PA3 from the switch CN2 that turns off when the rear curtain of the shutter runs and turns on when charged, and switch FLM1 that turns on and off with film winding. Input port PF0, input port PF1 from switch FLM3 that is interlocked with the sprocket and turns on when one frame has finished winding, input port PF2 from switch CGE that turns on when shutter, automatic aperture, and mirror charging complete, Input ports PG0, PG1 connected to the film number reader DXFLM, input port PG2 connected to the film ISO sensitivity detector DXSV, Input ports PG3 connected to the output of the Le comparator DCMP is provided. In addition, the microcomputer COM has an input port PG4 from the cartridge presence / absence switch PT, a connection port PG5 from the camera back lid opening / closing switch BP (OFF when closed), and a film cassette for all films at the end of film rewinding. Switch RSTP (ON to turn on the former, OFF to turn to the latter. This switch can be attached to the outside of the camera and selected by the photographer, or An input port PG6 from a wiring pad or a printed board on the printed board may be provided inside the camera so that it can be set at a service station or the like according to the photographer's preference.
また、出力ポートとして、抵抗R7およびトランジスタ
TR2を介して第1緊定マグネットMG2に接続される出力ポ
ートPE0,抵抗R8およびトランジスタTR3を介して、先幕
マグネットMG3−1に接続される出力ポートPE1,インバ
ータI1および抵抗R10を介して、電源トランジスタTRBAT
に接続される出力ポートPE3,カウンタCNTのリセット入
力RSTに接続されている出力ポートPE4,インバータI2お
よび抵抗R11を介して、DXコード警告表示器LEDに接続さ
れている出力ポートPE5が設けられる。また、モータMB,
MC,MDの駆動回路DB,DC,DDにそれぞれ接続される出力ポ
ートPB0,PB1,PC0,PC1,PD0,PD1が設けられている。Also, as an output port, a resistor R7 and a transistor
Via the output port PE0 connected to the first tension magnet MG2 via TR2, the resistor R8 and the transistor TR3, via the output port PE1 connected to the first curtain magnet MG3-1, the inverter I1 and the resistor R10, Power transistor TRBAT
An output port PE3 connected to the DX code warning indicator LED is provided through an output port PE3 connected to the counter CNT, an output port PE4 connected to the reset input RST of the counter CNT, an inverter I2 and a resistor R11. Also, motor MB,
Output ports PB0, PB1, PC0, PC1, PD0, PD1 connected to the drive circuits DB, DC, DD of the MC, MD respectively are provided.
第2図は、モータMB,MC,MDの駆動回路DB,DC,DDの詳細
を示す。これらの駆動回路はそれぞれ全く同一のもので
あるので、第2図はこれらに共通の回路を示す。図中、
Mはモータ、A,Bは入力、I10,I11はインバータ、A10,A1
1,A12はアンドゲート、OR10,OR11はオアゲート、TR30,T
R31,TR32,TR33はトランジスタ、R30,R31,R32,R33,R34,R
35,R36は抵抗、D10,D11はダイオードを示す。FIG. 2 shows details of the drive circuits DB, DC, DD of the motors MB, MC, MD. Since these drive circuits are exactly the same, FIG. 2 shows a circuit common to them. In the figure,
M is a motor, A and B are inputs, I10 and I11 are inverters, and A10 and A1
1, A12 is AND gate, OR10, OR11 is OR gate, TR30, T
R31, TR32, TR33 are transistors, R30, R31, R32, R33, R34, R
35 and R36 are resistors and D10 and D11 are diodes.
入力A,Bは2ビットの情報であり、まずA=1,B=0で
あったとすると、アンドゲートA12の出力が1となりオ
アゲートOR10の出力も1となりトランジスタTR32がONす
る。またインバータI13の出力が0となることによりト
ランジスタTR31もONする。従ってモータMには電源Vcc
からトランジスタTR31,モータM,トランジスタTR32を介
して電流が流れることによりモータは回転する。The inputs A and B are 2-bit information, and if A = 1 and B = 0 first, the output of the AND gate A12 becomes 1 and the output of the OR gate OR10 also becomes 1 and the transistor TR32 turns ON. Further, the output of the inverter I13 becomes 0, so that the transistor TR31 also turns on. Therefore, the motor M has a power supply Vcc
From the transistor TR31, the motor M, and the transistor TR32, a current flows to rotate the motor.
A=0,B=1のときは、アンドゲートA10の出力が1に
なり、オアゲートOR11の出力が1、インバータI12の出
力が0となることによりトランジスタTR30およびTR33が
ONし、モータは前述した回転とは逆に回転する。When A = 0 and B = 1, the output of the AND gate A10 becomes 1, the output of the OR gate OR11 becomes 1, and the output of the inverter I12 becomes 0, so that the transistors TR30 and TR33 become
When turned on, the motor rotates in the opposite direction to the above-mentioned rotation.
A=1,B=1のときは、アンドゲートA11の出力が1に
なることにより、オアゲートOR10およびOR11の出力が1
になり、トランジスタTR32およびTR33がONする。従っ
て、モータMが回転している時にこの入力モードにする
と、ダイオードD10,D11、トランジスタTR32,TR33により
モータがどちらの回転をしていた場合でも、電源Vccか
らの通電はたたれ、モータが慣性により回転しつづける
とき、モータに対して短絡ブレーキがかかるように構成
されている。When A = 1 and B = 1, the output of AND gate A11 becomes 1 and the output of OR gates OR10 and OR11 becomes 1
Then, the transistors TR32 and TR33 are turned on. Therefore, if this input mode is set while the motor M is rotating, whichever the motor is rotating by the diodes D10, D11 and the transistors TR32, TR33, the current from the power source Vcc is lost and the motor is inertial. When the motor continues to rotate, the short-circuit brake is applied to the motor.
また、A=0,B=0にすると、アンドゲートA10〜A12
の出力は全て0になり、トランジスタTR30,TR31,TR32,T
R33は全てOFFし、モータは開放状態となる。When A = 0 and B = 0, AND gates A10 to A12
Output of all becomes 0, transistor TR30, TR31, TR32, T
All R33 are turned off and the motor is opened.
次に、上記のマイクロコンピュータの動作について第
5図〜第8図に示すフローチャートにより説明する。Next, the operation of the above microcomputer will be described with reference to the flowcharts shown in FIGS.
マイクロコンピュータCOMはVDDが電源端子VDDに加わ
ることにより動作し、まず端子X0,X1に接続されている
水晶発振子QZにより基本クロックを供給され、同時にリ
セット端子RSTに接続されているコンデンサCRSTにより
パワーオンリセットがマイクロコンピュータCOMにかか
り、プログラムカウンタは0番地に初期設定され、プロ
グラムはSTARTから始まる。また、各フラグは全て0,出
力ポートも0になるものとする。The microcomputer COM operates when V DD is applied to the power supply terminal V DD . First, the basic clock is supplied by the crystal oscillator QZ connected to the terminals X0 and X1, and at the same time, the capacitor C connected to the reset terminal RST. The power-on reset is applied to the microcomputer COM by RST , the program counter is initialized to the address 0, and the program starts from START. Further, each flag is set to 0 and the output port is also set to 0.
先ず、第5図に示すメインルーチンにつき説明する。 First, the main routine shown in FIG. 5 will be described.
〔ステップ(1)〕入力ポートPA0のセンス。スイッチS
W1はレリーズボタンの第1ストロークであり、押出する
ことによりスイッチSW1はONする。スイッチSW1がONされ
ていればステップ(2)へ、そうでなければオートロー
ディングルーチンに進む。オートローディングについて
は説明を省略する。[Step (1)] Sense input port PA0. Switch S
W1 is the first stroke of the release button, and the switch SW1 is turned on by pushing. If the switch SW1 is ON, go to step (2), otherwise go to the autoloading routine. A description of autoloading is omitted.
〔ステップ(2)〕PE3=1。出力ポートPE3を1にす
る。この信号は、インバータI1抵抗R10を介して前記し
た電源トランジスタTRBATをONにして演算増幅器やADコ
ンパータ等全ての回路の電源に電圧Vccを供給する。[Step (2)] PE3 = 1. Set output port PE3 to 1. This signal turns on the power transistor TRBAT described above via the inverter I1 resistor R10 and supplies the voltage Vcc to the power sources of all circuits such as the operational amplifier and the AD comparator.
〔ステップ(3)〕入力ポートPA0〜PA3のセンス。これ
らの入力ポートPAは、前述のスイッチSW1、レリーズボ
タンの第2ストロークを押圧することによりONになるス
イッチSW2、ミラーがダウンしている状態の時ONになる
スイッチMRUP、シャッター後幕が走行した時OFF、チャ
ージされている時ONになるスイッチCN2が接続されてい
る。どれか一つでもOFFになっていればステップ(1)
に戻り、全てがONになっている時は、入力ポートPAは16
進数で00Hであるからステップ(4)へ進む。[Step (3)] Sense input ports PA0 to PA3. These input ports PA are the switch SW1, the switch SW2 which is turned on by pressing the second stroke of the release button, the switch MRUP which is turned on when the mirror is down, and the shutter rear curtain. Switch CN2 is connected which turns off when turned on and turns on when charged. If any one is turned off, step (1)
Return to and when all are ON, input port PA is 16
Since it is 00H in decimal, proceed to step (4).
〔ステップ(4)〕出力ポートPE4を1にしてから0に
する。出力ポートPE4はカウンタCNTのリセット入力RST
に接続されており、この命令によりカウンタCNTはリセ
ットされる。[Step (4)] Set the output port PE4 to 1 and then to 0. Output port PE4 is reset input RST of counter CNT
The counter CNT is reset by this instruction.
〔ステップ(5)〕出力ポートPE0を1にして、一定時
間経過させてから(TIME1)、出力ポートPE0を0にす
る。出力ポートPE0には抵抗R7を介してトランジスタTR2
が接続されているので、第1緊定マグネットMG2に一定
時間電流が流され、カメラのレリーズシーケンスが行わ
れる。第1緊定が駆動されると絞り込み動作およびミラ
ーアップ動作等の公知のカメラの機械的シーケンスが開
始されるわけであり、先ず絞り制御が行われる。レンズ
の絞りが絞り込まれるのと同時にくし歯状電極AEFPを絞
りに連動して変位するブラシBRが走行する。この信号は
前記したカウンタCNTに入力されるため、絞りが実際に
絞り込まれる値がCNTのカウント値として計数される。
カウンタCNTの出力はデジタルコンパレータDCMPの一方
の入力に伝えられる。デジタルコンパレータDCMPの他方
の入力は前記した演算された絞り情報のデジタル値、AD
コンバータADCの出力に接続されているため、両者が一
致した時、デジタルコンパレータDCMPの出力が0レベル
になる。この信号は抵抗R6を介したトランジスタTR1をO
FFすることにより、絞り制御用マグネットMG1の電流を
たち、係止部材(図示せず)が作動して絞り機構を係止
し、絞り込みの停止がなされる。このようにして演算さ
れた絞りの実際の制御が行われる。デジタルコンパレー
タDCMPの出力はマイクロコンピュータCOMの入力PG3に伝
えられる。[Step (5)] The output port PE0 is set to 1, and after a certain time has passed (TIME1), the output port PE0 is set to 0. Transistor TR2 is connected to output port PE0 via resistor R7.
Is connected, a current is applied to the first tension magnet MG2 for a certain period of time, and the release sequence of the camera is performed. When the first tensioning is driven, a known camera mechanical sequence such as a diaphragming operation and a mirror-up operation is started, and diaphragm control is first performed. At the same time when the diaphragm of the lens is narrowed down, the brush BR that displaces the comb-teeth electrode AEFP in conjunction with the diaphragm runs. Since this signal is input to the counter CNT described above, the value that the diaphragm is actually narrowed down is counted as the count value of CNT.
The output of the counter CNT is transmitted to one input of the digital comparator DCMP. The other input of the digital comparator DCMP is the digital value of the calculated aperture information, AD
Since they are connected to the output of the converter ADC, the output of the digital comparator DCMP becomes 0 level when they match. This signal turns on transistor TR1 via resistor R6.
By performing FF, the current of the diaphragm control magnet MG1 is supplied, and the locking member (not shown) is activated to lock the diaphragm mechanism and stop the narrowing. The actual control of the aperture calculated in this way is performed. The output of the digital comparator DCMP is transmitted to the input PG3 of the microcomputer COM.
〔ステップ(6)〕TIME2 一定時間のタイマーであ
る。[Step (6)] TIME2 This is a fixed time timer.
〔ステップ(7)〕入力ポートPA2のセンス。ミラーア
ップしたかどうかのセンスである。第1緊定マグネット
MG2の動作により絞り込みとミラーアップは、ほぼ同時
に行われる。ミラーアップ時間は大体一定時間で行われ
るが、絞り込み時間は、絞り値によって変化する。[Step (7)] Sensing the input port PA2. It is a sense of whether or not the mirror is up. First tension magnet
By the operation of MG2, narrowing down and mirror up are performed almost at the same time. The mirror-up time is almost constant, but the aperture time varies depending on the aperture value.
〔ステップ(8)〕フラグF0の判別。[Step (8)] Discrimination of flag F0.
〔ステップ(9)〕フラグF1の判別。ステップ(8),
(9)共にパワーオンリセットの結果、フラグは0にな
っているので、プログラムはステップ(10)に進む。[Step (9)] Discrimination of flag F1. Step (8),
(9) Since the flag is 0 as a result of the power-on reset, the program proceeds to step (10).
〔ステップ(10)〕出力ポートPE1を1にして、一定時
間後(TIME3)0にする。出力ポートPE1には抵抗R8を介
してトランジスタTR3が接続されシャッター先幕マグネ
ットMG3−1が一定時間通電される。これによりシャッ
ター先幕が走行する。シャッターの先幕が走行されると
カウントスイッチSWTが開放される。これにより抵抗VR1
とコンデンサーC1とからなる積分回路が動作する。抵抗
VR1は抵抗VR2と機械的に結合しており設定したシャッタ
ー秒時に従った抵抗値が選ばれることになる。積分電圧
はコンパレータCP1の一方の入力に接続され、他方の入
力には、電源電圧Vcc,抵抗R4,R5によって分別された電
圧が入力される。従ってコンパレータCP1の出力は抵抗V
R1によって決定される時定回路の時間によって制御さ
れ、シャッター時間が経過された後1レベルになりワン
ショット回路ON1によって一定時間0レベルになりシャ
ッター後幕マグネットMG3−2の通電を行いシャッター
の後幕を走行させる。[Step (10)] The output port PE1 is set to 1 and set to 0 after a fixed time (TIME3). The transistor TR3 is connected to the output port PE1 via the resistor R8, and the shutter front curtain magnet MG3-1 is energized for a certain period of time. This causes the shutter front curtain to run. When the front curtain of the shutter runs, the count switch SWT is opened. This causes the resistance VR1
And an integrating circuit consisting of a capacitor C1 operates. resistance
VR1 is mechanically connected to the resistor VR2, and the resistance value will be selected according to the set shutter speed. The integrated voltage is connected to one input of the comparator CP1, and the power supply voltage Vcc and the voltage separated by the resistors R4 and R5 are input to the other input. Therefore, the output of comparator CP1 is resistor V
It is controlled by the time of the timing circuit determined by R1, and becomes 1 level after the shutter time has elapsed and becomes 0 level by the one-shot circuit ON1 for a certain period of time, and the shutter rear curtain magnet MG3-2 is energized Run the curtain.
〔ステップ(11)〕入力ポートPA3のセンス。後幕検出
スイッチCN2はシャッター後幕走行完了でOFFになるスイ
ッチであり、このブランチ命令はシャッターの動作終了
を待つルーチンである。後幕が走行完了するとステップ
(12)へ進む。[Step (11)] Sensing the input port PA3. The trailing-curtain detection switch CN2 is a switch that is turned off when the trailing-curtain of the shutter is completed, and this branch command is a routine to wait for the end of the shutter operation. When the trailing curtain has finished running, the operation proceeds to step (12).
〔ステップ(12)〕撮影枚数カウンタFCNTによりブラン
チする命令である(詳細は後述)。フィルムのの撮影可
能駒数FEXと撮影枚数FCNTが等しくなったならばフィル
ム巻戻しルーチンRWNDに進み、いまだ一致していなけれ
ばステップ(13)へ進む。[Step (12)] This is an instruction to branch by the shooting number counter FCNT (details will be described later). If the number of recordable frames FEX of the film and the number of captured images FCNT become equal, the film rewinding routine RWND proceeds, and if they do not match, the process proceeds to step (13).
例えば36枚撮りフィルムで、36枚撮影したならば巻戻
しRWNDへ進み自動フィルム巻戻し(オートリワインド)
を行う。For example, if you take 36 sheets of film and take 36 sheets, go to rewind RWND and rewind the film automatically (auto rewind).
I do.
〔ステップ(13)〕撮影枚数カウンタFCNTの内容を1イ
ンクリメントする。尚、撮影枚数カウンタFCNTの初期設
定は後述するフィルムのオートローディングルーチンAL
において1に設定されている。[Step (13)] The content of the shooting number counter FCNT is incremented by one. The initial setting of the number of shots counter FCNT is the film auto-loading routine AL described later.
Is set to 1.
〔ステップ(14)〕出力ポートPD0,PD1への出力命令、P
D0=0,PD1=1 この信号を駆動回路DDに加える事によ
りチャージ用モータMDが回転し、シャッター,ミラー,
自動絞りのチャージが行なわれる。[Step (14)] Output instruction to output ports PD0 and PD1, P
D0 = 0, PD1 = 1 By adding this signal to the drive circuit DD, the charging motor MD rotates and the shutter, mirror,
The automatic aperture is charged.
〔ステップ(15)〕PB0=0,PB1=1 ステップ(14)と
同様にフィルム巻上げ用モータMBを回転させる。[Step (15)] PB0 = 0, PB1 = 1 The film winding motor MB is rotated in the same manner as in step (14).
〔ステップ(16)〕タイマーインタラプト用のタイマー
TMRに定数Kをセットする。Kの値はフィルム巻上げ速
度およびスプロケットに接続されたフィルム速度検知用
くし歯パターンおよびマイクロコンピュータのインスト
ラクションサイクル時間によって決定されるものでここ
では定数Kとして説明する。[Step (16)] Timer for timer interrupt
Set a constant K in TMR. The value of K is determined by the film winding speed and the comb speed pattern for detecting the film speed connected to the sprocket and the instruction cycle time of the microcomputer, and is described here as a constant K.
タイマーインタラプト用のタイマーをスタートさせる
(START TMR)。タイマーインタラプトを可能にする(E
N T)。内部レジスタRGに定数Mを入力する。フラグF0
=F2=0,F1=1を設定する。タイマーがスタートしたの
で、以後プログラムルーチンとは独立にタイマーはデク
リメントをくり返し、一定時間(定数Kに依存)毎にイ
ンターラプトがかかり、実行中のプログラムから専用の
タイマーインターラプトアドレスにシャンプする。ここ
で第6図を参照して、そのタイマーインタラプトルーチ
ンの説明をする。Start the timer for the timer interrupt (START TMR). Enable timer interrupt (E
NT). Input the constant M into the internal register RG. Flag F0
Set = F2 = 0 and F1 = 1. Since the timer has started, the timer then repeatedly decrements independently of the program routine, interrupts are applied at fixed time intervals (depending on the constant K), and the program being executed shamps to a dedicated timer interrupt address. The timer interrupt routine will be described with reference to FIG.
「タイマーインタラプトルーチン」 〔ステップ(101)〕STOP TMR DIST タイマーのデクリ
メント動作およびインタラプトを禁止する。"Timer interrupt routine" [Step (101)] STOP TMR DIST Disables timer decrement operation and interrupt.
〔ステップ(102)〕入力ポートPF0においてスプロケッ
トに接続されたフィルム速度検知用くし歯とブラシから
なるスイッチFLM1の信号を入力する。[Step (102)] A signal from a switch FLM1 including a comb tooth for film speed detection and a brush connected to a sprocket is input at the input port PF0.
PF0が0(スイッチON)ならばステップ(103)へ、1
(スイッチOFF)ならばステップ(109)へ進む。If PF0 is 0 (switch ON), go to step (103), 1
If it is (switch OFF), proceed to step (109).
〔ステップ(103)〕フラグF2の判別。ステップ(16)
でF2=0であったからステップ(104)に進む。[Step (103)] Discrimination of flag F2. Steps (16)
Since F2 = 0, the process proceeds to step (104).
〔ステップ(104)〕RG=RG=1。内部レジスタRGの内
容から1デグリメントし、その内容を再びRGにストアす
る。[Step (104)] RG = RG = 1. The contents of the internal register RG are decremented by 1 and the contents are stored again in RG.
〔ステップ(105)〕RGが0になったかの判別。現在ま
でのプログラムだと、M−1がRGの内容であるから、今
Mがある程度大きな値だとすると、0にならないのでス
テップ(106)へ進む。[Step (105)] Determine whether RG has become 0. In the programs up to the present, M-1 is the content of RG, so if M is a large value to some extent now, it will not become 0, so proceed to step (106).
〔ステップ(106)〕スプロケットに連動接続された1
駒巻上げ時の終了を示すパターンスイッチFLM3の信号を
入力する。ここでは終了付近でないため、ステップ(10
7)に進む。[Step (106)] 1 interlocked with sprocket
Input the signal of pattern switch FLM3 which indicates the end of winding the frame. Since it is not near the end here, step (10
Proceed to 7).
〔ステップ(107)〕タイマーレジスタに定数Kを再セ
ットし、タイマーをスタートさせ、インタラプトを可能
にする。[Step (107)] The constant K is reset in the timer register, the timer is started, and the interrupt is enabled.
〔ステップ(108)〕元の実行中のプログラムに戻る。
タイマーインタラプトは実行中のプログラムから一定時
間毎にスイッチFLM1,スイッチFLM3の信号を判別しにい
くことを目的としている。プログラム自体は非常に高速
に各インストラクションが実行されているので、一定時
間毎にフィルム巻上げ情報をセンスして事実上問題ない
ものとする。[Step (108)] Return to the original program being executed.
The timer interrupt is intended to determine the signals of the switch FLM1 and the switch FLM3 from the running program at regular intervals. Since the program itself executes each instruction at a very high speed, the film winding information is sensed at regular time intervals and there is practically no problem.
今、あるタイマーインタラプトで、くし歯パターンス
イッチFLM1がOFFしたとすると、インタラプトルーチン
はステップ(102)からステップ(109)へ進む。Now, if the comb pattern switch FLM1 is turned off by a certain timer interrupt, the interrupt routine proceeds from step (102) to step (109).
〔ステップ(109)〕フラグF2のセンス。ステップ(1
6)でフラグF2=0に設定してあったので、ステップ(1
10)へ進む。[Step (109)] Sense flag F2. step 1
Since the flag F2 = 0 was set in step 6), step (1
Go to 10).
〔ステップ(110)〕F2=1。フラグF2を1にセットす
る。これは、スイッチFLM1がOFF、つまりPF0が1に変化
したことを意味する。同様な目的でPF0が0に変化した
事を意味するステップ(112)がある。[Step (110)] F2 = 1. Set flag F2 to 1. This means that the switch FLM1 is OFF, that is, PF0 has changed to 1. For the same purpose, there is a step (112) meaning that PF0 has changed to 0.
〔ステップ(111)〕RG2=M。再び内部レジスタRG2に
定数Mをセットする。以下ステップ(106)に進み前述
のルーチンを実行する。[Step (111)] RG2 = M. The constant M is set again in the internal register RG2. Thereafter, the process proceeds to step (106) to execute the above routine.
今、モータMBの通電が実行され、1駒巻上げの終了に
なると、終了パターンによりスイッチFLM3がONされる。
この時のタイマーインタラプトのルーチンでは、ステッ
プ(106)からはステップ(113)へプログラムは進行す
る。When the motor MB is energized and the winding of one frame is completed, the switch FLM3 is turned on according to the completion pattern.
In the timer interrupt routine at this time, the program proceeds from step (106) to step (113).
〔ステップ(113)〕PB0=1。PB1も1であるから、フ
ィルムモータMBはブレーキがかかる。[Step (113)] PB0 = 1. Since PB1 is also 1, the film motor MB is braked.
〔ステップ(114)〕F1=0。フラグF1を0にセットす
る。これはフィルム巻上げが完了したことを示すフラグ
である。次にステップ(108)で実行中のプログラムに
戻る。ここでステップ(107)を通過しないため、これ
以後再度タイマーインタラプトがかかることはない。[Step (114)] F1 = 0. Set flag F1 to 0. This is a flag indicating that the film winding is completed. Next, in step (108), the program being executed is returned to. Since step (107) is not passed here, the timer interrupt will not be applied again thereafter.
次に例えば24枚撮りのフィルム枚数コードがついてい
ないフィルムを使い24駒の撮影を終了した時の事を考え
てみる。カメラは巻上げモータMBでフィルムを巻上げよ
うとするが、フィルムはもうこれ以上は移動することが
できないので、スイッチFLM1のON−OFF信号は変化しな
くなる。プログラムはステップ(103)あるいはステッ
プ(109)からステップ(104)に必ず進行する。スッテ
プ(104)では前述した様に、RGを1づつ減算すること
により、何回目かのタイマーインタラプトでは、ステッ
プ(104)でついにRGが0になる。従ってステップ(10
5)からステップ(115)にプログラムは分岐することに
なる。Next, let's think about the case when, for example, a film without a code for the number of films for 24 shots is used and the shooting of 24 frames is completed. The camera tries to wind the film with the winding motor MB, but since the film cannot move any more, the ON-OFF signal of the switch FLM1 does not change. The program always proceeds from step (103) or step (109) to step (104). In step (104), RG is decremented by 1 as described above, so that in some timer interrupts, RG finally becomes 0 in step (104). Therefore step (10
The program branches from step 5) to step (115).
〔ステップ(115)〕PB0=1、PB1=0。モータMBの両
端子は開放される。[Step (115)] PB0 = 1, PB1 = 0. Both terminals of motor MB are opened.
〔ステップ(116)〕F0=1。フラグF0を1にセットす
る。これはフィルムが終了したことを意味する。[Step (116)] F0 = 1. Set flag F0 to 1. This means the film is finished.
以上でタイマーインタラプトルーチンの説明を全て終
ったが、このインタラプトは、メインルーチンのステッ
プ(16)から次の撮影でのステップ(9)までの間、常
に実行され、フィルム巻上げの制御を正確に実行するも
のである。This completes the explanation of the timer interrupt routine, but this interrupt is always executed from step (16) of the main routine to step (9) of the next shooting, and the film winding control is executed accurately. To do.
次に再びメインプログラムルーチンの説明に入る。 Next, the main program routine will be described again.
〔ステップ(17)〕入力ポートPF2のセンス。これは、
シャッター、自動絞り、ミラーのチャージが完了した事
を示すチャージスイッチCGEからの信号を受け、スイッ
チCGEがON、つまりチャージが完了するまで待つルーチ
ンであり、チャージが未定の場合には再度ステップ(1
7)へもどり、完了するとステップ(18)へ進む。もち
ろんこの間に何度もタイマーインタラプトがかかるもの
である。[Step (17)] Input port PF2 sense. this is,
It is a routine that waits until the switch CGE is turned on, that is, the charge is completed by receiving the signal from the charge switch CGE indicating that the shutter, the automatic aperture, and the mirror have been charged. If the charge is undecided, the step (1
Return to 7) and proceed to step (18) when completed. Of course, many timer interrupts are applied during this period.
〔ステップ(18)〕PD0=1。出力ポートPD0に1を出力
する。チャージ用モータMDにはブレーキがかかる。[Step (18)] PD0 = 1. Outputs 1 to output port PD0. The charging motor MD is braked.
〔ステップ(19)〕タイマーインタラプトによりフィル
ム終了を示すフラグF0のセンスである。今、フィルムが
終了していないとすると、ステップ(20)へ進む。[Step (19)] A flag F0 indicating the end of the film is sensed by a timer interrupt. If the film is not finished, go to step (20).
〔ステップ(20)〕入力ポートPAのセンス。ステップ
(3)と同様である。撮影者が連続撮影する場合は、ス
イッチSW2はONになりつづけるので入力ポートPAは16進
で00Hになるので、ステップ(21)に進む。[Step (20)] Input port PA sense. Similar to step (3). When the photographer continuously shoots, the switch SW2 continues to be ON, and the input port PA becomes 00H in hexadecimal, so the process proceeds to step (21).
〔ステップ(21)〕出力ポートPE4に1を出力し、続け
て0を出力する。前述したステップ(4)と同様に、カ
ウンタCNTのリセットである。[Step (21)] 1 is output to the output port PE4, and 0 is subsequently output. Similar to step (4) described above, the counter CNT is reset.
〔ステップ(22)〕前述したステップ(5)と同様、第
1緊定マグネットMG2を通電し、次のレリーズシーケン
スをスタートさせる。この時フィルムの巻上げは続行さ
れていてもかまわない。本フローチャートは、一定時間
に連続撮影される駒数を最大にさせるための工夫がなさ
れているため、フィルムの巻上げ終了を待たずに次のレ
リーズシーケンスをスタートさせている。[Step (22)] As in the step (5), the first tension magnet MG2 is energized to start the next release sequence. At this time, the film winding may be continued. This flowchart is designed to maximize the number of frames that are continuously photographed within a fixed time, so the next release sequence is started without waiting for the end of film winding.
〔ステップ(23)〕前述した様に第1緊定がスタートす
ると、絞り込み動作が行われる。デジタルコンパレータ
DCMPの出力が0になるのは絞り込み制御が終了した時で
あるので、入力ポートPG3をセンスすれば絞り込みが完
了したかどうかが分る。ステップ(23)はこのブランチ
命令であり、絞り込み完了でステップ(7)に進む。[Step (23)] As described above, when the first tightening is started, the narrowing operation is performed. Digital comparator
The output of DCMP becomes 0 when the narrowing control is completed, so if the input port PG3 is sensed, it is possible to know whether the narrowing is completed. Step (23) is this branch instruction, and when the narrowing down is completed, the process proceeds to step (7).
ステップ(7)でミラーアップを確認した後、ステッ
プ(9)でフィルムの巻上げ完了を確認する。ここまで
の間タイマーインタラプトは何度もかかり巻上げが完了
しているならば次のシャッター制御へと進む。ステップ
(9)にきて、いまだフィルムの巻上げが終了していな
いときは、ステップ(8)からのループをくり返しタイ
マーインタラプトによりフィルムの巻上げが完了するの
を待つ。以上が連続撮影のルーチンである。After confirming the mirror-up in step (7), the completion of film winding is confirmed in step (9). Until then, the timer interrupt is repeated many times, and if the winding is completed, the process proceeds to the next shutter control. When the film winding is not completed yet at step (9), the loop from step (8) is repeated until the film winding is completed by the timer interrupt. The above is the routine for continuous shooting.
尚、電池が新しい時はフィルム巻上げは、絞り制御中
に終了するように設計するならば、ステップ(9)での
待ち時間をなくすことができ、駒速を最大限に上げるこ
とができる。If the film winding is designed to be completed during diaphragm control when the battery is new, the waiting time in step (9) can be eliminated and the frame speed can be maximized.
次に1フレームのみの撮影について述べる。1フレー
ム撮影後、撮影者はレリースボタンの第2ストロークを
押圧していないはずであるから、ステップ(20)からス
テップ(24)へとプログラムは進み、タイマーインタラ
プトルーチンが巻上げ完了をセンスするまで、つまり、
F1=0になるまでステップ(24)〜ステップ(19)のル
ープを繰返す。巻上げ完了になると、ステップ(24)か
らSTARTに戻る。Next, shooting of only one frame will be described. After shooting one frame, the photographer should not have pressed the second stroke of the release button, so the program proceeds from step (20) to step (24) until the timer interrupt routine senses the completion of winding. That is,
The loop of steps (24) to (19) is repeated until F1 = 0. When winding is completed, the process returns from step (24) to START.
次に、フィルムが巻上げ途中で終了した場合について
考える。DXコードのついたフィルムを使用した場合に
は、ステップ(12)において撮影枚数FCNTと撮影可能駒
数FEXとを比較しているため、巻上げ途中でフィルムが
終了するといったことは生じないが、DXコードのないフ
ィルムや、撮影者がフィルムを切断して使用した場合に
は生じる。巻上げ途中でフィルムが終了すると、タイマ
ーインタラプト処理中において、フラグF0=1となるの
で、ステップ(19)から巻戻しルーチンRWNDへ進む。Next, let us consider the case where the film ends in the middle of winding. When a film with a DX code is used, the number of shots FCNT and the number of shootable frames FEX are compared in step (12), so the film will not end during winding, but DX It occurs when there is no code on the film or when the photographer cuts and uses the film. When the film is finished during the winding process, the flag F0 is set to 1 during the timer interrupt process. Therefore, the process proceeds from step (19) to the rewinding routine RWND.
次に、巻戻しルーチンRWNDについて第7図を参照して
説明する。フィルム巻戻しは、ステップ(12)において
FCNT=FEXの場合と、ステップ(19)においてF0=1と
なった場合に行われる。Next, the rewinding routine RWND will be described with reference to FIG. Film rewinding in step (12)
This is performed when FCNT = FEX and when F0 = 1 in step (19).
〔ステップ(30)〕PC0=0,PC1=1。出力ポートPCへの
出力命令を行う。この命令によってPCポートから駆動回
路DCをを介してフィルム巻戻し用モータMCを回転させ
る。[Step (30)] PC0 = 0, PC1 = 1. Output command to output port PC. By this command, the film rewinding motor MC is rotated from the PC port via the drive circuit DC.
〔ステップ(31)〕内部レジスタRGに定数M1を代入す
る。[Step (31)] The constant M1 is assigned to the internal register RG.
〔ステップ(32)〕入力ポートPF0、つまりスイッチFLM
1のセンスである。フィルム巻上げ時におけるスイッチF
LM1、つまりスプロケットに連動接続されたくし歯状パ
ターンとブラシから成るスイッチのON−OFF信号を入力
する。[Step (32)] Input port PF0, that is, switch FLM
It's a sense of 1. Switch F for film winding
Input the ON-OFF signal of LM1, that is, the switch consisting of the comb-shaped pattern and brush that are interlocked with the sprocket.
〔ステップ(32)〜(39)〕このステップは前記のステ
ップ(102),(103),(104),(105),(109),
(110),(111),(112)で説明したフィルムの移動
を検知するためのプログラムと同様なもので、フィルム
巻戻しが終了するとスプロケットが回転しなくなるのを
検知するプログラムであり、巻戻し終了になるとステッ
プ(35)からステップ(40)にプログラムが進行する。[Steps (32) to (39)] This step includes the steps (102), (103), (104), (105), (109),
It is similar to the program for detecting the film movement described in (110), (111), and (112). It is a program that detects that the sprocket does not rotate when the film rewinding is completed. At the end, the program proceeds from step (35) to step (40).
〔ステップ(40)〕入力ポートPG6のセンス。入力ポー
トPG6は、フィルム巻戻し終了時に、パトローネにフィ
ルムを全て巻込んでしまうか、それともリーダー部だけ
を残しておくかを選択するスイッチRSTPに接続されてい
る。スイッチRSTPをONすると前者、OFFすると後者にな
る。ONした場合、プログラムはステップ(40)からステ
ップ(41)へ進む。[Step (40)] Sense input port PG6. The input port PG6 is connected to a switch RSTP that selects whether the film is completely wound in the cartridge or only the leader is left at the end of film rewinding. If the switch RSTP is turned ON, the former will be used. If it is turned OFF, the latter will be used. When turned on, the program proceeds from step (40) to step (41).
〔ステップ(41)〕TIME4 一定時間待つ命令。スプロ
ケットが停止しても、巻戻しモーターMCが回転し続け
て、フィルムを全てパトローネに巻込む。[Step (41)] TIME4 Command to wait a fixed time. Even if the sprocket stops, the rewinding motor MC continues to rotate, and the film is all wound into the cartridge.
〔ステップ(42)〕PC0=1。巻戻しモーターにブレー
キをかける。PC1は1であるから、その後プログラムはS
TARTに戻る。[Step (42)] PC0 = 1. Brakes the rewind motor. PC1 is 1, so after that the program is S
Return to TART.
フィルムを巻込んでしまう場合にはスイッチFLM1のON
−OFF繰返しが終ってから一定時間(TIME4)待ってモー
タを停止させ、リーダー部を残す場合には、スイッチFL
M1のON−OFF繰返しが終ってからすぐにモータを停止さ
せる。スイッチFLM1はスプロケットに従属しているスイ
ッチであるから、リーダー部を残した場合でもリーダー
部のパーフォレーションがスプロケット爪に引っかかっ
ていることはなく、安全にフィルムパトローネを取り出
すことができる。When film is rolled up, switch FLM1 is turned on
-OFF Wait a fixed time (TIME4) after the end of repetition and stop the motor, and leave the reader unit, switch FL
Stop the motor immediately after the M1 ON-OFF cycle ends. Since the switch FLM1 is a switch dependent on the sprocket, even if the leader is left, the perforation of the leader does not get caught on the sprocket claw, and the film cartridge can be taken out safely.
〔ステップ(24)〕PD0=1、PD1=1。出力ポートPDの
出力命令により、チャージモータMDを回転駆動させる。[Step (24)] PD0 = 1, PD1 = 1. The charge motor MD is rotationally driven by an output command from the output port PD.
〔ステップ(25)〕入力ポートPF3のセンス。(スイッ
チCGE)チャージ完了信号の入力である。チャージ未完
ばステップ(25)へ戻り、チャージ完了ならばステップ
(26)に進行する。[Step (25)] Sense input port PF3. (Switch CGE) Input of charge completion signal. If the charge is not completed, the process returns to step (25). If the charge is completed, the process proceeds to step (26).
〔ステップ(26)〕PD0=1。出力ポートPD0を1にセッ
トする。従って、チャージ用モータはブレーキがかけら
れる。この状態でミラーがチャージされるので、ミラー
はダウンして初期状態に戻る。次にRWND、つまりステッ
プ(30)にプログラムはジャンプし、前述のフィルム巻
戻しルーチンを行う。[Step (26)] PD0 = 1. Set the output port PD0 to 1. Therefore, the charging motor is braked. Since the mirror is charged in this state, the mirror goes down and returns to the initial state. Next, the program jumps to RWND, that is, step (30), and the film rewinding routine described above is performed.
次にSTARTでスイッチSW1がOFFしている時について考
える。この時には、第8図に示すオートローディングAL
にプログラムが進む。Next, consider the case where the switch SW1 is off at START. At this time, the auto loading AL shown in Fig. 8
The program advances to.
〔ステップ(50)〕まず、電源トランジスタTRBATがOFF
とされて電源Vccを遮断する。[Step (50)] First, the power transistor TRBAT is turned off.
And the power supply Vcc is cut off.
〔ステップ(51)〕入力ポートPG5のセンス。PG5はカメ
ラの背蓋開閉スイッチBPに接続されており、背蓋が閉じ
られている時はOFF、開いているときはONされる。背蓋
が閉じられている時はSTARTに戻る。開いている時はス
テップ(52)へ進む。[Step (51)] Sense input port PG5. PG5 is connected to the back cover opening / closing switch BP of the camera, and is turned off when the back cover is closed and turned on when the back cover is open. When the back cover is closed, return to START. If it is open, proceed to step (52).
〔ステップ(52)〕背蓋が開かれている状態で再度PG
5、つまりスイッチBPをセンスする。ここで開いている
ままの場合は再度ステップ(52)を行ってここでプログ
ラムは、先に進まない。このことは、背蓋が開いている
時はカメラが何も動かないことを意味する。ステップ
(52)で背蓋を閉じるとステップ(53)に進む。[Step (52)] PG again with the back cover open.
5, sense switch BP. If it remains open, then step (52) is performed again and the program does not proceed here. This means that the camera does not move when the back lid is open. When the back cover is closed in step (52), the process proceeds to step (53).
〔ステップ(53)〕入力ポートPG4のセンス。PG4にはパ
トローネが入っているかいないかを判別するためのスイ
ッチPTINが接続されている。パトローネなしの時はONさ
れているのでSTARTへ戻り、入っていればフィルムのオ
ートローディングをするためにステップ(54)へ進む。[Step (53)] Sense input port PG4. A switch PTIN for determining whether or not there is a cartridge is connected to PG4. If there is no cartridge, it is turned on, so return to START, and if it is, proceed to step (54) to automatically load the film.
〔ステップ(54)〕PE3=1。ステップ(2)と同様に
電源Vccを各回路に与える。[Step (54)] PE3 = 1. Power supply Vcc is applied to each circuit as in step (2).
〔ステップ(55)〕入力ポートPG2のセンス。フィルム
にDXコードがついていない場合は、DXコードの検知器DX
SVよりNONDX信号(1レベル)が出力される。尚、DXコ
ード付フィルムを使ったにもかかわらず何らかの不良で
使われていないコードを読んだ時にもNONDX信号は出力
される。この時はステップ(57)へ進む。DXコードを読
んだ時はステップ(56)へ進む。[Step (55)] Sense input port PG2. If the film does not have a DX code, the DX code detector DX
The NONDX signal (1 level) is output from the SV. The NONDX signal is also output when reading a code that is not used due to some defect despite using the DX coded film. In this case, proceed to step (57). When you read the DX code, proceed to step (56).
〔ステップ(56)〕出力ポートPE5を0にする。インバ
ータI2抵抗R11によりDXコード警告表示器LEDは点灯しな
い(警告をしない)。[Step (56)] The output port PE5 is set to 0. Due to the inverter I2 resistance R11, the DX code warning indicator LED does not light up (no warning is given).
入力ポートPG0,PG1によりフィルムの枚数コードを読
む。DXフィルム枚数コードは後述するように3ビットあ
るが、ここでは通常使用されるフィルムを考え2ビット
を入力している。このコードにより枚数を判定してその
枚数値をFEXレジスタに記憶する。Read the film number code from input ports PG0 and PG1. The DX film number code has 3 bits as will be described later, but here 2 bits are input considering the film that is normally used. The number of sheets is judged by this code, and the number of sheets is stored in the FEX register.
〔ステップ(57)〕出力ポートPE5に1を出力して、表
示器LEDを点灯させ警告する。撮影者はこれによりDXコ
ード付フィルムを使用しなかった場合は切換スイッチSV
を切換えて手動設定でフィルム感度を設定するための部
材を操作することになる(MSV)。また、DXフィルムの
場合は再度カメラに入れなおして読みミスのないように
する。[Step (57)] Output 1 to the output port PE5 to turn on the indicator LED to warn. If the photographer does not use the film with DX code, the switch SV
To operate the member for setting the film sensitivity by manual setting (MSV). In case of DX film, put it in the camera again to avoid reading mistakes.
ステップ(57)にプログラムが進行した場合は、フィ
ルム枚数レジスタFEXには36をセットする、従って、こ
の様なフィルムを使用した場合は36枚を越えて撮影はで
きない。When the program proceeds to step (57), 36 is set in the film number register FEX. Therefore, when such a film is used, it is not possible to shoot more than 36 sheets.
〔ステップ(58)〕ALG1=0。オートローディングのた
めのFLM1計数レジスタALG1を0に初期セットする。[Step (58)] ALG1 = 0. Initially set FLM1 count register ALG1 for autoloading to zero.
〔ステップ(59)〕PB0=1、PB1=1。フィルム給送用
モータを通常の給送時とは逆に回転させる。これにより
スプロケットが回転し、フィルムがスプール内に入り込
む。スプールに巻きつくと、スプール側の回転力でフィ
ルムが巻き取られる様なスプロケットとスプールのギヤ
比が決められているものとする。[Step (59)] PB0 = 1, PB1 = 1. The film feeding motor is rotated in the opposite direction to that during normal feeding. This causes the sprocket to rotate and the film to enter the spool. It is assumed that the gear ratio of the sprocket and the spool is determined so that the film is wound by the rotational force of the spool when wound on the spool.
〔ステップ(60)〕入力ポートPF0のセンス。スイッチF
LM1がONしている時はステップ(61)に進み、OFFの場合
はステップ(60)に戻る。[Step (60)] Input port PF0 sense. Switch F
If LM1 is on, proceed to step (61), and if LM1 is off, return to step (60).
〔ステップ(61)〕入力ポートPF1のセンス。1駒毎に
設けられたスイッチパターンFLM3をセンスする。FLM3が
OFFしている場合ステップ(62)へ進む。[Step (61)] Sense input port PF1. The switch pattern FLM3 provided for each frame is sensed. FLM3
If it is OFF, proceed to step (62).
〔ステップ(62)〕ステップ(58)で初期セットしたレ
ジスタALG1を1だけインクリメントする。[Step (62)] The register ALG1 initially set in step (58) is incremented by 1.
〔ステップ(63)〕再度PF0のセンス。ステップ(60)
でスイッチFLM1がONしていたので、ここではOFFになる
のを待ってステップ(60)に戻る。[Step (63)] Sense PF0 again. Steps (60)
Since the switch FLM1 was turned on, wait for it to turn off here and then return to step (60).
ステップ(60)〜(63)のルーチンは、撮影者がフィ
ルムをカメラに挿入する時、スイッチFLM3のONの位相が
定まっていないにもかかわらずカメラの給送はスイッチ
FLM3がONの時に1駒送るように構成しているため、オー
トローディングを一定の駒数で送ると36枚撮りのフィル
ムで36枚まで給送できない可能性があるため、モータを
回し始めてから最初にスイッチFLM3がONするまでスイッ
チFLM1のON−OFFが何回くり返されるかを計数する必要
がある。プログラムがステップ(61)からステップ(6
4)に進むとき、上記のスイッチFLM1のON−OFF回数がAL
G1に計数されている。The routine of steps (60) to (63) is such that when the photographer inserts the film into the camera, the camera feed is switched even though the ON phase of the switch FLM3 is not fixed.
Since it is configured to feed one frame when FLM3 is ON, it may not be possible to feed up to 36 films with 36 shots if autoloading is sent with a fixed number of frames. Then, it is necessary to count how many times the switch FLM1 is turned ON and OFF until the switch FLM3 is turned ON. The program runs from step (61) to step (6
When proceeding to 4), the ON / OFF count of the above switch FLM1 becomes AL.
Counted to G1.
〔ステップ(64)〕レジスタALG1の内容が定数Pより大
きい場合はステップ(66)へ、P以下の場合はステップ
(65)へ進む。[Step (64)] If the content of the register ALG1 is larger than the constant P, the process proceeds to step (66). If it is less than P, the process proceeds to step (65).
〔ステップ(65)〕P以下の時は、オートローディング
駒数計数用レジスタALCNTを0にする。[Step (65)] When P or less, the automatic loading frame number counting register ALCNT is set to 0.
〔ステップ(66)〕Pより大きい時は、オートローディ
ング駒数計数レジスタALCNTを1にする。[Step (66)] When it is larger than P, the autoloading frame number counting register ALCNT is set to 1.
〔ステップ(67)〕ステップ(61)でスイッチFLM3がON
していたのでOFFになるのを待つルーチン。[Step (67)] Switch FLM3 is turned on in step (61).
Because it was doing, it is a routine to wait for it to turn off.
〔ステップ(68)〕次にスイッチFLM3がONになるのを待
つルーチン。従ってステップ(68)からステップ(69)
へプログラムが進んだ時はステップ(61)からフィルム
は1駒送られた事になる。[Step (68)] Next, a routine for waiting for the switch FLM3 to be turned ON. Therefore, step (68) to step (69)
When the program proceeds to, it means that one film has been sent from step (61).
〔ステップ(69)〕レジスタALCNTを1インクリメント
する。[Step (69)] The register ALCNT is incremented by 1.
〔ステップ(70)〕レジスタALCNTが4にならない場合
はステップ(67)に戻り、前述のルーチンを繰返す。4
になった時はステップ(71)に進む。[Step (70)] If the register ALCNT does not become 4, the process returns to step (67) to repeat the above routine. Four
When it becomes, proceed to step (71).
上記のステップ(64)〜(70)は、オートローディン
グの開始から、最初にスイッチFLM3がONするまでに、ス
イッチFLM1のON−OFFが多く計数された時は次に3駒給
送し、スイッチFLM1のON−OFFが少なく計数された時は
次に4駒給送するような構成となっている。The steps (64) to (70) above are for feeding three frames next when the number of ON-OFFs of the switch FLM1 is counted from the start of autoloading until the switch FLM3 is first turned ON, When the number of FLM1 ON-OFF counts is small, the next four frames are fed.
〔ステップ(71)〕PB1=1。フィルムモータにブレー
キをかける。[Step (71)] PB1 = 1. Brakes the film motor.
〔ステップ(72)〕FCNT=1。撮影枚数計数用レジスタ
FCNTを1にセットする。ここでオートローディングのル
ーチンは全て終了してSTARTに戻る。[Step (72)] FCNT = 1. Register for counting the number of shots
Set FCNT to 1. At this point, the auto loading routine is completed and the process returns to START.
以上説明したように、本発明によれば、3ビットのフ
ィルム枚数情報コードのうちの2ビットのみによりフィ
ルム枚数の検出を行うので、カメラの実装スペースを縮
小することができるとともにカメラのコストを低減する
ことができ、しかも前記検出を行うに当たって、フィル
ム感度情報からコード化された情報を設けたパトローネ
か否かを検出するので、このような情報が設けられてい
ないパトローネからの誤った枚数情報が混入することが
なく、正確な枚数情報を得ることができる。As described above, according to the present invention, the number of films is detected only by 2 bits of the 3-bit film number information code, so that the mounting space of the camera can be reduced and the cost of the camera can be reduced. In addition, since it is possible to detect whether or not it is a patrone provided with coded information from the film sensitivity information in performing the above detection, erroneous sheet number information from a patrone without such information is provided. Accurate number information can be obtained without being mixed.
第1図は本発明を実施する回路のブロック図、第2図は
第1図に示すモータの駆動回路を示す回路図、第3図は
DXフィルムのパトローネを示す側面図、第4図は第3図
に示すパトローネに配設されたDXコードを示す図、第5
図、第6図、第7図、第8図は第1図に示すマイクロコ
ンピュータの動作を示すフローチャートである。 SPC:受光素子 OP1,OP2:演算増巾器 DXSV:ISO感度検出装置 MSV:マニアル感度設定装置 DSP:絞り表示装置 SWSV:切換スイッチ DXFLM:フィルム枚数読取装置 DCMP:デジタルコンパレータ CNT:カウンタ AEFP:くし歯状電極 MG1:絞り制御用マグネット MG2:第1緊定マグネット MG3−1:シャッター先幕係止解除マグネット MG3−2:シャッター後幕マグネット1 is a block diagram of a circuit for carrying out the present invention, FIG. 2 is a circuit diagram showing a drive circuit of the motor shown in FIG. 1, and FIG. 3 is
FIG. 5 is a side view showing the patrone of the DX film, FIG. 4 is a view showing the DX code arranged in the patrone shown in FIG. 3, and FIG.
FIG. 6, FIG. 7, FIG. 7 and FIG. 8 are flowcharts showing the operation of the microcomputer shown in FIG. SPC: Photodetector OP1, OP2: Computational amplifier DXSV: ISO sensitivity detector MSV: Manual sensitivity setting device DSP: Aperture display device SWSV: Changeover switch DXFLM: Film number reader DCMP: Digital comparator CNT: Counter AEFP: Comb tooth -Shaped electrode MG1: Aperture control magnet MG2: First tension magnet MG3-1: Shutter front curtain lock release magnet MG3-2: Shutter rear curtain magnet
フロントページの続き (72)発明者 鈴木 政行 神奈川県川崎市高津区下野毛770番地 キ ヤノン株式会社玉川事業所内 (72)発明者 大原 経昌 神奈川県川崎市高津区下野毛770番地 キ ヤノン株式会社玉川事業所内 (72)発明者 登坂 洋一 神奈川県川崎市高津区下野毛770番地 キ ヤノン株式会社玉川事業所内 (56)参考文献 特開 昭60−212745(JP,A) 特開 昭60−28634(JP,A) 特開 昭60−208737(JP,A)(72) Inventor Masayuki Suzuki, 770 Shimonoge, Takatsu-ku, Kawasaki-shi, Kanagawa Canon Inc. Tamagawa Plant (72) Inventor, Keisho Ohara 770, Shimonoge, Takatsu-ku, Kawasaki, Kanagawa Prefecture In-house (72) Yoichi Tosaka, 770 Shimonoge, Takatsu-ku, Kawasaki-shi, Kanagawa Canon Inc. Tamagawa Plant (56) References JP-A-60-212745 (JP, A) JP-A-60-28634 (JP, A) ) JP-A-60-208737 (JP, A)
Claims (1)
ード部及び複数ビットのフィルム感度情報コード部が設
けられているフィルムパトローネからフィルム情報を読
み取るフィルム情報読取装置を有するカメラにおいて、
前記フィルム枚数情報コード部であって、コード化され
た情報を設けていないパトローネの場合と同じ検出結果
が出力される可能性のある2ビットのみによりフィルム
枚数の検出を行う第1の検出手段と、前記フィルム感度
情報コード部によりコード化された情報を設けたパトロ
ーネか否かを検出する第2の検出手段を有することを特
徴とするフィルム情報読取装置を有するカメラ。1. A camera having a film information reading device for reading film information from a film cartridge having a film number information code portion of at least 3 bits and a film sensitivity information code portion of a plurality of bits,
First film detecting means for detecting the number of films by only 2 bits, which is the film number information code part and may output the same detection result as in the case of a cartridge having no coded information. A camera having a film information reading device, further comprising a second detecting means for detecting whether or not the cartridge has information coded by the film sensitivity information code section.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60296446A JPH0823653B2 (en) | 1985-12-25 | 1985-12-25 | Camera with film information reader |
| US07/941,093 US4779109A (en) | 1985-12-20 | 1986-12-12 | Camera having film information reading device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60296446A JPH0823653B2 (en) | 1985-12-25 | 1985-12-25 | Camera with film information reader |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62150340A JPS62150340A (en) | 1987-07-04 |
| JPH0823653B2 true JPH0823653B2 (en) | 1996-03-06 |
Family
ID=17833645
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60296446A Expired - Lifetime JPH0823653B2 (en) | 1985-12-20 | 1985-12-25 | Camera with film information reader |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0823653B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6028634A (en) * | 1983-07-27 | 1985-02-13 | Minolta Camera Co Ltd | Camera |
| JPS60208737A (en) * | 1984-04-02 | 1985-10-21 | Olympus Optical Co Ltd | Exposure controller of camera |
| JPH063519B2 (en) * | 1984-04-06 | 1994-01-12 | ミノルタカメラ株式会社 | Data reader |
-
1985
- 1985-12-25 JP JP60296446A patent/JPH0823653B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62150340A (en) | 1987-07-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5107290A (en) | Camera | |
| US4673272A (en) | Film transport apparatus for camera | |
| US4367026A (en) | Automatic camera | |
| US4699487A (en) | Mode setting device for camera | |
| JPH0617966B2 (en) | camera | |
| US5343264A (en) | Camera using film having magnetic recording portion | |
| US4779109A (en) | Camera having film information reading device | |
| US4974012A (en) | Display device for automatic exposure bracketing shooting | |
| JPH0823653B2 (en) | Camera with film information reader | |
| US4716428A (en) | Automatic film loading device for camera | |
| US4974013A (en) | Camera having an exposure compensation information setting operation member | |
| US4752793A (en) | Camera with motorized film rewinding device | |
| US4685789A (en) | Camera | |
| JP2632672B2 (en) | camera | |
| JPH0617967B2 (en) | camera | |
| USRE34083E (en) | Camera with motorized film rewinding device | |
| JPS6337321A (en) | Exposure control device for camera | |
| JPS6337323A (en) | camera | |
| JPS6337322A (en) | Exposure control device for camera | |
| JPS6337332A (en) | camera | |
| JPS6337334A (en) | Exposure control device for camera | |
| JP2810555B2 (en) | Camera and film feeder | |
| US4699488A (en) | Motorized drive device for camera | |
| JPS6337324A (en) | Exposure control device for camera | |
| US6233405B1 (en) | Camera and film cartridge display setting apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |