JPH06333068A - Data symbol reader - Google Patents

Data symbol reader

Info

Publication number
JPH06333068A
JPH06333068A JP6079395A JP7939594A JPH06333068A JP H06333068 A JPH06333068 A JP H06333068A JP 6079395 A JP6079395 A JP 6079395A JP 7939594 A JP7939594 A JP 7939594A JP H06333068 A JPH06333068 A JP H06333068A
Authority
JP
Japan
Prior art keywords
data
reading
data symbol
input
signal
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
JP6079395A
Other languages
Japanese (ja)
Inventor
Nobuhiro Tani
信博 谷
Harumi Aoki
晴美 青木
Keiji Sawanobori
啓治 沢登
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.)
Pentax Corp
Original Assignee
Asahi Kogaku Kogyo Co Ltd
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 Asahi Kogaku Kogyo Co Ltd filed Critical Asahi Kogaku Kogyo Co Ltd
Priority to JP6079395A priority Critical patent/JPH06333068A/en
Publication of JPH06333068A publication Critical patent/JPH06333068A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily and exactly read a two-dimensional data symbol by a simple constitution by adjusting an exposure, based on exposure adjustment data stored in a nonvolatile memory. CONSTITUTION:By a CCD 43, a two-dimensional data symbol is read, and an image processing is amplified by an amplifier circuit 8, and thereafter, inputted to an A/D converter 9. A VCA (a first exposure adjustment means) 82 of the amplifier circuit 8 changes an amplification factor. A CCD driving circuit (a second exposure adjustment means) 6 changes a shutter speed by the CCD. In this case, a control means 15 controls the VCA 82 and the CCD driving circuit 6, based on exposure adjustment data stored in a nonvolatile memory 23. In such a way, a two-dimensional data symbol can be read easily and exactly by a device of a simple constitution. Especially, in accordance with a read condition and a variation of the environment, an exposure and an input/output characteristic can be adjusted freely and quickly, that which is suitable for readjustment of an actual machine state can be obtained, and also, threshold data can generated easily.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、2次元のデータシンボ
ルを読み取るデータシンボル読み取り装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data symbol reading device for reading a two-dimensional data symbol.

【0002】[0002]

【従来の技術】今日、例えばPOSシステム等に適用す
るために、商品情報をバーコード化し、バーコードリー
ダーにより読み取る方法、装置が普及している。しかし
ながら、バーコードは、バーの配列方向にレーザー光に
よる走査を行って1次元的に読み取るものであり、情報
量に限界がある。
2. Description of the Related Art Today, a method and apparatus for converting product information into a bar code and reading the bar code with a bar code reader are widely used for application to, for example, a POS system. However, the bar code is one-dimensionally read by scanning with a laser beam in the array direction of the bar, and has a limited amount of information.

【0003】そこで、近年、より多くの情報を担持し得
るものとして、例えば白黒のモザイクパターンが2次元
的に配列された2次元データシンボルが開発されている
が、この2次元データシンボルを読み取る装置、特にエ
リアセンサーを用いた装置はほとんどなく、従って、こ
のようなデータシンボル読み取り装置の開発が望まれて
いる。
Therefore, in recent years, as a device capable of carrying more information, for example, a two-dimensional data symbol in which a black and white mosaic pattern is two-dimensionally arranged has been developed. An apparatus for reading this two-dimensional data symbol. In particular, there are almost no devices that use area sensors, and therefore development of such a data symbol reading device is desired.

【0004】[0004]

【発明が解決しようとする課題】本発明の目的は、2次
元データシンボルを簡易な構成で容易かつ正確に読み取
ることができるデータシンボル読み取り装置を提供する
ことにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a data symbol reading device which can easily and accurately read a two-dimensional data symbol with a simple structure.

【0005】[0005]

【課題を解決するための手段】このような目的は、下記
(1)〜(14)の本発明により達成される。
The above objects are achieved by the present invention described in (1) to (14) below.

【0006】(1) 2次元のデータシンボルを読み取
るデータシンボル読み取り装置であって、前記データシ
ンボルの読み取り領域からの入射光を受光して光電変換
する読み取り部と、前記読み取り部からの画像信号を処
理する信号処理回路と、露出を調整する露出調整手段
と、露出調整データを格納する不揮発性メモリーとを有
し、前記データシンボルの読み取りに際し、前記不揮発
性メモリーに格納された露出調整データに基づいて、前
記露出調整手段が露出を調整することを特徴とするデー
タシンボル読み取り装置。
(1) In a data symbol reading device for reading a two-dimensional data symbol, a reading unit for receiving and photoelectrically converting incident light from the reading region of the data symbol, and an image signal from the reading unit. A signal processing circuit for processing, an exposure adjusting unit for adjusting the exposure, and a non-volatile memory for storing the exposure adjusting data, and based on the exposure adjusting data stored in the non-volatile memory when reading the data symbol. The data symbol reading device is characterized in that the exposure adjusting means adjusts the exposure.

【0007】(2) 不揮発性メモリーに格納された露
出調整データを書き換えることにより露出の設定を変え
る上記(1)に記載のデータシンボル読み取り装置。
(2) The data symbol reading device according to (1), wherein the exposure setting is changed by rewriting the exposure adjustment data stored in the non-volatile memory.

【0008】(3) 不揮発性メモリーには、異なる露
出を得る複数の露出調整データが格納され、これらを選
択的に読み出すことにより露出の設定を変える上記
(1)に記載のデータシンボル読み取り装置。
(3) The non-volatile memory stores a plurality of exposure adjustment data for obtaining different exposures, and the exposure setting is changed by selectively reading the exposure adjustment data, and the data symbol reading apparatus according to the above (1).

【0009】(4) 前記露出調整データは、前記読み
取り部におけるシャッター速度に関するものである上記
(1)ないし(3)のいずれかに記載のデータシンボル
読み取り装置。
(4) The data symbol reading device according to any one of (1) to (3) above, wherein the exposure adjustment data relates to a shutter speed in the reading unit.

【0010】(5) 前記露出調整データは、前記読み
取り部における絞り値に関するものである上記(1)な
いし(3)のいずれかに記載のデータシンボル読み取り
装置。
(5) The data symbol reader according to any one of (1) to (3), wherein the exposure adjustment data relates to an aperture value in the reading section.

【0011】(6) 前記露出調整データは、読み取り
の感度に関するものである上記(1)ないし(3)のい
ずれかに記載のデータシンボル読み取り装置。
(6) The data symbol reader according to any one of (1) to (3), wherein the exposure adjustment data relates to reading sensitivity.

【0012】(7) 2次元のデータシンボルを読み取
るデータシンボル読み取り装置であって、前記データシ
ンボルの読み取り領域からの入射光を受光して光電変換
する読み取り部と、前記読み取り部からの画像信号を処
理する信号処理回路と、入出力特性を調整する入出力特
性調整手段と、入出力特性調整データを格納する不揮発
性メモリーとを有し、前記データシンボルの読み取りに
際し、前記不揮発性メモリーに格納された入出力特性調
整データに基づいて、前記入出力特性調整手段が入出力
特性を調整することを特徴とするデータシンボル読み取
り装置。
(7) A data symbol reading device for reading a two-dimensional data symbol, wherein a reading unit for receiving and photoelectrically converting incident light from the reading region of the data symbol and an image signal from the reading unit are provided. A signal processing circuit for processing, an input / output characteristic adjusting means for adjusting input / output characteristics, and a non-volatile memory for storing input / output characteristic adjusting data, which are stored in the non-volatile memory when reading the data symbol. A data symbol reading device, wherein the input / output characteristic adjusting means adjusts the input / output characteristics based on the input / output characteristic adjusting data.

【0013】(8) 不揮発性メモリーに格納された入
出力特性調整データを書き換えることにより入出力特性
の設定を変える上記(7)に記載のデータシンボル読み
取り装置。
(8) The data symbol reading device as described in (7) above, wherein the setting of the input / output characteristic is changed by rewriting the input / output characteristic adjustment data stored in the non-volatile memory.

【0014】(9) 不揮発性メモリーには、異なる入
出力特性を得る複数の入出力特性調整データが格納さ
れ、これらを選択的に読み出すことにより入出力特性の
設定を変える上記(7)に記載のデータシンボル読み取
り装置。
(9) A plurality of input / output characteristic adjustment data for obtaining different input / output characteristics are stored in the non-volatile memory, and the setting of the input / output characteristics is changed by selectively reading these data. Data symbol reader.

【0015】(10) 前記入出力特性調整データは、
前記画像信号の入力レベルと出力レベルとの関係におけ
るガンマ値に関するものである上記(7)ないし(9)
のいずれかに記載のデータシンボル読み取り装置。
(10) The input / output characteristic adjustment data is
The above (7) to (9) relating to the gamma value in the relationship between the input level and the output level of the image signal.
The data symbol reader according to any one of 1.

【0016】(11) 前記入出力特性調整データは、
前記画像信号の入力レベルと出力レベルとの関係におけ
るニー特性に関するものである上記(7)ないし(9)
のいずれかに記載のデータシンボル読み取り装置。
(11) The input / output characteristic adjustment data is
The knee characteristics relating to the relationship between the input level and the output level of the image signal are the above-mentioned (7) to (9).
The data symbol reader according to any one of 1.

【0017】(12) 前記読み取り部と、前記信号処
理回路とが一体化している上記(1)ないし(11)の
いずれかに記載のデータシンボル読み取り装置。
(12) The data symbol reader according to any one of (1) to (11), wherein the reading unit and the signal processing circuit are integrated.

【0018】(13) 前記読み取り領域へ投光する投
光部を有し、この投光部が前記読み取り部と一体化され
ている上記(1)ないし(12)のいずれかに記載のデ
ータシンボル読み取り装置。
(13) The data symbol according to any one of the above (1) to (12), which has a light projecting section for projecting light onto the reading area, and the light projecting section is integrated with the reading section. Reader.

【0019】(14) 前記信号処理回路は、前記画像
信号を2値化し、さらにその2値化データをデコードし
て出力する機能を有するものである上記(1)ないし
(13)のいずれかに記載のデータシンボル読み取り装
置。
(14) The signal processing circuit has a function of binarizing the image signal and decoding the binarized data to output the binarized data. The described data symbol reader.

【0020】[0020]

【実施例】以下、本発明のデータシンボル読み取り装置
を添付図面に示す好適実施例に基づき詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The data symbol reading apparatus of the present invention will be described in detail below with reference to the preferred embodiments shown in the accompanying drawings.

【0021】図1は、本発明のデータシンボル読み取り
装置の構成例を模式的に示す断面側面図である。同図に
示すように、本発明のデータシンボル読み取り装置1
は、ケーシング2を有し、このケーシング2内には、投
光部40と、データシンボル38を読み取る読み取り部
4とが、一体化された状態で設置されている。
FIG. 1 is a sectional side view schematically showing a configuration example of a data symbol reading apparatus of the present invention. As shown in the figure, the data symbol reading device 1 of the present invention
Has a casing 2 in which a light projecting section 40 and a reading section 4 for reading the data symbol 38 are installed in an integrated state.

【0022】投光部40は、1対の光源41と、両光源
41を点灯する光源駆動回路42とで構成されている。
光源41としては、例えばLEDのような発光素子、ハ
ロゲンランプ、半導体レーザー等を用いることができ
る。なお、本発明では、前記1対の光源41に限定され
ず、単一の光源を用いてもよい。
The light projecting section 40 is composed of a pair of light sources 41 and a light source drive circuit 42 for turning on the both light sources 41.
As the light source 41, for example, a light emitting element such as an LED, a halogen lamp, a semiconductor laser, or the like can be used. The present invention is not limited to the pair of light sources 41, and a single light source may be used.

【0023】両光源41の間には、エリアセンサーであ
るCCD(charge coupled device)43と、このCC
D43へ後述するシンボル読み取り領域36での反射光
を結像するように導く光学系44とで構成される読み取
り部4が設置されている。CCD43では、多数の画素
が行列状に配置され、各画素のそれぞれが受光した光の
光量に応じた電荷を蓄積し、この電荷を所定時に順次転
送するように構成されている。この転送された電荷は、
読み取られた画像の画像信号を構成する。
Between both light sources 41, a CCD (charge coupled device) 43 which is an area sensor and this CC
A reading unit 4 including an optical system 44 that guides reflected light in a symbol reading area 36 described below to form an image is installed at D43. In the CCD 43, a large number of pixels are arranged in rows and columns, and each pixel is configured to accumulate an electric charge according to the amount of light received and to sequentially transfer the electric charge at a predetermined time. This transferred charge is
It constitutes the image signal of the read image.

【0024】なお、本実施例においては、CCD43
は、データシンボル38の各部の明度(輝度)を検出し
得るものであればよいが、読み取るデータシンボルの構
成によっては、カラー画像用のCCD43を用いること
もできる。
In this embodiment, the CCD 43
Is only required to be able to detect the brightness (luminance) of each part of the data symbol 38, but a CCD 43 for a color image can also be used depending on the configuration of the data symbol to be read.

【0025】また、光学系44は、各種レンズ、プリズ
ム、フィルター、ミラー等の光学部品を所望に組み合わ
せて構成される。
The optical system 44 is constructed by combining various optical components such as various lenses, prisms, filters and mirrors as desired.

【0026】このような投光部40および読み取り部4
においては、光源駆動回路42により両光源41が点灯
し、両光源41から発せられた光は、シンボル読み取り
領域36に照射され、その反射光が光学系を介してCC
D43の受光面上に結像され、この受光光量に応じた画
像信号(アナログ信号)が出力される。
The light projecting section 40 and the reading section 4 as described above.
In the above, both light sources 41 are turned on by the light source drive circuit 42, the light emitted from both light sources 41 is applied to the symbol reading area 36, and the reflected light thereof is CC through the optical system.
An image is formed on the light receiving surface of D43, and an image signal (analog signal) corresponding to the received light amount is output.

【0027】なお、読み取り部4は、図示のごときシン
ボル読み取り領域36からの反射光をCCD43で受光
する構成のものに限定されず、この他、光源(投光部)
とCCDとの間にシンボル読み取り領域が位置し、光源
から発せられた光がシンボル読み取り領域に照射され、
その透過光がCCDの受光面上に結像するような構成で
あってもよい。
The reading unit 4 is not limited to the one shown in the drawing in which the reflected light from the symbol reading region 36 is received by the CCD 43, and in addition to this, a light source (projecting unit).
The symbol reading area is located between the CCD and the CCD, and the light emitted from the light source is applied to the symbol reading area.
The configuration may be such that the transmitted light forms an image on the light receiving surface of the CCD.

【0028】また、本発明では、前述したような投光部
40を有さないものでもよい。
Further, in the present invention, the light projecting section 40 as described above may not be provided.

【0029】図2は、シンボル読み取り領域を示す平面
図である。同図に示すように、シンボル読み取り領域
(図中一点鎖線で示す)36は、基準面(データシンボ
ル38が位置する面)37上において、投光部40によ
る光の照射がなされ、かつその反射光を読み取り部4に
より受光し、データを読み取ることができる領域であ
る。
FIG. 2 is a plan view showing the symbol reading area. As shown in the figure, the symbol reading area (indicated by the one-dot chain line in the figure) 36 is irradiated with light by the light projecting section 40 on the reference surface (the surface on which the data symbol 38 is located) 37, and its reflection This is an area where light can be received by the reading unit 4 and data can be read.

【0030】図示の構成では、データシンボル(シンボ
ルコード)38は、x行×y列(x、yは2以上の整
数)に配列された黒色または白色(または透明)のモザ
イクで構成されている。このモザイクの黒色または白色
は、例えば2進法における0または1を表し、この組み
合わせにより所望の情報が特定される。なお、データシ
ンボル38は、図示のような構成のものに限定されな
い。
In the illustrated structure, the data symbols (symbol codes) 38 are composed of black or white (or transparent) mosaics arranged in x rows × y columns (x and y are integers of 2 or more). . The black or white color of this mosaic represents, for example, 0 or 1 in the binary system, and this combination specifies desired information. The data symbol 38 is not limited to the one having the illustrated configuration.

【0031】また、ケーシング2内には、読み取り部4
からの画像信号を処理する信号処理回路5が設けられて
いる。この信号処理回路5は、図3に示すCCD駆動回
路6、同期信号発生回路7、増幅回路8、A/D変換器
9、2値化回路(コンパレータ)10、シリアル/パラ
レル変換回路11、メインメモリー12、不揮発性メモ
リー(E2 PROM)13、メモリー制御回路14、制
御手段(CPU)15、通信用ドライバー16およびこ
れらの接続ラインで構成されている。
In the casing 2, the reading unit 4
There is provided a signal processing circuit 5 for processing the image signal from. The signal processing circuit 5 includes a CCD drive circuit 6, a synchronization signal generation circuit 7, an amplification circuit 8, an A / D converter 9, a binarization circuit (comparator) 10, a serial / parallel conversion circuit 11, and a main circuit shown in FIG. A memory 12, a non-volatile memory (E 2 PROM) 13, a memory control circuit 14, a control means (CPU) 15, a communication driver 16 and a connection line for these.

【0032】ケーシング2には、手で把持するために把
持部2aが形成されており、この把持部2aの図1中下
部には、トリガースイッチ3が設置されている。図示し
ないメインスイッチ(電源スイッチ)がオンの状態で、
把持部2aを手で把持し、その手の人差し指等で操作し
てトリガースイッチ3をオンすると、シンボル読み取り
領域36にあるデータシンボル38の読み取りが開始さ
れる。
A grip portion 2a is formed on the casing 2 for gripping with a hand, and a trigger switch 3 is installed at the lower portion of the grip portion 2a in FIG. While the main switch (power switch) (not shown) is on,
When the grip portion 2a is gripped by a hand and the trigger switch 3 is turned on by operating the index finger or the like of the hand, the reading of the data symbol 38 in the symbol reading area 36 is started.

【0033】信号処理回路5にて処理された信号は、必
要なデータにデコードされた後、通信用ドライバー16
により外部のインターフェースアダプタ29へ出力さ
れ、さらにこのインターフェースアダプタ29を介して
例えばパソコンやワークステーションのようなコンピュ
ータ32に入力される。このようなコンピュータ32に
おいては、入力されたデータの格納および集計等を行
う。
The signal processed by the signal processing circuit 5 is decoded into necessary data, and then the communication driver 16
Is output to the external interface adapter 29, and is further input to the computer 32 such as a personal computer or a workstation via the interface adapter 29. In such a computer 32, input data is stored and totaled.

【0034】また、CCD43から出力され、信号処理
回路5を経た画像信号は、外部のインターフェースアダ
プタ29へ出力され、さらにこのインターフェースアダ
プタ29にて所望の形態の信号に変換された後、モニタ
ー装置(CRT)33に入力される。これにより、読み
取り部4にて読み取られた画像をモニターすることがで
きる。
An image signal output from the CCD 43 and passed through the signal processing circuit 5 is output to an external interface adapter 29, and further converted into a signal of a desired form by the interface adapter 29, and then a monitor device ( CRT) 33. As a result, the image read by the reading unit 4 can be monitored.

【0035】なお、図1では、データシンボル読み取り
装置1としてハンディータイプのものを示しているが、
本発明はこのような形態のものに限定されず、例えば、
据置き型(固定式)のものであってもよい。
In FIG. 1, a handy type data symbol reading device 1 is shown.
The present invention is not limited to such a form, for example,
It may be a stationary type (fixed type).

【0036】次に、データシンボル読み取り装置1の回
路構成について説明する。
Next, the circuit configuration of the data symbol reading device 1 will be described.

【0037】図3は、データシンボル読み取り装置1の
回路構成の一例を示すブロック図である。同図に示すよ
うに、データシンボル読み取り装置1は、CCD駆動回
路6と、同期信号発生回路7と、増幅回路8と、A/D
変換器9と、コンパレータで構成される2値化回路10
と、シリアル/パラレル変換回路11と、メインメモリ
ー12と、不揮発性メモリー13と、メモリー制御回路
14と、CPU(central processing unit )で構成さ
れる制御手段15と、通信用ドライバー16とを有し、
これらが所望に接続されている。また、制御手段15に
は、光源駆動回路42と、スイッチ回路19と、LCD
(liquid crystal display)のような表示部20とが接
続されている。
FIG. 3 is a block diagram showing an example of a circuit configuration of the data symbol reading device 1. As shown in FIG. 1, the data symbol reader 1 includes a CCD drive circuit 6, a synchronization signal generation circuit 7, an amplification circuit 8, and an A / D.
A binarization circuit 10 including a converter 9 and a comparator
A serial / parallel conversion circuit 11, a main memory 12, a non-volatile memory 13, a memory control circuit 14, a control means 15 including a CPU (central processing unit), and a communication driver 16. ,
These are connected as desired. Further, the control means 15 includes a light source drive circuit 42, a switch circuit 19, and an LCD.
A display unit 20 such as a (liquid crystal display) is connected.

【0038】スイッチ回路19には、前記トリガースイ
ッチ3の他、メインスイッチ(電源スイッチ)、後述す
るモード切り替えスイッチ、モニタースイッチ(ミュー
トスイッチ)、露出および入出力特性調整スイッチおよ
びフィールド/フレーム選択スイッチ等のうちの任意の
ものが必要に応じ接続されている。
The switch circuit 19 includes, in addition to the trigger switch 3, a main switch (power switch), a mode switch described later, a monitor switch (mute switch), an exposure and input / output characteristic adjustment switch, a field / frame selection switch, and the like. Any of these are connected as needed.

【0039】これらのうち、モード切り替えスイッチ
は、読み取り部4において実際に読み取りを行う読み取
りモードと、後述する基準画像信号によりテストを行う
テストモードとを選択するスイッチである。
Among these, the mode changeover switch is a switch for selecting a reading mode in which the reading unit 4 actually reads and a test mode in which a test is performed by a reference image signal described later.

【0040】モニタースイッチは、モニター装置33に
おいて、モニター画像を出力するモニタースルー出力モ
ードと、モニター画像を出力しないモニターカットモー
ドとを選択するスイッチである。
The monitor switch is a switch for selecting, in the monitor device 33, a monitor through output mode for outputting a monitor image and a monitor cut mode for not outputting a monitor image.

【0041】露出および入出力特性調整スイッチは、デ
ータシンボル読み取り装置1が後述する露出調整手段や
入出力特性調整手段等を有し、装置1の外部より手動で
露出や入出力特性の設定を変更し得る構成の場合に、そ
の設定を変えるためのスイッチである。
The exposure and input / output characteristic adjusting switch has an exposure adjusting means, an input / output characteristic adjusting means, etc., which the data symbol reading apparatus 1 will be described later, and manually changes the setting of the exposure and input / output characteristics from outside the apparatus 1. This is a switch for changing the setting in the case of a possible configuration.

【0042】フィールド/フレーム選択スイッチは、画
像の形態としてフィールド画像とフレーム画像とを選択
するスイッチである。
The field / frame selection switch is a switch for selecting a field image and a frame image as the image form.

【0043】光源駆動回路42は、光源41に電力を供
給して点灯する回路であり、制御手段15により制御さ
れる。スイッチ回路19からメインスイッチ(またはト
リガースイッチ3)がオンである旨の信号が制御手段1
5へ入力されると、制御手段15は、光源駆動回路42
を作動させ、これにより光源41が点灯する。ここで、
光源41の点灯時間は、光源駆動回路42または制御手
段15により所望に設定されている。
The light source drive circuit 42 is a circuit for supplying electric power to the light source 41 to turn it on, and is controlled by the control means 15. A signal indicating that the main switch (or trigger switch 3) is turned on is output from the switch circuit 19 to the control means 1.
5 is input to the light source drive circuit 42.
The light source 41 is turned on. here,
The lighting time of the light source 41 is set as desired by the light source drive circuit 42 or the control means 15.

【0044】なお、前記スイッチ回路19の制御を、例
えば、コンピュータ32によりシリアル通信線等を通じ
て行うことも可能である。
The switch circuit 19 may be controlled by the computer 32 through a serial communication line or the like.

【0045】また、スイッチ回路19からメインスイッ
チ(またはトリガースイッチ3)がオンである旨の信号
が制御手段15へ入力されると、制御手段15は、CC
D駆動回路6を作動させる。
When a signal indicating that the main switch (or trigger switch 3) is on is input from the switch circuit 19 to the control means 15, the control means 15 causes the CC
The D drive circuit 6 is operated.

【0046】CCD駆動回路6は、周波数が2・fCK
クロック信号を発する水晶発振器62を有しており、こ
のクロック信号から分周して得られた周波数がfCKのク
ロック信号は、A/D変換のタイミングを得るためにA
/D変換器9に入力されるとともに、同期信号発生回路
7に入力される。同期信号発生回路7では、このクロッ
ク信号に同期する水平同期信号(HD)および垂直同期
信号(VD)が生成され、これらの同期信号は、CCD
駆動回路6に入力される。
The CCD drive circuit 6 has a crystal oscillator 62 which emits a clock signal having a frequency of 2 · f CK, and a clock signal having a frequency f CK obtained by frequency division from this clock signal is A A to obtain the timing of D / D conversion
It is input to the / D converter 9 and also input to the synchronization signal generation circuit 7. The sync signal generation circuit 7 generates a horizontal sync signal (HD) and a vertical sync signal (VD) that are synchronized with this clock signal, and these sync signals are the CCD.
It is input to the drive circuit 6.

【0047】CCD駆動回路6からCCD43へは、ク
ロック信号(fCK)に基づいて生成されるCCD水平駆
動パルスと、水平同期信号(HD)および垂直同期信号
(VD)に基づいて生成されるCCD垂直駆動パルスと
が出力され、CCD43での電荷の蓄積および転送が制
御される。
From the CCD drive circuit 6 to the CCD 43, the CCD horizontal drive pulse generated based on the clock signal (f CK ) and the CCD generated based on the horizontal synchronizing signal (HD) and the vertical synchronizing signal (VD). A vertical drive pulse is output, and charge accumulation and transfer in the CCD 43 are controlled.

【0048】また、CCD駆動回路6では、周波数が2
・fCKのクロック信号を分周して周波数がfCK/8のク
ロック信号を生成し、さらにこの信号に水平同期信号
(HD)および垂直同期信号(VD)を複合した信号
(以下、複合クロック信号(fCL)という)をメモリー
制御回路14および制御手段15へそれぞれ送出する。
In the CCD drive circuit 6, the frequency is 2
A signal obtained by dividing the clock signal of f CK to generate a clock signal having a frequency of f CK / 8, and further combining this signal with a horizontal synchronizing signal (HD) and a vertical synchronizing signal (VD) (hereinafter, composite clock The signal (f CL ) is sent to the memory control circuit 14 and the control means 15, respectively.

【0049】メモリー制御回路14は、アドレスカウン
タを有しており、このアドレスカウンタは、後述するデ
ータをメインメモリー12へ書き込む際および読み出す
際のアドレスを決定する。この場合、後述するようにメ
インメモリー12への書き込みは、前記複合クロック信
号(fCL)に基づいて行われる。
The memory control circuit 14 has an address counter, and this address counter determines addresses when writing and reading data, which will be described later, in the main memory 12. In this case, as will be described later, writing to the main memory 12 is performed based on the composite clock signal (f CL ).

【0050】制御手段15は、アドレスカウンタを有し
ており、このアドレスカウンタは、前記複合クロック信
号(fCL)に基づいて、後述するしきい値データを不揮
発性メモリー13へ書き込む際および読み出す際のアド
レスを決定する。なお、このアドレスカウンタによっ
て、前記メインメモリー12に対するアドレスを必要に
応じて決定することもできる。
The control means 15 has an address counter, and this address counter writes threshold value data, which will be described later, into the nonvolatile memory 13 and reads it out based on the composite clock signal (f CL ). Determine the address of. The address counter can also determine the address for the main memory 12 as needed.

【0051】また、同期信号発生回路7では、CCD駆
動回路6からのクロック信号(fCK)に基づいて、読み
取り部4で読み取られた画像をモニター装置33でモニ
ターするための同期信号(SYNC)(例えば、垂直同
期信号および水平同期信号のコンポジット信号)が生成
され、出力端子21へ出力される。
Further, in the synchronizing signal generating circuit 7, the synchronizing signal (SYNC) for monitoring the image read by the reading unit 4 by the monitor device 33 based on the clock signal (f CK ) from the CCD driving circuit 6. (For example, a composite signal of a vertical synchronizing signal and a horizontal synchronizing signal) is generated and output to the output terminal 21.

【0052】前述した読み取りモードにおいて、読み取
り部4のCCD43から順次出力される画像信号(アナ
ログ信号)は、増幅回路8により増幅され、さらに、C
CD駆動回路6から出力されるクロック信号(fCK)に
基づいて作動するA/D変換器9にてデジタル信号(以
下、デジタル画像信号という)に変換される。このデジ
タル画像信号は、mビット(ただしmは2以上の整数)
のデジタル信号である。本実施例では、8ビットの信号
とされ、そのデータは256段階の諧調を持つ。
In the above-mentioned reading mode, the image signals (analog signals) sequentially output from the CCD 43 of the reading section 4 are amplified by the amplifier circuit 8, and C
It is converted into a digital signal (hereinafter referred to as a digital image signal) by an A / D converter 9 which operates based on a clock signal (f CK ) output from the CD drive circuit 6. This digital image signal has m bits (m is an integer of 2 or more)
Is a digital signal. In the present embodiment, it is an 8-bit signal, and the data has 256 levels of gradation.

【0053】また、CCD43から出力され、増幅回路
8にて増幅された画像信号(アナログ信号)は、モニタ
ー信号として外部の出力端子21へも出力される。
The image signal (analog signal) output from the CCD 43 and amplified by the amplifier circuit 8 is also output to the external output terminal 21 as a monitor signal.

【0054】A/D変換器9より出力されたデジタル画
像信号は、2値化回路10に入力される。一方、不揮発
性メモリー13には、データシンボル38の読み取りに
先立って、後述するしきい値データが格納されており、
このしきい値データが不揮発性メモリー13より読み出
され、データバス17および制御手段15を経て2値化
回路10に入力される。そして、2値化回路10では、
デジタル画像信号がしきい値データと比較されて2値化
される。この場合、比較の容易性、正確性の理由から、
しきい値データはmビットのデジタルデータであること
が好ましい。
The digital image signal output from the A / D converter 9 is input to the binarization circuit 10. On the other hand, the non-volatile memory 13 stores threshold value data, which will be described later, prior to reading the data symbol 38.
This threshold value data is read from the non-volatile memory 13 and input to the binarization circuit 10 via the data bus 17 and the control means 15. Then, in the binarization circuit 10,
The digital image signal is compared with the threshold data and binarized. In this case, for reasons of ease of comparison and accuracy,
The threshold data is preferably m-bit digital data.

【0055】このように、A/D変換器9により変換さ
れたmビットのデジタル画像信号を2値化回路10によ
り2値化するので、A/D変換器により直接1ビットの
デジタル画像信号に変換し、これを2値化データとする
場合に比較して、より正確な2値化データ(1ビット)
が得られる。
As described above, since the m-bit digital image signal converted by the A / D converter 9 is binarized by the binarizing circuit 10, it is directly converted into a 1-bit digital image signal by the A / D converter. More accurate binarized data (1 bit) compared to the case of converting and using this as binarized data
Is obtained.

【0056】なお、本実施例では、不揮発性メモリー1
3として、E2 PROM(Electrically Erasable Prog
ramable Read Only Memory)を用いているが、本発明に
おいて、不揮発性メモリーとは、電源(メインスイッチ
等)を切っても記憶された内容が消えない記憶または記
録媒体のことであり、メモリー素子自体が不揮発性であ
るものと、メモリー素子(特に、低消費電力タイプのも
の)がバッテリーによりバックアップされているものと
が含まれる。また、不揮発性メモリーには、磁気記録媒
体、光記録媒体、光磁気記録媒体のごとき記録媒体も含
まれる。この場合、データシンボル38の読み取りに際
しては、しきい値データの読み出し速度を速くするため
に、これらの記録媒体からしきい値データを通常のメモ
リー(図示せず)に一旦読み込み、このメモリーからし
きい値データを2値化回路10へ送出するような構成と
することもできる。
In this embodiment, the nonvolatile memory 1
As 3, E 2 PROM (Electrically Erasable Prog
In the present invention, a non-volatile memory is a storage or recording medium that does not lose its stored contents even when the power (main switch etc.) is turned off. Are non-volatile, and those in which a memory element (particularly of low power consumption type) is backed up by a battery are included. The non-volatile memory also includes recording media such as magnetic recording media, optical recording media, and magneto-optical recording media. In this case, when reading the data symbol 38, in order to increase the reading speed of the threshold data, the threshold data is temporarily read from these recording media into a normal memory (not shown) and then read from this memory. The threshold value data may be sent to the binarization circuit 10.

【0057】2値化回路10より出力された2値化デー
タ(1ビット)は、シリアル/パラレル変換回路11に
入力される。シリアル/パラレル変換回路11では、n
個(ただしnは2以上の整数)の2値化データ(シリア
ルデータ)をまとめて、nビットのデータ(パラレルデ
ータ)に変換する。この場合、前記nは、制御手段(C
PU)15のワード長(ビットレングス)に対応し、本
実施例では、n=8とされている。なお、本実施例で
は、nと前記mとが等しく、n=8としているが、nと
mとが異なるものであってもよい。
The binarized data (1 bit) output from the binarization circuit 10 is input to the serial / parallel conversion circuit 11. In the serial / parallel conversion circuit 11, n
A number (however, n is an integer of 2 or more) of binarized data (serial data) is collected and converted into n-bit data (parallel data). In this case, n is the control means (C
This corresponds to the word length (bit length) of the PU) 15, and in this embodiment, n = 8. In the present embodiment, n and m are equal and n = 8, but n and m may be different.

【0058】メインメモリー12は、nビットのデータ
を格納し得る構成のメモリー(例えば、8ビット×32
K)であり、シリアル/パラレル変換回路11にて変換
されたnビットのデータは、データバス17を介して、
メモリー制御回路14に内蔵されたアドレスカウンタに
より定められる所定のアドレスに書き込まれて行く。
The main memory 12 is a memory (for example, 8 bits × 32) configured to store n-bit data.
K), and the n-bit data converted by the serial / parallel conversion circuit 11 is transmitted via the data bus 17.
The data is written at a predetermined address determined by an address counter built in the memory control circuit 14.

【0059】なお、本発明では、1画面分の画像信号の
2値化データをメインメモリー12上の1つの領域に格
納する場合(フィールド画像)または複数の領域に分け
て格納する場合(フレーム画像)のいずれでもよい。
In the present invention, the binarized data of the image signal for one screen is stored in one area on the main memory 12 (field image) or divided into a plurality of areas (frame image). ) Either.

【0060】後者の場合、図12に示すように、1画面
分のデータを1フレーム(2フィールド)で構成し、各
フィールド毎にメインメモリー12の異なる領域12
a、12bに格納することができる。この場合、第1フ
ィールドと第2フィールドのデータは、例えば、同一画
像を2回撮像し、これらをそれぞれ第1フィールドおよ
び第2フィールドのデータとし、かつCCD43上の画
素2行分で1走査線分のデータを構成し、第1フィール
ドと第2フィールドとでは、画素を1行づつずらしたデ
ータとする。
In the latter case, as shown in FIG. 12, data for one screen is composed of one frame (two fields), and different fields 12 of the main memory 12 are arranged for each field.
a, 12b. In this case, for the data of the first field and the second field, for example, the same image is captured twice, and these are used as the data of the first field and the second field, respectively, and one scanning line for two rows of pixels on the CCD 43. Minute data, and in the first field and the second field, the pixels are shifted by one row.

【0061】以上のように、メインメモリー12にフレ
ーム画像として格納する場合には、垂直方向の解像度を
高めることができる。
As described above, when the frame image is stored in the main memory 12, the resolution in the vertical direction can be increased.

【0062】なお、本実施例では、代表的に、前述した
フィールド/フレーム選択スイッチによりフレーム画像
を選択し、2フィールド分のデータを取り込んで画像処
理、デコード処理等を行う場合について説明するが、フ
ィールド/フレーム選択スイッチによりフィールド画像
を選択した場合には、いずれか一方のフィールドに対応
する信号のみを用いて処理するよう構成されているの
で、デコード処理等の高速化を図ることができる。
In the present embodiment, a case in which a frame image is selected by the above-mentioned field / frame selection switch and data of 2 fields is fetched and image processing, decoding processing, etc. are representatively described. When the field image is selected by the field / frame selection switch, the processing is performed using only the signal corresponding to one of the fields, so that the speed of the decoding processing can be increased.

【0063】1画面分(1フィールドまたは1フレー
ム)のデータが格納されたメインメモリー12からは、
前記アドレスカウンタに指定されたアドレスに従ってデ
ータが順次読み出され、データバス17を介して制御手
段15に入力される。そして、この1画面分のデータに
対し、制御手段15の演算部において、例えば輪郭検出
(データシンボル38に関する情報のみの抽出)、ドロ
ップアウト補正、回転等の画像処理を行い、さらに、制
御手段15に内蔵されるデコーダにて、データシンボル
38の体系に応じたデータにデコードする。このデコー
ドされたデータは、通信用ドライバー16を介して出力
端子21に出力される。なお、通信用ドライバー16と
しては、例えば、RS−232C方式によるものを用い
ることができる。
From the main memory 12 in which data for one screen (one field or one frame) is stored,
Data is sequentially read according to the address designated by the address counter, and input to the control means 15 via the data bus 17. Then, the data of this one screen is subjected to image processing such as contour detection (extraction of only information about the data symbol 38), dropout correction, rotation, etc. in the arithmetic unit of the control means 15, and further the control means 15 A decoder built in the decoder decodes the data according to the system of the data symbol 38. The decoded data is output to the output terminal 21 via the communication driver 16. As the communication driver 16, for example, a driver based on the RS-232C system can be used.

【0064】スイッチ回路19からモニタースイッチ
(図示せず)のモードに応じた信号が制御手段15へ入
力されると、制御手段15に内蔵されるミュート信号発
生回路より、モニター装置33における読み取り領域の
モニターの可否を左右するミュート信号(HiまたはL
owレベル)が出力端子21に出力される。
When a signal corresponding to the mode of the monitor switch (not shown) is input from the switch circuit 19 to the control means 15, the mute signal generating circuit built in the control means 15 causes the reading area of the monitor device 33 to change. Mute signal (Hi or L) that affects monitor availability
ow level) is output to the output terminal 21.

【0065】また、表示部20の駆動は、制御手段15
により制御されており、例えば、読み取りデータ(デコ
ード後)、NG/OK(後述するデータシンボル38の
検知の確認)、日時、電源のオン/オフ、シャッター速
度等の露出情報、読み取り回数等の各種情報が必要に応
じて表示される。なお、このような表示部20に表示す
る情報のうちの全部または一部をモニター装置33に表
示する構成としてもよい。
The display unit 20 is driven by the control means 15
Are controlled by, for example, read data (after decoding), NG / OK (confirmation of detection of data symbol 38 described later), date and time, power on / off, exposure information such as shutter speed, and various types of reading. Information is displayed as needed. Note that all or part of the information displayed on the display unit 20 may be displayed on the monitor device 33.

【0066】なお、トリガースイッチ3がオフの状態で
は、表示部20には、上記情報のうち、例えば日時、電
源のオン/オフ、読み取り回数を表示する。
When the trigger switch 3 is off, the display section 20 displays, for example, the date and time, power on / off, and the number of readings.

【0067】データシンボル読み取り装置1の出力端子
21は、インターフェースアダプタ29の入力端子30
とケーブル34により接続されており、出力端子21か
ら出力されるモニター信号、同期信号(SYNC)およ
びミュート信号は、ケーブル34および入力端子30を
介してインターフェースアダプタ29に内蔵されている
エンコーダ31に入力される。
The output terminal 21 of the data symbol reader 1 is the input terminal 30 of the interface adapter 29.
The monitor signal, the synchronization signal (SYNC), and the mute signal output from the output terminal 21 are input to the encoder 31 incorporated in the interface adapter 29 via the cable 34 and the input terminal 30. To be done.

【0068】このエンコーダ31では、入力されたモニ
ター信号と、同期信号(SYNC)とから、モニター装
置33で再生可能な信号、例えばNTSC方式のビデオ
信号を生成し、そのビデオ信号をミュート信号に基づい
てモニター装置33へ出力する。例えば、ミュート信号
がLowレベルである場合には、ビデオ信号がモニター
装置33へ出力され、モニター装置33にシンボル読み
取り領域36のモニター画像が写り、ミュート信号がH
iレベルである場合には、モニター信号によるビデオ信
号はモニター装置33へ出力されず、モニター画像は写
らない。
The encoder 31 generates a signal reproducible by the monitor device 33, for example, an NTSC video signal from the input monitor signal and the synchronizing signal (SYNC), and the video signal is generated based on the mute signal. Output to the monitor device 33. For example, when the mute signal is at the low level, the video signal is output to the monitor device 33, the monitor image of the symbol reading area 36 is displayed on the monitor device 33, and the mute signal is H level.
In the case of the i level, the video signal of the monitor signal is not output to the monitor device 33, and the monitor image is not captured.

【0069】また、出力端子21から出力されるデコー
ド済のデータは、ケーブル34を介してインターフェー
スアダプタ29に入力され、さらにインターフェースア
ダプタ29とコンピュータ32とを接続するケーブル3
5を介してコンピュータ32に入力される。
The decoded data output from the output terminal 21 is input to the interface adapter 29 via the cable 34, and the cable 3 connecting the interface adapter 29 and the computer 32 is further connected.
It is input to the computer 32 via 5.

【0070】次に、データシンボル38の読み取りを行
う際の制御手段15の制御動作について説明する。
Next, the control operation of the control means 15 when reading the data symbol 38 will be described.

【0071】図4、5、6および7は、それぞれ、デー
タシンボル38の読み取り(フレーム単位)の際の動作
を示すフローチャートである。この場合、図4および5
は、メインプログラム、図6および7は、図4および5
に示すメインプログラム中のステップ109に対応する
サブルーチンのプログラムである。また、図8は、デー
タシンボル38の読み取り(フレーム単位)の際のタイ
ミングチャートである。以下、各フローチャートを説明
する。
4, 5, 6 and 7 are flow charts showing the operation at the time of reading the data symbol 38 (frame unit). In this case, FIGS.
Is the main program, Figures 6 and 7 are Figures 4 and 5.
It is a subroutine program corresponding to step 109 in the main program shown in FIG. FIG. 8 is a timing chart at the time of reading the data symbol 38 (frame unit). Each flowchart will be described below.

【0072】図4および5に示すように、メインプログ
ラムでは、データシンボル読み取り装置1のメインスイ
ッチがオンされている状態において、モニター信号の外
部出力に関するモードが、モニター信号を外部のモニタ
ー装置33へ出力するモード、すなわち前述したモニタ
ースルー出力モードとなっているか否かを判断する(ス
テップ100)。
As shown in FIGS. 4 and 5, in the main program, when the main switch of the data symbol reader 1 is turned on, the mode relating to the external output of the monitor signal changes the monitor signal to the external monitor device 33. It is determined whether the output mode, that is, the monitor through output mode described above, is set (step 100).

【0073】ステップ100において、モニタースルー
出力モードとなっている場合には、ミュート信号発生回
路からLowレベルのミュート信号をインターフェース
アダプタ29内のエンコーダ31に送出し、ミュートO
FFの状態とする(ステップ101)。
In step 100, when the monitor through output mode is set, a mute signal of low level is sent from the mute signal generating circuit to the encoder 31 in the interface adapter 29, and the mute O
The FF state is set (step 101).

【0074】次いで、光源41を点灯し、CCD43を
駆動する(ステップ102)。次いで、モニター信号
(ビデオ信号)をモニター装置33に出力する(ステッ
プ103)。これにより、モニター装置33にシンボル
読み取り領域36のモニター画像が写る。
Then, the light source 41 is turned on and the CCD 43 is driven (step 102). Then, the monitor signal (video signal) is output to the monitor device 33 (step 103). As a result, the monitor image of the symbol reading area 36 appears on the monitor device 33.

【0075】次いで、データシンボル読み取り装置1の
トリガースイッチ3がオンしたか否かを判断する(ステ
ップ104)。
Next, it is judged whether or not the trigger switch 3 of the data symbol reading device 1 is turned on (step 104).

【0076】ステップ104において、トリガースイッ
チ3がオンと判断した場合には、読み取り処理を実行す
る(ステップ109)。
When it is determined in step 104 that the trigger switch 3 is on, the reading process is executed (step 109).

【0077】また、ステップ104において、トリガー
スイッチ3がオフと判断した場合には、再びステップ1
00に戻る。
If it is determined in step 104 that the trigger switch 3 is off, step 1 is performed again.
Return to 00.

【0078】また、ステップ100において、モニター
スルー出力モードとなっていない場合(前述したモニタ
ーカットモードの場合)には、ミュート信号発生回路か
らHiレベルのミュート信号(例えば、モニターに単色
の画像を表す信号)をインターフェースアダプタ29内
のエンコーダ31に送出し、ミュートONの状態とし
(ステップ105)、このミュート信号をモニター装置
33に出力する(ステップ106)。これにより、モニ
ター装置33に所定のミュート画像が写る(モニター画
像は現れない)。
In step 100, when the monitor through output mode is not set (in the monitor cut mode described above), a mute signal of Hi level is output from the mute signal generation circuit (for example, a monochrome image is displayed on the monitor). The signal) is sent to the encoder 31 in the interface adapter 29 to turn on the mute (step 105), and the mute signal is output to the monitor device 33 (step 106). As a result, a predetermined mute image appears on the monitor device 33 (the monitor image does not appear).

【0079】次いで、データシンボル読み取り装置1の
トリガースイッチ3がオンしたか否かを判断する(ステ
ップ107)。
Next, it is judged whether or not the trigger switch 3 of the data symbol reading device 1 is turned on (step 107).

【0080】ステップ107において、トリガースイッ
チ3がオンと判断した場合には、光源41を点灯し、C
CD43を駆動して(ステップ102)、読み取り処理
を実行する(ステップ109)。
If it is determined in step 107 that the trigger switch 3 is on, the light source 41 is turned on and C
The CD 43 is driven (step 102) and the reading process is executed (step 109).

【0081】また、ステップ107において、トリガー
スイッチ3がオフと判断した場合には、再びステップ1
00に戻る。
If it is determined in step 107 that the trigger switch 3 is off, step 1 is performed again.
Return to 00.

【0082】図6および7は、前記読み取り処理の詳細
を示した図で、このサブルーチンプログラムでは、ま
ず、CCD43に、シンボル読み取り領域36の画像パ
ターンに応じた第1フィールドの電荷の蓄積を行う(ス
テップ200)。
6 and 7 show the details of the reading process. In this subroutine program, first, the charge of the first field is stored in the CCD 43 according to the image pattern of the symbol reading area 36 ( Step 200).

【0083】次いで、垂直同期信号(VD)が出力され
たか否かを判断し(ステップ201)、VDが出力され
た場合には、CCD43から第1フィールドの電荷を読
み出すとともに、CCD43に、シンボル読み取り領域
36の画像パターンに応じた第2フィールドの電荷の蓄
積を行う。そして、CCD43から読み出された第1フ
ィールドの電荷(画像信号)を増幅回路8にて増幅し、
A/D変換器9にてA/D変換する(ステップ20
2)。
Then, it is judged whether or not the vertical synchronizing signal (VD) is output (step 201). When VD is output, the charge of the first field is read from the CCD 43 and the symbol is read by the CCD 43. The charge of the second field is accumulated according to the image pattern of the area 36. Then, the charge (image signal) of the first field read from the CCD 43 is amplified by the amplifier circuit 8,
A / D conversion is performed by the A / D converter 9 (step 20)
2).

【0084】ここで、図8に示すように、CCD43に
おいて、第1フィールドに対応する画素と、第2フィー
ルドに対応する画素における電荷蓄積および読み出し
は、交互に行われる。この場合、1フィールドは1/6
0秒であり、一方のフィールドが蓄積動作中のときは、
他方のフィールドの読み出しが行われる。例えば、第2
フィールド(B)の電荷蓄積時には、同時に第1フィー
ルド(A)の電荷読み出しが行われる。
Here, as shown in FIG. 8, in the CCD 43, charge accumulation and readout are alternately performed in the pixel corresponding to the first field and the pixel corresponding to the second field. In this case, 1 field is 1/6
It is 0 seconds, and when one field is accumulating,
The reading of the other field is performed. For example, second
At the time of charge accumulation in the field (B), charge reading of the first field (A) is simultaneously performed.

【0085】前記の場合において、例えば、露光時間
(電荷蓄積時間)Tvが1/60秒の場合には、垂直同
期信号(VD)のタイミングを電荷蓄積開始のタイミン
グとして制御している。すなわち、VDに同期するトラ
ンスファーゲートパルス(TG)の出力のタイミング
で、それまで蓄積されていた電荷を転送し、電荷蓄積を
開始させる。
In the above case, for example, when the exposure time (charge storage time) Tv is 1/60 second, the timing of the vertical synchronizing signal (VD) is controlled as the charge storage start timing. That is, at the timing of the output of the transfer gate pulse (TG) synchronized with VD, the charge accumulated up to that point is transferred and the charge accumulation is started.

【0086】また、例えば、露光時間Tv<1/60秒
の場合には、VDのタイミングを利用できないため、別
の制御パルス信号、例えば電子シャッターパルスを用
い、この電子シャッターパルスの出力のタイミングを電
荷蓄積開始のタイミングとして制御している。この場
合、電子シャッターパルスは後述するVSUBドライバ
ー64に入力され、これによりVSUB信号をHiレベ
ルにし、それまで蓄積されていた不要電荷をリセットし
て、新規に電荷蓄積を開始させる。
Further, for example, when the exposure time Tv <1/60 seconds, the VD timing cannot be used, so another control pulse signal, for example, an electronic shutter pulse is used, and the output timing of this electronic shutter pulse is set. It is controlled as the timing of starting charge accumulation. In this case, the electronic shutter pulse is input to the VSUB driver 64, which will be described later, to set the VSUB signal to the Hi level, reset the unnecessary charges accumulated up to that point, and newly start charge accumulation.

【0087】なお、電荷読み出しは、Tv<1/60秒
およびTv=1/60秒のいずれの場合にもVDのタイ
ミングに同期して行われる。
The charge reading is performed in synchronization with the VD timing in both cases of Tv <1/60 seconds and Tv = 1/60 seconds.

【0088】また、第1フィールドおよび第2フィール
ドの把握は、それぞれ、同期信号発生回路7が生成して
制御手段15に入力されるフィールドインデックス信号
(FI)に基づいて行われる。
The grasping of the first field and the second field is performed based on the field index signal (FI) generated by the synchronizing signal generating circuit 7 and input to the control means 15.

【0089】また、CCD43から読み出された第1フ
ィールドおよび第2フィールドの電荷(画像信号)は、
それぞれ、増幅回路8にて増幅され、この後、デコード
処理とは独立して(A/D変換器9を通らずに)、モニ
ター信号としてエンコーダ31に出力される。モニター
スルー出力モードの場合には、このモニター信号は、エ
ンコーダ31からビデオ信号としてモニター装置33に
入力され、これにより撮像画像をリアルタイムでモニタ
できる。
The charges (image signals) in the first field and the second field read from the CCD 43 are
Each of them is amplified by the amplifier circuit 8 and then, independently of the decoding process (without passing through the A / D converter 9), is output to the encoder 31 as a monitor signal. In the monitor through output mode, this monitor signal is input from the encoder 31 to the monitor device 33 as a video signal, whereby the captured image can be monitored in real time.

【0090】ステップ202の後、A/D変換された画
像信号を2値化回路10にてしきい値データと比較して
2値化し、シリアル/パラレル変換回路11にてシリア
ル/パラレル変換を行う(ステップ203)。
After step 202, the A / D converted image signal is binarized by comparing it with threshold value data in the binarization circuit 10, and serial / parallel conversion is performed in the serial / parallel conversion circuit 11. (Step 203).

【0091】次いで、シリアル/パラレル変換された画
像データをメインメモリー12の所定のアドレスに格納
する(ステップ204)。
Next, the serial / parallel converted image data is stored in a predetermined address of the main memory 12 (step 204).

【0092】なお、実際には、前記増幅回路8における
増幅、A/D変換器9におけるA/D変換、2値化回路
10におけるしきい値データとの比較、2値化、シリア
ル/パラレル変換回路11におけるシリアル/パラレル
変換およびメインメモリー12への格納の動作は、それ
ぞれ、各画素毎になされる。
Actually, amplification in the amplifier circuit 8, A / D conversion in the A / D converter 9, comparison with threshold data in the binarization circuit 10, binarization, serial / parallel conversion. The serial / parallel conversion in the circuit 11 and the storage operation in the main memory 12 are performed for each pixel.

【0093】次いで、メインメモリー12に第1フィー
ルド分のデータの格納が完了したか否かを判断し(ステ
ップ205)、それが完了した場合には、VDが出力さ
れたか否かを判断する(ステップ206)。
Next, it is judged whether or not the storage of the data for the first field in the main memory 12 is completed (step 205). If it is completed, it is judged whether or not VD is output (step 205). Step 206).

【0094】VDが出力された場合には、CCD43か
ら第2フィールドの電荷を読み出し、その第2フィール
ドの電荷(画像信号)を増幅回路8にて増幅し、A/D
変換器9にてA/D変換する(ステップ207)。
When VD is output, the charge of the second field is read from the CCD 43, the charge (image signal) of the second field is amplified by the amplifier circuit 8, and the A / D
A / D conversion is performed by the converter 9 (step 207).

【0095】次いで、2値化回路10にてしきい値デー
タと比較して2値化し、シリアル/パラレル変換回路1
1にてシリアル/パラレル変換を行う(ステップ20
8)。
Next, the binarization circuit 10 compares the threshold value data and binarizes it, and the serial / parallel conversion circuit 1
Serial / parallel conversion is performed in step 1 (step 20).
8).

【0096】次いで、シリアル/パラレル変換された画
像データをメインメモリー12の所定のアドレスに格納
する(ステップ209)。
Next, the serial / parallel converted image data is stored in a predetermined address of the main memory 12 (step 209).

【0097】次いで、メインメモリー12に第2フィー
ルド分のデータの格納が完了したか否かを判断し(ステ
ップ210)、それが完了した場合には、メインメモリ
ー12からデータを読み出す(ステップ211)。
Next, it is judged whether or not the storage of the data for the second field in the main memory 12 is completed (step 210), and if it is completed, the data is read from the main memory 12 (step 211). .

【0098】次いで、輪郭検出、ドロップアウト補正、
回転等の所定の画像処理を行う(ステップ212)。
Then, contour detection, dropout correction,
Predetermined image processing such as rotation is performed (step 212).

【0099】次いで、画像処理がなされたデータを所望
にデコードする(ステップ213)。
Next, the image-processed data is decoded as desired (step 213).

【0100】次いで、データシンボルの検知の確認とし
て、ステップ213によるデコードデータがOKか否
か、すなわち適正なデコードデータが得られたか否かを
判断する(ステップ214)。
Then, as confirmation of the detection of the data symbol, it is determined whether the decoded data in step 213 is OK, that is, whether the proper decoded data is obtained (step 214).

【0101】ステップ214において、デコードデータ
がOKの場合には、デコードエラーフラグを立てず(デ
コードエラーフラグ=0)、このデコードされたデータ
を通信用ドライバー16を介して外部のインターフェー
スアダプタ29に送出する(ステップ215)。
In step 214, if the decoded data is OK, the decoding error flag is not set (decoding error flag = 0), and the decoded data is sent to the external interface adapter 29 via the communication driver 16. (Step 215).

【0102】また、ステップ214において、デコード
データがOKでない場合、すなわち所望にデコードでき
なかった場合には、デコードエラーフラグを立てる(デ
コードエラーフラグ=1)。この場合には、データをイ
ンターフェースアダプタ29へ送出しない(ステップ2
16)。
In step 214, if the decoded data is not OK, that is, if the desired data cannot be decoded, a decoding error flag is set (decoding error flag = 1). In this case, the data is not sent to the interface adapter 29 (step 2
16).

【0103】図4および5に示すように、前述した読み
取り処理が完了した後、デコードエラーフラグ=1か否
かを判断する(ステップ110)。
As shown in FIGS. 4 and 5, after the above-mentioned reading process is completed, it is judged whether or not the decode error flag = 1 (step 110).

【0104】ステップ110において、デコードエラー
フラグ=0と判断した場合には、制御手段15に内蔵さ
れたタイマーを始動させるとともに、データシンボルの
検知の確認の結果として、モニター装置33の画像を適
正なデコードデータが得られた旨のOK表示に変更する
(ステップ111)。
When it is judged in step 110 that the decoding error flag = 0, the timer built in the control means 15 is started and the image of the monitor device 33 is judged to be proper as a result of the confirmation of the detection of the data symbol. It is changed to an OK display indicating that the decoded data is obtained (step 111).

【0105】また、ステップ110において、デコード
エラーフラグ=1と判断した場合には、制御手段15に
内蔵されたタイマーを始動させるとともに、モニター装
置33の画像を適正なデコードデータが得られなかった
旨のNG表示に変更する(ステップ112)。
If it is determined in step 110 that the decoding error flag = 1, the timer built in the control means 15 is started and the image of the monitor device 33 cannot be decoded properly. Is changed to the NG display (step 112).

【0106】次いで、タイマーのカウントが終了したか
否か(タイマータイマアップか否か)を判断し(ステッ
プ113)、終了した場合には、モニター装置33のO
K表示、NG表示を解除し、元の画面に戻す(ステップ
114)。
Then, it is judged whether or not the count of the timer is completed (whether or not the timer is up) (step 113).
The K display and the NG display are canceled and the original screen is displayed (step 114).

【0107】これにより、モニタースルー出力モードの
場合には、モニター装置33にシンボル読み取り領域3
6のモニター画像が写り、モニターカットモードの場合
には、モニター装置33にミュート画像が写る。
As a result, in the monitor through output mode, the symbol reading area 3 is displayed on the monitor device 33.
In the monitor cut mode, the monitor image of No. 6 appears, and the mute image appears on the monitor device 33.

【0108】次いで、デコードエラーフラグ=0にする
(ステップ115)。次いで、メインスイッチがオフか
否かを判断し(ステップ116)、メインスイッチがオ
ンの場合には、再度ステップ100に戻り、ステップ1
00〜116を繰り返し実行する。そして、ステップ1
16において、メインスイッチがオフした場合には、こ
のプログラムは終了する。
Then, the decoding error flag = 0 is set (step 115). Next, it is determined whether or not the main switch is off (step 116). If the main switch is on, the process returns to step 100 again, and step 1
00 to 116 are repeatedly executed. And step 1
If the main switch is turned off at 16, this program ends.

【0109】ここで、ステップ111におけるOK表示
およびステップ112におけるNG表示の方法を具体的
に説明すると、下記の通りである。
Here, the method of displaying OK in step 111 and NG in step 112 will be specifically described as follows.

【0110】OK表示およびNG表示に利用する報知信
号は、基本的にはミュート信号と同様であり、例えば、
所定の表示パターン(例えば、「OK」、「NG」のよ
うな文字や図形)または報知のための輝度や色を規定し
た映像信号である。
The notification signal used for OK display and NG display is basically the same as the mute signal.
It is a video signal that defines a predetermined display pattern (for example, characters or figures such as “OK” and “NG”) or brightness and color for notification.

【0111】前記映像信号は、制御手段15に内蔵され
ている図示しないメモリーに格納されており、OK表示
およびNG表示の際、メモリーから読み出され、ミュー
ト信号線を利用してモニター装置33に表示される。
The video signal is stored in a memory (not shown) built in the control means 15, is read from the memory at the time of OK display and NG display, and is read by the monitor device 33 using the mute signal line. Is displayed.

【0112】この場合、モニタースルー出力モードの場
合には、モニター信号に、報知信号をスーパーインポー
ズして出力し、モニターカットモードの場合には、ミュ
ート信号に換えて、表示内容に対応した映像信号を出力
する構成になっている。
In this case, in the monitor through output mode, the notification signal is superimposed and output as the monitor signal, and in the monitor cut mode, the mute signal is replaced with the video corresponding to the display content. It is configured to output a signal.

【0113】なお、モニター装置33へのOK表示およ
びNG表示の方法は、これに限定されず、この他、例え
ば、モニター装置33が音声出力可能なものである場合
に、音声の有無(例えば、NG表示の場合にのみ警告音
が発声する)、音声の内容(例えば、OKまたはNGを
音声で知らせる)等で示す方法等が挙げられる。なお、
これらのうちの任意の2以上の方法を組み合わせること
も可能である。
The method of OK display and NG display on the monitor device 33 is not limited to this. In addition to this, for example, when the monitor device 33 is capable of outputting sound, presence or absence of sound (for example, A warning sound is emitted only in the case of NG display), a method of indicating the content of the sound (for example, notifying OK or NG by sound), and the like. In addition,
It is also possible to combine any two or more of these methods.

【0114】また、本発明では、節電のために、光源4
1の照明光の強度を2段階(「強」または「弱」)に調
節し得るようにし、トリガースイッチ3がオンしたとき
から第2フィールドの電荷の蓄積が完了するまでは
「強」、それ以外のときは「弱」に切り換わるように構
成してもよい。
Further, in the present invention, the light source 4 is used to save power.
The intensity of the illuminating light of No. 1 can be adjusted in two steps (“strong” or “weak”), and “strong” from when the trigger switch 3 is turned on until charge accumulation in the second field is completed. In other cases, it may be configured to switch to "weak".

【0115】以上のように、データシンボル読み取り装
置1では、読み取られた画像のモニター機能を有するの
で、読み取りエラーが少なくなり、また、読み取りエラ
ーが生じたときでもそれを容易に発見すること、さらに
は正常な読み取りを行うための修正や再読み取りを容易
に行うことができる。
As described above, since the data symbol reading device 1 has the function of monitoring the read image, the reading error is reduced, and even when the reading error occurs, it can be easily found. Can easily be modified and re-read for proper reading.

【0116】なお、本発明では、前述したようなモニタ
ー機能を有さないものでもよいことは言うまでもない。
It goes without saying that the present invention may not have the monitor function as described above.

【0117】次に、A/D変換回路9から出力されたデ
ジタル画像信号を2値化回路10にて2値化する方法の
好適例について説明する。デジタル画像信号の2値化
は、予め不揮発性メモリー13に格納されているしきい
値データとデジタル画像信号とを比較することにより行
われる。このしきい値データの作成方法は、次の通りで
ある。
Next, a preferred example of a method of binarizing the digital image signal output from the A / D conversion circuit 9 by the binarization circuit 10 will be described. Binarization of the digital image signal is performed by comparing the threshold value data stored in advance in the non-volatile memory 13 with the digital image signal. The method of creating this threshold data is as follows.

【0118】図9は、しきい値データを作成する際のタ
イミングチャートである。以下、このタイミングチャー
トに基づいて説明する。
FIG. 9 is a timing chart when the threshold data is created. Hereinafter, description will be given based on this timing chart.

【0119】しきい値データは、データシンボル38の
最大明度と同程度の明度のテストチャート、すなわち本
実施例では白色のテストチャートに対し、データシンボ
ル38の読み取り時のほぼ半分の露光量で読み取りを行
うことにより得られる。例えば、以下に説明するよう
に、CCD43のシャッター速度(CCD蓄積時間)を
1/60秒としてデータシンボル38の読み取りを行う
場合には、CCD43のシャッター速度を1/125秒
として一様な白色のテストチャートの読み取りを行う。
The threshold value data is read with an exposure amount which is about half that of the data symbol 38 when reading a test chart having the same lightness as the maximum lightness of the data symbol 38, that is, a white test chart in this embodiment. It is obtained by performing. For example, as described below, when the data symbol 38 is read with the shutter speed (CCD storage time) of the CCD 43 set to 1/60 second, the shutter speed of the CCD 43 is set to 1/125 second and a uniform white color is obtained. Read the test chart.

【0120】また、A/D変換されたデジタル画像信号
のビット数は特に限定されないが、本実施例では、図1
0に示すように、CCD43からの画像信号(アナログ
信号)は、A/D変換器9にて8ビットのデジタル画像
信号に変換され、各画素毎にデシタル画像信号の最小値
が0(10進)、最大値が255(10進)となるよう
設定されている。
The number of bits of the A / D converted digital image signal is not particularly limited.
As shown in 0, the image signal (analog signal) from the CCD 43 is converted into an 8-bit digital image signal by the A / D converter 9, and the minimum value of the digital image signal is 0 (decimal) for each pixel. ), The maximum value is set to 255 (decimal).

【0121】このような設定において、しきい値データ
を作成するには、まず、シャッター速度を1/60秒
(データシンボル38の読み取り時のシャッター速度)
から1/125秒に換える以外はデータシンボル38の
読み取り時と同一の条件で、一様な白色のテストチャー
トを読み取る。これにより図9に示す画像信号(アナロ
グ信号)が得られる。
In order to create the threshold data in such a setting, first, the shutter speed is set to 1/60 seconds (shutter speed at the time of reading the data symbol 38).
From 1 to 125 seconds, a uniform white test chart is read under the same conditions as when reading the data symbol 38. As a result, the image signal (analog signal) shown in FIG. 9 is obtained.

【0122】このアナログ信号は、クロック信号
(fCK)に基づいて、1画素毎にA/D変換される。こ
の場合、垂直同期信号(VD)および水平同期信号(H
D)は、それぞれクロック信号(fCK)に同期(この場
合は、信号のエッジ部同士が実質的に一致)している。
これにより図9中下側の拡大図に示す8ビットのデシタ
ル画像信号が得られる。このデシタル画像信号は、図1
0に示すように、127(10進)付近の信号、すなわ
ちシャッター速度1/60秒における一様なグレー色
(白色から黒色までの中間の明度)に対応する信号であ
る。
This analog signal is A / D converted for each pixel based on the clock signal (f CK ). In this case, the vertical sync signal (VD) and the horizontal sync signal (H
D) are each synchronized with the clock signal (f CK ) (in this case, the edges of the signals are substantially coincident with each other).
As a result, an 8-bit digital image signal shown in the enlarged view on the lower side of FIG. 9 is obtained. This digital image signal is shown in FIG.
As shown in 0, it is a signal in the vicinity of 127 (decimal), that is, a signal corresponding to a uniform gray color (intermediate brightness from white to black) at a shutter speed of 1/60 seconds.

【0123】なお、しきい値データ作成時の露光量をデ
ータシンボル38の読み取り時のほぼ半分とするための
方法は、前記のようにCCD43のシャッター速度をデ
ータシンボル38の読み取り時のほぼ2倍にする方法に
限定されず、この他、例えば、後述する絞り機構による
絞り値の調整や光学フィルターの使用により、CCD4
3での受光光量をデータシンボル38の読み取り時のほ
ぼ半分にする方法、これらを組み合わせた方法等が挙げ
られる。
As a method for making the exposure amount at the time of creating the threshold value data almost half of that at the time of reading the data symbol 38, as described above, the shutter speed of the CCD 43 is almost twice that at the time of reading the data symbol 38. However, the CCD 4 may be adjusted by adjusting the aperture value using an aperture mechanism, which will be described later, or by using an optical filter.
Examples of the method include a method of reducing the amount of received light at 3 to about half that at the time of reading the data symbol 38, a method of combining these, and the like.

【0124】次いで、図9中下側の拡大図に示すよう
に、デシタル画像信号は、複合クロック信号(fCL)に
基づいて、8画素毎に順次抽出され、しきい値データと
される。この場合、しきい値データは、隣接する2つの
複合クロック信号(fCL)間の8画素に共通であり、隣
接する2つの複合クロック信号(fCL)間のデジタル画
像信号のうちの代表値、すなわち図示の場合、初めの複
合クロック信号(fCL)に対応するデシタル画像信号値
とされる。以上のように作成されたしきい値データは、
データバス17を介して不揮発性メモリー13に格納さ
れる。この場合、しきい値データの不揮発性メモリー1
3への書き込みのアドレスは、制御手段15に内蔵され
たアドレスカウンターにより決定される。
Then, as shown in the enlarged view of the lower side of FIG. 9, the digital image signal is sequentially extracted for every 8 pixels based on the composite clock signal (f CL ) and used as threshold data. In this case, the threshold data is common to 8 pixels between two adjacent composite clock signal (f CL), the representative value of the digital image signals between two adjacent composite clock signal (f CL) That is, in the illustrated case, the digital image signal value corresponds to the first composite clock signal (f CL ). The threshold data created as above is
It is stored in the non-volatile memory 13 via the data bus 17. In this case, nonvolatile memory for threshold data 1
The address to be written in 3 is determined by the address counter built in the control means 15.

【0125】ここで、図9中のプリブランキング(PB
LK)信号は、水平同期信号(HD)および垂直同期信
号(VD)を複合して生成されるものであり、前記複合
クロック信号(fCL)を水平同期信号(HD)および垂
直同期信号(VD)のそれぞれに同期させるために利用
されている。この場合、PBLKは、画像処理の都合
上、CCD43のオプティカルブラック部の信号をサン
プリングするために、水平同期信号(HD)に対して所
定の位相差を有しているが、PBLKは、水平同期信号
(HD)と同位相であってもよい。なお、PBLKの水
平同期信号(HD)に対する位相差は、CCD43の有
効画素領域に影響を及ぼさない範囲内で任意に設定する
ことができる。
Here, the pre-blanking (PB in FIG. 9
The LK) signal is generated by combining a horizontal synchronizing signal (HD) and a vertical synchronizing signal (VD), and the composite clock signal (f CL ) is generated as a horizontal synchronizing signal (HD) and a vertical synchronizing signal (VD). ) Is used to synchronize with each. In this case, the PBLK has a predetermined phase difference with respect to the horizontal synchronizing signal (HD) in order to sample the signal of the optical black portion of the CCD 43 for convenience of image processing. It may have the same phase as the signal (HD). The phase difference of the PBLK with respect to the horizontal synchronizing signal (HD) can be set arbitrarily within a range that does not affect the effective pixel area of the CCD 43.

