Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6363949B2 - - Google Patents
[go: Go Back, main page]

JPS6363949B2 - - Google Patents

Info

Publication number
JPS6363949B2
JPS6363949B2 JP56097151A JP9715181A JPS6363949B2 JP S6363949 B2 JPS6363949 B2 JP S6363949B2 JP 56097151 A JP56097151 A JP 56097151A JP 9715181 A JP9715181 A JP 9715181A JP S6363949 B2 JPS6363949 B2 JP S6363949B2
Authority
JP
Japan
Prior art keywords
signal
correction amount
buffer
width
label
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP56097151A
Other languages
Japanese (ja)
Other versions
JPS57211668A (en
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 filed Critical
Priority to JP9715181A priority Critical patent/JPS57211668A/en
Publication of JPS57211668A publication Critical patent/JPS57211668A/en
Publication of JPS6363949B2 publication Critical patent/JPS6363949B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/01Details
    • G06K7/016Synchronisation of sensing process
    • G06K7/0166Synchronisation of sensing process by means of clock-signals derived from the code marks, e.g. self-clocking code

Landscapes

  • Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)

Description

【発明の詳細な説明】 本発明は直列信号補正方式に関し、特に伝送信
号の「1」、「0」の幅の正規の値より歪みがある
ときこれを補正するようにした直列信号補正方式
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a serial signal correction method, and more particularly to a serial signal correction method for correcting distortion when the width of "1" and "0" of a transmission signal is more than the normal value. It is something.

例えばバー・コードを光学系のハンドスキヤナ
ーや固定スキヤナーで読出し、これを伝送する場
合、伝送された信号が正規の信号よりも歪むこと
がある。またバー・コードにおいては印刷時にお
いてもバー幅が歪む事がよくある。特に人手によ
るハンドラベラーによつて印刷されるような時に
は顕著に表われる。しかしこのように印刷されて
もバー幅はほぼ均一に太つたり、細つたりする傾
向にある。
For example, when reading a bar code with an optical hand scanner or fixed scanner and transmitting it, the transmitted signal may be more distorted than the normal signal. Furthermore, in bar codes, the bar width is often distorted even during printing. This is especially noticeable when printing is done manually using a hand labeler. However, even when printed in this manner, the bar width tends to become thicker or thinner almost uniformly.

第1図に示す如きバー・コードを固定スキヤナ
ー等の光学系装置で読出し、これを伝送すると
き、受信側では黒バーに相当するところを「1」
とし、白バーに相当するところを「0」とし、そ
れぞれそのバー・コードに対応する幅の「1」、
「0」の信号として受信する。したがつてこれを
正常の状態で受信するときは、第2図イに示す如
き信号として、つまりバー・コードの黒バー、白
バーの幅に応じた幅を有する「1」、「0」の信号
としてこれを受信する。しかしながら、受信信号
が何等かの理由により正規の信号よりも歪んでい
る場合には、例えば第2図ロに示す如く、黒バー
の幅を示す「1」の信号の立上り部分と立下り部
分が減少し、この結果、受信側では黒バーの幅が
狭く、また白バーの幅が広いものとして受信する
ことになる。ところが、第1図に示す如きバー・
コードは黒バーの幅および白バーの幅が複数種類
あり、これらの黒バーおよび白バーをそれぞれ複
数個組合わせることにより特定の数字等を表示す
るように構成されている。それ故、この信号歪み
により受信された「1」、「0」の幅が正規のもの
より異なる場合には、バー・コードの読取り誤り
を生ずることになり、この結果バー・コードを正
確に読取ることができないという問題が存在す
る。
When a bar code like the one shown in Figure 1 is read out by an optical device such as a fixed scanner and transmitted, the receiving side sets the part corresponding to the black bar as "1".
The part corresponding to the white bar is set to "0", and the width corresponding to the bar code is set to "1", respectively.
It is received as a “0” signal. Therefore, when receiving this in a normal state, it is a signal as shown in Figure 2 A, that is, it is a signal of "1" and "0" whose width corresponds to the width of the black bar and white bar of the bar code. Receive this as a signal. However, if the received signal is more distorted than the normal signal for some reason, for example, as shown in Figure 2 (b), the rising and falling parts of the "1" signal indicating the width of the black bar will be distorted. As a result, the receiving side receives the black bar as having a narrow width and the white bar as having a wide width. However, the bar as shown in Figure 1.
The code has a plurality of widths of black bars and widths of white bars, and is configured to display a specific number or the like by combining a plurality of each of these black bars and white bars. Therefore, if the width of the received "1" and "0" is different from the normal width due to this signal distortion, a bar code reading error will occur, and as a result, the bar code cannot be read accurately. The problem is that it cannot be done.

したがつて本発明はこのような問題点を解善す
るために受信信号に歪が存在する場合にその歪量
を検出し、受信信号をこの歪量にもとづき補正す
ることにより受信信号を正規化するようにした直
列信号補正方式を提供することを目的とするもの
である。そしてこのために本発明の直列信号補正
方式では、信号のハイレベル期間およびローレベ
ル期間を検出する期間検出手段と、基準信号を検
出する基準信号検出手段と、基準信号を一時的に
保持する複数の信号保持手段と、この複数の信号
保持手段に保持された基準信号にもとづき補正量
を生成する補正量生成手段と、この補正量を入力
信号に加算する加算部と、この補正量を入力信号
から減算する減算部と、入力信号に対応し、加算
部及び減算部の出力を選択し出力する選択部とを
具備し、入力された前記基準信号にもとづき入力
信号の補正量を演算しこの補正量を入力信号に対
し、加算又減算を行い入力信号を補正することを
特徴とする。
Therefore, in order to solve these problems, the present invention normalizes the received signal by detecting the amount of distortion when there is distortion in the received signal and correcting the received signal based on this amount of distortion. It is an object of the present invention to provide a serial signal correction method that performs the following steps. To this end, the serial signal correction method of the present invention includes period detection means for detecting high-level periods and low-level periods of the signal, reference signal detection means for detecting the reference signal, and multiple a signal holding means, a correction amount generating means for generating a correction amount based on the reference signals held in the plurality of signal holding means, an adding section for adding the correction amount to the input signal, and a correction amount generating section for adding the correction amount to the input signal. and a selection section that selects and outputs the outputs of the addition section and the subtraction section corresponding to the input signal, and calculates the correction amount of the input signal based on the input reference signal and performs this correction. It is characterized in that the input signal is corrected by adding or subtracting a quantity to the input signal.

本発明を実施例にもとづき詳述するに先立ち、
その動作原理を第2図にもとづき説明する。
Before describing the present invention in detail based on examples,
The principle of operation will be explained based on FIG.

例えばバー・コードによる正規の信号が第2図
イに示す状態の場合にこれを受信側で受信したと
き、例えば第2図ロに示す状態で歪みを受けたと
き、送信側における黒ラベル信号B0,B1,B2
…のラベル幅A,C,E……が受信側ではa,
c,e……に変化し、送信側における白ラベル信
号W0,W1……のラベル幅B,D……が受信側で
はb,d……に変化したものである。このような
歪を受けた場合でも、第2図ロにおける黒ラベル
信号B0′の立下りから次の黒ラベル信号B1′の立下
りまでの長さLは、第2図イにおける正規の信号
の場合における黒ラベル信号B0の立下りから次
の黒ラベル信号B1の立下りまでの長さLとほぼ
同一である事を利用する(バー幅B,W精度より
黒白の長さlの精度がよい事は周知の事である。
これはJISでも定められている)。勿論このことは
立上りについても同様である。
For example, when a regular bar code signal is received on the receiving side in the state shown in Figure 2 A, or when it is distorted in the state shown in Figure 2 B, the black label signal B on the transmitting side is 0 , B1 , B2 ...
The label widths A, C, E... of ... are a,
The label widths B, D... of the white label signals W 0 , W 1 ... on the transmitting side change to b, d... on the receiving side. Even when subjected to such distortion, the length L from the fall of the black label signal B 0 ′ in Figure 2B to the fall of the next black label signal B 1 ′ is the same as the normal one in Figure 2A. In the case of a black label signal, the length L from the falling edge of the black label signal B 0 to the falling edge of the next black label signal B 1 is used. It is well known that the accuracy of
This is also stipulated by JIS). Of course, this also applies to the rise.

したがつて、第2図イにおいて黒ラベル信号
B0、白ラベルW0、黒ラベル信号B1をガード・バ
ーの如き基準信号としたとき、次式が成立する。
Therefore, in Figure 2 A, the black label signal
When B 0 , white label W 0 , and black label signal B 1 are used as reference signals such as guard bars, the following equation holds true.

A+B=a+b …… B+C=b+c …… +=A+2B+C=a+2b+c …… 基準信号の場合には、A=B=Cであるので C=1/4(A+2B+C)=1/4(a+2b+c) …… いま白ラベル信号W1のラベル幅をDとし、こ
れを受信したときの受信幅をdとしたとき次式が
成立する。
A+B=a+b...B+C=b+c...+=A+2B+C=a+2b+c...In the case of the reference signal, A=B=C, so C=1/4(A+2B+C)=1/4(a+2b+c)...Now When the label width of the white label signal W1 is D and the reception width when this is received is d, the following equation holds true.

D+C=d+c …… D=−C+d+c=d+{−1/4(a+2b+c)+ c} …… ∴D=d+1/4(3c−2b−a) …… また黒ラベル信号B2のラベル幅をEとしこれ
を受信したときの信号幅をeとしたとき次式が成
立する。
D+C=d+c... D=-C+d+c=d+{-1/4(a+2b+c)+c}... ∴D=d+1/4(3c-2b-a)... Also, the label width of black label signal B 2 is E If the signal width when this is received is e, the following equation holds true.

E+D=e+d …… E=−D+e+d=−{d+1/4(3c−2b−a)} +e+d ∴E=e−1/4(3c−2b−a) …… したがつて、上記式および式より明らかな
如く、白ラベル信号に対しては基準信号より得ら
れる補正量1/4(3c−2b−a)を加算することに
より、また黒ラベル信号に対しては補正量1/4
(3c−2b−a)を減算することにより正規化した
信号を求めることができる。なお、第2図イ,ロ
の状態の場合には3c−2b−a<0であることに
注意されたい。黒バーが太つた場合には3c−2b
−a>0である。
E+D=e+d... E=-D+e+d=-{d+1/4(3c-2b-a)} +e+d ∴E=e-1/4(3c-2b-a)... Therefore, from the above formula and formula As is clear, by adding the correction amount 1/4 (3c-2b-a) obtained from the reference signal to the white label signal, and by adding the correction amount 1/4 obtained from the reference signal to the black label signal.
A normalized signal can be obtained by subtracting (3c-2b-a). Note that 3c-2b-a<0 in the case of the states a and b of FIG. 2. 3c−2b if the black bar becomes thicker
−a>0.

次に本発明の一実施例を第3図にもとづき、第
2図を参照しつつ説明する。
Next, an embodiment of the present invention will be described based on FIG. 3 and with reference to FIG. 2.

図中、1はエツジ検出回路、2は信号幅カウン
ト回路、3は第1バツフア、4は基準信号検知
部、5はゲート、6は第2バツフア、7は第3バ
ツフア、8は第4バツフア、9は補正量生成回
路、10は加算部、11は減算部、12は選択部
である。
In the figure, 1 is an edge detection circuit, 2 is a signal width count circuit, 3 is a first buffer, 4 is a reference signal detection section, 5 is a gate, 6 is a second buffer, 7 is a third buffer, and 8 is a fourth buffer. , 9 is a correction amount generation circuit, 10 is an addition section, 11 is a subtraction section, and 12 is a selection section.

エツジ検出回路1は伝達された信号の立上りお
よび立下り部分を検出するものであつて、このと
きに「1」を出力するものである。
The edge detection circuit 1 detects the rising and falling portions of the transmitted signal, and outputs "1" at this time.

信号幅カウント回路2は黒ラベル信号B0′,
B1′,B2′……の信号幅a,c,e……および白ラ
ベル信号W0′,W1′……の信号幅b,d……を測
定するものである。
The signal width count circuit 2 receives the black label signal B 0 ′,
The signal widths a, c, e... of B 1 ', B 2 '... and the signal widths b, d... of the white label signals W 0 ', W 1 '... are measured.

第1バツフア3は補正すべき受信信号が一時的
にセツトされるバツフアである。
The first buffer 3 is a buffer in which the received signal to be corrected is temporarily set.

基準信号検知部4は受信した信号がガード・バ
ーやセンター・バーの如き基準信号かどうかを検
出するものであつて、既知のものである。例えば
ガード・バーの場合には、黒ラベル信号B0、白
ラベル信号W0および黒ラベル信号B1がいずれも
同一の長さであるA,B,Cにより構成されてい
るので、受信のときに歪みが存在していても、同
一の信号幅の黒ラベル信号B0′,B1′の間にある範
囲の大きさの白ラベル信号W0′が存在することを
検出することによつて基準信号であることを検出
する。また基準信号としてセンターバーをもちい
てもよい。この検出方法としては例えばガードバ
ーの検出と同様に黒ラベル信号B0′,B1′の両側に
ある範囲の大きさの白ラベル信号W0′,W1′,
W2′が存在することを検知する。そして後述する
如く、第2バツフア6ないし第4バツフア8に基
準信号がセツトされたとき、ゲート5をオフにす
るように制御を行なうものである。
The reference signal detection section 4 detects whether the received signal is a reference signal such as a guard bar or center bar, and is a known device. For example, in the case of a guard bar, the black label signal B 0 , white label signal W 0 , and black label signal B 1 are all composed of A, B, and C of the same length, so when receiving Even if there is distortion in Detects that it is a reference signal. Alternatively, a center bar may be used as the reference signal. As this detection method, for example, similar to guard bar detection, white label signals W 0 , W 1 ,
Detect the existence of W 2 ′. As will be described later, when the reference signal is set in the second buffer 6 to fourth buffer 8, the gate 5 is controlled to be turned off.

第2バツフア6ないし第4バツフア8は基準信
号がセツトされるものであり、これらの第2バツ
フア6ないし第4バツフア8は複数の信号保持手
段を構成する。第4バツフア8は黒ラベル信号
B0′の長さaがセツトされ、第3バツフア7には
白ラベル信号W0′の長さbがセツトされ、第2バ
ツフア6には黒ラベル信号B1′の長さcがセツト
されるものである。
A reference signal is set in the second buffer 6 to fourth buffer 8, and these second buffer 6 to fourth buffer 8 constitute a plurality of signal holding means. 4th buffer 8 is black label signal
The length a of B 0 ' is set, the length b of the white label signal W 0 ' is set in the third buffer 7, and the length c of the black label signal B 1 ' is set in the second buffer 6. It is something that

補正量生成回路9は第2バツフア6ないし第4
バツフア8にセツトされた基準信号の値にもとづ
き、前記補正量1/4(3c−2b−a)を演算してこ
れを出力するものである。
The correction amount generation circuit 9 is connected to the second buffer 6 to the fourth buffer.
Based on the value of the reference signal set in the buffer 8, the correction amount 1/4 (3c-2b-a) is calculated and output.

加算部10は第1バツフア3から伝達される受
信信号の長さの値に補正量生成回路9から出力さ
れた補正量1/4(3c−2b−a)を加算するもので
ある。
The adder 10 adds the correction amount 1/4 (3c-2b-a) output from the correction amount generation circuit 9 to the length value of the received signal transmitted from the first buffer 3.

減算部11は第1バツフア3から伝達される受
信信号の長さの値から前記補正量1/4(3c−2b−
a)を減算するものである。
The subtraction unit 11 calculates the correction amount 1/4 (3c-2b-
a) is subtracted.

選択部12は加算部10および減算部11のい
ずれか一方から伝達された信号を選択的に出力す
るものであつて、選択信号端子Sに「0」が印加
されたときには減算部11から伝達された値を出
力し、逆に選択信号端子Sに「1」が印加された
ときには加算部10から伝達された値が出力され
るように構成されている。
The selection unit 12 selectively outputs the signal transmitted from either the addition unit 10 or the subtraction unit 11, and when “0” is applied to the selection signal terminal S, the selection unit 12 outputs the signal transmitted from the subtraction unit 11 when “0” is applied to the selection signal terminal S. On the other hand, when "1" is applied to the selection signal terminal S, the value transmitted from the adder 10 is output.

次に第3図の動作について説明する。 Next, the operation shown in FIG. 3 will be explained.

いま、第2図ロにおける時刻t0で受信信号であ
る黒ラベル信号B0′により最初の立上りが伝達さ
れたときエツジ検出回路1はこれを検出して
「1」を出力する。これにより信号幅カウント回
路2は、図示省略したクロツク源にもとづき計数
動作を開始する。そして時刻t1にて黒ラベル信号
B0′が終了すると、その立下りがエツジ検出回路
1にて検出され、これにより信号幅カウント回路
2はそのときまでに計数した黒ラベル信号B0′の
長さaを出力しているので、このaが第1バツフ
ア3にセツトされる。またこの時刻t1におけるエ
ツジ検出回路1からの出力「1」により信号幅カ
ウント回路2はリセツトされ、今度は白ラベル信
号W0′の長さを測定するために計数動作を開始す
る。そして時刻t2において白ラベル信号W0′が終
り、黒ラベル信号B1′の立上りがエツジ検出回路
1で検出されて「1」が出力されるとき、第1バ
ツフア3にセツトされている前記aがゲート5を
経由して第2バツフア6にセツトされ、第1バツ
フア3には信号幅カウント回路2から伝達された
白ラベル信号W0′の長さbがセツトされる。それ
から信号幅カウント回路2は一度リセツトされ、
黒ラベル信号B1′の長さを測定し始めることにな
る。
Now, when the first rising edge of the black label signal B 0 ', which is the received signal, is transmitted at time t 0 in FIG. 2B, the edge detection circuit 1 detects this and outputs "1". As a result, the signal width counting circuit 2 starts a counting operation based on a clock source (not shown). Then, at time t 1 , the black label signal
When B 0 ' ends, its falling edge is detected by the edge detection circuit 1, and the signal width counting circuit 2 outputs the length a of the black label signal B 0 ' counted up to that time. , this a is set in the first buffer 3. Further, the signal width counting circuit 2 is reset by the output "1" from the edge detection circuit 1 at this time t1, and starts counting operation to measure the length of the white label signal W0 '. Then, at time t2 , when the white label signal W0 ' ends and the edge detection circuit 1 detects the rising edge of the black label signal B1 ' and outputs "1", the above signal set in the first buffer 3 a is set in the second buffer 6 via the gate 5, and the length b of the white label signal W 0 ' transmitted from the signal width counting circuit 2 is set in the first buffer 3. Then, the signal width count circuit 2 is reset once,
We will start measuring the length of the black label signal B 1 '.

このようなことが順次行なわれ時刻t4において
第4バツフア8にaがセツトされ、第3バツフア
7にbがセツトされ、第2バツフア6にcがセツ
トされ、第1バツフア3にdがセツトされたと
き、基準信号検知部4は第1バツフア3からそれ
までに順次出力された前記a,b,cにもとづき
これらが基準信号の1つであるガツド・バーであ
ることを認識し、ゲート5をオフに制御する。こ
のとき補正量生成回路9では前記第2バツフア6
ないし第4バツフア8から伝達された前記a,
b,cにもとづき補正量1/4(3c−2b−a)を演
算出力するので、加算部10ではd+1/4(3c− 2b−a)の演算が行なわれてその結果が出力さ
れ、減算部11ではd−1/4(3c−2b−a)の演 算が行なわれてその結果が出力され、それぞれ選
択部12の入力端子P,Qに伝達される。このと
きエツジ検出回路1には黒ラベル信号B2′が伝達
されているので、選択部12の選択端子Sには
「1」が印加されているので、選択部12は加算
部10から出力されたd+1/4(3c−2c−a)を 出力することになる。そしてエツジ検出回路1に
次の白ラベル信号が伝達されたとき、選択端子S
には「0」が印加されるので、今度は第1バツフ
ア3にセツトされたeが減算部11で補正された
e−1/4(3c−2b−a)が選択部12から出力さ れることになる。
These steps are performed in sequence, and at time t4 , a is set in the fourth buffer 8, b is set in the third buffer 7, c is set in the second buffer 6, and d is set in the first buffer 3. When the reference signal detection unit 4 recognizes that the signals a, b, and c that have been sequentially outputted from the first buffer 3 are the gated bars, which are one of the reference signals, Control 5 off. At this time, in the correction amount generation circuit 9, the second buffer 6
or said a transmitted from the fourth buffer 8;
Since the correction amount 1/4 (3c - 2b - a) is calculated and output based on b and c, the adder 10 calculates d + 1/4 (3c - 2b - a) and outputs the result. The section 11 performs the calculation of d-1/4 (3c-2b-a), outputs the result, and transmits it to the input terminals P and Q of the selection section 12, respectively. At this time, since the black label signal B 2 ' is transmitted to the edge detection circuit 1, "1" is applied to the selection terminal S of the selection section 12, so that the selection section 12 receives the output from the addition section 10. It will output d+1/4(3c-2c-a). Then, when the next white label signal is transmitted to the edge detection circuit 1, the selection terminal S
Since "0" is applied to , the selection section 12 outputs e-1/4 (3c-2b-a), which is obtained by correcting e set in the first buffer 3 by the subtraction section 11. It turns out.

このようにして選択部12からは歪の補正され
た受信信号が順次出力されることになり、これに
もとづき受信信号の正確な識別を行なうことがで
きる。
In this way, the selection unit 12 sequentially outputs distortion-corrected received signals, and based on this, the received signals can be accurately identified.

なお上記の説明では基準信号が3つの信号によ
り構成された場合について説明したが基準信号が
同一の信号幅を有する黒ラベル信号(信号幅を
A′)と白ラベル信号(信号幅をB′)により構成
されているときでも、同様にして補正することが
できる。この場合にはA′=B′であるので、それ
らの受信信号幅をa′,b′とすれば、次式が成立す
る。
Note that in the above explanation, the reference signal is composed of three signals, but the reference signal is a black label signal with the same signal width (the signal width is
A′) and a white label signal (signal width B′) can be corrected in the same way. In this case, A'=B', so if the widths of these received signals are a' and b', the following equation holds true.

A′+B′=a′+b′、 同様にラベル信号C′,D′,E′の受信信号幅を
c′,d′,e′とすればB′+C′=b′+c′、C′+D′
=c′+
d′……である。
A′+B′=a′+b′, Similarly, the received signal width of label signals C′, D′, and E′ is
If c′, d′, e′, B′+C′=b′+c′, C′+D′
=c′+
d'... is.

そして信号の立上りから立上り(あるいは立下
りから立下り)までの時間は送信側でも受信側で
も同一であるので、次式が成立する。
Since the time from rise to rise (or from fall to fall) of the signal is the same on both the transmitting side and the receiving side, the following equation holds.

A′=B′ ∴B′=1/2(a′+b′) …… B′+C′=b′+c′ ∴C′=b′+c′−B′ =c′+b′−1/2(a′+b′) ∴C′=c′+1/2(b′−a′) …… また D′=c′+d′−C′ =c′+d′−{c′+1/2(b′−a′)} ∴D′=d′−1/2(b′−a′) …… 以下同様にして次式が成立する。A′=B′ ∴B′=1/2(a′+b′) …… B′+C′=b′+c′ ∴C′=b′+c′−B′ =c′+b′−1/2(a′+b′) ∴C′=c′+1/2(b′−a′) …… Also D′=c′+d′−C′ =c′+d′−{c′+1/2(b′−a′)} ∴D′=d′−1/2(b′−a′) …… Similarly, the following equation holds true.

E′=d′+e′−D′=e′+1/2(b′−a′) …… したがつて黒レベル信号(ハイ・レベル)の補
正値1/2(b′−a′)および白レベル信号(ロー・
レベル)の補正値−1/2(b′−a′)を実測波形の 時間幅に加えることにより正規化された波形に変
換することができる。
E'=d'+e'-D'=e'+1/2 (b'-a')... Therefore, the correction value of the black level signal (high level) is 1/2 (b'-a') and White level signal (low/
By adding a correction value -1/2 (b'-a') of (level) to the time width of the measured waveform, it can be converted into a normalized waveform.

したがつて以上説明の如く本発明によれば基準
信号を検出してこれにもとづき補正量を求めこれ
を実測波形に加算するようにして正規化信号を得
ることができるので、非常に正確に受信信号を識
別することができる。それ故、受信信号の認識率
を非常に向上することができるとともに、例えば
バー・コードを正確に判続し、これにもとづき正
確なデータを得ることができる。なお上記説明で
はバー・コード信号について説明したが、勿論本
発明はこれのみに限定されるものではない。
Therefore, as explained above, according to the present invention, a normalized signal can be obtained by detecting a reference signal, determining the correction amount based on it, and adding it to the measured waveform, so that reception can be performed very accurately. Be able to identify signals. Therefore, the recognition rate of the received signal can be greatly improved and, for example, bar codes can be interpreted accurately and accurate data can be obtained based on this. Although the above description has been made regarding a bar code signal, the present invention is of course not limited to this.

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

第1図はバー・コードの説明図、第2図イは理
想的なバー・コード読取り波形、第2図ロは歪み
を有する状態の受信波形、第3図は本発明の一実
施例構成である。 図中、1はエツジ検出回路、2は信号幅カウン
ト回路、3は第1バツフア、4は基準信号検知
部、5はゲート、6は第2バツフア、7は第3バ
ツフア、8は第4バツフア、9は補正量生成回
路、10は加算部、11は減算部、12は選択部
をそれぞれ示す。
Fig. 1 is an explanatory diagram of a bar code, Fig. 2 A is an ideal bar code reading waveform, Fig. 2 B is a received waveform with distortion, and Fig. 3 is the configuration of an embodiment of the present invention. be. In the figure, 1 is an edge detection circuit, 2 is a signal width count circuit, 3 is a first buffer, 4 is a reference signal detection section, 5 is a gate, 6 is a second buffer, 7 is a third buffer, and 8 is a fourth buffer. , 9 is a correction amount generation circuit, 10 is an addition section, 11 is a subtraction section, and 12 is a selection section.

Claims (1)

【特許請求の範囲】 1 信号のハイレベル期間およびローレベル期間
を検出する期間検出手段と、基準信号を検出する
基準信号検出手段と、基準信号を一時的に保持す
る複数の信号保持手段と、この複数の信号保持手
段に保持された基準信号にもとづき補正量を生成
する補正量生成手段と、この補正量を入力信号に
加算する加算部と、この補正量を入力信号から減
算する減算部と、入力信号に対応し、加算部及び
減算器の出力を選択し出力する選択部とを具備
し、 入力された前記基準信号にもとづき入力信号の
補正量を演算しこの補正量を入力信号に対し、加
算又減算を行い入力信号を補正することを特徴と
する 直列信号補正方式。
[Claims] 1. Period detection means for detecting a high level period and a low level period of a signal, a reference signal detection means for detecting a reference signal, and a plurality of signal holding means for temporarily holding the reference signal; a correction amount generating means for generating a correction amount based on the reference signals held in the plurality of signal holding means; an addition section for adding the correction amount to the input signal; and a subtraction section for subtracting the correction amount from the input signal. , a selection unit that selects and outputs the output of the adder and the subtracter in response to the input signal, calculates a correction amount for the input signal based on the input reference signal, and applies this correction amount to the input signal. A serial signal correction method characterized by correcting an input signal by performing addition or subtraction.
JP9715181A 1981-06-23 1981-06-23 Serial signal correcting system Granted JPS57211668A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9715181A JPS57211668A (en) 1981-06-23 1981-06-23 Serial signal correcting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9715181A JPS57211668A (en) 1981-06-23 1981-06-23 Serial signal correcting system

Publications (2)

Publication Number Publication Date
JPS57211668A JPS57211668A (en) 1982-12-25
JPS6363949B2 true JPS6363949B2 (en) 1988-12-09

Family

ID=14184564

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9715181A Granted JPS57211668A (en) 1981-06-23 1981-06-23 Serial signal correcting system

Country Status (1)

Country Link
JP (1) JPS57211668A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58201177A (en) * 1982-05-20 1983-11-22 Matsushita Electric Ind Co Ltd Bar width recognition method
JPH0673144B2 (en) * 1986-07-01 1994-09-14 キヤノン株式会社 How to read the serial code

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5520585A (en) * 1978-07-31 1980-02-14 Sharp Corp Demodulating system for bar-code signal

Also Published As

Publication number Publication date
JPS57211668A (en) 1982-12-25

Similar Documents

Publication Publication Date Title
CN1082296A (en) Measure the device of skew timing errors
JP2886545B2 (en) Margin recognition method and bar code reader
JP2740418B2 (en) Barcode reading demodulation method
TW460863B (en) Data error correction device
JPS6363949B2 (en)
KR0148004B1 (en) Error correction device
US4578720A (en) Self-clocking code demodulator with error detecting capability
JPH0528626A (en) Card reader
JP3178595B2 (en) Time measuring device
US4061900A (en) Indicia validation system
US5390030A (en) Peak holding circuit and video processing unit using the same
JPH07264400A (en) Shading correction circuit
JP3256253B2 (en) Pulse density modulation type D / A conversion circuit
JP2984802B2 (en) Input signal abnormality detection circuit
EP0546851A1 (en) Digital data detector
JPH07181249A (en) Ultrasonic distance measuring instrument
JPS59201174A (en) Signal processing method for bar code reader
JP2644112B2 (en) FIFO test diagnostic circuit
JPH0121436Y2 (en)
KR100526938B1 (en) Method for receiving differential code at micom
SU1486789A1 (en) DEVICE FOR MEASUREMENT OF POSITION OF OBJECT
KR100435560B1 (en) How to Receive Differential Codes from Microcomputer
KR19980074516A (en) An error correction method and an apparatus therefor for reproducing a digital signal
JPS62180487A (en) Level correcting system
KR960011956A (en) Digital VRF identification code processing circuit