KR100495403B1 - Distance Detecting Circuit Having Temperature Correction Function - Google Patents

Distance Detecting Circuit Having Temperature Correction Function Download PDF

Info

Publication number
KR100495403B1
KR100495403B1 KR10-2002-0050437A KR20020050437A KR100495403B1 KR 100495403 B1 KR100495403 B1 KR 100495403B1 KR 20020050437 A KR20020050437 A KR 20020050437A KR 100495403 B1 KR100495403 B1 KR 100495403B1
Authority
KR
South Korea
Prior art keywords
value
signal
signal level
input
distance
Prior art date
Application number
KR10-2002-0050437A
Other languages
Korean (ko)
Other versions
KR20040019429A (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 KR10-2002-0050437A priority Critical patent/KR100495403B1/en
Publication of KR20040019429A publication Critical patent/KR20040019429A/en
Application granted granted Critical
Publication of KR100495403B1 publication Critical patent/KR100495403B1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S1/00Beacons or beacon systems transmitting signals having a characteristic or characteristics capable of being detected by non-directional receivers and defining directions, positions, or position lines fixed relatively to the beacon transmitters; Receivers co-operating therewith
    • G01S1/02Beacons or beacon systems transmitting signals having a characteristic or characteristics capable of being detected by non-directional receivers and defining directions, positions, or position lines fixed relatively to the beacon transmitters; Receivers co-operating therewith using radio waves
    • G01S1/022Means for monitoring or calibrating
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys

Abstract

본 발명에 의한 거리 감지 회로는, 소정의 감지 거리내에 무선 송수신 유니트가 진입할 때에 소정의 작업을 수행하는 장치의 거리 감지 회로에 있어서, 상기 무선 송수신 유니트가 송신한 전파를 수신하는 안테나와, 상기 안테나에 의해 수신된 전파를 복조하는 복조 회로와, 상기 복조 회로에 의해 복조되고 소정의 신호 처리를 거친 신호 레벨을 입력받는 신호 레벨 입력부와, 외부 온도 신호에 해당하는 값을 입력받는 온도 신호 입력부와, 상기 온도 신호 입력부로 입력된 값에 의해 상기 신호 레벨 입력부로 입력된 값을 보정하고, 보정된 신호 레벨 값을 소정의 기준치와 비교하여 보정된 신호 레벨 값이 소정의 기준치와 같거나 큰 경우에 상기 소정의 작업을 수행하도록 하는 연산 처리부를 포함한다.The distance sensing circuit according to the present invention is a distance sensing circuit of a device that performs a predetermined task when a wireless transmission / reception unit enters a predetermined detection distance, the antenna receiving an electric wave transmitted by the wireless transmission / reception unit, and A demodulation circuit for demodulating a radio wave received by an antenna, a signal level input section for receiving a signal level demodulated by the demodulation circuit and subjected to a predetermined signal processing, a temperature signal input section for receiving a value corresponding to an external temperature signal; And correcting the value input to the signal level input unit by the value input to the temperature signal input unit, and comparing the corrected signal level value with a predetermined reference value when the corrected signal level value is equal to or greater than a predetermined reference value. It includes a calculation processing unit to perform the predetermined task.

이와 같이 기준 전압이 온도에 따라 가변하도록 하면, 휴대용 전파 송수신 장치가 송신하는 신호의 세기에 근거하여 전파 송신 장치의 거리를 감지하는 장치에 있어서 수신부가 온도에 따라서 그 특성이 바뀌더라도 항상 일정하고 정확한 거리를 감지하는 데에 있어서 오차가 심하게 나타나게 된다. 그러나 본 발명에 의하면 그와 같이 온도가 변하는 경우에 있어서도 감지 거리가 일정하고 정확하게 유지되는 효과가 제공된다.In this way, if the reference voltage is varied according to the temperature, the device for detecting the distance of the radio wave transmitter based on the strength of the signal transmitted by the portable radio transmitter is always constant and accurate even if the receiver changes its characteristics depending on the temperature. The error in detecting distance is severe. However, the present invention provides the effect that the sensing distance is kept constant and accurate even in the case of such a temperature change.

Description

온도 보정 기능을 가지는 거리 감지 회로{Distance Detecting Circuit Having Temperature Correction Function}Distance Detecting Circuit Having Temperature Correction Function

본 발명은 무선 교신을 통해서 접근하는 사람 또는 접근 물체가 소정의 거리 내에 진입하는 경우에 미리 설정되어 있는 작업을 수행하도록 하는 거리 감지 회로에 관한 것으로서, 특히, 온도에 상관없이 항상 일정한 감지 거리를 유지할 수 있도록 하는 거리 감지 회로에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a distance sensing circuit for performing a preset task when a person or an object approaching through wireless communication enters a predetermined distance. In particular, the present invention relates to a distance sensing circuit that maintains a constant sensing distance at all times regardless of temperature. The present invention relates to a distance sensing circuit.

위에 설명한 바와 같이, 소정의 거리 내에 사람 또는 물체가 진입한 경우에 작업을 수행하는 대표적인 장치로서, 무선 도어 잠금 장치가 있다. 이러한 장치에서는 사람이 휴대용 무선 송수신 수단 예를 들어, 카드형태 내지 리모콘 형태 등을 소지하고 문에 접근하면 상기 송수신 수단과 문에 장착되어 있는 잠금 장치가 무선 교신을 하여 사람이 소정의 감지 거리내로 진입한 것이 확인되면 잠금 장치는 해제된다. 이러한 문은 일반 주거용 건물, 사무용 빌딩, 차량용 도어 등 여러 용도로 사용될 수 있다.As described above, a representative device for performing a task when a person or an object enters a predetermined distance is a wireless door locking device. In such a device, when a person approaches a door with a portable wireless transmission / reception means, for example, a card type or a remote control type, the communication device and the locking device mounted on the door communicate with each other wirelessly so that a person enters a predetermined sensing distance. Once confirmed, the lock is released. Such doors can be used for various purposes such as general residential buildings, office buildings, and vehicle doors.

이러한 문뿐만 아니라 소정의 감지 거리 내에 사람 또는 물체가 진입한 경우에 표시 장치를 구동시킨다거나 여러가지 작업을 수행하는 장치에 있어서는 감지 거리가 일정하게 유지될 필요성이 있다.Not only the door but also a device for driving a display device or performing various tasks when a person or an object enters a predetermined sensing distance, the sensing distance needs to be kept constant.

감지 거리내에 사람이나 물체가 진입했는지 여부를 무선 교신을 통하여 결정하는 경우에는, 이동 유니트가 송신하여 부동(不動) 장치에 수신되는 전파의 세기를 기준값과 비교하여 결정하는 경우가 많다. 그러나 이러한 방식에서, 외부의 온도가 변화하는 경우에는 수신되는 신호의 세기가 변동되는 경우가 일반적이며 이 때에는 기준값과 수신되는 신호의 세기를 비교치가 일정하게 출력되지 않음으로 인해서 감지 거리가 들쭉날쭉하고 일정하게 유지되지 못하는 문제점이 있다.In the case of determining by radio communication whether a person or an object has entered within a sensing distance, it is often determined by comparing the strength of radio waves transmitted by the mobile unit and received by the floating device by comparison with a reference value. In this way, however, when the external temperature changes, the intensity of the received signal is generally changed. In this case, the sensing distance is jagged and constant because the comparison value between the reference value and the intensity of the received signal is not output constantly. There is a problem that can not be maintained.

본 발명은 이러한 문제점을 해결하여 무선 교신을 통하여 거리 감지를 수행하고 소정의 감지 거리내에 무선 송수신 유니트가 진입하는 경우에는 미리 설정되어 있는 소정의 작업을 수행하는 장치에 사용되는 거리 감지 장치에 있어서, 외부의 온도에 영향을 받지 않고 항상 일정한 감지 거리를 유지하는 거리 감지 장치를 제공하는 것을 목적으로 한다.The present invention is to solve this problem in the distance sensing device to be used in the apparatus for performing a predetermined operation when performing the distance detection through wireless communication and the wireless transmission and reception unit enters within the predetermined detection distance, An object of the present invention is to provide a distance sensing device that maintains a constant sensing distance at all times without being influenced by external temperature.

이러한 본 발명의 목적을 달성하기 위한 본 발명의 제1 형태에 의한 거리 감지 회로는 소정의 감지 거리내에 무선 송수신 유니트가 진입할 때에 소정의 작업을 수행하는 장치의 거리 감지 회로에 있어서, 상기 무선 송수신 유니트가 송신한 전파를 수신하는 안테나와, 상기 안테나에 의해 수신된 전파를 복조하는 복조 회로와, 상기 복조 회로에 의해 복조되고 소정의 신호 처리를 거친 신호 레벨을 입력받는 신호 레벨 입력부와, 외부 온도 신호에 해당하는 값을 입력받는 온도 신호 입력부와, 상기 온도 신호 입력부로 입력된 값에 의해 상기 신호 레벨 입력부로 입력된 값을 보정하고, 보정된 신호 레벨 값을 소정의 기준치와 비교하여 보정된 신호 레벨 값이 소정의 기준치와 같거나 큰 경우에 상기 소정의 작업을 수행하도록 하는 연산 처리부를 포함한다.The distance sensing circuit according to the first aspect of the present invention for achieving the object of the present invention is a distance sensing circuit of a device for performing a predetermined operation when the wireless transmission and reception unit enters within a predetermined sensing distance, the wireless transmission and reception An antenna for receiving the radio wave transmitted by the unit, a demodulation circuit for demodulating the radio wave received by the antenna, a signal level input section for receiving a signal level demodulated by the demodulation circuit and subjected to predetermined signal processing, and an external temperature. A signal corrected by correcting a value input to the signal level input unit by a temperature signal input unit receiving a value corresponding to a signal and a value input to the temperature signal input unit, and comparing the corrected signal level value with a predetermined reference value An arithmetic processor configured to perform the predetermined task when the level value is equal to or greater than a predetermined reference value; .

본 발명의 제2 형태에 의한 거리 감지 회로는, 상기 제1 형태에 의한 거리 감지 회로에 있어서, 상기 신호 레벨 입력부로 입력된 값과 온도 신호 입력부로 입력된 값을 디지털 값으로 변환하는 A/D 변환부를 더 포함한다.In the distance sensing circuit according to the second aspect of the present invention, the distance sensing circuit according to the first aspect includes: an A / D for converting a value input to the signal level input unit and a value input to a temperature signal input unit into a digital value; It further includes a conversion unit.

본 발명의 제3 형태에 의한 거리 감지 회로는, 상기 제2 형태의 거리 감지 회로에 있어서, A/D 변환부에 의해 디지털 값으로 변환된 보정된 신호 레벨 값을 표시하는 표시부를 더 포함한다.The distance sensing circuit according to the third aspect of the present invention further includes a display portion for displaying the corrected signal level value converted by the A / D converter into a digital value in the distance sensing circuit of the second aspect.

이하에서는 본 발명의 실시예를 첨부 도면을 참조하여 설명한다. 본 발명에 의한 거리 감지 회로의 실시예는, 사용자가 휴대하는 무선 송수신 카드 등과 같은 무선 송수신 유니트가 송신하는 전파를 수신하는 부동 장치에 적용되는 것으로 설명되지만, 본 발명은 부동 장치 뿐만 아니라 이동 장치 등을 막론하고 전파를 수신하여 소정의 거리내에 진입한 경우 미리 설정되어 있는 작업을 수행하는 장치라면 어느 장치에도 모두 적용 가능한 거리 감지 회로이다.Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. Although the embodiment of the distance sensing circuit according to the present invention is described as being applied to a floating device that receives radio waves transmitted by a wireless transmitting / receiving unit such as a wireless transmitting / receiving card carried by a user, the present invention is not only a floating device but also a mobile device. Regardless of whether the device receives a radio wave and enters a predetermined distance, any device that performs a predetermined task is a distance sensing circuit applicable to any device.

[제1 실시예][First Embodiment]

도 1에는 본 발명의 제1 실시예에 의한 거리 감지 회로의 블록도가 도시되어 있다. 상기 거리 감지 회로는 무선 송수신 유니트가 송신하는 초단파를 수신하는 초단파 수신 안테나(150)와, 제1 대역 통과 필터(2)와, 제1 증폭기(3)와, 믹서(4)와, 제2 대역 통과 필터(5)와, 제2 증폭기(6)와, 검출기(7)와, 제1 비교기(8)와, 제1 버퍼 증폭기(9)와, 전압 조정 발진기(10; voltage controlled oscillator)와, 루프 필터(11)와, 기준 발진기(18; reference oscillator)와, 위상 검출기(12; phase detector)와, 온도 감지 센서(50)를 포함한다. 이와 같은 거리 감지 회로는 진폭 편의 방식(Amplitude Shift Key: ASK)의 복조 회로를 채용한 것이다. 본 실시예에서는 수신 안테나(15)를 통해 수신되는 전파가 초단파인 경우를 설명하지만 그러한 경우에 본 발명이 한정되는 것은 아니다. 이하 제2 실시예 및 제3 실시예도 동일하다.1 is a block diagram of a distance sensing circuit according to a first embodiment of the present invention. The distance sensing circuit includes a microwave receiving antenna 150, a first band pass filter 2, a first amplifier 3, a mixer 4, and a second band for receiving microwaves transmitted by a wireless transmission / reception unit. A pass filter 5, a second amplifier 6, a detector 7, a first comparator 8, a first buffer amplifier 9, a voltage controlled oscillator 10, A loop filter 11, a reference oscillator 18, a phase detector 12, and a temperature sensor 50 are included. Such a distance sensing circuit adopts an amplitude shift key (ASK) demodulation circuit. In this embodiment, the case where the radio wave received through the receiving antenna 15 is an ultra-short wave is described, but the present invention is not limited to such a case. The same applies to the second and third embodiments below.

초단파 수신 안테나(150)에 의해 수신된 신호는 제1 대역 통과 필터(2)를 통과하면서 수신하도록 설정되어 있는 대역만이 통과되고 나머지 부분은 감쇠된다. 제1 대역 통과 필터(2)에는 예를 들어, 표면 탄성파 필터(SAW filter)를 사용할 수 있다. 제1 대역 통과 필터(2)를 통과한 신호는 제1 증폭기(3)에 의해 1차 증폭되고, 믹서(4)로 들어가 로컬 신호와 혼합된다.The signal received by the microwave receiving antenna 150 passes only the band set to receive while passing through the first band pass filter 2, and the rest of the signal is attenuated. For example, a surface acoustic wave filter may be used as the first band pass filter 2. The signal passing through the first band pass filter 2 is first amplified by the first amplifier 3 and enters the mixer 4 and is mixed with the local signal.

로컬 신호의 주파수는, 전압 조정 발진기(10)에서 발진하는 주파수를 68로 나누고 이 주파수를 기준 발진기(18)에서 발진한 주파수와 위상 검출기(12)에서 그 위상을 비교한 다음 그 차이를 출력하고 루프 필터에서 위상 잡음을 제거한 평균 전압으로 만들어서 전압 조정 발진기(10)의 주파수를 변화시킴으로써 만들어진다. 전압 조정 발진기(10)에서 발진하는 주파수를 나누는 수치는 설계자 내지 사용되는 반도체의 종류에 따라 변경 가능하다. 로컬 신호의 주파수(Fo)는 수신 신호의 주파수(Fs)와 중간 주파수(Fi)에 의해 결정된다. 즉 Fo=Fs-Fi이다.The frequency of the local signal is obtained by dividing the frequency oscillated by the voltage adjusting oscillator 10 by 68, comparing this frequency with the frequency oscillated by the reference oscillator 18 and its phase in the phase detector 12, and then outputting the difference. It is made by varying the frequency of the voltage adjusting oscillator 10 by making it the average voltage from which phase noise is removed in the loop filter. The value dividing the frequency oscillated by the voltage controlled oscillator 10 can be changed depending on the designer or the type of semiconductor used. The frequency Fo of the local signal is determined by the frequency Fs and the intermediate frequency Fi of the received signal. That is Fo = Fs-Fi.

제1 증폭기(3)를 통과한 신호와 로컬 신호가 믹서(4)에서 혼합되어 나온 신호의 주파수는 Fs, Fo, Fs+Fo, Fs-Fo 등이며, 이 신호가 제2 대역 통과 필터(5)를 통과하면서 Fs-Fo 주파수의 신호만 통과하고 나머지 주파수의 신호는 통과하지 못하고 감쇠하도록 된다. 제2 대역 통과 필터(5)를 통과한 신호는 제2 증폭기(6)를 통과하면서 증폭되고 검출기(7)를 통과하면서 오디오 신호만 남게 되고 이 신호가 제1 비교기(8)를 통과하면서 디지털 신호로 변환된다. 이러한 변환된 신호는 임피던스가 높으므로 선로에 의해 데이터가 손상될 수 있다. 그러므로 이 신호는 제1 버퍼 증폭기(9)를 거쳐 임피던스를 변경시킨 다음에 데이터로서 출력된다.The frequency of the signal passed through the first amplifier 3 and the local signal mixed in the mixer 4 is Fs, Fo, Fs + Fo, Fs-Fo, etc., and the signal is the second band pass filter 5 ), Only the signal of Fs-Fo frequency passes and the signal of the rest of the frequency does not pass and is attenuated. The signal passing through the second band pass filter 5 is amplified while passing through the second amplifier 6 and passes through the detector 7, leaving only the audio signal, which passes through the first comparator 8 and the digital signal. Is converted to. Since the converted signal has high impedance, data may be damaged by the line. Therefore, this signal is output as data after changing the impedance via the first buffer amplifier 9.

초단파를 송신한 무선 송수신 유니트가 소정의 감지 거리에 들어와 있는지 아닌지를 판단하는 것은 검출기(7)에서 나온 신호를 검출하여 저역 통과 필터(13)에 의해 잡음을 제거한 다음, CPU(100)의 입력 신호의 세기를 입력하는 포트로 입력되고, 온도 감지 센서(50)에 의해 적용하고자 하는 대상의 온도값이 CPU(100)에 각종 온도 센서를 이용한 기준 전압 발생 회로에 의해 온도에 상당하는 전압값으로 입력된다.Determining whether or not the wireless transmitting / receiving unit that has transmitted the microwave is within a predetermined sensing distance detects a signal from the detector 7, removes noise by the low pass filter 13, and then inputs an input signal of the CPU 100. The temperature value of the target to be applied by the temperature sensor 50 is input to the CPU 100 as a voltage value corresponding to the temperature by the reference voltage generator using various temperature sensors. do.

검출기(7)에서 나온 신호는 신호의 세기에 의해 변화하는 전압 또는 수신 신호 강도(RSSI; Received Signal Strength Indicator) 전압이 검출된다.The signal from the detector 7 is detected by a voltage or a received signal strength indicator (RSSI) voltage that varies with the strength of the signal.

CPU(100)에 입력되는 신호 레벨과 센서의 신호는 CPU(100) 내부에서 A/D 컨버팅 과정을 통해 디지털 형태의 값으로 변경되며, 이 두 가지 값은 내부의 정해진 처리 테이블에 의한 연산 과정을 거쳐 특정의 데이터를 산출한다. 이 데이터가 특정값 이상을 만족한 상태에서 데이터가 수신되면 미리 설정되어 있는 소정의 작업을 수행한다.The signal level input to the CPU 100 and the signal of the sensor are changed into a digital value through an A / D converting process in the CPU 100, and these two values are used to calculate the process by an internal processing table. After that, specific data is calculated. When data is received while the data satisfies a specific value or more, a predetermined task is performed in advance.

도 4에는 CPU(100)에서 수행하는 작업의 흐름도가 도시되어 있다.4 is a flowchart of a task performed by the CPU 100.

CPU(100)는 데이터 입력 포트를 주기적으로 점검하여 입력되는 데이터가 있으면 데이터 수신 단계가 시작된다(S1). 데이터가 수신되면 수신된 데이터가 무선 송수신 유니트를 통해 정상적으로 입력된 신호인지, 아니면 노이즈 신호 또는 다른 무선 장치로부터 송신되어 수신된 데이터인지를 검증한다(S2). 만약 외부 신호로 판별되는 경우에는 데이터 수신 대기(S12)로 이행한다. 무선 송수신 유니트를 통해 정상적으로 입력된 신호가 신호 처리 과정을 거친 데이터를 입력받은 것으로 판단되면, 신호 레벨 입력 포트에서 아날로그 값인 신호의 세기 예를 들어 전압을 입력받아서, 입력된 이 값을 A/D 변환을 거쳐서 입력된 전압값을 CPU(100) 내부에서 처리할 수 있는 디지털 값으로 변환시킨다.(S4)The CPU 100 periodically checks the data input port and if there is data to be input, the data receiving step is started (S1). When the data is received, it is verified whether the received data is a signal normally input through the wireless transmission / reception unit or a noise signal or data transmitted from another wireless device (S2). If it is determined that it is an external signal, the process proceeds to data reception wait (S12). If it is determined that the signal normally input through the wireless transceiver unit receives the data processed through the signal processing, the signal level input port receives the strength of the analog signal, for example, a voltage and converts the input value into A / D conversion. Through the conversion of the input voltage value into a digital value that can be processed in the CPU (100) (S4).

한편, 센서 레벨 입력 포트에서 현재의 온도에 대한 아날로그 값 예를 들어, 전압을 입력받아, 이 값을 CPU(100) 내부의 A/D 변환을 거쳐서 역시 CPU(100) 내부에서 처리할 수 있는 디지털 값으로 변환시킨다.(S5)On the other hand, the sensor level input port receives an analog value for the current temperature, for example, a voltage, the digital that can also be processed in the CPU 100 through the A / D conversion inside the CPU 100 Convert to a value (S5).

다음으로, 센서 입력 값에 의해 신호 레벨 값을 보정하는데 이것은 소정의 처리 테이블을 기준으로 하여 보정한다.(S6)Next, the signal level value is corrected by the sensor input value, which is corrected based on the predetermined processing table (S6).

예를 들어, 센서 입력 포트로 입력되는 전압 신호의 최대값이 5V이고, CPU(100)의 A/D 변환기의 분해능이 8 비트인 경우에는, A/D 변환되는 디지털 값은 0~255의 값을 취하게 된다. 이러한 디지털 값으로 계산하면 1 레벨에 해당하는 전압은 0.0196 V로서 대략 0.02 V가 된다.For example, when the maximum value of the voltage signal input to the sensor input port is 5V and the resolution of the A / D converter of the CPU 100 is 8 bits, the digital value to be A / D converted is a value of 0 to 255. Will be taken. When calculated with these digital values, the voltage corresponding to one level is 0.0196V, which is approximately 0.02V.

이러한 수치를 기준으로 하여 다음과 같은 테이블을 만들어 보정값을 산출하게 되는데, 보정 테이블은 입력되는 최소값과 최대값의 범위에서 변화를 줌으로써 원하는 소정의 제어값 또는 표시값을 정의하는 것이 가능하다.Based on the numerical value, the following table is generated to calculate the correction value. The correction table can define a desired predetermined control value or display value by varying the range between the input minimum and maximum values.

도 5에 도시되어 있는 바와 같은 보정 테이블은 변화가 큰 경우의 보정 테이블이지만 일반적인 경우에 있어서 그 변화가 온도에 따라 심하게는 변하지 않으며, 일반적으로 선형적인 특성을 나타내지만, 비선형적인 특성이 나올 경우 도 5와 같은 보정 테이블이 반드시 필요하게 된다.The correction table as shown in FIG. 5 is a correction table when the change is large, but in the general case, the change does not change significantly with temperature, and generally shows a linear characteristic, but a non-linear characteristic is shown. A calibration table like 5 is necessary.

도 5의 보정 테이블에서 가로축 최상단에는 센서 입력값을 디지털 값으로 변환한 값이 있고, 세로축 최좌측단에는 신호 레벨값을 디지털 값으로 변환한 값이 있는데, 양자가 만나는 지점의 값이 보정값으로 정의된다.In the correction table of FIG. 5, a sensor input value is converted to a digital value at the top of the horizontal axis, and a signal level value is converted to a digital value at the leftmost side of the vertical axis. Is defined.

이어서 상기 보정된 신호 레벨값과 기준값을 비교하여 기준값이 신호 레벨 보정값보다 크면 데이터 수신 대기 단계(S12)로 이행하고, 보정된 신호 레벨값이 기준값과 같거나 크면 다음 단계로 이행한다.(S8) 예를 들어, 소정의 감지거리 내로 무선 송수신 유니트가 진입하면 도어의 잠금을 해제하는 작업을 수행하는 장치에 있어서는, 감지 거리를 5 m로 설정하고 기준 신호 레벨이 150으로 설정된 경우, 상기 보정값이 150과 같거나 큰 경우에 도어 잠금 장치를 해제하도록 하는 것이 가능하다.Subsequently, when the reference value is greater than the signal level correction value by comparing the corrected signal level value and the reference value, the process proceeds to the step of waiting for data reception (S12). When the corrected signal level value is equal to or greater than the reference value, the process proceeds to the next step. For example, in an apparatus for releasing a door lock when a wireless transmission / reception unit enters a predetermined sensing distance, when the sensing distance is set to 5 m and the reference signal level is set to 150, the correction value If it is equal to or greater than 150 it is possible to unlock the door lock.

단계(S6)에서 보정된 신호 레벨값은 숫자 또는 그래프로 표시될 수도 있다.(S7) 이렇게 하면, 신호 레벨을 사용하여 수신되는 전파의 세기를 표시하는 장치에 있어서도 온도 센서에서 입력되는 값으로 보정 과정을 거친 후에, 전파의 세기를 표시함으로써 온도의 변화가 있는 경우에도 항상 일정한 표시값을 나타내는 것이 가능하게 된다.The signal level value corrected in step S6 may be displayed numerically or in a graph. (S7) In this way, even in an apparatus for displaying the intensity of radio waves received using the signal level, it is corrected to a value input from a temperature sensor. After the process, by displaying the intensity of radio waves, it is possible to always display a constant display value even when there is a change in temperature.

예를 들어 핸드폰 표시부에 송수신 감도를 표시하는 막대 형상의 표시부에서 최대 송수신 감도일 때에 막대가 4개인 경우, 보정값이 0~50이면 수신 불가 표시, 51~100은 막대 한개, 101~150은 막대 두개, 151~200은 막대 세 개, 201~255는 막대 네 개로 표시하도록 할 수 있다.For example, in the bar-shaped display that displays the transmission and reception sensitivity on the mobile phone display, if there are four bars at the maximum transmission and reception sensitivity, if the correction value is 0 to 50, the reception cannot be displayed, 51 to 100 is one bar, and 101 to 150 is the bar. Two, 151-200 can be represented by three bars and 201-255 by four bars.

단계(S9)에서는 수신된 데이터를 다시 한번 검증하고(S9), 검증이 확인되면 무선 송수신 유니트가 소정의 거리내에 진입한 것이라고 인식하고 미리 지정된 소정의 작업을 수행하도록 CPU(100)가 제어된다.(S11) 소정의 작업을 수행한 후에는 데이터 수신 대기 단계(S12)로 이행한다.In step S9, the received data is verified once again (S9), and when the verification is confirmed, the CPU 100 is controlled to recognize that the wireless transmission / reception unit has entered within a predetermined distance and perform a predetermined task. (S11) After the predetermined work is performed, the process proceeds to the data reception wait step S12.

CPU(100) 내부에 A/D 변환 기능이 없는 경우에는, 센서 입력 포트를 외부의 A/D 변환기의 Vin 단자에 연결하며, 이 A/D 변환기의 데이터 출력 단자를 CPU(100)의 센서 입력 포트에 연결한다. 신호 레벨 입력 포트 또한 위와 같이 외부의 A/D 변환기를 거쳐서 CPU(100)의 신호 레벨 입력 포트에 연결한다.If there is no A / D conversion function inside the CPU 100, the sensor input port is connected to the Vin terminal of the external A / D converter, and the data output terminal of the A / D converter is connected to the sensor input of the CPU 100. Connect to the port. The signal level input port is also connected to the signal level input port of the CPU 100 via an external A / D converter as above.

이때 사용되는 A/D 변환기의 출력 방식은 일반적으로 직렬 이진값으로 출력되는 변환기를 사용하여 CPU(100)의 입력 포트의 사용을 줄이는 것이 바람직하다. 또한, 일반적으로는 8 비트 샘플링 변환기를 사용하지만 보다 더 세밀한 분석을 위해서 10 비트 내지 12 비트 아니면 그 이상의 샘플링이 가능한 변환기를 사용할 수도 있다.In this case, it is preferable that the output method of the A / D converter to be used generally reduces the use of the input port of the CPU 100 by using a converter that is output as a serial binary value. In addition, although an 8-bit sampling converter is generally used, a converter capable of sampling from 10 to 12 bits or more may be used for more detailed analysis.

[제2 실시예]Second Embodiment

도 2에는 본 발명의 제2 실시예에 의한 거리 감지 회로의 블록도가 도시되어 있다.2 is a block diagram of a distance sensing circuit according to a second embodiment of the present invention.

제2 실시예에 의한 거리 감지 회로는 무선 송수신 유니트가 송신한 초단파를 수신하는 안테나(150)와, 제1 대역 통과 필터(2)와, 제1 증폭기(3)와, 믹서(4)와, 국부 발진기(20)와, 제2 대역 통과 필터(5)와, 제2 증폭기(6)와, 검출기(7)와 제1 비교기(8)와, 제1 버퍼 증폭기(9)와, 신호 전압 검출기(21)와, 제2 비교기(14)와, 제2 버퍼 증폭기(15)와, 기준 전압 발생기(16)를 포함한다. 제1 실시예의 회로와 동일한 구성요소에 대해서는 동일한 도면 부호를 병기하였다.The distance sensing circuit according to the second embodiment includes an antenna 150 for receiving microwaves transmitted by a wireless transmission / reception unit, a first band pass filter 2, a first amplifier 3, a mixer 4, Local oscillator 20, second band pass filter 5, second amplifier 6, detector 7, first comparator 8, first buffer amplifier 9, signal voltage detector 21, the second comparator 14, the second buffer amplifier 15, and the reference voltage generator 16 are included. The same reference numerals are given to the same components as the circuit of the first embodiment.

제2 실시예의 거리 감지 회로도도 제1 실시예와 마찬가지로 진폭 편의 방식의 복조 회로를 채용한 것이다.The distance sensing circuit diagram of the second embodiment employs an amplitude biasing demodulation circuit as in the first embodiment.

안테나(150)에서 수신한 신호는 제1 대역 통과 필터(2)에서 수신하도록 설정된 대역만이 통과되고 나머지 부분은 감쇠하게 된다. 제1 대역 통과 필터(2)에는 전술한 제1 실시예와 같이 표면 탄성파 필터가 사용될 수 있다. 제1 대역 통과 필터(2)를 통과한 신호는 제1 증폭기(3)에서 증폭되고 믹서에서 로컬 신호와 혼합된다. 로컬 신호의 주파수는 X-TAL 발진 회로 또는 LC 발진 회로를 사용하여 생성된다. 로컬 신호의 주파수(Fo)는 수신 신호의 주파수(Fs)와 중간 주파수(Fi)에 의해서 결정된다. 즉 로컬 주파수(Fo)=수신 주파수(Fs)-중간 주파수(Fi)이다.The signal received by the antenna 150 passes only the band set to be received by the first band pass filter 2 and attenuates the rest. A surface acoustic wave filter may be used for the first band pass filter 2 as in the first embodiment. The signal passing through the first band pass filter 2 is amplified in the first amplifier 3 and mixed with the local signal in the mixer. The frequency of the local signal is generated using an X-TAL oscillator circuit or an LC oscillator circuit. The frequency Fo of the local signal is determined by the frequency Fs and the intermediate frequency Fi of the received signal. That is, local frequency Fo = reception frequency Fs-intermediate frequency Fi.

이와 같이 수신되어 믹서(4)로 들어간 신호와 로컬 신호가 혼합되어 믹서(4)를 나온 신호는 Fs, Fo, Fs+Fo, Fs-Fo 등의 주파수를 가지는데, 제2 대역 통과 필터(5)를 통과하게 되면 주파수가 Fs-Fo인 신호만 남게 되고 나머지 주파수의 신호는 감쇠하게 된다. 제2 대역 통과 필터(5)를 나온 신호는 제2 증폭기(6)에서 증폭되고 검출기(7)를 거치면서 오디오 신호만 남게 되고, 이 오디오 신호는 제1 비교기(8)를 통과하여 디지털 신호로 변환되며 이 신호는 다시 외부에 의해 제1 비교기(8)의 특성이 변화하는 것을 방지하기 위하여 제1 버퍼 증폭기(9)를 통하여 출력된다.The signal received in this way and mixed with the local signal and the local signal, and the signal from the mixer 4 has a frequency of Fs, Fo, Fs + Fo, Fs-Fo, etc. The second band pass filter 5 Passing) will leave only the signal with frequency Fs-Fo and will attenuate the signal with the remaining frequency. The signal from the second band pass filter 5 is amplified by the second amplifier 6 and passed through the detector 7, leaving only the audio signal, which is passed through the first comparator 8 to a digital signal. This signal is again output through the first buffer amplifier 9 in order to prevent the characteristic of the first comparator 8 from changing externally.

한편 검출기(7)에서 나오는 오디오 신호를 진폭에 따라 변화하는 DC 신호로 신호 전압 검출기(21)에서 변화시켜 이것을 1차 및 2차 증폭단의 자동 이득 제어(Automatic Gain Control; AGC)하는 데에 사용한다. 이 신호는 CPU(100)로 입력 신호의 세기를 입력하는 포트로 입력되고, 온도 감지 센서(50)에 의해 적용하고자 하는 대상의 온도값이 CPU(100)에 각종 온도 센서를 이용한 기준 전압 발생 회로에 의해 온도에 상당하는 전압값으로 입력된다.On the other hand, the audio signal from the detector 7 is converted into a DC signal that changes according to amplitude, and is then used by the signal voltage detector 21 for automatic gain control (AGC) of the primary and secondary amplifier stages. . This signal is input to the port for inputting the strength of the input signal to the CPU 100, the temperature value of the target to be applied by the temperature sensor 50 is a reference voltage generation circuit using the various temperature sensors in the CPU 100 It inputs by the voltage value corresponded to temperature.

도 4에는 CPU(100)에서 수행하는 작업의 흐름도가 도시되어 있다.4 is a flowchart of a task performed by the CPU 100.

CPU(100)는 데이터 입력 포트를 주기적으로 점검하여 입력되는 데이터가 있으면 데이터 수신 단계가 시작된다(S1). 데이터가 수신되면 수신된 데이터가 무선 송수신 유니트를 통해 정상적으로 입력된 신호인지, 아니면 노이즈 신호 또는 다른 무선 장치로부터 송신되어 수신된 데이터인지를 검증한다(S2). 만약 외부 신호로 판별되는 경우에는 데이터 수신 대기(S12)로 이행한다. 무선 송수신 유니트를 통해 정상적으로 입력된 신호가 신호 처리 과정을 거친 데이터를 입력받은 것으로 판단되면, 신호 레벨 입력 포트에서 아날로그 값인 신호의 세기 예를 들어 전압을 입력받아서, 입력된 이 값을 A/D 변환을 거쳐서 입력된 전압값을 CPU(100) 내부에서 처리할 수 있는 디지털 값으로 변환시킨다.(S4)The CPU 100 periodically checks the data input port and if there is data to be input, the data receiving step is started (S1). When the data is received, it is verified whether the received data is a signal normally input through the wireless transmission / reception unit or a noise signal or data transmitted from another wireless device (S2). If it is determined that it is an external signal, the process proceeds to data reception wait (S12). If it is determined that the signal normally input through the wireless transceiver unit receives the data processed through the signal processing, the signal level input port receives the strength of the analog signal, for example, a voltage and converts the input value into A / D conversion. Through the conversion of the input voltage value into a digital value that can be processed in the CPU (100) (S4).

한편, 센서 레벨 입력 포트에서 현재의 온도에 대한 아날로그 값 예를 들어, 전압을 입력받아, 이 값을 CPU(100) 내부의 A/D 변환을 거쳐서 역시 CPU(100) 내부에서 처리할 수 있는 디지털 값으로 변환시킨다.(S5)On the other hand, the sensor level input port receives an analog value for the current temperature, for example, a voltage, the digital that can also be processed in the CPU 100 through the A / D conversion inside the CPU 100 Convert to a value (S5).

다음으로, 센서 입력 값에 의해 신호 레벨 값을 보정하는데 이것은 소정의 처리 테이블을 기준으로 하여 보정한다.(S6)Next, the signal level value is corrected by the sensor input value, which is corrected based on the predetermined processing table (S6).

예를 들어, 센서 입력 포트로 입력되는 전압 신호의 최대값이 5V이고, CPU(100)의 A/D 변환기의 분해능이 8 비트인 경우에는, A/D 변환되는 디지털 값은 0~255의 값을 취하게 된다. 이러한 디지털 값으로 계산하면 1 레벨에 해당하는 전압은 0.0196 V로서 대략 0.02 V가 된다.For example, when the maximum value of the voltage signal input to the sensor input port is 5V and the resolution of the A / D converter of the CPU 100 is 8 bits, the digital value to be A / D converted is a value of 0 to 255. Will be taken. When calculated with these digital values, the voltage corresponding to one level is 0.0196V, which is approximately 0.02V.

이러한 수치를 기준으로 하여 다음과 같은 테이블을 만들어 보정값을 산출하게 되는데, 보정 테이블은 입력되는 최소값과 최대값의 범위에서 변화를 줌으로써 원하는 소정의 제어값 또는 표시값을 정의하는 것이 가능하다.Based on the numerical value, the following table is generated to calculate the correction value. The correction table can define a desired predetermined control value or display value by varying the range between the input minimum and maximum values.

도 5에 도시되어 있는 바와 같은 보정 테이블은 변화가 큰 경우의 보정 테이블이지만 일반적인 경우에 있어서 그 변화가 온도에 따라 심하게는 변하지 않으며, 일반적으로 선형적인 특성을 나타내지만, 비선형적인 특성이 나올 경우 도 5와 같은 보정 테이블이 반드시 필요하게 된다.The correction table as shown in FIG. 5 is a correction table when the change is large, but in the general case, the change does not change significantly with temperature, and generally shows a linear characteristic, but a non-linear characteristic is shown. A calibration table like 5 is necessary.

도 5의 보정 테이블에서 가로축 최상단에는 센서 입력값을 디지털 값으로 변환한 값이 있고, 세로축 최좌측단에는 신호 레벨값을 디지털 값으로 변환한 값이 있는데, 양자가 만나는 지점의 값이 보정값으로 정의된다.In the correction table of FIG. 5, a sensor input value is converted to a digital value at the top of the horizontal axis, and a signal level value is converted to a digital value at the leftmost side of the vertical axis. Is defined.

이어서 상기 보정된 신호 레벨값과 기준값을 비교하여 기준값이 신호 레벨 보정값보다 크면 데이터 수신 대기 단계(S12)로 이행하고, 보정된 신호 레벨값이 기준값과 같거나 크면 다음 단계로 이행한다.(S8) 예를 들어, 소정의 감지거리 내로 무선 송수신 유니트가 진입하면 도어의 잠금을 해제하는 작업을 수행하는 장치에 있어서는, 감지 거리를 5 m로 설정하고 기준 신호 레벨이 150으로 설정된 경우, 상기 보정값이 150과 같거나 큰 경우에 도어 잠금 장치를 해제하도록 하는 것이 가능하다.Subsequently, when the reference value is greater than the signal level correction value by comparing the corrected signal level value and the reference value, the process proceeds to the step of waiting for data reception (S12). When the corrected signal level value is equal to or greater than the reference value, the process proceeds to the next step. For example, in an apparatus for releasing a door lock when a wireless transmission / reception unit enters a predetermined sensing distance, when the sensing distance is set to 5 m and the reference signal level is set to 150, the correction value If it is equal to or greater than 150 it is possible to unlock the door lock.

단계(S6)에서 보정된 신호 레벨값은 숫자 또는 그래프로 표시될 수도 있다.(S7) 이렇게 하면, 신호 레벨을 사용하여 수신되는 전파의 세기를 표시하는 장치에 있어서도 온도 센서에서 입력되는 값으로 보정 과정을 거친 후에, 전파의 세기를 표시함으로써 온도의 변화가 있는 경우에도 항상 일정한 표시값을 나타내는 것이 가능하게 된다.The signal level value corrected in step S6 may be displayed numerically or in a graph. (S7) In this way, even in an apparatus for displaying the intensity of radio waves received using the signal level, it is corrected to a value input from a temperature sensor. After the process, by displaying the intensity of radio waves, it is possible to always display a constant display value even when there is a change in temperature.

예를 들어 핸드폰 표시부에 송수신 감도를 표시하는 막대 형상의 표시부에서 최대 송수신 감도일 때에 막대가 4개인 경우, 보정값이 0~50이면 수신 불가 표시, 51~100은 막대 한개, 101~150은 막대 두개, 151~200은 막대 세 개, 201~255는 막대 네 개로 표시하도록 할 수 있다.For example, in the bar-shaped display that displays the transmission and reception sensitivity on the mobile phone display, if there are four bars at the maximum transmission and reception sensitivity, if the correction value is 0 to 50, the reception cannot be displayed, 51 to 100 is one bar, and 101 to 150 is the bar. Two, 151-200 can be represented by three bars and 201-255 by four bars.

단계(S9)에서는 수신된 데이터를 다시 한번 검증하고(S9), 검증이 확인되면 무선 송수신 유니트가 소정의 거리내에 진입한 것이라고 인식하고 미리 지정된 소정의 작업을 수행하도록 CPU(100)가 제어된다.(S11) 소정의 작업을 수행한 후에는 데이터 수신 대기 단계(S12)로 이행한다.In step S9, the received data is verified once again (S9), and when the verification is confirmed, the CPU 100 is controlled to recognize that the wireless transmission / reception unit has entered within a predetermined distance and perform a predetermined task. (S11) After the predetermined work is performed, the process proceeds to the data reception wait step S12.

CPU(100) 내부에 A/D 변환 기능이 없는 경우에는, 센서 입력 포트를 외부의 A/D 변환기의 Vin 단자에 연결하며, 이 A/D 변환기의 데이터 출력 단자를 CPU(100)의 센서 입력 포트에 연결한다. 신호 레벨 입력 포트 또한 위와 같이 외부의 A/D 변환기를 거쳐서 CPU(100)의 신호 레벨 입력 포트에 연결한다.If there is no A / D conversion function inside the CPU 100, the sensor input port is connected to the Vin terminal of the external A / D converter, and the data output terminal of the A / D converter is connected to the sensor input of the CPU 100. Connect to the port. The signal level input port is also connected to the signal level input port of the CPU 100 via an external A / D converter as above.

이때 사용되는 A/D 변환기의 출력 방식은 일반적으로 직렬 이진값으로 출력되는 변환기를 사용하여 CPU(100)의 입력 포트의 사용을 줄이는 것이 바람직하다. 또한, 일반적으로는 8 비트 샘플링 변환기를 사용하지만 보다 더 세밀한 분석을 위해서 10 비트 내지 12 비트 아니면 그 이상의 샘플링이 가능한 변환기를 사용할 수도 있다.In this case, it is preferable that the output method of the A / D converter to be used generally reduces the use of the input port of the CPU 100 by using a converter that is output as a serial binary value. In addition, although an 8-bit sampling converter is generally used, a converter capable of sampling from 10 to 12 bits or more may be used for more detailed analysis.

[제3 실시예]Third Embodiment

도 7에는 본 발명의 제3 실시예에 의한 거리 감지 회로의 블록도가 도시되어 있다.7 is a block diagram of a distance sensing circuit according to a third embodiment of the present invention.

제3 실시예의 거리 감지 회로는 무선 송수신 유니트가 송신하는 초단파를 수신하는 초단파 수신 안테나(150)와, 제1 대역 통과 필터(2)와, 제1 증폭기(3)와, 믹서(4)와, 제2 대역 통과 필터(5)와, 전압 조정 발진기(10; voltage controlled oscillator)와, 루프 필터(11)와, 기준 발진기(18; reference oscillator)와, 위상 검출기(12; phase detector)와, 온도 감지 센서(50)를 포함한다.The distance sensing circuit of the third embodiment includes a microwave receiving antenna 150, a first band pass filter 2, a first amplifier 3, a mixer 4, for receiving microwaves transmitted by a radio transceiver unit, A second band pass filter 5, a voltage controlled oscillator 10, a loop filter 11, a reference oscillator 18, a phase detector 12, a temperature And a sensing sensor 50.

안테나(150)를 통해 수신된 신호가 믹서(4)에서 로컬 신호와 혼합되어 제2 대역 통과 필터(5)를 통과하는 단계까지는 제1 실시예와 동일하다. 제3 실시예에서는 제2 대역 통과 필터(5)를 나온 신호가 중간 주파수 복조기(40; IF Demodulator)로 들어가는 점에서 제1 실시예와 상이하다. The signal received through the antenna 150 is mixed with the local signal in the mixer 4 and passed through the second band pass filter 5 as in the first embodiment. The third embodiment differs from the first embodiment in that the signal from the second band pass filter 5 enters an intermediate frequency demodulator 40 (IF Demodulator).

중간 주파수 복조기(40)로 들어간 신호는 복조기(40)의 내부에 있는 증폭단에 의해 증폭되고, 국부 발진기(21)에 의해 생성된 주파수의 신호와 혼합되는데, 이 혼합된 신호는 제3 대역 통과 필터(30)에 의해서 소정의 대역 주파수의 신호로 변화하게 되고 판별기(Discriminator) 또는 동조 회로에 의해서 검출되어 오디오 신호가 나오며 이것을 다시 복조기(40) 내부의 증폭기에 의해서 디지털 신호로 변환하여 출력한다. The signal entering the intermediate frequency demodulator 40 is amplified by an amplifier stage inside the demodulator 40 and mixed with the signal of the frequency generated by the local oscillator 21, which is then mixed with the third band pass filter. The signal is converted into a signal having a predetermined band frequency by 30, detected by a discriminator or a tuning circuit, and an audio signal is output. The signal is converted into a digital signal by an amplifier inside the demodulator 40 and output.

한편, 중간 주파수 복조기(40)의 출력중에 RSSI 신호가 있는데 이것은 CPU(100)의 입력 신호의 세기를 입력하는 포트로 입력되고, 온도 감지 센서(50)에 의해 적용하고자 하는 대상의 온도값이 CPU(100)에 각종 온도 센서를 이용한 기준 전압 발생 회로에 의해 온도에 상당하는 전압값으로 입력된다.On the other hand, there is an RSSI signal in the output of the intermediate frequency demodulator 40, which is input to the port for inputting the strength of the input signal of the CPU 100, the temperature value of the object to be applied by the temperature sensor 50 is the CPU The reference voltage generation circuit using various temperature sensors is input to the voltage value corresponding to the temperature.

도 4에는 CPU(100)에서 수행하는 작업의 흐름도가 도시되어 있다.4 is a flowchart of a task performed by the CPU 100.

CPU(100)는 데이터 입력 포트를 주기적으로 점검하여 입력되는 데이터가 있으면 데이터 수신 단계가 시작된다(S1). 데이터가 수신되면 수신된 데이터가 무선 송수신 유니트를 통해 정상적으로 입력된 신호인지, 아니면 노이즈 신호 또는 다른 무선 장치로부터 송신되어 수신된 데이터인지를 검증한다(S2). 만약 외부 신호로 판별되는 경우에는 데이터 수신 대기(S12)로 이행한다. 무선 송수신 유니트를 통해 정상적으로 입력된 신호가 신호 처리 과정을 거친 데이터를 입력받은 것으로 판단되면, 신호 레벨 입력 포트에서 아날로그 값인 신호의 세기 예를 들어 전압을 입력받아서, 입력된 이 값을 A/D 변환을 거쳐서 입력된 전압값을 CPU(100) 내부에서 처리할 수 있는 디지털 값으로 변환시킨다.(S4)The CPU 100 periodically checks the data input port and if there is data to be input, the data receiving step is started (S1). When the data is received, it is verified whether the received data is a signal normally input through the wireless transmission / reception unit or a noise signal or data transmitted from another wireless device (S2). If it is determined that it is an external signal, the process proceeds to data reception wait (S12). If it is determined that the signal normally input through the wireless transceiver unit receives the data processed through the signal processing, the signal level input port receives the strength of the analog signal, for example, a voltage and converts the input value into A / D conversion. Through the conversion of the input voltage value into a digital value that can be processed in the CPU (100) (S4).

한편, 센서 레벨 입력 포트에서 현재의 온도에 대한 아날로그 값 예를 들어, 전압을 입력받아, 이 값을 CPU(100) 내부의 A/D 변환을 거쳐서 역시 CPU(100) 내부에서 처리할 수 있는 디지털 값으로 변환시킨다.(S5)On the other hand, the sensor level input port receives an analog value for the current temperature, for example, a voltage, the digital that can also be processed in the CPU 100 through the A / D conversion inside the CPU 100 Convert to a value (S5).

다음으로, 센서 입력 값에 의해 신호 레벨 값을 보정하는데 이것은 소정의 처리 테이블을 기준으로 하여 보정한다.(S6)Next, the signal level value is corrected by the sensor input value, which is corrected based on the predetermined processing table (S6).

예를 들어, 센서 입력 포트로 입력되는 전압 신호의 최대값이 5V이고, CPU(100)의 A/D 변환기의 분해능이 8 비트인 경우에는, A/D 변환되는 디지털 값은 0~255의 값을 취하게 된다. 이러한 디지털 값으로 계산하면 1 레벨에 해당하는 전압은 0.0196 V로서 대략 0.02 V가 된다.For example, when the maximum value of the voltage signal input to the sensor input port is 5V and the resolution of the A / D converter of the CPU 100 is 8 bits, the digital value to be A / D converted is a value of 0 to 255. Will be taken. When calculated with these digital values, the voltage corresponding to one level is 0.0196V, which is approximately 0.02V.

이러한 수치를 기준으로 하여 다음과 같은 테이블을 만들어 보정값을 산출하게 되는데, 보정 테이블은 입력되는 최소값과 최대값의 범위에서 변화를 줌으로써 원하는 소정의 제어값 또는 표시값을 정의하는 것이 가능하다.Based on the numerical value, the following table is generated to calculate the correction value. The correction table can define a desired predetermined control value or display value by varying the range between the input minimum and maximum values.

도 5에 도시되어 있는 바와 같은 보정 테이블은 변화가 큰 경우의 보정 테이블이지만 일반적인 경우에 있어서 그 변화가 온도에 따라 심하게는 변하지 않으며, 일반적으로 선형적인 특성을 나타내지만, 비선형적인 특성이 나올 경우 도 5와 같은 보정 테이블이 반드시 필요하게 된다.The correction table as shown in FIG. 5 is a correction table when the change is large, but in the general case, the change does not change significantly with temperature, and generally shows a linear characteristic, but a non-linear characteristic is shown. A calibration table like 5 is necessary.

도 5의 보정 테이블에서 가로축 최상단에는 센서 입력값을 디지털 값으로 변환한 값이 있고, 세로축 최좌측단에는 신호 레벨값을 디지털 값으로 변환한 값이 있는데, 양자가 만나는 지점의 값이 보정값으로 정의된다.In the correction table of FIG. 5, a sensor input value is converted to a digital value at the top of the horizontal axis, and a signal level value is converted to a digital value at the leftmost side of the vertical axis. Is defined.

이어서 상기 보정된 신호 레벨값과 기준값을 비교하여 기준값이 신호 레벨 보정값보다 크면 데이터 수신 대기 단계(S12)로 이행하고, 보정된 신호 레벨값이 기준값과 같거나 크면 다음 단계로 이행한다.(S8) 예를 들어, 소정의 감지거리 내로 무선 송수신 유니트가 진입하면 도어의 잠금을 해제하는 작업을 수행하는 장치에 있어서는, 감지 거리를 5 m로 설정하고 기준 신호 레벨이 150으로 설정된 경우, 상기 보정값이 150과 같거나 큰 경우에 도어 잠금 장치를 해제하도록 하는 것이 가능하다.Subsequently, when the reference value is greater than the signal level correction value by comparing the corrected signal level value and the reference value, the process proceeds to the step of waiting for data reception (S12). When the corrected signal level value is equal to or greater than the reference value, the process proceeds to the next step. For example, in an apparatus for releasing a door lock when a wireless transmission / reception unit enters a predetermined sensing distance, when the sensing distance is set to 5 m and the reference signal level is set to 150, the correction value If it is equal to or greater than 150 it is possible to unlock the door lock.

단계(S6)에서 보정된 신호 레벨값은 숫자 또는 그래프로 표시될 수도 있다.(S7) 이렇게 하면, 신호 레벨을 사용하여 수신되는 전파의 세기를 표시하는 장치에 있어서도 온도 센서에서 입력되는 값으로 보정 과정을 거친 후에, 전파의 세기를 표시함으로써 온도의 변화가 있는 경우에도 항상 일정한 표시값을 나타내는 것이 가능하게 된다.The signal level value corrected in step S6 may be displayed numerically or in a graph. (S7) In this way, even in an apparatus for displaying the intensity of radio waves received using the signal level, it is corrected to a value input from a temperature sensor. After the process, by displaying the intensity of radio waves, it is possible to always display a constant display value even when there is a change in temperature.

예를 들어 핸드폰 표시부에 송수신 감도를 표시하는 막대 형상의 표시부에서 최대 송수신 감도일 때에 막대가 4개인 경우, 보정값이 0~50이면 수신 불가 표시, 51~100은 막대 한개, 101~150은 막대 두개, 151~200은 막대 세 개, 201~255는 막대 네 개로 표시하도록 할 수 있다.For example, in the bar-shaped display that displays the transmission and reception sensitivity on the mobile phone display, if there are four bars at the maximum transmission and reception sensitivity, if the correction value is 0 to 50, the reception cannot be displayed, 51 to 100 is one bar, and 101 to 150 is the bar. Two, 151-200 can be represented by three bars and 201-255 by four bars.

단계(S9)에서는 수신된 데이터를 다시 한번 검증하고(S9), 검증이 확인되면 무선 송수신 유니트가 소정의 거리내에 진입한 것이라고 인식하고 미리 지정된 소정의 작업을 수행하도록 CPU(100)가 제어된다.(S11) 소정의 작업을 수행한 후에는 데이터 수신 대기 단계(S12)로 이행한다.In step S9, the received data is verified once again (S9), and when the verification is confirmed, the CPU 100 is controlled to recognize that the wireless transmission / reception unit has entered within a predetermined distance and perform a predetermined task. (S11) After the predetermined work is performed, the process proceeds to the data reception wait step S12.

CPU(100) 내부에 A/D 변환 기능이 없는 경우에는, 센서 입력 포트를 외부의 A/D 변환기의 Vin 단자에 연결하며, 이 A/D 변환기의 데이터 출력 단자를 CPU(100)의 센서 입력 포트에 연결한다. 신호 레벨 입력 포트 또한 위와 같이 외부의 A/D 변환기를 거쳐서 CPU(100)의 신호 레벨 입력 포트에 연결한다.If there is no A / D conversion function inside the CPU 100, the sensor input port is connected to the Vin terminal of the external A / D converter, and the data output terminal of the A / D converter is connected to the sensor input of the CPU 100. Connect to the port. The signal level input port is also connected to the signal level input port of the CPU 100 via an external A / D converter as above.

이때 사용되는 A/D 변환기의 출력 방식은 일반적으로 직렬 이진값으로 출력되는 변환기를 사용하여 CPU(100)의 입력 포트의 사용을 줄이는 것이 바람직하다. 또한, 일반적으로는 8 비트 샘플링 변환기를 사용하지만 보다 더 세밀한 분석을 위해서 10 비트 내지 12 비트 아니면 그 이상의 샘플링이 가능한 변환기를 사용할 수도 있다.In this case, it is preferable that the output method of the A / D converter to be used generally reduces the use of the input port of the CPU 100 by using a converter that is output as a serial binary value. In addition, although an 8-bit sampling converter is generally used, a converter capable of sampling from 10 to 12 bits or more may be used for more detailed analysis.

본 발명의 권리범위는 전술한 실시예의 구성에 한정되지 아니하고 첨부된 특허청구의 범위에 의해 결정되며, 본 발명의 기술 사상을 포함하고 있는 한, 특허청구범위에 기재된 발명의 개량 내지 수정 기술도 본 발명의 권리범위 속한다는 것이 자명하다.The scope of the present invention is not limited to the configuration of the above-described embodiment, but is determined by the appended claims, and as long as the technical idea of the present invention is included, the improvement or modification of the invention described in the claims is also present. Obviously, it belongs to the scope of the invention.

본 발명에 의하면, 온도의 영향을 받지 않고 언제나 일정한 감지 거리를 유지하는 것이 가능해지므로, 소정의 감지 거리내에 진입한 경우에 미리 설정된 작업을 수행하는 장치에 있어서 그 작동이 수행되는 임계점이 되는 감지 거리가 항상 일정하게 유지되는 효과가 제공된다. According to the present invention, since it becomes possible to maintain a constant sensing distance at all times without being influenced by temperature, the sensing distance which becomes a threshold point at which the operation is performed in a device which performs a preset task when entering within a predetermined sensing distance. The effect is always kept constant.

도 1은 본 발명의 제1 실시예에 의한 거리 감지 회로의 블록도.1 is a block diagram of a distance sensing circuit according to a first embodiment of the present invention.

도 2는 본 발명의 제2 실시예에 의한 거리 감지 회로의 블록도.2 is a block diagram of a distance sensing circuit according to a second embodiment of the present invention.

도 3은 본 발명의 제3 실시예에 의한 거리 감지 회로의 블록도.3 is a block diagram of a distance sensing circuit according to a third embodiment of the present invention;

도 4는 본 발명에 의한 온도 보정의 플로우차트.4 is a flowchart of temperature correction according to the present invention.

도 5는 본 발명에 의한 온도 보정의 보정 테이블.5 is a correction table for temperature correction according to the present invention.

Claims (3)

소정의 감지 거리내에 무선 송수신 유니트가 진입할 때에 도어 잠금 장치를 설정 및/또는 해제하는 장치의 거리 감지 회로에 있어서,A distance sensing circuit of a device for setting and / or releasing a door locking device when a wireless transmission / reception unit enters within a predetermined sensing distance, 상기 무선 송수신 유니트가 송신한 전파를 수신하는 안테나와,An antenna for receiving radio waves transmitted by the radio transceiver unit; 상기 안테나에 의해 수신된 전파를 복조하는 복조 회로와,A demodulation circuit for demodulating a radio wave received by the antenna; 상기 복조 회로에 의해 복조되고 소정의 신호 처리를 거친 신호 레벨을 입력받는 신호 레벨 입력부와,A signal level input unit for receiving a signal level demodulated by the demodulation circuit and subjected to predetermined signal processing; 외부 온도 신호에 해당하는 값을 입력받는 온도 신호 입력부와,A temperature signal input unit for receiving a value corresponding to an external temperature signal; 상기 온도 신호 입력부로 입력된 값에 기초하여 기 설정된 처리 테이블에 의한 연산과정을 거쳐 상기 신호 레벨 입력부로 입력된 값을 보정하고,Correcting the value input to the signal level input unit through a calculation process by a preset processing table based on the value input to the temperature signal input unit, 보정된 신호 레벨 값을 소정의 기준치와 비교하여 보정된 신호 레벨 값이 소정의 기준치와 같거나 큰 경우에 상기 도어 잠금 장치를 설정 및/또는 해제하도록 하는 연산 처리부를 포함하는, 거리 감지 회로.And an arithmetic processing unit configured to set and / or release the door locking device when the corrected signal level value is equal to or greater than a predetermined reference value by comparing the corrected signal level value with a predetermined reference value. 제1 항에 있어서, 상기 신호 레벨 입력부로 입력된 값과 온도 신호 입력부로 입력된 값을 디지털 값으로 변환하는 A/D 변환부를 더 포함하는, 거리 감지 회로.The distance sensing circuit of claim 1, further comprising an A / D converter configured to convert a value input to the signal level input unit and a value input to the temperature signal input unit into a digital value. 제2 항에 있어서, A/D 변환부에 의해 디지털 값으로 변환된 보정된 신호 레벨 값을 표시하는 표시부를 더 포함하는, 거리 감지 회로.The distance sensing circuit according to claim 2, further comprising a display unit for displaying a corrected signal level value converted into a digital value by the A / D converter.
KR10-2002-0050437A 2002-08-26 2002-08-26 Distance Detecting Circuit Having Temperature Correction Function KR100495403B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0050437A KR100495403B1 (en) 2002-08-26 2002-08-26 Distance Detecting Circuit Having Temperature Correction Function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0050437A KR100495403B1 (en) 2002-08-26 2002-08-26 Distance Detecting Circuit Having Temperature Correction Function

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR2020020025601U Division KR200295156Y1 (en) 2002-08-28 2002-08-28 Distance Detecting Circuit Having Temperature Correction Function

Publications (2)

Publication Number Publication Date
KR20040019429A KR20040019429A (en) 2004-03-06
KR100495403B1 true KR100495403B1 (en) 2005-06-16

Family

ID=37324226

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0050437A KR100495403B1 (en) 2002-08-26 2002-08-26 Distance Detecting Circuit Having Temperature Correction Function

Country Status (1)

Country Link
KR (1) KR100495403B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR980010455A (en) * 1996-07-19 1998-04-30 김주용 Apparatus and method for measuring ultrasonic distance using phase compensation circuit
KR19980074950A (en) * 1997-03-27 1998-11-05 김영환 Distance measuring device and control method using temperature parameter of ultrasonic sensor
KR19990026659A (en) * 1997-09-25 1999-04-15 오상수 Anti-collision alarm
JPH11183618A (en) * 1997-12-16 1999-07-09 Ashu Kogaku Kofun Yugenkoshi Method for improving laser range finding capability
KR19990071026A (en) * 1998-02-26 1999-09-15 김영환 Device for improving the reception performance of GPS

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR980010455A (en) * 1996-07-19 1998-04-30 김주용 Apparatus and method for measuring ultrasonic distance using phase compensation circuit
KR19980074950A (en) * 1997-03-27 1998-11-05 김영환 Distance measuring device and control method using temperature parameter of ultrasonic sensor
KR19990026659A (en) * 1997-09-25 1999-04-15 오상수 Anti-collision alarm
JPH11183618A (en) * 1997-12-16 1999-07-09 Ashu Kogaku Kofun Yugenkoshi Method for improving laser range finding capability
KR19990071026A (en) * 1998-02-26 1999-09-15 김영환 Device for improving the reception performance of GPS

Also Published As

Publication number Publication date
KR20040019429A (en) 2004-03-06

Similar Documents

Publication Publication Date Title
US7072632B2 (en) Fast signal detection process
JP5203464B2 (en) Improvement of logarithmic detector
JP3689986B2 (en) Digital satellite broadcast receiver and antenna level display method thereof
CN105898855A (en) Gain control method, gain control module and wireless signal receiver using gain control module
US6720757B2 (en) Variable gain received signal strength indicator
US7373125B2 (en) Off-channel signal detector with programmable hysteresis
US7359448B2 (en) Remote transmitter system and method
KR100495403B1 (en) Distance Detecting Circuit Having Temperature Correction Function
KR200295156Y1 (en) Distance Detecting Circuit Having Temperature Correction Function
KR20040083861A (en) Apparatus for handling digital IF signal as possible jamming signal detection
CN101814902B (en) Gain control circuit and method
US20020102957A1 (en) Radio signal receiving control device and the control method for the same
EP0654895A2 (en) An all digital if-to-baseband signal converter
KR100278985B1 (en) On / off control device of mobile communication terminal
JP6451355B2 (en) Wireless communication device with wireless signal scanning function
US8509717B2 (en) Frequency modulation receiver and receiving method thereof
JP4381934B2 (en) Frequency detection device and automatic tuning device
KR100466020B1 (en) Distance Detecting Circuit of Door Locking Device
US9807529B2 (en) Wireless receiver
JP3652821B2 (en) Band edge frequency detection device of predetermined bandwidth of filter, and SSB transmitter and SSB receiver using the device
JPH0946247A (en) Radio equipment
JP3481000B2 (en) Wireless communication device
KR200295516Y1 (en) Distance Detecting Circuit of Door Locking Device
JP3055052B2 (en) Automatic frequency adjustment method for wireless communication equipment
WO2003013012A1 (en) Receiver

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20120510

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20130528

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee