CN112187245A - Pressure-sensitive detection device, pressure-sensitive detection method, and electronic apparatus - Google Patents

Pressure-sensitive detection device, pressure-sensitive detection method, and electronic apparatus Download PDF

Info

Publication number
CN112187245A
CN112187245A CN202010992398.7A CN202010992398A CN112187245A CN 112187245 A CN112187245 A CN 112187245A CN 202010992398 A CN202010992398 A CN 202010992398A CN 112187245 A CN112187245 A CN 112187245A
Authority
CN
China
Prior art keywords
pressure
sensitive
sampling
signal
detection
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
CN202010992398.7A
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.)
Shanghai Awinic Technology Co Ltd
Original Assignee
Shanghai Awinic Technology 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 Shanghai Awinic Technology Co Ltd filed Critical Shanghai Awinic Technology Co Ltd
Priority to CN202010992398.7A priority Critical patent/CN112187245A/en
Publication of CN112187245A publication Critical patent/CN112187245A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/9618Touch switches using a plurality of detectors, e.g. keyboard
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Measuring Fluid Pressure (AREA)

Abstract

The application discloses pressure-sensitive detection device, pressure-sensitive detection method and electronic equipment, the pressure-sensitive detection method includes: setting a detection period of the pressure-sensitive signal, wherein the detection period comprises a sleep stage and a detection stage; entering a sleep stage and carrying out sleep timing; when the duration time of the sleep stage reaches the set time, entering a detection stage, and detecting the pressure-sensitive signal in the detection stage; and after the pressure sensing signal detection is finished, entering the next detection period. The pressure sensing detection method is low in power consumption.

Description

Pressure-sensitive detection device, pressure-sensitive detection method, and electronic apparatus
Technical Field
The application relates to the technical field of pressure sensing, in particular to a pressure sensing detection device, a pressure sensing detection method and electronic equipment.
Background
The pressure sensor is the most common sensor in industrial practice, is widely applied to the fields of various industrial automatic control environments and consumer electronic automatic control, and relates to a plurality of industrial industries such as water conservancy and hydropower, railway traffic, intelligent buildings, production automatic control, aerospace, military industry, petrifaction and the like, and a plurality of consumer electronic industries such as mobile phones, TWS earphones, wearable devices, household appliances and the like.
The pressure-sensitive key is an important application of a pressure sensor, the principle of the pressure-sensitive key is that the pressure sensor is arranged on the back of a key panel, the pressure sensor can generate corresponding analog signal change according to the stress deformation condition of the key panel, the analog signal is converted into a digital signal after being processed, a Microcontroller (MCU) performs key and gesture recognition algorithm processing according to the digital signal, and finally the microcontroller performs algorithm processing to output corresponding key information or sliding gesture information.
The pressure-sensitive key device generally needs to monitor the change condition of a pressure sensor signal at regular time so as to quickly respond to key or touch gesture operation which occurs at any time, and even in the shutdown state of the equipment, the temperature drift and deformation drift of the sensor need to be monitored, so that the power consumption is large. The higher the scanning frequency of the sensing signal is, the higher the response sensitivity of the key is, and the higher the power consumption is.
At present, pressure detection is widely used for detecting touch operation of terminal equipment such as mobile phones, True Wireless (TWS) earphones and wearing, and mobile terminals, especially smaller equipment such as the TWS earphones, are particularly sensitive to power consumption. How to reduce the power consumption in the pressure sensing detection process and improve the endurance capacity of the equipment is a problem to be solved urgently at present.
Disclosure of Invention
In view of this, the present application provides a pressure-sensitive detection apparatus, a pressure-sensitive detection method and an electronic device, so as to solve the problem of large power consumption in the existing pressure-sensitive detection process.
The application provides a pressure detection method of a pressure detection device, which comprises the following steps: setting a detection period of the pressure-sensitive signal, wherein the detection period comprises a sleep stage and a detection stage; entering a sleep stage and carrying out sleep timing; when the duration time of the sleep stage reaches the set time, entering a detection stage, and detecting the pressure-sensitive signal in the detection stage; and after the pressure sensing signal detection is finished, entering the next detection period.
Optionally, the step of detecting the pressure-sensitive signal in the detection stage includes: sampling to obtain a pressure sensing signal of at least one pressure sensor; after the pressure-sensitive signals of all the pressure sensors are sampled, algorithm identification is carried out on the pressure-sensitive signals to obtain touch operation information.
Optionally, the step of acquiring a pressure-sensitive signal of at least one pressure sensor includes: sequentially sampling pressure-sensitive signals generated by a plurality of pressure sensors, and providing working voltage for the pressure sensor corresponding to the current sampling channel each time; alternatively, the pressure-sensitive signals generated by a plurality of pressure sensors are sampled simultaneously, and each pressure sensor is provided with a working voltage.
Optionally, the method further includes: and comparing the pressure-sensitive signal obtained by sampling with a trigger threshold, and performing algorithm identification on the pressure-sensitive signal when the pressure-sensitive signal is greater than or equal to the trigger threshold, otherwise, entering the next detection period.
Optionally, the detection period is set according to an equipment state of the equipment where the pressure-sensitive detection device is located.
Optionally, before entering the next detection period each time, the detection period is updated according to the device state, or the detection period is kept unchanged.
Optionally, the pressure detection device includes: the system comprises a sampling module and a microprocessor, wherein the sampling module is used for sampling a pressure-sensitive signal, and the microprocessor is used for carrying out algorithm identification on the pressure-sensitive signal; in the sleep stage, the sampling module and the microprocessor are turned off; the detection stage comprises a sampling stage and an algorithm identification stage, the microprocessor is closed in the sampling stage, and the sampling module is closed in the algorithm identification stage.
Optionally, in the sleep stage, performing sleep timing by using the first clock; and in the sampling stage and the algorithm identification stage, a second clock is used for timing, and the frequency of the first clock is lower than that of the second clock.
The application also provides a pressure-sensitive detection device, including: the clock module is used for setting a detection period, carrying out sleep timing and outputting a first trigger signal when the sleep timing time reaches a set time; the sampling module is connected with the clock module and used for starting after receiving the first trigger signal, sampling the pressure-sensitive signal and outputting a second trigger signal after the sampling is finished; and the microprocessor is connected with the sampling module and used for starting after receiving the second trigger signal, performing algorithm identification on the pressure-sensitive signal to acquire touch information, outputting a third trigger signal to the clock module, and triggering the clock module again to perform dormancy timing.
Optionally, the method includes: the sampling module and the microprocessor are configured to be in a closed state in the process of sleep timing of the clock module.
Optionally, the clock module includes a first clock oscillation unit and a second clock oscillation unit, and an oscillation frequency of the first clock oscillation unit is lower than an oscillation frequency of the second clock oscillation unit; the first clock oscillation unit is used for conducting sleep timing, and the second clock oscillation unit is used for starting up after the sleep timing reaches a set time, and providing clock signals for the sampling module and the microprocessor.
Optionally, the sampling module is configured to sequentially sample pressure-sensitive signals generated by the plurality of pressure sensors; the pressure sensing detection device further comprises a power supply module, the power supply module is used for respectively providing working voltages for the plurality of pressure sensors, and the power supply module is configured to only provide the working voltages for the pressure sensors corresponding to the current sampling channel; or, the sampling module is used for simultaneously sampling pressure-sensitive signals generated by a plurality of pressure sensors, and the power supply module is configured to simultaneously provide operating voltages to the plurality of pressure sensors.
Optionally, the sampling module includes a first switch unit and a sampling unit, where the first switch unit is configured to start the sampling unit after receiving the first trigger signal; the sampling unit is used for sampling the pressure-sensitive signal and outputting the second trigger signal after sampling is finished; the microprocessor includes: the second switch unit is used for starting the processing unit after receiving the second trigger signal; the processing unit is used for carrying out algorithm identification processing on the pressure sensing signal and outputting the third trigger signal after the algorithm identification is finished.
Optionally, the sampling module further includes a comparing unit, configured to compare the pressure-sensitive signal sampled by the sampling unit with a trigger threshold, and output a second trigger signal when the pressure-sensitive signal is greater than or equal to the trigger threshold, otherwise output a third trigger signal, and trigger the timing module to perform sleep timing again.
Optionally, the method further includes: the sampling module is configured to enter a shutdown state during algorithmic identification of the pressure-sensitive signal by the microprocessor.
Optionally, the clock module is configured to set the detection period according to an equipment state of the equipment where the pressure-sensitive detection device is located.
Optionally, the clock module is configured to update the detection period according to the device state or keep the detection period unchanged before receiving the third trigger signal and performing sleep timing.
The application also provides an electronic device comprising the pressure-sensitive detection device.
According to the pressure detection method, the detection period is in the dormant stage and the detection stage respectively, after the dormant stage is finished, the sampling and processing process of the pressure sensing signal in the detection stage is carried out, and the hardware related to the detection stage in the pressure sensing detection device is not required to be continuously started, so that the power consumption can be reduced. Furthermore, the detection stage is divided into a sampling process and an algorithm identification process, in the sampling process, only the circuit with the sampling function works, and the algorithm identification related circuit is closed; in the process of algorithm identification, the circuit with the sampling function is closed, and only the operation of the algorithm identification related circuit is kept; thereby reducing power consumption during the detection phase. Furthermore, only when the pressure-sensitive signal acquired in the sampling stage is greater than or equal to the trigger threshold, the algorithm identification stage is entered, invalid algorithm identification caused by partial noise signals is reduced, and power consumption is further reduced.
The application the pressure-sensitive detection device opens and closes each module through the circuit signal that each functional module produced in the course of the work, need not to carry out the process to whole process through software algorithm, need not treater operation software program promptly to can be in carrying out algorithm identification process to the signal, close microprocessor is in order to reduce the consumption, and need not to increase the consumption of extra code operation.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a pressure sensing detection method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating a pressure sensing method according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a pressure-sensitive detection device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a pressure-sensitive detection device according to an embodiment of the present application.
Detailed Description
As described in the background art, the pressure sensing detection in the prior art consumes a large amount of power, and when no pressure sensing signal is input, the sampling circuit, the processor, and the like in the pressure sensing detection device are all in a power-on operating state to wait for a signal coming at any time. The existing pressure sensing detection generally controls the power consumption by reducing the working frequency of a Microprocessor (MCU) and matching the Microprocessor (MCU) with sleep to make a low-power-consumption strategy, but has limited effect on power consumption control and cannot meet higher low-power-consumption requirements.
The technical solutions in the embodiments of the present application are clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application. The following embodiments and their technical features may be combined with each other without conflict.
Fig. 1 is a schematic flow chart of a pressure-sensing detection method according to an embodiment of the invention.
In this embodiment, the pressure-sensitive detection method of the pressure-sensitive detection device includes the steps of:
and S101, setting a detection period of the pressure-sensitive signal, wherein the detection period comprises a sleep stage and a detection stage.
In the process of pressure detection, pressure detection is continuously performed at a constant detection cycle. The detection period T depends on the scanning frequency f of the signal, T1/f. And reasonably setting the scanning frequency f according to the requirement on the sensitivity of pressure detection. The scanning frequency can be 10 Hz-1000 Hz, and the corresponding detection period is 0.1 s-1 ms.
Since the acquisition and processing time of the signal is usually short, it takes only a very small amount of time in the whole detection period. In the embodiment of the invention, each detection period is divided into a sleep stage and a detection stage, wherein the sleep stage occupies most of the whole detection period, and the detection stage only occupies a small amount of time. The related functions of the pressure sensing detection process can be suspended in the sleep stage so as to occupy extremely low power consumption; and the detection function is only started in the detection stage, so that the power consumption in the whole detection period is reduced on the whole.
Step S102, entering a sleep stage and carrying out sleep timing.
The sleep phase of the detection cycle is entered first. In this phase, a sleep timing is performed to control the duration of the sleep phase and to enter the subsequent detection phase in time.
And S103, entering a detection stage when the duration time of the sleep stage reaches a set time, and detecting the pressure-sensitive signal in the detection stage.
The setting time of the sleep phase may be slightly less than the detection period duration to allow enough time for the detection phase. The setting time corresponding to different detection periods is different, and the longer the detection period is, the longer the setting time is, the longer the duration time of the sleep stage is.
The step of detecting the pressure-sensitive signal in the detection phase comprises: sampling to obtain a pressure sensing signal generated by a pressure sensor; after the pressure-sensitive signals of the pressure sensor are sampled, algorithm identification is carried out on the pressure-sensitive signals to obtain touch operation information.
The sampling process and the algorithm identification process of the pressure-sensitive signals are sequentially carried out, and the algorithm identification function can be closed when the pressure-sensitive signals are sampled, so that the power consumption generated when the algorithm identification function is started is reduced.
The step of sampling the pressure-sensitive signals comprises the steps of obtaining analog pressure-sensitive signals generated by the pressure sensor, and carrying out a series of signal processing processes such as amplification, filtering and analog-to-digital conversion on the analog pressure-sensitive signals, and finally obtaining digital pressure-sensitive signals so as to facilitate subsequent algorithm identification processing.
The pressure sensor is enabled to work only by providing working voltage to the pressure sensor, and a pressure sensing signal is output. Therefore, when the pressure-sensitive signal is sampled, the working voltage is provided for the pressure sensor, and the voltage can be provided for the pressure sensor only in the sampling process, so that the pressure sensor works; in other phases, no operating voltage needs to be supplied, so that the pressure sensor is turned off, thereby saving power consumption. In some embodiments, it is desirable to sample the pressure sensing signals of multiple pressure sensors, and provide operating voltages to the multiple pressure sensors simultaneously or sequentially. And after the sampling is finished, the supply of the working voltage is stopped, so that the power consumption is saved.
In one embodiment, the pressure sensing device comprises a plurality of pressure sensor arrays for sensing pressure distribution at different locations, and the method of acquiring the pressure sensing signal comprises: sequentially sampling pressure-sensitive signals generated by a plurality of pressure sensors; and providing the working voltage for the pressure sensor corresponding to the current sampling channel at each time. A touch device of an electronic device generally includes a plurality of pressure sensors arranged in an array to detect a touch position, a touch gesture, and the like. In this embodiment, the pressure-sensitive signals of the pressure sensors are sequentially acquired in a time division multiplexing manner. Because only one pressure sensing signal can be acquired at a time, the target pressure sensor can be powered and operated to acquire the pressure sensing signal generated by the target pressure sensor; the other pressure sensors do not need to output pressure sensing signals, so that the working voltage can not be provided, and the power consumption is reduced.
In other embodiments, the touch device may be provided with only one pressure sensor, and only the pressure sensing signal of the single pressure sensor needs to be sampled.
All acquired pressure sensing signals can be temporarily stored through a storage structure such as a register and the like to wait for the subsequent algorithm identification processing.
After pressure-sensitive signals generated by all pressure sensors are acquired, performing algorithm identification on the pressure-sensitive signals, and acquiring touch operation information according to the pressure-sensitive signals, wherein the touch operation comprises the following steps: single click, double click, long press, slide, etc. And in the process of algorithm identification, stopping signal sampling and other operations so as to save power consumption.
And step S104, entering the next detection period after the pressure sensing signal detection is finished.
And entering the next detection period, and continuing to execute the steps S101 to S103 to realize the periodic acquisition of the pressure-sensitive signals.
According to the pressure-sensitive detection method, one detection cycle is divided into the sleep stage and the detection stage, and after the sleep stage is finished, the sampling and processing process of the pressure-sensitive signals in the detection stage is carried out, so that the hardware for sampling and algorithm identification in the pressure-sensitive detection device is not required to be continuously started, and the power consumption can be reduced.
Fig. 2 is a schematic flow chart of a pressure-sensing detection method according to another embodiment of the present invention.
In this embodiment, step S201 is first executed to acquire a device status. The device state is the device installed on the pressure detection device, and can be various terminal devices, such as a mobile phone, an earphone, a tablet computer and the like. The device status may be obtained by other sensors or processors of the device. The device state comprises a shutdown state, a dormancy state or a normal working state and the like.
For example, for a True Wireless (TWS) headset, the state of the current TWS headset may be obtained through an optical sensor, a bluetooth chip, and the like inside the TWS headset, and in a normal case, when the bluetooth is not connected and the optical sensor does not receive external light, the TWS headset is in a power-off state; while typically with bluetooth signal transmission, the TWS headset is in a normal operating state.
After acquiring the device status S201, step S202 is executed: and setting a detection period. When in the shutdown or sleep state, a lower scanning frequency, i.e. a higher detection period, may be used, for example, the scanning frequency may be 10Hz, and the detection period is 0.1 s. In the normal working state, the operation of the user needs to be responded in real time, so that a higher scanning frequency can be set, for example, the scanning frequency can be 100Hz, and the detection period is 0.01 s. Different detection periods can be configured for different equipment states; and reasonably setting the detection period according to the requirements of specific detection sensitivity and the like.
The device can directly send a corresponding signal containing specific scanning frequency to the pressure-sensitive detection device according to the state of the device, and the pressure-sensitive detection device can directly set the detection period according to the signal. The embodiment dynamically adjusts the pressure sensing detection period according to the equipment state, the longer the period is, the smaller the working time ratio of the detection stage is, and the lower the average power consumption is; the shorter the cycle is, the larger the duty ratio of the working time is, and the higher the average power consumption is; the pressure sensing detection period is dynamically adjusted according to the equipment state, so that the power consumption can be further optimized, and the power consumption is optimized to the best on the premise of meeting the equipment performance requirement.
After step S202, steps S203 to S204 are executed, and the sleep stage is entered until the duration of the sleep stage reaches the set time, and the detection stage is entered.
In this embodiment, the detection stage includes a sampling process and an algorithm identification process performed in sequence. In this embodiment, the sampling process includes steps S205 to S208 performed in sequence.
And step S205, sampling the pressure-sensitive signal.
Step S206: and judging whether all the pressure-sensitive signals are sampled, if not, continuing to step S205, and if so, executing the subsequent steps.
Step S207: the pressure-sensitive signal is compared to a trigger threshold.
Step S208: and judging whether the pressure-sensitive signal is greater than or equal to a trigger threshold value.
If yes, entering an algorithm identification process; if not, the process returns to step S201, and acquires the device status again, and enters the next detection cycle.
The trigger threshold may be set according to the sensitivity requirements of the pressure detection. And when any one or more of the pressure sensing signals generated by each pressure sensor, the average value and the median of all the pressure sensing signals or the number of signals which are greater than or equal to the trigger threshold value is greater than or equal to a certain proportion, judging that the pressure sensing signals are greater than or equal to the trigger threshold value.
By comparing the pressure-sensitive signal with the trigger threshold, the interference pressure-sensitive signal caused by no touch or small-pressure touch due to mistaken touch, vibration and the like can be eliminated, and only effective touch operation actively triggered by a user is subjected to algorithm identification. For the condition that the pressure-sensitive signal is smaller than the trigger threshold, an algorithm identification related circuit does not need to be started, so that an unnecessary algorithm identification process can be avoided, and the power consumption is further saved.
The algorithm process comprises the steps of S209, performing algorithm identification on the pressure-sensitive signals; step S210: judging whether the algorithm identification is finished, if so, returning to the step S201 and entering the next detection period; if not, step S209 continues until the algorithm is recognized to be complete.
In the algorithm identification process, a corresponding circuit in the sampling process can be closed, and only the circuit required by the algorithm identification is kept running, so that the power consumption is saved.
In this embodiment, step S201 and step S202 are executed in each detection period, so as to update the detection period in real time according to the device status.
Since the host state is usually kept unchanged for a period of time, in some embodiments, after a detection period is completed, the sleep stage may be directly entered, and the steps S201 and S202 are not executed any more, so as to keep the current detection period unchanged. Specifically, when the determination result is "no" in step S208 or when the determination result is "yes" in step S210, step S203 is directly executed, and the sleep stage is entered; after the completion of several detection periods, step S201 is executed again to acquire the device status, and the detection period is updated.
The pressure-sensitive detection method further divides the detection stage into a sampling process and an algorithm identification process. In the sampling process, only the circuit with the sampling function works, and the algorithm identifies that the related circuit is closed; in the process of algorithm identification, the circuit with the sampling function is closed, and only the circuit related to algorithm identification is kept working. Because the pressure-sensitive signal sampling and algorithm identification process is the maximum power consumption part of the whole working process, the working power consumption can be reduced to more than half of the original power consumption by starting the pressure-sensitive signal sampling and algorithm identification process in time-sharing mode.
Furthermore, only when the pressure-sensitive signal acquired in the sampling stage is greater than or equal to the trigger threshold, the algorithm identification stage is entered, and invalid algorithm identification caused by partial noise signals is reduced. The algorithm identification process is started after the effective touch operation is detected, and the sleep stage is started when the effective touch operation is not detected, so that the use experience of a user can be ensured, and the power consumption can be further reduced.
The embodiment of the invention also provides a pressure detection device.
Please refer to fig. 3, which is a schematic structural diagram of the pressure-sensing detecting device.
In this embodiment, the pressure-sensitive detection device includes: a sampling module 301 and a microprocessor 302. The sampling module 301 is configured to sample the pressure-sensitive signal, and the microprocessor 302 is configured to perform algorithm identification on the pressure-sensitive signal.
The pressure-sensitive detection device further comprises a clock module 303, wherein the clock module 303 is used for setting a detection period, carrying out sleep timing, and outputting a first trigger signal when the sleep timing time reaches a set time. The sampling module 301 and the microprocessor 302 are configured to be in an off state during sleep timing of the clock module 303, and internal circuits are disconnected, for example, power supply to the sampling module 301 and the microprocessor 302 is stopped, so as to avoid static power consumption of the sampling module 301 and the microprocessor 302.
The clock module 303 may set the detection period by receiving a device status signal sent by an external circuit. Before each detection period starts, acquiring the equipment state signal, and updating the detection period; or, updating the detection period once every several detection periods according to the equipment state. The device status signal contains detection period information corresponding to a device status.
The sampling module 301 is connected to the clock module 303, and configured to start after receiving the first trigger signal, sample the pressure-sensitive signal, and output a second trigger signal after the sampling is finished. The sampling module 301 has an ADC sampling circuit, and specifically includes: the analog front end circuit (AFE), the Programmable Gain Amplifier (PGA), and the analog-to-digital converter (ADC) are configured to obtain an analog pressure sensing signal generated by the pressure sensor through the AFE, gain-amplify and filter the analog pressure sensing signal through the PGA, and perform analog-to-digital conversion and other processing on the processed analog pressure sensing signal through the ADC to obtain a digital pressure sensing signal, so as to provide the digital pressure sensing signal to the microprocessor 302 for processing.
During the operation of the sampling module 301, the microprocessor 303 is in an off state.
In some embodiments, the sampling module 301 is configured to perform multi-channel simultaneous sampling of the pressure-sensitive signals generated by a plurality of pressure sensors. In some embodiments, the sampling module 301 sequentially samples the pressure sensing signals generated by the plurality of pressure sensors.
The pressure sensing detection device further comprises a power supply module, wherein the power supply module comprises a plurality of power supply units, the power supply units are connected with the pressure sensors in a one-to-one correspondence mode, and the power supply units are used for respectively providing working voltages for the pressure sensors. In some embodiments, the power supply module is configured to provide an operating voltage to only the pressure sensor corresponding to the current sampling channel, so that other pressure sensors stop operating when not being sampled, thereby reducing power consumption of the pressure sensors.
In some embodiments, the sampling module 301 is configured to send a second trigger signal to the microprocessor 303 after sampling; in other embodiments, the sampling module 301 may further send the second trigger signal only when the pressure-sensitive signal is greater than or equal to a trigger threshold; otherwise, a third trigger signal is sent, and the clock module 303 is triggered again to perform sleep timing, and a next detection period is entered.
The microprocessor 302 is connected to the sampling module 302, and is configured to start after receiving the second trigger signal, perform algorithm identification on the pressure-sensitive signal to obtain touch information, output a third trigger signal to the clock module 303, and trigger the clock module 303 again to perform sleep timing. During operation of the microprocessor 302, the sampling module 302 is turned off to reduce power consumption.
In summary, the sampling module 301 and the microprocessor 302 are configured to: in the process of dormancy timing, all are closed; after the sleep timing reaches the set time, the sampling module 301 and the microprocessor 302 are started after respective trigger conditions are met; the working time of each module in one detection period is shortened, so that the power consumption is reduced.
Fig. 4 is a schematic structural diagram of a pressure-sensitive detection device according to an embodiment of the invention.
The clock module 303 includes: a first clock oscillation unit 3031 and a second clock oscillation unit 3032, wherein the oscillation frequency of the first clock oscillation unit 3031 is lower than the oscillation frequency of the second clock oscillation unit 402. The first clock oscillating unit 3031 is configured to perform the sleep timing, and the second clock oscillating unit 3032 is configured to start after the sleep timing reaches a set time, and provide clock signals for the sampling module 302 and the microprocessor 303.
In the sleep phase, the second clock oscillating unit 3032 in the clock module 303 is turned off, and only the first clock oscillating unit 3031 with the lower frequency is kept working, so that the power consumption in the sleep phase can be further reduced. In some embodiments, during the sleep stage, a low dropout regulator (LDO) of the digital portion of the pressure sensing apparatus is further turned off, so as to reduce power consumption of the low dropout regulator (LDO).
The sampling module 301 includes a first switch unit 3011 and a sampling unit 3012, the first switch unit 3011 is configured to start the sampling unit 3012 after receiving the first trigger signal; the sampling unit 3012 is configured to sample the pressure-sensitive signal and output the second trigger signal after the sampling is completed. The first switch unit 3011 may include a circuit having a switching function, so that the operating state of the sampling module 301 can be switched instead of being in a state of circuit conduction at any time.
In this embodiment, the sampling module 301 may further include a comparing module 3013, where the comparing module 3013 is configured to compare the pressure-sensitive signal sampled by the sampling unit 3012 with a trigger threshold, and output a second trigger signal when the pressure-sensitive signal is greater than or equal to the trigger threshold, otherwise output a third trigger signal, and trigger the timing module 301 to perform sleep timing again. In other embodiments, the sampling module 301 may not have the comparison module 3013, and the sampling unit 3012 directly outputs the second trigger signal after the sampling is completed.
The microprocessor 302 includes: a second switch unit 3021 and a processing unit 3022, the second switch unit 3021 being configured to activate the processing unit 3022 upon receiving the second trigger signal; the processing unit 3022 is configured to perform algorithm identification processing on the pressure-sensitive signal, and output the third trigger signal after the algorithm identification is completed.
The second switching unit 3021 may include a circuit having a switching function so that the operating state of the microprocessor 302 can be switched instead of being in a state where the circuit is turned on at any time.
And when the microprocessor 302 receives a second trigger signal and performs algorithm identification, the sampling module 301 is turned off. The sampling module 301 may be triggered to shut down by a second trigger signal generated by the sampling module 301, or the sampling module 301 may be shut down by a feedback signal generated by the microprocessor 302 upon startup.
The pressure sensing detection period of the pressure sensing detection device comprises a sleep stage and a detection stage, and the sampling module and the microprocessor are turned off in the sleep stage. Furthermore, in the detection stage, the sampling module and the microprocessor work in sequence, so that the power consumption waste of the sampling module and the microprocessor in the waiting process is avoided.
Furthermore, the pressure-sensitive detection device is additionally provided with a switch unit in the circuit structure, and the modules are turned on and off through electric signals generated by the modules in the working process without software algorithm control or the whole process through a software algorithm, namely, a processor is not required to run a software program, so that the microprocessor is turned off to reduce power consumption without performing algorithm identification on signals, and the power consumption of extra code running is not required to be increased.
An embodiment of the present invention further provides an electronic device, which has the pressure-sensitive detection device and the pressure sensor described in the above embodiments. The power consumption of the pressure sensing detection device in the pressure detection process is low, so that the endurance time of the electronic equipment can be prolonged. The pressure detection device is particularly suitable for devices with small size and high integration level, such as TWS earphones, smart watches and the like, and can greatly improve the endurance time of electronic devices, avoid frequent charging and improve user experience.
That is, the above description is only an embodiment of the present application, and not intended to limit the scope of the present application, and all equivalent structures or equivalent flow transformations made by using the contents of the specification and the drawings, such as mutual combination of technical features between various embodiments, or direct or indirect application to other related technical fields, are included in the scope of the present application.

Claims (18)

1. A pressure-sensitive detection method of a pressure-sensitive detection device, comprising:
setting a detection period of the pressure-sensitive signal, wherein the detection period comprises a sleep stage and a detection stage;
entering a sleep stage and carrying out sleep timing;
when the duration time of the sleep stage reaches the set time, entering a detection stage, and detecting the pressure-sensitive signal in the detection stage;
and after the pressure sensing signal detection is finished, entering the next detection period.
2. The pressure sensing method according to claim 1, wherein the step of detecting the pressure sensing signal in the detection stage comprises: sampling to obtain a pressure sensing signal of at least one pressure sensor; after the pressure-sensitive signals of all the pressure sensors are sampled, algorithm identification is carried out on the pressure-sensitive signals to obtain touch operation information.
3. The pressure sensing method of claim 2, wherein the step of obtaining the pressure sensing signal of at least one pressure sensor comprises: sequentially sampling pressure-sensitive signals generated by a plurality of pressure sensors, and providing working voltage for the pressure sensor corresponding to the current sampling channel each time; alternatively, the pressure-sensitive signals generated by a plurality of pressure sensors are sampled simultaneously, and each pressure sensor is supplied with a working voltage.
4. The pressure-sensitive detection method according to claim 2, further comprising: and comparing the pressure-sensitive signal obtained by sampling with a trigger threshold, and performing algorithm identification on the pressure-sensitive signal when the pressure-sensitive signal is greater than or equal to the trigger threshold, otherwise, entering the next detection period.
5. The pressure-sensitive detection method according to claim 1, wherein the detection cycle is set according to an equipment state of an equipment in which the pressure-sensitive detection device is located.
6. The pressure sensing method according to claim 5, wherein the detection period is updated according to the device state or kept unchanged before entering the next detection period each time.
7. The pressure-sensitive detection method according to claim 1, wherein the pressure-sensitive detection device includes: the system comprises a sampling module and a microprocessor, wherein the sampling module is used for sampling a pressure-sensitive signal, and the microprocessor is used for carrying out algorithm identification on the pressure-sensitive signal; in the sleep stage, the sampling module and the microprocessor are turned off; the detection stage comprises a sampling stage and an algorithm identification stage, the microprocessor is closed in the sampling stage, and the sampling module is closed in the algorithm identification stage.
8. The pressure-sensitive detection method according to claim 1, wherein in a sleep phase, sleep timing is performed using the first clock; and in the sampling stage and the algorithm identification stage, a second clock is used for timing, and the frequency of the first clock is lower than that of the second clock.
9. A pressure-sensitive detection device, comprising:
the clock module is used for setting a detection period, carrying out sleep timing and outputting a first trigger signal when the sleep timing time reaches a set time;
the sampling module is connected with the clock module and used for starting after receiving the first trigger signal, sampling the pressure-sensitive signal and outputting a second trigger signal after the sampling is finished;
and the microprocessor is connected with the sampling module and used for starting after receiving the second trigger signal, performing algorithm identification on the pressure-sensitive signal to acquire touch information, outputting a third trigger signal to the clock module, and triggering the clock module again to perform dormancy timing.
10. The pressure-sensitive detection device according to claim 9, comprising: the sampling module and the microprocessor are configured to be in a closed state in the process of sleep timing of the clock module.
11. The pressure-sensitive detection device according to claim 9, wherein the clock module includes a first clock oscillation unit and a second clock oscillation unit, an oscillation frequency of the first clock oscillation unit being lower than an oscillation frequency of the second clock oscillation unit; the first clock oscillation unit is used for conducting sleep timing, and the second clock oscillation unit is used for starting up after the sleep timing reaches a set time, and providing clock signals for the sampling module and the microprocessor.
12. The pressure-sensitive detection device of claim 9, wherein the sampling module is configured to sequentially sample the pressure-sensitive signals generated by the plurality of pressure sensors; the pressure sensing detection device also comprises a power supply module which is used for respectively providing working voltage for the plurality of pressure sensors; the power supply module is configured to provide working voltage only to the pressure sensor corresponding to the current sampling channel; or, the sampling module is used for simultaneously sampling pressure-sensitive signals generated by a plurality of pressure sensors, and the power supply module is configured to simultaneously provide operating voltages to the plurality of pressure sensors.
13. The pressure-sensitive detection device according to claim 9, wherein the sampling module comprises a first switch unit and a sampling unit, the first switch unit is configured to activate the sampling unit after receiving the first trigger signal; the sampling unit is used for sampling the pressure-sensitive signal and outputting the second trigger signal after sampling is finished; the microprocessor includes: the second switch unit is used for starting the processing unit after receiving the second trigger signal; the processing unit is used for carrying out algorithm identification processing on the pressure sensing signal and outputting the third trigger signal after the algorithm identification is finished.
14. The pressure-sensitive detection device according to claim 13, wherein the sampling module further includes a comparing unit, configured to compare the pressure-sensitive signal sampled by the sampling unit with a trigger threshold, and output a second trigger signal when the pressure-sensitive signal is greater than or equal to the trigger threshold, otherwise output a third trigger signal, and trigger the timing module to perform sleep timing again.
15. The pressure-sensitive detection device according to claim 9, further comprising: the sampling module is configured to enter a shutdown state during algorithmic identification of the pressure-sensitive signal by the microprocessor.
16. The pressure-sensitive detection device of claim 9, wherein the clock module is configured to set the detection period according to a device status of a device in which the pressure-sensitive detection device is located.
17. The pressure sensing apparatus according to claim 16, wherein the clock module is configured to update the detection period according to a device status or keep the detection period unchanged before receiving the third trigger signal and performing sleep timing.
18. An electronic device characterized by comprising the pressure-sensitive detection apparatus according to any one of claims 9 to 17.
CN202010992398.7A 2020-09-21 2020-09-21 Pressure-sensitive detection device, pressure-sensitive detection method, and electronic apparatus Pending CN112187245A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010992398.7A CN112187245A (en) 2020-09-21 2020-09-21 Pressure-sensitive detection device, pressure-sensitive detection method, and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010992398.7A CN112187245A (en) 2020-09-21 2020-09-21 Pressure-sensitive detection device, pressure-sensitive detection method, and electronic apparatus

