KR20050031324A - A encoder signal input method - Google Patents

A encoder signal input method Download PDF

Info

Publication number
KR20050031324A
KR20050031324A KR1020030067584A KR20030067584A KR20050031324A KR 20050031324 A KR20050031324 A KR 20050031324A KR 1020030067584 A KR1020030067584 A KR 1020030067584A KR 20030067584 A KR20030067584 A KR 20030067584A KR 20050031324 A KR20050031324 A KR 20050031324A
Authority
KR
South Korea
Prior art keywords
encoder
input
signal
encoder signal
microcontroller
Prior art date
Application number
KR1020030067584A
Other languages
Korean (ko)
Other versions
KR100966649B1 (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 KR1020030067584A priority Critical patent/KR100966649B1/en
Priority to US10/946,312 priority patent/US6967595B2/en
Priority to JP2004280154A priority patent/JP4979884B2/en
Publication of KR20050031324A publication Critical patent/KR20050031324A/en
Application granted granted Critical
Publication of KR100966649B1 publication Critical patent/KR100966649B1/en
Priority to JP2011243823A priority patent/JP2012027955A/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/22Analogue/digital converters pattern-reading type
    • H03M1/24Analogue/digital converters pattern-reading type using relatively movable reader and disc or strip
    • H03M1/28Analogue/digital converters pattern-reading type using relatively movable reader and disc or strip with non-weighted coding
    • H03M1/30Analogue/digital converters pattern-reading type using relatively movable reader and disc or strip with non-weighted coding incremental
    • H03M1/303Circuits or methods for processing the quadrature signals

Abstract

A method for inputting an encoder signal is provided to select the encoder signal using an input period and frequency of the encoder signal. If a user rotates an encoder, a micro controller determines an input period of a transmitted signal according to the rotation(200). If the input period is over 100ms, the micro controller controls to select a desired item according to the encoder signal(220). The micro controller counts the encoder signal from an initial state(230) and initializes the input period(260). If the input period is less than 100ms, the micro controller counts input frequency of the encoder signal which is inputted to the micro controller(230). If the counted encoder input frequency reaches to a predetermined frequency(240), the micro controller receives the encoder signal, controls to select corresponding item according to a series of inputs, and initializes the counted input frequency of the encoder signal(250).

Description

엔코더신호 입력방법{A encoder signal input method}Encoder signal input method {A encoder signal input method}

본 발명은 엔코더신호 입력방법에 관한 것으로, 더욱 상세하게는 엔코더 신호의 입력주기 및 횟수를 사용하여 엔코더 입력에 따른 감도를 조절하는 엔코더신호 입력방법에 관한 것이다.The present invention relates to an encoder signal input method, and more particularly to an encoder signal input method for adjusting the sensitivity according to the encoder input using the input cycle and the number of times of the encoder signal.

이하 종래 기술에 따른 엔코더신호 입력방법에 대해 살펴보면 다음과 같다. Hereinafter, an encoder signal input method according to the prior art will be described.

도 1은 종래 기술에 따른 엔코어신호 입력을 위한 회로도이다.1 is a circuit diagram for an encore signal input according to the prior art.

우선 회로의 연결관계에 대해 살펴보면, 두 개의 접점(A, B)을 가지는 엔코더(20)가 구성되고, 상기 엔코더(20)의 각각의 접점 A,B는 마이크로컨트롤러(10)에 연결된다. 그리고 상기 엔코더(20)의 접점 A와 마이크로컨트롤러(10) 사이에 제 1 저항이 연결된다. 또한 상기 엔코더(20)의 접점 B와 마이크로컨트롤러(10) 사이에 제 2 저항이 연결된다.First, referring to the connection relationship of the circuit, an encoder 20 having two contacts A and B is configured, and each of the contacts A and B of the encoder 20 is connected to the microcontroller 10. A first resistor is connected between the contact point A of the encoder 20 and the microcontroller 10. In addition, a second resistor is connected between the contact B of the encoder 20 and the microcontroller 10.

사용자가 세팅된 항목을 선택하기 위해서 엔코더(20)를 조작한다. 이에 따라 엔코더(20)의 접점이 단락되면서 마이크로컨트롤러(10)에 해당 신호가 입력된다. 이에 따라 마이크로컨트롤러(10)는 사용자가 선택한 항목을 판단하고, 해당 항목에 대한 제어가 이루어지도록 한다. The user operates the encoder 20 to select the set item. Accordingly, while the contact point of the encoder 20 is short-circuited, the corresponding signal is input to the microcontroller 10. Accordingly, the microcontroller 10 determines the item selected by the user, and controls the item.

도 2는 종래 기술에 따른 엔코더이고, 도 3은 종래 기술에 따른 엔코더신호 입력방법에 따른 상태도이다.2 is an encoder according to the prior art, Figure 3 is a state diagram according to the encoder signal input method according to the prior art.

종래 기술의 실시예로, 김치냉장고의 디스플레이부 상에 도 2의 엔코더가 장착된다. 그리고 종래 기술은 김치냉장고에 구성된 엔코더의 회전에 따라, 세부항목(김치종류, 저장온도 등)이 선택될 수 있도록 세팅되어져 있다.In the embodiment of the prior art, the encoder of Figure 2 is mounted on the display of the kimchi refrigerator. In the prior art, according to the rotation of the encoder configured in the kimchi refrigerator, detailed items (kimchi type, storage temperature, etc.) are set to be selected.

따라서 사용자가 세팅된 항목을 선택하기 위해서 엔코더(20)를 조작한다. 이를 위해서 도 2에 도시되고 있는 바와 같이 엔코더(20)가 구성되어져 있고, 상기 엔코더(20)를 회전시킴으로서, 엔코더(20)의 위치에 해당되는 항목들이 선택되어진다.Therefore, the user manipulates the encoder 20 to select the set item. To this end, as shown in FIG. 2, the encoder 20 is configured, and by rotating the encoder 20, items corresponding to the position of the encoder 20 are selected.

즉, 상기 엔코더(20)를 시계방향 및 반시계방향으로 회전시킴으로서, 각기 다른 항목이 선택되어지는 것이 가능해진다. 엔코더(20)의 회전시 엔코더(20)의 접점 A,B 두 단자에서 각각 우측으로 (11,01,00,10), 좌측으로 (11,10,00,01)의 신호가 각각 발생한다. 그리고 이와 같은 신호는 마이크로컨트롤러(10)에 전달됨으로서, 상기 마이크로컨트롤러(10)가 전달된 신호를 감지하여 엔코더(20)의 회전을 인식하고, 엔코더(20)의 회전에 해당되는 제어신호를 인지하여, 동작을 제어한다.That is, by rotating the encoder 20 clockwise and counterclockwise, different items can be selected. When the encoder 20 rotates, signals (11,01,00,10) to the right and (11,10,00,01) to the left are generated at the two terminals A and B of the encoder 20, respectively. And such a signal is transmitted to the microcontroller 10, the microcontroller 10 detects the transmitted signal to recognize the rotation of the encoder 20, and recognizes a control signal corresponding to the rotation of the encoder 20 To control the operation.

즉, 엔코더(20)가 시계방향으로 회전하는 경우, 엔코더(20)에 구성되는 A접점의 단락 상태가 도 3에 도시되고 있는 바와 같이 온/오프 출력된다. 이와 같은 엔코더(20)의 A접점 단락상태(온/오프)는 마이크로컨트롤러(10)에 전달되고, 상기 마이크로컨트롤러(10)는 엔코더(20)의 상태를 파악한다. That is, when the encoder 20 rotates clockwise, the short-circuit state of the A contact configured in the encoder 20 is output on / off as shown in FIG. The A contact short circuit state (on / off) of the encoder 20 is transmitted to the microcontroller 10, and the microcontroller 10 determines the state of the encoder 20.

또한 엔코더(20)가 시계방향으로 회전하는 경우, 엔코더(20)에 구성되는 B접점의 단락상태가 도 3에 도시되고 있는 바와 같이 온/오프 출력된다. 이와 같은 엔코더(20)의 B점점 단락상태(온/오프)는 마이크로컨트롤러(10)에 전달되고, 상기 마이크로컨트롤러(10)는 엔코더(20)의 상태를 파악한다. 이때, 엔코더(20)의 A접점과 B접점이 오프일 때 '1'(하이신호)이 입력되고, 엔코더(20)의 A접점과 B접점이 온 일때 '0'(로우신호)가 입력된다.In addition, when the encoder 20 rotates clockwise, the short-circuit state of the B contact configured in the encoder 20 is output on / off as shown in FIG. The B point short-circuit state (on / off) of the encoder 20 is transmitted to the microcontroller 10, and the microcontroller 10 grasps the state of the encoder 20. At this time, '1' (high signal) is input when contact A and B of encoder 20 are off, and '0' (low signal) is input when contact A and B of encoder 20 are on. .

즉, 엔코더(20)의 A접점이 오프상태이고 B접점이 오프상태인 경우(11), A접점이 온 상태이고 B접점이 오프 상태인 경우(01), A접점이 온 상태이고 B접점이 온 상태인 경우(00), A접점이 오프 상태이고 B접점이 온 상태인 경우(10)로 구분된다.That is, when contact A of the encoder 20 is in an off state and contact B is in an off state (11), when contact A is in an ON state and contact B is in an OFF state (01), contact A is in an ON state and contact B is in an OFF state. In case of the on state (00), the contact A is in the off state and the contact B is in the on state (10).

한편, 엔코더(20)가 반시계방향으로 회전하는 경우, 엔코더(20)에 구성되는 A접점의 단락 상태가 도 3에 도시되고 있는 바와 같이 온/오프 출력된다. 이와 같은 엔코더(20)의 A접점 단락상태(온/오프)는 마이크로컨트롤러(10)에 전달되고, 상기 마이크로컨트롤러(10)는 엔코더(20)의 상태를 파악한다. On the other hand, when the encoder 20 rotates in the counterclockwise direction, the short-circuit state of the A contact configured in the encoder 20 is output on / off as shown in FIG. The A contact short circuit state (on / off) of the encoder 20 is transmitted to the microcontroller 10, and the microcontroller 10 determines the state of the encoder 20.

또한 엔코더(20)가 반시계방향으로 회전하는 경우, 엔코더(20)에 구성되는 B접점의 단락 상태가 도 3에 도시되고 있는 바와 같이 온/오프 출력된다. 이와 같은 엔코더(20)의 B접점 단락상태(온/오프)는 마이크로컨트롤러(10)에 전달되고, 상기 마이크로컨트롤러(10)는 엔코더(20)의 상태를 파악한다. 이때, 엔코더(20)의 A접점과 B접점이 오프일 때 '1'(하이신호)이 입력되고, 엔코더(20)의 A 접점과 B접점이 온 일 때 '0'(로우신호)가 입력된다.In addition, when the encoder 20 rotates counterclockwise, the short-circuit state of the B contact configured in the encoder 20 is output on / off as shown in FIG. The B contact short-circuit state (on / off) of the encoder 20 is transmitted to the microcontroller 10, and the microcontroller 10 grasps the state of the encoder 20. At this time, '1' (high signal) is input when contact A and contact B of encoder 20 are off, and '0' (low signal) is input when contact A and contact B of encoder 20 are on. do.

즉, 엔코더(20)의 A접점이 오프상태이고 B접점이 오프상태인 경우(11), A접점이 오프 상태이고 B접점이 온 상태인 경우(10), A접점이 온 상태이고 B접점이 온 상태인 경우(00), A접점이 온 상태이고 B접점이 오프 상태인 경우(01)로 구분된다.That is, when contact A of the encoder 20 is in an off state and contact B is in an off state (11), when contact A is in an off state and contact B is in an on state (10), contact A is in an on state and contact B is in an on state. In case of the on state (00), the contact A is in the on state and the contact B is in the off state (01).

상기와 같이 구분되는 제어신호는 마이크로컨트롤러(10)에 전달되고, 마이크로컨트롤러(10)는 전달된 신호에 따른 해당 항목을 인지하고, 해당 항목에 대한 제어를 수행한다.The control signals classified as described above are transmitted to the microcontroller 10, and the microcontroller 10 recognizes a corresponding item according to the transmitted signal and performs control on the corresponding item.

이와 같이 종래에는 사용자가 수동조작으로 엔코더를 회전시킴으로서, 엔코더의 회전 감도를 정확하게 조절하는데 있어서 한계가 있었다. 즉, 상기 엔코더로 원하는 항목을 선택하고자 하는 경우, 세밀하게 다이얼을 돌려야 하므로 조작의 어려움이 있었다. As such, in the related art, the user rotates the encoder by manual operation, and thus there is a limit in accurately adjusting the rotational sensitivity of the encoder. That is, when the desired item is to be selected by the encoder, there is a difficulty in operating the dial because it is required to turn the dial in detail.

따라서 본 발명의 목적은 엔코더 신호의 입력주기 및 횟수를 이용하여 엔코더의 신호를 선택하는 엔코더신호 입력방법을 제공함에 있다. Accordingly, an object of the present invention is to provide an encoder signal input method for selecting an encoder signal by using an input period and a frequency of an encoder signal.

상기 목적을 달성하기 위한 본 발명에 따른 엔코더신호 입력방법은, 엔코더 조작에 의한 신호가 마이크로컨트롤러에 입력되는 신호입력주기를 판단하는 신호주기판단단계와; 엔코더 신호가 소정주기 이내에 마이크로컨트롤러에 입력되면, 입력된 신호에 따라 해당 항목이 선택되도록 제어하는 제 1 제어단계와; 엔코더 신호가 소정주기 이상에서 마이크로컨트롤러에 입력되면, 신호입력주기동안 엔코더 신호의 입력회수를 카운트하는 신호카운트단계와; 상기 신호카운트단계에서 카운팅된 입력횟수가 기설정된 횟수에 도달되면, 해당 항목이 선택되도록 제어하는 제 2 제어단계를 포함하여 구성된다.According to an aspect of the present invention, there is provided an encoder signal input method comprising: a signal period determining step of determining a signal input period in which a signal by an encoder operation is input to a microcontroller; A first control step of controlling an item to be selected according to the input signal when the encoder signal is input to the microcontroller within a predetermined period; A signal counting step of counting an input frequency of the encoder signal during the signal input period when the encoder signal is input to the microcontroller in a predetermined period or more; And a second control step of controlling the corresponding item to be selected when the input count counted in the signal count step reaches a preset number.

그리고 본 발명에 따른 엔코더신호 입력방법은, 제 1 또는 제 2 제어단계 수행 후, 엔코더 신호의 입력 횟수 및 입력주기를 초기화하는 것을 특징으로 한다.The encoder signal input method according to the present invention is characterized in that after performing the first or second control step, the number of inputs and the input period of the encoder signal are initialized.

이하 본 발명에 따른 엔코더신호 입력방법에 대해 도 1을 참조하여 살펴보면 다음과 같다.Hereinafter, an encoder signal input method according to the present invention will be described with reference to FIG. 1.

도 4는 본 발명에 따른 엔코더신호 입력의 감도를 조절하기 위한 동작제어흐름도이다.4 is an operation control flowchart for adjusting the sensitivity of the encoder signal input according to the present invention.

김치냉장고에 엔코더(20)를 장착한 경우의 실시예를 살펴보면, 엔코더(20)의 회전에 따라 세부항목(김치종류, 김치온도 등)이 선택될 수 있도록 세팅되어져 있다. 이에 따라 엔코더(20)를 회전시키면, 엔코더(20)의 회전에 따른 신호가 마이크로컨트롤러(10)에 전달되고, 상기 마이크로컨트롤러(10)는 엔코더(20)의 회전에 따라 선택된 세부항목을 인식하여, 김치냉장고의 운전조건을 판단하게 된다. 그리고 마이크로컨트롤러(10)는, 판단된 조건(김치종류 및 온도 등)에 따라 김치냉장고의 운전을 제어한다.Looking at the embodiment when the encoder 20 is mounted on the kimchi refrigerator, the details (kimchi type, kimchi temperature, etc.) are set to be selected according to the rotation of the encoder 20. Accordingly, when the encoder 20 is rotated, a signal according to the rotation of the encoder 20 is transmitted to the microcontroller 10, and the microcontroller 10 recognizes the detail selected according to the rotation of the encoder 20. In addition, the operating conditions of the kimchi refrigerator will be determined. Then, the microcontroller 10 controls the operation of the kimchi refrigerator according to the determined conditions (kinds of kimchi and temperature, etc.).

따라서 김치냉장고의 운전을 위한 세부항목을 선택하기 위해서, 사용자가 상기 엔코더(20)를 회전시키면(제 200 단계), 엔코더(20) 회전에 따라 마이크로컨트롤러(10)에 전달되는 신호의 입력주기를 판단한다(제 200 단계).Therefore, in order to select detailed items for the operation of the Kimchi refrigerator, when the user rotates the encoder 20 (step 200), the input period of the signal transmitted to the microcontroller 10 according to the encoder 20 rotation (Step 200).

즉, 마이크로컨트롤러(10)에 입력되는 신호의 입력간격이 100ms 이상이면, 불연속 입력이라고 판단한다. 즉, 엔코더(20)를 회전시킴에 따라 표시되는 해당 항목을 사용자가 충분히 확인할 수 있을 정도의 엔코더 감도라고 판단한다.That is, if the input interval of the signal input to the microcontroller 10 is 100ms or more, it is determined as a discontinuous input. That is, as the encoder 20 is rotated, it is determined that the sensitivity of the encoder is such that the user can sufficiently check the corresponding item displayed.

이와 같이 불연속 입력에서는, 엔코더 신호의 입력이 바로 마이크로컨트롤러(10)에 전달된다. 그리고 상기 마이크로컨트롤러(10)는 초기 상태에서 다음 선택으로 이동하여(제 220 단계), 엔코더 신호에 따른 해당 항목이 선택되도록 제어한다. As such, in the discontinuous input, the input of the encoder signal is directly transmitted to the microcontroller 10. Then, the microcontroller 10 moves to the next selection in the initial state (step 220), and controls to select the corresponding item according to the encoder signal.

이와 같이 초기 상태에서 다음 상태의 엔코더 신호로 카운트한 후(제 230 단계), 엔코더 입력주기를 초기화시킨다(제 260 단계).In this manner, after counting the encoder signal in the next state from the initial state (step 230), the encoder input period is initialized (step 260).

그러나 상기 제 200 단계에서, 마이크로컨트롤러(10)에 입력되는 신호의 입력주기가 100ms이하이면, 연속 입력이라고 판단한다. 즉, 사용자가 엔코더(20)를 회전시킴에 따라 표시되는 해당 항목을 충분히 확인할 수 없는 엔코더 감도라고 판단한다.However, in step 200, if the input period of the signal input to the microcontroller 10 is less than 100ms, it is determined that the continuous input. That is, as the user rotates the encoder 20, it is determined that the sensitivity of the encoder cannot sufficiently check the corresponding item displayed.

상기 엔코더(20)는 상당히 민감하게 반응하므로, 사용자가 엔코더(20)의 조작을 주의깊게 하지 않게 되면, 엔코더(20)의 회전이 매우 빨리 이루어지고 동시에 엔코더의 신호에 해당하는 항목이 매우 빨리 진행된다. 이에 따라 사용자가 엔코더(20)의 조작에 따른 해당 항목의 확인이 어렵게 될 수 있다.Since the encoder 20 reacts very sensitively, if the user does not take care of the operation of the encoder 20, the rotation of the encoder 20 is made very fast and at the same time an item corresponding to the signal of the encoder proceeds very quickly. do. Accordingly, it may be difficult for a user to check the corresponding item according to the operation of the encoder 20.

따라서 제 200 단계에서 엔코더(20)의 신호입력주기가 연속 입력이라고 판단되면, 마이크로컨트롤러(10)에 입력되는 엔코더 신호의 입력횟수를 카운트한다(제 230 단계).Therefore, when it is determined in step 200 that the signal input period of the encoder 20 is continuous input, the number of times of input of the encoder signal input to the microcontroller 10 is counted (step 230).

그리고 상기 제 230 단계에서 카운트된 엔코더 입력횟수가 기설정된 횟수에 도달하면(제 240 단계), 마이크로컨트롤러(10)는 엔코더 신호를 입력받는다. 그리고 마이크로컨트롤러(10)는 연속입력에 의한 엔코더 신호의 해당 항목이 선택되도록 제어한다. 그 결과 엔코더 신호의 입력횟수가 연속 입력되었어도, 초기 상태에서 바로 다음 선택으로 감지된다.When the number of encoder inputs counted in step 230 reaches a preset number (step 240), the microcontroller 10 receives an encoder signal. The microcontroller 10 controls the corresponding item of the encoder signal by the continuous input to be selected. As a result, even if the input frequency of the encoder signal is continuously input, it is detected as the next selection in the initial state.

이와 같이 엔코더 신호의 입력에 따른 해당 항목이 선택되면, 제 230 단계 및 제 240 단계에서 카운트된 엔코더신호의 입력횟수를 초기화한다(제 250 단게). 그리고 엔코더 입력주기를 초기화시킨다(제 260 단계).When the corresponding item according to the input of the encoder signal is selected as described above, the input frequency of the encoder signal counted in steps 230 and 240 is initialized (step 250). In operation 260, the encoder input period is initialized.

이상 살펴본 바와 같이 본 발명은, 엔코더 입력주기를 체크하여 연속/불연속 입력을 구분하고, 엔코더 입력횟수를 카운트하여, 입력되는 엔코더의 감도를 조절하는 것을 기본적인 기술적 사상으로 한다.As described above, in the present invention, it is a basic technical idea to check an encoder input period to distinguish continuous / discontinuous inputs, count the number of encoder inputs, and adjust the sensitivity of an input encoder.

본 발명의 권리는 위에서 설명된 김치냉장고에 적용되는 실시예에 한정되지 않고 청구범위에 기재된 바에 의해 정의되며, 본 발명의 분야에서 통상의 지식을 가진 자가 청구범위에 기재된 권리범위 내에서 다양한 변형과 개작을 할 수 있다는 것은 자명하다.The rights of the present invention are not limited to the embodiments applied to the kimchi refrigerator described above, but are defined by what is stated in the claims, and those skilled in the art have various modifications within the scope of the claims. It's obvious that you can adapt.

따라서 본 발명에 따른 엔코더신호 입력방법으로 인해서 다음과 같은 효과를 기대할 수 있다. 본 발명은 타이머를 이용하여 연속/불연속 입력을 구분하여 자유로이 입력하는 것이 가능하다. 또한 본 발명은 카운터를 사용하여 엔코더 입력 회수를 카운트함으로서, 엔코더의 입력감도를 정확하게 파악할 수 있다. 그 결과 본 발명으로 인해서 엔코더 입력에 따른 감도를 정확하게 조절하는 것이 가능하고, 선택하고자 하는 항목을 정확하게 선택할 수 있다. Therefore, the following effects can be expected due to the encoder signal input method according to the present invention. The present invention can be freely input by separating the continuous / discontinuous input using a timer. In addition, the present invention can accurately determine the input sensitivity of the encoder by counting the number of encoder inputs using a counter. As a result, according to the present invention, it is possible to accurately adjust the sensitivity according to the encoder input and to accurately select the item to be selected.

도 1은 종래 기술에 따른 엔코어신호 입력을 위한 회로도.1 is a circuit diagram for an encore signal input according to the prior art.

도 2는 종래 기술에 따른 엔코더.2 is an encoder according to the prior art.

도 3은 종래 기술에 따른 엔코더신호 입력방법에 따른 상태도.Figure 3 is a state diagram according to the encoder signal input method according to the prior art.

도 4는 본 발명에 따른 엔코더신호 입력의 감도를 조절하기 위한 동작제어흐름도.4 is an operation control flow chart for adjusting the sensitivity of the encoder signal input according to the present invention.

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

10 : 마이크로컨트롤러 20 : 엔코더10 microcontroller 20 encoder

R1,R2 : 저항 R1, R2: resistance

Claims (2)

엔코더 조작에 의한 신호가 마이크로컨트롤러에 입력되는 신호입력주기를 판단하는 신호주기판단단계와;A signal period determining step of determining a signal input period in which a signal by an encoder operation is input to the microcontroller; 엔코더 신호가 소정주기 이내에 마이크로컨트롤러에 입력되면, 입력된 신호에 따라 해당 항목이 선택되도록 제어하는 제 1 제어단계와;A first control step of controlling an item to be selected according to the input signal when the encoder signal is input to the microcontroller within a predetermined period; 엔코더 신호가 소정주기 이상에서 마이크로컨트롤러에 입력되면, 신호입력주기동안 엔코더 신호의 입력회수를 카운트하는 신호카운트단계와;A signal counting step of counting an input frequency of the encoder signal during the signal input period when the encoder signal is input to the microcontroller in a predetermined period or more; 상기 신호카운트단계에서 카운팅된 입력횟수가 기설정된 횟수에 도달되면, 해당 항목이 선택되도록 제어하는 제 2 제어단계를 포함하여 구성되는 엔코더신호 입력방법.And a second control step of controlling a corresponding item to be selected when the input count counted in the signal count step reaches a preset number. 제 1 항에 있어서,The method of claim 1, 제 1 또는 제 2 제어단계 수행 후, 엔코더 신호의 입력 횟수 및 입력주기를 초기화하는 것을 특징으로 하는 엔코더신호 입력방법. Encoder signal input method, characterized in that after performing the first or second control step, the input frequency and the input period of the encoder signal is initialized.
KR1020030067584A 2003-09-26 2003-09-29 A encoder signal input method KR100966649B1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1020030067584A KR100966649B1 (en) 2003-09-29 2003-09-29 A encoder signal input method
US10/946,312 US6967595B2 (en) 2003-09-26 2004-09-22 Input method of encoder signals
JP2004280154A JP4979884B2 (en) 2003-09-26 2004-09-27 Encoder signal input method
JP2011243823A JP2012027955A (en) 2003-09-26 2011-11-07 Input method of encoder signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030067584A KR100966649B1 (en) 2003-09-29 2003-09-29 A encoder signal input method

Publications (2)

Publication Number Publication Date
KR20050031324A true KR20050031324A (en) 2005-04-06
KR100966649B1 KR100966649B1 (en) 2010-06-29

Family

ID=37236288

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030067584A KR100966649B1 (en) 2003-09-26 2003-09-29 A encoder signal input method

Country Status (1)

Country Link
KR (1) KR100966649B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102059857B1 (en) 2018-10-29 2019-12-27 린나이코리아 주식회사 Operation of the encoder switch status determination and the control method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR930004411B1 (en) * 1990-08-16 1993-05-27 삼성전자 주식회사 Time adjustable method using encoder switch
KR20000038566A (en) * 1998-12-08 2000-07-05 전주범 Method for setting cooking time of microwave oven

Also Published As

Publication number Publication date
KR100966649B1 (en) 2010-06-29

Similar Documents

Publication Publication Date Title
JP4995347B2 (en) Dial setting type temperature controller for easy temperature range change
US7830160B2 (en) Capacitive position sensor
CN107589933B (en) Knob type digital coding switch device and working state identification method thereof
US5145252A (en) Kneading wing sensing apparatus of microwave oven for baking a bread
TWI552034B (en) Amending circuit capable of switching mouse into different detecting modes
CN109388080B (en) Control method and device of encoder switch and electrical equipment
CN107071952B (en) Microwave oven and control method and control device thereof
KR100966649B1 (en) A encoder signal input method
JP4648812B2 (en) Photoelectric sensor
EP2955734B1 (en) Switch
JP4979884B2 (en) Encoder signal input method
AU2019373598B2 (en) Cleaning device and control method therefor
KR102059857B1 (en) Operation of the encoder switch status determination and the control method
US9112469B2 (en) Volume control device and method thereof
CN113848466A (en) Detection circuit and detection method for realizing rapid response of knob
CN112180770A (en) Control method, household appliance and computer readable storage medium
JPH071860Y2 (en) Signal level adjuster
US6606353B1 (en) Multi-position switch for single digital I/O pin
JP2013037782A (en) Rotary switch with rotation direction determination mechanism
JP2006310080A (en) Detection sensor
KR100522766B1 (en) Method for controlling encoder switch
JP2006101319A (en) Detection sensor and sensitivity adjustment method for detection sensor
KR930004411B1 (en) Time adjustable method using encoder switch
JPH0613520Y2 (en) Weather trend device
KR20050030810A (en) A encoder sensing method

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

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20140523

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20150522

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20160524

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee