KR20120017678A - Recognizing method of button pressed using car - Google Patents

Recognizing method of button pressed using car Download PDF

Info

Publication number
KR20120017678A
KR20120017678A KR1020100080422A KR20100080422A KR20120017678A KR 20120017678 A KR20120017678 A KR 20120017678A KR 1020100080422 A KR1020100080422 A KR 1020100080422A KR 20100080422 A KR20100080422 A KR 20100080422A KR 20120017678 A KR20120017678 A KR 20120017678A
Authority
KR
South Korea
Prior art keywords
key
value
pressed
port
recognizing
Prior art date
Application number
KR1020100080422A
Other languages
Korean (ko)
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 KR1020100080422A priority Critical patent/KR20120017678A/en
Publication of KR20120017678A publication Critical patent/KR20120017678A/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01HELECTRIC SWITCHES; RELAYS; SELECTORS; EMERGENCY PROTECTIVE DEVICES
    • H01H13/00Switches having rectilinearly-movable operating part or parts adapted for pushing or pulling in one direction only, e.g. push-button switch
    • H01H13/02Details

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The present invention relates to a method for recognizing a pressed vehicle button, wherein the method for recognizing a pressed vehicle button according to the present invention corresponds to at least one key corresponding to a transistor connected to an AD port, and each key is pressed when each key is pressed. The transistor corresponding to is turned on and the AD value corresponding to each key is input to the AD port, and at least two keys are pressed to input the AD value to the AD port, and the unique AD value corresponding to each key is stored in the table. Retrieving a unique AD value that matches the input AD value, recognizing a key closest to the AD port based on the retrieved unique AD value, and turning off a transistor connected to the recognized key.

Description

Recognizing Method of Button Pressed Using Car}

The present invention relates to a method for recognizing a pressed vehicle button, and more particularly, to a method for recognizing a button pressed by a user among vehicle buttons.

In general, a matrix (Atrix) method or an analog-to-digital convert (ADC) method is used to configure and recognize a key (button).

The matrix scheme may be configured, as shown in FIG. 1, for the circuitry to process the keys. In the matrix method, (1) the microprocessor outputs a HIGH signal through GPIO OUT 1 and a LOW signal through GPIO OUT 2, 3 and 4. (2) The microprocessor determines which pin of GPIO IN 1, 2, 3 is input HIGH signal. (3) The microprocessor outputs a HIGH signal to GPIO OUT 2 and a LOW signal to GPIO OUT 1, 3, 4. (4) The microprocessor determines which pin of GPIO IN 1,2,3 is used to input the HIGH signal. (5) The microprocessor periodically applies steps (1) to (4) to GPIO OUT 1, 2, 3, and 4 to find out which key is pressed. Such a matrix method can recognize that two or more keys are simultaneously pressed. For example, even if the 1,2 and 3 keys are pressed at the same time, it can be recognized that the three keys are pressed at the same time. However, the matrix method should be determined by the combination of GPIO OUT and IN values that one key is pressed, so the process of (1) to (4) must be performed once or several times depending on the position of the pressed key. As a result, a difference in recognition speed may occur for each key.

In the ADC (Analog-Digital Convert) method, as shown in FIG. 2, a circuit may be configured. In general, when a key is pressed, a different digital value is read because of the sum of the series resistance for each key pressed, so that the microprocessor can recognize which key is pressed based on the read value. That is, in the ADC method, a pre-calculated AD value exists for each key by the voltage distribution circuit, and thus, the microprocessor may recognize the pressed key in the AD read operation. However, this ADC scheme can recognize only one key on one AD port. For example, even if each key of SW1, SW2, SW3 is pressed simultaneously, there is a problem of recognizing only SW1 key.

The present invention has been made in view of the above problems, and overcomes the difference in the additional processing and recognition speed of unnecessary software, and can recognize each key pressed through one AD port even if at least two keys are pressed at the same time. It is an object of the present invention to provide a method for recognizing a pressed vehicle button.

In order to achieve the above object, according to one aspect of the present invention, a method for recognizing a pressed vehicle button is connected to at least one key corresponding to a transistor at an AD port, and when each key is pressed, corresponding to each key. Turning on a transistor so that an AD value corresponding to each key is input to the AD port, and at least two keys are pressed to input an AD value to the AD port; Retrieving a unique AD value corresponding to the input AD value from a table in which a unique AD value corresponding to each key is stored; Recognizing a key closest to the AD port based on the retrieved unique AD value; And turning off the transistor connected to the recognized key.

According to the present invention, there is an effect that can reduce the difference in the speed recognized for each key.

In particular, there is an advantage in that at least two keys pressed through one AD port can be recognized.

3 is a flowchart illustrating a method of recognizing a pressed vehicle button according to an embodiment of the present invention.
4 and 5 are exemplary diagrams for explaining FIG. 3.

Advantages and features of the present invention and methods for achieving them will be apparent with reference to the embodiments described below in detail with the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as being limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. And is intended to enable a person skilled in the art to readily understand the scope of the invention, and the invention is defined by the claims. It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. In the present specification, the singular form includes plural forms unless otherwise specified in the specification. It is noted that " comprises, " or "comprising," as used herein, means the presence or absence of one or more other components, steps, operations, and / Do not exclude the addition.

Hereinafter, a method of recognizing a pressed vehicle button according to an embodiment of the present invention will be described with reference to FIGS. 3 to 5. 3 is a flowchart illustrating a method for recognizing a pressed vehicle button according to an embodiment of the present invention, and FIGS. 4 and 5 are exemplary views for explaining FIG. 3.

As shown in FIG. 3, the microprocessor scans an AD port (S300). For example, as illustrated in FIG. 4, the microprocessor includes at least one AD port AD1, AD2, ..., ADn, and at least one key is connected to each AD port in correspondence with a transistor. When each key (SW1, ..., SW12, R13, ..., R24, ...) is pressed, each key (SW1, ..., SW12, R13, ..., R24, ...) Transistors TR, ..., TR12, TR13, ..., TR24, ... are turned on and each key (SW1, ..., SW12, R13, ..., R24, ...). AD values corresponding to ..) are input to each AD port (AD1, AD2, ..., ADn). For example, when at least two keys are pressed, the input AD value is inputted as the AD value by the voltage distributed by the transistor corresponding to the key closest to the AD port of each resistor and the pressed key. That is, when the key SW1 and the key SW3 are pressed and the transistors TR1 and TR3 are turned on, the voltage VC is distributed by the resistor R1 and the transistor TR1 to the key SW1. Is applied (applied), distributed by the resistors R1 + R2 + R3 and the transistor TR3, and caught by the key SW3. At this time, a voltage applied to the key SW1, that is, a unique AD value corresponding to the key SW1 is input to the AD1 port.

It is checked whether an AD value is input to the scanned AD port (S310). For example, the microprocessor scans each AD port and checks whether an AD value is input to the scanned AD port.

When the AD value is input to the scanned AD port, an AD value matching the input AD value is searched for from the table in which the unique AD value corresponding to each key is stored based on the input AD value (S320). For example, the table stores a unique AD value corresponding to each key in correspondence with the index of each key. The index of each key is indexed in ascending or descending order in the order closest to the AD port. That is, when the unique AD value corresponding to the key SW1 is stored in the table, the unique AD value corresponding to the key SW1 is determined as (1,1) based on the first key closest to the AD1 port 1 and the AD1 port. Index, and when the unique AD value corresponding to the key SW13 is stored in the table, the unique AD value corresponding to the key SW13 is based on the fact that it is the first key closest to the 2 and AD2 ports of the AD2 port. Can be indexed as (2,1).

Based on the retrieved unique AD value, a key closest to the AD port is recognized (S330). That is, the key closest to the AD port is recognized based on the index corresponding to the unique AD value.

The transistor connected to the recognized key is turned off (S340). Each transistor is turned off when a specific signal is input to the base stage, thereby opening a circuit of a key corresponding to the transistor. When the transistor of the recognized key of each pressed key is turned off, the voltage distributed by each resistor and the transistor corresponding to the key closest to the AD port in the remaining keys other than the recognized key are input as the AD value. For example, when the transistor TR1 corresponding to the recognized key SW1 is turned off as shown in FIG. 5, the voltage VC is distributed by the resistors R1 + R2 + R3 and the transistor TR3. It is entered into the AD1 port. As described above, the input AD value is searched and recognized, and when a key is recognized, the transistor corresponding to the recognized key is turned off. When the transistors corresponding to the pressed key are all off, that is, recognition of the pressed key is completed, the AD value is no longer input through the scanned AD port.

Thus, in the present invention, since the matrix method is determined by the combination of GPIO OUT and IN values that one key is pressed, the determination process by the combination of GPIO OUT and IN values is determined once or several times depending on the position of the key being pressed. When unnecessary software processing is performed, a difference in recognition speed occurs for each key, and as described above, unlike the ADC method that recognizes only one key in one AD port, the difference in speed recognized for each key is reduced. In particular, it is possible to recognize at least two keys pressed through one AD port.

Meanwhile, the index of the recognized key may be stored, and when recognition of each pressed key is completed, that is, when no AD value is input to the scanned AD port any more, the stored index is transferred to the vehicle button processing unit for processing. do.

Although the configuration of the present invention has been described in detail with reference to the preferred embodiments and the accompanying drawings, this is only an example, and various modifications are possible within the scope without departing from the spirit of the present invention. Therefore, the scope of the present invention should not be limited by the illustrated embodiments, but should be determined by the scope of the appended claims and equivalents thereof.

Claims (6)

At least one key is connected to an AD port corresponding to a transistor, and when each key is pressed, a transistor corresponding to each key is turned on so that an AD value corresponding to each key is input to the AD port. In the recognition method,
Pressing at least two keys to input an AD value into the AD port;
Retrieving a unique AD value corresponding to the input AD value from a table in which a unique AD value corresponding to each key is stored;
Recognizing a key closest to the AD port from each of the pressed keys based on the retrieved unique AD value; And
Turning off the transistor connected to the recognized key
Recognition method of the pressed vehicle button comprising a.
The method of claim 1,
Each key is connected to correspond to a resistor,
The input AD value is a voltage divided by a transistor corresponding to a key closest to a distance of the AD port among each resistor and each pressed key is inputted as an AD value.
Method of recognizing in-press vehicle button.
The method of claim 2, wherein the inputting step comprises:
When the transistor of the recognized key of each of the pressed keys is turned off, the voltage corresponding to the transistor corresponding to the key closest to the AD port in the remaining keys other than the recognized key and the voltage distributed by each resistor are input as an AD value. Involving steps
Method of recognizing in-press vehicle button.
The method of claim 1,
The table stores a unique AD value corresponding to each key in correspondence with an index of each key,
The index of each key is indexed in ascending or descending order in the order nearest to the AD port,
The recognizing may be a step of recognizing a key closest to the AD port based on an index corresponding to the unique AD value.
Method of recognizing in-press vehicle button.
The method of claim 4, wherein
Storing an index of the recognized key; And
When the recognition of each pressed key is completed, transferring the stored index to the vehicle button processing unit
Recognizing method of the pressed vehicle button further comprising.
The method of claim 1,
Each transistor is turned off when a specific signal is input to the base end to open a circuit of a key corresponding to the transistor.
Method of recognizing in-press vehicle button.


KR1020100080422A 2010-08-19 2010-08-19 Recognizing method of button pressed using car KR20120017678A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100080422A KR20120017678A (en) 2010-08-19 2010-08-19 Recognizing method of button pressed using car

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100080422A KR20120017678A (en) 2010-08-19 2010-08-19 Recognizing method of button pressed using car

Publications (1)

Publication Number Publication Date
KR20120017678A true KR20120017678A (en) 2012-02-29

Family

ID=45839539

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100080422A KR20120017678A (en) 2010-08-19 2010-08-19 Recognizing method of button pressed using car

Country Status (1)

Country Link
KR (1) KR20120017678A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150018048A (en) * 2013-08-08 2015-02-23 현대모비스 주식회사 Hardware reset apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150018048A (en) * 2013-08-08 2015-02-23 현대모비스 주식회사 Hardware reset apparatus

Similar Documents

Publication Publication Date Title
US20070140530A1 (en) Method and apparatus for providing fingerprint authentication and actuation
US9349045B2 (en) Motor vehicle having an input device for handwriting recognition
KR101411569B1 (en) Device and method for information processing using virtual keyboard
US9280229B2 (en) Touch alphabet and communication system
US20110316725A1 (en) Scanning circuit and method for keyboard
KR20140129315A (en) Mobile terminal device, and control method and storage medium for mobile terminal device
US20170177848A1 (en) Electronic device having a touch screen and locking and unlocking methods thereof
KR20120017678A (en) Recognizing method of button pressed using car
US10564844B2 (en) Touch-control devices and methods for determining keys of a virtual keyboard
JP3225950B2 (en) Keyboard device
US9594951B2 (en) Motor vehicle having a handwriting recognition system
JP2009187365A (en) Portable equipment, user confirmation system, key input method and computer program
JP2009048418A (en) Personal digital assistant, personal digital assistant authentication method and personal digital assistant authentication program
US20040100362A1 (en) Method and apparatus for secure data entry using multiple function keys
KR102331982B1 (en) Apparatus and method for recognizing characters using selective deep learning
CN107480499B (en) Child lock control method and device in working of touch screen equipment and terminal
US8428314B2 (en) Fingerprint-initiated navigating method, method for linking a fingerprint and a navigation destination, and navigating device
KR20120009119A (en) Operating Button Using Car
KR20040084732A (en) remote controller
US20200393945A1 (en) Input method and input apparatus using detection of possession of finger
CN107407976A (en) The operation equipment of function is inputted and deleted with symbol
US20210073503A1 (en) Fingerprint authentication device
CN110658923A (en) Method and device for quickly inputting pinyin and Chinese characters
JP5894238B2 (en) Mobile phone
KR101362756B1 (en) Method for processing key input of touch pad in portable electronic apparatus

Legal Events

Date Code Title Description
WITN Withdrawal due to no request for examination