CN113472357A - Touch key scanning circuit, low-power-consumption mode exit method and device - Google Patents

Touch key scanning circuit, low-power-consumption mode exit method and device Download PDF

Info

Publication number
CN113472357A
CN113472357A CN202010246645.9A CN202010246645A CN113472357A CN 113472357 A CN113472357 A CN 113472357A CN 202010246645 A CN202010246645 A CN 202010246645A CN 113472357 A CN113472357 A CN 113472357A
Authority
CN
China
Prior art keywords
touch key
mode
trigger signal
low power
scanning
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
CN202010246645.9A
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.)
BYD Semiconductor Co Ltd
Original Assignee
BYD Semiconductor 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 BYD Semiconductor Co Ltd filed Critical BYD Semiconductor Co Ltd
Priority to CN202010246645.9A priority Critical patent/CN113472357A/en
Priority to PCT/CN2021/082980 priority patent/WO2021197199A1/en
Publication of CN113472357A publication Critical patent/CN113472357A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M11/00Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
    • H03M11/20Dynamic coding, i.e. by key scanning
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/96Touch switches
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/96Touch switches
    • H03K17/962Capacitive touch switches
    • H03K17/9622Capacitive touch switches using a plurality of detectors, e.g. keyboard
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K2217/00Indexing scheme related to electronic switching or gating, i.e. not by contact-making or -breaking covered by H03K17/00
    • H03K2217/0036Means reducing energy consumption

Abstract

The invention provides a touch key scanning circuit, a low-power-consumption mode exit method and a device, comprising a key scanning unit, a trigger unit and a plurality of touch keys, wherein the trigger unit comprises: the touch key comprises a master control switch, a plurality of first switches and second switches which correspond one to one, wherein the second switches correspond to the touch keys one to one; when the master control switch, the first switch and the second switch are all closed, the touch key scanning circuit works in a multi-channel scanning mode; in the low power consumption mode, the trigger signal of any touch key is detected based on the multi-channel scanning mode, and the low power consumption mode can be exited at the first time when the trigger signal of any touch key is detected; the speed of exiting the low power consumption mode is greatly improved, the average power consumption in the low power consumption mode is greatly reduced, and the awakening experience of the touch key in the low power consumption mode is improved.

Description

Touch key scanning circuit, low-power-consumption mode exit method and device
Technical Field
The invention relates to the technical field of touch control, in particular to a touch key scanning circuit, a low-power-consumption mode exit method and a low-power-consumption mode exit device.
Background
Portable electronic products play an extremely important role in our lives, and portable devices are generally powered by batteries, and products designed with low power consumption can work for a longer time under the same electric energy supply.
The touch key low-power-consumption product is provided with a plurality of touch keys, and under the current low-power-consumption power-saving mode of the touch key low-power-consumption product, the touch key low-power-consumption product conducts one-to-one polling scanning on all touch keys, so that when a certain touch key is triggered, the touch key low-power-consumption product cannot be detected in the first time, and even after the touch key low-power-consumption product is detected, the touch key low-power-consumption product cannot exit the low-power-consumption power-saving mode in the first time, but can exit the low-power-consumption power-saving mode only after all touch keys are detected by the wheel set, so that the exiting speed of the current touch key low-power-consumption product from the low-power-consumption power-saving mode is low, and the exiting process has large power consumption.
Disclosure of Invention
The invention provides a touch key scanning circuit, a low-power mode exit method and a low-power mode exit device, which are used for overcoming the technical problems.
In order to solve the above problems, based on an aspect of the present invention, the present invention discloses a touch key scanning circuit, which includes a key scanning unit, a trigger unit, and a plurality of touch keys; the trigger unit includes:
the touch key comprises a master control switch, a plurality of first switches and second switches which correspond one to one, wherein the second switches correspond to the touch keys one to one; one end of the master control switch is connected with the key scanning unit, and the other end of the master control switch is respectively connected with one ends of the first switches; the other end of the first switch is respectively connected with the key scanning unit and one end of the corresponding second switch; the other end of the second switch is connected with the corresponding touch key;
when the master control switch, the first switch and the second switch are all closed, the touch key scanning circuit works as a multi-channel scanning mode.
Optionally, when the master control switch and the first switch are both turned off and the second switch is both turned on, the touch key scanning circuit works in a single-channel scanning mode;
the touch key scanning circuit further comprises a control unit connected with the key scanning unit, and the control unit is used for controlling the key scanning unit so as to switch the multi-channel scanning mode and the single-channel scanning mode.
In order to solve the above problem, based on another aspect of the present invention, the present invention further discloses a low power consumption mode exit method, applied to the touch key scanning circuit, where the touch key scanning circuit has a multi-channel scanning mode, and the method includes:
detecting a trigger signal of any touch key based on the multi-channel scanning mode in a low power consumption mode;
and exiting the low power consumption mode when the trigger signal of any touch key is detected.
Optionally, in the low power consumption mode, detecting a trigger signal of an arbitrary touch key based on the multi-channel scanning mode includes:
in the low power consumption mode, waking up the touch key scanning circuit by adopting a timing interruption or external interruption mode;
and after waking up the touch key scanning circuit, detecting a trigger signal of any touch key based on the multi-channel scanning mode.
Optionally, when a trigger signal of any touch key is detected, exiting the low power consumption mode includes:
when a trigger signal of any touch key is detected, judging whether the trigger signal is greater than or equal to a preset induction threshold value;
when the trigger signal is greater than or equal to the induction threshold value, exiting the low power consumption mode;
the method further comprises the following steps:
and simultaneously exiting the multi-channel scanning mode when exiting the low power consumption mode.
Optionally, the method further includes:
acquiring application environment characteristics of the touch key scanning circuit;
determining the thickness of a first panel of the touch key according to the application environment characteristics;
and determining the induction threshold value according to the thickness of the first panel of the touch key.
Optionally, the method further includes:
acquiring the functional characteristics of a touch key of the touch key scanning circuit;
determining the thickness of a second panel of the touch key according to the functional characteristics;
and determining the induction threshold value according to the thickness of the second panel of the touch key.
Optionally, the method further includes:
configuring parameters of the multi-channel scanning mode, and entering the multi-channel scanning mode;
judging whether a trigger signal of any touch key is detected or not in the multi-channel scanning mode;
when the trigger signal is detected, judging whether the trigger signal meets the condition of entering a low power consumption mode;
entering a low power consumption mode when the trigger signal is not detected or the trigger signal satisfies a condition for entering the low power consumption mode.
In order to solve the above problem, according to yet another aspect of the present invention, the present invention discloses a low power consumption mode exit device, applied to the touch key scanning circuit, the touch key scanning circuit having a multi-channel scanning mode, the device including:
the trigger signal detection module is used for detecting a trigger signal of any touch key based on the multi-channel scanning mode in a low power consumption mode;
and the low-power-consumption mode exit module is used for exiting the low-power-consumption mode when a trigger signal of any touch key is detected.
Optionally, the trigger signal detecting module includes:
the scanning circuit awakening submodule is used for awakening the touch key scanning circuit in a timing interruption or external interruption mode in the low power consumption mode;
and the touch key scanning submodule is used for detecting a trigger signal of any touch key based on the multi-channel scanning mode after the touch key scanning circuit is awakened.
Optionally, the low power consumption mode exit module includes:
the trigger signal judgment submodule is used for judging whether the trigger signal is greater than or equal to a preset induction threshold value or not when the trigger signal of any touch key is detected;
the low-power-consumption mode exit execution submodule is used for exiting the low-power-consumption mode when the trigger signal is greater than or equal to the induction threshold;
the device further comprises:
and the multi-channel scanning mode exit module is used for exiting the multi-channel scanning mode simultaneously when exiting the low power consumption mode.
Optionally, the apparatus further comprises:
the application environment characteristic acquisition module is used for acquiring the application environment characteristics of the touch key scanning circuit;
the first panel thickness determining module is used for determining the first panel thickness of the touch key according to the application environment characteristics;
and the first sensing threshold determining module is used for determining the sensing threshold according to the thickness of the first panel of the touch key.
Optionally, the apparatus further comprises:
the functional characteristic determining module is used for acquiring the functional characteristics of the touch keys of the touch key scanning circuit;
the second panel thickness determining module is used for determining the second panel thickness of the touch key according to the functional characteristics;
and the second sensing threshold determining module is used for determining the sensing threshold according to the thickness of the second panel of the touch key.
Optionally, the apparatus further comprises:
a multi-channel scanning mode entering module, configured to configure parameters of the multi-channel scanning mode and enter the multi-channel scanning mode;
the trigger signal detection module is used for judging whether a trigger signal of any touch key is detected in the multi-channel scanning mode;
the trigger signal judging module is used for judging whether the trigger signal meets the condition of entering a low power consumption mode or not when the trigger signal is detected;
and the low-power-consumption mode entering module is used for entering the low-power-consumption mode when the trigger signal is not detected or the trigger signal meets the condition of entering the low-power-consumption mode.
Compared with the prior art, the invention has the following advantages:
the invention provides a touch key scanning circuit, which comprises a key scanning unit, a trigger unit and a plurality of touch keys, wherein the key scanning unit is used for scanning a plurality of touch keys; the trigger unit includes: the touch key comprises a master control switch, a plurality of first switches and second switches which correspond one to one, wherein the second switches correspond to the touch keys one to one; one end of the master control switch is connected with the key scanning unit, and the other end of the master control switch is respectively connected with one ends of the first switches; the other end of the first switch is respectively connected with the key scanning unit and one end of the corresponding second switch; the other end of the second switch is connected with the corresponding touch key; when the master control switch, the first switch and the second switch are all closed, the touch key scanning circuit works in a multi-channel scanning mode; in the multi-channel scanning mode, any touch key can be detected in time when being triggered, and all touch keys do not need to be polled one by one, so that the scanning time of the touch keys is saved, the average power consumption in the low-power-consumption mode is greatly reduced, the product power consumption in the scanning interval time is saved, the key scanning frame rate is improved, and the awakening experience of the touch keys in the low-power-consumption mode is improved.
The invention provides a low-power-consumption mode exit method, which is characterized in that in a low-power-consumption mode, a trigger signal of any touch key is detected based on a multi-channel scanning mode, and the low-power-consumption mode can be exited at the first time when the trigger signal of any touch key is detected; the speed of exiting the low power consumption mode is greatly improved, and the average power consumption in the low power consumption mode is greatly reduced.
Drawings
FIG. 1 is a schematic circuit diagram of a touch key scanning circuit according to an embodiment of the present invention;
FIG. 2 is a clock diagram of touch key scanning in a multi-channel scan mode according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of a method for exiting a low power mode according to an embodiment of the present invention;
FIG. 4 is a flow chart of the steps for entering a multi-channel scan mode and a low power mode according to an embodiment of the present invention;
FIG. 5 is a flow chart illustrating steps of a first sensing threshold determination method according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a second method for determining sensing threshold according to an embodiment of the present invention;
FIG. 7 is a flowchart illustrating the operation of a low power mode exit method according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a low power consumption mode exit device according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
To solve the problem of the embodiment of the present invention, referring to fig. 1, a circuit diagram of a touch key scanning circuit according to an embodiment of the present invention is shown, including a key scanning unit, a triggering unit, and a plurality of touch keys; the trigger unit includes:
the touch key comprises a master control switch, a plurality of first switches and second switches which correspond one to one, wherein the second switches correspond to the touch keys one to one; one end of the master control switch is connected with the key scanning unit, and the other end of the master control switch is respectively connected with one ends of the first switches; the other end of the first switch is respectively connected with the key scanning unit and one end of the corresponding second switch; the other end of the second switch is connected with the corresponding touch key;
when the master control switch, the first switch and the second switch are all closed, the touch key scanning circuit works as a multi-channel scanning mode.
In fig. 1, KP denotes a master control switch; l denotes a first switch, and L0 to LN denote a plurality of first switches; s represents a second switch, and S0-SN represent a plurality of second switches; SNS denotes a touch key, and SNS0 to SNSN denote a plurality of touch keys.
When the master control switch KP, the first switches L0-LN and the second switches S0-SN are all closed, all the touch keys SNS 0-SNSN are connected in parallel, at the moment, the touch key scanning circuit is in a multi-channel scanning mode, and the key scanning unit does not need to scan the touch keys one by one due to the fact that all the touch keys are connected in parallel, can receive touch signals of a plurality of touch keys simultaneously, and can greatly save scanning time of the touch keys compared with a one-by-one scanning mode. The touch keys SNS 0-SNSN can refer to all touch keys on a product where the touch key scanning circuit is located. Referring to fig. 2, a clock diagram of touch key scanning in a multi-channel scanning mode according to an embodiment of the present invention is shown. In the multi-channel scanning mode, the average power consumption of the touch key scanning circuit in the low power consumption mode is as follows:
Figure BDA0002434140970000071
wherein: t1 is the key scan time of any touch key, and T2 is the interval between two triggers of the touch key scan circuit, i.e. the interval between the trigger of the first touch key in this round and the trigger of the first touch key in the next round; i1 is power consumption of the touch key scan circuit during time T1, and I2 is power consumption of the touch key scan circuit during time T2.
As can be seen from the above, when the touch key scanning circuit in the embodiment of the present invention operates in the multi-channel scanning mode, in the same detection process, it is not necessary to perform polling scanning on all touch keys one by one, and when any touch key is triggered, the touch key scanning circuit can detect the touch key at the first time.
In an optional embodiment of the present invention, when the master switch and the first switch are both turned off and the second switch is both turned on, the touch key scanning circuit operates in a single-channel scanning mode; the touch key scanning circuit further comprises a control unit connected with the key scanning unit, and the control unit is used for controlling the key scanning unit so as to switch the multi-channel scanning mode and the single-channel scanning mode.
In the embodiment of the invention, the provided circuit structure of the single-channel scanning mode is simpler than the touch key circuit structure of the existing touch key low-power-consumption product, and the triggering of all touch keys can be accurately positioned through the one-to-one correspondence relationship between the second switches and the touch keys, so that the key identification precision of the touch key low-power-consumption product can be improved. The control unit controls the key scanning unit, so that the multi-channel scanning mode and the single-channel scanning mode can be switched randomly, and the requirements of touch key low-power-consumption products in different time periods or different application scenes can be met. The control unit can selectively adopt an MCU chip, and can control a multi-channel scanning mode or a single-channel scanning mode by touching the 5 th bit of SNS _ SCAN _ CFG2.5 and SNS _ SCAN _ CFG2 in the key scanning mode register, and when the SNS _ SCAN _ CFG2.5 is set to 1, the touch key scanning circuit is in the multi-channel scanning mode.
Referring to fig. 3, a flowchart illustrating steps of a low power consumption mode exit method according to an embodiment of the present invention is shown, and is applied to the touch key scanning circuit shown in fig. 1, where the touch key scanning circuit has a multi-channel scanning mode, and the method may specifically include the following steps:
step S301, in a low power consumption mode, detecting a trigger signal of any touch key based on the multi-channel scanning mode;
and step S302, when a trigger signal of any touch key is detected, exiting the low power consumption mode.
In order to make it more clear to those skilled in the art to understand the implementation process of the present invention, in an alternative embodiment of the present invention, how the touch key scanning circuit enters the multi-channel scanning mode and the low power consumption mode is first described, referring to fig. 4, a flowchart illustrating steps of entering the multi-channel scanning mode and the low power consumption mode according to an embodiment of the present invention is shown, which may include the following steps:
step S401, configuring parameters of the multi-channel scanning mode, and entering the multi-channel scanning mode;
in the embodiment of the invention, the touch key scanning mode register is configured into a multi-channel scanning mode by configuring the touch key scanning mode register, and all touch keys in the touch key scanning circuit are physically connected together. The first configuration of the multi-channel scanning mode can be manually debugged and configured, and the subsequent configuration of the parameters of the multi-channel scanning mode can be performed, so that the touch key scanning circuit automatically enters the multi-channel scanning mode. For example, the configuration may be: setting a condition for entering a multi-channel scanning mode, judging whether a touch key is pressed within a preset time interval, and entering the multi-channel scanning mode if the touch key is not pressed within the preset time interval; otherwise, wait.
Step S402, judging whether a trigger signal of any touch key is detected in the multi-channel scanning mode;
and under the multi-channel scanning mode, whether the trigger signal of any touch key is detected or not is continuously judged according to a preset time interval, and the key scanning unit scans the trigger unit according to the preset time interval or continuously so as to judge whether the trigger signal of any touch key is detected or not. The preset time interval can be generally set to be 5-60 seconds and can be adjusted according to the habit and the requirement of a user; the continuous scanning can be understood as that the scanning is carried out at the fastest speed based on the self scanning performance of the touch key scanning circuit without manually controlling the time.
Step S403, when the trigger signal is detected, judging whether the trigger signal meets the condition of entering a low power consumption mode;
in practice, the trigger signal may be triggered intentionally by a human being or may be triggered accidentally. Therefore, the embodiment of the invention not only sets the condition for judging whether the trigger signal of any touch key is detected, but also further sets the condition for judging whether the trigger signal meets the condition of entering low power consumption. The condition of the low power consumption mode may be a current value acquired when the touch key is triggered, for example, if the current value is small, it indicates that the key is light, the condition may be determined as accidental triggering, and the condition for entering the low power consumption mode is satisfied.
In a specific implementation, the step of entering the Low power mode may be performed according to whether Low _ power in a Low power saving mode register of the control unit is equal to 1, the Low power mode is entered when Low _ power is equal to 1, and the Low power mode is exited when Low _ power is equal to 0.
Step S404, when the trigger signal is not detected or the trigger signal meets the condition of entering the low power consumption mode, entering the low power consumption mode.
In a specific implementation, the embodiment of the present invention may set a certain waiting time, that is, when the trigger signal is not detected or meets a condition for entering the low power consumption mode, after the waiting time is continued, the low power consumption mode is entered. Therefore, the problem that the touch key scanning circuit cannot enter the low power consumption mode due to delay caused by accidental triggering is avoided, a certain time can be reserved for a user, the triggering operation of the user on the touch key is responded in time, and the low power consumption mode of a product can be automatically and accurately entered.
In an alternative embodiment of the present invention, step S301 may include the following sub-steps:
substep 1, in the low power consumption mode, waking up the touch key scanning circuit by adopting a timing interruption or external interruption mode;
and a substep 2 of detecting a trigger signal of any touch key based on the multi-channel scanning mode after waking up the touch key scanning circuit.
In the embodiment of the invention, the touch key scanning circuit is awakened by adopting a timed interrupt mode, and the method can be realized by the following modes: a timing wake-up program is arranged in a control unit of the touch key scanning circuit, namely, the control unit automatically wakes up at intervals of a certain time in a low power consumption mode, and then the control unit controls the key scanning unit to ensure that the touch key scanning circuit works in a multi-channel scanning mode, so that when any touch key is triggered, the key scanning unit can scan a trigger signal of the touch key. The touch key scanning circuit is awakened by adopting an external interrupt mode, and can be realized by the following modes: the touch key scanning circuit is awakened when the touch key is triggered (such as pressed or touched), the control unit is awakened at the moment, and the control unit controls the key scanning unit to ensure that the touch key scanning circuit detects a trigger signal of the touch key in a multi-channel scanning mode.
The embodiment of the invention can directly exit the low-power-consumption mode when detecting the trigger signal of the touch key so as to solve the problems that the existing touch key low-power-consumption product exits the low-power-consumption power-saving mode at a low speed and has high power consumption in the exiting process. However, the touch key may be intentionally or accidentally activated by a human. In order to avoid the problem of power consumption waste caused by the circuit directly exiting from the low power consumption mode when the touch key is accidentally triggered, in an optional embodiment of the present invention, step S302 may be performed in the following manner, and specifically may include the following sub-steps:
substep 3, when a trigger signal of any touch key is detected, judging whether the trigger signal is greater than or equal to a preset induction threshold value;
substep 4, when the trigger signal is greater than or equal to the induction threshold, exiting the low power consumption mode;
the method further comprises the following steps:
and simultaneously exiting the multi-channel scanning mode when exiting the low power consumption mode.
In the embodiment of the invention, a sensing threshold value is set, the sensing threshold value is used as a threshold for judging whether to exit the low power consumption mode, and the trigger signal of the touch key is judged according to the sensing threshold value. When the trigger signal reaches the induction threshold value, the low-power-consumption mode exits, so that the problem of power consumption waste caused by frequent exiting of the low-power-consumption mode due to accidental triggering of the touch key can be solved, and the probability of accidental triggering exiting is reduced. Because the key scanning in the multi-channel scanning mode is not as fast as the non-low power consumption mode, the key response speed is not as fast as the non-low power consumption mode. Therefore, after the screen is awakened, the low power consumption mode is immediately exited, and the multi-channel scanning mode is simultaneously exited, namely, the touch key scanning circuit is switched to work in a single-channel scanning mode from the multi-channel scanning mode, so that each touch key is ensured to be rapidly identified.
The trigger signal of the embodiment of the invention can be a change value of a parasitic capacitance on the touch key, and the sensing threshold value can be adjusted by selecting the value of the reference capacitance CSEL. The sensing threshold value can be set manually and determined by self, and can also be determined in other ways. In an alternative embodiment of the present invention, two methods for determining the sensing threshold are provided, and referring to fig. 5, a flowchart illustrating steps of a first method for determining the sensing threshold according to an embodiment of the present invention is shown, which may include the following steps:
step S501, acquiring application environment characteristics of the touch key scanning circuit;
step S502, determining the thickness of a first panel of the touch key according to the characteristics of the application environment;
step S503, determining the induction threshold value according to the thickness of the first panel of the touch key.
In the embodiment of the present invention, the application environment characteristics are the ambient environment characteristics of the touch key scanning circuit, such as high temperature, high humidity, low temperature, low humidity, and high voltage. The first panel thickness refers to the thickness of the basic panel of the touch key, and can also be understood as the overall panel thickness of a low-power product, in the thickness, the induction threshold value of each touch key is the same, and the touch sensitivity is also the same. In practical application, when a low-power-consumption product where the touch key scanning circuit is located is applied to severe environments such as high temperature and high pressure, the requirement on the sensitivity of the low-power-consumption product is not high, at the moment, the thickness of the first panel can be set to be thicker, and conversely, the thickness of the first panel can be set to be thinner in order to protect the low-power-consumption product.
Referring to fig. 6, a flowchart illustrating steps of a second sensing threshold determination method according to an embodiment of the present invention may include the following steps:
step S601, acquiring the functional characteristics of the touch key scanning circuit;
step S602, determining the thickness of a second panel of the touch key according to the functional characteristics;
step S603, determining the sensing threshold according to the thickness of the second panel of the touch key. In the embodiment of the present invention, the functional feature refers to a use functional feature of the touch key, such as switching, returning, next step, confirming, and the like. The thickness of the second panel is the thickness which is specific and specially customized for the touch keys, the induction threshold value of each touch key is different, and the touch sensitivity is different. If the frequently used screen unlocking key is located, the screen unlocking key can be set to be thicker, and other positions can be set to be thinner, so that the problems that the touch key is accidentally awakened due to the fact that the switch key is touched carelessly, a low-power-consumption program exits, and electric quantity is wasted can be avoided; and under the condition that the screen is unlocked, the sensing sensitivity of touch keys at other positions can be improved. The second panel thickness may be further set on the basis of the first panel thickness, or may be set independently. If the first panel thickness is 1mm, the panel thickness (second panel thickness) of the screen unlock key may be set to 1.15 mm.
In summary, referring to fig. 7, the operation flow chart of the low power consumption mode exit method according to the embodiment of the present invention can exit the low power consumption mode when a trigger signal of any touch key is detected, so that the speed of exiting the low power consumption mode is greatly increased, the average power consumption in the low power consumption mode is greatly reduced, and the wake-up experience of the touch key in the low power consumption mode is improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 8, a schematic structural diagram of a low power consumption mode exit device according to an embodiment of the present invention is shown, and is applied to the touch key scanning circuit, where the touch key scanning circuit has a multi-channel scanning mode, and the device may include the following modules:
a trigger signal detection module 801, configured to detect a trigger signal of an arbitrary touch key based on the multi-channel scanning mode in a low power consumption mode;
a low power mode exit module 802, configured to exit the low power mode when a trigger signal of any touch key is detected.
In an optional embodiment of the present invention, the trigger signal detecting module 801 includes:
the scanning circuit awakening submodule is used for awakening the touch key scanning circuit in a timing interruption or external interruption mode in the low power consumption mode;
and the touch key scanning submodule is used for detecting a trigger signal of any touch key based on the multi-channel scanning mode after the touch key scanning circuit is awakened.
In an optional embodiment of the present invention, the low power mode exit module 802 includes:
the trigger signal judgment submodule is used for judging whether the trigger signal is greater than or equal to a preset induction threshold value or not when the trigger signal of any touch key is detected;
the low-power-consumption mode exit execution submodule is used for exiting the low-power-consumption mode when the trigger signal is greater than or equal to the induction threshold;
the device further comprises:
and the multi-channel scanning mode exit module is used for exiting the multi-channel scanning mode simultaneously when exiting the low power consumption mode.
In an optional embodiment of the present invention, the apparatus further comprises:
the application environment characteristic acquisition module is used for acquiring the application environment characteristics of the touch key scanning circuit;
the first panel thickness determining module is used for determining the first panel thickness of the touch key according to the application environment characteristics;
and the first sensing threshold determining module is used for determining the sensing threshold according to the thickness of the first panel of the touch key.
In an optional embodiment of the present invention, the apparatus further comprises:
the functional characteristic determining module is used for acquiring the functional characteristics of the touch keys of the touch key scanning circuit;
the second panel thickness determining module is used for determining the second panel thickness of the touch key according to the functional characteristics;
and the second sensing threshold determining module is used for determining the sensing threshold according to the thickness of the second panel of the touch key.
In an optional embodiment of the present invention, the apparatus further comprises:
a multi-channel scanning mode entering module, configured to configure parameters of the multi-channel scanning mode and enter the multi-channel scanning mode;
the trigger signal detection module is used for judging whether a trigger signal of any touch key is detected in the multi-channel scanning mode;
the trigger signal judging module is used for judging whether the trigger signal meets the condition of entering a low power consumption mode or not when the trigger signal is detected;
and the low-power-consumption mode entering module is used for entering the low-power-consumption mode when the trigger signal is not detected or the trigger signal meets the condition of entering the low-power-consumption mode.
To sum up, the embodiment of the present invention provides a low power consumption mode exit device, which is based on the same inventive concept as the method shown in fig. 3, and the implementation principle thereof only needs to refer to a low power consumption mode exit method, which is not described herein any more.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The touch key scanning circuit, the low-power-consumption mode exiting method and the low-power-consumption mode exiting device provided by the invention are described in detail, specific examples are applied in the text to explain the principle and the implementation mode of the invention, and the description of the above embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A touch key scanning circuit is characterized by comprising a key scanning unit, a trigger unit and a plurality of touch keys; the trigger unit includes:
the touch key comprises a master control switch, a plurality of first switches and second switches which correspond one to one, wherein the second switches correspond to the touch keys one to one; one end of the master control switch is connected with the key scanning unit, and the other end of the master control switch is respectively connected with one ends of the first switches; the other end of the first switch is respectively connected with the key scanning unit and one end of the corresponding second switch; the other end of the second switch is connected with the corresponding touch key;
when the master control switch, the first switch and the second switch are all closed, the touch key scanning circuit works as a multi-channel scanning mode.
2. The circuit of claim 1, wherein when the master switch and the first switch are both off and the second switch is both on, the touch key scanning circuit operates in a single channel scanning mode;
the touch key scanning circuit further comprises a control unit connected with the key scanning unit, and the control unit is used for controlling the key scanning unit so as to switch the multi-channel scanning mode and the single-channel scanning mode.
3. A low power mode exit method applied to the touch key scan circuit of claim 1 or 2, the touch key scan circuit having a multi-channel scan mode, the method comprising:
detecting a trigger signal of any touch key based on the multi-channel scanning mode in a low power consumption mode;
and exiting the low power consumption mode when the trigger signal of any touch key is detected.
4. The method of claim 3, wherein detecting the trigger signal of any touch key based on the multi-channel scan mode in a low power mode comprises:
in the low power consumption mode, waking up the touch key scanning circuit by adopting a timing interruption or external interruption mode;
and after waking up the touch key scanning circuit, detecting a trigger signal of any touch key based on the multi-channel scanning mode.
5. The method of claim 3, wherein exiting the low power mode upon detection of a trigger signal from any touch key comprises:
when a trigger signal of any touch key is detected, judging whether the trigger signal is greater than or equal to a preset induction threshold value;
when the trigger signal is greater than or equal to the induction threshold value, exiting the low power consumption mode;
the method further comprises the following steps:
and simultaneously exiting the multi-channel scanning mode when exiting the low power consumption mode.
6. The method of claim 5, further comprising:
acquiring application environment characteristics of the touch key scanning circuit;
determining the thickness of a first panel of the touch key according to the application environment characteristics;
and determining the induction threshold value according to the thickness of the first panel of the touch key.
7. The method of claim 5, further comprising:
acquiring the functional characteristics of a touch key of the touch key scanning circuit;
determining the thickness of a second panel of the touch key according to the functional characteristics;
and determining the induction threshold value according to the thickness of the second panel of the touch key.
8. The method of claim 3, further comprising:
configuring parameters of the multi-channel scanning mode, and entering the multi-channel scanning mode;
judging whether a trigger signal of any touch key is detected or not in the multi-channel scanning mode;
when the trigger signal is detected, judging whether the trigger signal meets the condition of entering a low power consumption mode;
entering a low power consumption mode when the trigger signal is not detected or the trigger signal satisfies a condition for entering the low power consumption mode.
9. A low power mode exit device for use with a touch key scan circuit having a multi-channel scan mode, the device comprising:
the trigger signal detection module is used for detecting a trigger signal of any touch key based on the multi-channel scanning mode in a low power consumption mode;
and the low-power-consumption mode exit module is used for exiting the low-power-consumption mode when a trigger signal of any touch key is detected.
10. The apparatus of claim 9, wherein the trigger signal detection module comprises:
the scanning circuit awakening submodule is used for awakening the touch key scanning circuit in a timing interruption or external interruption mode in the low power consumption mode;
and the touch key scanning submodule is used for detecting a trigger signal of any touch key based on the multi-channel scanning mode after the touch key scanning circuit is awakened.
CN202010246645.9A 2020-03-31 2020-03-31 Touch key scanning circuit, low-power-consumption mode exit method and device Pending CN113472357A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010246645.9A CN113472357A (en) 2020-03-31 2020-03-31 Touch key scanning circuit, low-power-consumption mode exit method and device
PCT/CN2021/082980 WO2021197199A1 (en) 2020-03-31 2021-03-25 Touch key scanning circuit, low power mode exiting method, and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010246645.9A CN113472357A (en) 2020-03-31 2020-03-31 Touch key scanning circuit, low-power-consumption mode exit method and device

Publications (1)

Publication Number Publication Date
CN113472357A true CN113472357A (en) 2021-10-01

Family

ID=77865732

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010246645.9A Pending CN113472357A (en) 2020-03-31 2020-03-31 Touch key scanning circuit, low-power-consumption mode exit method and device

Country Status (2)

Country Link
CN (1) CN113472357A (en)
WO (1) WO2021197199A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115333521A (en) * 2022-08-22 2022-11-11 深圳市锦锐科技股份有限公司 Low-power-consumption integrated circuit applied to RC touch key
CN116131836A (en) * 2022-12-26 2023-05-16 深圳市航顺芯片技术研发有限公司 Low-power-consumption parallel device and method for touch keys

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114448444A (en) * 2022-01-21 2022-05-06 长沙锐逸微电子有限公司 High-performance mechanical keyboard driving chip and mechanical keyboard

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011035491A1 (en) * 2009-09-27 2011-03-31 智点科技有限公司 Touch control screen
CN108259044B (en) * 2018-02-26 2021-09-07 上海东软载波微电子有限公司 Touch key scanning method and device and computer readable storage medium
CN210199719U (en) * 2019-05-30 2020-03-27 深圳市德名利电子有限公司 Touch system of large-size touch screen
CN110347439A (en) * 2019-07-22 2019-10-18 Oppo广东移动通信有限公司 Processor awakening method, device, terminal and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115333521A (en) * 2022-08-22 2022-11-11 深圳市锦锐科技股份有限公司 Low-power-consumption integrated circuit applied to RC touch key
CN115333521B (en) * 2022-08-22 2023-09-12 深圳市锦锐科技股份有限公司 Low-power consumption integrated circuit applied to RC touch key
CN116131836A (en) * 2022-12-26 2023-05-16 深圳市航顺芯片技术研发有限公司 Low-power-consumption parallel device and method for touch keys
CN116131836B (en) * 2022-12-26 2024-04-09 深圳市航顺芯片技术研发有限公司 Low-power-consumption parallel device and method for touch keys

Also Published As

Publication number Publication date
WO2021197199A1 (en) 2021-10-07

Similar Documents

Publication Publication Date Title
CN113472357A (en) Touch key scanning circuit, low-power-consumption mode exit method and device
US8436804B2 (en) Digital photo frame with power saving function and related power saving method
KR102313098B1 (en) Dynamic switching of power modes for touch screens using force touch
JP3691525B2 (en) Power source control method and apparatus for computer system
JP3156466U (en) Power saving management device
CN102187298B (en) Automated capacitive touch scan
US20160085360A1 (en) Method for controlling state of touch screen, touch screen, and portable touch terminal
CN102981766B (en) A kind of terminal Activiation method and terminal
KR20150021311A (en) Method and apparatus for saving battery of portable terminal
CN107317924B (en) Mobile terminal and dormancy method of mobile terminal
CN101598986B (en) Touch detection device capable of saving power source consumption
CN101807106A (en) Standby circuit of handheld device and awaken method thereof
CN102999291A (en) Method for waking up mobile terminal in standby state
CN102947782A (en) Low power sensing via resistive sensor matrix
CN103257716B (en) A kind of low-power consumption keyboard and Scan orientation method thereof
CN110574355B (en) Alarm clock reminding method and device, storage medium and electronic equipment
CN102609072A (en) Method for responding to key trigger and portable device using the method
US20120249431A1 (en) Electronic device with a page turning function during a sleep mode of the electronic device
CN104571839A (en) Terminal and processing method and device thereof
JP2015049541A (en) Touch detection device
US7714746B2 (en) Method and apparatus for keyboard readout
CN106484186B (en) A kind of system wake-up method and device
CN105491242B (en) Mobile communication terminal and control method and device thereof
CN102833400A (en) Screen brightening method and communication terminal thereof
US20130222285A1 (en) Mobile terminal and method for operating based on a touch input

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