CN113282194A - Low-power-consumption touch detection awakening method and device - Google Patents

Low-power-consumption touch detection awakening method and device Download PDF

Info

Publication number
CN113282194A
CN113282194A CN202110597388.8A CN202110597388A CN113282194A CN 113282194 A CN113282194 A CN 113282194A CN 202110597388 A CN202110597388 A CN 202110597388A CN 113282194 A CN113282194 A CN 113282194A
Authority
CN
China
Prior art keywords
touch
control unit
power consumption
keys
low
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202110597388.8A
Other languages
Chinese (zh)
Inventor
陈家伟
潘安
杨勇
王继通
陈晓
柳泽宇
周彦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Micro Semiconductor Shenzhen Co ltd
Original Assignee
China Micro Semiconductor Shenzhen Co ltd
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 China Micro Semiconductor Shenzhen Co ltd filed Critical China Micro Semiconductor Shenzhen Co ltd
Priority to CN202110597388.8A priority Critical patent/CN113282194A/en
Publication of CN113282194A publication Critical patent/CN113282194A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/04166Details of scanning methods, e.g. sampling time, grouping of sub areas or time sharing with display driving
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Electronic Switches (AREA)
  • Position Input By Displaying (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a low-power consumption touch detection awakening method, which comprises a control unit and N touch keys, wherein the control unit is respectively and correspondingly connected with the N touch keys through N touch channels in a normal mode, and the method comprises the following steps: a channel switching step: when the control unit enters a low power consumption mode, the N touch keys are respectively connected with one of M touch channels selected from the N touch channels; a scanning step: when the control unit is in a low power consumption mode, touch detection is carried out through M touch channels in turn at intervals of preset scanning time; entering a threshold value judging step when touch detection acquires a touch key signal; a threshold value judging step: if the touch key signal reaches the key threshold, entering a normal mode; otherwise, returning to the scanning step. The invention also discloses a low-power-consumption touch detection device. The invention can effectively reduce power consumption and shorten the detection time of touch detection.

Description

Low-power-consumption touch detection awakening method and device
Technical Field
The invention belongs to the technical field of touch control, and particularly relates to a low-power-consumption touch detection awakening method and device.
Background
Capacitive touch technology has been widely used in the industries of home appliances, consumer electronics, and the like. The technology is applied to touch key detection, and can be applied to scenes such as control panels, man-machine interaction, water level detection and the like. The technical point of attention of people is to reduce the standby power consumption of products while improving the quality of the products. Particularly, on some products using lithium batteries and dry batteries, in order to prolong the service life of replacing/charging batteries once and improve the user experience, microampere-level standby current is usually pursued, and most touch modules on the market usually reach milliampere level when detecting touch keys. In the prior art, all keys need to be scanned and traversed when the touch keys are detected in a low power consumption mode, so that the detection time is long, the power consumption is high, and the application of the touch technology to a battery product is limited to a certain extent.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides the low-power-consumption touch detection awakening method and device with lower power consumption and shorter scanning time.
The low-power-consumption touch detection awakening method comprises a control unit and N touch keys, wherein the control unit is respectively and correspondingly connected with the N touch keys through N touch channels in a normal mode, and the method comprises the following steps:
a channel switching step: when the control unit enters a low power consumption mode, the N touch keys are respectively connected with one of M touch channels selected from the N touch channels, wherein N is more than M and is more than or equal to 1, and N, M is a positive integer;
a scanning step: when the control unit is in a low power consumption mode, touch detection is carried out through the M touch channels in turn at intervals of preset scanning time;
entering a threshold value judging step when the touch detection acquires a touch key signal;
a threshold value judging step: if the touch key signal reaches a key threshold value, entering a normal mode; otherwise, returning to the scanning step.
Further, the method also comprises a reference value updating step: when the control unit is in a low power consumption mode, entering a normal mode at intervals of preset forced wake-up time, scanning a touch key and updating a touch reference value; and then enters a low power consumption mode.
The low-power-consumption touch detection device comprises a control unit and N touch keys respectively connected with the control unit; when the control unit is in a normal mode, each touch key is connected to the control unit through a touch channel corresponding to the touch key; and when the control unit is in a low power consumption mode, the N touch keys are connected to the control unit through M touch channels. N is more than M and is more than or equal to 1, and N, M is a positive integer.
Further, each of the M touch channels is connected with at least two touch keys in a low power consumption mode.
Furthermore, the touch key further comprises at least one channel switch, and the channel switch is used for connecting the touch key with one of the M touch channels.
Furthermore, the touch keys are divided into a plurality of groups according to function types or physical positions; and when the control unit is in a low power consumption mode, each group of touch keys is connected with the touch channel corresponding to one touch key in the group.
Compared with the prior art, the invention has the following beneficial effects:
1. aiming at the power consumption problem of a touch detection module based on a capacitive touch principle when a control unit enters a low power consumption mode, a touch channel of a touch key is switched when the control unit enters the low power consumption mode, and all keys are traversed through fewer scanning times, so that the detection duration of touch can be reduced in unit time and the overall power consumption of a single chip microcomputer is reduced;
2. according to the practical application condition, the touch module is controlled to be awakened forcibly at regular time, so that the influence of the change of the external environment when the touch module enters the low-power-consumption mode is effectively solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic diagram of connection between a control unit and a touch key in a normal mode in the low power consumption touch detection wakeup method and the low power consumption touch detection device according to the present invention;
FIG. 2 is a flowchart illustrating a low power consumption touch detection wake-up method according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a connection between a control unit and a touch key in a low power consumption mode in the low power consumption touch detection wake-up method and the low power consumption touch detection device according to the present invention;
FIG. 4 is a schematic flow chart illustrating a low power consumption touch detection wake-up method according to another embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a low power consumption touch sensing device having a channel switch according to the present invention;
wherein, 1, a control unit; 2. touching a key; 3. a touch channel; 4. a channel switching switch.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In a first aspect:
a low power consumption touch detection wake-up method, as shown in fig. 1, includes a control unit 1 and N touch keys 2, where in a normal mode, the control unit 1 is correspondingly connected to the N touch keys 2 through N touch channels 3, as shown in fig. 2, and specifically includes the following steps:
a channel switching step: when the control unit 1 enters a low power consumption mode, the N touch keys 2 are respectively connected with one of M touch channels 3 selected from the N touch channels 3, as shown in fig. 3, where N > M is greater than or equal to 1, and the N, M is a positive integer;
a scanning step: when the control unit 1 is in a low power consumption mode, touch detection is carried out through the M touch channels 3 in turn at intervals of preset scanning time;
entering a threshold value judging step when the touch detection acquires a touch key signal;
a threshold value judging step: if the touch key signal reaches a key threshold value, entering a normal mode; otherwise, returning to the scanning step.
The control unit can be an MCU (single chip microcomputer) or a touch control chip; the normal mode and the low power mode refer to different operating states of the control unit. The channel switching step may be implemented by providing a channel switching switch.
In the channel switching step, the N touch keys are respectively connected to one of M touch channels selected from the N touch channels, for example, as follows: if M is 2, A touch key of the touch keys may be connected to the first touch channel, and the remaining (N-A) touch keys may be connected to the second touch channel; if M is 3, B touch keys may be connected to the first touch channel, C touch keys may be connected to the second touch channel, the remaining (N-B-C) touch keys may be connected to the third touch channel, and so on. Wherein A, B, C is a positive integer. Fig. 3 shows a connection state between the control unit and the touch key when N is 8, M is 2, and a is 4.
In the scanning step, the M touch channels are used for touch detection in turn at intervals of preset scanning time, namely, after the preset scanning time, touch detection is carried out through the first touch channel, and if the normal mode is not entered, touch detection is carried out through the second touch channel after the preset scanning time, and so on.
In the threshold value judging step, entering the normal mode includes the control unit restoring the state of being respectively connected with the N touch keys through the N touch channels.
In the low-power-consumption touch detection awakening method in the embodiment, the touch channels of the touch keys are switched when the low-power-consumption mode is entered, a small number of channels are used for connecting the control unit, all keys are traversed by a small number of scanning times, and the detection duration of touch can be reduced in unit time so as to reduce the overall power consumption of the single chip microcomputer.
In one embodiment, the low power consumption touch detection wake-up method further includes:
a reference value updating step: when the control unit 1 is in the low power consumption mode, the control unit enters the normal mode and scans the touch key 2 every preset forced wake-up time, updates the touch reference value, and then enters the low power consumption mode.
Wherein the preset forced wake-up time and the preset scanning time are respectively and independently calculated. The reference value updating step may be performed prior to the scanning step, as shown in fig. 4. In a complete touch detection process, a touch reference value is established according to a detected touch value in an initialization stage, and whether a key is pressed or not is judged according to the touch reference value and a preset key threshold value. In an actual application scenario, since the external environment changes, such as temperature, humidity, circuit aging, and the like, and the stored touch reference value is representative only at a certain time, a step of forcibly waking up the single chip microcomputer is added in the embodiment, and the touch reference value is updated in real time, so that the change of the external environment can be better handled.
In a second aspect:
the low-power-consumption touch detection device comprises a control unit 1 and N touch keys 2 which are respectively connected with the control unit 1; when the control unit 1 is in a normal mode, each touch key 2 is separately connected to the control unit through a corresponding touch channel 3, as shown in fig. 1; when the control unit 1 is in the low power consumption mode, the N touch keys 2 are connected to the control unit 1 through M touch channels 3, as shown in fig. 3. N is more than M and is more than or equal to 1, and N, M is a positive integer.
The N touch keys are connected to the control unit through M touch channels, that is, a plurality of touch keys share the same touch channel. When the touch detection is performed in the low power consumption mode, the control unit only scans the M touch channels which are connected in a concentrated manner by the N touch keys.
In one embodiment, each of the M touch channels 3 is connected to at least two touch keys 2 in the low power mode.
The touch channels for scanning are connected with the plurality of touch keys in the low power consumption mode, so that the utilization rate of the touch channels is improved, and the touch detection efficiency can be further improved.
In one embodiment, as shown in fig. 5, the touch key device further includes at least one channel switch 4, where the channel switch 4 is used to connect the touch key 2 with one of the M touch channels 3.
The present embodiment is an optional implementation manner of "the N touch keys are connected to the control unit through M touch channels" in the low power consumption touch detection device. The specific implementation manner is not limited to the scheme of the embodiment as long as the corresponding effect can be achieved. The channel switch can adopt a single-pole double-throw switch, and can also be other switches capable of realizing channel switching. As for the number of the channel switches and the value of M, they can be selected according to the number of the touch keys, the manufacturing cost and the complexity of the structure, and fig. 3 and 5 show the case where M is 2.
In one embodiment, the touch keys 2 can be divided into a plurality of groups according to function types or physical positions; when the control unit 1 is in the low power consumption mode, each group of touch keys 2 selects one touch channel 3 corresponding to one touch key 2 in the group for connection.
The touch keys can be classified into various functional types, such as button type, ring type, slider type, and the like. The ring-shaped touch key and the slider-shaped touch key need to adopt a combination of a plurality of touch keys to realize the functions of the touch keys, so that the touch keys related to the functions are more suitable for being connected to the same touch channel in the group in a low power consumption mode, the touch detection of the group of touch keys related to the functions can be completed through one-time scanning, the subsequent related processing of the touch detection is convenient, and for example, different feedback information can be output according to the touch information of different functions. In addition, grouping can be selected nearby according to different physical positions of the touch keys, circuit design is facilitated, and cost is further reduced.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples are merely illustrative of several embodiments of the present invention, and the description thereof is more specific and detailed, but not to be construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present invention should be subject to the appended claims.

Claims (6)

1. The low-power-consumption touch detection awakening method comprises a control unit and N touch keys, wherein the control unit is respectively and correspondingly connected with the N touch keys through N touch channels in a normal mode, and the method is characterized by comprising the following steps:
a channel switching step: when the control unit enters a low power consumption mode, the N touch keys are respectively connected with one of M touch channels selected from the N touch channels, wherein N is more than M and is more than or equal to 1, and N, M is a positive integer;
a scanning step: when the control unit is in a low power consumption mode, touch detection is carried out through the M touch channels in turn at intervals of preset scanning time;
entering a threshold value judging step when the touch detection acquires a touch key signal;
a threshold value judging step: if the touch key signal reaches a key threshold value, entering a normal mode; otherwise, returning to the scanning step.
2. The low power consumption touch detection wake-up method according to claim 1, further comprising:
a reference value updating step: when the control unit is in a low power consumption mode, entering a normal mode at intervals of preset forced wake-up time, scanning a touch key and updating a touch reference value; and then enters a low power consumption mode.
3. The low-power-consumption touch detection device comprises a control unit and N touch keys respectively connected with the control unit; when the control unit is in a normal mode, each touch key is connected to the control unit through a corresponding touch channel; the method is characterized in that: when the control unit is in a low power consumption mode, the N touch keys are connected to the control unit through M touch channels; n is more than M and is more than or equal to 1, and N, M is a positive integer.
4. The low-power touch detection device of claim 3, wherein:
each of the M touch channels is connected with at least two touch keys in a low power consumption mode.
5. The low-power touch detection device of claim 3, wherein:
the touch key further comprises at least one channel switch, and the channel switch is used for connecting the touch key with one of the M touch channels.
6. The low-power touch detection device of claim 3, wherein:
the touch keys are divided into a plurality of groups according to function types or physical positions; and when the control unit is in a low power consumption mode, each group of touch keys is connected with a touch channel corresponding to one touch key in the group.
CN202110597388.8A 2021-05-31 2021-05-31 Low-power-consumption touch detection awakening method and device Pending CN113282194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110597388.8A CN113282194A (en) 2021-05-31 2021-05-31 Low-power-consumption touch detection awakening method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110597388.8A CN113282194A (en) 2021-05-31 2021-05-31 Low-power-consumption touch detection awakening method and device

Publications (1)

Publication Number Publication Date
CN113282194A true CN113282194A (en) 2021-08-20

Family

ID=77282595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110597388.8A Pending CN113282194A (en) 2021-05-31 2021-05-31 Low-power-consumption touch detection awakening method and device

Country Status (1)

Country Link
CN (1) CN113282194A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI796143B (en) * 2022-02-21 2023-03-11 神雲科技股份有限公司 Computer system and wake-up method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259044A (en) * 2018-02-26 2018-07-06 上海东软载波微电子有限公司 Touch key scanning method and device, computer readable storage medium
CN110264605A (en) * 2019-07-17 2019-09-20 广东科徕尼智能科技有限公司 A kind of low power-consumption intelligent door lock and Low-power-consumptiocontrol control method
CN110690905A (en) * 2018-07-04 2020-01-14 青岛海信智慧家居系统股份有限公司 Key scanning control method on touch panel and intelligent control equipment
CN110959256A (en) * 2019-10-31 2020-04-03 深圳市汇顶科技股份有限公司 Control method, MCU, touch control equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259044A (en) * 2018-02-26 2018-07-06 上海东软载波微电子有限公司 Touch key scanning method and device, computer readable storage medium
CN110690905A (en) * 2018-07-04 2020-01-14 青岛海信智慧家居系统股份有限公司 Key scanning control method on touch panel and intelligent control equipment
CN110264605A (en) * 2019-07-17 2019-09-20 广东科徕尼智能科技有限公司 A kind of low power-consumption intelligent door lock and Low-power-consumptiocontrol control method
CN110959256A (en) * 2019-10-31 2020-04-03 深圳市汇顶科技股份有限公司 Control method, MCU, touch control equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI796143B (en) * 2022-02-21 2023-03-11 神雲科技股份有限公司 Computer system and wake-up method

Similar Documents

Publication Publication Date Title
US9565293B2 (en) Method and device for operating mobile terminal based on sensor, and mobile terminal
CN110310391B (en) Touch wake-up method and device, electronic equipment and storage medium
CN101515202A (en) Touch-sensitive interface device and method
CN103501390A (en) Mobile terminal with reminding function and reminding realization method thereof
CN102495684A (en) Remote control device and control method for same
CN104090821A (en) Full-touch system activating method and system
CN102609072A (en) Method for responding to key trigger and portable device using the method
CN103116296A (en) Control system of energy saving socket, energy saving socket and control method
CN202372938U (en) Telequipment
CN105159566A (en) Terminal, method and device for processing key signals of terminal
CN104461327A (en) Information processing method and electronic device
CN105703021B (en) The battery management system and battery management system awakening method of low-power consumption standby
CN113282194A (en) Low-power-consumption touch detection awakening method and device
CN102004545A (en) Portable electronic device and input mode switching method thereof
CN211509272U (en) Charging box
CN110729788A (en) Power supply control method, system and equipment
CN204808301U (en) Terminal
CN105487631B (en) Information processing method and electronic equipment
CN116825013A (en) Control device, control method and related equipment of display screen
CN113757948A (en) Control processing method and device of remote controller, remote controller and electrical equipment
CN107436718A (en) Touch-control system and method
CN202931467U (en) Television remote controller and television set
CN107589844B (en) Switching method and device of single-hand mode
CN107436722A (en) Screen wakes up system and method
CN219802313U (en) Low-power consumption key scanning device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210820

RJ01 Rejection of invention patent application after publication