Publications (1)

Publication Number Publication Date
CN112187245A true CN112187245A (en) 2021-01-05

Family

ID=73955561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010992398.7A Pending CN112187245A (en) 2020-09-21 2020-09-21 Pressure-sensitive detection device, pressure-sensitive detection method, and electronic apparatus

Country Status (1)

Country Link
CN (1) CN112187245A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113176056A (en) * 2021-03-31 2021-07-27 中煤科工集团重庆研究院有限公司 Energy-saving device and method for monitoring concrete stress strain

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364993A (en) * 2008-09-09 2009-02-11 北京时代凌宇科技有限公司 Method and apparatus for reducing sensor node dormancy power consumption
CN101480334A (en) * 2008-01-10 2009-07-15 清华大学 Full visual acquisition system for organism in body cavity
CN103899357A (en) * 2014-01-10 2014-07-02 北京华安奥特科技有限公司 System and method for real-time visual monitoring and early warning of mine floor water disasters
CN104427678A (en) * 2013-08-21 2015-03-18 无锡来德电子有限公司 Energy saving control method, device, circuit and LED fluorescent lamp employing same
CN105357402A (en) * 2015-11-27 2016-02-24 努比亚技术有限公司 Low-power-consumption management method for pressure sensor, and mobile terminal
CN106610330A (en) * 2016-12-23 2017-05-03 江西飞尚科技有限公司 Long-term automatic online cable force monitoring system based on vibration method
CN108155897A (en) * 2017-12-12 2018-06-12 上海灿瑞科技股份有限公司 A kind of low power consumption switch Hall sensor
CN110174211A (en) * 2019-04-23 2019-08-27 深圳市荣盛智能装备有限公司 A kind of gas cylinder air pressure detection method, device, electronic equipment and the medium of low-power consumption
CN111179600A (en) * 2020-02-24 2020-05-19 深圳市迅朗科技有限公司 Simplified multimode vehicle detector

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101480334A (en) * 2008-01-10 2009-07-15 清华大学 Full visual acquisition system for organism in body cavity
CN101364993A (en) * 2008-09-09 2009-02-11 北京时代凌宇科技有限公司 Method and apparatus for reducing sensor node dormancy power consumption
CN104427678A (en) * 2013-08-21 2015-03-18 无锡来德电子有限公司 Energy saving control method, device, circuit and LED fluorescent lamp employing same
CN103899357A (en) * 2014-01-10 2014-07-02 北京华安奥特科技有限公司 System and method for real-time visual monitoring and early warning of mine floor water disasters
CN105357402A (en) * 2015-11-27 2016-02-24 努比亚技术有限公司 Low-power-consumption management method for pressure sensor, and mobile terminal
CN106610330A (en) * 2016-12-23 2017-05-03 江西飞尚科技有限公司 Long-term automatic online cable force monitoring system based on vibration method
CN108155897A (en) * 2017-12-12 2018-06-12 上海灿瑞科技股份有限公司 A kind of low power consumption switch Hall sensor
CN110174211A (en) * 2019-04-23 2019-08-27 深圳市荣盛智能装备有限公司 A kind of gas cylinder air pressure detection method, device, electronic equipment and the medium of low-power consumption
CN111179600A (en) * 2020-02-24 2020-05-19 深圳市迅朗科技有限公司 Simplified multimode vehicle detector

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113176056A (en) * 2021-03-31 2021-07-27 中煤科工集团重庆研究院有限公司 Energy-saving device and method for monitoring concrete stress strain

Similar Documents

Publication Publication Date Title
EP3106997B1 (en) On-chip sensor hub, and mobile device and multi-sensor management method therefor
Priyantha et al. Littlerock: Enabling energy-efficient continuous sensing on mobile phones
US20140368423A1 (en) Method and system for low power gesture recognition for waking up mobile devices
CN107317924B (en) Mobile terminal and dormancy method of mobile terminal
CN104850214A (en) Method for shortening wakeup time of mobile terminal through prediction of user wakeup intention
CN109033247B (en) Application program management method and device, storage medium and terminal
US11614790B2 (en) Electronic pen, method and device for controlling electronic pen, and computer-readable storage medium
US20230188139A1 (en) Ultra-low power adaptively reconfigurable system
CN110853644A (en) Voice wake-up method, device, equipment and storage medium
CN111103963A (en) Fingerprint module starting method and device, storage medium and terminal
CN110806816A (en) Touch detection method, MCU, touch control equipment and storage medium
CN112187245A (en) Pressure-sensitive detection device, pressure-sensitive detection method, and electronic apparatus
CN204256444U (en) A kind of ultra-low power consumption wireless intelligent control system being applicable to body sense or Sound control
CN109917133B (en) Low-power-consumption glucometer controlled by magnetic control switch and control method thereof
EP3654624B1 (en) Screen state control method and device, storage medium, and mobile terminal
US8115747B2 (en) Energy-efficient touch panel device and related method
CN107832131B (en) Application program closing method and device, storage medium and electronic equipment
CN113031749A (en) Electronic device
CN107422194B (en) Screen static detection control method, storage device and mobile terminal
US9001071B2 (en) Energy-efficient touch panel device and related method
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
CN103109386B (en) For reducing equipment and the method for the energy ezpenditure in the monitoring component of multiple piezoelectric element
CN115129138A (en) Power consumption control method, power consumption control system, storage medium, and electronic device
CN111355836A (en) Flashlight control method and device, storage medium and mobile terminal
US20240168514A1 (en) Autonomous adaptively reconfigurable system

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