【0126】具体的にPBLKの適用を説明すると、図
9中PBLKが「L」の期間は、クロック信号fCKが消
去(ブランキング)され、PBLKが「H」の期間にお
いてのみクロック信号fCKが分周され、これにより水平
同期信号(HD)および垂直同期信号(VD)に同期し
ている複合クロック信号(fCL)が生成される。例え
ば、水平同期信号(HD)に関しては、クロック信号f
CKのうち0番の信号は消去され、クロック信号fCKのう
ち1〜8番の信号のみが分周され、これにより水平同期
信号(HD)に同期している複合クロック信号(fCL
が得られる。垂直同期信号(VD)に関しても同様であ
る。
[0126] More specifically describing an application of PBLK, period PBLK in FIG. 9 of "L", the clock signal f CK is erased (blanking), the clock signal only during the period of PBLK is "H" f CK Is divided, whereby a composite clock signal (f CL ) synchronized with the horizontal synchronizing signal (HD) and the vertical synchronizing signal (VD) is generated. For example, for the horizontal synchronizing signal (HD), the clock signal f
The 0th signal of CK is erased and only the 1st to 8th signals of the clock signal fCK are divided, whereby the composite clock signal (f CL ) synchronized with the horizontal synchronizing signal (HD).
Is obtained. The same applies to the vertical sync signal (VD).

【0127】ここに、複合クロック信号(fCL)が垂直
および水平同期信号に同期している状態とは、複合クロ
ック信号(fCL)が、そのエッジ部と垂直および水平同
期信号それぞれのエッジ部とが所定の固定された位相差
(位相差が0、すなわち同位相の場合も含む)をもって
出力されている状態を示す。
[0127] Here, the state in which the composite clock signal (f CL) is synchronized with the vertical and horizontal synchronizing signals, the composite clock signal (f CL) is, the edge portion and the vertical and horizontal synchronizing signals each edge portion And are output with a predetermined fixed phase difference (including the case where the phase difference is 0, that is, the same phase).

【0128】なお、本実施例では、実用上は全部の画素
を比較する必要がない点等から、不揮発性メモリー13
へのしきい値データの書き込みおよび読み出しのための
信号を、周波数がfCK/8であり、かつ、垂直および水
平同期信号との同期がとれた複合クロック信号(fCL
としている。これにより不揮発性メモリー13へ書き込
まれるしきい値データを、デジタル画像信号から8画素
毎に抽出することとなり、メモリーの省容量化が図れる
とともに、メモリーアクセスの効率の向上が図れる。
In this embodiment, it is not necessary to compare all the pixels in practical use.
A signal for writing and reading threshold data to and from a composite clock signal (f CL ) having a frequency of f CK / 8 and synchronized with vertical and horizontal synchronizing signals.
I am trying. As a result, the threshold value data to be written in the non-volatile memory 13 is extracted from the digital image signal every 8 pixels, so that the capacity of the memory can be saved and the efficiency of memory access can be improved.

【0129】なお、本発明では、不揮発性メモリー13
へのしきい値データの書き込みおよび読み出しのための
複合クロック信号の周波数はこれに限定されない。例え
ば、不揮発性メモリー13の容量が、全部の画素に関す
るしきい値データを記憶しうる程度のものであれば、複
合クロック信号の周波数をA/D変換器9のサンプリン
グ周波数fCKと同じ周波数とし、この複合クロック信号
に基づいて全部の画素に関するしきい値データを格納す
るような構成であってもよい。
In the present invention, the nonvolatile memory 13
The frequency of the composite clock signal for writing and reading the threshold data to and from is not limited to this. For example, if the capacity of the non-volatile memory 13 is such that threshold data for all pixels can be stored, the frequency of the composite clock signal is set to the same frequency as the sampling frequency f CK of the A / D converter 9. The threshold data for all the pixels may be stored based on the composite clock signal.

【0130】ここで、データシンボル38の読み取り時
と異なる露出で読み取りを行ってしきい値データを作成
する方法としては、前述した露光量を半減させる方法に
限定されず、この他、例えば、シャッター速度および絞
り以外の後述する各露出調整項目のいずれかを変更する
等、読み取られた画像信号の処理(補正)により行う方
法が挙げられる。具体例としては、ボルテージコントロ
ールアンプ82の増幅倍率(利得)をほぼ半分にして読
み取りを行う方法等が挙げられる。
Here, the method of reading the data symbol 38 at an exposure different from that at the time of reading to create the threshold data is not limited to the above-described method of halving the exposure amount, and other than this, for example, a shutter is used. A method of performing processing (correction) of the read image signal, such as changing any of the exposure adjustment items described below other than the speed and the aperture, may be used. As a specific example, there is a method of reading with the amplification ratio (gain) of the voltage control amplifier 82 being almost halved.

【0131】また、前述したような露出の調整や信号処
理(補正)によらず、例えば、一様なグレー色(白色か
ら黒色までの中間の明度)のテストチャートを使用して
しきい値データを作成してもよい。
Further, regardless of the exposure adjustment and the signal processing (correction) as described above, for example, a threshold value data is obtained by using a test chart of uniform gray color (intermediate lightness from white to black). May be created.

【0132】次に、実際にデータシンボルを読み取る際
には、A/D変換されたデシタル画像信号は、2値化回
路10において、以上のようにして作成されたしきい値
データと比較されて2値化データ(シリアルデータ)と
され、さらにシリアル/パラレル変換回路11により、
例えば8ビットのデータ(パラレルデータ)とされる。
このパラレルデータを得る方法は、次の通りである。
Next, when actually reading the data symbol, the A / D-converted digital image signal is compared with the threshold data created as described above in the binarization circuit 10. It is converted to binary data (serial data), and further, by the serial / parallel conversion circuit 11,
For example, it is 8-bit data (parallel data).
The method of obtaining this parallel data is as follows.

【0133】図11は、パラレルデータを得る際のタイ
ミングチャートである。以下、このタイミングチャート
に基づいて説明する。
FIG. 11 is a timing chart for obtaining parallel data. Hereinafter, description will be given based on this timing chart.

【0134】まず、不揮発性メモリー13から読み出さ
れた8ビットのしきい値データと、A/D変換された8
ビットのデジタル画像信号とを1画素毎に比較する。こ
の場合、デジタル画像信号がしきい値データ以上の場合
には、Hiレベルの信号(5Vの電圧)が出力され、デ
ジタル画像信号がしきい値データ未満の場合には、Lo
wレベルの信号(0Vの電圧)が出力される。このよう
にして、各画素毎に8ビットのデジタル画像信号が1ビ
ットの信号に変換(2値化)され、図示する矩形状の2
値化波形、すなわち2値化データ(シリアルデータ)が
得られる。
First, the 8-bit threshold data read from the nonvolatile memory 13 and the A / D converted 8
A bit digital image signal is compared for each pixel. In this case, when the digital image signal is above the threshold data, a Hi level signal (voltage of 5V) is output, and when the digital image signal is below the threshold data, Lo is output.
A w-level signal (voltage of 0V) is output. In this way, the 8-bit digital image signal for each pixel is converted (binarized) into a 1-bit signal, and the rectangular 2
A binarized waveform, that is, binarized data (serial data) is obtained.

【0135】ここで、不揮発性メモリー13からのしき
い値データの読み出しは、書き込みのレートと同様に周
波数fCK/8の複合クロック信号(fCL)に基づいて行
われるが、A/D変換器9からのデジタル画像信号とし
きい値データとの比較および2値化動作は、それぞれク
ロック信号(fCK)に基づいて行われる。すなわち、制
御手段15は、しきい値データを一時的に格納するメモ
リーを有しており、不揮発性メモリー13から複合クロ
ック信号(fCL)に基づいて読み出された1画素に対応
するしきい値データは、一旦制御手段15内の前記メモ
リーに格納され、次に複合クロック信号(fCL)に基づ
いて読み出される1画素に対応するしきい値データが制
御手段15内の前記メモリーに格納されて更新されるま
で、クロック信号(fCK)に基づいて同じしきい値デー
タを8回2値化回路10へ送出する。これにより、比較
する画素がずれることなく、しきい値データとデジタル
画像信号とを比較できる。
Here, the reading of the threshold data from the non-volatile memory 13 is performed based on the composite clock signal (f CL ) of the frequency f CK / 8 similarly to the writing rate, but the A / D conversion is performed. The comparison between the digital image signal from the container 9 and the threshold data and the binarization operation are performed based on the clock signal (f CK ), respectively. That is, the control means 15 has a memory for temporarily storing the threshold value data, and the threshold value corresponding to one pixel read from the non-volatile memory 13 based on the composite clock signal (f CL ). The value data is once stored in the memory in the control means 15, and then the threshold value data corresponding to one pixel read based on the composite clock signal (f CL ) is stored in the memory in the control means 15. The same threshold value data is sent to the binarization circuit 10 eight times based on the clock signal (f CK ) until it is updated. As a result, the threshold value data and the digital image signal can be compared without shifting the compared pixel.

【0136】また、制御手段15は、単位時間当りの複
合クロック信号(fCL)の個数をカウントすることによ
り、水平同期および垂直同期のタイミングを把握する機
能を有している。例えば、水平同期については、水平方
向1行当りの画素数が512の場合、1H期間に複合ク
ロック信号(fCL)が64個検出される。垂直同期につ
いては、ブランク期間が水平同期の間隔に比較してはる
かに長いので、複合クロック信号(fCL)の有無と水平
同期のタイミングとの関係から垂直同期のタイミングを
把握することができる。
Further, the control means 15 has a function of grasping the timing of horizontal synchronization and vertical synchronization by counting the number of composite clock signals (f CL ) per unit time. For horizontal synchronization, for example, when the number of pixels per horizontal row is 512, 64 composite clock signals (f CL ) are detected in the 1H period. As for the vertical synchronization, the blank period is much longer than the horizontal synchronization interval, and therefore the vertical synchronization timing can be grasped from the relationship between the presence or absence of the composite clock signal (f CL ) and the horizontal synchronization timing.

【0137】これによって、制御手段15により、各メ
モリーのアドレス制御を読み取り部4の垂直および水平
同期信号に対応させて行うことが可能となる。例えば、
制御手段15は、書き込みおよび読み出し開始等の指令
を垂直または水平同期信号に対応させてメモリー制御回
路14へ送出でき、これによりメインメモリー12のフ
ォーマット形式と相まって、効率良く一連のシーケンス
動作を行うことが可能となる。
As a result, the control means 15 can control the address of each memory in accordance with the vertical and horizontal synchronizing signals of the reading section 4. For example,
The control means 15 can send a command such as writing and reading start to the memory control circuit 14 in correspondence with a vertical or horizontal synchronizing signal, and thus, in combination with the format format of the main memory 12, perform a series of sequence operations efficiently. Is possible.

【0138】なお、制御手段15は、メモリー制御回路
14を介して現在アクセスされているアドレスも把握し
ている。
The control means 15 also grasps the address currently accessed via the memory control circuit 14.

【0139】次いで、この2値化データは、8画素分の
データをまとめた1つのデータ、すなわち8ビット単位
のパラレルデータに変換されて、メインメモリー12の
所定の各アドレスに格納される。すなわち、図11中1
6進で表されたF1がアドレス番号0に、FCがアドレ
ス番号1に、3Cがアドレス番号2に、それぞれ8ビッ
トのデータとして格納される。
Next, this binarized data is converted into one data in which the data for 8 pixels are put together, that is, parallel data in units of 8 bits, and stored in each predetermined address of the main memory 12. That is, 1 in FIG.
Hexadecimal F1 is stored in the address number 0, FC is stored in the address number 1, and 3C is stored in the address number 2 as 8-bit data.

【0140】このように、メインメモリー12にnビッ
トのデータとして格納されるため、画像データをより高
速で書き込みおよび読み出しすることができる。
Since the image data is stored in the main memory 12 as n-bit data as described above, the image data can be written and read at a higher speed.

【0141】次に、メインメモリー12にnビットのデ
ータを書き込む方法およびメインメモリー12からnビ
ットのデータを読み出す方法の好適例について説明す
る。
Next, preferred examples of a method of writing n-bit data in the main memory 12 and a method of reading n-bit data from the main memory 12 will be described.

【0142】図12は、メインメモリー12のメモリー
マップを模式的に示す説明図である。同図に示すよう
に、メインメモリー12は、前述したフレーム画像に対
応すべく、第1フィールドに対応するデータを格納する
ための第1領域12aと、第2フィールドに対応するデ
ータを格納するための第2領域12bとを有している。
FIG. 12 is an explanatory diagram schematically showing a memory map of the main memory 12. As shown in the figure, the main memory 12 stores the first area 12a for storing the data corresponding to the first field and the data corresponding to the second field so as to correspond to the frame image described above. Second region 12b.

【0143】また、第1領域12a、第2領域12b
は、それぞれ、画像データが格納される画像データ記憶
領域121a、121bと、帰線期間等に対応するデー
タが格納されるブランク領域123a、123b(図中
斜線を施した部分)とを有している。この場合、前記ブ
ランク領域123aは、第1領域12aの図12中右側
および下側に位置しており、ブランク領域123bは、
第2領域12bの図12中右側および下側に位置してい
る。
In addition, the first area 12a and the second area 12b
Respectively have image data storage areas 121a and 121b in which image data is stored, and blank areas 123a and 123b (hatched portions in the figure) in which data corresponding to a blanking period and the like are stored. There is. In this case, the blank area 123a is located on the right side and the lower side of the first area 12a in FIG. 12, and the blank area 123b is
The second region 12b is located on the right side and the lower side in FIG.

【0144】なお、メインメモリー12のアドレスの数
は特に限定されないが、説明の都合上、図示のメインメ
モリー12は、例えば100行×100列のアドレス
(A00001)、(A00002)・・・(A099
99)、(A10000)を有しているものとする。こ
の場合、メインメモリー12上の1行は、1H分のデー
タにほぼ等しいものとされる。
The number of addresses in the main memory 12 is not particularly limited, but for convenience of description, the illustrated main memory 12 has, for example, 100 rows × 100 columns of addresses (A00001), (A00002) ... (A099).
99) and (A10000). In this case, one row on the main memory 12 is almost equal to 1H worth of data.

【0145】このような構成のメインメモリー12にn
ビットのデータを書き込む際には、メモリー制御回路1
4は、制御手段15からの指令および入力されてくる複
合クロック信号(fCL)に基づいてメインメモリー12
のアドレス制御を実行する。すなわち、アドレス指定に
ついては、行方向(水平方向)に関するアドレスの更新
は、入力されてくる複合クロック信号(fCL)に基づい
て行われ、行方向の書き込み動作の開始のタイミング、
後述する次の行アドレスの先頭番地へのシフト動作、フ
ィールド変更(垂直同期)に伴うアドレスの変更動作等
は、それぞれ制御手段15からの指令に基づいて行われ
る。
In the main memory 12 having such a configuration, n
When writing bit data, the memory control circuit 1
Reference numeral 4 designates the main memory 12 based on the command from the control means 15 and the input composite clock signal (f CL ).
Address control of. That is, regarding addressing, the update of the address in the row direction (horizontal direction) is performed based on the input composite clock signal (f CL ), and the start timing of the write operation in the row direction,
The shift operation to the head address of the next row address, which will be described later, the address change operation associated with the field change (vertical synchronization), and the like are performed based on commands from the control means 15, respectively.

【0146】例えば、メインメモリー12にnビットの
データを書き込む場合には、メモリー制御回路14のア
ドレスカウンタは、周波数がfCK/8の複合クロック信
号(fCL)に基づいてアドレスを順次指定していく。こ
の場合、前述したように制御手段15は水平同期および
垂直同期のタイミングを把握しており、制御手段15
は、垂直同期信号(VD)のタイミングに基づいてメモ
リー制御回路14へ指令を送出し、この指令によりメモ
リー制御回路14は、初めのデータを格納するための図
12中左上端部のアドレス(A00001)を指定す
る。このようにして、第1フィールドの第1行目のデー
タが、順次、第1領域12aの第1行目のアドレス(A
00001)〜(A00100)に書き込まれていく。
For example, when writing n-bit data to the main memory 12, the address counter of the memory control circuit 14 sequentially designates addresses based on the composite clock signal (f CL ) having the frequency f CK / 8. To go. In this case, the control means 15 knows the timing of the horizontal synchronization and the vertical synchronization as described above, and the control means 15
Sends a command to the memory control circuit 14 based on the timing of the vertical synchronization signal (VD), and the memory control circuit 14 receives the command and causes the memory control circuit 14 to store the first data. ) Is specified. In this way, the data of the first row of the first field is sequentially transferred to the address (A of the first row of the first area 12a).
00001) to (A00100).

【0147】ここで、第1フィールドの第1行目のデー
タをすべて書き込んだ結果、第1行目のアドレスが余っ
てしまった場合、または第1行目のアドレスのみでは足
りず第2行目のアドレスの途中まで使用してしまった場
合でも、制御手段15は、次の水平同期信号(HD)の
タイミングに基づいてメモリー制御回路14へ指令を送
出し、この指令によりメモリー制御回路14は、次のデ
ータを格納するためのアドレスとして、第1領域12a
の第2行目の左端部のアドレス(A00101)を指定
する。そして、第1フィールドの第2行目のデータは、
アドレス(A00101)から書き込まれ、順次、第1
領域12aの第2行目のアドレスに書き込まれていく。
以下同様にして、順次、第1フィールドに対応するデー
タがメインメモリー12の第1領域12aの所定のアド
レスに書き込まれていく。
Here, as a result of writing all the data of the first line of the first field, the addresses of the first line are left over, or the addresses of the first line are not enough and the second line is not sufficient. Even if it has been used up to the middle of the address, the control means 15 sends a command to the memory control circuit 14 based on the timing of the next horizontal synchronizing signal (HD), and the memory control circuit 14 receives this command. As an address for storing the next data, the first area 12a
The address (A00101) at the left end of the second line of is specified. Then, the data in the second line of the first field is
It is written from the address (A00101), and the first
Data is written to the address of the second row in the area 12a.
In the same manner, the data corresponding to the first field is sequentially written to the predetermined address of the first area 12a of the main memory 12.

【0148】この場合、第1フィールドに対応するデー
タをすべて書き込んだ結果、第1領域12aのアドレス
が余ってしまった場合(例えば、数行余ってしまった場
合)、または第1領域12aのアドレスのみでは足りず
第2領域12bのアドレスの途中まで使用してしまった
場合(例えば、数行使用してしまった場合)でも、制御
手段15は、次の垂直同期信号(VD)のタイミングに
基づいてメモリー制御回路14へ指令を送出し、この指
令によりメモリー制御回路14は、次のデータ、すなわ
ち第2フィールドの初めのデータを格納するためのアド
レスとして、第2領域12bの第1行目の左端部のアド
レス(A05001)を指定する。そして、第2フィー
ルドの第1行目のデータが、順次、第2領域12bの第
1行目のアドレス(A05001)〜(A05100)
に書き込まれていく。
In this case, as a result of writing all the data corresponding to the first field, the address of the first area 12a is left over (for example, when several lines are left over), or the address of the first area 12a is left over. Even when the address of the second area 12b is used halfway (for example, when it is used for several lines), the control means 15 determines the timing based on the next vertical synchronization signal (VD). To send a command to the memory control circuit 14, and the command causes the memory control circuit 14 to store the next data, that is, the first data of the second field, as an address for storing the first data in the first row of the second area 12b. The address (A05001) at the left end is designated. Then, the data of the first row of the second field is sequentially transferred to the addresses (A05001) to (A05100) of the first row of the second area 12b.
Will be written in.

【0149】以下、前記第1領域12aの場合と同様に
して、順次、第2フィードに対応するデータがメインメ
モリー12の第2領域12bの所定のアドレスに書き込
まれていく。このようにして、1フレーム分のデータが
メインメモリー12の所定のアドレスに書き込まれる。
Thereafter, similarly to the case of the first area 12a, the data corresponding to the second feed is sequentially written into the predetermined address of the second area 12b of the main memory 12. In this way, the data for one frame is written to the predetermined address of the main memory 12.

【0150】なお、本実施例ではメインメモリー12に
nビットのデータを書き込む場合、メモリー制御回路1
4は、制御手段15からの指令および入力されてくる複
合クロック信号(fCL)に基づいてメインメモリー12
のアドレス制御を実行するよう構成されているが、この
他、例えば、メモリー制御回路14が、前記制御手段1
5と同様に、水平同期および垂直同期のタイミングを把
握または検出する機能を有するような構成であってもよ
い。
In this embodiment, when n-bit data is written in the main memory 12, the memory control circuit 1
Reference numeral 4 designates the main memory 12 based on the command from the control means 15 and the input composite clock signal (f CL ).
In addition to this, for example, the memory control circuit 14 is configured to execute the address control of
As in the case of 5, the configuration may have a function of grasping or detecting the timing of horizontal synchronization and vertical synchronization.

【0151】次に、メインメモリー12からnビットの
データを読み出す場合には、制御手段15は、例えば、
独自のレート(画像処理用のレート)により読み出しを
行う。この場合、制御手段15は、メモリー制御回路1
4を介してまたは自らが直接アドレスを指定して読み出
すことが可能である。なお、書き込み時と同じ複合クロ
ック信号(fCL)のレートにより読み出しを行うことも
可能である。
Next, when reading out n-bit data from the main memory 12, the control means 15 uses, for example,
Reading is performed at an original rate (rate for image processing). In this case, the control means 15 is the memory control circuit 1
It is possible to read by designating an address directly via 4 or by itself. It is also possible to read at the same rate of the composite clock signal (f CL ) as that at the time of writing.

【0152】以下、制御手段15がメインメモリー12
からデータを読み出す場合の制御について、図12に基
づいて説明する。
Hereinafter, the control means 15 controls the main memory 12
Control for reading data from the memory will be described with reference to FIG.

【0153】制御手段15は、所定のクロック信号に基
づいてメモリー制御回路14へ指令を送出し、この指令
によりメモリー制御回路14は、そのアドレスカウンタ
ーにより、初めのデータを読み出すための図12中左上
端部のアドレス(A00001)を指定する。この後、
第1フィールドの第1行目のデータが、順次、第1領域
12aの第1行目のアドレス(A00001)〜(A0
0100)から読み出されていく。
The control means 15 sends a command to the memory control circuit 14 based on a predetermined clock signal, and the memory control circuit 14 uses this command to read the first data from its address counter. The end address (A00001) is designated. After this,
The data of the first row of the first field are sequentially transferred to the addresses (A00001) to (A0 of the first row of the first area 12a).
0100).

【0154】そして、制御手段15は、所定のクロック
信号に基づいてメモリー制御回路14へ指令を送出し、
この指令によりメモリー制御回路14は、次のデータを
読み出すためのアドレスとして、第2領域12bの第1
行目の左端部のアドレス(A05001)を指定する。
Then, the control means 15 sends a command to the memory control circuit 14 based on a predetermined clock signal,
In response to this command, the memory control circuit 14 uses the first area of the second area 12b as an address for reading the next data.
The address (A05001) at the left end of the line is designated.

【0155】この後、第2フィールドの第1行目のデー
タが、順次、第2領域12bの第1行目のアドレス(A
05001)〜(A05100)から読み出されてい
く。以下同様にして、第1フィールドに対応するデータ
と、第2フィールドに対応するデータとが、行単位で交
互に、メインメモリー12の所定のアドレスから読み出
される。
After that, the data of the first row of the second field is sequentially transferred to the address (A of the first row of the second area 12b).
05001) to (A05100). Similarly, the data corresponding to the first field and the data corresponding to the second field are alternately read from the main memory 12 at a predetermined address in units of rows.

【0156】上述したように、メインメモリー12にデ
ータを書き込む際には、メインメモリー12上におい
て、画像データの行単位の始端を図12中左側端部に統
一することにより、読み取り部4でのCCD43上の受
光領域がそのまま前記メインメモリー12上の画像デー
タ記録領域121a、121bに対応することとなる。
これにより、メインメモリー12からデータを読み出す
際、あるいは読み出し後に、画像データの整列または抽
出等を行うための処理や制御が簡易になり、回路構成の
簡素化および処理の高速化が図れる。
As described above, when writing data into the main memory 12, the start end of the line unit of the image data in the main memory 12 is unified to the left end in FIG. The light receiving area on the CCD 43 directly corresponds to the image data recording areas 121a and 121b on the main memory 12.
This simplifies the processing and control for aligning or extracting the image data when or after reading the data from the main memory 12, and simplifies the circuit configuration and speeds up the processing.

【0157】本発明のデータシンボル読み取り装置1
は、読み取りの際の露出調整を行う露出調整手段および
入出力特性の調整を行う入出力特性調整手段を有してい
る。
Data symbol reading apparatus 1 of the present invention
Has an exposure adjusting means for adjusting exposure during reading and an input / output characteristic adjusting means for adjusting input / output characteristics.

【0158】図13は、露出調整手段および入出力特性
調整手段を有するCCD駆動回路6および増幅回路8の
構成例を示すブロック図である。同図に示すように、C
CD駆動回路6は、CCD駆動パルス発生回路61と、
CCDドライバー63と、VSUBドライバー64とで
構成されており、CCD駆動パルス発生回路61は、前
述した水晶発振器62を有している。
FIG. 13 is a block diagram showing a configuration example of the CCD drive circuit 6 and the amplification circuit 8 having the exposure adjusting means and the input / output characteristic adjusting means. As shown in the figure, C
The CD drive circuit 6 includes a CCD drive pulse generation circuit 61,
It is composed of a CCD driver 63 and a VSUB driver 64, and the CCD drive pulse generation circuit 61 has the above-mentioned crystal oscillator 62.

【0159】CCD駆動パルス発生回路61は、CCD
43を作動させるCCD水平駆動パルスと、CCD垂直
駆動パルスとを発生し、これらのパルスは、CCDドラ
イバー63を介してCCD43上の所望の端子へ入力さ
れる。
The CCD drive pulse generation circuit 61 is a CCD
A CCD horizontal drive pulse for activating 43 and a CCD vertical drive pulse are generated, and these pulses are input to desired terminals on the CCD 43 via the CCD driver 63.

【0160】また、CCD駆動パルス発生回路61は、
CCD43の基板電圧を制御するVSUB信号を発生
し、VSUBドライバー64を介して、例えばVSUB
信号がLowレベルの信号ならばCCD43の基板電圧
を通常10V前後に制御してブルーミング等を抑制し、
また、VSUB信号がHiレベルの信号ならばCCD4
3の基板電圧を通常20〜30V前後に制御してCCD
43の画素の電荷を全てリセットする。この場合、VS
UB信号のHiレベルの信号をパルス状に出力し、この
Hiレベルの信号と、画素から垂直転送CCDに転送す
るタイミングとの間隔を調整することによって、CCD
43での電荷の蓄積時間が変わり、シャッター速度が調
整される。なお、画素から垂直転送CCDに転送するタ
イミングは、TV走査の垂直ブランキング期間に行われ
る。
Further, the CCD drive pulse generation circuit 61 is
A VSUB signal for controlling the substrate voltage of the CCD 43 is generated and, for example, VSUB is generated via the VSUB driver 64.
If the signal is a low level signal, the substrate voltage of the CCD 43 is usually controlled to about 10 V to suppress blooming,
If the VSUB signal is a high level signal, the CCD 4
The substrate voltage of 3 is usually controlled to around 20 to 30 V and the CCD
All the charges of the 43 pixels are reset. In this case VS
By outputting the Hi level signal of the UB signal in a pulse form and adjusting the interval between this Hi level signal and the timing of transfer from the pixel to the vertical transfer CCD, the CCD
The charge accumulation time at 43 changes and the shutter speed is adjusted. The timing of transfer from the pixels to the vertical transfer CCD is performed during the vertical blanking period of TV scanning.

【0161】このようなCCD駆動パルス発生回路61
は、制御手段15から出力される制御信号P1 、P2
(各1ビットのデジタル信号)によって、その駆動が制
御されている。すなわち、本実施例では、下記表1に示
すように、制御信号P1 、P2の入力パターンによっ
て、1/60秒、1/125秒、1/250秒および1
/500秒の4種類のシャッター速度が選択される。
Such a CCD drive pulse generation circuit 61
Are control signals P 1 and P 2 output from the control means 15.
The drive is controlled by (each 1-bit digital signal). That is, in this embodiment, as shown in Table 1 below, depending on the input pattern of the control signals P 1 and P 2 , 1/60 seconds, 1/125 seconds, 1/250 seconds and 1
Four shutter speeds of / 500 seconds are selected.

【0162】一方、増幅回路8は、サンプル/ホールド
回路81と、ボルテージコントロールアンプ(以下、V
CAという)82と、ガンマ補正回路83と、ニー回路
86とで構成されており、これらは、CCD43側から
前記順序で直列に接続されている。CCD43から出力
された画像信号(アナログ信号)は、サンプル/ホール
ド回路81に一旦蓄えられ、VCA82において所望の
増幅倍率で増幅され、ガンマ補正回路83およびニー回
路86を経た後、A/D変換器9にてデジタル画像信号
とされる。
On the other hand, the amplifier circuit 8 includes a sample / hold circuit 81 and a voltage control amplifier (hereinafter referred to as V
CA) 82, a gamma correction circuit 83, and a knee circuit 86, which are connected in series in this order from the CCD 43 side. The image signal (analog signal) output from the CCD 43 is temporarily stored in the sample / hold circuit 81, amplified by the VCA 82 with a desired amplification factor, and passed through the gamma correction circuit 83 and the knee circuit 86, and then the A / D converter. At 9, the digital image signal is obtained.

【0163】VCA82においては、VCA82に入力
される制御信号(アナログ電圧)A1 により、画像信号
の増幅倍率、すなわち感度の調整がなされる。この場
合、前記制御信号A1 は、常時、VCA82に入力され
ている。
In the VCA 82, the amplification factor of the image signal, that is, the sensitivity is adjusted by the control signal (analog voltage) A 1 input to the VCA 82. In this case, the control signal A 1 is always input to the VCA 82.

【0164】ガンマ補正回路83は、例えば図17に示
すようなガンマ特性(曲線の傾きの度合)の相違に対応
するものである。本実施例におけるガンマ補正回路83
は、2種類のガンマ補正値γ1 、γ2 が得られるよう
に、並列に接続された2つの補正回路を有しており、こ
れらに切り替えスイッチ84が接続された構成とされて
いる。前記2つの補正回路には、端子85a、85bが
それぞれ設けられ、これらの端子85a、85bのいず
れか一方に切り替えスイッチ84の切り替え端子が接続
され、ガンマ補正値γ1 、γ2 が選択される。
The gamma correction circuit 83 corresponds to a difference in gamma characteristics (degree of inclination of curve) as shown in FIG. 17, for example. Gamma correction circuit 83 in this embodiment
Has two correction circuits connected in parallel so that two kinds of gamma correction values γ 1 and γ 2 can be obtained, and a changeover switch 84 is connected to these. The two correction circuits are provided with terminals 85a and 85b respectively, and one of these terminals 85a and 85b is connected to the switching terminal of the changeover switch 84 to select the gamma correction values γ 1 and γ 2. .

【0165】なお、図17に示すガンマ特性および図1
8に示す後述するニー特性においては、それぞれ、入力
レベル「S」のときの出力レベル「S’」が、基準の白
色レベルとなるように構成されている。
Note that the gamma characteristic shown in FIG. 17 and FIG.
In the knee characteristics described later shown in FIG. 8, the output level “S ′” at the input level “S” is configured to be the reference white level.

【0166】このような切り替えスイッチ84の切り替
えは、制御手段15より出力される制御信号P3 (1ビ
ットのデジタル信号)によって制御される(下記表1参
照)。
The changeover of the changeover switch 84 is controlled by the control signal P 3 (1-bit digital signal) output from the control means 15 (see Table 1 below).

【0167】ニー回路86は、例えば図18に示すよう
なニー特性、すなわち大光量(入力レベルS以上)の領
域における出力レベルの圧縮の度合い(飽和レベル付近
における屈曲点の移動)を決定するものである。本実施
例では、ニー回路86に入力される制御信号(アナログ
電圧)A2 により、ニー特性が段階的に調整されるよう
に構成されている。なお、前記制御信号A2 は、常時、
ニー回路86に入力されている。
The knee circuit 86 determines, for example, the knee characteristic as shown in FIG. 18, that is, the degree of compression of the output level (movement of the bending point near the saturation level) in the region of large light quantity (input level S or more). Is. In this embodiment, the knee characteristic is adjusted stepwise by the control signal (analog voltage) A 2 input to the knee circuit 86. The control signal A 2 is always
It is input to the knee circuit 86.

【0168】前記制御信号A1 、A2 は、いずれもアナ
ログ電圧信号であって、このアナログ電圧信号は、制御
手段15から出力されるデンジタル信号をD/A変換器
22で変換して得られる信号である。本実施例におい
て、D/A変換器22から出力されるアナログ電圧信号
は、下記表2に示すように、0V〜5Vの範囲で16段
階の異なる電圧値である。
Each of the control signals A 1 and A 2 is an analog voltage signal, and this analog voltage signal is obtained by converting the digital signal output from the control means 15 by the D / A converter 22. It is a signal. In this embodiment, the analog voltage signal output from the D / A converter 22 has 16 different voltage values in the range of 0V to 5V, as shown in Table 2 below.

【0169】[0169]

【表1】 [Table 1]

【0170】[0170]

【表2】 [Table 2]

【0171】図13に示すD/A変換器22は、A1
よびA2 の2つのアナログ電圧信号が出力可能な2チャ
ンネルD/A変換器である。
The D / A converter 22 shown in FIG. 13 is a 2-channel D / A converter capable of outputting two analog voltage signals A 1 and A 2 .

【0172】制御手段15からD/A変換器22へ入力
される信号は、クロック信号、シリアルデータ信号(1
ビットのデジタル信号)、ロード信号の3種である。図
15は、これら3種の信号のタイミングチャートであ
る。同図に示すように、シリアルデータ信号およびロー
ド信号は、クロック信号に同期して出力される。ロード
信号L1 が入力された後、クロック信号に同期して5つ
のシリアルデータ信号D0 、D1 、D2 、D3 およびD
4 が順次D/A変換器22へ入力され、次のロード信号
2 の入力によって、これらのシリアルデータ信号がD
/A変換器22内で5ビットのパラレルデータ信号に変
換され、さらにこのパラレルデータ信号がアナログ電圧
信号に変換される。
The signals input from the control means 15 to the D / A converter 22 are clock signals and serial data signals (1
Bit digital signal) and load signal. FIG. 15 is a timing chart of these three types of signals. As shown in the figure, the serial data signal and the load signal are output in synchronization with the clock signal. After the load signal L 1 is input, the five serial data signals D 0 , D 1 , D 2 , D 3 and D are synchronized with the clock signal.
4 are sequentially input to the D / A converter 22, and when the next load signal L 2 is input, these serial data signals are D
In the / A converter 22, it is converted into a 5-bit parallel data signal, and this parallel data signal is further converted into an analog voltage signal.

【0173】この場合、本実施例では、表2に示すよう
に、D0 の値によって、アナログ電圧信号A1 、A2
いずれを出力するか、すなわちVCA82の感度調節と
ニー回路86のニー特性の設定のいずれを行うかの選択
がなされる。そして、D1 〜D4 の値の組み合わせによ
って、出力されるアナログ電圧信号A1 またはA2 の電
圧値が決定される。
In this case, in this embodiment, as shown in Table 2, which of the analog voltage signals A 1 and A 2 is to be output depending on the value of D 0 , that is, the sensitivity adjustment of the VCA 82 and the knee circuit 86 need to be adjusted. A selection is made as to which of the characteristics is set. Then, the voltage value of the output analog voltage signal A 1 or A 2 is determined by the combination of the values of D 1 to D 4 .

【0174】以上のように、本実施例における露出調整
手段は、CCD駆動パルス発生回路61と、増幅回路8
とに内在しており、その露出調整は、例えば、シャッタ
ー速度の調整(CCD電荷蓄積時間の調整)およびVC
A82の感度の調整(以下、これらを露出調整項目とい
う)のうちのいずれか1つまたは双方を行う。また、本
実施例における入出力特性調整手段は、増幅回路8に内
在しており、その入出力特性の調整は、例えば、ガンマ
補正回路83のガンマ値の選択およびニー回路86のニ
ー特性の設定(以下、これらを入出力特性調整項目とい
う)のうちのいずれか1つまたは双方を行う。
As described above, the exposure adjusting means in this embodiment is the CCD drive pulse generating circuit 61 and the amplifying circuit 8.
The exposure adjustment is, for example, adjustment of the shutter speed (adjustment of CCD charge accumulation time) and VC.
Any one or both of the sensitivity adjustments of A82 (hereinafter, these are referred to as exposure adjustment items) are performed. Further, the input / output characteristic adjusting means in the present embodiment is included in the amplifier circuit 8, and the input / output characteristic is adjusted, for example, by selecting the gamma value of the gamma correction circuit 83 and setting the knee characteristic of the knee circuit 86. One or both of these (hereinafter, referred to as input / output characteristic adjustment items) are performed.

【0175】一例として、制御手段15から出力される
信号P1 、P2 、P3 、D0 、D1、D2 、D3 および
4 が、それぞれ0、0、0、0、1、0、0および1
であった場合には、露出調整および入出力特性調整とし
て、シャッター速度1/60秒、ガンマ補正値γ1 で、
VCA82に3Vの電圧が印加されることとなる(表
1、表2参照)。
As an example, the signals P 1 , P 2 , P 3 , D 0 , D 1 , D 2 , D 3 and D 4 output from the control means 15 are 0 , 0 , 0 , 0 , 1 , respectively. 0, 0 and 1
If it is, the exposure speed and the input / output characteristics are adjusted with a shutter speed of 1/60 second and a gamma correction value γ 1 .
A voltage of 3V is applied to the VCA 82 (see Tables 1 and 2).

【0176】図13に示すように、制御手段15には、
例えばE2 PROMのような不揮発性メモリー23が接
続されている。この不揮発性メモリー23には、露出調
整データおよび入出力特性調整データが格納されてお
り、制御手段15による制御によって、所定時に不揮発
性メモリー23から露出調整データおよび入出力特性調
整データが読み出される。そして、制御手段15からC
CD駆動パルス発生回路61、ガンマ補正回路83およ
びD/A変換器22に出力される前記各信号P1、P
2 、P3 、D0 、D1 、D2 、D3 およびD4 は、不揮
発性メモリー23から読み出された露出調整データおよ
び入出力特性調整データに基づいて決定される。
As shown in FIG. 13, the control means 15 includes
A non-volatile memory 23 such as an E 2 PROM is connected. The nonvolatile memory 23 stores exposure adjustment data and input / output characteristic adjustment data, and under the control of the control means 15, the exposure adjustment data and the input / output characteristic adjustment data are read from the nonvolatile memory 23 at a predetermined time. Then, from the control means 15 to C
The signals P 1 and P output to the CD drive pulse generation circuit 61, the gamma correction circuit 83 and the D / A converter 22.
2 , P 3 , D 0 , D 1 , D 2 , D 3 and D 4 are determined based on the exposure adjustment data and the input / output characteristic adjustment data read from the nonvolatile memory 23.

【0177】不揮発性メモリー23内に格納されている
露出調整データは、前記各露出調整項目の少なくとも1
つを決定するためのデータである。また、不揮発性メモ
リー23内に格納されている入出力特性調整データは、
前記各入出力特性調整項目の少なくとも1つを決定する
ためのデータである。
The exposure adjustment data stored in the nonvolatile memory 23 is at least one of the exposure adjustment items.
This is the data for determining one. The input / output characteristic adjustment data stored in the non-volatile memory 23 is
This is data for determining at least one of the input / output characteristic adjustment items.

【0178】例えば、シャッター速度について代表的に
説明すると、各シャッター速度1/60秒、1/125
秒、1/250秒および1/500秒にそれぞれ対応す
るメモリーデータ(例えば、00、01、02、03
(16進))が、不揮発性メモリー23の所定のアドレ
スに格納されており、読み出されたメモリーデータか
ら、制御手段15の演算部における演算によりシャッタ
ー速度を特定する。シャッター速度以外の露出調整項目
および入出力特性調整項目についても同様である。
For example, the shutter speeds will be described representatively. The shutter speeds are 1/60 second and 1/125 second, respectively.
Second, 1/250 second and 1/500 second memory data (eg 00, 01, 02, 03)
(Hexadecimal) is stored in a predetermined address of the non-volatile memory 23, and the shutter speed is specified from the read memory data by calculation in the calculation unit of the control means 15. The same applies to exposure adjustment items and input / output characteristic adjustment items other than the shutter speed.

【0179】不揮発性メモリー23に格納されている露
出調整データは、通常、データシンボル読み取り装置の
工場出荷時にプリセットされる。この場合、不揮発性メ
モリー23には、1つの露出調整項目について1つの前
記メモリーデータ(1つの露出調整値)が記憶されてい
ても、1つの露出調整項目について複数のメモリーデー
タ(複数の露出調整値)が例えばテーブル化されて記憶
されていてもよい。前者の場合、不揮発性メモリー23
のメモリーデータを書き換えることにより、露出の設定
を変更することができる。また、後者の場合、例えば前
述した露出および入出力特性調整スイッチの選択に応じ
て、読み取り時に、設定すべき露出に対応するメモリー
データが読み出され、演算処理されて露出が決定される
ような構成とすることができる。このようなことは、前
記入出力特性調整データについても同様である。
The exposure adjustment data stored in the non-volatile memory 23 is normally preset when the data symbol reader is shipped from the factory. In this case, even if the non-volatile memory 23 stores one memory data item (one exposure adjustment value) for one exposure adjustment item, a plurality of memory data items (a plurality of exposure adjustment items) for one exposure adjustment item are stored. The value) may be stored as a table, for example. In the former case, the non-volatile memory 23
You can change the exposure setting by rewriting the memory data of. In the latter case, the memory data corresponding to the exposure to be set is read at the time of reading according to the selection of the exposure and the input / output characteristic adjustment switch described above, and the exposure is determined by arithmetic processing. It can be configured. The same applies to the input / output characteristic adjustment data.

【0180】なお、露出調整データおよび入出力特性調
整データの種類としては、前記メモリーデータに限ら
ず、例えば、各露出調整項目および各入出力特性調整項
目の設定値または特性、または、前記ガンマ補正値のよ
うな設定値または特性を決定するための係数や補正値
等、さらには、制御信号P1 、P2 、P3 、シリアルデ
ータ信号D0 〜D4 またはこれらのパラレル信号等の出
力パターン(表1、表2参照)等のデータであってもよ
い。そして、これらについても、前記と同様、1つの前
記データ(1つの調整値)が記憶されていても、複数の
データ(複数の調整値)が例えばテーブル化されて記憶
されていてもよい。
The types of the exposure adjustment data and the input / output characteristic adjustment data are not limited to the memory data. For example, set values or characteristics of each exposure adjustment item and each input / output characteristic adjustment item, or the gamma correction. A set value such as a value, a coefficient for determining a characteristic, a correction value, and the like, and further, an output pattern of the control signals P 1 , P 2 , P 3 , serial data signals D 0 to D 4, or parallel signals thereof. It may be data such as (see Table 1 and Table 2). Also for these, similarly to the above, one piece of the data (one adjustment value) may be stored, or a plurality of data (a plurality of adjustment values) may be stored in a table, for example.

【0181】図14は、前述した図13に示す構成に、
さらに異なる露出調整手段が付設された構成例を示すブ
ロック図である。同図に示す構成では、露出調整手段と
して、さらに絞り24と絞り駆動回路25とで構成され
る絞り機構が付設されている。
FIG. 14 shows the configuration shown in FIG.
FIG. 11 is a block diagram showing a configuration example in which a different exposure adjustment means is additionally provided. In the configuration shown in the figure, a diaphragm mechanism composed of a diaphragm 24 and a diaphragm drive circuit 25 is additionally provided as an exposure adjusting means.

【0182】絞り24は、CCD43の受光面側に設け
られ、CCD43での受光光量を調節するものであり、
絞り駆動回路25によって駆動される。絞り駆動回路2
5は、D/A変換器26を介して、制御手段15により
制御される。例えばこの絞り24を、アイリス・ストッ
プと、その絞り羽根を駆動するアイリスモータとで構成
し、アイリスモータの駆動量を調節することによって、
透光量を調節することができる。制御手段15は、絞り
駆動回路25を介してアイリスモータの駆動量を制御す
る。
The diaphragm 24 is provided on the light receiving surface side of the CCD 43 and adjusts the amount of light received by the CCD 43.
It is driven by the diaphragm drive circuit 25. Aperture drive circuit 2
5 is controlled by the control means 15 via the D / A converter 26. For example, the diaphragm 24 is composed of an iris stop and an iris motor that drives the diaphragm blades, and by adjusting the drive amount of the iris motor,
The amount of light transmission can be adjusted. The control means 15 controls the drive amount of the iris motor via the diaphragm drive circuit 25.

【0183】D/A変換器26は、A1 、A2 およびA
3 の3つのアナログ電圧信号が出力可能な3チャンネル
D/A変換器であり、それ以外の構成は前記D/A変換
器22と同様である。
The D / A converter 26 includes A 1 , A 2 and A
This is a 3-channel D / A converter capable of outputting three analog voltage signals of 3, and the other configuration is the same as that of the D / A converter 22.

【0184】D/A変換器26では、後述するように、
制御手段15から出力される3種のデジタル信号に基づ
いて、アナログ電圧信号A1 、A2 およびA3 を出力す
る。このうちのアナログ電圧信号A3 は、絞り駆動回路
25に入力される。絞り駆動回路25は、印加されるア
ナログ電圧の大小により、絞り値を連続的または段階的
(下記表3の場合、16段階)に調整するよう制御す
る。なお、前記アナログ電圧信号A1 、A2 およびA3
は、それぞれ、常時、D/A変換器26から出力されて
いる。
In the D / A converter 26, as will be described later,
Based on the three kinds of digital signals output from the control means 15, the analog voltage signals A 1 , A 2 and A 3 are output. Of these, the analog voltage signal A 3 is input to the diaphragm drive circuit 25. The diaphragm driving circuit 25 controls the diaphragm value to be adjusted continuously or stepwise (16 steps in the case of Table 3 below) depending on the magnitude of the applied analog voltage. The analog voltage signals A 1 , A 2 and A 3
Are always output from the D / A converter 26.

【0185】図16は、図14に示す絞り機構を有する
構成例におけるD/A変換器26に入力されるクロック
信号、シリアルデータ信号およびロード信号のタイミン
グチャートである。同図に示すように、ロード信号L1
が入力された後、クロック信号に同期して6つのシリア
ルデータ信号D0 、D1 、D2 、D3 、D4 およびD5
が順次D/A変換器26へ入力され、次のロード信号L
2 の入力によって、これらのシリアルデータ信号がD/
A変換器26内で6ビットのパラレルデータ信号に変換
され、さらにこのパラレルデータ信号がアナログ信号に
変換される。
FIG. 16 is a timing chart of the clock signal, serial data signal and load signal input to the D / A converter 26 in the configuration example having the diaphragm mechanism shown in FIG. As shown in the figure, the load signal L 1
After being input, six serial data signals D 0 , D 1 , D 2 , D 3 , D 4 and D 5 are synchronized with the clock signal.
Are sequentially input to the D / A converter 26, and the next load signal L
These two serial data signals are D /
It is converted into a 6-bit parallel data signal in the A converter 26, and this parallel data signal is further converted into an analog signal.

【0186】この場合、下記表3に示すように、D0
よびD1 の値の組み合わせによって、アナログ電圧信号
1 、A2 およびA3 のうちのいずれを出力するか、す
なわちVCA82の感度調節と、ニー回路86のニー特
性の設定と、絞り24の絞り値の設定のいずれを行うか
の選択がなされる。なお、「D0 、D1 」が「0、0」
の場合にはA1 、「1、0」の場合にはA2 、「0、
1」の場合にはA3 が選択される。
In this case, as shown in Table 3 below, which one of the analog voltage signals A 1 , A 2 and A 3 is output depending on the combination of the values of D 0 and D 1 , that is, the sensitivity adjustment of the VCA 82. Then, the knee characteristic of the knee circuit 86 or the aperture value of the aperture 24 is selected. Note that "D 0 , D 1 " is "0, 0"
In the case of A 1, A 2 in the case of "0" is "0,
In the case of "1", A 3 is selected.

【0187】そして、D2 〜D5 の値の組み合わせによ
って、出力されるアナログ電圧信号A1 、A2 またはA
3 の電圧値が決定される。
Then, depending on the combination of the values of D 2 to D 5 , the output analog voltage signal A 1 , A 2 or A
The voltage value of 3 is determined.

【0188】[0188]

【表3】 [Table 3]

【0189】以上のような絞り機構を有する構成では、
不揮発性メモリー23に格納される露出調整データは、
露出調整項目として絞り値に関するデータが追加され
る。
In the structure having the diaphragm mechanism as described above,
The exposure adjustment data stored in the non-volatile memory 23 is
Data related to the aperture value is added as an exposure adjustment item.

【0190】なお、絞り機構としては、この他、例え
ば、直径の異なる複数の開口がターレット状に配置さ
れ、このターレットを適宜回転して、光路上に位置させ
る開口を選択するような構成のものであってもよい。
In addition, as the diaphragm mechanism, for example, a plurality of openings having different diameters are arranged in a turret shape, and the turret is appropriately rotated to select an opening to be positioned on the optical path. May be

【0191】また、以上のような絞り機構と同様、CC
D43での受光光量を調整する機構として、CCD43
の受光面側に光学フィルターを挿入/退避させる構成、
または透過率可変の光学フィルターを設置する構成を採
用してもよい。この場合には、不揮発性メモリー23に
格納される露出調整データは、露出調整項目として光学
フィルターの制御に関するデータが追加される。
In addition, like the diaphragm mechanism described above, CC
As a mechanism for adjusting the amount of light received at D43, the CCD43
A configuration that inserts / withdraws an optical filter on the light-receiving surface side of
Alternatively, a configuration in which an optical filter with variable transmittance may be installed may be adopted. In this case, the exposure adjustment data stored in the non-volatile memory 23 is added with data relating to the control of the optical filter as an exposure adjustment item.

【0192】なお、露出調整手段および入出力特性調整
手段は、それぞれ、以上で説明した構成のものに限定さ
れず、例えば、A/D変換器9にて変換されたデジタル
画像信号に補正を加える補正回路(図示せず)であって
もよい。
The exposure adjusting means and the input / output characteristic adjusting means are not limited to those having the configurations described above, and, for example, the digital image signal converted by the A / D converter 9 is corrected. It may be a correction circuit (not shown).

【0193】さて、データシンボル読み取り装置1は、
実際のデータシンボル38の読み取りに先立って、回路
各部が正常に作動するか否かのテストを自ら行うことが
できるような構成とするのが好ましい。以下、その構成
例について説明する。
Now, the data symbol reading device 1 is
Prior to the actual reading of the data symbol 38, it is preferable to have a structure in which it is possible to perform a test for whether each part of the circuit operates normally or not. The configuration example will be described below.

【0194】図19に示すように、制御手段15は、メ
モリー(ROM)27を有し、このメモリー27には、
基準画像信号(リファレンス信号)が記憶されている。
この基準画像信号は、テストまたはデモンストレーショ
ン等のためのモデル化された画像信号であり、例えば図
20、図21または図22に示すような比較的単純な波
形の信号が挙げられる。なお、基準画像信号の波形がこ
れらに限定されないことは言うまでもなく、より複雑な
波形の信号であってもよい。また、この基準画像信号
は、読み取るデータシンボル38の体系において、所望
の情報を持つものであるのが好ましい。
As shown in FIG. 19, the control means 15 has a memory (ROM) 27, and this memory 27 includes:
A reference image signal (reference signal) is stored.
The reference image signal is a modeled image signal for testing or demonstration, and examples thereof include a signal having a relatively simple waveform as shown in FIG. 20, FIG. 21 or FIG. Needless to say, the waveform of the reference image signal is not limited to these, and may be a signal having a more complicated waveform. Further, it is preferable that the reference image signal has desired information in the system of the data symbol 38 to be read.

【0195】図19に示すように、前記A/D変換器9
とメモリー27とは、共通のライン28により2値化回
路10の入力側に接続されており、A/D変換器9から
出力されるデジタル画像信号とメモリー27から読み出
される基準画像信号とが、2値化回路10に選択的に入
力されるよう構成されている。
As shown in FIG. 19, the A / D converter 9
The memory 27 and the memory 27 are connected to the input side of the binarization circuit 10 by a common line 28, and the digital image signal output from the A / D converter 9 and the reference image signal read from the memory 27 are It is configured to be selectively input to the binarization circuit 10.

【0196】前記モード切り替えスイッチにより読み取
りモードが選択されているときには、メモリー27から
の基準画像信号の読み出しは行われず、CCD43から
の画像信号は、増幅回路8を経た後、A/D変換器9に
よりデジタル画像信号とされて2値化回路10に入力さ
れ、以後、前述したようにシリアル/パラレル変換回路
11を経てメインメモリー12に格納される。
When the reading mode is selected by the mode selector switch, the reference image signal is not read from the memory 27, and the image signal from the CCD 43 passes through the amplifier circuit 8 and then the A / D converter 9 Then, it is converted into a digital image signal and input to the binarization circuit 10, and thereafter stored in the main memory 12 via the serial / parallel conversion circuit 11 as described above.

【0197】前述したようにしてメインメモリー12に
1画面分のデータが格納されたら、そのデータがメイン
メモリー12から順次読み出され、制御手段15に入力
されて画像処理およびデコードがなされ、さらに、通信
用ドライバー16により出力端子21に出力される。
When one screen worth of data is stored in the main memory 12 as described above, the data is sequentially read from the main memory 12 and input to the control means 15 for image processing and decoding. It is output to the output terminal 21 by the communication driver 16.

【0198】一方、前記モード切り替えスイッチにより
テストモードが選択されているときには、メモリー27
からの基準画像信号が読み出され、2値化回路10に入
力され、以後、前記画像信号と同様にシリアル/パラレ
ル変換回路11を経てメインメモリー12に格納され
る。このとき、制御手段15からは、A/D変換器9を
ハイインピーダンスにするアウトプットイネーブル信号
が出力される。これにより、A/D変換器9からのデジ
タル画像信号の出力が停止される。
On the other hand, when the test mode is selected by the mode selector switch, the memory 27
The reference image signal from is read out, input to the binarization circuit 10, and thereafter stored in the main memory 12 through the serial / parallel conversion circuit 11 similarly to the image signal. At this time, the control means 15 outputs an output enable signal for setting the A / D converter 9 to high impedance. As a result, the output of the digital image signal from the A / D converter 9 is stopped.

【0199】前述したようにしてメインメモリー12に
1画面分の基準画像信号に対応したデータが格納された
ら、そのデータがメインメモリー12から順次読み出さ
れ、制御手段15に入力されて画像処理およびデコード
がなされ、さらに、通信用ドライバー16により出力端
子21に出力される。
When the data corresponding to the reference image signal for one screen is stored in the main memory 12 as described above, the data is sequentially read from the main memory 12 and input to the control means 15 for image processing and The data is decoded and further output to the output terminal 21 by the communication driver 16.

【0200】このような構成としたことにより、2値化
回路10、シリアル/パラレル変換回路11、メインメ
モリー12等の信号処理回路が正常に機能しているか否
かのテストを容易かつ正確に行うことができる。このよ
うなテストは、実際のデータシンボル38の読み取りに
先立って行うのが好ましい。
With such a structure, it is possible to easily and accurately test whether the signal processing circuits such as the binarization circuit 10, the serial / parallel conversion circuit 11 and the main memory 12 are functioning normally. be able to. Such a test is preferably performed prior to reading the actual data symbol 38.

【0201】なお、データシンボル読み取り装置がモー
ド切り替えスイッチを有さない場合には、データシンボ
ル読み取り装置を例えば工場出荷する際に基準画像信号
に基づいて前記と同様のテストを行うことができる。
If the data symbol reading device does not have a mode changeover switch, the same test as described above can be performed based on the reference image signal when the data symbol reading device is shipped from the factory, for example.

【0202】本実施例において、メモリー27には、異
なる複数のパターンの基準画像信号が記憶されており、
これらのうちから適宜選択して基準画像信号を読み出
し、その後の信号処理を行う構成としてもよい。
In this embodiment, the memory 27 stores reference image signals of a plurality of different patterns,
A configuration may be adopted in which the reference image signal is read out by appropriately selecting from these and the subsequent signal processing is performed.

【0203】なお、基準画像信号を記憶するメモリー
は、制御手段15に内蔵されているものに限らず、制御
手段15とは別個に設置されているものでもよく、ま
た、このメモリーは、書き換え可能なもの(不揮発性メ
モリー)であってもよい。
The memory for storing the reference image signal is not limited to the one built in the control means 15, but may be one installed separately from the control means 15, and this memory is rewritable. Anything (nonvolatile memory) may be used.

【0204】また、基準画像信号で構成される画像をモ
ニター装置33でモニターし得るような構成としてもよ
い。
Further, the monitor device 33 may monitor the image composed of the reference image signal.

【0205】以上のような構成とすることにより、回路
各部が正常に作動するか否かのテストをデータシンボル
読み取り装置自らが行うことができるので、生産現場で
の検査、定期検査、故障発生時等において、特別の検査
装置を用いることなく容易にテストを行うことができ
る。
With the above-described structure, the data symbol reader itself can perform a test as to whether or not each part of the circuit operates normally. For example, the test can be easily performed without using a special inspection device.

【0206】なお、図1および図3に示す構成では、イ
ンターフェースアダプタ29は、データシンボル読み取
り装置1の外部装置として説明したが、本発明のデータ
シンボル読み取り装置は、インターフェースアダプタま
たはこれに相当するものが内蔵されていてもよい。この
場合、モニター信号として外部へ出力される信号は、接
続されるモニター装置の画像信号を構成するもの、すな
わちビデオ信号となる。
In the configuration shown in FIGS. 1 and 3, the interface adapter 29 has been described as an external device of the data symbol reading device 1, but the data symbol reading device of the present invention corresponds to the interface adapter or its equivalent. May be built in. In this case, the signal output to the outside as the monitor signal is a video signal that constitutes the image signal of the connected monitor device.

【0207】以上、本発明のデータシンボル読み取り装
置を図示の構成例について説明したが、本発明はこれに
限定されるものではない。
The data symbol reading apparatus of the present invention has been described above with reference to the illustrated configuration example, but the present invention is not limited to this.

【0208】[0208]

【発明の効果】以上述べたように、本発明のデータシン
ボル読み取り装置によれば、2次元データシンボルを簡
易な構成の装置で容易かつ正確に読み取ることができ
る。
As described above, according to the data symbol reading device of the present invention, a two-dimensional data symbol can be easily and accurately read by a device having a simple structure.

【0209】特に、読み取りの目的や読み取りの条件、
環境の変化、読み取り部や投光部あるいはそれらの構成
部品の交換などに応じて、露出や入出力特性を自由にか
つ迅速に調整することができ、さらに容易かつ正確な読
み取りが可能となる。
In particular, the purpose of reading and the conditions for reading,
The exposure and the input / output characteristics can be freely and quickly adjusted according to changes in the environment, replacement of the reading unit, the light projecting unit, or components thereof, and the like, which enables easier and more accurate reading.

【0210】また、例えば、読み取り部や投光部を構成
する光学部品の交換を行った場合でも、均一な条件での
読み取りを行うために、不揮発性メモリー内に格納され
ている露出調整データや入出力特性調整データを書き換
え、または適宜選択することによって、容易に露出や入
出力特性の調節ができ、実機状態での再調整にも適して
いる。
Further, for example, even when the optical parts constituting the reading section and the light projecting section are exchanged, the exposure adjustment data stored in the non-volatile memory and the exposure adjustment data stored in the non-volatile memory are read in order to perform reading under uniform conditions. By rewriting or appropriately selecting the input / output characteristic adjustment data, the exposure and input / output characteristics can be easily adjusted, and it is also suitable for readjustment in the actual machine state.

【0211】また、露出調整手段や入出力特性調整手段
を有することにより、しきい値データを容易に作成する
ことができる。
Further, by having the exposure adjusting means and the input / output characteristic adjusting means, the threshold data can be easily created.

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

【図1】本発明のデータシンボル読み取り装置の構成例
を模式的に示す断面側面図である。
FIG. 1 is a sectional side view schematically showing a configuration example of a data symbol reading device of the present invention.

【図2】本発明のデータシンボル読み取り装置における
シンボル読み取り領域とデータシンボルとを示す平面図
である。
FIG. 2 is a plan view showing a symbol reading area and a data symbol in the data symbol reading device of the present invention.

【図3】本発明のデータシンボル読み取り装置の回路構
成の一例を示すブロック図である。
FIG. 3 is a block diagram showing an example of a circuit configuration of a data symbol reading device of the present invention.

【図4】本発明のデータシンボル読み取り装置におい
て、データシンボルの読み取りの際の動作を示すフロー
チャートである。
FIG. 4 is a flowchart showing an operation at the time of reading a data symbol in the data symbol reading device of the present invention.

【図5】本発明のデータシンボル読み取り装置におい
て、データシンボルの読み取りの際の動作を示すフロー
チャート(図4に従属)である。
FIG. 5 is a flowchart (subordinate to FIG. 4) showing an operation at the time of reading a data symbol in the data symbol reading device of the present invention.

【図6】本発明のデータシンボル読み取り装置におい
て、データシンボルの読み取りの際の動作を示すフロー
チャートである。
FIG. 6 is a flowchart showing an operation at the time of reading a data symbol in the data symbol reading device of the present invention.

【図7】本発明のデータシンボル読み取り装置におい
て、データシンボルの読み取りの際の動作を示すフロー
チャート(図6に従属)である。
FIG. 7 is a flowchart (subordinate to FIG. 6) showing an operation at the time of reading a data symbol in the data symbol reading device of the present invention.

【図8】本発明のデータシンボル読み取り装置におい
て、データシンボルの読み取りの際のタイミングチャー
トである。
FIG. 8 is a timing chart at the time of reading a data symbol in the data symbol reading device of the present invention.

【図9】本発明のデータシンボル読み取り装置におい
て、しきい値データを作成する際のタイミングチャート
である。
FIG. 9 is a timing chart when threshold data is created in the data symbol reading device of the present invention.

【図10】本発明のデータシンボル読み取り装置におけ
るデジタル画像信号の出力の経時変化を示すグラフであ
る。
FIG. 10 is a graph showing changes over time in the output of a digital image signal in the data symbol reading device of the present invention.

【図11】本発明のデータシンボル読み取り装置におい
て、パラレルデータを得る際のタイミングチャートであ
る。
FIG. 11 is a timing chart for obtaining parallel data in the data symbol reading device of the present invention.

【図12】本発明のデータシンボル読み取り装置におけ
るメインメモリーのメモリーマップを模式的に示す説明
図である。
FIG. 12 is an explanatory view schematically showing a memory map of a main memory in the data symbol reading device of the present invention.

【図13】露出調整手段および入出力特性調整手段を有
するCCD駆動回路および増幅回路の構成例を示すブロ
ック図である。
FIG. 13 is a block diagram showing a configuration example of a CCD drive circuit and an amplification circuit having an exposure adjustment unit and an input / output characteristic adjustment unit.

【図14】露出調整手段および入出力特性調整手段を有
するCCD駆動回路および増幅回路の他の構成例を示す
ブロック図である。
FIG. 14 is a block diagram showing another configuration example of a CCD drive circuit and an amplification circuit having an exposure adjustment unit and an input / output characteristic adjustment unit.

【図15】D/A変換器へ入力される信号のタイミング
チャートである。
FIG. 15 is a timing chart of signals input to a D / A converter.

【図16】D/A変換器へ入力される信号のタイミング
チャートである。
FIG. 16 is a timing chart of signals input to a D / A converter.

【図17】入力レベルと出力レベルとの関係におけるガ
ンマ特性を示すグラフである。
FIG. 17 is a graph showing a gamma characteristic in the relationship between an input level and an output level.

【図18】入力レベルと出力レベルとの関係におけるニ
ー特性を示すグラフである。
FIG. 18 is a graph showing knee characteristics in the relationship between input level and output level.

【図19】本発明のデータシンボル読み取り装置におけ
る制御手段およびその周囲の回路構成を示すブロック図
である。
FIG. 19 is a block diagram showing a control means and a circuit configuration around the control means in the data symbol reading device of the present invention.

【図20】基準画像信号の波形の一例を示すグラフであ
る。
FIG. 20 is a graph showing an example of a waveform of a reference image signal.

【図21】基準画像信号の波形の一例を示すグラフであ
る。
FIG. 21 is a graph showing an example of a waveform of a reference image signal.

【図22】基準画像信号の波形の一例を示すグラフであ
る。
FIG. 22 is a graph showing an example of a waveform of a reference image signal.

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

1 データシンボル読み取り装置 2 ケーシング 2a 把持部 3 トリガースイッチ 4 読み取り部 40 投光部 41 光源 42 光源駆動回路 43 CCD 44 光学系 5 信号処理回路 6 CCD駆動回路 61 CCD駆動パルス発生回路 62 水晶発振器 63 CCDドライバー 64 VSUBドライバー 7 同期信号発生回路 8 増幅回路 81 サンプル/ホールド回路 82 ボルテージコントロールアンプ 83 ガンマ補正回路 84 切り替えスイッチ 85a、85b 端子 86 ニー回路 9 A/D変換器 10 2値化回路(コンパレータ) 11 シリアル/パラレル変換回路 12 メインメモリー 12a 第1領域 12b 第2領域 121a、121b 画像データ記憶領域 123a、123b ブランク領域 13 不揮発性メモリー 14 メモリー制御回路 15 制御手段(CPU) 16 通信用ドライバー 17 データバス 18 アドレスバス 19 スイッチ回路 20 表示部 21 出力端子 22 D/A変換器 23 不揮発性メモリー 24 絞り 25 絞り駆動回路 26 D/A変換器 27 メモリー(ROM) 28 ライン 29 インターフェースアダプタ 30 入力端子 31 エンコーダ 32 コンピュータ 33 モニター装置 34、35 ケーブル 36 シンボル読み取り領域 37 基準面 38 データシンボル 100〜116 ステップ 200〜216 ステップ 1 Data Symbol Reading Device 2 Casing 2a Gripping Part 3 Trigger Switch 4 Reading Part 40 Light Projecting Part 41 Light Source 42 Light Source Driving Circuit 43 CCD 44 Optical System 5 Signal Processing Circuit 6 CCD Driving Circuit 61 CCD Driving Pulse Generating Circuit 62 Crystal Oscillator 63 CCD Driver 64 VSUB driver 7 Synchronous signal generation circuit 8 Amplification circuit 81 Sample / hold circuit 82 Voltage control amplifier 83 Gamma correction circuit 84 Changeover switch 85a, 85b terminal 86 Knee circuit 9 A / D converter 10 Binarization circuit (comparator) 11 Serial / parallel conversion circuit 12 Main memory 12a First area 12b Second area 121a, 121b Image data storage area 123a, 123b Blank area 13 Non-volatile memory 14 Memory control Control circuit 15 Control means (CPU) 16 Communication driver 17 Data bus 18 Address bus 19 Switch circuit 20 Display section 21 Output terminal 22 D / A converter 23 Non-volatile memory 24 Aperture 25 Aperture drive circuit 26 D / A converter 27 Memory (ROM) 28 Line 29 Interface adapter 30 Input terminal 31 Encoder 32 Computer 33 Monitor device 34, 35 Cable 36 Symbol reading area 37 Reference plane 38 Data symbol 100-116 step 200-216 step

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】 2次元のデータシンボルを読み取るデー
タシンボル読み取り装置であって、 前記データシンボルの読み取り領域からの入射光を受光
して光電変換する読み取り部と、前記読み取り部からの
画像信号を処理する信号処理回路と、露出を調整する露
出調整手段と、露出調整データを格納する不揮発性メモ
リーとを有し、 前記データシンボルの読み取りに際し、前記不揮発性メ
モリーに格納された露出調整データに基づいて、前記露
出調整手段が露出を調整することを特徴とするデータシ
ンボル読み取り装置。
1. A data symbol reading device for reading a two-dimensional data symbol, comprising: a reading unit that receives incident light from a reading region of the data symbol and photoelectrically converts the light; and an image signal from the reading unit. A signal processing circuit for adjusting the exposure, an exposure adjustment unit for adjusting the exposure, and a non-volatile memory for storing the exposure adjustment data. When reading the data symbol, based on the exposure adjustment data stored in the non-volatile memory. A data symbol reading device, wherein the exposure adjusting means adjusts the exposure.
【請求項2】 不揮発性メモリーに格納された露出調整
データを書き換えることにより露出の設定を変える請求
項1に記載のデータシンボル読み取り装置。
2. The data symbol reader according to claim 1, wherein the exposure setting is changed by rewriting the exposure adjustment data stored in the non-volatile memory.
【請求項3】 不揮発性メモリーには、異なる露出を得
る複数の露出調整データが格納され、これらを選択的に
読み出すことにより露出の設定を変える請求項1に記載
のデータシンボル読み取り装置。
3. The data symbol reading device according to claim 1, wherein a plurality of exposure adjustment data for obtaining different exposures are stored in the non-volatile memory, and the exposure setting is changed by selectively reading these.
【請求項4】 前記露出調整データは、前記読み取り部
におけるシャッター速度に関するものである請求項1な
いし3のいずれかに記載のデータシンボル読み取り装
置。
4. The data symbol reading device according to claim 1, wherein the exposure adjustment data relates to a shutter speed in the reading unit.
【請求項5】 前記露出調整データは、前記読み取り部
における絞り値に関するものである請求項1ないし3の
いずれかに記載のデータシンボル読み取り装置。
5. The data symbol reading device according to claim 1, wherein the exposure adjustment data relates to an aperture value in the reading unit.
【請求項6】 前記露出調整データは、読み取りの感度
に関するものである請求項1ないし3のいずれかに記載
のデータシンボル読み取り装置。
6. The data symbol reading device according to claim 1, wherein the exposure adjustment data relates to reading sensitivity.
【請求項7】 2次元のデータシンボルを読み取るデー
タシンボル読み取り装置であって、 前記データシンボルの読み取り領域からの入射光を受光
して光電変換する読み取り部と、前記読み取り部からの
画像信号を処理する信号処理回路と、入出力特性を調整
する入出力特性調整手段と、入出力特性調整データを格
納する不揮発性メモリーとを有し、 前記データシンボルの読み取りに際し、前記不揮発性メ
モリーに格納された入出力特性調整データに基づいて、
前記入出力特性調整手段が入出力特性を調整することを
特徴とするデータシンボル読み取り装置。
7. A data symbol reading device for reading a two-dimensional data symbol, the reading unit receiving incident light from the reading region of the data symbol and performing photoelectric conversion, and processing an image signal from the reading unit. A signal processing circuit, an input / output characteristic adjusting unit for adjusting input / output characteristics, and a non-volatile memory for storing input / output characteristic adjusting data, and stored in the non-volatile memory when reading the data symbol. Based on the input / output characteristic adjustment data,
A data symbol reading device characterized in that the input / output characteristic adjusting means adjusts the input / output characteristics.
【請求項8】 不揮発性メモリーに格納された入出力特
性調整データを書き換えることにより入出力特性の設定
を変える請求項7に記載のデータシンボル読み取り装
置。
8. The data symbol reading device according to claim 7, wherein the setting of the input / output characteristic is changed by rewriting the input / output characteristic adjustment data stored in the non-volatile memory.
【請求項9】 不揮発性メモリーには、異なる入出力特
性を得る複数の入出力特性調整データが格納され、これ
らを選択的に読み出すことにより入出力特性の設定を変
える請求項7に記載のデータシンボル読み取り装置。
9. The data according to claim 7, wherein a plurality of input / output characteristic adjustment data for obtaining different input / output characteristics are stored in the non-volatile memory, and the setting of the input / output characteristics is changed by selectively reading these. Symbol reader.
【請求項10】 前記入出力特性調整データは、前記画
像信号の入力レベルと出力レベルとの関係におけるガン
マ値に関するものである請求項7ないし9のいずれかに
記載のデータシンボル読み取り装置。
10. The data symbol reading device according to claim 7, wherein the input / output characteristic adjustment data relates to a gamma value in a relationship between an input level and an output level of the image signal.
【請求項11】 前記入出力特性調整データは、前記画
像信号の入力レベルと出力レベルとの関係におけるニー
特性に関するものである請求項7ないし9のいずれかに
記載のデータシンボル読み取り装置。
11. The data symbol reading device according to claim 7, wherein the input / output characteristic adjustment data relates to a knee characteristic in a relationship between an input level and an output level of the image signal.
【請求項12】 前記読み取り部と、前記信号処理回路
とが一体化している請求項1ないし11のいずれかに記
載のデータシンボル読み取り装置。
12. The data symbol reading device according to claim 1, wherein the reading unit and the signal processing circuit are integrated.
【請求項13】 前記読み取り領域へ投光する投光部を
有し、この投光部が前記読み取り部と一体化されている
請求項1ないし12のいずれかに記載のデータシンボル
読み取り装置。
13. The data symbol reading device according to claim 1, further comprising a light projecting unit that projects light onto the reading area, and the light projecting unit is integrated with the reading unit.
【請求項14】 前記信号処理回路は、前記画像信号を
2値化し、さらにその2値化データをデコードして出力
する機能を有するものである請求項1ないし13のいず
れかに記載のデータシンボル読み取り装置。
14. The data symbol according to claim 1, wherein the signal processing circuit has a function of binarizing the image signal and further decoding and outputting the binarized data. Reader.
JP6079395A 1993-03-25 1994-03-24 Data symbol reader Pending JPH06333068A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6079395A JPH06333068A (en) 1993-03-25 1994-03-24 Data symbol reader

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP9062493 1993-03-25
JP5-90624 1993-03-25
JP6079395A JPH06333068A (en) 1993-03-25 1994-03-24 Data symbol reader

Publications (1)

Publication Number Publication Date
JPH06333068A true JPH06333068A (en) 1994-12-02

Family

ID=26420417

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6079395A Pending JPH06333068A (en) 1993-03-25 1994-03-24 Data symbol reader

Country Status (1)

Country Link
JP (1) JPH06333068A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5793031A (en) * 1993-03-25 1998-08-11 Asahi Kogaku Kogyo Kabushiki Kaisha Two-dimensional encoded symbol reading device with plural operating modes
JP2005295313A (en) * 2004-04-01 2005-10-20 Sharp Corp Cord reader, electronic equipment, and method and program for adjusting parameter
JP2006072624A (en) * 2004-09-01 2006-03-16 Keyence Corp Optical reading apparatus and method of compressing image data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5793031A (en) * 1993-03-25 1998-08-11 Asahi Kogaku Kogyo Kabushiki Kaisha Two-dimensional encoded symbol reading device with plural operating modes
JP2005295313A (en) * 2004-04-01 2005-10-20 Sharp Corp Cord reader, electronic equipment, and method and program for adjusting parameter
JP2006072624A (en) * 2004-09-01 2006-03-16 Keyence Corp Optical reading apparatus and method of compressing image data

Similar Documents

Publication Publication Date Title
US4375058A (en) Device for reading a printed code and for converting this code into an audio signal
NL1011406C2 (en) CMOS image sensor with test circuit for verifying its operation.
JP6291037B2 (en) Application specific dual mode projection system and method
US5606160A (en) Symbol reading device
CN102158654A (en) Image capture apparatus and zooming method
JPH10285473A (en) Image signal correction device
JPH11239359A (en) Reflection projector
JPH06333068A (en) Data symbol reader
JP3392934B2 (en) Data symbol reading device
JPH06333079A (en) Data symbol reader
JPH06333078A (en) Data symbol reader
JPH06333077A (en) Data symbol reader
JPH06333075A (en) Data symbol reader
JP4535133B2 (en) Information output device, information output method, and program
US6028966A (en) Image reading apparatus and method including pre-scanning
US4653111A (en) Image data monitor apparatus
JPH0396171A (en) Picture read method
KR20090098498A (en) Method for determining flicker frequency due to the environmental lighting condition, digital photographing apparatus enabling to prosecute the method, and recording medium storing program to implement the method
JPH11109905A (en) Device and method for automatically adjusting monitor
JPS62203460A (en) Picture reader
JP2587559B2 (en) Image signal forming method for liquid crystal display
JPS61144168A (en) Picture processing circuit
JPS6279338A (en) Surface condition display unit
JPS6355111B2 (en)
KR20020058498A (en) Image sensor for improving data transfer speed using 2-phase clock

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees