JPH06250257A - Camera - Google Patents

Camera

Info

Publication number
JPH06250257A
JPH06250257A JP6123393A JP6123393A JPH06250257A JP H06250257 A JPH06250257 A JP H06250257A JP 6123393 A JP6123393 A JP 6123393A JP 6123393 A JP6123393 A JP 6123393A JP H06250257 A JPH06250257 A JP H06250257A
Authority
JP
Japan
Prior art keywords
time
bar code
bar
threshold
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
Application number
JP6123393A
Other languages
Japanese (ja)
Inventor
Kenichiro Amano
謙一郎 天野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP6123393A priority Critical patent/JPH06250257A/en
Publication of JPH06250257A publication Critical patent/JPH06250257A/en
Pending legal-status Critical Current

Links

Landscapes

  • Exposure Control For Cameras (AREA)

Abstract

PURPOSE:To surely read-in data without being affected by the difference of reflectance of a bar-code disk and the fluctuation of a photosensor by surely executing an operation of deciding a threshold level for discriminating between a bar and a space after the bar-code disk starts rotating and also before executing operations of deciding a narrow/wide threshold time and reading data. CONSTITUTION:A photoreflector 16 is driven by a photoreflector driving circuit 105 so as to read a bar-code installed on a film cartridge which is integrally rotated with a supply spool. The analog signal which is read by the photoreflector 16 is processed by A/D conversion so as to be read by a control circuit 101. The threshold level is calculated from the maximum level and the minimum level of the bar-code signal which is processed by A/D conversion. Further, a time measurement for measuring a time interval between each width of the bar code signal is executed. And the threshold time for discriminating between narrow/wide is decided according to each time interval.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、フィルムカートリッジ
内の供給スプールと一体的に回転し、フィルムに関する
情報がバーコードにより記録されているバーコード円盤
を有するフィルムカートリッジを用いるカメラに関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a camera using a film cartridge which rotates integrally with a supply spool in a film cartridge and has a bar code disk in which information about the film is recorded by a bar code.

【0002】[0002]

【従来の技術】従来、フィルムを全て収納したフィルム
カートリッジを用い、フォークの回動でこのフィルムカ
ートリッジ内よりフィルムを押し出し、そして全駒への
撮影終了後、フィルムを全てカートリッジ内に収納する
ものは米国特許第4841319号等で開示されてい
る。また、フィルムの給送に連動して一体的に動く円盤
上にフィルムに関する情報(フィルム感度、規定駒数
等)が磁気情報として記録された上述のようなフィルム
カートリッジを用い、フィルムの給送時にこの情報を上
記円盤上より読み取るようにしたカメラが特開昭55−
22799号にて提案されている。また、実開昭58−
183695号では、カセットテープのテープ巻き取り
リールにバーコードにて該カセットテープに関する情報
を記録し、該テープ巻き取りリールの回転中にこの情報
を読み取るようにしたものが提案されている。
2. Description of the Related Art Conventionally, a film cartridge in which all the films are stored is pushed out of the film cartridge by the rotation of a fork, and after all the frames have been photographed, all the films are stored in the cartridge. It is disclosed in US Pat. No. 4,841,319 and the like. Also, when the film is fed, the film cartridge as described above in which the information about the film (film sensitivity, the specified number of frames, etc.) is recorded as magnetic information on a disk that moves integrally with the feeding of the film is used. A camera which reads this information from the disk is disclosed in Japanese Patent Laid-Open No. 55-
Proposed in No. 22799. Also, the actual development 58-
No. 183695 proposes that information about the cassette tape is recorded on a tape take-up reel of a cassette tape by a bar code, and the information is read while the tape take-up reel is rotating.

【0003】また、本願出願人は、前述のフィルム情報
を磁気情報ではなくバーコードにて前記円盤上に記録し
たフィルムカートリッジを用い、フィルムの給送時にフ
ィルム情報を前記バーコードよりフォトリフレクタ等に
より光学的に読み取るようにしたカメラをすでに出願し
ている(特願平2−410522号〜410524
号)。
Further, the applicant of the present application uses a film cartridge in which the above-mentioned film information is recorded on the disk by a bar code instead of magnetic information, and when the film is fed, the film information is read from the bar code by a photo reflector or the like. We have already applied for an optical reading camera (Japanese Patent Application Nos. 2-410522-410524).
issue).

【0004】さらに、特願平3−140604号にて、
バーコード円盤上に記録されたバーコードを光学的に読
み取る情報読取手段と、該情報読取手段よりの信号と所
定値との比較を行い、該信号が所定値以上か否かを判別
する判別手段と、該判別手段により所定値以下であるこ
とが判別されている場合には、その警告を行う警告手段
とを設け、カメラが正常な動作を行うことが期待できな
い場合には、この事を知らせることのできるカメラを提
案している。
Further, in Japanese Patent Application No. 3-140604,
An information reading means for optically reading a bar code recorded on a bar code disc and a judging means for comparing a signal from the information reading means with a predetermined value to judge whether the signal is a predetermined value or more. And a warning means for giving a warning when the judgment means judges that the value is less than or equal to the predetermined value, and informs this when the camera cannot be expected to operate normally. I am proposing a camera that can do this.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来例では、信号が所定値以下の場合には警告を行うよう
作動するものであり、バーコード中のバーとスペースと
を判別するための閾値は固定のため、バーコード円盤の
反射率の違いや、フォトセンサのばらつきには対応でき
ない欠点があった。
However, in the above-mentioned conventional example, when the signal is below a predetermined value, it operates so as to warn, and the threshold value for discriminating between the bar and the space in the bar code is Since it is fixed, it has a drawback that it cannot cope with the difference in reflectance of the barcode disc and the variation in the photo sensor.

【0006】本発明はかかる従来の課題を解決するため
になされたもので、バーコード円盤の反射率の違いや、
フォトセンサのばらつきに影響されない確実なデータ読
み込みを行うことのできるカメラを提供することを目的
とする。
The present invention has been made in order to solve the above-mentioned conventional problems, and there are differences in the reflectance of bar code discs,
An object of the present invention is to provide a camera that can read data reliably without being affected by variations in photo sensors.

【0007】[0007]

【課題を解決するための手段】上記の目的を達成するた
めに、本発明のカメラは請求項1において、フィルムカ
ートリッジ内の供給スプールと一体的に回転し、フィル
ムに関する情報がバーコードにより記録されているバー
コード円盤を有するフィルムカートリッジを用いるカメ
ラであって、前記バーコード円盤上に記録されたバーコ
ードを光学的に読み取る情報読取手段と、この情報読取
手段の信号をアナログ/デジタル変換し、そのレベルか
ら、バーとスペースの閾値を決定する第1の決定手段
と、該閾値に従い、前記情報読取手段のバー及びスペー
ス間隔の時間計測を行い、その時間間隔から、ナローも
しくはワイドの閾時間を決定する第2の決定手段と、第
1及び第2の決定手段による閾値決定を、オートローデ
ィング動作に先がけて、オートローディングの給送方向
と反対、または同一方向にバーコード円盤の回転開始
後、前記情報読取手段による情報読み出し前に毎回行う
ものであり、また請求項2において、第1の決定手段に
よる閾値決定を、オートローディング動作に先がけて、
オートローディングの給送方向と反対方向にバーコード
円盤の回転開始後、毎回行い、第2の決定手段による閾
値決定を、オートローディングの給送方向と同一方向に
前記バーコード円盤の回転を変更し、前記情報読取手段
による情報読み出し前に毎回行うものである。さらに、
第1の決定手段は、複数回にわたり、最大レベル,最小
レベルの記憶を行い、その各々の平均値から、閾値を求
めるものであり、第2の決定手段は、データパターンの
全域にわたる時間から閾時間を決定するか、もしくは、
第2の決定手段は、データの前後にあるナローのパター
ンから閾時間を決定するものである。
In order to achieve the above object, the camera of the present invention according to claim 1 rotates integrally with a supply spool in a film cartridge, and information about the film is recorded by a bar code. A camera using a film cartridge having a bar code disc, wherein information reading means for optically reading a bar code recorded on the bar code disc and a signal of the information reading means are converted from analog to digital, First determining means for determining the threshold value of the bar and space from the level, and time measurement of the bar and space intervals of the information reading means according to the threshold value, and a narrow or wide threshold time is determined from the time interval. Prior to the automatic loading operation, the second determining means for determining and the threshold value determining by the first and second determining means are performed. The reading is performed every time after the rotation of the bar code disk in the same direction as the feeding direction of the automatic loading or before the reading of information by the information reading means, and the threshold value by the first determining means in claim 2. The decision, prior to the autoloading operation,
After the bar code disk starts rotating in the direction opposite to the auto-loading feeding direction, it is carried out every time, and the threshold value is determined by the second determining means by changing the rotation of the bar code disk in the same direction as the auto-loading feeding direction. , Is performed every time before the information reading means reads the information. further,
The first determining means stores the maximum level and the minimum level a plurality of times, and obtains the threshold value from the average value of each of them, and the second determining means determines the threshold value from the time over the entire data pattern. Decide the time, or
The second determining means determines the threshold time from the narrow patterns before and after the data.

【0008】[0008]

【作用】本発明によれば、最大レベルと最小レベルとの
差から、バーとスペースを判別するためのスレッショル
ドレベルの決定を行う決定手段、及び該スレッショルド
レベルに従い、バー及びスペース間隔の時間計測を行
い、その時間間隔から、ナロー,ワイドの閾時間を決定
する決定手段を設け、バーコード円盤の回転開始後、情
報読取手段による情報読み取り前に、毎回閾値の決定を
行うようにしている。
According to the present invention, the determining means for determining the threshold level for discriminating the bar and the space from the difference between the maximum level and the minimum level, and the time measurement of the bar and space intervals according to the threshold level. The determination means for determining the narrow and wide threshold times is provided based on the time interval, and the threshold is determined every time after the rotation of the bar code disk and before the information reading means reads the information.

【0009】[0009]

【実施例】以下、本発明を図示の実施例に基づいて詳細
に説明する。図2乃至図5は、本発明の一実施例に係る
図であり、図2は本発明において使用するフィルムカー
トリッジの斜視図、図3はカメラの斜視図、図4はカメ
ラの底面図、図5は図2のフィルムカートリッジをカメ
ラに装填した時のカメラの縦断面図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below based on the illustrated embodiments. 2 to 5 are views according to one embodiment of the present invention. FIG. 2 is a perspective view of a film cartridge used in the present invention, FIG. 3 is a perspective view of a camera, FIG. 4 is a bottom view of the camera, and FIG. 5 is a longitudinal sectional view of the camera when the film cartridge of FIG. 2 is loaded in the camera.

【0010】これらの図において、1は図5に示すカメ
ラのフォーク13の係合部13aと係合する係合部1a
を有するフィルムカートリッジ、2はフィルム感度、フ
ィルム規定駒数等のフィルム情報が記号化されたバーコ
ードが印刷されているバーコード円盤であり、このバー
コード円盤2は図5に示すようにフィルムカートリッジ
1の供給スプール1bと一体的に回るように構成されて
いる。3はカメラ本体、4はレリーズボタン、5はフィ
ルム感度を表示するフィルム感度表示部5a、フィルム
規定枚数や撮影枚数を表示する枚数表示部5bを有する
液晶表示器である。6はカートリッジ装填蓋、7は前記
カートリッジ装填蓋6と一体的に構成された透明部であ
り、カートリッジの感度等のシールを見るためのもので
ある。7aは透明部7よりの光がフィルム1cに周りこ
まないようにカートリッジ装填蓋7に貼付されたモルト
プレーン、8は後述するロックレバー11に固着された
カートリッジ装填蓋を開閉するための開閉ツマミであ
る。9は前記カートリッジ装填蓋6を回転可能に軸支す
る軸である。
In these figures, reference numeral 1 denotes an engaging portion 1a which engages with an engaging portion 13a of the fork 13 of the camera shown in FIG.
2 is a bar code disk on which a bar code in which film information such as film sensitivity and the number of specified frames of film is encoded is printed. The bar code disk 2 is a film cartridge as shown in FIG. It is configured to rotate integrally with one supply spool 1b. Reference numeral 3 is a camera body, 4 is a release button, 5 is a liquid crystal display having a film sensitivity display section 5a for displaying the film sensitivity, and a number display section 5b for displaying the specified number of films and the number of shots. Reference numeral 6 is a cartridge loading lid, and 7 is a transparent portion integrally formed with the cartridge loading lid 6 for viewing a seal such as the sensitivity of the cartridge. Reference numeral 7a is a malt plane attached to the cartridge loading lid 7 so that light from the transparent portion 7 does not enter the film 1c, and 8 is an opening / closing knob for opening and closing the cartridge loading lid fixed to a lock lever 11 described later. is there. Reference numeral 9 is a shaft that rotatably supports the cartridge loading lid 6.

【0011】10は前記カートリッジ装填蓋6の突出部
6bによりON,OFFする装填蓋スイッチであり、カ
ートリッジ装填蓋6が開かれることによりON、閉じら
れることによりOFFする。図5の状態時にはフィルム
カートリッジ装填蓋6が閉じられているため、OFFの
状態となっている。
Reference numeral 10 denotes a loading lid switch which is turned on and off by the projecting portion 6b of the cartridge loading lid 6, which is turned on when the cartridge loading lid 6 is opened and turned off when it is closed. In the state of FIG. 5, since the film cartridge loading lid 6 is closed, it is in the OFF state.

【0012】11はカメラ本体3より突出した2本のピ
ン3b,3cによりスライド可能に軸支され、バネ12
により常に図5の右手方向に付勢されているロックレバ
ーであり、前記カートリッジ装填蓋6の爪部6aを係止
するロック部11aを有している。また、このロックレ
バー11のバネ12による右方向への付勢はストッパ3
aにより規制されている。カートリッジ装填蓋6が閉じ
られる際、その係合部6aでロック部11aが矢印方向
へと動かされ、その後バネ12の付勢に従って右方向へ
移動し、図5のようにカートリッジ装填蓋6をロックす
る。
Numeral 11 is slidably supported by two pins 3b and 3c protruding from the camera body 3, and a spring 12
5 is a lock lever that is always biased in the right-hand direction in FIG. 5, and has a lock portion 11a that locks the claw portion 6a of the cartridge loading lid 6. Further, the urging of the lock lever 11 by the spring 12 to the right is prevented by the stopper 3
It is regulated by a. When the cartridge loading lid 6 is closed, the lock portion 11a is moved in the direction of the arrow by the engaging portion 6a, and then it is moved to the right according to the bias of the spring 12 to lock the cartridge loading lid 6 as shown in FIG. To do.

【0013】13は前述したようにフィルムカートリッ
ジ1の供給スプール1bの係合部1aと係合する係合部
13aを有するフォーク、14は後述する給送モータの
出力が不図示の減速ギヤ列を介して伝達される、前記フ
ォーク13のギヤ部13aと係合するギヤ、15はプリ
ント基板、16は前記バーコード円盤3上よりバーコー
ドを読み取るフォトリフレクタである。
Reference numeral 13 denotes a fork having an engaging portion 13a which engages with the engaging portion 1a of the supply spool 1b of the film cartridge 1 as described above, and 14 denotes a reduction gear train whose output of a feeding motor, which will be described later, is not shown. A gear that is transmitted via the gear 13a of the fork 13 is engaged, a printed circuit board 15 and a photo reflector 16 for reading a bar code from the bar code disk 3.

【0014】図1は、本発明の一実施例におけるカメラ
の概略構成を示すブロック図である。図1において、1
00は電源であるところの電池、101はカメラの各種
動作を制御するマイクロコンピュータ等からなる制御回
路、102はAE,AF駆動回路、103はシャッタの
開閉を行うシャッタ駆動回路、104はフィルム1cを
給送するための給送モータ108を駆動するモータ駆動
回路、105はフォトリフレクタ16を駆動するための
フォトリフレクタ駆動回路、106はフォトリフレクタ
16よりのアナログ信号であるバーコード信号の読み取
りを行う読取回路、107は液晶表示器5を駆動する表
示駆動回路である。
FIG. 1 is a block diagram showing the schematic arrangement of a camera according to an embodiment of the present invention. In FIG. 1, 1
00 is a battery as a power source, 101 is a control circuit including a microcomputer for controlling various operations of the camera, 102 is an AE and AF drive circuit, 103 is a shutter drive circuit for opening and closing a shutter, and 104 is a film 1c. A motor drive circuit that drives a feed motor 108 for feeding, 105 is a photoreflector drive circuit that drives the photoreflector 16, and 106 is a reader that reads a bar code signal that is an analog signal from the photoreflector 16. A circuit, 107 is a display drive circuit for driving the liquid crystal display 5.

【0015】図6は、フィルムカートリッジ1がカメラ
内に装填された後、カメラがフィルム情報を読み取り、
かつ、その情報を表示するまでの前記制御回路101の
動作を示すフローチャートである。以下、各ステップを
Sと略す。
In FIG. 6, after the film cartridge 1 is loaded in the camera, the camera reads the film information,
7 is a flowchart showing the operation of the control circuit 101 until the information is displayed. Hereinafter, each step is abbreviated as S.

【0016】フィルムカートリッジ1がカメラに装填さ
れ、カートリッジ装填蓋6が閉じられることにより、装
填蓋スイッチ10はOFFするが、ここでは装填蓋スイ
ッチ10がONかOFFかを判別し、OFFであるこ
と、つまりカートリッジ装填蓋6が、図5に示すように
閉じられたことを判別する(S201)と、S202へ
進む。そして、モータ駆動回路104を介して給送モー
タ108を逆転させる(S202)。このように、給送
モータ108を逆転させるのは、次のステップにおい
て、行われるバーコード読み取り動作中に、フィルムカ
ートリッジ1内よりフィルム1cが、該フィルムカート
リッジ1外へ出ないようにするためである。
When the film cartridge 1 is loaded into the camera and the cartridge loading lid 6 is closed, the loading lid switch 10 is turned off. Here, it is determined whether the loading lid switch 10 is ON or OFF, and it is OFF. That is, when it is determined that the cartridge loading lid 6 is closed as shown in FIG. 5 (S201), the process proceeds to S202. Then, the feeding motor 108 is rotated in the reverse direction via the motor drive circuit 104 (S202). In this way, the feeding motor 108 is rotated in the reverse direction so that the film 1c does not come out of the film cartridge 1 from the inside of the film cartridge 1 during the barcode reading operation performed in the next step. is there.

【0017】次に、フォトリフレクタ駆動回路105を
介して、フォトリフレクタ16を駆動し、供給スプール
1bと一体に回転しているフィルムカートリッジ1に設
けられたバーコード円盤2上により、バーコード読み取
りのための動作を開始する(S202)。
Next, the photo reflector 16 is driven through the photo reflector drive circuit 105, and the bar code is read by the bar code disk 2 provided on the film cartridge 1 rotating integrally with the supply spool 1b. To start the operation (S202).

【0018】そして、前記フォトリフレクタ16により
読み取られるアナログ信号を制御回路101で読み取る
ため、A/D変換を開始する(S204)。このA/D
変換器は制御回路101内に内蔵されているものであ
る。A/D変換されたバーコード信号の最大レベル及び
最小レベルの記憶を行う(S205)。この記憶値は、
後のスレッショルド演算の元になるものなので、複数回
にわたり最大レベル,最小レベルの記憶を行って、その
平均値を求めるようにするのが良い。
Then, in order to read the analog signal read by the photo reflector 16 by the control circuit 101, A / D conversion is started (S204). This A / D
The converter is built in the control circuit 101. The maximum level and the minimum level of the A / D converted bar code signal are stored (S205). This stored value is
Since it is the basis of the later threshold calculation, it is preferable to store the maximum level and the minimum level a plurality of times and obtain the average value thereof.

【0019】次に、最大レベル,最小レベルの差が所定
値以上であることの確認を行う(S206)。所定値以
下の場合には、以後の読み取りが困難であると判断し、
S220に進む。所定値以上の場合、最大レベル,最小
レベルからスレッショルドレベルの演算を行う(S20
7)。これは、例えば、両レベルの中間値に設定するよ
うにすれば良い。さらに、バーコード信号の各幅の時間
間隔を測定するため時間計測を開始する(S208)。
Next, it is confirmed that the difference between the maximum level and the minimum level is a predetermined value or more (S206). If the value is less than the predetermined value, it is determined that it is difficult to read it after that.
Proceed to S220. If the threshold value is exceeded, the threshold level is calculated from the maximum level and the minimum level (S20).
7). This may be set to, for example, an intermediate value between both levels. Further, time measurement is started to measure the time interval of each width of the barcode signal (S208).

【0020】そして、バーコード信号の先頭パターンの
検出を行う(S209)。これは例えば、パターンの中
に他の信号に比べて、特に長い黒パターン(バー)、ま
たは白パターン(スペース)があるので、これを認識す
るようにすれば良い。次に、所定時間内に先頭パターン
検出ができるか否か判断し(S210)、先頭パターン
検出を行うと、S211に進む。また、所定時間内では
あるが、先頭パターンを検出できなかった場合にはS2
09に戻り、再度先頭パターンの検出を行う。また、所
定時間経過しても先頭パターンが検出できなかった場合
には、S220へ進む。そして、先頭パターン以降の各
バーコードの時間幅を計測し、記憶する(S211)。
Then, the leading pattern of the bar code signal is detected (S209). This is because, for example, there is a particularly long black pattern (bar) or white pattern (space) in the pattern as compared with other signals, and this may be recognized. Next, it is determined whether or not the leading pattern can be detected within a predetermined time (S210), and if the leading pattern is detected, the process proceeds to S211. If the leading pattern cannot be detected within the predetermined time, S2
Returning to 09, the leading pattern is detected again. If the leading pattern cannot be detected even after the lapse of a predetermined time, the process proceeds to S220. Then, the time width of each barcode after the head pattern is measured and stored (S211).

【0021】次に、所定時間内に、全データの時間幅
(変化点)を検出できるか判断し(S212)、全デー
タの変化点を検出すると、S213に進む。また、所定
時間内ではあるが、まだ一部のデータの時間幅しか記憶
していない時にはS211に戻り、全データを取り込む
まで行う。また、所定時間経過しても全データの変化点
を検出できなかった場合にはS220へ進む。そして、
記憶した各時間幅から、ナロー,ワイドを判別するため
の閾時間を決定する(S213)。これは、データの前
後にナローに相当するパターンがある場合には、その時
間を基準として、閾時間を決定しても良いし、データの
みのパターンの場合には、全データの時間を合計し、そ
の時間から閾時間を決定しても良い。例えば、ナローが
1に対し、ワイドが3の幅を持つパターンの場合には、
2に相当する時間を閾時間とすれば良い。
Next, it is judged whether the time width (change point) of all data can be detected within a predetermined time (S212), and when the change point of all data is detected, the process proceeds to S213. Further, although it is within the predetermined time, when only the time width of a part of the data is still stored, the process returns to S211 and the whole data is fetched. Further, if the change points of all the data cannot be detected even after the lapse of a predetermined time, the process proceeds to S220. And
A threshold time for discriminating between narrow and wide is determined from the stored time widths (S213). This is because when there is a pattern corresponding to narrow before and after the data, the threshold time may be determined based on that time, and in the case of a pattern with only data, the time of all data is summed up. The threshold time may be determined from the time. For example, in the case of a pattern in which the narrow width is 1 and the wide width is 3,
The time corresponding to 2 may be set as the threshold time.

【0022】さらに、各幅のナロー,ワイドの判別を行
う(S214)。2に相当する時間を閾時間とした場合
には、2を越えるとワイド、2以下ならナローというよ
うにすれば良い。
Further, it is determined whether the width is narrow or wide (S214). When the time corresponding to 2 is set as the threshold time, it is possible to set wide when 2 is exceeded and narrow when 2 or less.

【0023】次に、ナロー,ワイド共に、所定の範囲内
にあることを確認する(S215)。もし、極端に短い
パルス状の時間幅や、極端に長いパターンの時間幅を認
識した場合には、誤信号であるので、S208に戻り、
時間計測を最初からやり直す。そして、読み込んだパタ
ーンについてパリティのチェックを行う(S216)。
次に、パリティが合致していることの確認を行う(S2
17)。もし、パリティにエラーがある場合には、S2
08に戻り、時間計測を最初からやり直す。そして、読
み込んだバーコードのパターンを各種情報(フィルム感
度,フィルム枚数,フィルム種類等)に変換する(S2
18)。さらに、S218でデコードしたデータの表示
を行う(S219)。一方、バーコードパターンが汚れ
ている、あるいはフォトリフレクタ16の不良等によ
り、正常なパターンの読み取りを行えない場合には、液
晶表示器5での表示を点滅表示として、警告を行う(S
220)。このような場合、バーコードパターンで読み
取り予定のデータは、マニュアルで入力する等の措置を
行うことになる。
Next, it is confirmed that both narrow and wide are within the predetermined range (S215). If an extremely short pulse-shaped time width or an extremely long pattern time width is recognized, it is an erroneous signal, so the process returns to S208.
Start time measurement from the beginning. Then, the parity of the read pattern is checked (S216).
Next, it is confirmed that the parities match (S2
17). If there is an error in the parity, S2
Return to 08 and restart the time measurement from the beginning. Then, the read barcode pattern is converted into various information (film sensitivity, number of films, film type, etc.) (S2).
18). Further, the data decoded in S218 is displayed (S219). On the other hand, when the normal pattern cannot be read because the barcode pattern is dirty or the photo reflector 16 is defective, the display on the liquid crystal display 5 is displayed as a blinking display to give a warning (S).
220). In such a case, the data to be read in the barcode pattern will be manually input.

【0024】以上の処理を行った後、モータ駆動回路1
04を介して給送モータ108の逆転を停止させ、今度
は該給送モータ108を正転させる(S221)。そし
て、公知のオートローディング動作を開始する(S22
2)。
After performing the above processing, the motor drive circuit 1
The reverse rotation of the feeding motor 108 is stopped via 04, and this time the feeding motor 108 is normally rotated (S221). Then, a known autoloading operation is started (S22).
2).

【0025】図7は、バーコードパターンと、その信号
について示したものであり、パターンの黒(バー)をハ
イレベル、白(スペース)をローレベルで示したもので
ある。情報は、インタリーブ2of5方式でコード化さ
れており、先頭からバー及びスペースの先頭位置検出ゾ
ーン,ナローバー,2of5コードが2ブロック,ナロ
ースペースの順に配置されている。2of5コードの内
容を図9に示す。この表の中で0はナロー、1はワイド
を示しており、各々バー、スペース側で情報を形成して
いる。図7の例では、 1ブロック目 スペース = 10001で 1, 1ブロック目 バー = 01001で 2, 2ブロック目 スペース = 11000で 3, 2ブロック目 バー = 00101で 4, の情報である。
FIG. 7 shows a bar code pattern and its signal. Black (bar) of the pattern is shown at a high level and white (space) is shown at a low level. The information is coded by the interleaved 2of5 method, and the leading position detection zone of the bar and the space from the beginning, the narrow bar, 2 blocks of the 2of5 code are arranged in this order. The contents of the 2of5 code are shown in FIG. In this table, 0 indicates narrow and 1 indicates wide, and information is formed on the bar side and the space side, respectively. In the example of FIG. 7, the information is as follows: 1st block space = 10001, 1st block bar = 01001, 2nd block space = 11000 3, 3rd block bar = 00101.

【0026】図8は、他のバーコードパターンとその信
号について示したものである。図7と同様に情報はイン
タリーブ2of5方式でコード化されており、さらに、
4ビットの情報が付加されている。先頭からスペース及
びバーの先頭位置検出ゾーン,2of5コードが1ブロ
ック,4ビットコードの順に配置されている。4ビット
情報の内容を図10に示す。この表の中で0はナロー、
1はワイドを示しており、各々バー、スペース側で情報
を形成している。図8の例では、 1ブロック目 スペース = 10100で 5, 1ブロック目 バー = 01100で 6, 2ブロック目 スペース = 10 で 1, 2ブロック目 バー = 01 で 2, の情報である。
FIG. 8 shows another bar code pattern and its signal. As in FIG. 7, the information is coded by the interleave 2of5 method, and further,
4-bit information is added. A space and a bar head position detection zone from the head, a 2of5 code, a block, and a 4-bit code are arranged in this order. The contents of the 4-bit information are shown in FIG. In this table, 0 is narrow,
1 indicates wide, and information is formed on the bar side and the space side, respectively. In the example of FIG. 8, the first block space = 10100, the fifth block bar = 01100, the second block space = 10, the second block bar = 01, and the information is 2.

【0027】図11は、図6のS209に関し、図7の
バーコードパターンを持つフィルムカートリッジを用い
る場合の処理について示している。スペース時間Tsと
バー時間Tbとを取り込み(S301,302)、この
比が6:1以上なら、すなわちTs>6・Tbならば
(S303)、データ先頭位置(B)にいると判断し
(S304)、Ts<6・TbならばS301に戻り、
スペース時間検出、バー時間検出を繰り返す。この6:
1という値は、データ先頭位置検出の場合には、速度変
動が無ければ10:1であり、もし高速側に速度変動が
あると7〜8:1となる。一方、データのスペース及び
バーの場合には、速度変動が無ければ3:1であり、も
し低速側に速度変動があると4〜5:1となり、この両
者を区別するための中間値として設定した値である。
尚、S301〜303のループは、一定時間経過しても
S303から抜けることができなければ検出エラーとし
て終了する(S210)。
FIG. 11 shows processing relating to S209 of FIG. 6 when the film cartridge having the bar code pattern of FIG. 7 is used. The space time Ts and the bar time Tb are fetched (S301, 302). If this ratio is 6: 1 or more, that is, Ts> 6 · Tb (S303), it is determined that the data start position (B) is present (S304). ), If Ts <6 · Tb, return to S301,
Repeat space time detection and bar time detection. This 6:
A value of 1 is 10: 1 if there is no speed fluctuation in the case of data head position detection, and 7 to 8: 1 if there is speed fluctuation on the high speed side. On the other hand, in the case of data space and bar, it is 3: 1 if there is no speed fluctuation and 4 to 5: 1 if there is speed fluctuation on the low speed side, and it is set as an intermediate value for distinguishing between the two. It is the value.
Note that the loop of S301 to S303 ends as a detection error if S303 cannot be exited even after a certain time has elapsed (S210).

【0028】図12は、図6のS213に関し、図7の
バーコードパターンを持つフィルムカートリッジを用い
る場合の処理について示している。この場合、Narr
ow=1,Wide=3に相当している。そのため、
(A)〜(B)までの時間T1を計測し(S401),
(C)〜(D)までの時間T2を計測する(S40
2)。このT1,T2は共に1に相当する時間なので、こ
のT1とT2を加算し(S403)、2に相当する時間を
閾時間とし、この時間以下ならNarrow、この時間
を越えた場合には、Wideと判断することにする。
FIG. 12 shows processing relating to S213 in FIG. 6 when using the film cartridge having the bar code pattern in FIG. In this case, Narr
This corresponds to ow = 1 and Wide = 3. for that reason,
The time T 1 from (A) to (B) is measured (S401),
(C) measures the time T 2 of the up ~ (D) (S40
2). Since both T 1 and T 2 are times corresponding to 1, the times T 1 and T 2 are added (S403), and the time corresponding to 2 is set as the threshold time. If the time is less than this time, Narrow, if this time is exceeded In this case, it will be determined to be Wide.

【0029】図13は、図6のS209に関し、図8の
バーコードパターンを持つフィルムカートリッジを用い
る場合の処理について示している。バー時間Tbと、ス
ペース時間Tsとを取り込み(S501,502)、こ
の比が5:1以上なら、すなわちTb>5・Tsならば
(S503)、データ先頭位置(A)の次の(C)にい
ると判断し(S504)、Tb<5・TsならばS50
1に戻り、バー検出時間、スペース検出時間を繰り返
す。この5:1という値は、データ先頭位置検出の場合
で、(A)〜(C)がWideの場合、速度変動が無け
れば16:2.5=6.4:1であり、もし高速側に速
度変動があると5:1程度となる。一方、データのスペ
ース及びバーの場合には、速度変動が無ければ2.5:
1であり、もし低速側に速度変動があると3〜4:1と
なり、この両者を区別するための中間値として設定した
値である。尚、S501〜503のループは、図11の
場合と同様に、一定時間経過してもS503から抜ける
ことができなければ検出エラーとして終了する(S21
0)。
FIG. 13 shows processing relating to S209 of FIG. 6 when the film cartridge having the bar code pattern of FIG. 8 is used. The bar time Tb and the space time Ts are fetched (S501, 502). If this ratio is 5: 1 or more, that is, if Tb> 5 · Ts (S503), then (C) next to the data head position (A). (S504), if Tb <5 · Ts, S50
Return to 1 and repeat the bar detection time and space detection time. This value of 5: 1 is 16: 2.5 = 6.4: 1 if there is no speed fluctuation when (A) to (C) is Wide in the case of data head position detection, and if the high speed side If there is a speed fluctuation, it will be about 5: 1. On the other hand, in the case of data space and bar, 2.5:
The value is 1, and if there is a speed variation on the low speed side, it becomes 3 to 4: 1 and is a value set as an intermediate value for distinguishing between the two. Note that, as in the case of FIG. 11, the loop of S501 to 503 ends as a detection error if S503 cannot be exited even after a certain time has elapsed (S21).
0).

【0030】図14は、図6のS213に関し、図8の
バーコードパターンを持つフィルムカートリッジを用い
る場合の処理について示している。この場合、Narr
ow=1,Wide=2.5の長さに相当している。そ
のため、(A)〜(B)までの時間を計測すると、16
に相当する時間T1となる(S601)。よって、この
1を9で割り、約1.75に相当する時間を閾時間と
し(S602)、この時間以下ならNarrow、この
時間を越えた場合には、Wideと判断することにす
る。
FIG. 14 shows processing relating to S213 in FIG. 6 when using the film cartridge having the bar code pattern in FIG. In this case, Narr
This corresponds to a length of ow = 1 and Wide = 2.5. Therefore, when measuring the time from (A) to (B), 16
The time T 1 corresponding to (S601). Therefore, this T 1 is divided by 9 and the time corresponding to about 1.75 is set as the threshold time (S602). If it is less than this time, it is determined to be Narrow, and if it exceeds this time, it is determined to be Wide.

【0031】本発明では、バーコード読み取り動作中
に、フィルムがフィルムカートリッジ内より、外へ出な
いようにするため、まず給送モータを逆転させるように
したが、これはオートローディングの最中にバーコード
読み取りを行い、撮影一枚目駒出しまでの間に、バーコ
ード読み取りを終了するようにすればなお良い。このと
きは、最初から給送モータを正転方向に駆動させること
になる。このような構成をとればフィルム装填から撮影
準備完了までのタイムラグを、一回逆転方向に駆動して
から正転させるよりも短くすることができ、使用者にと
って有利となる。
In the present invention, in order to prevent the film from coming out of the film cartridge during the barcode reading operation, the feeding motor is first rotated in the reverse direction. This is done during the automatic loading. It is more preferable that the barcode is read and the barcode reading is completed before the first frame is taken. At this time, the feed motor is driven in the normal direction from the beginning. With such a configuration, the time lag from the film loading to the completion of shooting preparation can be shortened as compared with the case where the film is once driven in the reverse direction and then normally rotated, which is advantageous for the user.

【0032】この実施例を図15に示す。図15におい
て、図6と異なっている点のみ説明すると、S202′
で給送モータ108をモータ駆動回路104を介して正
転させている点と、S221が省略されている点にあ
る。また、バーとスペースを判別するためのスレッショ
ルドレベルの決定を行う動作を、給送モータを逆転さ
せ、オートローディングと反対方向で行い、ナロー,ワ
イドの閾時間決定及びデータ読み取り動作を給送モータ
を正転させ、オートローディングと同一方向で行うよう
にしても良い。スレッショルドレベルの決定は、レベル
に関しては、スピードには依存しないので、読み取り動
作を行う方向とは異なっても良いが、閾時間に関して
は、給送スピードに依存するため、読み取り動作と同一
方向で行わなければならないことによる。
This embodiment is shown in FIG. In FIG. 15, only the points different from FIG. 6 will be described. S202 ′
The feed motor 108 is normally rotated via the motor drive circuit 104, and S221 is omitted. In addition, the operation of determining the threshold level for distinguishing between the bar and the space is performed in the reverse direction of the autoloading by performing the reverse operation of the feed motor, and the narrow and wide threshold time determination and the data reading operation are performed by the feed motor. It may be rotated in the normal direction and performed in the same direction as the automatic loading. The threshold level is determined in the same direction as the reading operation because the level does not depend on the speed and may be different from the direction in which the reading operation is performed, but the threshold time depends on the feeding speed. It depends on what you have to do.

【0033】この実施例を図16に示す。図16におい
て、図6と異なっている点のみ説明すると、S223及
びS224で、給送モータ108をモータ駆動回路10
4を介して正転させている点と、S221が省略されて
いる点にある。
This embodiment is shown in FIG. In FIG. 16, only the points different from FIG. 6 will be described. In S223 and S224, the feeding motor 108 is set to the motor drive circuit 10.
4 is that it is rotated in the normal direction, and S221 is omitted.

【0034】[0034]

【発明の効果】以上説明したように、本発明は、バーと
スペースを判別するためのスレッショルドレベルの決定
を行う動作を、バーコード円盤の回転開始後、ナロー,
ワイドの閾時間決定及びデータ読み取り動作に先がけて
必ず行うようにしたことにより、バーコード円盤の反射
率の違いや、フォトセンサのばらつきに影響を受けない
確実なデータ読み込みを行うようにしたものである。
As described above, according to the present invention, the operation of determining the threshold level for discriminating between the bar and the space is performed after the rotation of the bar code disk is started.
By making sure to perform it before the wide threshold time determination and data reading operation, it is possible to perform reliable data reading that is not affected by the difference in the reflectance of the barcode disc and the variation in the photo sensor. is there.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例におけるカメラの概略構成を
示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a camera according to an embodiment of the present invention.

【図2】本発明において使用するフィルムカートリッジ
の斜視図である。
FIG. 2 is a perspective view of a film cartridge used in the present invention.

【図3】本発明の一実施例におけるフィルムカートリッ
ジの斜視図である。
FIG. 3 is a perspective view of a film cartridge according to an embodiment of the present invention.

【図4】本発明の一実施例におけるカメラの底面図であ
る。
FIG. 4 is a bottom view of the camera according to the embodiment of the present invention.

【図5】本発明の一実施例におけるカメラにフィルムカ
ートリッジが装填された時のカメラの縦断面図である。
FIG. 5 is a vertical cross-sectional view of a camera when a film cartridge is loaded in the camera according to the embodiment of the present invention.

【図6】本発明の一実施例における動作を示すフローチ
ャートである。
FIG. 6 is a flowchart showing an operation in one embodiment of the present invention.

【図7】本発明において使用するフィルムカートリッジ
におけるバーコードパターンとその信号について示した
図である。
FIG. 7 is a diagram showing a bar code pattern and its signal in the film cartridge used in the present invention.

【図8】本発明の他の実施例において使用するフィルム
カートリッジにおけるバーコードパターンとその信号に
ついて示した図である。
FIG. 8 is a diagram showing a bar code pattern and its signal in a film cartridge used in another embodiment of the present invention.

【図9】バーコードパターン内容について示した図であ
る。
FIG. 9 is a diagram showing the contents of a barcode pattern.

【図10】バーコードパターン内容について示した図で
ある。
FIG. 10 is a diagram showing the contents of a barcode pattern.

【図11】図6のS209の詳細図である。FIG. 11 is a detailed diagram of S209 in FIG.

【図12】図6のS213の詳細図である。FIG. 12 is a detailed diagram of S213 in FIG.

【図13】図6のS209の他のバーコードパターンを
用いた場合の詳細図である。
FIG. 13 is a detailed diagram when another barcode pattern of S209 of FIG. 6 is used.

【図14】図6のS213の他のバーコードパターンを
用いた場合の詳細図である。
FIG. 14 is a detailed diagram when another barcode pattern of S213 in FIG. 6 is used.

【図15】本発明の他の実施例を示すフローチャートで
ある。
FIG. 15 is a flowchart showing another embodiment of the present invention.

【図16】本発明のさらに他の実施例を示すフローチャ
ートである。
FIG. 16 is a flowchart showing yet another embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1 フィルムカートリッジ 2 バーコード円盤 5 液晶表示器 16 フォトリフレクタ 101 制御回路 104 モータ駆動回路 106 読取回路 107 表示駆動回路 108 給送モータ 1 Film Cartridge 2 Bar Code Disc 5 Liquid Crystal Display 16 Photo Reflector 101 Control Circuit 104 Motor Drive Circuit 106 Reading Circuit 107 Display Drive Circuit 108 Feed Motor

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 フィルムカートリッジ内の供給スプール
と一体的に回転し、フィルムに関する情報がバーコード
により記録されているバーコード円盤を有するフィルム
カートリッジを用いるカメラであって、前記バーコード
円盤上に記録されたバーコードを光学的に読み取る情報
読取手段と、この情報読取手段の信号をアナログ/デジ
タル変換し、そのレベルから、バーとスペースの閾値を
決定する第1の決定手段と、該閾値に従い、前記情報読
取手段のバー及びスペース間隔の時間計測を行い、その
時間間隔から、ナローもしくはワイドの閾時間を決定す
る第2の決定手段と、第1及び第2の決定手段による閾
値決定を、オートローディング動作に先がけて、オート
ローディングの給送方向と反対、または同一方向にバー
コード円盤の回転開始後、前記情報読取手段による情報
読み出し前に毎回行うことを特徴とするカメラ。
1. A camera using a film cartridge having a bar code disk which rotates integrally with a supply spool in the film cartridge and in which information on a film is recorded by a bar code, wherein the film is recorded on the bar code disk. An information reading means for optically reading the generated bar code, a first deciding means for analog / digital converting the signal of the information reading means, and deciding the bar and space threshold values from the level, and according to the threshold value, The bar and space intervals of the information reading means are time-measured, and the second determination means for determining the narrow or wide threshold time and the threshold determination by the first and second determination means are automatically performed from the time intervals. Prior to the loading operation, the bar code disc should be rotated and opened in the same direction as the autoloading feeding direction. After the start, the camera is performed every time before the information is read by the information reading means.
【請求項2】 フィルムカートリッジ内の供給スプール
と一体的に回転し、フィルムに関する情報がバーコード
により記録されているバーコード円盤を有するフィルム
カートリッジを用いるカメラであって、前記バーコード
円盤上に記録されたバーコードを光学的に読み取る情報
読取手段と、この情報読取手段の信号をアナログ/デジ
タル変換し、そのレベルから、バーとスペースの閾値を
決定する第1の決定手段と、該閾値に従い、前記情報読
取手段のバー及びスペース間隔の時間計測を行い、その
時間間隔から、ナローもしくはワイドの閾時間を決定す
る第2の決定手段と、第1の決定手段による閾値決定
を、オートローディング動作に先がけて、オートローデ
ィングの給送方向と反対方向にバーコード円盤の回転開
始後、毎回行い、第2の決定手段による閾値決定を、オ
ートローディングの給送方向と同一方向に前記バーコー
ド円盤の回転を変更し、前記情報読取手段による情報読
み出し前に毎回行うことを特徴とするカメラ。
2. A camera using a film cartridge having a bar code disk which rotates integrally with a supply spool in the film cartridge and in which information on a film is recorded by a bar code, wherein the film is recorded on the bar code disk. An information reading means for optically reading the generated bar code, a first deciding means for analog / digital converting the signal of the information reading means, and deciding the bar and space threshold values from the level, and according to the threshold value, The time determination of the bar and space intervals of the information reading means is performed, and the second determination means for determining the narrow or wide threshold time from the time interval and the threshold determination by the first determination means are set to the automatic loading operation. First, after starting the rotation of the bar code disk in the direction opposite to the feeding direction of auto loading, it is performed every time, and the second The camera is characterized in that the determination of the threshold value is performed every time before the information is read by the information reading means by changing the rotation of the bar code disc in the same direction as the feeding direction of the autoloading.
【請求項3】 第1の決定手段は、複数回にわたり、最
大レベル,最小レベルの記憶を行い、その各々の平均値
から、閾値を求めることを特徴とする請求項1または2
記載のカメラ。
3. The first determining means stores the maximum level and the minimum level over a plurality of times, and obtains the threshold value from the average value of each of them.
The listed camera.
【請求項4】 第2の決定手段は、データパターンの全
域にわたる時間から閾時間を決定することを特徴とする
請求項1または2記載のカメラ。
4. The camera according to claim 1, wherein the second determining unit determines the threshold time from the time over the entire area of the data pattern.
【請求項5】 第2の決定手段は、データの前後にある
ナローのパターンから閾時間を決定することを特徴とす
る請求項1または2記載のカメラ。
5. The camera according to claim 1, wherein the second determining means determines the threshold time from a narrow pattern before and after the data.
JP6123393A 1993-02-26 1993-02-26 Camera Pending JPH06250257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6123393A JPH06250257A (en) 1993-02-26 1993-02-26 Camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6123393A JPH06250257A (en) 1993-02-26 1993-02-26 Camera

Publications (1)

Publication Number Publication Date
JPH06250257A true JPH06250257A (en) 1994-09-09

Family

ID=13165307

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6123393A Pending JPH06250257A (en) 1993-02-26 1993-02-26 Camera

Country Status (1)

Country Link
JP (1) JPH06250257A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5734939A (en) * 1996-01-26 1998-03-31 Nikon Corporation Camera capable of displaying information relating to the number of frames of film

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5734939A (en) * 1996-01-26 1998-03-31 Nikon Corporation Camera capable of displaying information relating to the number of frames of film

Similar Documents

Publication Publication Date Title
US5969322A (en) Apparatus having a film condition judging device
JPH06250257A (en) Camera
US5734939A (en) Camera capable of displaying information relating to the number of frames of film
US5940638A (en) Apparatus and method for reading photographic information for an advanced photo system camera
US5655162A (en) Film feeding device of a camera
US6185376B1 (en) Camera for receiving a roll film having an identification mark
JPH11183960A (en) Camera
US6389235B1 (en) Camera having the capability to detect and display insufficient shutter speed
JP3644568B2 (en) Bar code identification system
JPH09203921A (en) Camera
JP2836054B2 (en) Camera and reader
JPH08328118A (en) Camera
JPH117055A (en) Data read-out device
JPH09113949A (en) Camera for photographing
JPH1152448A (en) Camera and cartridge information reader
JPH08146485A (en) Camera
JP2001109041A (en) Film transporting controller
EP0693705A1 (en) Apparatus capable of magnetically recording data on reader segment of film
JPH04340943A (en) Camera
JPH11218816A (en) Camera
JPH1048693A (en) Film state discriminating device
JPH09329825A (en) Operation controller for camera
JPH07287282A (en) Camera
JPH08190142A (en) Camera
JPH1048692A (en) Film state discriminating device