KR910009928B1 - Method and apparatus for detecting signal of barcode reader - Google Patents

Method and apparatus for detecting signal of barcode reader Download PDF

Info

Publication number
KR910009928B1
KR910009928B1 KR1019890017601A KR890017601A KR910009928B1 KR 910009928 B1 KR910009928 B1 KR 910009928B1 KR 1019890017601 A KR1019890017601 A KR 1019890017601A KR 890017601 A KR890017601 A KR 890017601A KR 910009928 B1 KR910009928 B1 KR 910009928B1
Authority
KR
South Korea
Prior art keywords
signal
detects
outputting
slice level
bar code
Prior art date
Application number
KR1019890017601A
Other languages
Korean (ko)
Other versions
KR910010359A (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 KR1019890017601A priority Critical patent/KR910009928B1/en
Publication of KR910010359A publication Critical patent/KR910010359A/en
Application granted granted Critical
Publication of KR910009928B1 publication Critical patent/KR910009928B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/88Image or video recognition using optical means, e.g. reference filters, holographic masks, frequency domain filters or spatial domain filters

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Manipulation Of Pulses (AREA)
  • Facsimiles In General (AREA)

Abstract

An apparatus is capable of detecting the input signal of a bar code reader by changing the binary slice level after converting the bar code signal into the binary digital signal. The apparatus comprises a photo detector (D1), an amplifying means (OP1,OP2,OP4), a detecting means (OP5,D2) for detecting the binary slice level from the amplified signal, a control means (SW1,SW2) for producing the binary slice level signal, and a comparating mean (CM1) for comparating said binary slice level signal with the bar code signal and producing the binary digital signal.

Description

바 코드 해독기의 신호 검출 방법 및 그 장치Signal detection method of bar code decoder and apparatus therefor

제1도는 본 발명을 설명하기 위한 플로우챠트.1 is a flowchart for explaining the present invention.

제2도는 본 발명 장치의 일 실시예의 회로도.2 is a circuit diagram of one embodiment of the device of the present invention.

제3도는 본 발명 장치의 다른 실시예의 회로도.3 is a circuit diagram of another embodiment of the device of the present invention.

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

1 : 마이크로 프로세서 2 : 선택신호1: microprocessor 2: selection signal

3 : 출력신호단자 OP1,OP2,OP5: 연산증폭기3: Output signal terminal OP 1 , OP 2 , OP 5 : Operational Amplifier

OP3,OP4: 버퍼 CM1: 비교기OP 3 , OP 4 : Buffer CM 1 : Comparator

SW1,SW2: 선택 스위치 D1: 광 검출기SW 1 , SW 2 : Selection switch D 1 : Photo detector

본 발명은 바 코드해독기(Bar Code Reader)에서의 신호 검출 방법 및 그 장치에 관한 것으로, 특히 스캔되어 입력된 광신호 데이타를 광전 변환한 후 디코딩(Decoding)할 수 있는 2차 디지탈 신호로 변환이 가능한 바 코드해독기의 신호 검출 방법 및 그 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for detecting a signal in a bar code reader. In particular, the present invention relates to a secondary digital signal that can be decoded after photoelectric conversion of scanned and input optical signal data. The present invention relates to a method and a device for detecting a signal of a bar code decoder.

종래의 바 코드해독기에서는 2차 디지탈 신호로 변환하는 신호 검출 장치가 구비되어 있지 못하여 거리 또는 바 코드 비율이 민감하여 변화됨에 따라 효율적인 스캐닝이 불가능한 문제점이 있었다.In the conventional bar code decoder, a signal detection device for converting a secondary digital signal is not provided, and thus, a problem is that efficient scanning is not possible because the distance or bar code ratio is sensitively changed.

본 발명은 이러한 종래의 문제점을 감안하여 다수개의 연산 증폭기와 마이크로 프로세서등을 부가시켜 2차 슬라이스 레벨(Slice Level)을 변화시켜 가면서 얻어진 디지탈 신호로서 디코딩을 행하여 보다 효율적인 스캐닝을 행할 수 있도록한 바 코드해독기의 신호 검출 방법 및 그 장치를 제공함을 목적으로 한 것으로 이하 첨부된 도면에 따라 본 발명을 상세히 설명하면 다음과 같다.In view of the above-mentioned problems, the present invention adds a plurality of operational amplifiers, microprocessors, and the like to decode digital signals obtained by changing secondary slice levels, thereby enabling more efficient scanning. The object of the present invention is to provide a method and apparatus for detecting a signal of a decoder.

제1도에는 본 발명 방법을 설명하기 위한 플로우 챠트를 나타내고 있는 것으로 마이크로 프로세서(1)에서 레이저 스캔 인에이블(L.S.E)신호를 검출하여 L.S.E신호이면 확실한 해독(Good Read)상태인가를 검출하여 확실한 해독 상태이면 ASCII코드 신호를 출력한 후 확실한 해독 신호를 출력한 다음 종료하는 제1과정과; 상기 제1과정중 확실한 해독 상태가 아니면 타임 아웃(Time Out)인가를 검출하여 타임 아웃이면 불확실한 해독 신호를 출력한 다음 종료하는 제2과정과; 상기 제2과정중 타임아웃이 아니면 스위치(SW1)를 선택한후 재차 확실한 해독 상태인가를 검출하여 아니면 타임아웃 인가를 검출하되 아니면 스위치(SW2)를 선택한 다음 재차 확실한 해독 상태인가를 검출하고 그래도 아니면 타임 아웃인가를 검출하여 타임 아웃이면 상기 불확실한 해독 신호를 출력한 다음 종료하는 제3과정과; 상기 스위치(SW1),(SW2) 선택후 확실한 해독 상태이면 ASCII코드 신호를 출력한 후 확실한 해독 신호를 출력한 다음 종료하는 제4과정으로 이루어진 것이다.Figure 1 shows a flow chart for explaining the method of the present invention. The microprocessor 1 detects a laser scan enable (LSE) signal and detects that the LSE signal is in a good read state, thereby ensuring a reliable readout. A first step of outputting a decode signal after outputting an ASCII code signal if it is in a state; A second step of detecting whether a timeout occurs in the first process if the timeout is not determined, and outputting an uncertain decoding signal if the timeout occurs, and then terminating; The second process time-out, or switch (SW 1) to select and then detects the applied again obvious decrypted state, or unless but detects the applied time-out switch (SW 2) to select the next still detects is again obvious decrypted state of Or detecting the time out and outputting the uncertain decryption signal if it is time out, and then terminating; If the switch (SW 1 ), (SW 2 ) is selected after the decoded state is a fourth step of outputting the decoded signal and then outputting the decoded signal is sure.

또한 제2도에는 본 발명 장치의 1실시예의 구성을 나타낸 것으로, 이는 광신호를 소광하는 광검출기(D1)가 반전(-)입력단에 연결된 연산증폭기(OP1)의 출력단에 연산증폭기(OP2)의 비반전(+)입력단에 연결하고, 상기 연산증폭기(OP2)의 출력단에는 콘덴서(C1) 및 버퍼(OP3)를 통해 연산증폭기(OP4)의 반전(-)입력단을 연결하며, 상기 연산증폭기(OP4)의 출력단에는 비교기(CM1)의 비반전(+)입력단을 연결하되 상기 비교기(CM1)의 반전(-)입력단에는 마이크로 프로세서(1)의 선택신호(2)에 의해 제어되는 선택 스위치(SW1),(SW2), 저항(R15)(R16) 및 콘덴서(C3),(C4)를 각각 직렬 접속하고 또한 저항(R14) 및 콘덴서(C2)를 직렬 접속하며 상기 마이크로 프로세서(1)의 출력단은 출력신호단자(3)에 연결하여서 된 것이다.FIG. 2 also shows a configuration of one embodiment of the apparatus of the present invention, in which the photodetector D 1 for quenching the optical signal is connected to the output terminal of the operational amplifier OP 1 connected to the inverting (−) input terminal. 2) the non-inverting (+) connected to the input of the said operational amplifier (output stage, the condenser of the OP 2) (C 1) and a buffer (inversion (of the operational amplifier (OP 4) through the OP 3) -) connected to the input terminal and the operational amplifier (OP 4), the output terminal of the comparator (CM 1) the non-inverting (+) inversion of the comparator (CM 1) but connected to the input end of - the selection signal (2 at the input terminal, the microprocessor (1) () Control switch (SW 1 ), (SW 2 ), resistor (R 15 ) (R 16 ) and capacitor (C 3 ), (C 4 ) connected in series, respectively, and resistor (R 14 ) and capacitor (C 2 ) is connected in series, and the output terminal of the microprocessor 1 is connected to the output signal terminal 3.

또한 제3도에는 본 발명 장치의 다른 실시예의 구성을 나타낸 것으로 이는 제2도에서, 비교기(CM1)의 반전(-)입력단에 각각 직렬접속된 선택 스위치(SW1)(SW2), 저항(R15),(R16) 및 콘덴서(C3),(C4)에 대신하여 저항(R17)을 접속하고, 비교기(CM1)의 출력단을 출력 신호단자(3)에 직결하여서 된 것이고, 그 밖의 구성은 제2도와 동일하다.FIG. 3 also shows a configuration of another embodiment of the apparatus of FIG. 2, which shows, in FIG. 2, a select switch SW 1 (SW 2 ) and a resistor connected in series to the inverting (-) input terminal of the comparator CM 1 . Instead of (R 15 ), (R 16 ) and capacitors (C 3 ), (C 4 ), a resistor (R 17 ) is connected, and the output terminal of the comparator (CM 1 ) is connected directly to the output signal terminal (3). The rest of the configuration is the same as that in FIG.

이와 같이 이루어진 본 발명의 작용효과를 설명하면 다음과 같다.Referring to the effect of the present invention made as described above are as follows.

제2도에서, 우선 스캔된 바 코드 데이타는 광검출기(D1)로 입사되어 광전 변환이 이루어진다.In FIG. 2, firstly scanned bar code data is incident on the photodetector D 1 to perform photoelectric conversion.

이와 같이 광검출기(D1)에서 광전 변환된 신호는 연산증폭기(OP1)에서 1차 증폭되고 이 신호는 저항(R4)을 통하여 연산증폭기(OP2)에 가해져 2차 증폭된다.In this way, the photoelectrically converted signal in the photodetector D 1 is first amplified in the operational amplifier OP 1 , and the signal is applied to the operational amplifier OP 2 through the resistor R 4 to be secondarily amplified.

이와 같이 2차 증폭된 신호중 직류 성분을 차단시키기 위해 콘덴서(C1)를 개재하였다.The capacitor C 1 was interposed to block the DC component of the second amplified signal.

직류 성분이 차단된 바 코드 신호는 다음 단인 3차 증폭을 위한 연산증폭기(OP4)와 격리시키기 위해 버퍼(OP3)를 통해 버퍼링된다.The bar code signal with the DC component cut off is buffered through the buffer OP 3 to isolate the op amp from the operational amplifier OP 4 for third-order amplification.

이 버퍼링된 신호는 연산증폭기(OP4)를 통하여 3차 증폭되어 대략 수 V범위로 나타나게 된 후 2치화 레벨 설정부인 다음단에 가해지게 된다.The buffered signal is third-order amplified by the operational amplifier OP 4 to appear in approximately several V ranges and then applied to the next stage of the binarization level setting unit.

즉 버퍼(OP5) 및 다이오드(D2)를 통해 피이크치 검출한 후 저항(R13,R14)과 콘덴서(C2) 또는 마이크로 프로세서(1)의 선택신호(2)에 따라 제어되는 선택 스위치(SW1), 저항(R15) 및 콘덴서(C3) 또는 선택 스위치(SW2), 저항(R16) 및 콘덴서(C4)에 의한 3가지중 1가지 이상의 조합된 경우로 선택되어 2치화 슬라이스 레벨신호를 생성하게 된다.That is, the picking is detected through the buffer OP 5 and the diode D 2 , and the selection is controlled according to the resistors R 13 and R 14 and the selection signal 2 of the capacitor C 2 or the microprocessor 1. Is selected as a combination of one or more of three by a switch (SW 1 ), a resistor (R 15 ) and a capacitor (C 3 ) or a selection switch (SW 2 ), a resistor (R 16 ) and a capacitor (C 4 ) A binarized slice level signal is generated.

이와 같은 슬라이스 레벨과 바 코드 신호는 비교기(CM1)에서 비교되어 2치화 디지탈 신호로 나타나게 됨과동시에 마이크로 프로세서(1)에 입력되어 디코딩된 후 출력신호단자(3)를 통해 ASCII코드 신호를 출력하게 되는데, 이와 같은 처리과정을 제1도를 참조하여 설명하면 다음과 같다.The slice level and the bar code signal are compared in the comparator CM 1 and appear as a binarized digital signal. This process is described with reference to FIG. 1 as follows.

마이크로 프로세서(1)가 L.S.E 신호를 검출하여 스캔닝 동작하게 되면 디지탈 데이타 신호를 디코딩 하게 된다.When the microprocessor 1 detects the L.S.E signal and performs a scanning operation, the microprocessor 1 decodes the digital data signal.

만일 이 경우에 데이타가 불확실한 경우이고 타임 아웃(Time Out)에 저촉되지 않았으면 선택 스위치(SW1)를 선택하여 슬라이스 레벨을 변화시킨 후 재차 입력된 디지탈 신호를 디코딩하여 이 역시 불확실한 경우이고 타임 아웃이 아닌 경우이면 선택 스위치(SW2)를 선택하여 다시 디코딩 과정을 수행한다.If the data is uncertain in this case and it is not in time out, select the selector switch 1 to change the slice level, then decode the input digital signal again and this is also uncertain and time out. If not, select the selection switch (SW 2 ) to perform the decoding process again.

이후에 디코딩이 될때까지 초기상태로 되돌아가 계속해서 상술한 과정을 반복하여 수행하게 된다.After that, the process returns to the initial state until decoding, and the above process is repeatedly performed.

이와 같이 해서 디코딩이 이루어지면 본체로 ASCII코드로 변환된 바 코드 데이타를 출력하고 확실한 해독(Good Read)신호를 출력하여 사용자가 이를 용이하게 인식할 수 있도록 하고 만일 타임 아웃 기간동안에 확실한 해독이 수행되지 않으면 불확실한 해독 신호를 출력한 후 종료시켜 사용자가 다시 스캔닝을 하도록 하는 것이다.In this way, when decoding is performed, the bar code data converted into ASCII code is output to the main body, and a good read signal is output so that the user can easily recognize it. If not, it outputs an uncertain decryption signal and then exits, allowing the user to scan again.

또한 제3도는 본 발명의 다른 실시예의 회로 구성도로서, 이는 비교기(CM1)의 반전(-)입력단에 저항(R17)을 개재하여 저항(R14,R17) 및 콘덴서(C2)로서 슬라이스 레벨을 조정함과 동시에 충,방전 시정수를 결정한후 상기 비교기(CM1)의 출력단에 나타나는 디지탈 신호를 출력신호단자(3)에 직접 가해주도록 한 것이며, 그 밖의 회로 동작은 제2도와 동일하다.3 is a circuit diagram of another embodiment of the present invention, which is a resistor (R 14 , R 17 ) and a capacitor (C 2 ) via a resistor (R 17 ) at an inverting (-) input terminal of a comparator (CM 1 ). After the slice level is adjusted and the charge / discharge time constant is determined, the digital signal appearing at the output of the comparator CM 1 is directly applied to the output signal terminal 3. same.

그리고 제2도 및 제3도에서 저항(R10,R11)은 가성접지 레벨(Virtual ground level)을 변동시켜 효율적인 증폭을 행하기 위한 것이고, 버퍼(OP5)는 2치화 레벨과 신호간의 간섭 영향을 방지하기 위한 것이다.In FIGS. 2 and 3, the resistors R 10 and R 11 are used for efficient amplification by varying the virtual ground level, and the buffer OP 5 is an interference between the binarization level and the signal. It is to prevent the influence.

이상에서 설명한 바와 같이 본 발명에 의하면 바 코드해독기에서 입력된 바 코드 신호를 2치화 디지탈 신호로 변환한 후 주기적으로 2치화 슬라이드 레벨을 변화시켜 가면서 보다 효율적인 신호 검출을 필할 수가 있는 것이다.As described above, according to the present invention, after converting the bar code signal inputted from the bar code decoder into a binarized digital signal, the binarized slide level is periodically changed, thereby enabling more efficient signal detection.

Claims (3)

마이크로 프로세서(1)에서 레이저 스캔 인에이블(L.S.E)신호를 검출하여 L.S.E 신호이면 확실한 해독(Good Read)상태인가를 검출하여 확실한 해독 상태이면 ASCII코드 신호를 출력한 후 확실한 해독 신호를 출력한 다음 종료하는 제1과정과; 상기 제1과정중 확실한 해독 상태가 아니면 타임 아웃(Time Out)인가를 검출하여 타임 아웃이면 불확실한 해독 신호를 출력한 다음 종료하는 제2과정과; 상기 제2과정중 타임아웃이 아니면 스위치(SW1)를 선택한후 재차 확실한 해독 상태인가를 검출하여 아니면 타임아웃인가를 검출하되 아니면 스위치(SW2)를 선택한 다음 재차 확실한 해독 상태인가를 검출하고 그래도 아니면 타임 아웃인가를 검출하여 타임 아웃이면 상기 불확실한 해독 신호를 출력한 다음 종료하는 제3과정과; 상기 스위치(SW1),(SW2) 선택후 확실한 해독 상태이면 ASCII코드 신호를 출력한 후 확실한 해독 신호를 출력한 다음 종료하는 제4과정으로 이루어진 바 코드해독기의 신호 검출 방법.The microprocessor (1) detects the laser scan enable (LSE) signal and detects that it is a good read state if the LSE signal is detected. A first process of doing; A second step of detecting whether a timeout occurs in the first process if the timeout is not determined, and outputting an uncertain decoding signal if the timeout occurs, and then terminating; The second process time-out, or switch (SW 1) to select and then detects the applied again obvious decrypted state, or unless but detects the applied time-out switch (SW 2) to select the next still detects is again obvious decrypted state of Or detecting the time out and outputting the uncertain decryption signal if it is time out, and then terminating; And a fourth step of outputting a decoded signal after outputting an ASCII code signal if the decoded state is confirmed after selecting the switches (SW 1 ) and (SW 2 ). 스캔된 바 코드 데이타를 광전 변환시키는 광검출기(D1)와; 상기 광검출기(D1)에서 광전 변환된 신호를 다단 증폭하는 증폭수단(OP1,OP2,OP4)과; 상기 증폭수단(OP1,OP2,OP4)에 의하여 증폭된 신호를 2치화 슬라이스 레벨로 검출하는 검출수단(OP5,D2)과; 상기 검출수단(OP5,D2)에 의해 검출된 피이크 검출 신호를 적어도 1가지 이상의 조합된 신호로 분압하여 2치화 슬라이스 레벨 신호를 생성하는 제어수단(1)(SW1),(SW2)과; 상기 2치화 슬라이스 레벨 신호와 바 코드 신호와를 비교하여 2치화 디지탈 신호를 생성하 비교수단(CM1)과로 이루어진 바 코드해독기의 신호 검출 장치.A photodetector D 1 for photoelectrically converting the scanned bar code data; Amplifying means (OP 1 , OP 2 , OP 4 ) for multi-stage amplifying the photoelectrically converted signal in the photodetector (D 1 ); Detection means (OP 5 , D 2 ) for detecting the signal amplified by the amplifying means (OP 1 , OP 2 , OP 4 ) at the binarized slice level; Control means (1) (SW 1 ), (SW 2 ) for dividing the peak detection signal detected by the detection means (OP 5 , D 2 ) into at least one combined signal to generate a binarized slice level signal. and; And a comparison means (CM 1 ) for generating a binary digital signal by comparing the binarized slice level signal with the bar code signal. 제2항에 있어서, 상기 비교수단(CM)의 출력신호를 출력신호단자(3)에 직접 가해주도록 한 바 코드해독기의 신호 검출 장치.The signal detection device according to claim 2, wherein the output signal of the comparing means (CM) is applied directly to the output signal terminal (3).
KR1019890017601A 1989-11-30 1989-11-30 Method and apparatus for detecting signal of barcode reader KR910009928B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019890017601A KR910009928B1 (en) 1989-11-30 1989-11-30 Method and apparatus for detecting signal of barcode reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019890017601A KR910009928B1 (en) 1989-11-30 1989-11-30 Method and apparatus for detecting signal of barcode reader

Publications (2)

Publication Number Publication Date
KR910010359A KR910010359A (en) 1991-06-29
KR910009928B1 true KR910009928B1 (en) 1991-12-05

Family

ID=19292367

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019890017601A KR910009928B1 (en) 1989-11-30 1989-11-30 Method and apparatus for detecting signal of barcode reader

Country Status (1)

Country Link
KR (1) KR910009928B1 (en)

Also Published As

Publication number Publication date
KR910010359A (en) 1991-06-29

Similar Documents

Publication Publication Date Title
EP0193762B1 (en) Low powered high ambient light bar code reader circuit
GB2280953A (en) Ambient light level sensor for bar code reader
US4870367A (en) Signal amplifier circuit
EP0965097B1 (en) Symbology scanning system for efficiently locating coded symbologies
KR910009928B1 (en) Method and apparatus for detecting signal of barcode reader
US5682028A (en) Circuitry for bar code scanners
US6871785B2 (en) Method and device for compensating undesired variations in an electrical signal generated by an optical code reader
US5864129A (en) Bar code digitizer including a voltage comparator
CA2074653C (en) Bar code reader
US5600118A (en) Binarizing circuit and bar-code reader using such
KR940007936B1 (en) Light intensity automatic control apparatus of barcode scanner
JP2748721B2 (en) Barcode reader
JP4256745B2 (en) Optical information reader
JPS61193273A (en) Bar code reader
JPS61193274A (en) Bar code reader
JP3506805B2 (en) Optical information reader
JP2735667B2 (en) Detection control circuit
JPS62280979A (en) Bar code detecting device
JP3102252B2 (en) Image reading device
JPH07302299A (en) Bar code reader
JPH10149408A (en) Code information reader
JPS57162569A (en) Original reader
JPH0962771A (en) Bar code reader
JPH0574876B2 (en)
JPH01195717A (en) Signal binarization circuit

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: 19941227

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee