KR20140060931A - Method of smart wheel sensor signal processing using register - Google Patents

Method of smart wheel sensor signal processing using register Download PDF

Info

Publication number
KR20140060931A
KR20140060931A KR1020120127901A KR20120127901A KR20140060931A KR 20140060931 A KR20140060931 A KR 20140060931A KR 1020120127901 A KR1020120127901 A KR 1020120127901A KR 20120127901 A KR20120127901 A KR 20120127901A KR 20140060931 A KR20140060931 A KR 20140060931A
Authority
KR
South Korea
Prior art keywords
time value
register
wheel
output signal
sensor
Prior art date
Application number
KR1020120127901A
Other languages
Korean (ko)
Other versions
KR101562427B1 (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 KR1020120127901A priority Critical patent/KR101562427B1/en
Publication of KR20140060931A publication Critical patent/KR20140060931A/en
Application granted granted Critical
Publication of KR101562427B1 publication Critical patent/KR101562427B1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P3/00Measuring linear or angular speed; Measuring differences of linear or angular speeds
    • G01P3/42Devices characterised by the use of electric or magnetic means
    • G01P3/44Devices characterised by the use of electric or magnetic means for measuring angular speed
    • G01P3/48Devices characterised by the use of electric or magnetic means for measuring angular speed by measuring frequency of generated current or voltage
    • G01P3/481Devices characterised by the use of electric or magnetic means for measuring angular speed by measuring frequency of generated current or voltage of pulse signals
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P3/00Measuring linear or angular speed; Measuring differences of linear or angular speeds
    • G01P3/42Devices characterised by the use of electric or magnetic means
    • G01P3/44Devices characterised by the use of electric or magnetic means for measuring angular speed

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Indicating Or Recording The Presence, Absence, Or Direction Of Movement (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

The present invention relates to a method of processing a smart wheel sensor signal using a register which is capable of reducing a cycle time of a wheel sensor installed in a vehicle, preventing wheel information from being lost and omitting the installation of an additional correcting logic for compensating a wheel information loss. A method of processing a smart wheel sensor signal, which outputs mutually different output signals according a rotation direction of a vehicle wheel and distance variation between a hall sensor and a tone wheel, includes the steps of receiving a pulse output from the smart wheel sensor; blocking an occurrence of an interrupt at a rising edge time point of the pulse; causing an input capture interrupt at a falling edge occurring time point of the pulse; reading out a first time value corresponding to the rising edge occurring time point and a second time value corresponding to the falling edge occurring time point based on an input capture interrupt from a register; and decoding an output signal of the smart wheel sensor based on the first and second time values read out from the register.

Description

레지스터를 이용한 스마트 휠 센서 신호 처리 방법{METHOD OF SMART WHEEL SENSOR SIGNAL PROCESSING USING REGISTER}[0001] METHOD OF SMART WHEEL SENSOR SIGNAL PROCESSING USING REGISTER [0002]

본 발명은 레지스터를 이용한 스마트 휠 센서 신호 처리 방법에 관한 것으로, 보다 상세하게는, 차량에 탑재되는 휠 센서의 사이클 타임을 줄일 수 있고 휠 정보 손실(missing)을 방지하며 휠 정보 손실을 보상하기 위해 설치되는 추가 보정 로직을 생략할 수 있는 레지스터를 이용한 스마트 휠 센서 신호 처리 방법에 관한 것이다.[0001] The present invention relates to a smart wheel sensor signal processing method using a register, and more particularly, to a smart wheel sensor signal processing method and apparatus that can reduce the cycle time of a wheel sensor mounted on a vehicle, prevent wheel information loss, And more particularly, to a smart wheel sensor signal processing method using a register capable of omitting additional correction logic to be installed.

차량의 휠 속도를 정확히 측정하는 것은 브레이크 시스템을 개발하는데 있어서 중요한 요소 중 하나이다. 휠 정보가 왜곡되거나 손실되면 브레이크 시스템은 제 기능을 못하거나 오동작을 하게 되고, 그에 의해 큰 사고나 인명 피해를 유발할 수 있다.Accurately measuring the wheel speed of a vehicle is one of the important factors in developing a brake system. If the wheel information is distorted or lost, the brake system may fail or malfunction, thereby causing a serious accident or personal injury.

기존 액티브 휠 스피드 센서(Active Wheel Speed Sensor)는 차량의 속도를 계산할 수 있으나 차량의 주행 방향을 계산할 수 없으므로 이를 이용하여 자동주차 시스템(SPAS: Smart Parking Assistance System) 기능을 구현하는 데에는 한계가 있다.The existing Active Wheel Speed Sensor can calculate the speed of the vehicle but it can not calculate the direction of the vehicle. Therefore, there is a limit to implement the Smart Parking Assistance System (SPAS) function.

종래의 액티브 휠 스피드 센서의 일례가 대한민국 공개특허공보 제10-2012-0025698호에 개시되어 있다. 이 공보의 차량 속도 측정 방법 및 장치에서는 차량 속도 측정 시 톤 휠의 오차로 인한 측정 편차를 감소시켜서 더욱 정확하게 차량 속도를 측정할 수 있음을 개시한다. 이를 위해, 전술한 차량 속도 측정 방법에서는, 차륜에 장착된 톤 휠 센서로부터 펄스 신호를 수신하고, 펄스 신호의 적어도 두 주기 동안의 펄스 수를 이용하여 차륜의 회전 속도를 계산하며, 차륜의 회전 속도에 기초하여 차량의 속도를 측정하도록 구성된다. 그러나, 전술한 공보에 개시된 종래 기술은 두 주기 동안의 펄스를 이용하여 차량의 속도를 측정하므로, 상대적으로 센서의 사이클 타임(Cycle time)이 길어지는 단점이 있다.An example of a conventional active wheel speed sensor is disclosed in Korean Patent Laid-Open Publication No. 10-2012-0025698. In this publication, it is disclosed that a vehicle speed measurement method and apparatus can measure a vehicle speed more accurately by reducing a measurement deviation due to an error of a tone wheel when measuring a vehicle speed. To this end, in the above-described vehicle speed measuring method, a pulse signal is received from a tone wheel sensor mounted on a wheel, a rotational speed of the wheel is calculated using the number of pulses for at least two periods of the pulse signal, To measure the speed of the vehicle. However, the prior art disclosed in the above-mentioned publication has a disadvantage in that the cycle time of the sensor is relatively long because the speed of the vehicle is measured using the pulses for two periods.

최근, 스마트 액티브 휠 스피드 센서(이하, 간략히 스마트 휠 센서라고 함)에 대한 다양한 연구가 진행 중이다. 스마트 휠 센서는 차량의 속도와 방향 정보 등을 제공하므로, 이러한 스마트 휠 센서의 차량 속도와 방향 정보를 자동주차 시스템에 이용할 수 있다.Recently, various researches on smart active wheel speed sensors (hereinafter, simply referred to as smart wheel sensors) are under way. Since the smart wheel sensor provides information on the speed and direction of the vehicle, the vehicle speed and direction information of the smart wheel sensor can be used for the automatic parking system.

그러나, 스마트 휠 센서를 자동주차 시스템 등에 적용하는 경우, 기존의 스마트 휠 센서의 신호 처리 방법에서는 상대적으로 처리 속도나 응답 시간이 지연되는 단점이 있다. 그것은 스마트 휠 센서가 속도 정보 및 방향 정보와 함께 센서 장착 상태 정보를 출력하므로 기존의 액티브 휠 센서보다 2배 이상의 주파수로 신호를 출력하게 되는데, 이때 신호 처리 시스템에서는 스마트 휠 센서의 일부 출력 신호를 손실(Missing)하는 경우가 자주 발생하기 때문이다.However, when a smart wheel sensor is applied to an automatic parking system or the like, a signal processing method of a conventional smart wheel sensor has a disadvantage that a processing speed or response time is relatively delayed. This is because the smart wheel sensor outputs the sensor mounting status information together with the speed information and the direction information, so that the signal is outputted at a frequency two times or more higher than that of the existing active wheel sensor. In this case, (Missing) occurs frequently.

대한민국 공개특허공보 제10-2012-0025698호(2012.03.16)Korean Patent Publication No. 10-2012-0025698 (2012.03.16)

본 발명은 상기의 문제를 해결하기 위한 것으로, 차량 속도와 방향 정보를 제공하는 스마트 휠 센서의 출력 펄스의 상승 에지에 대한 인터럽트를 제거하고, 하강 에지에 대한 인터럽트만을 발생시키면서, 상승 에지와 하강 에지 발생 시점에 대한 시간 정보를 제어부(차량 전자제어장치 등)의 레지스터에 저장하여 이용함으로써 센서의 사이클 타임(Cycle time)을 줄일 수 있고 휠 정보 손실(Missing)을 방지하며 휠 정보 손실을 고려한 추가 보정로직을 생략할 수 있는 레지스터를 이용한 스마트 휠 센서 신호 처리 방법을 제공하는데 그 목적이 있다.
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems and it is an object of the present invention to provide a smart wheel sensor that eliminates an interruption to a rising edge of an output pulse of a smart wheel sensor that provides vehicle speed and direction information, By storing the time information of the time of occurrence in the register of the control unit (vehicle electronic control device or the like), the cycle time of the sensor can be reduced, the wheel information loss can be prevented, And a smart wheel sensor signal processing method using a register that can omit logic.

상기 기술적 과제를 해결하기 위하여 본 발명의 일 측면에 따른 레지스터를 이용한 스마트 휠 센서 신호 처리 방법은, 차량의 휠의 회전 방향에 따라 그리고 홀 센서와 톤 휠 간의 거리 변화에 따라 다른 출력 신호를 내보내는 스마트 휠 센서의 신호 처리 방법에 있어서, 스마트 휠 센서에서 출력되는 펄스를 수신하는 단계; 펄스의 상승 에지 발생 시점에서의 인터럽트 발생을 차단하는 단계; 펄스의 하강 에지 발생 시점에서 입력 캡처 인터럽트를 발생시키는 단계; 입력 캡처 인터럽트에 기초하여 상승 에지 발생 시점에 대한 제1 시간 값과 하강 에지 발생 시점에 대한 제2 시간 값을 레지스터에서 독출하는 단계; 및 레지스터에서 독출한 제1 시간 값과 제2 시간 값에 기초하여 스마트 휠 센서의 출력 신호를 디코딩하는 단계;를 포함한다.According to an aspect of the present invention, there is provided a method of processing a smart wheel sensor signal using a register, the smart wheel sensor signal processing method comprising the steps of: A signal processing method of a wheel sensor, comprising: receiving a pulse output from a smart wheel sensor; Interrupting generation of an interrupt at a rising edge of a pulse; Generating an input capture interrupt at a falling edge of the pulse; Reading in a register a first time value for a rising edge occurrence time and a second time value for a falling edge occurrence time based on an input capture interrupt; And decoding the output signal of the smart wheel sensor based on the first time value and the second time value read from the register.

일 실시예에서, 출력 신호를 디코딩하는 단계는, 레지스터에서 독출한 n(n은 1 이상의 임의의 자연수)번째 펄스의 제2 시간 값에서 n번째 펄스의 제1 시간 값을 뺀 값을 토대로 차량 방향 정보를 출력하는 것을 특징으로 한다.In one embodiment, the step of decoding the output signal comprises the steps of: subtracting a first time value of an nth pulse from a second time value of n (n is an arbitrary natural number of 1 or more) And outputting the information.

일 실시예에서, 출력 신호를 디코딩하는 단계는, 레지스터에서 독출한 n+1번째 상승 에지 시간 값에서 n번째 상승 에지 시간 값을 뺀 값을 토대로 차량 속도 정보를 출력하는 단계를 포함하는 것을 특징으로 한다.In one embodiment, the step of decoding the output signal includes the step of outputting vehicle speed information based on a value obtained by subtracting the n-th rising edge time value from the (n + 1) -th rising edge time value read out of the register do.

일 실시예에서, 출력 신호를 디코딩하는 단계는, 레지스터에서 독출한 제1 시간 값과 제2 시간 값에 기초하여 홀 센서와 톤 휠 간에 에어 갭(Air-gap)이 기준 범위를 초과하여 자속 밀도 변화량이 적게 발생한 경우에 해당하는 에어갭 경보 신호를 출력하는 단계를 포함하는 것을 특징으로 한다.In one embodiment, the step of decoding the output signal comprises: determining, based on the first time value and the second time value read from the register, that the air gap between the hall sensor and the tone wheel exceeds a reference range, And outputting an air gap alarm signal corresponding to the occurrence of a small change amount.

일 실시예에서, 출력 신호를 디코딩하는 단계는, 레지스터에서 독출한 제1 시간 값과 제2 시간 값에 기초하여 홀 센서와 톤 휠 간에 에어 갭(Air-gap)이 기준 범위를 초과하여 자속 밀도 변화량이 정상 상태일 때보다 자속의 변화는 적고, 휠 속도는 정상 출력인 경우에 해당하는 이엘(EL) 신호를 출력하는 단계를 포함하는 것을 특징으로 한다.In one embodiment, the step of decoding the output signal comprises: determining, based on the first time value and the second time value read from the register, that the air gap between the hall sensor and the tone wheel exceeds a reference range, And outputting an EL signal corresponding to a case in which the variation of the magnetic flux is less than when the change amount is the normal state and the wheel speed is the normal output.

일 실시예에서, 출력 신호를 디코딩하는 단계는, 레지스터에서 독출한 제1 시간 값과 제2 시간 값에 기초하여 홀 센서와 톤 휠 간에 에어 갭(Air-gap)이 정상 출력으로 판단될 때, 미리 설정된 펄스 길이에 따라 오른쪽 회전 방향 또는 왼쪽 회전 방향에 해당하는 디알(DR: Direction of rotation) 신호를 출력하는 단계를 포함하는 것을 특징으로 한다.In one embodiment, the step of decoding the output signal comprises: when the air gap between the hall sensor and the tone wheel is determined as a normal output based on the first time value and the second time value read from the register, And outputting a direction (DR) signal corresponding to a right rotation direction or a left rotation direction according to a preset pulse length.

일 실시예에서, 출력 신호를 디코딩하는 단계는, 레지스터에서 독출한 제1 시간 값과 제2 시간 값에 기초하여 톤 휠이 정지한 경우에 해당하는 정지(Stand-still) 신호를 출력하는 단계를 포함하는 것을 특징으로 한다.In one embodiment, the step of decoding the output signal comprises the step of outputting a stand-still signal corresponding to the stop of the tone wheel based on the first time value and the second time value read from the register .

일 실시예에서, 레지스터는 차량의 전자제어장치나 마이크로 컨트롤 유닛에 구비된 홀드 레지스터를 포함한다.
In one embodiment, the register includes a hold register provided in an electronic control unit of the vehicle or a micro control unit.

본 발명에 의하면, 차량 속도와 방향 정보를 제공하는 스마트 휠 센서의 출력 펄스의 상승 에지에 대한 인터럽트를 차단하고, 하강 에지에 대한 인터럽트를 발생시키면서 상승 에지와 하강 에지에 대한 시간 정보를 제어부의 레지스터에서 독출하여 저장하고 이를 이용하여 스마트 휠 센서의 출력 신호를 디코딩함으로써 센서의 사이클 시간(Cycle Time)을 줄일 수 있는 레지스터를 이용한 스마트 휠 센서 신호 처리 방법을 제공할 수 있다.According to the present invention, interruption of a rising edge of an output pulse of a smart wheel sensor that provides vehicle speed and direction information is interrupted, time information on a rising edge and a falling edge is generated in a register A smart wheel sensor signal processing method using a register capable of reducing a cycle time of a sensor by decoding the output signal of the smart wheel sensor by reading and storing it in a memory can be provided.

또한, 본 발명에 의하면, 기존의 액티브 휠 속도 센서(Active Wheel Speed Sensor)의 신호 처리 방법으로 스마트 휠 센서의 신호를 처리할 때 발생하는 문제점을 제거하는 효과를 제공한다. 즉, 기존 방법으로 스마트 휠 센서의 출력 펄스를 처리하면 본 발명에 비해 2배의 인터럽트가 발생하고, 그에 의해 인터럽트 처리 시간이 늘어나 제어부에 부담을 주며, 센서의 처리 속도 증가 시 사이클 타임에 악영향을 준다. 하지만, 본 발명은 기존 방법과 달리 인터럽트 발생을 반으로 줄임으로써 기존 방법에서의 문제점을 개선하는 효과가 있다.According to the present invention, there is provided an effect of eliminating the problems occurring in processing a signal of a smart wheel sensor by a signal processing method of an existing active wheel speed sensor. That is, if the output pulse of the smart wheel sensor is processed by the conventional method, twice the interruption occurs according to the present invention, thereby increasing the interruption processing time, thereby imposing a burden on the control unit. give. However, the present invention has an effect of reducing the occurrence of interruption in half, unlike the existing method, thereby improving the problems in the existing method.

또한, 본 발명에 의하면, 제어부의 처리 속도가 고속화에 되는 경우에도 기존 방법에 비해 인터럽트 간격을 2배 이상 증가시킴으로써 휠 정보 손실(Missing) 환경을 미연에 제거할 수 있고, 그에 의해 휠 정보 손실을 보상하기 위한 별도의 보정 로직을 부가할 필요가 없다. 다시 말해서, 스마트 휠 센서의 방향 정보는 약 45㎲의 시간 동안 발생하는 펄스의 상승 에지와 하강 에지를 감지하여 인식하게 되는데 종래의 스마트 휠 센서 신호 처리 방법에서는 제어부의 처리 속도가 증가하거나 혹은 제어부의 성능이 좋지 않거나 상태가 나쁜 경우에 인터럽트를 놓치는 경우가 종종 발생하게 되므로 이를 보완하여 SPAS의 신뢰성을 확보하기 위해 별도의 보정 로직을 추가해야 하였지만, 본 발명에서는 약 45㎲의 짧은 시간 동안에 발생하는 펄스의 상승 에지와 하강 에지 모두에서 인터럽트를 발생시킬 필요가 없으므로 실질적으로 인터럽트를 놓치는 문제를 완전히 해소할 수 있다.
In addition, according to the present invention, even when the processing speed of the control unit is increased, by increasing the interrupt interval by more than two times as compared with the conventional method, it is possible to eliminate the wheel information loss environment in advance, There is no need to add additional correction logic to compensate. In other words, the direction information of the smart wheel sensor senses the rising edge and the falling edge of the pulse, which occur for a time of about 45 μs. In the conventional smart wheel sensor signal processing method, the processing speed of the controller increases, In order to secure the reliability of the SPAS, it is necessary to add a separate correction logic. However, in the present invention, a pulse generated in a short time of about 45 microseconds It is not necessary to generate an interrupt in both of the rising edge and the falling edge of the interrupt, so that the problem of substantially missing the interrupt can be completely solved.

도 1은 본 발명의 스마트 액티브 휠 스피드 센서(스마트 휠 센서라고 함)의 출력 신호에 대한 실측 파형과 종래의 액티브 휠 스피드 센서(액티브 휠 센서라고 함)의 출력 신호에 대한 실측 파형을 대비하여 나타낸 도면.
도 2는 도 1의 스마트 휠 센서와 액티브 휠 센서의 출력 신호를 톤 휠의 마그네틱 신호에 대응하여 나타낸 파형도.
도 3은 본 발명의 레지스터를 이용한 스마트 휠 센서 신호 처리 방법의 순서도.
도 4는 도 3의 신호 처리 방법의 작동 원리를 설명하기 위한 파형도.
도 5는 본 발명의 스마트 휠 센서 신호 처리를 위한 변환 회로.
도 6은 도 3의 신호 처리 방법에서의 스마트 휠 센서의 에어갭 경보 신호, 이엘(EL) 신호, 디알(DR) 신호에 대한 디코딩 과정을 설명하기 위한 파형도.
도 7은 도 3의 신호 처리 방법에서의 톤 휠의 정지 신호에 대한 디코딩 과정을 설명하기 위한 파형도.
Fig. 1 is a diagram showing a comparison between the actual waveform of the output signal of the smart active wheel speed sensor of the present invention (referred to as smart wheel sensor) and the actual waveform of the output signal of the conventional active wheel speed sensor (referred to as active wheel sensor) drawing.
FIG. 2 is a waveform diagram showing output signals of the smart wheel sensor and the active wheel sensor of FIG. 1 corresponding to the magnetic signals of the tone wheel. FIG.
3 is a flowchart of a smart wheel sensor signal processing method using a register of the present invention.
FIG. 4 is a waveform diagram for explaining the operation principle of the signal processing method of FIG. 3; FIG.
5 is a conversion circuit for smart wheel sensor signal processing of the present invention;
FIG. 6 is a waveform diagram for explaining a process of decoding an air gap alarm signal, an EL signal, and a DR signal of the smart wheel sensor in the signal processing method of FIG. 3;
FIG. 7 is a waveform diagram for explaining a decoding process for a stop signal of the tone wheel in the signal processing method of FIG. 3; FIG.

본 명세서 및 특허청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정되어 해석되어서는 아니되며, 발명자는 그 자신의 발명을 가장 최선의 방법으로 설명하기 위해 용어의 개념을 적절하게 정의할 수 있다는 원칙에 입각하여 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야만 한다. 따라서, 본 명세서에 기재된 실시예와 도면에 도시된 구성은 본 발명의 가장 바람직한 일 실시예에 불과할 뿐이고, 본 발명의 기술적 사상을 모두 대변하는 것은 아니므로 본 출원시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형예들이 있을 수 있음을 이해하여야 한다.The terms and words used in the present specification and claims should not be construed as limited to ordinary or dictionary meanings and the inventor should appropriately define the concept of the term in order to describe its invention in the best way The present invention should be construed in accordance with the meaning and concept consistent with the technical idea of the present invention. Therefore, the embodiments described in the present specification and the configurations shown in the drawings are merely the most preferred embodiments of the present invention, and not all of the technical ideas of the present invention are described. Therefore, It is to be understood that equivalents and modifications are possible.

본 명세서에서 사용된 용어는 특정 실시예를 설명하기 위하여 사용되므로 본 발명을 제한하기 위한 것이 아니다. 본 명세서에서 사용된 바와 같이, 단수 형태는 문맥상 다른 경우를 분명히 지적하는 것이 아니라면 복수의 형태를 포함할 수 있다.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms "a", "an", and "the" include plural referents unless the context clearly dictates otherwise.

도 1은 본 발명의 스마트 액티브 휠 스피드 센서(스마트 휠 센서라고 함)의 출력 신호에 대한 실측 파형과 종래의 액티브 휠 스피드 센서(액티브 휠 센서라고 함)의 출력 신호에 대한 실측 파형을 대비하여 나타낸 도면이다. 도 2는 도 1의 스마트 휠 센서와 액티브 휠 센서의 출력 신호를 톤 휠의 마그네틱 신호에 대응하여 나타낸 파형도이다.Fig. 1 is a diagram showing a comparison between the actual waveform of the output signal of the smart active wheel speed sensor of the present invention (referred to as smart wheel sensor) and the actual waveform of the output signal of the conventional active wheel speed sensor (referred to as active wheel sensor) FIG. FIG. 2 is a waveform diagram showing output signals of the smart wheel sensor and the active wheel sensor of FIG. 1 corresponding to magnetic signals of the tone wheel.

도 1을 참조하면, 본 실시예에 따른 스마트 휠 센서(SAWSS)의 파형은 기존의 액티브 휠 센서(AWSS)의 파형의 약 2배의 주파수를 구비한다.Referring to FIG. 1, the waveform of the smart wheel sensor (SAWSS) according to the present embodiment has a frequency approximately twice as large as that of the existing active wheel sensor (AWSS).

좀더 구체적으로 설명하면, 기존의 액티브 휠 센서는 휠의 회전 방향과 관계없이 휠이 회전하면서 속도에 따라 휠의 에지(Edge) 발생 간격이 다른 구형파를 발생시킨다. 이러한 액티브 휠 센서의 마그네틱 신호(Magnetic Signal)에 따른 출력 신호(AWSS Output Signal)를 나타내면 도 2의 (a)와 같다.More specifically, in the conventional active wheel sensor, regardless of the direction of rotation of the wheel, the wheel rotates and generates a square wave having a different edge generation interval according to the speed. An output signal (AWSS Output Signal) according to a magnetic signal of the active wheel sensor is shown in FIG. 2A.

한편, 본 실시예의 스마트 휠 센서는 휠의 회전 방향에 따라 일정한 간격의 펄스 길이(Pulse Length, Lp)를 갖는 구형파를 발생시킨다. 즉, 스마트 휠 센서는 액티브 휠 센서와 달리 에지 발생 시 한 주기의 펄스를 발생시켜 동일한 속도에서 액티브 휠 센서에 비해 2배의 주파수 파형을 가진 구형파를 발생시킨다. 스마트 휠 센서의 펄스 길이를 통해 차량 바퀴의 방향 정보와 상태 정보를 알 수 있다. 이러한 스마트 휠 센서의 마그네틱 신호에 따른 출력 신호(SAWSS Output Signal)를 나타내면 도 2의 (b)와 같다.Meanwhile, the smart wheel sensor of the present embodiment generates a square wave having a pulse length (Lp) with a constant interval according to the rotation direction of the wheel. That is, unlike the active wheel sensor, the smart wheel sensor generates a pulse of one period when an edge occurs and generates a square wave having a frequency of twice the frequency of the active wheel sensor at the same speed. The direction information and the status information of the vehicle wheel can be known through the pulse length of the smart wheel sensor. An output signal (SAWSS Output Signal) according to the magnetic signal of the smart wheel sensor is shown in FIG. 2 (b).

도 3은 본 발명의 레지스터를 이용한 스마트 휠 센서 신호 처리 방법의 순서도이다.3 is a flowchart of a smart wheel sensor signal processing method using a register of the present invention.

도 3을 참조하면, 본 실시예에 따른 레지스터를 이용한 스마트 휠 센서 신호 처리 방법(이하, 간략히 휠 센서 신호 처리 방법이라 함)은 우선 차량의 휠의 회전 방향에 따라 그리고 홀 센서와 톤 휠 간의 거리 변화에 따라 다른 출력 신호를 내보내는 스마트 휠 센서에 연결되는 신호 처리 시스템에서 스마트 휠 센서에서 출력되는 펄스를 수신한다(S31). 펄스는 구형파에 대응한다.Referring to FIG. 3, a smart wheel sensor signal processing method using a register according to an embodiment of the present invention (hereinafter referred to simply as a wheel sensor signal processing method) is performed in accordance with the rotation direction of the wheel of the vehicle and the distance In a signal processing system connected to a smart wheel sensor that outputs a different output signal according to the change, a pulse output from the smart wheel sensor is received (S31). The pulse corresponds to a square wave.

다음, 펄스의 상승 에지 발생 시점에서의 인터럽트 발생을 차단한다(S32). 펄스의 상승 에지 발생 시점에서의 인터럽트를 생략함으로써 제어부(신호 처리 시스템 등)의 처리 속도에 비해 상대적으로 빠른 주파수의 파형이나 제어부의 설치 환경(차량 등)에 의해 휠 센서의 출력 신호를 손실하는 것을 방지할 수 있다.Next, the occurrence of an interrupt at the rising edge of the pulse is blocked (S32). By omitting the interruption at the rising edge of the pulse, it is possible to eliminate the output signal of the wheel sensor by the waveform of the frequency relatively faster than the processing speed of the control unit (such as the signal processing system) or the installation environment of the control unit .

레지스터는 차량의 전자제어장치에 구비되어 스마트 휠 센서의 출력 신호를 임시 저장할 수 있는 수단이나 이러한 수단에 상응하는 기능을 수행하는 저장부일 수 있다. 본 실시예에서, 레지스터는 마이크로 컨트롤 유닛 등에 구비되는 홀드 레지스터인 것이 바람직하다. 물론, 홀드 레지스터에 대응하는 별도의 저장부를 이용할 수 있지만, 그 경우 추가적인 회로 구성 등으로 인한 비용 상승을 감안하여야 한다.The register may be provided in the electronic control unit of the vehicle to temporarily store the output signal of the smart wheel sensor or may be a storage unit performing a function corresponding to this means. In this embodiment, the register is preferably a hold register provided in a micro control unit or the like. Of course, a separate storage portion corresponding to the hold register can be used, but in this case, an increase in cost due to additional circuit configuration and the like must be taken into consideration.

다음, 펄스의 하강 에지 발생 시점에서 입력 캡처 인터럽트를 발생시킨다(S33). 입력 캡처 인터럽트는 기본적으로 에지 발생 시점을 저장하기 위한 것이다.Next, an input capture interrupt is generated at the time of the falling edge of the pulse (S33). The input capture interrupt is basically for storing the edge occurrence time.

다음, 입력 캡처 인터럽트에 기초하여 상기의 하강 에지 발생 시점에 대한 제2 시간 값을 레지스터(홀드 레지스터 등)에서 독출하고, 하강 에지 발생 시점 이전에 레지스터에 기저장되어 있는 상승 에지 발생 시점에서의 제1 시간 값을 레지스터에서 독출한다(S34).Next, based on the input capture interrupt, the second time value for the falling edge occurrence time is read out from the register (hold register or the like), and the second time value is stored in the register before the falling edge occurrence time The 1-hour value is read out from the register (S34).

제1 시간 값은 레지스터의 종류나 구조에 따라 제2 시간 값이 저장된 영역에서 미리 설정된 상대적인 저장 영역에 저장된다. 예컨대, FIFO(First In First Out) 구조의 저장부에서 제2 시간 값은 제1 시간 값이 직전에 저장되어 있던 제1 영역에 저장되고, 제1 시간 값은 제1 영역에서 제2 영역으로 이동하여 저장될 수 있다. 또 다른 예를 들면, 제1 시간 값은 제1 홀드 레지스터에 저장되고, 제2 시간 값은 제1 홀드 레지스터와 병렬로 배치된 제2 홀드 레지스터에 저장될 수 있다.The first time value is stored in a relative storage area preset in the area where the second time value is stored according to the type and structure of the register. For example, in a storage unit of a first-in first-out (FIFO) structure, a second time value is stored in a first area where a first time value was stored immediately before, and a first time value is moved from a first area to a second area . As another example, a first time value may be stored in a first hold register, and a second time value may be stored in a second hold register disposed in parallel with the first hold register.

다음으로, 레지스터로부터 독출한 제1 시간 값과 제2 시간 값에 기초하여 스마트 휠 센서의 출력 신호를 디코딩한다(S35). 스마트 휠 센서의 출력 신호를 디코딩하여 차량의 속도 및 방향 정보와 센서의 장착 상태 정보를 출력하는 과정에 대하여는 아래에서 상세히 설명될 것이다.Next, the output signal of the smart wheel sensor is decoded based on the first time value and the second time value read from the register (S35). The process of decoding the output signal of the smart wheel sensor and outputting the speed and direction information of the vehicle and the mounting status information of the sensor will be described in detail below.

도 4는 도 3의 신호 처리 방법의 작동 원리를 설명하기 위한 파형도이다.4 is a waveform diagram for explaining the operation principle of the signal processing method of FIG.

도 4에 도시한 바와 같이, 차량에 탑재된 제어부에서 스마트 휠 센서의 출력 신호를 디코딩하여 차량의 속도 및 방향 정보를 출력할 수 있다.As shown in FIG. 4, the controller mounted on the vehicle can decode the output signal of the smart wheel sensor and output the speed and direction information of the vehicle.

좀더 구체적으로 설명하면, 제어부는 스마트 휠 센서(SAWSS)에서 출력되는 펄스를 수신하고, 수신한 제1 펄스의 상승 에지(raising edge)에서 인터럽트의 발생을 차단한다. 그리고, 제어부는 펄스의 하강 에지(falling edge)에서 입력 캡처 인터럽트를 발생시키고, 입력 캡터 인터럽트에 기초하여 상승 에지의 발생 시점에 대한 제1 시간 값(A)과 하강 에지의 발생 시점에 대한 제2 시간 값(A′)을 제어부의 홀드 레지스터에서 독출하여 소정의 저장부에 저장한다.More specifically, the control unit receives the pulse output from the smart wheel sensor (SAWSS) and interrupts the occurrence of the interruption at the rising edge of the received first pulse. Then, the control unit generates an input capture interrupt at a falling edge of the pulse, and based on the input capture interrupt, generates a first time value (A) for the occurrence time of the rising edge and a second time value Reads the time value A 'from the hold register of the control unit, and stores the time value A' in a predetermined storage unit.

유사하게, 제1 펄스에 이어지는 펄스들에 대하여 제1 펄스와 동일한 방법으로 상승 에지에서는 인터럽트의 발생을 차단하고, 하강 에지에서는 입력 캡처 인터럽트를 발생시키며, 각 입력 캡처 인터럽트에 기초하여 상승 에지 및 하강 에지의 발생 시점에 대한 시간 값(B, B′, C, C′, D, D′, E, E′, F, F′)을 순차적으로 각각 저장할 수 있다.Similarly, in the same manner as the first pulse for the pulses following the first pulse, the rising edge interrupts the generation of the interrupt, the falling edge generates the input capture interrupt, and the rising edge and the falling (B, B ', C', D ', D', E, E ', F and F') with respect to the generation time of the edge.

스마트 휠 센서의 출력 신호를 디코딩하여 차량 방향 정보를 출력하기 위해, 제어부는 레지스터에 저장된 n(n은 1 이상의 임의의 자연수)번째 펄스의 제2 시간 값에서 n번째 펄스의 제1 시간 값을 뺀 값을 토대로 차량 방향 정보를 출력한다. 즉, 도 4의 (a)에 도시한 바와 같이, 제어부는 상승 에지에서 발생한 제1 시간 값을 이용하여 시간 계산에 사용하고, 하강 에지에서 발생한 시간은 상승 에지에서 발생한 시간과의 차이를 계산함으로써 차량의 방향 정보에 대해 디코딩할 수 있다. 예를 들어, 제어부는 상승 에지의 캡처 타임 및 오버플로우 카운트를 저장하고, 상승 에지와 하강 에지의 캡처 타임의 차이를 이용하여 입력 신호를 디코딩할 수 있다.In order to decode the output signal of the smart wheel sensor and output the vehicle direction information, the control unit subtracts the first time value of the nth pulse from the second time value of n (n is an arbitrary natural number of 1 or more) pulse stored in the register And outputs the vehicle direction information based on the vehicle speed information. 4 (a), the controller uses the first time value generated at the rising edge to calculate the time, and the time at the falling edge is calculated by calculating the difference from the time at the rising edge It is possible to decode the direction information of the vehicle. For example, the control unit may store the capture time and overflow count of the rising edge and may decode the input signal using the difference of the capture time of the rising edge and the falling edge.

또한, 스마트 휠 센서의 출력 신호를 디코딩하여 차량 속도 정보를 출력하기 위해, 제어부는 레지스터에 저장된 n+1번째 상승 에지 시간 값에서 n번째 상승 에지 시간 값을 뺀 값을 토대로 차량 속도 정보를 출력한다. 즉, 도 4의 (b)에 도시한 바와 같이, 제어부는 스마트 휠 센서의 출력 신호를 디코딩한 후 속도 계산에 사용할 펄스로 변환할 수 있다. 본 실시예에 의하면, 제어부는 제1 펄스의 상승 에지의 시간 값(A)과 제1 펄스에 이어지는 제2 펄스의 상승 에지의 시간 값(B)이 각각 상승 에지와 하강 에지를 형성하는 제2 펄스를 생성하고, 제2 펄스를 이용하여 차량의 속도를 계산한다.Further, in order to decode the output signal of the smart wheel sensor and output the vehicle speed information, the controller outputs vehicle speed information based on a value obtained by subtracting the n-th rising edge time value from the (n + 1) -th rising edge time value stored in the register . That is, as shown in FIG. 4 (b), the controller can convert the output signal of the smart wheel sensor into a pulse to be used for speed calculation after decoding it. According to the present embodiment, the control unit determines that the time value (A) of the rising edge of the first pulse and the time value (B) of the rising edge of the second pulse following the first pulse form a rising edge and a falling edge, Generates a pulse, and calculates the speed of the vehicle using the second pulse.

제어부는 다음의 수학식 1에 따라 차량의 속도를 계산할 수 있다.The control unit can calculate the vehicle speed according to the following equation (1).

Figure pat00001
Figure pat00001

수학식 1에서, Distance는 바퀴의 원주(Radius)나 톤 휠(Tone Wheel)의 톱니(Teeth)의 개수이고, Time은 한 개의 톱니가 움직였을 때 발생한 시간이다.In Equation (1), Distance is the number of teeth of a wheel or a tone wheel, and Time is a time when one tooth is moved.

차량의 톤 휠이 회전하면, 스마트 휠 센서는 톤 휠의 이동 속도와 방향에 따라 소정 형태의 펄스를 발생시키고, 제어부는 스마트 휠 센서의 펄스 신호를 토대로 차량의 이동 방향과 일정 시간 동안 바퀴가 이동한 거리를 계산할 수 있다.When the tone wheel of the vehicle rotates, the smart wheel sensor generates a predetermined type of pulse according to the moving speed and direction of the tone wheel, and the control unit moves the wheels for a predetermined time based on the pulse signal of the smart wheel sensor You can calculate one distance.

도 5는 본 발명의 스마트 휠 센서 신호 처리를 위한 변환 회로도이다.5 is a conversion circuit diagram for smart wheel sensor signal processing of the present invention.

도 5를 참조하면, 본 실시예에 따른 제어부(차량의 전자제어장치 등)는 스마트 휠 센서의 출력 신호를 적절하게 수신하기 위한 수단을 구비할 수 있다.Referring to FIG. 5, a control unit (an electronic control unit of a vehicle, etc.) according to the present embodiment may include means for appropriately receiving an output signal of a smart wheel sensor.

예를 들어, 스마트 휠 센서(SAWSS)는 약 0.7~1.4㎃ 정도의 신호를 출력하므로, MCU(Micro Control Unit) 등의 제어부에서는 스마트 휠 센서의 신호를 입력단에 설치된 비교기(OP-Amp)를 통해 제어부에서 인식가능한 전압의 출력 신호(Output Signal)로 변환할 수 있다.For example, a smart wheel sensor (SAWSS) outputs a signal of about 0.7 to 1.4 mA, so that a control unit such as an MCU (Micro Control Unit) controls the signal of the smart wheel sensor through a comparator (OP-Amp) It can be converted into an output signal (Output Signal) of a voltage recognizable by the control unit.

도 6은 도 3의 신호 처리 방법에서의 에어갭 경보 신호, 이엘(EL) 신호, 디알(DR) 신호에 대한 디코딩 과정을 설명하기 위한 파형도이다.FIG. 6 is a waveform diagram for explaining a decoding process for an air gap alarm signal, an EL signal, and a DR signal in the signal processing method of FIG. 3. FIG.

도 6을 참조하면, 본 실시예에 따른 신호 처리 방법이 채용된 제어부에서는 스마트 휠 센서의 출력 신호를 디코딩하여 출력 신호에 담긴 정보를 인식한다. 출력 신호는 스마트 휠 센서에서 출력되는 펄스 또는 구형파이거나 이 펄스를 적절히 변환한 펄스(도 4의 (b) 참조)일 수 있다. 출력 신호는 휠의 회전 방향에 따라 그리고 홀 센서(Hall Sensor)와 톤 휠(Tone Wheel) 간의 거리 변화에 따라 다른 형태(펄스 길이 등)를 구비하며, 제어부는 이러한 출력 신호에 기초하여 차량의 속도 외에 차량의 전진 또는 후진 방향과 에어갭 경보 정보, 이엘 정보, 톤 휠의 정지 정보 등을 출력할 수 있다.Referring to FIG. 6, the control unit employing the signal processing method according to the present embodiment decodes the output signal of the smart wheel sensor and recognizes information contained in the output signal. The output signal may be a pulse output from the smart wheel sensor or a square wave or a pulse (see FIG. 4 (b)) that has been appropriately converted. The output signal has a different shape (pulse length, etc.) according to the rotation direction of the wheel and the distance change between the hall sensor and the tone wheel, and the control unit determines the speed of the vehicle In addition to the forward or backward direction of the vehicle, air gap alarm information, EL information, stop information of the tone wheel, and the like can be output.

일 실시예에서, 제어부는 하강 에지 발생 시점에 레지스터로부터 독출한 제1 시간 값과 제2 시간 값에 기초하여 홀 센서와 톤 휠 간에 에어 갭(Air-gap)이 기준 범위를 초과하여 자속 밀도 변화량이 적게 발생한 경우에 해당하는 에어갭 경보 신호를 출력할 수 있다. 예를 들어, 제어부는 소정의 내부 센서(Internal Sensor)의 기준 펄스에 기초하여 스마트 휠 센서의 출력 신호에서 펄스 길이(ta)가 약 45㎲인 펄스가 일정 시간 이상 출력될 때, 에어갭 경보 신호를 출력할 수 있다.In one embodiment, the control unit determines that the air gap between the hall sensor and the tone wheel exceeds the reference range based on the first time value and the second time value read from the register at the time of the falling edge, It is possible to output the corresponding air gap alarm signal. For example, when a pulse having a pulse length (t a ) of about 45 μs is output for a predetermined time or more from the output signal of the smart wheel sensor based on a reference pulse of a predetermined internal sensor, A signal can be output.

또한, 제어부는 제1 시간 값과 제2 시간 값에 기초하여 홀 센서와 톤 휠 간에 에어 갭(Air-gap)이 정상 출력으로 판단될 때, 미리 설정된 펄스 길이에 따라 톤 휠의 오른쪽 회전 또는 왼쪽 회전에 해당하는 디알(DR: Direction of rotation) 신호를 출력한다. DR 신호는 톤 휠의 오른쪽 회전(DR-R)과 왼쪽 회전(DR-L)으로 구분하여 표시되어 있다.Further, when the air gap between the hall sensor and the tone wheel is determined as a normal output based on the first time value and the second time value, the control unit determines whether the tone wheel is rotated right or left And outputs a direction (DR) signal corresponding to the rotation. The DR signal is divided into right rotation (DR-R) and left rotation (DR-L) of the tone wheel.

예를 들어, 제어부는 스마트 휠 센서의 출력 신호에서 펄스 길이(tb)가 약 90㎲인 펄스가 일정 시간 또는 일정 개수 이상 출력될 때, 톤 휠의 왼쪽 회전에 해당하는 DR-L 신호를 출력할 수 있다. 또한, 제어부는 스마트 휠 센서의 출력 신호에서 펄스 길이(tc)가 약 180㎲인 펄스가 적어도 하나 이상 출력될 때, 톤 휠의 오른쪽 회전에 해당하는 DR-R 신호를 출력할 수 있다.For example, when a pulse having a pulse length (t b ) of about 90 μs is output for a predetermined time or a predetermined number or more from the output signal of the smart wheel sensor, the control unit outputs a DR-L signal corresponding to the left rotation of the tone wheel can do. The control unit may output a DR-R signal corresponding to the right rotation of the tone wheel when at least one pulse having a pulse length t c of about 180 출력 is output from the output signal of the smart wheel sensor.

또한, 제어부는 제1 시간 값과 제2 시간 값에 기초하여 홀 센서와 톤 휠 간에 에어 갭(Air-gap)이 기준 범위를 초과하여 자속 밀도 변화량이 정상 상태일 때보다 자속의 변화는 적지만, 휠 속도는 정상 출력인 경우에 해당하는 이엘(EL) 신호를 출력할 수 있다. EL 신호는 DR 신호와 조합되어 출력될 수 있다.Further, the control unit determines that the air gap between the hall sensor and the tone wheel exceeds the reference range based on the first time value and the second time value, and the change of the magnetic flux is less than when the magnetic flux density variation is in the normal state , And the wheel speed can output an EL signal corresponding to the normal output. The EL signal can be output in combination with the DR signal.

예를 들어, 제어부는 스마트 휠 센서의 출력 신호에서 펄스 길이(td)가 약 360㎲인 펄스가 적어도 하나 이상 출력될 때, 자속의 변화는 적지만 휠 속도는 정상이고 톤 휠이 왼쪽으로 회전하는 것을 나타내는 DR-L & EL 신호를 출력할 수 있다. 또한, 제어부는 스마트 휠 센서의 출력 신호에서 펄스 길이(te)가 약 720㎲인 펄스가 일정 시간 또는 일정 개수 이상 출력될 때, 자속의 변화는 적지만 휠 속도는 정상이고 톤 휠이 오른쪽으로 회전하는 것을 나타내는 DR-R & EL 신호를 출력할 수 있다.For example, when at least one pulse having a pulse length (t d ) of about 360 占 퐏 is outputted from the output signal of the smart wheel sensor, the control unit determines that the change of magnetic flux is small but the wheel speed is normal, EL & L & When a pulse having a pulse length (t e ) of about 720 μs is output for a predetermined time or a predetermined number of times or more from the output signal of the smart wheel sensor, the control unit determines that the change of magnetic flux is small but the wheel speed is normal, It is possible to output a DR-R & EL signal indicating rotation.

도 7은 도 3의 신호 처리 방법에서의 톤 휠의 정지 신호에 대한 디코딩 과정을 설명하기 위한 파형도이다.7 is a waveform diagram for explaining a decoding process for a stop signal of the tone wheel in the signal processing method of FIG.

도 7을 참조하면, 본 실시예에 따른 신호 처리 방법이 채용된 제어부는, 스마트 휠 센서의 출력 신호를 처리할 때, 하강 에지 발생 시점에 레지스터에서 독출한 제1 시간 값과 제2 시간 값에 기초하여 톤 휠이 정지한 경우에 해당하는 정지(Stand-still) 신호를 출력할 수 있다.Referring to FIG. 7, in processing the output signal of the smart wheel sensor, the control unit employing the signal processing method according to the present embodiment calculates a first time value and a second time value read from the register at the time of the falling edge, A stand-still signal corresponding to the stop of the tone wheel can be outputted.

예를 들어, 제어부는 펄스 길이가 미리 설정된 길이(예컨대, 1.44㎳)를 갖거나 인접한 두 펄스의 간격이 미리 설정된 시간이나 간격(Tstop, 737㎳)을 갖는 경우에 톤 휠이 정지한 경우로 인식하고 정지 신호를 출력할 수 있다.For example, when the tone wheel has stopped when the pulse length has a predetermined length (for example, 1.44 ms) or the interval between two adjacent pulses has a preset time or interval (T stop , 737 ms) And can output a stop signal.

이상에서 설명한 바와 같이, 스마트 휠 센서로부터 입력되는 신호(SAWSS Signal)에 에지가 발생하면, 기존의 제어부에서는 모든 에지에 대하여 인터럽트를 발생시킴으로써 스마트 휠 센서의 출력 신호의 주파수와 제어부의 처리 속도와의 차이로 인해 휠 정보를 손실하는 경우가 자주 발생하였지만, 본 실시예에 따른 신호 처리 방법을 이용하는 제어부에서는 스마트 휠 센서의 출력 신호의 상승 에지에서의 인터럽트 발생을 차단 또는 중지하고 출력 신호의 하강 에지에서만 인터럽트를 발생시킴으로써 휠 정보의 손실 발생을 방지할 수 있다.As described above, when an edge is generated in a signal (SAWSS signal) input from a smart wheel sensor, an existing control unit generates an interrupt for all the edges, so that the frequency of the output signal of the smart wheel sensor and the processing speed of the control unit However, in the control unit using the signal processing method according to the present embodiment, interruption of the interruption at the rising edge of the output signal of the smart wheel sensor is interrupted or stopped, and only the falling edge of the output signal It is possible to prevent the occurrence of loss of wheel information by generating an interrupt.

이상에서 살펴본 바와 같이, 본 발명의 바람직한 실시예를 들어 도시하고 설명하였으나, 본 발명은 상기한 실시예에 한정되지 아니하며 본 발명의 사상을 벗어나지 않는 범위 내에서 당해 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 다양한 변경, 치환, 수정이 가능할 것이며, 이러한 변경, 치환, 수정 등은 본 발명의 특허청구범위에 속하는 것으로 보아야 할 것이다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is clearly understood that the same is by way of illustration and example only and is not to be construed as limited to the embodiments set forth herein. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

차량의 휠의 회전 방향에 따라 그리고 홀 센서와 톤 휠 간의 거리 변화에 따라 다른 출력 신호를 내보내는 스마트 휠 센서의 신호 처리 방법에 있어서,
상기 스마트 휠 센서에서 출력되는 펄스를 수신하는 단계;
상기 펄스의 상승 에지 발생 시점에서의 인터럽트 발생을 차단하는 단계;
상기 펄스의 하강 에지 발생 시점에서 입력 캡처 인터럽트를 발생시키는 단계;
상기 입력 캡처 인터럽트에 응답하여 상기 상승 에지 발생 시점에 대한 제1 시간 값과 상기 하강 에지 발생 시점에 대한 제2 시간 값을 레지스터에서 독출하는 단계; 및
상기 제1 시간 값과 상기 제2 시간 값에 기초하여 상기 스마트 휠 센서의 출력 신호를 디코딩하는 단계;를 포함하는 레지스터를 이용한 스마트 휠 센서의 신호 처리 방법.
A signal processing method of a smart wheel sensor for outputting different output signals according to a rotation direction of a wheel of a vehicle and a distance change between a hall sensor and a tone wheel,
Receiving a pulse output from the smart wheel sensor;
Interrupting interrupt generation at a rising edge of the pulse;
Generating an input capture interrupt at a falling edge of the pulse;
Reading in a register a first time value for the rising edge occurrence time and a second time value for the falling edge occurrence time in response to the input capture interrupt; And
And decoding the output signal of the smart wheel sensor based on the first time value and the second time value.
제1항에 있어서,
상기 출력 신호를 디코딩하는 단계는, 상기 레지스터에서 독출한 n(n은 1 이상의 임의의 자연수)번째 펄스의 상기 제2 시간 값에서 상기 n번째 펄스의 상기 제1 시간 값을 뺀 값을 토대로 차량 방향 정보를 출력하는 것을 특징으로 하는 레지스터를 이용한 스마트 휠 센서의 신호 처리 방법.
The method according to claim 1,
The decoding of the output signal may further include decoding the output signal in the direction of the vehicle based on a value obtained by subtracting the first time value of the n-th pulse from the second time value of n (n is an arbitrary natural number of 1 or more) And outputs the information to the smart wheel sensor.
제1항에 있어서,
상기 출력 신호를 디코딩하는 단계는, 상기 레지스터에서 독출한 n+1번째 상승 에지 시간 값에서 n번째 상승 에지 시간 값을 뺀 값을 토대로 차량 속도 정보를 출력하는 단계를 포함하는 것을 특징으로 하는 레지스터를 이용한 스마트 휠 센서의 신호 처리 방법.
The method according to claim 1,
Wherein the step of decoding the output signal comprises the step of outputting vehicle speed information based on a value obtained by subtracting an n-th rising edge time value from an (n + 1) -th rising edge time value read out from the register. A Signal Processing Method of Smart Wheel Sensor Using.
제1항에 있어서,
상기 출력 신호를 디코딩하는 단계는, 상기 레지스터에서 독출한 상기 제1 시간 값과 상기 제2 시간 값에 기초하여 홀 센서와 톤 휠 간에 에어 갭(Air-gap)이 기준 범위를 초과하여 자속 밀도 변화량이 적게 발생한 경우에 해당하는 에어갭 경보 신호를 출력하는 단계를 포함하는 것을 특징으로 하는 레지스터를 이용한 스마트 휠 센서 신호 처리 방법.
The method according to claim 1,
The decoding of the output signal may include decoding the output signal based on the first time value read out from the register and the second time value so that the air gap between the hall sensor and the tone wheel exceeds the reference range, And outputting an air gap alarm signal corresponding to the occurrence of a small amount of the sensor signal.
제1항에 있어서,
상기 출력 신호를 디코딩하는 단계는, 상기 레지스터에서 독출한 상기 제1 시간 값과 상기 제2 시간 값에 기초하여 홀 센서와 톤 휠 간에 에어 갭(Air-gap)이 기준 범위를 초과하여 자속 밀도 변화량이 정상 상태일 때보다 자속의 변화는 적고, 휠 속도는 정상 출력인 경우에 해당하는 이엘(EL) 신호를 출력하는 단계를 포함하는 것을 특징으로 하는 레지스터를 이용한 스마트 휠 센서 신호 처리 방법.
The method according to claim 1,
The decoding of the output signal may include decoding the output signal based on the first time value read out from the register and the second time value so that the air gap between the hall sensor and the tone wheel exceeds the reference range, And outputting an EL signal corresponding to a case where the change of the magnetic flux is less than that when the steady state is normal and the wheel speed is the normal output.
제1항에 있어서,
상기 출력 신호를 디코딩하는 단계는, 상기 레지스터에서 독출한 상기 제1 시간 값과 상기 제2 시간 값에 기초하여 홀 센서와 톤 휠 간에 에어 갭(Air-gap)이 정상 출력으로 판단될 때, 미리 설정된 펄스 길이에 따라 오른쪽 회전 방향 또는 왼쪽 회전 방향에 해당하는 디알(DR: Direction of rotation) 신호를 출력하는 단계를 포함하는 것을 특징으로 하는 레지스터를 이용한 스마트 휠 센서 신호 처리 방법.
The method according to claim 1,
The decoding of the output signal may include decoding the output signal when the air gap between the hall sensor and the tone wheel is determined to be normal output based on the first time value and the second time value read from the register And outputting a direction (DR) signal corresponding to a right rotation direction or a left rotation direction according to a set pulse length.
제1항에 있어서,
상기 출력 신호를 디코딩하는 단계는, 상기 레지스터에서 독출한 상기 제1 시간 값과 상기 제2 시간 값에 기초하여 톤 휠이 정지한 경우에 해당하는 정지(Stand-still) 신호를 출력하는 단계를 포함하는 것을 특징으로 하는 레지스터를 이용한 스마트 휠 센서 신호 처리 방법.
The method according to claim 1,
The step of decoding the output signal may include outputting a stand-still signal corresponding to the stop of the tone wheel based on the first time value and the second time value read from the register Wherein the smart wheel sensor signal processing method comprises the steps of:
제1항에 있어서,
상기 레지스터는 차량의 전자제어장치에 구비된 홀드 레지스터를 포함하는 것을 특징으로 하는 레지스터를 이용한 스마트 휠 센서의 신호 처리 방법.
The method according to claim 1,
Wherein the register includes a hold register provided in an electronic control unit of a vehicle.
KR1020120127901A 2012-11-13 2012-11-13 Method of smart wheel sensor signal processing using register KR101562427B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020120127901A KR101562427B1 (en) 2012-11-13 2012-11-13 Method of smart wheel sensor signal processing using register

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020120127901A KR101562427B1 (en) 2012-11-13 2012-11-13 Method of smart wheel sensor signal processing using register

Publications (2)

Publication Number Publication Date
KR20140060931A true KR20140060931A (en) 2014-05-21
KR101562427B1 KR101562427B1 (en) 2015-10-21

Family

ID=50890107

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120127901A KR101562427B1 (en) 2012-11-13 2012-11-13 Method of smart wheel sensor signal processing using register

Country Status (1)

Country Link
KR (1) KR101562427B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111191478A (en) * 2019-12-31 2020-05-22 深圳移航通信技术有限公司 Code reading method and device for ear tag

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111191478A (en) * 2019-12-31 2020-05-22 深圳移航通信技术有限公司 Code reading method and device for ear tag
US11797790B2 (en) 2019-12-31 2023-10-24 Queclink Wireless Solutions Co., Ltd. Method and apparatus for code reading of ear tag

Also Published As

Publication number Publication date
KR101562427B1 (en) 2015-10-21

Similar Documents

Publication Publication Date Title
EP3598179B1 (en) Seismic sensor and earthquake determination method
EP3647825A1 (en) Seismic sensor and earthquake determination method
KR101562427B1 (en) Method of smart wheel sensor signal processing using register
KR101431973B1 (en) Apparatus and method detecting ZCP(zero crossing point) of back EMF(electromotive force) in motor driving circuit
US5233292A (en) Speed detector device for elevator
CN105806198A (en) Asynchronous output protocol
WO2011114438A1 (en) Speed detection device
JP2011119801A5 (en)
JP2014211351A (en) Wheel speed detection apparatus
US10858021B2 (en) Method for determining the speed of a rail-bound vehicle
US7328122B2 (en) Speed sensor
US20130346022A1 (en) Physical quantity measuring apparatus and physical quantity measuring method
KR101056476B1 (en) Low speed mode control device of BCD motor and its control method
JP2006284439A (en) Weight measuring device
EP3703325A1 (en) Data acquisition method and data acquisition device
US10429216B2 (en) Control circuit and method for qualifying a fault for a synchronous machine
US10173718B2 (en) Motor position filter for estimation of velocity using moving linear regression
JP5006752B2 (en) Displacement detector
KR101451831B1 (en) Apparatus for controlling control rod of reactor and method thereof
JP3310716B2 (en) Encoder moving speed detector
JP5587695B2 (en) Encoder with noise state detection function
JP2009234421A (en) In-vehicle device and vehicle control device
JP5288478B2 (en) Vehicle speed pulse detector
KR20090043178A (en) The compensation unit of wheel speed
KR20080022371A (en) Vehicle speed calculation apparatus

Legal Events

Date Code Title Description
N231 Notification of change of applicant
A201 Request for examination
E701 Decision to grant or registration of patent right
FPAY Annual fee payment

Payment date: 20180920

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20190924

Year of fee payment: 5