KR900004659B1 - Circuit for preprocessing bar code scanner - Google Patents

Circuit for preprocessing bar code scanner Download PDF

Info

Publication number
KR900004659B1
KR900004659B1 KR1019870015160A KR870015160A KR900004659B1 KR 900004659 B1 KR900004659 B1 KR 900004659B1 KR 1019870015160 A KR1019870015160 A KR 1019870015160A KR 870015160 A KR870015160 A KR 870015160A KR 900004659 B1 KR900004659 B1 KR 900004659B1
Authority
KR
South Korea
Prior art keywords
bar code
bar
data
signal
detector
Prior art date
Application number
KR1019870015160A
Other languages
Korean (ko)
Other versions
KR890010744A (en
Inventor
박경륜
Original Assignee
삼성전자 주식회사
안시환
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 삼성전자 주식회사, 안시환 filed Critical 삼성전자 주식회사
Priority to KR1019870015160A priority Critical patent/KR900004659B1/en
Publication of KR890010744A publication Critical patent/KR890010744A/en
Application granted granted Critical
Publication of KR900004659B1 publication Critical patent/KR900004659B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K3/00Methods or arrangements for printing of data in the shape of alphanumeric or other characters from a record carrier, e.g. interpreting, printing-out from a magnetic tape
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • General Health & Medical Sciences (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Information Transfer Systems (AREA)

Abstract

The circuit includes a boundary limitter (12) for transmitting enable signal when bar code value Ty is existing on bar code standard (KSC 5810), a character counter (13) for detecting half field utilizing a guard bar detector (15) and a center bar detector (14) and for applying reset signal to data memory (10) so that incomplete bar code data is eliminated, a main memory (102) for storing data from a buffer (101) by control signal from a microprocessor (16), and a control unit (103) for applying control signal to a buffer (101).

Description

바 코드 스캐너 전 처리회로Bar code scanner preprocessing circuit

제1도는 본 발명회로의 신호의 흐름을 나타내는 회로도.1 is a circuit diagram showing the flow of signals in the circuit of the present invention.

제2도는 제1도 메모리부의 상세도.2 is a detailed view of the first memory unit.

제3도는 TTL 레벨의 바 코드 신호.3 is a bar code signal of a TTL level.

* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings

1 : 데이터 동기부 2 : 에지 검출부1: data synchronizer 2: edge detector

3 : 좌우문자 선택부 4 : 래치3: left and right character selection unit 4: latch

5 : 비트 카운터 6 : 문자 길이 비교부5: bit counter 6: character length comparison unit

7 : 연산부 8 : 출력 게이트부7: calculator 8: output gate

9 : 출력 제어부 10 : 데이터 저장부9: output control unit 10: data storage unit

11 : 기입신호 발생부 12 : 범위 제한부11: write signal generator 12: range limiter

13 : 문자 카운터 14 : 센터 바 검출부13: character counter 14: center bar detection unit

15 : 가드 바 검출부 16 : 마이크로 프로세서15: guard bar detection unit 16: microprocessor

101 : 버퍼 102 : 메인 메모리101: buffer 102: main memory

103 : 제어부103: control unit

본 발명은 POS(Point-of-sale)시스템의 입력단말중의 하나인 바 코드 스캐너의 전 처리회로에 관한 것이다.The present invention relates to a preprocessing circuit of a bar code scanner, which is one of the input terminals of a point-of-sale (POS) system.

종래의 방식은 바 코드 한 문자 정보인 Tx, Ty, Tz, Tm값을 저장하기 위해 가드 바(guard bar)와 센터 바(center bar)를 식별하여 광학계를 통하여 입력되는 데이터 중에 가드바를 통과한 입력을 저장한 후 마이크로프로세서로 출력하도록 구성되는 것이었다.The conventional method identifies a guard bar and a center bar to store T x , T y , T z , and T m values, which are bar code character information, and guards the data input through the optical system. It was configured to store the input through the bar and output it to the microprocessor.

그러나 이러한 종래의 기술은 가드바와 센터바 식별회로가 Tx, Ty 값을 비교하여 식별하므로 입력데이타 중에서 가드 바 또는 센터 바와 같은 구성을 가지면 가드 바 또는 센터 바로 인식하므로 데이터의 유효율이 저하되었으며, 비록 실제 가드 바 또는 센터 바가 입력되고 완전하지 못한 하프 필드(half field)가 입력되더라도 데이터가 저장되어 입력데이타 유효율 및 스캐너 판독율 저하의 원인이 되는 문제점이 있었다.However, since the guard bar and the center bar identification circuit identify and compare the Tx and Ty values, the conventional technology recognizes the guard bar or the center bar among the input data, thereby reducing the effective rate of the data. Even when a guard bar or a center bar is input and an incomplete half field is input, data is stored, which causes a decrease in input data validity rate and scanner read rate.

본 발명은 상기한 문제점을 개선하기 위하여 안출한 것으로서, 가드 바와 센터바의 식별을 정확하게 하기 위해 범위 제한부(12)를 구성하여 Ty의 값을 바 코드 규격(KSC 5810) 범위내로 한정 시켰으며 완전한 하프 필드를 저장하기 위해 문자 카운터(13)를 구성함으로서 저장 데이터의 유효율 및 스캐너 판독율을 향상시킬 수 있는 바 코드 스캐너 전 처리회로를 제공하는 것을 그 목적으로 한다.The present invention has been made to solve the above problems, and the range limiting portion 12 is configured to accurately identify the guard bar and the center bar to limit the value of Ty to the bar code standard (KSC 5810) range. It is an object of the present invention to provide a bar code scanner preprocessing circuit which can improve the validity rate of the stored data and the scanner read rate by configuring the character counter 13 to store the half field.

이하 첨부된 도면에 의하여 본 발명을 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제1도는 본 발명 회로도이고, 데이터 동기부(1)로 입력되는 신호는 바 코드에 반사된 빛을 수광회로를 통하여 받아들여 증폭한 아날로그 신호로부터 검출된 TTL레벨의 바 코드 신호이다. 바 코드 신호는 제3도에 도시한 바와 같이 좌 가드 바(Left guard bar)와 센터 바 사이에 6개의 문자 신호가 존재하며 센터바와 우 가드 바(Right guard bar)사이에도 문자 신호가 존재하게 되는 것이다.1 is a circuit diagram of the present invention, wherein a signal input to the data synchronizer 1 is a bar code signal of a TTL level detected from an analog signal that receives and amplifies the light reflected by the bar code through a light receiving circuit. As shown in FIG. 3, the bar code signal has six letter signals between the left guard bar and the center bar, and a letter signal exists between the center bar and the right guard bar. will be.

또한 하나의 문자 신호는 Tx, Ty, Tz, Tm으로 구성되며 Tx는 Ty와, Ty는 Tx및 Tz와, Tz는 Ty및 Tm과 공유하는 부분을 갖게 된다.In addition, one character signal is composed of T x , T y , T z , and T m , where T x is T y , T y is T x and T z , and T z is part of T y and T m . Will have

상기한 바 코드 신호는 데이터 동기부(1)에서 클럭에 동기화되고 에지검출부(2)에서 상승에지 및 하강에지가 검출되어 좌우문자 선택부(3)로 인가된다. 좌우 문자 선택부(3)는 센터 바 검출부(14)로부터 인가되는 제어신호(CW)에 의해 좌우 문자를 선택하게되고 센터 바 검출부(14)는 센터바를 기점으로 좌우문자를 판별하여 제어신호(CW)를 인가하게 된다. 한편 범위 제한부(12)는 광학부의 속도 및 바 코드의 규격(KSC 5810)에 따라 범위를 정하여 그 범위에 속할 때 인에이블 신호를 발생시켜 센터 바 검출부(14) 및 가드 바 검출부(15)로 인가하는 것으로서, 가드바는 Ty=Tz, Lz>Lz-1일 때에 센터바는 Tx=Ty=Tz, Lz<Lz-1일 때에 검출되어 제어신호를 발생한다. 상기한 문자의 길이 Lz와 Lz-1의 비교는 문자 길이 비교부(6)에서 행하여 진다. 이렇게 하여 발생된 가드 바 검출부(15) 출력 신호(FW)는 일정범위(광학부 속도 및 바 코드규격)에서 센터 바 검출부(14)의 출력(CW)이 발생하지 않을때에 문자 카운터(13)에 의해 데이터 저장부(10)로 리세트신호(RES)를 인가하여 불완전한 바코드 데이터를 제거한다.The bar code signal is synchronized to the clock in the data synchronizer 1, and the rising edge and the falling edge are detected in the edge detector 2 and applied to the left and right character selection units 3. The left and right character selection unit 3 selects the left and right characters by the control signal CW applied from the center bar detection unit 14, and the center bar detection unit 14 determines the left and right characters from the center bar, and controls the control signal CW. ) Is applied. On the other hand, the range limiting unit 12 sets the range according to the speed of the optical unit and the bar code standard (KSC 5810), and generates an enable signal when the range is included in the range to the center bar detector 14 and the guard bar detector 15. By applying, the guard bar is detected when T y = T z and L z > L z-1 and the center bar is detected when T x = T y = T z and L z <L z-1 to generate a control signal. . The comparison between the lengths L z and L z-1 of the above-described characters is performed in the character length comparison section 6. The guard bar detector 15 output signal FW generated in this way is the character counter 13 when the output CW of the center bar detector 14 does not occur in a certain range (optical speed and bar code standard). By applying the reset signal RES to the data storage unit 10 to remove the incomplete barcode data.

또한 이때 Lx, Ly, Lz, Lm을 이용하여 Tx, Ty, Tz, Tm을 연산부(7)에서 계산하며, 출력제어부(9)의 제어신호(Xe, Ye, Ze, Me)에 의해 출력 게이트부(8)를 통해 데이터 저장부(10)로 입력된다.In addition, T x , T y , T z , and T m are calculated by the calculating unit 7 using L x , L y , L z , L m , and the control signals Xe, Ye, Ze of the output control unit 9 are calculated. Me) is input to the data storage unit 10 through the output gate unit 8.

상기 연산부(7)의 연산동작은 Tx=Lx, Ty=Lm-Ly, Tz=Lz-Lx, Tm=Lz-Lm으로 이루어 진다.The calculation operation of the calculation unit 7 is composed of T x = L x , T y = L m -L y , T z = L z -L x , and T m = L z -L m .

또한 데이터 저장부(10)로 데이터를 저장할시에 필요로 하는 기입, 독출 및 리세트등의 제어신호는 기입신호 발생부(11)와 마이크로 프로세서(16)로부터의 신호를 사용하며, 마이크로 프로세서(16)는 데이터 저장부(10)에 저장된 바 코드 데이터를 하프 필드씩 읽고 디코딩하여 최종의 바 코드를 계산한다.In addition, control signals such as write, read, and reset required for storing data in the data storage unit 10 use signals from the write signal generator 11 and the microprocessor 16, and the microprocessor ( 16) reads and decodes bar code data stored in the data storage unit 10 half by bit to calculate a final bar code.

한편, 상기 데이터 저장부(10)는 제2도에 도시된 바와 같이 버퍼(101)와 메인 메모리(102)와 제어부(103)로 구성되어, 가드 바 통과시에 데이터를 버퍼(101)에 임시저장한 후 제어부(103)의 제어신호에 의해 메인 메모리(102)로 저장하는 역할을 한다.Meanwhile, as illustrated in FIG. 2, the data storage unit 10 includes a buffer 101, a main memory 102, and a controller 103 to temporarily store data in the buffer 101 when passing through a guard bar. After storing, the controller stores the main memory 102 by the control signal of the controller 103.

상기한 바와 같은 본 발명의 바 코드 스캐너 전 처리회로를 이용하여 실시간으로 고속의 데이터를 처리하여 줌으로서 유효데이타의 저장 효율을 높이고 오독을 줄여 판독율을 향상시키며 이에 따르는 제품의 성능 향상으로 개선된 바 코드 스캐너를 구성할 수 있다.By using the bar code scanner preprocessing circuit of the present invention as described above, the high-speed data is processed in real time, thereby increasing the storage efficiency of effective data, reducing misreading, improving the read rate, and improving the performance of the product. You can configure the bar code scanner.

Claims (1)

바 코드 입력신호로부터 가드바와 센터 바를 검출하고 좌우문자를 선택하며 바 코드 신호를 해독하여 데이터로서 저장하는 바 코드 스캐너의 바 코드 신호 처리회로에 있어서, 가드 바 검출부(15)와 센터 바 검출부(14)로 바 코드의 Ty값이 바 코드 규격(KSC 5810) 범위내에 존재할 때 인에이블 신호를 출력하는 범위 제한부(12)와, 상기한 가드 바 검출부(15)와 센터 바 검출부(14)로부터 하프 필드를 감지하고 불완전한 바 코드 데이터를 제거하기 위하여 데이터 저장부(10)로 리세트 신호를 인가하는 문자 카운터(13)와, 바 코드 데이터 신호를 일시저장하는 버퍼(101)와, 상기 버퍼(101)의 데이터를 마이크로 프로세서(16)의 제어에 의해 저장하는 메인 메모리(102)와, 상기 문자 카운터(13) 및 상기 센터/가드 바 검출부(14, 15)의 인가신호에 의해 상기 버퍼(101)로 제어신호를 인가하는 제어부(103)로 구성되는 데이터 저장부(10)를 포함하여 이루어지는 것을 특징으로 하는 바 코드 스캐너 전 처리회로.A bar code signal processing circuit of a bar code scanner which detects a guard bar and a center bar from a bar code input signal, selects left and right characters, decodes the bar code signal, and stores the data as a data, the guard bar detector 15 and the center bar detector 14 From the range limiter 12 that outputs an enable signal when the T y value of the bar code is within the bar code standard (KSC 5810), and the guard bar detector 15 and the center bar detector 14 described above. A character counter 13 for applying a reset signal to the data storage unit 10 to detect a half field and to remove incomplete bar code data, a buffer 101 for temporarily storing a bar code data signal, and the buffer ( The buffer 101 by an application signal of the main memory 102 and the character counter 13 and the center / guard bar detectors 14 and 15 which store data of the 101 under the control of the microprocessor 16. Control scene Bar code scanner pre-processing circuit comprising a data storage unit 10 consisting of a control unit 103 for applying a call.
KR1019870015160A 1987-12-28 1987-12-28 Circuit for preprocessing bar code scanner KR900004659B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019870015160A KR900004659B1 (en) 1987-12-28 1987-12-28 Circuit for preprocessing bar code scanner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019870015160A KR900004659B1 (en) 1987-12-28 1987-12-28 Circuit for preprocessing bar code scanner

Publications (2)

Publication Number Publication Date
KR890010744A KR890010744A (en) 1989-08-10
KR900004659B1 true KR900004659B1 (en) 1990-07-02

Family

ID=19267521

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019870015160A KR900004659B1 (en) 1987-12-28 1987-12-28 Circuit for preprocessing bar code scanner

Country Status (1)

Country Link
KR (1) KR900004659B1 (en)

Also Published As

Publication number Publication date
KR890010744A (en) 1989-08-10

Similar Documents

Publication Publication Date Title
EP0079495B1 (en) Method for controlling the operation of an optical scanner
EP0390162B1 (en) An apparatus for reading a bar code
EP0020448B1 (en) Optical data sensing system including power control means
EP0029456B1 (en) Slot scanning system
US4713785A (en) Method of inhibiting processing of duplicative coded label signals
EP0029455B1 (en) Symbol processing system
JPH07101437B2 (en) Code reader
JPH0354388B2 (en)
KR900004659B1 (en) Circuit for preprocessing bar code scanner
US4061900A (en) Indicia validation system
JP3324123B2 (en) Card reader
JPS61290578A (en) Bar code reader
JP2778870B2 (en) Barcode decoder
KR930002341B1 (en) Bar code decoder using digital signal processing chip
JPH0954809A (en) Device and method for detecting bar code
JPS6231485A (en) Bar code reader
JP2779898B2 (en) Barcode reader
CA1078061A (en) Multiple code sensing optical reader
JPS63266585A (en) Readout control system
JP2923375B2 (en) Barcode reader
JP2655758B2 (en) Barcode reader and barcode reading method
JP2677806B2 (en) Code reader
KR940006118B1 (en) Middle bar detection and correct character decision method and apparatus of bar code system
KR930002342B1 (en) Double input protection apparatus for bar code scanner
JPS6159571A (en) Bar code reader

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20000629

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee