JPH0784301A - camera - Google Patents
cameraInfo
- Publication number
- JPH0784301A JPH0784301A JP25361393A JP25361393A JPH0784301A JP H0784301 A JPH0784301 A JP H0784301A JP 25361393 A JP25361393 A JP 25361393A JP 25361393 A JP25361393 A JP 25361393A JP H0784301 A JPH0784301 A JP H0784301A
- Authority
- JP
- Japan
- Prior art keywords
- film
- feeding
- photosensor
- output
- camera
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Details Of Cameras Including Film Mechanisms (AREA)
Abstract
(57)【要約】
【目的】 1コマ目までの間にパーフォレーション穴が
ないフィルムの場合でも、フォトセンサの閾値レベルの
決定が容易にできるカメラを提供する。
【構成】 1はカメラの制御装置であるマイコン1、8
はモータ、9はモータの駆動回路モータドライバ、SW
1,SW2はレリーズスイッチに連動したスイッチ、7
は測距回路、6はレンズマイコン、5はレンズ通信回路
で、カメラが動作中のときにはレンズに電力を供給する
と共に、マイコン1とレンズマイコン6との通信を行
う。2はEEPROMでカメラ制御に必要なデータやカ
メラの状態を記憶するために用い、3は測光回路で、マ
イコン1からの測光開始信号により、測光動作を開始す
る。4は温度センサでカメラの温度を計測する。温度セ
ンサ出力はカメラのA/Dポートに接続される。ph
1、ph2はフォトセンサでフィルムの給送制御をする
ために使われる。フォトセンサの出力はマイコン1のA
/Dポートに接続される。
(57) [Summary] [Purpose] To provide a camera capable of easily determining a threshold level of a photosensor even in the case of a film having no perforation holes in the first frame. [Configuration] 1 is a microcomputer 1, 8 which is a control device of the camera
Is a motor, 9 is a motor drive circuit, a motor driver, and SW
1, SW2 is a switch interlocked with the release switch, 7
Is a distance measuring circuit, 6 is a lens microcomputer, and 5 is a lens communication circuit, which supplies electric power to the lens when the camera is in operation and communicates between the microcomputer 1 and the lens microcomputer 6. Reference numeral 2 is an EEPROM used for storing data necessary for camera control and the state of the camera. Reference numeral 3 is a photometric circuit, which starts a photometric operation in response to a photometric start signal from the microcomputer 1. A temperature sensor 4 measures the temperature of the camera. The temperature sensor output is connected to the A / D port of the camera. ph
Photosensors 1 and ph2 are used to control the film feeding. The output of the photo sensor is A of the microcomputer 1.
/ D port.
Description
【0001】[0001]
【産業上の利用分野】本発明は、1画面に2個以上のパ
ーフォレーションを有するフィルムを複数のフォトセン
サを用いて給送するカメラに関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a camera for feeding a film having two or more perforations on one screen by using a plurality of photosensors.
【0002】[0002]
【従来の技術】従来は、フィルムの最初の部分(即ち、
1コマ目より前の部分)のパーフォレーション穴でフォ
トセンサの閾値レベルを決定していた。具体的な閾値決
定方法としては、次のようなものがあげられる。 (1)センサ出力の最大値と最小値から決定する方法 (2)傾きが最大になる値から決定する方法 (3)閾値を直接記憶しておく方法 (4)A/D値の度数分布を求め、中央値を閾値とする
方法 等がある。また、2つのフォトセンサを使用して給送制
御する方法としては、特開平4−328536号があ
る。BACKGROUND OF THE INVENTION Traditionally, the first part of the film (ie,
The threshold level of the photosensor was determined by the perforation holes of the portion before the first frame). The following is a specific method for determining the threshold value. (1) Method of determining from maximum and minimum values of sensor output (2) Method of determining from maximum inclination value (3) Method of directly storing threshold value (4) Frequency distribution of A / D value There is a method of obtaining and using the median as a threshold. Further, as a method for controlling the feeding using two photo sensors, there is JP-A-4-328536.
【0003】[0003]
【発明が解決しようとする課題】ところが上記の方法
は、フィルムの最初の部分にもパーフォレーション穴が
あり、その部分で閾値を決定することが前提となってい
る。そのため従来の方法では1コマ目までの間にパーフ
ォレーション穴がないフィルムの場合、フォトセンサの
閾値レベルの決定が非常に困難になる。However, the above method is premised on that the perforation hole is also present in the first portion of the film and the threshold value is determined in that portion. Therefore, according to the conventional method, it is very difficult to determine the threshold level of the photosensor in the case of a film having no perforation holes up to the first frame.
【0004】前記(1)の方法では、フィルムの最初の
部分にパーフォレーション穴がないため、最大と最小値
から適正な閾値レベルを設定することができない。
(2)の方法では、フィルムの最初の部分にパーフォレ
ーション穴がないため、閾値レベルを傾きから求めるこ
とができない。(3)の方法では異なるフィルムに対し
て対応ができない。(4)の方法は、パーフォレーショ
ン穴が等間隔で連続に並んでいることが前提になってい
るので、フィルムの最初の部分にパーフォレーション穴
がないフィルムだと適正な閾値レベルを設定することが
できない。In the above method (1), since there is no perforation hole at the beginning of the film, it is impossible to set an appropriate threshold level from the maximum and minimum values.
In the method (2), the threshold level cannot be obtained from the slope because there is no perforation hole in the first part of the film. The method (3) cannot deal with different films. The method (4) is based on the premise that the perforation holes are continuously arranged at equal intervals. Therefore, if the film has no perforation holes at the beginning of the film, an appropriate threshold level cannot be set. .
【0005】本発明はかかる課題を解決するためになさ
れたもので、1コマ目までの間にパーフォレーション穴
がないフィルムの場合でも、フォトセンサの閾値レベル
の決定が容易にできるカメラを提供することを目的とす
る。The present invention has been made to solve the above problems, and provides a camera capable of easily determining the threshold level of a photosensor even in the case of a film having no perforation holes up to the first frame. With the goal.
【0006】[0006]
【課題を解決するための手段】上記の目的を達成するた
めに、本発明のカメラは請求項1において、フォトセン
サを使ってパーフォレーションを検知し、給送制御する
カメラにおいて、フィルムのないときの前記フォトセン
サ出力を記憶する手段と、フィルムを給送する手段と、
前記フォトセンサ出力をA/D変換する手段と、フィル
ム給送中にA/D変換を繰り返しその最大値を検出する
手段と、前記記憶手段に記憶された値と最大値から前記
フォトセンサの閾値を決定する手段とを具備するもので
あり、また請求項2において、フィルムのないときの前
記フォトセンサ出力を記憶する手段と、フィルムを給送
する手段と、前記フォトセンサ出力をA/D変換する手
段と、フィルム給送開始後所定時間を計測する手段と、
フィルム給送開始前の前記フォトセンサ出力と、フィル
ム給送開始後所定時間経過後の前記フォトセンサ出力か
らフォトセンサの閾値を決定する手段とを具備するもの
であり、また、このカメラは、請求項3において、フィ
ルムのパーフォレーション信号を出力する少なくとも第
1、第2のフォトセンサ手段と、少なくとも1画面に2
つのパーフォレーション穴を持つフィルムを給送する給
送手段と、この給送手段によりフィルムを給送している
ときのパーフォレーション信号とから第1のフォトセン
サ手段に対応した制御タイミング信号を発生させる制御
タイミング発生手段と、フィルムのない時の第2フォト
センサ手段から出力される第1のパーフォレーション信
号を記憶する第1の記憶手段と、制御タイミング発生手
段のタイミング信号が発生させられたときの第2のフォ
トセンサ手段から出力される第2のパーフォレーション
信号を記憶する第2の記憶手段と、第1、第2の記憶手
段に記憶された第1、第2のパーフォレーション信号か
ら第2のセンサのパーフォレーション穴判定閾値を決定
する決定手段を有し、前記決定手段によって決定された
閾値とパーフォレーション信号を比較することによって
パーフォレーションを検知し、フィルムを給送制御する
給送制御装置を備えるものである。In order to achieve the above object, the camera of the present invention according to claim 1 detects a perforation by using a photosensor and controls feeding, and when a film is not present, Means for storing the photosensor output, means for feeding the film,
A unit for A / D converting the output of the photo sensor, a unit for repeating the A / D conversion during film feeding to detect the maximum value thereof, and a threshold of the photo sensor from the value and the maximum value stored in the storage unit. And means for storing the photosensor output when there is no film, means for feeding the film, and A / D conversion of the photosensor output. Means for measuring the predetermined time after the start of film feeding,
The camera is provided with a means for determining a threshold value of the photosensor from the photosensor output before the film feeding is started and the photosensor output after a predetermined time has elapsed after the film feeding is started. Item 3, at least first and second photosensor means for outputting a film perforation signal, and at least two on one screen.
Control means for generating a control timing signal corresponding to the first photosensor means from a feeding means for feeding a film having one perforation hole and a perforation signal when the film is fed by the feeding means. Generating means, first storage means for storing the first perforation signal output from the second photosensor means when there is no film, and second storage means when the timing signal of the control timing generating means is generated. Second storage means for storing the second perforation signal output from the photosensor means, and perforation holes of the second sensor from the first and second perforation signals stored in the first and second storage means. A determination means for determining a determination threshold, and the threshold and the perforation determined by the determination means. Detecting perforations by comparing the Deployment signal, but with a feeding control device for feeding controlling the film.
【0007】[0007]
【作用】本発明によれば、フィルムの送り出し開始前の
センサ出力と、送り出し開始から一定時間後のセンサ出
力値から閾値を決定する。カメラにカートリッジを入れ
ただけの状態ではフィルムは引き出されていないので、
このときの値をフィルムなしのレベルとして記憶する。
その後、送り出しを行い、一定時間後のフィルムがある
ときの値を求め、これら2つの値から閾値を決定する。
今までのフィルムと違い、1コマ目までパーフォレーシ
ョン穴がないため閾値レベルを決めるためにA/D変換
を繰り返し行う必要がない。According to the present invention, the threshold value is determined based on the sensor output before the start of film feeding and the sensor output value after a fixed time from the start of feeding. Since the film is not pulled out when the cartridge is just put in the camera,
The value at this time is stored as the level without film.
Then, the film is sent out, the value when there is a film after a certain period of time is obtained, and the threshold value is determined from these two values.
Unlike conventional films, there is no perforation hole up to the first frame, so there is no need to repeat A / D conversion to determine the threshold level.
【0008】また、別な方法として、フィルムなしの値
をあらかじめEEPROMに記憶させておき、その値と
最大値から閾値レベルを決めることもできる。フィルム
なしの値は、センサによって変わるが、フィルムによっ
て変化することがないので、その値をあらかじめ記憶し
ておき、フィルムがあるときのセンサ出力値のみをフィ
ルム毎に求めればよい。As another method, the value without film can be stored in advance in the EEPROM and the threshold level can be determined from the value and the maximum value. The value without film changes depending on the sensor, but does not change depending on the film. Therefore, the value may be stored in advance and only the sensor output value when the film exists may be obtained for each film.
【0009】[0009]
【実施例】まず、本実施例を実現するためのカメラの主
要部分の電気回路を説明する。図1は上記カメラの主要
部分の回路を説明するための電気制御ブロック図であ
る。図において、1はカメラの制御装置で、例えば内部
にCPU(中央処理装置)、ROM、RAM、A/D変
換機能を有する1チップマイクロコンピュータ(以下マ
イコンと記す)である。マイコン1はROMに格納され
たカメラのシーケンスプログラムに従って、自動露出制
御機能、自動焦点調節機能、フィルムの巻き上げ、巻き
戻し等のカメラの一連の動作を行っている。[Embodiment] First, an electric circuit of a main part of a camera for realizing this embodiment will be described. FIG. 1 is an electric control block diagram for explaining a circuit of a main part of the camera. In the figure, reference numeral 1 denotes a camera control device, which is, for example, a 1-chip microcomputer (hereinafter referred to as a microcomputer) having a CPU (central processing unit), a ROM, a RAM, and an A / D conversion function. The microcomputer 1 performs a series of camera operations such as an automatic exposure control function, an automatic focus adjustment function, film winding and rewinding in accordance with a camera sequence program stored in a ROM.
【0010】8はフィルム給送用ミラーアップ・ダウン
及びシャッタばねチャージ用のモータである。9はモー
タの駆動回路モータドライバで、マイコンからの制御信
号によりモータの正転、逆転の制御が行われる。SW
1、SW2はレリーズスイッチに連動したスイッチで、
レリーズボタンの半押し状態でSW1が「ON」にな
り、引き続いてレリーズボタンを押すとSW2が「O
N」する。マイコン1はSW1「ON」で測光、測距を
行い、SW2「ON」をトリガとして露出制御とその後
のフィルムの巻き上げを行う。Numeral 8 is a motor for raising and lowering the film feeding mirror and for charging the shutter spring. Reference numeral 9 denotes a motor drive circuit motor driver, which controls forward / reverse rotation of the motor by a control signal from the microcomputer. SW
SW1 and SW2 are switches linked to the release switch.
SW1 turns “ON” when the release button is pressed halfway, and SW2 turns “O” when the release button is pressed continuously.
N ”. The microcomputer 1 performs photometry and distance measurement with SW1 "ON" and performs exposure control and subsequent film winding with SW2 "ON" as a trigger.
【0011】7は測距回路でマイコン1からの測距開始
信号により、不図示の測距センサの蓄積を開始し、測距
センサの蓄積が終了すると、マイコン1から送られる制
御信号に同期してマイコン1にデータを出力する。マイ
コン1では、測距センサのデータに焦点検出演算を行
い、測距動作を行う。Reference numeral 7 denotes a distance measuring circuit which starts accumulation of a distance measuring sensor (not shown) in response to a distance measurement start signal from the microcomputer 1 and, when the accumulation of the distance measuring sensor is completed, synchronizes with a control signal sent from the microcomputer 1. And outputs the data to the microcomputer 1. The microcomputer 1 performs focus detection calculation on the data of the distance measuring sensor to perform the distance measuring operation.
【0012】6はレンズマイコンで、カメラボデイ側の
マイコン1と通信を行い、レンズ固有のデータをカメラ
ボデイに送信したり、カメラボデイからの駆動命令を受
信し、不図示のレンズの光学系を所定の位置に駆動する
ほか、不図示の絞りの制御を行う。5はレンズ通信回路
で、カメラが動作中のときにはレンズに電力を供給する
と共に、マイコン1とレンズマイコン6との通信を行
う。A lens microcomputer 6 communicates with the microcomputer 1 on the camera body side to transmit lens-specific data to the camera body and to receive a drive command from the camera body, and to set an optical system of a lens (not shown). In addition to driving to a predetermined position, it controls a diaphragm (not shown). Reference numeral 5 denotes a lens communication circuit, which supplies electric power to the lens when the camera is in operation and communicates between the microcomputer 1 and the lens microcomputer 6.
【0013】2はEEPROMでカメラ制御に必要なデ
ータやカメラの状態を記憶するために用いる。3は測光
回路で、マイコン1からの測光開始信号により、測光動
作を開始する。4は温度センサでカメラの温度を計測す
る。温度センサ出力はカメラのA/Dポートに接続され
る。ph1、ph2はフォトセンサでフィルムの給送制
御をするために使われる。フォトセンサの出力はマイコ
ン1のA/Dポートに接続される。An EEPROM 2 is used to store data necessary for camera control and the state of the camera. Reference numeral 3 denotes a photometry circuit, which starts a photometry operation in response to a photometry start signal from the microcomputer 1. A temperature sensor 4 measures the temperature of the camera. The temperature sensor output is connected to the A / D port of the camera. PH1 and PH2 are used by the photosensor to control the feeding of the film. The output of the photo sensor is connected to the A / D port of the microcomputer 1.
【0014】図4は、カートリッジ、フォトセンサ及び
巻き取りスプールの斜視図で、この図を使ってフィルム
の送り出し及び巻き取りの説明を行う。FIG. 4 is a perspective view of the cartridge, the photosensor and the take-up spool. The drawing and the take-up of the film will be described with reference to this figure.
【0015】図中ph1、ph2はフォトセンサでフィ
ルムのパーフォレーション穴を検知する。CTRはフィ
ルムカートリッジでカートリッジの中にフィルムが巻き
込まれている。FKはフィルムの送り出し及び撮影終了
時に巻き取りを行うフォークである。SPLはフィルム
の巻き取りを行うスプールである。In the figure, photo sensors ph1 and ph2 detect perforation holes in the film. The CTR is a film cartridge in which a film is wound. The FK is a fork that feeds the film and winds it at the end of shooting. SPL is a spool for winding a film.
【0016】図4(a)は、カートリッジをカメラ内部
に入れた状態である。フィルムはカートリッジ内に巻き
込まれ、フィルム先端は露出していない。このため、フ
ォトセンサph1、ph2にはフィルム部分がない。こ
の状態からカートリッジに接続されたフォークFKをフ
ィルム送り出し方向に回転させると、図4(b)のよう
に、フィルム先端部が露出してくる。図4(b)では、
フィルムはスプールSPLに巻き付いておらず、フォト
センサph1、ph2部分にはフィルムのパーフォレー
ション穴がない部分が面している。さらに、フォークF
Kを回転させると、図4(c)のようにフィルム先端が
スプールに巻き付く。スプールSPLの速度はフォーク
FKの速度より速くなっていて、フィルムを巻き上げ
る。図4(c)では、フィルムがちょうど撮影する位置
になっている場合である。FIG. 4A shows a state in which the cartridge is inserted inside the camera. The film is rolled into the cartridge and the leading edge of the film is not exposed. Therefore, the photosensors ph1 and ph2 have no film portion. When the fork FK connected to the cartridge is rotated in the film feeding direction from this state, the leading end portion of the film is exposed as shown in FIG. 4B. In FIG. 4 (b),
The film is not wound around the spool SPL, and the photosensors ph1 and ph2 face a part having no perforation hole of the film. In addition, fork F
When K is rotated, the leading end of the film winds around the spool as shown in FIG. The speed of the spool SPL is faster than the speed of the fork FK and winds the film. In FIG. 4C, the film is at the position where the film is just taken.
【0017】図2はフィルムとフォトセンサph1、p
h2の関係について示す図である。説明の都合上フィル
ムは平面に展開して示しているが、SPLの位置でフィ
ルムの巻き取りを行い、CTRの位置にフィルムカート
リッジがおかれる。フィルムは図中右から左に給送され
る。FRはフィルムのリーダ部でフィルムをローディン
グする時にはこの部分が巻き取りスプールSPLに巻き
取られる。なお、この部分には撮影することができな
い。A1、A2、A3はそれぞれ1枚目、2枚目、3枚
目の撮影画面である。P0〜P6はパーフォレーション
で、P1,P2は撮影画面A1に対応したパーフォレー
ションである。(画面A2に対応してP3,P4、画面
A3に対応してP5,P6がある。)前記フォトセンサ
ph1,ph2は、画面A1を撮影する位置にフィルム
が停止している場合、図2の位置関係に配置される。FIG. 2 shows a film and photosensors ph1 and p.
It is a figure which shows about the relationship of h2. For convenience of explanation, the film is shown expanded in a plane, but the film is wound at the SPL position and the film cartridge is placed at the CTR position. The film is fed from right to left in the figure. In FR, when the film is loaded by the leader portion of the film, this portion is taken up by the take-up spool SPL. It should be noted that this part cannot be photographed. A1, A2, and A3 are first, second, and third shooting screens, respectively. P0 to P6 are perforations, and P1 and P2 are perforations corresponding to the shooting screen A1. (There are P3 and P4 corresponding to the screen A2, and P5 and P6 corresponding to the screen A3.) The photosensors ph1 and ph2 are shown in FIG. 2 when the film is stopped at the position for photographing the screen A1. They are arranged in a positional relationship.
【0018】図3はフィルムを1枚目の撮影画面(A
1)までローディングした場合の各センサの出力波形で
ある。ph1outはフォトセンサph1の出力を示
し、ph2outはフォトセンサph2の出力を示す。
V20はフォトセンサph2がフィルムを検出していな
い時のセンサ出力値で、V21はフォトセンサph2が
フィルムを検出している時のセンサ出力値である。V1
0はフォトセンサph1がフィルムを検出していない時
のセンサ出力値で、V11はフォトセンサph1がフィ
ルムを検出してい時のセンサ出力値である。eg1,e
g2はそれぞれフォトセンサph1,ph2にフィルム
の先端部がかかった時に発生するエッジである。ed
3,ed4はフォトセンサph2部分をパーフォレーシ
ョンP0,P1が通過した時に発生する信号で、ed
5,ed6はフォトセンサph1部分をパーフォレーシ
ョンP0,P1が通過した時に発生する信号である。FIG. 3 shows the first film photographing screen (A
It is an output waveform of each sensor when loaded up to 1). ph1out indicates the output of the photosensor ph1, and ph2out indicates the output of the photosensor ph2.
V20 is a sensor output value when the photo sensor ph2 is not detecting a film, and V21 is a sensor output value when the photo sensor ph2 is detecting a film. V1
0 is a sensor output value when the photo sensor ph1 is not detecting a film, and V11 is a sensor output value when the photo sensor ph1 is detecting a film. eg1, e
g2 is an edge generated when the leading edge of the film is applied to the photosensors ph1 and ph2, respectively. ed
3, ed4 are signals generated when the perforations P0 and P1 pass through the photo sensor ph2 portion, and ed
Reference numerals 5 and ed6 are signals generated when the perforations P0 and P1 pass through the photosensor ph1 portion.
【0019】図5はフィルムのローディングのフローチ
ャートである。フィルムローディングルーチンは、背蓋
が開かれフィルムカートリッジが装填されると、不図示
のメインルーチンからコールされる。図5を使ってフィ
ルムのローディングを説明する。なお、以下の各ステッ
プをSと略す。FIG. 5 is a flowchart of film loading. The film loading routine is called from a main routine (not shown) when the back cover is opened and the film cartridge is loaded. Film loading will be described with reference to FIG. The following steps are abbreviated as S.
【0020】フィルムローディングサブルーチンはここ
からスタートする(S01)。次に、背蓋が閉められた
かどうか判定する(S02)。閉められるまで判定を繰
り返し、閉められた場合はS03へ進み、カートリッジ
の有無を判定する(S03)。カートリッジがなければ
S27へ分岐し、サブルーチンを終了する。カートリッ
ジが有る場合はS04へ進む。そして、フォトセンサ2
のA/D変換を行う(S04)。A/D変換した値はV
20として所定のRAMエリアに格納される。The film loading subroutine starts from here (S01). Next, it is determined whether the back cover is closed (S02). The determination is repeated until it is closed, and when it is closed, the process proceeds to S03, and the presence or absence of the cartridge is determined (S03). If there is no cartridge, the process branches to S27 and the subroutine ends. If there is a cartridge, the process proceeds to S04. And the photo sensor 2
A / D conversion is performed (S04). The A / D converted value is V
20 is stored in a predetermined RAM area.
【0021】次に、フォトセンサ1のA/D変換を行う
(S05)。A/D変換した値はV10として所定のR
AMエリアに格納される。そして、給送用モータの駆動
を開始する(S06)。そして、あらかじめ設定された
時間をウェイトする(S07)。これはフィルムカート
リッジから確実にフィルムが引き出され、かつ1コマ目
の撮影画面が巻き取りスプールに巻き取られない時間を
設定する。例えば電源電圧によってモータの給送速度が
変化するような場合、何通りかの値を用意しておき電源
電圧によってウェイト時間を切り替える。所定時間後、
再びフォトセンサ2のA/D変換を行う(S08)。A
/D変換した値はV21として所定のRAMエリアに格
納される。Next, A / D conversion of the photo sensor 1 is performed (S05). The A / D converted value is V10 and the predetermined R
It is stored in the AM area. Then, the driving of the feeding motor is started (S06). Then, the preset time is waited (S07). This sets the time during which the film is reliably pulled out from the film cartridge and the first frame of the shooting screen is not wound on the winding spool. For example, when the feeding speed of the motor changes depending on the power supply voltage, several values are prepared and the wait time is switched depending on the power supply voltage. After a predetermined time,
The A / D conversion of the photo sensor 2 is performed again (S08). A
The value obtained by the / D conversion is stored in a predetermined RAM area as V21.
【0022】A/D変換した値v20とv21の差を求
め、その差が一定の値より大きいかどうかを判定する
(S09)。差が小さい場合はフィルムがカートリッジ
から正しく送り出されていない場合であるから、S27
へ分岐し、サブルーチンを終了する。また、v20及び
v21を使って、フォトセンサph2の閾値を決定する
(S10)。例えば、立ち上がりエッジの閾値vth2
uは、 vth2u=(v20+v21) ×0.6 立ち下がりエッジの閾値vth2dは、 vth2d=(v20+v21) ×0.4 となる。Find the difference between A / D converted values v20 and v21
Therefore, determine whether the difference is greater than a certain value
(S09). If the difference is small, the film is a cartridge
Since it is not correctly sent from S27,
And the subroutine ends. Also, v20 and
v21 is used to determine the threshold value of the photo sensor ph2
(S10). For example, the threshold vth2 of the rising edge
u is vth2u = (v20 + v21) × 0.6 The falling edge threshold vth2d is vth2d = (v20 + v21) It becomes × 0.4.
【0023】次に、フォトセンサph1とフォトセンサ
ph2の間隔をフィルムが進む時間分だけウェイトを行
う(S11)。そして、所定時間後、再びフォトセンサ
1のA/D変換を行う(S12)。A/D変換した値は
V11として所定のRAMエリアに格納される。v10
及びv11を使ってフォトセンサph1の閾値を決定す
る。例えば、立ち上がりエッジの閾値vth1uは、 vth1u=(v10+v11) ×0.6 立ち下がりエッジの閾値vth1dは、 vth1d=(v10+v11) ×0.4 となる。Next, the photo sensor ph1 and the photo sensor
Wait at the interval of ph2 for the time the film advances
(S11). Then, after a predetermined time, the photo sensor
A / D conversion of 1 is performed (S12). The A / D converted value is
It is stored in a predetermined RAM area as V11. v10
And v11 are used to determine the threshold of the photo sensor ph1
It For example, the threshold vth1u of the rising edge is vth1u = (v10 + v11) × 0.6 The falling edge threshold vth1d is vth1d = (v10 + v11) It becomes × 0.4.
【0024】ここで、エッジをカウントするカウンタの
初期化を行う(S14)。そして、フォトセンサ2のA
/D変換を行う(S15)。S10で決定した立ち下が
りエッジの閾値vth2dとA/D変換した値を比較す
る(S16)。A/D変換の出力が閾値vth2dより
大きい間、S15,S16を繰り返す。Here, the counter for counting the edges is initialized (S14). Then, A of the photo sensor 2
/ D conversion is performed (S15). The threshold vth2d of the falling edge determined in S10 is compared with the A / D converted value (S16). While the output of A / D conversion is larger than the threshold value vth2d, S15 and S16 are repeated.
【0025】フォトセンサ2のA/D変換値がvth2
dより小さくなったら、次のステップに進み、引き続き
フォトセンサ2のA/D変換を行う(S17)。次に、
S8で決定した立ち上がりエッジの閾値vth2uとA
/D変換した値を比較する(S18)。閾値よりセンサ
出力が小さければ、立ち上がりエッジではないのでS1
7に戻り、A/D変換を繰り返す。閾値よりセンサ出力
が大きければ立ち上がりエッジと判定しS19に進み、
エッジが2つ目かどうかを判定する。2つ目でなければ
S15へ戻り、エッジ検出を繰り返す。そして、2つ目
のエッジならS20へ進む。S14からS19では、図
3のeg3,eg4の2つの立ち上がりエッジを検出す
る。The A / D converted value of the photo sensor 2 is vth2
When it becomes smaller than d, the process proceeds to the next step, and the A / D conversion of the photo sensor 2 is continuously performed (S17). next,
The threshold vth2u of the rising edge determined in S8 and A
The / D converted values are compared (S18). If the sensor output is smaller than the threshold value, it is not a rising edge, so S1
Returning to 7, the A / D conversion is repeated. If the sensor output is larger than the threshold value, it is determined to be a rising edge and the process proceeds to S19,
It is determined whether the edge is the second edge. If it is not the second one, the process returns to S15 and the edge detection is repeated. If it is the second edge, the process proceeds to S20. In S14 to S19, two rising edges eg3 and eg4 in FIG. 3 are detected.
【0026】次に、フォトセンサ1のA/D変換を行い
(S20)、S13で決定した立ち下がりエッジの閾値
vth1dとA/D変換した値を比較する(S21)。
A/D変換の出力が閾値vth1dより大きい間、S2
0,S21を繰り返す。A/D変換した値が閾値より小
さくなったら立ち下がりエッジが検出されたのでS22
へ進み、フォトセンサ1のA/D変換を行う(S2
2)。次に、S13で決定した立ち上がりエッジの閾値
vth1uとA/D変換した値を比較する(S23)。
閾値vth1uよりセンサ出力が小さければ立ち上がり
エッジではないのでS22に戻り、A/D変換を繰り返
す。閾値よりセンサ出力が大きければ立ち上がりエッジ
と判定し、S24に進む。Next, A / D conversion of the photosensor 1 is performed (S20), and the falling edge threshold vth1d determined in S13 is compared with the A / D converted value (S21).
While the output of A / D conversion is larger than the threshold value vth1d, S2
0 and S21 are repeated. If the A / D converted value becomes smaller than the threshold value, the falling edge is detected.
Proceed to and perform A / D conversion of the photo sensor 1 (S2
2). Next, the threshold vth1u of the rising edge determined in S13 is compared with the A / D converted value (S23).
If the sensor output is smaller than the threshold value vth1u, it is not a rising edge, and therefore the process returns to S22 to repeat the A / D conversion. If the sensor output is larger than the threshold value, it is determined to be a rising edge, and the process proceeds to S24.
【0027】さらに、エッジが1つ目かどうかを判定す
る(S24)。1つ目(図3eg5)ならS25へ進
む。ここでモータを停止するためにモータをデューティ
駆動にする(S25)。その後S20へ戻り、次のエッ
ジ検出を行う。そして、S24で検出した立ち上がりエ
ッジが1回目でなければ(図3eg6のエッジを判定)
このS26に進む。このステップでは、モータを停止さ
せ、フィルムは1枚目の撮影位置に停止する。その後、
ローディングのフローチャートを終了し、リターンする
(S27)。Further, it is judged whether the edge is the first one (S24). If it is the first (eg 5 in FIG. 3), the process proceeds to S25. Here, the motor is duty-driven to stop the motor (S25). After that, the process returns to S20 to detect the next edge. Then, the rising edge detected in S24 is not the first rising edge (the edge in FIG. 3eg6 is determined).
The process proceeds to S26. In this step, the motor is stopped and the film is stopped at the shooting position of the first sheet. afterwards,
The loading flowchart is ended and the process returns (S27).
【0028】本実施例では、フィルム送り出し前のフォ
トセンサの出力と、フィルム送り出しを開始してから一
定時間後のフォトセンサの出力からフォトセンサの閾値
を決定することにより、1コマ目までパーフォレーショ
ン穴がないフィルムでも容易に閾値レベルを決定するこ
とができる。In the present embodiment, the threshold value of the photosensor is determined from the output of the photosensor before the film is fed out and the output of the photosensor after a fixed time has passed after the film is fed out to determine the threshold value of the photosensor until the first frame. The threshold level can be easily determined even for a film without a film.
【0029】〔実施例2〕ここで、フォトセンサでフィ
ルム給送をするための別な方法について説明する。図8
はフィルムを1枚目の撮影画面(A1)までローディン
グした場合の各センサの出力波形である。ph1out
はフォトセンサph1の出力を示し、ph2outはフ
ォトセンサph2の出力を示す。V2Rはフォトセンサ
ph2がフィルムを検出していない時のセンサ出力値
で、あらかじめ測定され、カメラのEEPROM等に格
納されている。max2はフォトセンサph2がフィル
ムを検出している時のセンサ出力値の最大値である。V
1Rはフォトセンサph1がフィルムを検出していない
時のセンサ出力値でV2と同様あらかじめ測定した値が
EEPROMに格納されている。max1はフォトセン
サph1がフィルムを検出している時の最大値である。
eg1〜eg6はそれぞれ図3と同様である。[Embodiment 2] Here, another method for feeding a film by a photo sensor will be described. Figure 8
Is the output waveform of each sensor when the film is loaded up to the first shooting screen (A1). ph1out
Indicates the output of the photo sensor ph1, and ph2out indicates the output of the photo sensor ph2. V2R is a sensor output value when the photo sensor ph2 is not detecting a film, which is measured in advance and stored in the EEPROM or the like of the camera. max2 is the maximum value of the sensor output value when the photo sensor ph2 is detecting the film. V
1R is a sensor output value when the photo sensor ph1 is not detecting a film, and a value measured in advance like V2 is stored in the EEPROM. max1 is the maximum value when the photo sensor ph1 detects a film.
eg1 to eg6 are the same as those in FIG.
【0030】図6はフィルムのローディングのフローチ
ャートである。フィルムローディングルーチンは背蓋が
開かれ、フィルムカートリッジが装填されると不図示の
メインルーチンからコールされる。図6を使ってフィル
ムのローディングを説明する。フィルムローディングサ
ブルーチンがスタートし(S101)、背蓋が閉められ
たかどうか判定する(S102)。閉められるまで判定
を繰り返し、閉められた場合はS103へ進む。そし
て、カートリッジの有無を判定する(S103)。カー
トリッジがなければS129へ分岐し、サブルーチンを
終了する。カートリッジが有る場合はS104へ進み、
給送用モータの駆動を開始する。そして、最大値を求め
るため、max1、max2の初期化を行う(S10
5)。フォトセンサ2のA/D変換を行う(S10
6)。A/D変換した値はV2として所定のRAMエリ
アに格納される。FIG. 6 is a flow chart of film loading. The film loading routine is called from a main routine (not shown) when the back cover is opened and a film cartridge is loaded. The film loading will be described with reference to FIG. The film loading subroutine starts (S101), and it is determined whether the back cover is closed (S102). The determination is repeated until it is closed, and when it is closed, the process proceeds to S103. Then, the presence or absence of the cartridge is determined (S103). If there is no cartridge, the process branches to S129 to end the subroutine. If there is a cartridge, proceed to S104,
Start driving the feeding motor. Then, in order to obtain the maximum value, max1 and max2 are initialized (S10).
5). A / D conversion of the photo sensor 2 is performed (S10
6). The A / D converted value is stored as V2 in a predetermined RAM area.
【0031】次に、S106で求めたフォトセンサ2の
出力v2と最大値max2を比較してv2が大きければ
S108へ分岐し、最大値max2をv2と入れ換える
(S108)。S107でフォトセンサ2の出力v2が
最大値max2より小さければS109へ進む。Next, the output v2 of the photosensor 2 obtained in S106 is compared with the maximum value max2. If v2 is large, the process branches to S108, and the maximum value max2 is replaced with v2 (S108). If the output v2 of the photo sensor 2 is smaller than the maximum value max2 in S107, the process proceeds to S109.
【0032】次に、フォトセンサ1のA/D変換を行う
(S109)。A/D変換した値はv1として所定のR
AMエリアに格納される。さらに、S109で求めたフ
ォトセンサ1の出力v1と最大値max1を比較してv
1が大きければS111へ分岐し、最大値max1とv
1を入れ換える。そうでなければS112へ進み、最大
値検出の終了判定を行う。判定の条件としては、モータ
の駆動開始から一定時間経過したかどうかとか、検出し
た最大値が一定レベルを越えているとか、フォトセンサ
の出力が連続して下がっているなどで行う。最大値検出
終了でなければ、S106〜S112を繰り返し、終了
ならS113へ進む。Next, A / D conversion of the photo sensor 1 is performed (S109). The A / D converted value is v1 and is a predetermined R
It is stored in the AM area. Further, the output v1 of the photo sensor 1 obtained in S109 is compared with the maximum value max1 to obtain v
If 1 is large, the process branches to S111, and the maximum values max1 and v
Swap 1 If not, the process proceeds to S112, and it is determined whether the maximum value has been detected. The conditions for the determination are, for example, whether or not a certain time has elapsed from the start of driving the motor, the detected maximum value exceeds a certain level, and the output of the photo sensor continuously decreases. If the maximum value detection has not ended, S106 to S112 are repeated, and if the maximum value detection has ended, the process proceeds to S113.
【0033】次に、EEPROMと通信して、各センサ
のフィルムなしの出力値を得る(S113)。フォトセ
ンサph2のフィルムなしの出力はV2Rで、フォトセ
ンサph1のフィルムなしの出力値がV1Rである。R
EEPROM内にはあらかじめフィルムが無い状態での
フォトセンサの出力が記憶されており、フィルムを入れ
換える度にA/D変換を行う必要がない。また、フィル
ムカートリッジが図4(b)のようにセットされた場合
でも閾値を誤って決定することはない。そして、V2R
及びmax2を使ってフォトセンサph2の閾値を決定
する(S114,S115)。例えば、立ち下がりエッ
ジの閾値vth2dは、 vth2d=(V2R+max2)×0.4 立ち上がりエッジの閾値vth2uは、 vth2u=(V2R+max2) ×0.6 となる。Next, each sensor is communicated with the EEPROM.
The output value without film is obtained (S113). PHOTOSE
The output of the sensor ph2 without film is V2R, and
The output value of the sensor ph1 without a film is V1R. R
If there is no film in the EEPROM beforehand,
The output of the photo sensor is stored and the film is loaded.
It is not necessary to carry out A / D conversion every time it is changed. Also Phil
When the cartridge is set as shown in Fig. 4 (b)
However, the threshold value will not be erroneously determined. And V2R
And max2 are used to determine the threshold of the photo sensor ph2
(S114, S115). For example, falling edge
The threshold vth2d of V is: vth2d = (V2R + max2) × 0.4 The threshold vth2u of the rising edge is: vth2u = (V2R + max2) It becomes × 0.6.
【0034】V1R及びmax1を使ってフォトセンサ
ph1の閾値を決定する(S114)。例えば、立ち下
がりエッジの閾値vth1dは、 vth1d=(V1R+max1) ×0.4 立ち上がりエッジの閾値vth1uは、 vth1u=(V1R+max1) ×0.6 となる。Photosensor using V1R and max1
The threshold value of ph1 is determined (S114). For example,
The threshold vth1d of the sharp edge is vth1d = (V1R + max1) × 0.4 The rising edge threshold value vth1u is vth1u = (V1R + max1) It becomes × 0.6.
【0035】次に、エッジをカウントするカウンタの初
期化を行う(S116)。そして、フォトセンサ2のA
/D変換を行う(S117)。また、S114で決定し
た立ち下がりエッジの閾値vth2dとA/D変換した
値を比較する(S118)。A/D変換の出力が閾値v
th2dより大きい間、S117,S118を繰り返
す。Next, the counter for counting the edges is initialized (S116). Then, A of the photo sensor 2
/ D conversion is performed (S117). Further, the falling edge threshold vth2d determined in S114 is compared with the A / D converted value (S118). The output of A / D conversion is the threshold value v
While it is larger than th2d, S117 and S118 are repeated.
【0036】A/D変換出力が閾値vth2より小さく
なったら、次のステップへ進み、フォトセンサ2のA/
D変換を行う(S119)。さらに、S114で決定し
た立ち上がりエッジの閾値vth2uとA/D変換した
値を比較する(S120)。閾値よりセンサ出力が小さ
ければ立ち上がりエッジではないのでS119に戻り、
A/D変換を繰り返す。閾値よりセンサ出力が大きけれ
ば立ち上がりエッジと判定し、S121に進む。そし
て、エッジが2つ目かどうかを判定する。2つ目でなけ
ればS117へ戻り、エッジ検出を繰り返す。2つ目の
エッジならS122へ進む。S117からS121では
図8のeg3,eg4の2つの立ち上がりエッジを検出
する。When the A / D converted output becomes smaller than the threshold value vth2, the process proceeds to the next step, where the A / D of the photo sensor 2 is
D conversion is performed (S119). Furthermore, the threshold vth2u of the rising edge determined in S114 is compared with the A / D converted value (S120). If the sensor output is smaller than the threshold value, it is not a rising edge, so the process returns to S119,
Repeat A / D conversion. If the sensor output is larger than the threshold value, it is determined to be a rising edge, and the process proceeds to S121. Then, it is determined whether the edge is the second edge. If it is not the second one, the process returns to S117 to repeat the edge detection. If it is the second edge, proceed to S122. In S117 to S121, two rising edges eg3 and eg4 in FIG. 8 are detected.
【0037】次に、フォトセンサ1のA/D変換を行う
(S122)。そして、S115で決定した立ち下がり
エッジの閾値vth1dとA/D変換した値を比較する
(S123)。A/D変換の出力が再び閾値より小さく
なるまでS122,S123を繰り返す。A/D変換し
た値が閾値より小さくなったら立ち下がりエッジが検出
されたのでS124へ進み、フォトセンサ1のA/D変
換を行う。Next, A / D conversion of the photo sensor 1 is performed (S122). Then, the falling edge threshold vth1d determined in S115 is compared with the A / D converted value (S123). S122 and S123 are repeated until the output of A / D conversion becomes smaller than the threshold again. When the A / D-converted value becomes smaller than the threshold value, the falling edge is detected. Therefore, the process proceeds to S124, and the A / D conversion of the photosensor 1 is performed.
【0038】次に、S115で決定した立ち上がりエッ
ジの閾値vth1uとA/D変換した値を比較する(S
125)。閾値vth1dよりセンサ出力が小さければ
立ち上がりエッジではないのでS124に戻り、A/D
変換を繰り返す。閾値よりセンサ出力が大きければ立ち
上がりエッジと判定し、次に進む。ここでエッジが1つ
目かどうかを判定する(S126)。1つ目(図8eg
5)ならS127へ進む。1つ目でないなら(図8eg
6のエッジを判定)、S128へ進む。エッジが1つ目
ならば、S127でモータを停止するためにモータをデ
ューティー駆動にする。その後、S122へ戻り、次の
エッジ検出を行う。また、S126で検出した立ち上が
りエッジが1回目でなければS128に進む。このステ
ップではモータを停止させ、フィルムは1枚目の撮影位
置に停止する。そして、ローディングのフローチャート
を終了し、リターンする(S129)。Next, the threshold vth1u of the rising edge determined in S115 is compared with the A / D converted value (S).
125). If the sensor output is smaller than the threshold value vth1d, it is not a rising edge, and therefore the process returns to S124 and the A / D
Repeat the conversion. If the sensor output is larger than the threshold value, it is determined to be a rising edge and the process proceeds to the next. Here, it is determined whether the edge is the first edge (S126). The first (Fig. 8eg
If 5), proceed to S127. If not the first (Fig. 8eg
Then, the process proceeds to S128. If the edge is the first edge, the motor is duty driven to stop the motor in S127. After that, the process returns to S122 to detect the next edge. If the rising edge detected in S126 is not the first one, the process proceeds to S128. In this step, the motor is stopped and the film stops at the shooting position of the first sheet. Then, the loading flowchart is terminated and the process returns (S129).
【0039】本実施例では、フィルムがない状態でのフ
ォトセンサの出力をメモリに記憶しておき、その値とフ
ィルムを送り出した時のフォトセンサの出力の最大値か
らフォトセンサの閾値を決定することにより、1コマ目
までパーフォレーション穴がないフィルムでも容易に閾
値レベルを決定することができる。さらに、フォトセン
サにフィルムがかかっていない状態の出力が得えられな
い場合でも最適なセンサ閾値を決定することができる。In this embodiment, the output of the photosensor without the film is stored in the memory, and the threshold value of the photosensor is determined from the value and the maximum value of the output of the photosensor when the film is fed. As a result, the threshold level can be easily determined even with a film having no perforation holes up to the first frame. Furthermore, the optimum sensor threshold can be determined even when the output cannot be obtained when the film is not applied to the photo sensor.
【0040】〔実施例3〕ここで、フォトセンサでフィ
ルム給送をするためのさらに別な方法について説明す
る。図9はフィルムを1枚目の撮影画面(A1)までロ
ーディングした場合の各センサの出力波形である。ph
1outはフォトセンサph1の出力を示し、ph2o
utはフォトセンサph2の出力を示す。eg1,eg
2はそれぞれフォトセンサph1,ph2にフィルムの
先端部がかかった時に発生するエッジである。eg3,
eg4はフォトセンサph2部分をパーフォレーション
P0,P1が通過した時に発生する信号で、ed5,e
d6はフォトセンサph1部分をパーフォレーションP
0,P1が通過した時に発生する信号である。V20は
フォトセンサph2がフィルムを検出していない時のセ
ンサ出力値で、V21はフォトセンサph1がエッジe
g2を検出した時のセンサph2の出力値である。V1
0はフォトセンサph1がフィルムを検出していない時
のセンサ出力値で、V11はフォトセンサph2がエッ
ジeg3を検出した時のセンサ出力値である。[Third Embodiment] Here, another method for feeding a film by a photo sensor will be described. FIG. 9 shows the output waveform of each sensor when the film is loaded up to the first shooting screen (A1). ph
1out indicates the output of the photosensor ph1, and ph2o
ut indicates the output of the photo sensor ph2. eg1, eg
Reference numeral 2 is an edge generated when the front end of the film is applied to the photosensors ph1 and ph2, respectively. eg3
eg4 is a signal generated when the perforations P0 and P1 pass through the photo sensor ph2 portion.
d6 is the perforation P of the photo sensor ph1
This is a signal generated when 0 and P1 pass. V20 is the sensor output value when the photo sensor ph2 is not detecting the film, and V21 is the edge e of the photo sensor ph1.
It is the output value of the sensor ph2 when g2 is detected. V1
0 is a sensor output value when the photo sensor ph1 does not detect a film, and V11 is a sensor output value when the photo sensor ph2 detects an edge eg3.
【0041】図7はフィルムの本実施例のフローチャー
トである。図7を使ってフィルムのローディングを説明
する。フィルムローディングルーチンは、フィルムカー
トリッジが装填されると不図示のメインルーチンからコ
ールされる(S201)。そして、フォトセンサ2のA
/D変換を行う(S202)。A/D変換した値はV2
0として所定のRAMエリアに格納される。その後、フ
ォトセンサ1のA/D変換を行う(S203)。A/D
変換した値はV10として所定のRAMエリアに格納さ
れる。S204へ進み、フォトセンサph1のエッジ
(eg2)を検出するためのパラメータの初期値を設定
する。前回のフォトセンサph1の出力値V00をS2
03でA/D変換した値V10に、エッジカウンタcn
tを0に設定する(S204)。そして、給送用モータ
の駆動を開始する(S205)。さらに、フォトセンサ
1のA/D変換を行う(S206)。A/D変換した値
はVadとして所定のRAMエリアに格納される。FIG. 7 is a flow chart of this embodiment of the film. The film loading will be described with reference to FIG. The film loading routine is called from a main routine (not shown) when a film cartridge is loaded (S201). Then, A of the photo sensor 2
/ D conversion is performed (S202). A / D converted value is V2
0 is stored in a predetermined RAM area. After that, the A / D conversion of the photo sensor 1 is performed (S203). A / D
The converted value is stored as V10 in a predetermined RAM area. In step S204, the initial value of the parameter for detecting the edge (eg2) of the photo sensor ph1 is set. The previous output value V00 of the photo sensor ph1 is set to S2.
The edge counter cn is added to the value V10 A / D converted in 03.
t is set to 0 (S204). Then, the driving of the feeding motor is started (S205). Further, A / D conversion of the photo sensor 1 is performed (S206). The A / D converted value is stored as Vad in a predetermined RAM area.
【0042】次に、S206でA/D変換した値Vad
が前回のA/D変換値V00より大きいかどうか判定す
る(S207)。大きければS208へ進み、そうでな
ければS209へ進む。VadがV00より大きけれ
ば、エッジカウンタcntをカウントアップする(S2
08)。そうでなければ、即ちS206でA/D変換し
た値Vadが前回のA/D変換値V00より小さかった
場合、S209に分岐してくる。ここでエッジカウンタ
をクリアする。S208またはS209を実行した後、
S206でA/D変換した値VadをV00に保存する
(S210)。Next, the value Vad obtained by A / D conversion in S206
Is larger than the previous A / D conversion value V00 (S207). If it is larger, the process proceeds to S208, and if not, the process proceeds to S209. If Vad is larger than V00, the edge counter cnt is incremented (S2
08). If not, that is, if the value Vad A / D converted in S206 is smaller than the previous A / D converted value V00, the process branches to S209. Here, the edge counter is cleared. After executing S208 or S209,
The value Vad A / D converted in S206 is stored in V00 (S210).
【0043】次に、エッジカウンタcntが所定の閾値
cnthを越えたかどうか判定する(S211)。一定
回数連続してセンサ出力値が大きくなった場合、エッジ
と判定する。一定回数より少なければS206へ分岐
し、S206〜S211を繰り返す。所定回数を越えた
ら、フォトセンサ2のA/D変換を行う(S212)。
A/D変換した値はV21として所定のRAMエリアに
格納される。さらにV20及びV21を使ってフォトセ
ンサph2の閾値を決定する(S213)。立ち上がり
エッジの閾値vth2uは、 vth2u=(V20+V21) ×0.6 立ち下がりエッジの閾値vth2dは、 vth2d=(V20+V21) ×0.4 となる。Next, the edge counter cnt is set to a predetermined threshold value.
It is determined whether cnth is exceeded (S211). Constant
If the sensor output value becomes large consecutively, the edge
To determine. If less than a certain number of times, branch to S206
Then, S206 to S211 are repeated. Exceeded a certain number of times
Then, A / D conversion of the photo sensor 2 is performed (S212).
The A / D converted value is stored in a predetermined RAM area as V21.
Is stored. Furthermore, using V20 and V21,
The threshold value of the sensor ph2 is determined (S213). Rising
The edge threshold vth2u is vth2u = (V20 + V21) × 0.6 The falling edge threshold value vth2d is vth2d = (V20 + V21) It becomes × 0.4.
【0044】次に、S214で、エッジをカウントする
カウンタの初期化を行う。そして、フォトセンサ2のA
/D変換を行う(S215)。次に、S213で決定し
た立ち下がりエッジの閾値vth2dとA/D変換した
値を比較する(S216)。A/D変換の出力が閾値v
th2dより大きい間、S215,S216を繰り返
す。そして、小さくなったら、フォトセンサ2のA/D
変換を行う(S217)。Next, in S214, a counter for counting edges is initialized. Then, A of the photo sensor 2
/ D conversion is performed (S215). Next, the threshold vth2d of the falling edge determined in S213 is compared with the A / D converted value (S216). The output of A / D conversion is the threshold value v
While it is larger than th2d, S215 and S216 are repeated. When it becomes smaller, the A / D of the photo sensor 2
Conversion is performed (S217).
【0045】次に、S213で決定した立ち上がりエッ
ジの閾値vth2uとA/D変換した値を比較する(S
218)。閾値よりセンサ出力が小さければ、立ち上が
りエッジではないので、S217に戻り、A/D変換を
繰り返す。閾値よりセンサ出力が大きければ立ち上がり
エッジと判定し、S219に進む。そして、エッジが2
つ目かどうかを判定する(S219)。2つ目でなけれ
ば(1つ目のエッジ、図9eg3)S228へ分岐し、
フォトセンサph1の閾値決定を行う。2つ目のエッジ
ならS220へ進む。Next, the threshold vth2u of the rising edge determined in S213 is compared with the A / D converted value (S).
218). If the sensor output is smaller than the threshold value, it is not a rising edge, and therefore the process returns to S217 to repeat the A / D conversion. If the sensor output is larger than the threshold value, it is determined to be a rising edge, and the process proceeds to S219. And the edge is 2
It is determined whether it is the second eye (S219). If it is not the second one (the first edge, FIG. 9eg3), branch to S228,
The threshold value of the photo sensor ph1 is determined. If it is the second edge, proceed to S220.
【0046】1つ目のエッジだった場合、S228で
は、フォトセンサ1のA/D変換を行う。A/D変換し
た値はV11として所定のRAMエリアに格納される。
そして、V10及びV11を使ってフォトセンサph1
の閾値を決定する(S229)。例えば、立ち上がりエ
ッジの閾値vth1uは、 vth1u=(v10+v11) ×0.6 立ち下がりエッジの閾値vth1dは、 vth1d=(v10+v11) ×0.4 となる。閾値が決定した後、S214へ戻りエッジ検出
を繰り返す。If it is the first edge, in S228
Performs A / D conversion of the photo sensor 1. A / D conversion
The calculated value is stored as V11 in a predetermined RAM area.
Then, using V10 and V11, the photo sensor ph1
The threshold of is determined (S229). For example,
Threshold value vth1u of the edge is vth1u = (v10 + v11) × 0.6 The falling edge threshold vth1d is vth1d = (v10 + v11) It becomes × 0.4. After the threshold is determined, the process returns to S214 to detect an edge.
repeat.
【0047】また、S214からS219で2つの立ち
上がりエッジ(図9のeg3,eg4)検出が終了する
と、S220に進んでくる。ここでフォトセンサ1のA
/D変換を行う。次に、S229で決定した立ち下がり
エッジの閾値vth1dとA/D変換した値を比較する
(S221)。A/D変換の出力が閾値より大きい間、
S220,S221を繰り返す。A/D変換した値が閾
値より小さくなったら立ち下がりエッジが検出されたの
で、S222へ進む。When the detection of the two rising edges (eg3 and eg4 in FIG. 9) is completed in S214 to S219, the process proceeds to S220. Here, A of the photo sensor 1
/ D conversion is performed. Next, the threshold vth1d of the falling edge determined in S229 is compared with the A / D converted value (S221). While the output of A / D conversion is larger than the threshold,
S220 and S221 are repeated. When the A / D-converted value becomes smaller than the threshold value, the falling edge is detected, and the process proceeds to S222.
【0048】そこで、フォトセンサ1のA/D変換を行
う(S222)。次に、S213で決定した立ち上がり
エッジの閾値vth1uとA/D変換した値を比較する
(S223)。閾値vth1uよりセンサ出力が小さけ
れば立ち上がりエッジではないのでS222に戻り、A
/D変換を繰り返す。閾値よりセンサ出力が大きければ
立ち上がりエッジと判定し、S224に進む。Therefore, A / D conversion of the photo sensor 1 is performed (S222). Next, the threshold vth1u of the rising edge determined in S213 is compared with the A / D converted value (S223). If the sensor output is smaller than the threshold value vth1u, it is not a rising edge, so the process returns to S222, and A
Repeat / D conversion. If the sensor output is larger than the threshold value, it is determined to be a rising edge, and the process proceeds to S224.
【0049】次に、エッジが1つ目かどうかを判定する
(S224)。1つ目(図9eg5)ならS225へ進
む。1つ目でないなら(図9eg6のエッジを判定)、
S226へ進む。S225では、モータを停止するため
にモータを減速制御する。その後、S220へ戻り、次
のエッジ(図9eg6)検出を行う。Next, it is determined whether the edge is the first edge (S224). If it is the first one (FIG. 9eg5), the process proceeds to S225. If it is not the first one (the edge of FIG. 9eg6 is judged),
Proceed to S226. In S225, the motor is decelerated to stop the motor. After that, the process returns to S220, and the next edge (eg 6 in FIG. 9) is detected.
【0050】また、S224で検出した立ち上がりエッ
ジが1回目でなければS226に進む。このステップで
はモータを停止させ、フィルムは1枚目の撮影位置に停
止する。そして、ローディングのフローチャートを終了
しリターンする(S227)。If the rising edge detected in S224 is not the first one, the process proceeds to S226. In this step, the motor is stopped and the film stops at the shooting position of the first sheet. Then, the flowchart of loading is terminated and the process returns (S227).
【0051】本実施例では、2つのフォトセンサのタイ
ミングずれを利用して、一方のセンサがエッジを検出し
ているタイミングで他方のフォトセンサの閾値を決定す
ることにより、1コマ目までパーフォレーション穴がな
いフィルムでも容易に閾値レベルを決定することができ
る。In this embodiment, the timing shift between the two photosensors is used to determine the threshold value of the other photosensor at the timing when one sensor detects the edge, so that the perforation holes up to the first frame are detected. The threshold level can be easily determined even for a film without a film.
【0052】[0052]
【発明の効果】以上説明した通り、本発明は請求項1に
おいて、フィルム送り出し前のフォトセンサにフィルム
がないときのフォトセンサの出力と、フィルム送り出し
を開始してからフォトセンサの前にフィルムがある時の
一定時間後のフォトセンサの出力からフォトセンサの閾
値を決定することにより、1コマ目までパーフォレーシ
ョン穴がないフィルムでも容易に閾値レベルを決定する
ことができる。As described above, according to the present invention, in claim 1, the output of the photosensor when there is no film in the photosensor before the film is fed, and the film before the photosensor after the film is fed By determining the threshold value of the photo sensor from the output of the photo sensor after a certain period of time, it is possible to easily determine the threshold level even for a film having no perforation holes up to the first frame.
【0053】また、請求項2において、フィルムがない
状態でのフォトセンサの出力は、給送するフィルムが変
わっても変化しないので、この値をメモリに記憶してお
く。この値とフィルムを送り出した時のフォトセンサの
出力の最大値からフォトセンサの閾値を決定することに
より、1コマ目までパーフォレーション穴がないフィル
ムでも容易に閾値レベルを決定することができる。さら
に、フォトセンサにフィルムがかかっていない状態の出
力が得られない場合でも、最適なセンサ閾値を決定する
ことができる。In the second aspect, the output of the photosensor in the absence of the film does not change even if the film to be fed changes, so this value is stored in the memory. By determining the threshold value of the photosensor from this value and the maximum value of the output of the photosensor when the film is fed, the threshold level can be easily determined even for a film having no perforation holes up to the first frame. Further, even when the output in the state where the film is not applied to the photo sensor cannot be obtained, the optimum sensor threshold value can be determined.
【0054】さらに、請求項3においては、フィルムの
パーフォレーション信号を出力する少なくとも第1、第
2のフォトセンサ手段と、少なくとも1画面に2つのパ
ーフォレーション穴を持つフィルムを給送する給送手段
と、この給送手段によりフィルムを給送しているときの
パーフォレーション信号とから第1のフォトセンサ手段
に対応した制御タイミング信号を発生させる制御タイミ
ング発生手段と、フィルムのないときの第2フォトセン
サ手段から出力される第1のパーフォレーション信号を
記憶する第1の記憶手段と、制御タイミング発生手段の
タイミング信号が発生させられた時の第2のフォトセン
サ手段から出力される第2のパーフォレーション信号を
記憶する第2の記憶手段と、第1、第2の記憶手段に記
憶された第1、第2のパーフォレーション信号から第2
のセンサのパーフォレーション穴判定閾値を決定する決
定手段を有し、前記決定手段によって決定された閾値と
パーフォレーション信号を比較することによってパーフ
ォレーションを検知し、フィルムを給送制御する給送制
御装置を備えたので、フィルム給送も円滑に行うことが
できる。Further, in claim 3, at least first and second photosensor means for outputting a perforation signal of the film, and a feeding means for feeding a film having two perforation holes on at least one screen, From the control timing generating means for generating a control timing signal corresponding to the first photo sensor means from the perforation signal when the film is fed by the feeding means, and the second photo sensor means when the film is not present. First storage means for storing the first perforation signal output and second perforation signal output from the second photosensor means when the timing signal of the control timing generation means is generated are stored. Second storage means and first and second storage means stored in the first and second storage means From the perforation signal the second
Of the sensor for determining the perforation hole determination threshold value, the perforation is detected by comparing the perforation signal with the threshold value determined by the determination means, and a feeding control device for controlling the feeding of the film is provided. Therefore, the film can be fed smoothly.
【図1】カメラの主要部分の回路を説明するための電気
制御ブロック図である。FIG. 1 is an electrical control block diagram for explaining a circuit of a main part of a camera.
【図2】フィルムとフォトセンサph1、ph2との関
係を示す図である。FIG. 2 is a diagram showing a relationship between a film and photo sensors ph1 and ph2.
【図3】フォトセンサph1、ph2の出力波形を示す
図である。FIG. 3 is a diagram showing output waveforms of photo sensors ph1 and ph2.
【図4】カートリッジ、フォトセンサ巻き取りスプール
の斜視図である。FIG. 4 is a perspective view of a cartridge and a photo sensor take-up spool.
【図5】第1の実施例を説明するためのフローチャート
である。FIG. 5 is a flowchart for explaining the first embodiment.
【図6】第2の実施例を説明するためのフローチャート
である。FIG. 6 is a flowchart for explaining a second embodiment.
【図7】第3の実施例を説明するためのフローチャート
である。FIG. 7 is a flowchart for explaining a third embodiment.
【図8】本発明のフォトセンサ1、フォトセンサ2のタ
イムチャートである。FIG. 8 is a time chart of the photo sensor 1 and the photo sensor 2 of the present invention.
【図9】本発明のフォトセンサ1、フォトセンサ2のタ
イムチャートである。FIG. 9 is a time chart of the photo sensor 1 and the photo sensor 2 of the present invention.
ph1 フォトセンサ ph2 フォトセンサ 1 マイコン 2 EEPROM 3 測光回路 4 温度センサ 5 レンズ通信回路 6 レンズマイコン 7 測距回路 8 モータ 9 モータドライバ ph1 photo sensor ph2 photo sensor 1 microcomputer 2 EEPROM 3 photometric circuit 4 temperature sensor 5 lens communication circuit 6 lens microcomputer 7 ranging circuit 8 motor 9 motor driver
Claims (3)
ンを検知し、給送制御するカメラにおいて、フィルムの
ないときの前記フォトセンサ出力を記憶する手段と、フ
ィルムを給送する手段と、前記フォトセンサ出力をA/
D変換する手段と、フィルム給送中にA/D変換を繰り
返しその最大値を検出する手段と、前記記憶手段に記憶
された値と最大値から前記フォトセンサの閾値を決定す
る手段とを具備することを特徴とするカメラ。1. A camera for detecting perforation by using a photo sensor and controlling feeding, a means for storing the photo sensor output when there is no film, a means for feeding the film, and a photo sensor output. A /
A means for D-converting, a means for repeatedly performing A / D conversion during film feeding to detect the maximum value thereof, and a means for determining a threshold value of the photosensor from the value and the maximum value stored in the storage means. A camera characterized by:
ンを検知し、給送制御するカメラにおいて、フィルムの
ないときの前記フォトセンサ出力を記憶する手段と、フ
ィルムを給送する手段と、前記フォトセンサ出力をA/
D変換する手段と、フィルム給送開始後所定時間を計測
する手段と、フィルム給送開始前の前記フォトセンサ出
力と、フィルム給送開始後所定時間経過後の前記フォト
センサ出力からフォトセンサの閾値を決定する手段とを
具備することを特徴とするカメラ。2. A camera which detects perforations by using a photosensor and controls feeding, a means for storing the photosensor output when there is no film, a means for feeding the film, and a photosensor output. A /
D conversion means, means for measuring a predetermined time after starting film feeding, the photosensor output before the start of film feeding, and the photosensor threshold after a predetermined time has elapsed after starting film feeding And a means for determining.
力する少なくとも第1、第2のフォトセンサ手段と、少
なくとも1画面に2つのパーフォレーション穴を持つフ
ィルムを給送する給送手段と、この給送手段によりフィ
ルムを給送しているときのパーフォレーション信号から
第1のフォトセンサ手段に対応した制御タイミング信号
を発生させる制御タイミング発生手段と、フィルムのな
いときの第2フォトセンサ手段から出力される第1のパ
ーフォレーション信号を記憶する第1の記憶手段と、制
御タイミング発生手段のタイミング信号が発生させられ
た時の第2のフォトセンサ手段から出力される第2のパ
ーフォレーション信号を記憶する第2の記憶手段と、第
1、第2の記憶手段に記憶された第1、第2のパーフォ
レーション信号から第2のセンサのパーフォレーション
穴判定閾値を決定する決定手段を有し、前記決定手段に
よって決定された閾値とパーフォレーション信号を比較
することによってパーフォレーションを検知し、フィル
ムを給送制御する給送制御装置を備えたことを特徴とす
るカメラ。3. A at least first and second photosensor means for outputting a perforation signal of the film, a feeding means for feeding a film having two perforation holes on at least one screen, and a film by the feeding means. Control timing generation means for generating a control timing signal corresponding to the first photosensor means from the perforation signal when feeding the film, and the first perforation output from the second photosensor means when there is no film. First storage means for storing a signal, and second storage means for storing a second perforation signal output from the second photosensor means when the timing signal of the control timing generation means is generated, From the first and second perforation signals stored in the first and second storage means, A feeding controller for determining the perforation hole determination threshold of the second sensor, detecting the perforation by comparing the threshold determined by the determining means with the perforation signal, and controlling the feeding of the film. A camera that is equipped with.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25361393A JPH0784301A (en) | 1993-09-17 | 1993-09-17 | camera |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP25361393A JPH0784301A (en) | 1993-09-17 | 1993-09-17 | camera |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0784301A true JPH0784301A (en) | 1995-03-31 |
Family
ID=17253806
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP25361393A Pending JPH0784301A (en) | 1993-09-17 | 1993-09-17 | camera |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0784301A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6130996A (en) * | 1996-04-02 | 2000-10-10 | Minolta Co., Ltd. | Apparatus capable of using a film cartridge containing a lead portion of a film which is fed out by the film thrusting operation |
-
1993
- 1993-09-17 JP JP25361393A patent/JPH0784301A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6130996A (en) * | 1996-04-02 | 2000-10-10 | Minolta Co., Ltd. | Apparatus capable of using a film cartridge containing a lead portion of a film which is fed out by the film thrusting operation |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6922524B2 (en) | Camera having blur detecting function | |
| US7589764B2 (en) | Focus detection device including reduction of fluctuations due to flickering light | |
| JPH0277056A (en) | Film feeding controller for camera | |
| US6498900B1 (en) | Automatic focusing apparatus | |
| US5079581A (en) | Automatic focus adjusting apparatus | |
| JP2003114465A (en) | camera | |
| JP3146931B2 (en) | Auto focus camera | |
| US6351605B1 (en) | Remote control, auto-focus camera system | |
| EP0441115B1 (en) | Camera | |
| JP3372595B2 (en) | camera | |
| JP2001004911A (en) | Automatic focusing device | |
| JPH07244313A (en) | Image stabilization camera | |
| JPH075533A (en) | Perforation detecting device | |
| JP3184032B2 (en) | Camera film feed controller | |
| KR100310437B1 (en) | Apparatus for rewinding a film of a camera and method therefor | |
| JP2825684B2 (en) | camera | |
| JP2825685B2 (en) | camera | |
| JP2803893B2 (en) | camera | |
| JP2005172898A (en) | Subject shake preventing camera and subject shake informing camera | |
| JP2967768B2 (en) | Single-lens reflex camera | |
| JPH0720544A (en) | camera | |
| JP2001337380A (en) | Camera and adjuster for camera | |
| JPH07244314A (en) | camera | |
| JP2001337377A (en) | Camera with film end detection mechanism | |
| JPH0915671A (en) | Camera |