Signal processing circuit, signal processing method, key assembly and electronic device

By designing a signal processing circuit in the electronic device, and using the first sensor, trigger and timer to judge the effective touch action, the problem of continuous power consumption of the electronic device due to solid-state buttons in the shutdown state is solved, and the effect of reducing power loss and preventing power consumption is achieved.

CN118449507BActive Publication Date: 2025-03-14HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311479668.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-07
Publication Date
2025-03-14
Estimated Expiration
2043-11-07

AI Technical Summary

Technical Problem

The electronic device is exhausted due to continuous power consumption of solid-state buttons when it is turned off.

Method used

A signal processing circuit is designed, including a first sensor, a flip-flop and a timer, and determines whether the startup process of the electronic device is effectively triggered by the amplitude and duration of the analog signal, thereby avoiding the continuous use of ADCs with high power consumption.

Benefits of technology

It effectively reduces the power loss of electronic equipment in the shutdown state and prevents equipment failures caused by power exhaustion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118449507B_ABST
    Figure CN118449507B_ABST
Patent Text Reader

Abstract

The present application provides a signal processing circuit, a signal processing method, a key assembly and an electronic device. The signal processing circuit includes a first sensor, a trigger, a timer and a controller. The first sensor outputs a first analog signal in response to the first key being touched when the electronic device is turned off. The trigger outputs a high-level signal in response to the amplitude of the first analog signal being greater than or equal to the first amplitude threshold. The timer detects the duration of the high-level signal in response to receiving the high-level signal, and outputs a first timer signal when the duration is greater than or equal to the first preset duration threshold. The controller sleeps when the electronic device is turned off, and when the first timer signal is received, it is activated from the sleep state to trigger the startup process of the electronic device. The signal processing circuit of the present application does not need to obtain a digital signal through an analog-to-digital converter to wake up the controller in the sleep state, which can reduce the power consumption of the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of electronic circuits, and in particular to a signal processing circuit, a signal processing method, a key assembly and an electronic device. Background Art

[0002] Solid-state buttons are a type of button device that uses solid-state electronic component technology. Compared to traditional mechanical buttons, solid-state buttons do not rely on physical contact or mechanical movement to sense the pressing action, but detect and respond to key operations through changes in solid-state electronic components. Therefore, compared to traditional mechanical buttons, solid-state buttons have higher reliability, longer life, and faster response. For example, solid-state buttons can be applied to electronic devices to realize functions such as power buttons and volume up and down buttons.

[0003] The solid-state button may include a touch sensing layer, one or more sensors, an analog front end (AFE) and a processor. The touch sensing layer is used for user touch, and the sensor can be used to detect the touch action and convert it into an analog signal. The analog front end may include a programmable gain amplifier (PGA) and an analog-to-digital converter (ADC). The PGA can be used to amplify the analog signal of the sensor, and the ADC can be used to sample the analog signal, obtain a digital signal and send it to the processor. The processor can convert the signal received from the analog front end into a specific control signal to control the electronic device, such as turning on the electronic device or adjusting the volume.

[0004] In actual applications, when an electronic device is turned off, in order for the solid-state button to promptly sense the user's operation of the power button and respond accordingly, it is necessary to maintain the power supply status of the sensor, multi-way selection switch and analog front end. The processor will also consume power when performing a series of logic and operations. This requires the power supply module of the electronic device to continuously supply power to devices such as sensors, multi-way selection switches, analog front ends and processors. However, devices such as ADC in the analog front end are devices with high power consumption, and maintaining the ADC operation will consume a lot of electricity. If the electronic device is not turned on for a long time, the solid-state button continues to consume power, which may cause the electronic device to run out of power. Summary of the invention

[0005] The embodiments of the present application provide a signal processing circuit, a signal processing method, a key assembly and an electronic device to solve the problem that when the electronic device is in a shutdown state, the solid-state keys continue to consume power, resulting in high power consumption of the electronic device.

[0006] In a first aspect, an embodiment of the present application provides a signal processing circuit, applied to an electronic device, including:

[0007] The first sensor is coupled to the first button, and is configured to output a first analog signal in response to the first button being touched when the electronic device is powered off; the amplitude of the first analog signal is positively correlated with the force and / or area with which the first button is touched; in this way, the first sensor generates a first analog signal with different amplitudes based on the amplitude of the touch action of the first button or the touch area of ​​the first button, so that the trigger determines whether the first analog signal is valid based on the amplitude of the first analog signal.

[0008] A trigger, wherein the input end of the trigger is electrically connected to the output end of the first sensor, and is configured to output a high-level signal in response to the amplitude of the first analog signal being greater than or equal to a first amplitude threshold; the first amplitude threshold can be used as a restriction condition so that when the trigger receives the first analog signal, it determines whether to output a high-level signal based on the first amplitude threshold.

[0009] A timer is electrically connected to the output end of the trigger and is configured to detect the duration of the high-level signal in response to receiving a high-level signal, and to output a first timer signal when the duration is greater than or equal to a first preset duration threshold; the first preset duration threshold also serves as a restriction condition, and the timer compares the duration of the high-level signal with the first preset duration threshold, and can output a first timer signal for activating the controller when the duration of the high-level signal is greater than or equal to the first preset duration threshold.

[0010] The controller is electrically connected to the output end of the timer and is configured to sleep when the electronic device is in a shutdown state, and, in response to receiving a first timer signal, activate from the sleep state to trigger a startup process of the electronic device. After being activated by the first timer signal, the controller can trigger the startup process of the electronic device, thereby switching the electronic device from the shutdown state to the startup state.

[0011] The signal processing circuit provided in the embodiment of the present application can trigger the power-on process of the electronic device based on the signal transmission between the first sensor, the trigger and the controller. During the signal transmission process, there is no need to perform analog-to-digital conversion on the first analog signal generated by the first sensor, thereby reducing the power consumption of the electronic device when the electronic device is in the shutdown state.

[0012] In one achievable manner, the signal processing circuit further includes a bypass switch and a power control unit; wherein the output end of the first sensor is electrically connected to the input end of the bypass switch, the output end of the bypass switch is electrically connected to the input end of the trigger, and the control end of the bypass switch is electrically connected to the power control unit. When the electronic device is in the off state, only the first sensor, the trigger and the power control unit are in operation, thereby reducing the power consumption of the electronic device in the off state. Wherein, the power control unit is configured to periodically close the bypass switch according to a first preset frequency when the electronic device is in the off state, so that the output end of the trigger is periodically electrically connected to the output end of the first sensor. The power control unit periodically closes the bypass switch according to the first preset frequency to reduce the power consumption in the signal processing circuit.

[0013] In one achievable manner, the controller is further configured to, in response to the electronic device being turned off, turn on the power control unit, and write the first preset frequency into the register of the power control unit. The controller is further configured to write the first preset duration threshold into the register of the timer; and after the first preset duration threshold is written into the register of the timer, enter the dormant state. In this way, when the electronic device is turned off, the power control unit can control the on and off of the bypass switch according to the first preset frequency, so that the timer can calculate the duration of the high-level signal. The timer can output a first timer signal to wake up the controller in the dormant state when the duration of the high-level signal is greater than or equal to the first preset duration threshold.

[0014] In an achievable manner, the controller is further configured to write a second preset frequency into a register of a power control unit in response to the electronic device being turned on, wherein the second preset frequency is greater than the first preset frequency; the controller is further configured to write a second preset duration threshold into a register of a timer, wherein the second preset duration threshold is less than the first preset duration threshold; after writing the second preset frequency into the register of the power control unit, the controller puts the power control unit into hibernation. After the electronic device is turned on, the extra power consumed by the electronic device due to the power control unit can be reduced by putting the power control unit into hibernation.

[0015] In one achievable manner, the signal processing circuit further includes at least one second sensor and a multi-way selection switch; wherein the first sensor is further configured to output a first analog signal in response to the first button being touched when the electronic device is powered on. When the electronic device is powered on, the first analog signal output by the first sensor can be used to trigger a shutdown process or a wake-up process of the electronic device. wherein at least one second sensor is coupled to at least one second button, and is configured to output a second analog signal in response to the at least one second button being touched when the electronic device is powered on; the second analog signal is used to trigger a function associated with the second button.

[0016] The first input end of the multi-way selection switch is electrically connected to the output end of the first sensor to form a first branch; the second input end of the multi-way selection switch is electrically connected to the output end of at least one second sensor to form at least one second branch; the controller is electrically connected to the control end of the multi-way selection switch and is configured to alternately conduct the first branch and at least one second branch according to a third preset frequency.

[0017] When the signal processing circuit includes a first sensor and a plurality of second sensors, the analog signals sent by the plurality of sensors can be received in turn through the multi-way selection switch, and the probability of signal conflict in the signal processing circuit can be reduced.

[0018] In an achievable manner, the signal processing circuit further includes an amplifier circuit and an analog-to-digital conversion circuit; wherein the input end of the amplifier circuit is electrically connected to the output end of the multi-way selection switch, the output end of the amplifier circuit is electrically connected to the input end of the analog-to-digital conversion circuit, and the amplifier circuit is configured to amplify the first analog signal or the second analog signal output by the multi-way selection switch. The signal-to-noise ratio of the signal can be improved by the amplifier circuit to transmit the effective information in the signal. wherein the output end of the analog-to-digital conversion circuit is electrically connected to the controller, and the analog-to-digital conversion circuit is configured to perform analog-to-digital conversion on the amplified first analog signal to obtain a first digital signal, and input the first digital signal to the controller, or perform analog-to-digital conversion on the amplified second analog signal to obtain a second digital signal, and input the second digital signal to the controller; the analog-to-digital conversion circuit is used to convert the analog signal into a digital signal recognizable by the controller. wherein the controller is further configured to adjust the operating state of the electronic device based on the first digital signal or the second digital signal. the controller can parse the digital signal and trigger the electronic device to perform a function associated with the digital signal.

[0019] In one achievable manner, the input end of the amplifier circuit is electrically connected to the output end of the bypass switch, the output end of the amplifier circuit is electrically connected to the input end of the trigger, and the amplifier circuit is further configured to: when the bypass switch is closed, amplify the first analog signal transmitted via the bypass switch. In this way, when the bypass switch is connected, the trigger can receive the first analog signal amplified by the amplifier circuit, which is conducive to enhancing the responsiveness of the trigger.

[0020] In one achievable manner, the controller is further configured to wake up the power control unit and enter the sleep state in response to the electronic device entering the sleep state. When the electronic device enters the sleep state, the controller and the controller-related circuit enter the sleep state to reduce power consumption. By waking up the power control unit, the first sensor, the trigger, and the timer can be operated with lower power consumption, and the controller and the electronic device can be activated according to the touch operation.

[0021] In an achievable manner, the timer is further configured to output a second timer signal when the duration of the high-level signal is greater than or equal to a second preset duration threshold; the controller is further configured to activate from a dormant state and wake up the electronic device in response to receiving the second timer signal. The second timer signal has a different application scenario from the first timer signal, and the second timer signal is used to wake up the controller from a dormant state when the electronic device is in a dormant state.

[0022] In one achievable method, the power control unit, trigger and timer are integrated into an ASIC chip. ASIC is a special integrated circuit. After the circuit is debugged to confirm its key conditions such as operation logic and wiring layout, mass production is conducive to reducing production costs. In addition, the power consumption of ASIC chips is relatively low. Combined with the low-power circuit design of the power control unit, trigger and timer, it is conducive to reducing the power consumption of electronic equipment when it is turned off or in sleep mode.

[0023] In a second aspect, an embodiment of the present application provides a signal processing method, which is applied to the signal processing circuit in the first aspect, including:

[0024] In response to a first button being touched when the electronic device is powered off, a first analog signal is generated; the amplitude of the first analog signal is positively correlated with the force and / or area with which the first button is touched; when the amplitude of the first analog signal is greater than or equal to a first amplitude threshold, a high-level signal is generated; by detecting the duration of the high-level signal; when the duration is greater than or equal to a first preset duration threshold, a first timer signal is generated; and the power-on process of the electronic device is triggered based on the first timer signal.

[0025] In a third aspect, an embodiment of the present application provides a key assembly, comprising a first key, at least one second key, and a signal processing circuit as in the first aspect, wherein the first key is coupled to a first sensor of the signal processing circuit, and the at least one second key is coupled to at least one second sensor of the signal processing circuit.

[0026] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising at least a housing, a processor, a memory, and a key assembly as in the first aspect. The key assembly is fixed to the housing. The memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the signal processing method as in the second aspect.

[0027] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on an electronic device, the electronic device executes the signal processing method in the second aspect described above.

[0028] In a sixth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the signal processing method in the second aspect as described above.

[0029] It can be understood that the electronic devices, computer-readable storage media and computer program products provided in the above-mentioned aspects are all applied to the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A schematic diagram of a solid-state button application provided in an embodiment of the present application;

[0031] Figure 2 A circuit diagram of a solid-state button provided in an embodiment of the present application;

[0032] Figure 3 A power-on flow chart of an electronic device including a solid-state button provided in an embodiment of the present application;

[0033] Figure 4 A schematic diagram of the structure of a first signal processing circuit provided in an embodiment of the present application;

[0034] Figure 5 A schematic diagram of triggering the power-on of an electronic device based on a signal processing circuit provided in an embodiment of the present application;

[0035] Figure 6 A schematic diagram of the interaction between the controller and the system on chip provided in an embodiment of the present application;

[0036] Figure 7 A schematic diagram of the structure of a second signal processing circuit provided in an embodiment of the present application;

[0037] Figure 8 A timing diagram of a trigger and a timer provided in an embodiment of the present application;

[0038] Fig. 9 A schematic diagram of the structure of a third signal processing circuit provided in an embodiment of the present application;

[0039] Fig.10 A schematic diagram of the structure of a fourth signal processing circuit provided in an embodiment of the present application;

[0040] Fig.11 A schematic diagram of a fifth signal processing circuit structure provided in an embodiment of the present application;

[0041] Fig.12 A schematic diagram of a sixth signal processing circuit structure provided in an embodiment of the present application;

[0042] Fig.13 A schematic diagram of the structure of a seventh signal processing circuit provided in an embodiment of the present application;

[0043] Fig.14 A schematic diagram of a timer provided in an embodiment of the present application waking up a controller based on a second preset duration threshold;

[0044] Fig.15 A schematic diagram of the hardware structure of the MCU provided in the embodiment of the present application;

[0045] Fig.16 A flowchart of a signal processing method provided in an embodiment of the present application;

[0046] Fig.17 A flowchart of a signal processing method executed by a signal processing circuit provided in an embodiment of the present application. DETAILED DESCRIPTION

[0047] The technical solution of the embodiment of the present application will be clearly described below in conjunction with the drawings in the embodiment of the present application.

[0048] In the description of this application, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, "at least one" means one or more, and "plurality" means two or more. The words "first", "second", etc. do not limit the quantity and execution order, and the words "first", "second", etc. do not limit them to be different.

[0049] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in this application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0050] The following first describes the application scenarios of the embodiments of the present application.

[0051] Solid-state buttons are a type of button device that uses solid-state electronic component technology. Compared to traditional mechanical buttons, solid-state buttons do not rely on physical contact or mechanical movement to sense the pressing action, but instead sense the key operation through solid-state electronic components, and further detect and respond to the key operation by causing the resistance value of the solid-state electronic components to change due to the force of the key operation or the temperature of the surface of the solid-state electronic components. Therefore, compared to traditional mechanical buttons, solid-state buttons have higher reliability, longer life, and faster response.

[0052] Figure 1 A schematic diagram of the solid-state button application provided in an embodiment of the present application.

[0053] like Figure 1 As shown, in actual applications, the solid-state button can be applied to electronic devices such as mobile phones and tablet computers. For example, the solid-state button can be used as a power button 1 (PWR button), a volume up button 2, a volume down button 3 or a home button of an electronic device, so that the electronic device can realize the corresponding functions.

[0054] The working principle of solid-state buttons is usually based on technologies such as capacitive touch, resistive touch or surface acoustic wave. The most common type is solid-state buttons based on touch sensors. Touch sensors can sense user operations by detecting touch or approaching objects and simulate the triggering action of mechanical buttons. Touch sensors can be capacitive, resistive or other types, depending on the design and application requirements. The following are some common types of solid-state buttons:

[0055] 1. Capacitive touch buttons: button operation is achieved by detecting the capacitance change caused by human approach or touch. This type of button usually uses an electrode array and a touch controller to achieve touch sensitivity, contactless and multi-touch functions.

[0056] 2. Resistive touch buttons: Use resistive materials or thin film sensors. When the user touches the button surface, the resistance changes. The circuit detects the resistance change to determine whether the user has pressed the button.

[0057] 3. Surface acoustic wave key: Using ultrasonic sensors or surface acoustic wave sensors, when a finger touches the key area, it will produce reflection or attenuation of the acoustic wave signal. The key operation is achieved by detecting the change of the sound wave.

[0058] Figure 2 A circuit diagram of a solid-state button provided in an embodiment of the present application.

[0059] Solid-state buttons may include a touch-sensitive layer ( Figure 2The touch sensing layer is covered on the key area and serves as the surface layer of the solid-state key for the user to touch. The touch sensing layer is usually a layer of transparent material, such as glass or plastic.

[0060] like Figure 2 As shown, the circuit 10 of the solid-state button may include one or more sensors, which are key components for detecting touch actions and converting them into electrical signals. According to different technical principles, solid-state buttons can use different types of sensors, such as capacitive sensors, resistive sensors, or surface acoustic wave sensors. In practical applications, a solid-state button may include multiple sensors, for example: sensor 151-sensor 15N. Among them, sensor 151 may correspond to the power button 1; sensor 15N may correspond to other buttons of the electronic device, such as the volume up button 2 or the volume down button 3, etc., which are not specifically limited here.

[0061] Continue to see Figure 2 The circuit 10 of the solid-state button may also include a microcontroller unit (MCU), which specifically includes an analog front end 100 (AFE) and a controller 140. The analog front end 100 is an analog signal front end amplifier or amplification circuit, which is used to receive the analog signal transmitted by the sensor and perform some processing on the analog signal. Specifically, the analog front end may include a multiplexer 110 (MUX), and the sensors 151-sensor 15N are all connected to the multiplexer 110. The multiplexer 110 can be used to select the signal channels of different sensors. For example, when the multiplexer 110 selects the signal channel of sensor 151, the analog front end 100 can collect the electrical signal of sensor 151, which is generally a differential signal. Correspondingly, when the multiplexer selects the signal channel of sensor 15N, the analog front end can collect the electrical signal of sensor 15N. The acquisition frequency of the analog front end can be determined based on actual needs, for example, it can be 50Hz to 100Hz.

[0062] The analog front end 100 may also include a signal amplification circuit, which may include at least two programmable gain amplifiers (PGA), such as amplifier 121 and amplifier 122. Amplifier 121 and amplifier 122 may perform two-stage amplification on the analog signal collected by the sensor to improve the quality and stability of the analog signal.

[0063] The analog front end 100 may further include a converter 130 (Analog-to-Digital Converter, ADC), which is used to sample the amplified analog signal to obtain a digital signal that can be understood and responded to by the controller 140. Afterwards, the converter 130 may input the sampled digital signal into the controller 140.

[0064] The controller 140 may be a chip or integrated circuit designed for key operation, responsible for processing the signal received from the analog front end 100, and determining the type and intention of the touch operation according to the preset logic and algorithm. Then, according to the user's touch operation type and instruction, the signal received from the analog front end 100 is converted into a specific control signal to control the host computer to execute the corresponding function or command. The host computer here may refer to the electronic device used by the solid-state key. The solid-state key and the electronic device can communicate through an interface module, such as an I2C interface or an SPI interface. Figure 2 In the text, the host computer is referred to as System on a Chip (SoC). For example, when a solid-state button is applied to a smartphone, the host computer here refers to the smartphone. Based on the preset logic and algorithm, the solid-state button can realize functions such as controlling the device to turn on, increase the volume, and decrease the volume. When the control signal is sent from the interface module to the electronic device, the electronic device can respond accordingly.

[0065] Figure 3 A power-on flowchart of an electronic device including solid-state buttons provided in an embodiment of the present application.

[0066] based on Figure 2 The circuit diagram of the solid-state button provided can be followed Figure 3 The solid-state button operation process shown in FIG. 1 is used to trigger the electronic device to start up. Figure 3 As shown, for an electronic device including a solid-state button, a conventional power-on process may include the following steps:

[0067] S1, when the electronic device is in a shutdown state, the controller 140 is activated from the sleep state according to a preset frequency, and controls the multi-way selection switch 110 and the analog front end 100 to be turned on in the activated state.

[0068] The controller 140 is activated at a preset frequency, can receive a power-on signal in the circuit, and trigger a power-on process of the electronic device when receiving the power-on signal.

[0069] S2, under the control of the controller 140, the multi-way selection switch 110 selects a signal channel corresponding to one of the signal channels of the multiple sensors.

[0070] For example, the multi-way selection switch 110 can select the signal channel #1 corresponding to the sensor 151.

[0071] S3, if the sensor 151 detects a touch action, the sensor 151 may convert the touch action into an analog signal. If the sensor 151 does not detect a touch action, the process proceeds to step S6.

[0072] The sensor 151 includes but is not limited to a force sensor and a temperature sensor. For example, when the sensor 151 is a force sensor, the sensor 151 can sense the force of the touch action, generate an analog signal based on the force of the touch action, and send the analog signal to the analog front end 100 .

[0073] S4, the amplifier in the analog front end 100 can amplify the analog signal step by step.

[0074] Amplifier 121 and amplifier 122 can amplify analog signals, so that the parameters such as the amplitude of the analog signals meet the input range of the device in the circuit for receiving the analog signals. It can be understood that based on the characteristics of the amplifiable signal, the amplifier can increase the signal input range of the circuit in which it is located. When the signal input range is required to be high, a multi-stage amplifier can also be set in the circuit, for example, amplifier 121 and amplifier 122 are selected to form a step-by-step amplification circuit.

[0075] S5 , the converter 130 may sample the analog signal to obtain a digital signal and send the digital signal to the controller 140 .

[0076] The converter 130 may convert the analog signal into a digital signal so as to facilitate recognition by the controller 140 .

[0077] S6, maintain the detection state.

[0078] When the electronic device is in the off state, the buttons and sensors 15N for triggering the functions of the electronic device are not in operation, so it is only necessary to keep the sensor 151 associated with the power button in operation to detect the touch action.

[0079] S7, the controller 140 can determine whether the duration of the key being pressed continuously exceeds a set threshold based on the digital signal. If it exceeds the set threshold, a control signal for powering on the electronic device is sent. If it does not exceed the set threshold, the process goes to step S6.

[0080] There is a possibility that a user may accidentally touch a button of an electronic device, so based on the set threshold, the situation where the electronic device is turned on due to an accidental touch can be reduced.

[0081] Exemplarily, when the electronic device is in the off state, if the user wants to turn on the electronic device, the user can press the touch sensing layer corresponding to the sensor 151. The sensor 151 can detect the touch action and generate a corresponding analog signal. The analog signal is sent to the analog front end 100 through the signal channel #1 connected to the multi-way selection switch 110. The analog front end can process the analog signal to obtain the corresponding digital signal, and send the digital signal to the controller 140. The controller 140 can determine whether the duration of the solid-state key being continuously pressed exceeds a set threshold based on the received digital signal; if it exceeds the set threshold, the controller 140 can generate an RST reset signal and send the reset signal to the SoC300 of the electronic device through the interface module to turn on the electronic device.

[0082] It is understandable that when the electronic device is in the off state, in order for the solid-state button to promptly sense the user's operation of the power button and respond accordingly, it is necessary to maintain the power supply state of the sensor 151, the multi-way selection switch 110 and the analog front end 100, and the controller 140 will also consume power when performing a series of logic and operations, which requires the power supply module of the electronic device to continue to supply power to components such as the sensor 151, the multi-way selection switch 110, the analog front end 100 and the controller 140. However, the converter 130 in the analog front end 100 is a device with high power consumption, and maintaining the operation of the converter 130 will consume a lot of electricity. If the electronic device is not turned on for a long time, the solid-state button continues to consume power, which may cause the electronic device to run out of power. It can be seen that the existing electronic devices have the problem of excessive power consumption when turned off.

[0083] The embodiment of the present application provides a signal processing circuit 20, which can use a bypass switch 260 and other circuit designs to allow the analog signal to bypass the analog-to-digital conversion circuit, and allow the analog signal to flow to and drive the timer 290. When the continuous timing of the timer 290 reaches a preset threshold, the driving controller 140 is started. After that, the controller 140 can run and turn on the electronic device. In this way, when the electronic device is not turned on, it only needs to drive a low-power circuit such as the timer 290, and there is no need to continuously drive the analog-to-digital conversion circuit and the processor, which can reduce the power consumption of the signal processing circuit 20 and save the power of the electronic device.

[0084] The signal processing circuit 20 provided in the embodiment of the present application can be applied to electronic devices with solid buttons. The electronic devices include but are not limited to mobile phones, tablet computers, personal computers, workstation devices, large-screen devices (e.g., smart screens, smart TVs, etc.), wearable devices (e.g., smart bracelets, smart watches), handheld game consoles, home game consoles, virtual reality devices, augmented reality devices, mixed reality devices, etc., in-vehicle smart terminals, etc.

[0085] Figure 4A schematic diagram of the structure of a first signal processing circuit provided in an embodiment of the present application.

[0086] In some embodiments, the signal processing circuit 20 is composed of a first sensor 251, a bypass switch 260, a trigger 270, a timer 290 and a controller 240. The first sensor 251 can be coupled to a key provided on the housing of the electronic device, and the key coupled to the first sensor 251 can be a power key. The first sensor 251 can detect the touch operation on the key and generate an analog signal. The output end of the first sensor 251 is electrically connected to the input end of the bypass switch 260, the output end of the bypass switch 260 is electrically connected to the input end of the trigger 270, the output end of the trigger 270 is electrically connected to the input end of the timer 290, and the output end of the timer 290 is electrically connected to the input end of the controller 240.

[0087] The bypass switch 260 has a similar function to a conventional switch, that is, when the bypass switch 260 is closed, the circuit where the bypass switch 260 is located is open; when the bypass switch 260 is open, the circuit where the bypass switch 260 is located is open.

[0088] The trigger 270 may be composed of a combinational logic circuit, a sequential logic circuit, or a combinational logic circuit and a sequential logic circuit. In practical applications, the trigger 270 generally includes two stable states, namely "0" or "1" for indicating a logic state. In some embodiments, the trigger 270 may determine the current logic state based on an analog signal and output a signal. For example, when the trigger 270 determines that the current logic state is 1 based on the analog signal, a high level signal may be output.

[0089] The timer 290 has a counting function, and thus can be used to calculate the duration of the high level signal output by the trigger. In some embodiments, the timer 290 can be implemented by a hardware watchdog circuit.

[0090] The controller 240 has control logic, so it can configure the devices in the signal processing circuit 20, and can also perform actions associated with the signal when receiving the signal. In some embodiments, the controller 240 receives a signal sent by the timer 290 and can be awakened from the sleep state.

[0091] Figure 5 A schematic diagram of triggering the power-on of an electronic device based on a signal processing circuit provided in an embodiment of the present application.

[0092] based on Figure 4 The structure of the signal processing circuit 20 is shown as Figure 5As shown, in some embodiments, the signal processing circuit 20 can be used to wake up an electronic device that is in a shutdown state. It should be noted that when the electronic device is in a shutdown state, the controller 240 in the signal processing circuit 20 is in a dormant state. When the bypass switch 260 (bypass) of the signal processing circuit 20 is closed, the first sensor 251, the trigger 270, and the timer 290 together form a wake-up circuit to wake up the controller 240 in a dormant state based on the analog signal generated by the first sensor 251, and then trigger the power-on process of the electronic device through the controller 240.

[0093] like Figure 4 As shown, the first sensor 251 can be used in conjunction with a key to detect a touch action and trigger the electronic device to perform a related function. Figure 4 The first sensor 251 shown in FIG. 1 is coupled to the first button, and the first sensor 251 is configured to output a first analog signal in response to the first button being touched when the electronic device is powered off. When the first button receives a touch action, the first sensor 251 can detect the touch action and generate a first analog signal based on the touch action.

[0094] It is understandable that due to different touch action strengths, the detection effects of the first sensor 251 are different, and thus the amplitudes of the first analog signals generated are different. In some embodiments, the amplitude of the first analog signal is positively correlated with the strength or area of ​​the first key being touched. That is, the greater the amplitude of the touch action, the greater the area of ​​the first key being touched, and the greater the amplitude of the first analog signal generated by the first sensor 251.

[0095] In some implementations, the first sensor 251 may be a capacitive sensor or a resistive sensor. When the first sensor 251 is a capacitive sensor, the amplitude of the signal output by the first sensor 251 is related to the area of ​​the first key being touched. Specifically, when the capacitive sensor senses human touch, the capacitive sensor generates an analog signal, the amplitude of which depends on the change in the capacitance value of the capacitive sensor, and the change in the capacitance value is related to the contact area of ​​the human body. The larger the area of ​​the human body contacting the capacitive sensor (first key), the greater the change in the capacitance value, and accordingly, the greater the amplitude of the generated analog signal. When the first sensor 251 is a resistive sensor, the amplitude of the signal output by the first sensor 251 is related to the strength of the first key being touched. Specifically, when the resistive sensor senses human touch, the resistive sensor generates an analog signal, the amplitude of which depends on the change in the resistance value of the resistive sensor, and the change in the resistance value is related to the touch strength of the human body. The greater the strength of the human body touching the resistive sensor (first key), the greater the change in the resistance value, and the greater the amplitude of the generated analog signal.

[0096] In some implementations, the amplitude of the first analog signal may refer to a voltage amplitude, with the unit being volt V or millivolt mV.

[0097] The first sensor 251 can send the generated first analog signal to the trigger 270 via the closed bypass switch 260. The trigger 270 is configured to output a high level signal in response to the amplitude of the first analog signal being greater than or equal to the first amplitude threshold. The trigger 270 can output a corresponding signal according to the relationship between the first amplitude threshold and the amplitude of the first analog signal.

[0098] like Figure 5 As shown, by setting the first amplitude threshold, the trigger 270 outputs a high level signal only when the amplitude of the first analog signal is greater than or equal to the first amplitude threshold. This can effectively reduce the situation where the electronic device startup process is triggered due to accidental touch of the electronic device button, thereby consuming the power of the electronic device.

[0099] In some implementations, the trigger 270 may be a Schmitt Trigger. Specifically, the Schmitt Trigger includes two threshold voltages: a high level threshold and a low level threshold. When the amplitude of the input signal exceeds the high level threshold, the output state of the Schmitt Trigger switches from a low level (usually a logic "0") to a high level (usually a logic "1"). When the amplitude of the input signal is lower than the low level threshold, the output state switches from a high level back to a low level. When a Schmitt Trigger is used to implement the function of the trigger 270, the high level threshold of the Schmitt Trigger may be configured as the first amplitude threshold described above.

[0100] In some implementations, for the Schmit trigger, when the amplitude of the input signal is between the high level threshold and the low level threshold, the output state remains unchanged. That is, before the amplitude of the input signal changes, the output state is high, and after the amplitude of the input signal increases or decreases, if the amplitude of the input signal is between the high level threshold and the low level threshold, the output state is still high. The embodiment of the present application can also set a second amplitude threshold for the trigger 270, and the second amplitude threshold corresponds to the low level threshold of the Schmit trigger. Then, when the touch force decreases so that the amplitude of the input signal is lower than the second amplitude threshold, or when the touch stops and the input signal disappears, the trigger 270 can output a low level.

[0101] Therefore, when the first button is touched in the power-off state of the electronic device, the first sensor 251 can output the first analog signal. When the touch force or the contact area is large enough, the amplitude of the first analog signal can be greater than the first amplitude threshold, so that the trigger 270 can output a high-level signal. When the touch force or the contact area is not large enough, or when the touch stops, the amplitude of the first analog signal is less than the second amplitude threshold, so that the trigger 270 can output a low-level signal.

[0102] Furthermore, the trigger 270 sends a high level signal to the timer 290. Figure 4 The timer 290 shown in the figure is electrically connected to the output end of the trigger 270, and is configured to detect the duration of the high-level signal in response to receiving a high-level signal, and output a first timer signal when the duration is greater than or equal to a first preset duration threshold.

[0103] When the first button is accidentally touched, the touched area or the amplitude of the accidental touch operation is large enough to cause the amplitude of the first analog signal generated by the first sensor 251 to be greater than or equal to the first amplitude threshold, and then when the trigger 270 receives the first analog signal generated by the accidental touch operation, it will output a high level to the timer 290.

[0104] Therefore, the timer 290 can further reduce the probability of power consumption caused by the electronic device being turned on due to an accidental touch operation by setting a first preset time threshold, thereby achieving the effect of "long press to turn on". It can be understood that the touch time of the accidental touch operation is usually short, so the duration of the high-level signal output by the trigger 270 due to the accidental touch operation is also short. The specific value of the first preset time threshold can be set according to actual needs, for example, it can be equal to 8s, which is not limited here.

[0105] like Figure 5 As shown, when the duration of the high-level signal is greater than or equal to the first preset duration threshold, the timer 290 sends the first timer signal to the controller 240; when the duration of the high-level signal is less than or equal to the first preset duration threshold, the timer 290 does not respond to the high-level signal output by the trigger 270. In this way, the situation of triggering the electronic device startup process due to an accidental touch operation and consuming the power of the electronic device can be further effectively reduced.

[0106] The timer 290 may send a first timer signal to the controller 240 to wake up the controller 240 in a dormant state. Figure 4The controller 240 shown is electrically connected to the output end of the timer 290, and is configured to sleep when the electronic device is in the off state, and, in response to receiving the first timer signal, activate from the sleep state to trigger the power-on process of the electronic device. When the electronic device is in the off state, the controller 240 is in the sleep state to reduce the power consumption in the signal processing circuit 20. When the controller 240 receives the first timer signal, it can be activated from the sleep state and trigger the power-on process of the electronic device.

[0107] Figure 6 A schematic diagram of the interaction between the controller and the system on chip provided in an embodiment of the present application.

[0108] like Figure 6 As shown, the signal processing circuit 20 can be integrated into an MCU (Microcontroller Unit). The controller 240 in the signal processing circuit 20 can be based on I 2 The C bus or SPI bus communicates with a system on chip (SoC) 300 carried by the electronic device to enable the SoC 300 to execute the power-on process of the electronic device after being activated from a sleep state.

[0109] like Figure 4-Figure 6 As shown, in the embodiment of the present application, the electronic device in the shutdown state can trigger the power-on process of the electronic device by waking up the controller 240 in the dormant state based on the wake-up circuit formed by the first sensor 251, the trigger 270, the timer 290, and the controller 240. There is no need to convert the first analog signal generated by the first sensor 251 into a digital signal recognizable by the controller 240 through the analog-to-digital converter 230, and then trigger the power-on process stage of the electronic device, thereby eliminating the power consumption of the analog-to-digital converter 230 due to the conversion of the signal, and effectively reducing the overall power consumption of the signal processing circuit 20.

[0110] Figure 7 A schematic diagram of the structure of a second signal processing circuit provided in an embodiment of the present application.

[0111] like Figure 7 As shown, the signal processing circuit 20 further includes a bypass switch 260 and a power control unit 280. The bypass switch 260 includes an input terminal and an output terminal. When the bypass switch 260 is closed, a signal can flow into the input terminal of the bypass switch 260 and flow out from the output terminal. The bypass switch 260 can also include a control terminal. The device with a control function in the signal processing circuit 20 can control the bypass switch 260 to be closed / opened based on the control terminal of the bypass switch 260. For example, when the control terminal of the bypass switch 260 receives a high-level signal, it is closed; when it receives a low-level signal, it is opened.

[0112] The power control unit 280 may be a chip or integrated circuit with control logic, and may exchange information with other devices with control logic in the signal processing circuit 20 to perform preset actions. For example, the power control unit 280 may receive a signal from the controller 240 to start or enter a sleep state.

[0113] In some embodiments, the output end of the first sensor 251 is electrically connected to the input end of the bypass switch 260, the output end of the bypass switch 260 is electrically connected to the input end of the trigger 270, and the control end of the bypass switch 260 is electrically connected to the power control unit 280. The power control unit 280 is configured to periodically close the bypass switch 260 according to a first preset frequency when the electronic device is in a shutdown state, so that the input end of the trigger 270 is periodically electrically connected to the output end of the first sensor 251. The first preset frequency can be, for example, equal to 100 Hz, and this is not specifically limited in the embodiments of the present application.

[0114] When the electronic device is in the shutdown state, the bypass switch 260 is equivalent to a switch for waking up the wake-up circuit of the controller 240. When the bypass switch 260 is closed, the first analog signal generated by the first sensor 251 can be transmitted to the trigger 270; when the bypass switch 260 is disconnected, the first analog signal generated by the first sensor 251 cannot be transmitted to the trigger 270. The power control unit 280 can control the bypass switch 260 to switch between the closed state and the disconnected state at a first preset frequency, and then when the bypass switch 260 is in the closed state, the timer 290 can detect whether the trigger 270 outputs a high-level signal, and then calculate the duration of the high-level signal, and compare the duration of the high-level signal with the first preset duration threshold to determine whether the first timer signal needs to be output.

[0115] It should be understood that when the timer 290 calculates the duration of the high-level signal, it is not necessary for the wake-up circuit to remain connected. In the embodiment of the present application, based on the control method of the power control unit 280 to periodically close the bypass switch 260, the timer 290 detects a high-level signal each time the bypass switch 260 is closed, and it can be considered that the touch operation has always existed. And the duration of the high-level signal can be calculated based on the first preset frequency.

[0116] In the embodiment of the present application, the first preset frequency can be 10 Hz, that is, the bypass switch 260 is turned on once every 100 ms, and the single turn-on time can be equal to 100 ms. The first preset time threshold can be equal to 8 s. The embodiment of the present application does not specifically limit the first preset frequency, the single turn-on time and the first preset time threshold.

[0117] Figure 8 A timing diagram of a trigger and a timer provided in an embodiment of the present application.

[0118] like Figure 8 As shown, the bypass switch 260 is turned on periodically at 10 Hz. Figure 8 As shown in (b) and (c), before the bypass switch is turned on for the nth time, the first sensor 251 does not output the first analog signal, and the trigger 270 continues to output a low level. Figure 8 As shown in (a) and (b), when the bypass switch is turned on for the nth time, the first sensor 251 outputs a first analog signal, and the amplitude of the first analog signal is greater than the first amplitude threshold. Figure 8 As shown in (c), at this time, the trigger 270 can output a high level signal, and the timer 290 can start timing. During each conduction process of the bypass switch, the amplitude of the first analog signal continues to be greater than the first amplitude threshold, and the trigger 270 can continue to output a high level signal. Figure 8 As shown in (d), at 8100 ms, the duration of the high-level signal reaches the first preset threshold, and the timer 290 times out. At this time, the timer can output a first timer signal to wake up the controller 240.

[0119] Fig. 9 A schematic diagram of the structure of a third signal processing circuit provided in an embodiment of the present application.

[0120] like Fig. 9 As shown, the power control unit 280 may include a register 2801, and the register 2801 may be used to cache the first preset frequency, so that the power control unit 280 can control the bypass switch 260 to be closed / opened periodically by accessing the first preset frequency in the register 2801. The controller 240 may write the first preset frequency into the register 2801 of the power control unit 280, that is, Fig. 9 As shown, the controller 240 is also configured to, in response to the electronic device being turned off, turn on the power control unit 280, and write the first preset duration threshold into the register 2901 of the power timer 290. The controller 240 is also configured to enter a dormant state after writing the first preset duration threshold into the register 2901 of the timer 290.

[0121] It should be noted that when the electronic device is in the on state, the power control unit 280 is in the standby state to reduce the power consumption of the electronic device. When the electronic device is in the off state, the controller 240 enters the sleep state to reduce the power consumption of the electronic device.

[0122] When the electronic device is in the shutdown state, the power control unit 280 needs to control the bypass switch 260 to close periodically to cooperate with the first sensor 251, the trigger 270, the timer 290, and the controller 240 to form a low-power wake-up circuit. Therefore, when the electronic device switches from power on to power off, the controller 240 needs to write the first preset frequency into the register 2801 of the power control unit 280, so that the power control unit 280 can control the bypass switch 260 to close periodically according to the first preset frequency after the controller 240 enters the sleep state.

[0123] When the electronic device is in the shutdown state, the timer 290 determines whether to send the first timer signal to the controller 240 according to the duration of the high-level signal output by the trigger 270. Therefore, the controller 240 needs to write the first preset duration threshold into the register 2901 of the timer 290 during the process of the electronic device switching from power on to power off, so that the timer 290 can determine whether to send the first timer signal to the controller 240 according to the first preset duration threshold after the controller 240 enters the sleep state. It should be understood that the order in which the controller 240 writes the first preset frequency into the register 2801 of the power control unit 280 and writes the first preset duration threshold into the register 2901 of the timer 290 is not limited here, and it only needs to be executed before the controller 240 enters the sleep state.

[0124] Fig.10 A schematic diagram of the structure of a fourth signal processing circuit provided in an embodiment of the present application.

[0125] When the electronic device is in the power-on state, it can enter the standby state or the sleep state to reduce the overall power consumption of the electronic device because it has not received an operation instruction for a long time. After the electronic device enters the standby state or the sleep state, the circuit can be awakened to wake up the controller 240 to wake up the electronic device. It can be understood that the response time of the electronic device switching from the standby state or the sleep state to the power-on state should be shorter than the response time switching from the shutdown state to the power-on state. Therefore, when the electronic device is turned on, the controller 240 still needs to write the second preset frequency to the register 2801 of the power control unit 280 and the second preset duration threshold to the register 2901 of the timer 290. Among them, the second preset frequency is different from the first preset frequency, and the second preset duration threshold is different from the first preset duration threshold.

[0126] like Fig.10As shown, the controller 240 is further configured to write the second preset frequency into the register 2801 of the power control unit 280 in response to the electronic device being turned on. And it is also configured to write the second preset duration threshold into the register 2901 of the timer 290. After writing the second preset frequency into the register 2801 of the power control unit 280, the controller 240 puts the power control unit 280 into hibernation.

[0127] When the electronic device is in the power-on state, the controller 240 and the power control unit 280 can sleep and reduce the power consumption of the electronic device.

[0128] Among them, based on the characteristic that the response time of switching from the standby state or the dormant state of the electronic device to the power-on state should be shorter than the response time of switching from the power-off state to the power-on state, the second preset frequency should be greater than the first preset frequency, and the second preset duration threshold should be less than the first preset duration threshold. In some embodiments, the second preset frequency can be equal to 100 Hz, that is, the bypass switch 260 is turned on once every 10 ms to improve the key response sensitivity. The single turn-on time of the bypass switch 260 can be 10 ms. The second preset duration threshold can be set to 50 ms, which is not specifically limited in the embodiments of the present application.

[0129] In this way, when the electronic device switches from the standby state to the power-on state, it will have a faster response speed.

[0130] The second preset frequency is associated with a second preset duration threshold, which is smaller than the first preset duration threshold, so that the electronic device can obtain a faster response speed when in a standby state or a dormant state.

[0131] It should be noted that, during the use of the electronic device, it will switch between the power-on, power-off, standby, sleep and other states for many times. In order to improve the space utilization of the register 2801 of the power control unit 280 and the register 2901 of the timer 290, the first preset frequency, the second preset frequency, the first preset duration threshold, and the second preset duration threshold are all stored in the register in a cache manner to avoid the problem of occupying too much storage space due to repeated writing of data into the register.

[0132] Therefore, each time the electronic device switches from the power-on state to the power-off state, the controller 240 needs to write the first preset frequency to the register 2801 of the power control unit 280, and write the first preset duration threshold to the register 2901 of the timer 290; each time the electronic device switches from the power-off state to the power-on state, the controller 240 needs to write the second preset frequency to the register 2801 of the power control unit 280, and write the second preset duration threshold to the register 2901 of the timer 290.

[0133] like Figure 1 As shown, there may be more than one solid-state button set around the electronic device. In combination with the first button in the above embodiment, the first button may be a solid-state button that triggers the power-on / power-off process of the electronic device. In the design of the electronic device, at least one second button may also be set to trigger the electronic device to perform a certain function. In some embodiments, the second button may be a volume button.

[0134] Fig.11 A schematic diagram of the structure of a fifth signal processing circuit provided in an embodiment of the present application.

[0135] like Fig.11 As shown, the signal processing circuit 20 in the embodiment of the present application further includes at least one second sensor 252 and a multi-way selection switch 210. When the electronic device is in the power-on state, the first sensor 251 and at least one second sensor 252 jointly respond to the touch operation to trigger the electronic device to perform a corresponding function.

[0136] In some embodiments, there may be multiple solid-state buttons disposed on the housing of the electronic device, and the multiple solid-state buttons are respectively coupled to sensors to trigger the electronic device to perform different functions. For example, the first button coupled to the first sensor 251 is used to trigger the electronic device to turn on / off; the second button coupled to the second sensor 252 can be used to trigger the electronic device to perform a volume adjustment function.

[0137] At this time, the first sensor 251 is also configured to output a first analog signal in response to the first button being touched when the electronic device is powered on. The first analog signal is directly sent to the controller 240. It should be noted that when the electronic device is powered on, the power control unit 280 is in a dormant state, so the bypass switch 260 is in an off state.

[0138] At least one second sensor 252 is coupled to at least one second button and is configured to output a second analog signal in response to at least one second button being touched when the electronic device is powered on. The second button coupled to the second sensor 252 includes but is not limited to a volume button, that is, different second sensors 252 can be used to trigger the electronic device to perform different functions.

[0139] It can be understood that, when there are multiple second sensors 252 , the Nth second sensor 25N can be coupled to the Nth second button, and the second sensors 252 and the second buttons can correspond one to one.

[0140] The multi-way selection switch 210 is a selection device in the signal processing circuit 20. For example, in the signal processing circuit 20, the signal channel corresponding to the first sensor 251 is #1, and the signal channel corresponding to the second sensor 252 is #2. The controller 240 can control the on-off of the signal channel #1 and the signal channel 2# by controlling the multi-way selection switch 210, which also includes periodically controlling the on-off of the signal channel #1 and the signal channel 2#.

[0141] In some embodiments, when the signal processing circuit 20 is connected to the first sensor 251 and at least one second sensor 252, multiple signals may be generated simultaneously due to the touch operation, causing signal conflicts in the signal processing circuit 20. Therefore, a multi-way selection switch 210 can be set to solve the problem of conflicts between multiple analog signals generated by multiple sensors. Among them, the first input end of the multi-way selection switch 210 is electrically connected to the output end of the first sensor 251 to form a first branch. The second input end of the multi-way selection switch 210 is electrically connected to the output end of at least one second sensor 252 to form at least one second branch. The first branch is used to transmit the first analog signal output by the first sensor 251 to the controller 240, so that the controller 240 triggers the electronic device to perform related functions according to the first analog signal; the second branch is used to transmit the second analog signal output by the second sensor 252 to the controller 240, so that the controller 240 triggers the electronic device to perform related functions according to the second analog signal.

[0142] The controller 240 can conduct the first branch or at least one second branch by controlling the conduction state of the multi-way selection switch 210. That is, the controller 240 is electrically connected to the control end of the multi-way selection switch 210, and is configured to conduct the first branch and at least one second branch in turn according to the third preset frequency. When the first branch or the second branch is in a connected state, the first analog signal output by the first sensor 251 or the second analog signal output by the second sensor 252 can be sent to the controller 240 to trigger the electronic device to perform related functions.

[0143] It is understandable that the third preset frequency should not be set too high. A larger third preset frequency may cause the branches connected to the multi-way selection switch 210 to be turned on slowly in turn, which may affect the response speed to the touch signal. For example, when the controller 240 sets the third preset frequency to 10 Hz, and the second sensor 252 is coupled to the "volume up key" and the "volume down key" respectively, the controller 240 currently controls the branch where the "volume up key" is connected, and the touch operation acts on the "volume down key", then the current signal processing circuit 20 cannot respond quickly to the current touch operation, resulting in a slow response speed of the electronic device to the touch action.

[0144] In some embodiments, the controller 240 sets the third preset frequency to 100 Hz, which is adapted to the feature of adjusting the volume of the electronic device by touch operation. Even when the second sensor 252 detects that the "volume minus key" is touched, the branch connected to the "volume minus key" is in a disconnected state. However, since the third preset frequency is only 100 Hz, that is, the branch where the "volume minus key" is located can be switched to a connected state in a short time, the second analog signal output by the second sensor 252 coupled to the "volume minus key" can be output to the controller 240. Therefore, on the basis of setting the multi-way selection switch 210, the branches connected to the multi-way selection switch 210 are turned on in turn, so that the analog signals output by the first sensor 251 and at least one second sensor 252 can be transmitted to the controller 240 on the basis of preventing signal conflicts in the signal processing circuit 20.

[0145] It should be noted that the first analog signal output by the first sensor 251 and the second analog signal output by the second sensor 252 are not easily directly recognized by the controller 240, so an analog-to-digital conversion circuit is also provided in the signal processing circuit 20 to convert the analog signal into a digital signal recognizable by the controller 240. In addition, an amplifier circuit is also provided in the signal processing circuit 20 to amplify the first analog signal or the second analog signal, which is beneficial for the controller 240 to recognize it.

[0146] Fig.12 A schematic diagram of the structure of a sixth signal processing circuit provided in an embodiment of the present application.

[0147] In some embodiments, Fig.12 As shown, the signal processing circuit 20 also includes an amplifier circuit and an analog-to-digital conversion circuit. Among them, the amplifier circuit can use an amplifier 220 (PGA, programmable gain amplifier) ​​to amplify the analog signal. Its amplification effect can be reflected in the signal amplitude of the analog signal. Then, the analog signal is within the signal input range of the analog-to-digital conversion circuit. The analog conversion circuit can use an analog-to-digital converter 230 (ADC), and the analog-to-digital converter 230 can convert the analog signal into a digital signal for easy recognition by the controller 240.

[0148] It is understandable that the amplifier 220, the analog-to-digital converter 230, and the multi-way selection switch 210 in the signal processing circuit 20 can be integrated into an analog front end AFE. In some embodiments, the analog front end includes a multi-way selection switch 210, an amplifier 220, and an analog-to-digital converter 230. The output end of the first sensor 251 or the second sensor 252 is connected to the multi-way selection switch 210, and after generating an analog signal, the analog signal is sent to the amplifier 220 in the analog front end through the multi-way selection switch. Setting the analog front end can increase the integration of the circuit to save circuit layout space.

[0149] like Fig.12 As shown, the input end of the amplifier circuit (amplifier 220) is electrically connected to the output end of the multi-way selection switch 210, and the output end of the amplifier circuit (amplifier 220) is electrically connected to the input end of the analog-to-digital conversion circuit (analog-to-digital converter 230). The amplifier circuit is configured to amplify the first analog signal or the second analog signal output by the multi-way selection switch 210.

[0150] Continue to see Fig.12 The output end of the analog-to-digital conversion circuit (analog-to-digital converter 230) is electrically connected to the controller 240, and is configured to perform analog-to-digital conversion on the amplified first analog signal to obtain a first digital signal, and input the first digital signal to the controller 240, or perform analog-to-digital conversion on the amplified second analog signal to obtain a second digital signal, and input the second digital signal to the controller 240. The controller 240 is configured to adjust the operating state of the electronic device based on the first digital signal or the second digital signal. The controller 240 can identify the digital signal and trigger the electronic device to perform a function associated with the digital signal by parsing the digital signal.

[0151] In some embodiments, the second sensor 252 detects that the second button coupled thereto is touched, generates a second analog signal, and sends the second analog signal to the amplifier 220. The amplifier 220 amplifies the second analog signal and sends it to the analog-to-digital converter 230. The analog-to-digital converter 230 converts the second analog signal into a second digital signal and sends the second digital signal to the controller 240. For example, the second button is used to trigger the electronic device to increase the volume. After receiving the second digital signal, the controller 240 triggers the electronic device to execute the process of increasing the volume.

[0152] It should be noted that when the electronic device is in the power-on state, the bypass switch 260 in the signal processing circuit 20 is in the off state. Therefore, the first analog signal output by the first sensor 251 is also output to the controller 240 via the amplifier 220 and the analog-to-digital converter 230. In some embodiments, the first digital signal obtained by the first analog signal based on the analog-to-digital converter 230 is used to characterize the standby process of triggering the electronic device, and the controller 240 identifies the first digital signal and triggers the electronic device to execute the standby process. For example, when the user clicks the first button, the electronic device can turn off the screen and enter the standby state, and when the user clicks the first button again, the electronic device can turn on the screen and exit the standby state.

[0153] It can be understood that when the electronic device is in the power-on state, compared with two-stage amplification or multi-stage amplification, by providing a single-stage amplifier 220 in the signal processing circuit 20, the power consumption in the signal processing circuit 20 can be reduced. In addition, by controlling the power control unit 280 to sleep and controlling the bypass switch 260 to be disconnected to suspend the operation of the timer 290 and the trigger 270, the power consumption can be further reduced when the electronic device is in the power-on state.

[0154] Fig.13 A schematic diagram of the structure of a seventh signal processing circuit provided in an embodiment of the present application.

[0155] like Fig.13 As described above, in some embodiments, the input end of the amplifier 220 can be connected to the output end of the bypass switch 260, and the output end of the amplifier 220 is electrically connected to the input end of the trigger 270. The amplifying circuit (amplifier 220) can also be configured to: amplify the first analog signal transmitted through the bypass switch 260 when the bypass switch 260 is closed.

[0156] When the electronic device is in the power-on state, the power control unit 280 is in the dormant state, and the bypass switch 260 is in the disconnected state without receiving the control of the power control unit 280. When the electronic device is in the dormant state or the power-off state, the power control unit 280 will be awakened, and the bypass switch 260 will be closed periodically at the first preset frequency or the second preset frequency, so as to wake up the controller 240 based on the wake-up circuit composed of the first sensor 251, the trigger 270, and the timer 290, and trigger the power-on process or the wake-up process of the electronic device.

[0157] It is understandable that when the electronic device is in a dormant state or a shutdown state, the controller 240 is in a dormant state, and the branch connected to the multi-way selection switch 210 can be regarded as a disconnected state. Therefore, by connecting the output end of the amplifier 220 to the input end of the trigger 270, the amplifier 220 is connected to the wake-up circuit, and the first analog signal can be amplified and transmitted to the trigger 270 when the electronic device is in a dormant state or a shutdown state.

[0158] That is, when triggering the power-on or wake-up process of the electronic device, a wake-up circuit with an amplifier 220 added can be used. In some embodiments, the current touch operation is used to switch the electronic device from the off state to the on state. After the first sensor 251 detects the current touch operation, it generates a first analog signal and transmits it to the amplifier 220. After the amplifier 220 amplifies the first analog signal, it transmits it to the trigger 270. The trigger 270 can output a high-level signal based on the first analog signal. When the timer 290 detects that the duration of the high-level signal exceeds the first preset duration threshold, it outputs a first timer signal to the controller 240 to wake up the controller 240 and enable the controller 240 to trigger the power-on process of the electronic device.

[0159] The relevant contents regarding the power-on process of the electronic device triggered by the wake-up circuit when the electronic device is in the off state, namely, the setting method of the first preset time threshold, the duration of the high-level signal detected by the timer 290, etc. have been described in detail in the previous text, so they will not be repeated here.

[0160] It should be noted that adding the amplifier 220 to the wake-up circuit is conducive to amplifying the first analog signal so that the trigger 270 can respond to the first analog signal. In addition, based on the function of the amplifier 220, it is conducive to improving the sensitivity of the first button to the touch operation and improving the responsiveness of the electronic device.

[0161] In other embodiments, the current touch operation is used to switch the electronic device from a sleep state to a power-on state. The first sensor 251 outputs a first analog signal after detecting the current touch operation, and the first analog signal is still propagated along the wake-up circuit, and finally the timer 290 wakes up the controller 240 to trigger the wake-up process of the electronic device when the duration of the high-level signal output by the trigger 270 is greater than or equal to the second preset duration threshold.

[0162] Similar to the above embodiment, when waking up the electronic device in sleep mode, the amplifier 220 can still amplify the first analog signal to facilitate the trigger 270 to respond to the first analog signal, thereby improving the responsiveness of the electronic device, which will not be elaborated here.

[0163] It should be noted that Fig.13 It is not only used to show the complete connection mode of the amplifier circuit, but also shows the complete connection mode of the signal processing circuit 20 provided in the embodiment of the present application. Fig.13As shown, the signal processing circuit 20 of the embodiment of the present application forms an independent wake-up circuit by setting a bypass switch 260 when the electronic device is in the off state, so that the first analog signal used to wake up the controller 240 can transmit the power-on intention represented by the current touch operation to the controller 240 without passing through the analog-to-digital converter 230, thereby reducing the power consumption of the analog-to-digital converter 230 when converting the first analog signal, thereby reducing the power consumption of the electronic device.

[0164] Among them, through the cooperation of the controller 240 and the power control unit 280, the embodiment of the present application turns on the branches connected to the multi-way selection switch 210 when the electronic device is in the power-on state, so as to trigger the electronic device to perform the function associated with the touch operation in response to the touch operation. When the electronic device is in the power-off state, the bypass switch 260 is closed periodically so that the timer 290 calculates the duration of the high-level signal output by the trigger 270, and the timer 290 wakes up the dormant controller 240. Among them, the controller 240 controls the startup of the power control unit 280 to enable part of the circuits in the signal processing circuit 20 when the electronic device is in different operating states, thereby reducing the power consumption of the electronic device.

[0165] As mentioned in the above embodiments, the controller 240 turns on the power control unit 280 in response to the electronic device entering the shutdown state, and writes the first preset frequency and the first preset duration threshold to the register of the power control unit 280 and the register of the timer 290, respectively. Similar to when the electronic device enters the shutdown state, the controller 240 wakes up the power control unit 280 when the electronic device enters the sleep state, that is, the controller 240 is also configured to wake up the power control unit 280 and enter the sleep state in response to the electronic device entering the sleep state. The controller 240 entering the sleep state can reduce the power consumption of the electronic device.

[0166] like Fig.10 As shown, when the electronic device switches from the off state to the on state, the second preset frequency is written to the power control unit 280, and the second preset duration threshold is written to the timer 290. The setting method of the second preset frequency and the second preset duration threshold has been described in detail above and will not be repeated here. It can be understood that when the electronic device is in the on state and is not shut down, the data representing the second preset frequency stored in the register 2801 of the power control unit 280 will not be updated, and the data representing the second preset duration threshold stored in the register 2901 of the timer 290 will not be updated, thereby reducing the power loss caused by repeated writing of data by the controller 240.

[0167] It is worth noting that the power control unit 280 is configured to periodically close the bypass switch 260 according to the second preset frequency when the electronic device is in a dormant state based on the second preset frequency stored in its register. Fig. 9 In the relevant embodiment, at 100 Hz, the single on-time of the bypass switch 260 may be 10 ms. That is, after the power control unit 280 controls the bypass switch 260 to close for 10 ms, it controls the bypass switch 260 to open for 10 ms, and controls the bypass switch 260 to close for 10 ms again after the bypass switch 260 is opened for 10 ms, and repeatedly performs the action of controlling the bypass switch 260 to close and open.

[0168] When the bypass switch 260 is in a closed state, the first sensor 251, the amplifier 220, the trigger 270, and the timer 290 in the signal processing circuit 20 form a wake-up circuit. When the first sensor 251 outputs the first analog signal, the trigger 270 continuously outputs a high-level signal to the timer 290, and the timer 290 calculates the duration of the high-level signal based on the second preset duration threshold.

[0169] It is understandable that when the electronic device switches from the sleep state to the power-on state, the trigger 270 may also include a step of determining whether the amplitude of the first analog signal is greater than or equal to the first amplitude threshold before outputting a high-level signal to the timer 290. However, the first amplitude threshold at this time may be different from or the same as the first amplitude threshold when the electronic device switches from the shutdown state to the power-on state, and is not limited here. The specific setting of the first amplitude threshold can be combined with preventing the electronic device from losing power due to accidental touches and quickly responding to touch operations that wake up the electronic device, so as to improve the overall performance of the electronic device.

[0170] Fig.14 A schematic diagram of a timer provided in an embodiment of the present application waking up a controller based on a second preset duration threshold.

[0171] like Fig.14 As shown, in order to prevent the situation where the electronic device is awakened by an accidental touch operation and thus causes power consumption, the timer 290 needs to judge the validity of the current touch operation according to the second preset duration threshold when receiving the high-level signal. That is, the timer 290 is also configured to output the second timer signal when the duration of the high-level signal is greater than or equal to the second preset duration threshold.

[0172] In some embodiments, the timer 290 detects that the duration of the high-level signal is greater than or equal to the second preset duration threshold, and outputs a second timer signal to the controller 240 to wake up the controller 240. Fig. 9In a related embodiment, the second preset duration threshold may be 50ms. With the trigger 270 outputting a high level signal to the timer 290 at time 0 as a reference, the timer 290 detects a high level signal at 0-60ms, and the timer 290 determines that the current high level signal is continuously output for 60ms, and 60ms is greater than or equal to the second preset duration threshold 50ms, so the timer 290 outputs a second timer signal to the controller 240.

[0173] It should be noted that the second timer signal is different from the first timer signal, and the second timer signal is used to wake up the controller 240 in the sleep state when the electronic device is in the sleep state.

[0174] The controller 240 is used to receive the second timer signal, that is, the controller 240 is also configured to activate from the sleep state and wake up the electronic device in response to receiving the second timer signal. After the controller 240 is activated from the sleep state, Figure 6 As shown, it is possible to communicate with the SoC 300 carried by the electronic device to trigger the wake-up process of the electronic device.

[0175] It can be understood that in the embodiment of the present application, when the electronic device is in a dormant state, the controller 240 is awakened by the wake-up circuit composed of the first sensor 251, the power control unit 280, the bypass switch 260, the amplifier 220, the trigger 270 and the timer 290, and the electronic device is further awakened. In this way, the controller 240 can be activated from the dormant state without using the digital signal output by the analog-to-digital converter 230 as an activation signal, thereby saving the power consumed by the analog-to-digital converter 230 when performing analog-to-digital conversion on the analog signal.

[0176] In addition, compared with the first preset frequency and the first preset time threshold, the controller 240 uses a larger second preset frequency and a smaller second preset time threshold when setting the second preset frequency and the second preset time threshold to improve the response speed of the wake-up circuit, which is beneficial to improving the response speed of the electronic device.

[0177] Fig.15 A schematic diagram of the hardware structure of the MCU provided in an embodiment of the present application.

[0178] like Fig.15As shown, in some embodiments, the controller 240, the power control unit 280, the trigger 270, and the timer 290 can all be integrated into an MCU (microcontroller unit), and the power control unit 280, the trigger 270, and the timer 290 are all fixed components in the wake-up circuit mentioned in the embodiments of the present application, and when the wake-up circuit is connected, they all operate in a fixed manner. Therefore, in some embodiments, the power control unit 280, the trigger 270, and the timer 290 can also be integrated into an ASIC (Application Specific Integrated Circuit) chip.

[0179] ASIC chips are highly customized and can avoid redundant logic units, processors, registers, storage units and other architectures during design. They are constructed in the form of pure digital logic circuits, which is conducive to reducing the chip area and thus improving the space utilization rate inside electronic devices. In addition, because there are fewer redundant architectures on ASIC chips, the energy consumption of ASIC chips is lower, which is conducive to further reducing the power loss in the signal processing circuit 20.

[0180] Continuing with the above embodiment, an ASIC chip integrating a power control unit 280, a trigger 270 and a timer 290 can be mounted on an MCU and together form a signal processing circuit 20 to respond to touch operations and trigger the electronic device to execute related processes according to the touch operations, which is beneficial to reducing the power consumption of the electronic device and enhancing the battery life of the electronic device.

[0181] Fig.16 A flowchart of a signal processing method provided in an embodiment of the present application.

[0182] like Fig.16 As shown, an embodiment of the present application provides a signal processing method, the method comprising:

[0183] S100: In response to a first key being touched when the electronic device is powered off, generating a first analog signal.

[0184] S200: When the amplitude of the first analog signal is greater than or equal to a first amplitude threshold, generate a high level signal.

[0185] S300: Detect the duration of the high-level signal.

[0186] S400: When the duration is greater than or equal to a first preset duration threshold, generate a first timer signal.

[0187] S500: triggering a power-on process of the electronic device based on the first timer signal.

[0188] In some embodiments, the signal processing method provided in the present application can be applied to the signal processing circuit 20. The signal processing circuit 20 is connected to a plurality of sensors, including a sensor coupled to the first key. When the first key is touched, the sensor generates a first analog signal and inputs it to the signal processing circuit 20. The amplitude of the first analog signal is positively correlated with the touch force and / or area of ​​the first key.

[0189] The trigger 270 in the signal processing circuit can receive the first analog signal, and the trigger 270 outputs a high-level signal to the timer 290 in the signal processing circuit. The timer 290 can detect the duration of the high-level signal, and determine whether to generate a first timer signal to trigger the power-on process of the electronic device in combination with the first preset duration threshold. When the duration of the high-level signal is greater than or equal to the first preset duration threshold, the timer 290 can output the first timer signal to the controller 240 in the signal processing circuit to trigger the power-on process of the electronic device.

[0190] Fig.17 A flowchart of a signal processing method executed by a signal processing circuit provided in an embodiment of the present application.

[0191] like Fig.17 As shown, the signal processing circuit can be Fig.13 In the signal processing circuit 20 shown in FIG. 1 , in some embodiments, the flow of executing the signal processing method by each component in the signal processing circuit 20 is as follows:

[0192] S10: Preparation before sampling: system clock is turned on.

[0193] In the preparation stage, the system clock can generate a clock signal according to the clock frequency to drive various components in the signal processing circuit to perform pre-configured functions, such as driving the power control unit 280 in the signal processing circuit to read its register 2801.

[0194] S20: The multi-way selection switch is closed, the bypass switch is closed, the amplifier is turned on, the analog-to-digital converter is turned off, and the controller is in sleep mode.

[0195] When the multi-way selection switch 210 is closed and the bypass switch 260 is closed, only the wake-up circuit composed of the first sensor 251, the bypass switch 260, the amplifier 220, the trigger 270, the power control unit 280, and the timer 290 in the signal processing circuit 20 is kept running to wake up the controller 240. When the electronic device is turned off, the remaining branches in the signal processing circuit 20 stop running to reduce the power consumption of the signal processing circuit 20.

[0196] S30: The sampling of the signal channel where the bypass switch is located is turned on.

[0197] The signal channel where the bypass switch is located refers to the wake-up circuit composed of the first sensor 251, the bypass switch 260, the amplifier 220, the trigger 270, the power control unit 280, and the timer 290. Among them, sampling refers to the process in which the sensor in the signal processing circuit detects the touch operation of the coupled key, generates an analog signal, and sends the analog signal to the amplifier 220, the trigger 270 and other devices.

[0198] S40: The amplifier amplifies the sampled analog signal.

[0199] When the amplifier 220 receives the first analog signal sent by the sensor 251, it can amplify the first analog signal and send it to the trigger 270. The analog signal can be generated by the sensor 251 detecting a touch operation on the coupled power key 1.

[0200] S50: The trigger receives the amplified analog signal and outputs a high-level signal.

[0201] When the signal amplitude of the first analog signal received by the trigger 270 is greater than or equal to the preset first amplitude threshold, a high level signal can be sent to the timer. It is understandable that the trigger 270 receives the first analog signal during each sampling period and continuously outputs a high level signal.

[0202] S60: The trigger sends a high signal to the hardware watchdog.

[0203] When the trigger 270 outputs a high-level signal, it sends the high-level signal to the hardware watchdog. The hardware watchdog refers to a timer circuit that can be used to calculate the duration of a specified signal. When the specified signal is not received, a reset operation can be performed, that is, re-timing. In the embodiment of the present application, the specified signal can refer to the high-level signal output by the trigger 270.

[0204] S70: If the duration of the high-level signal is greater than or equal to a first preset duration threshold, the hardware watchdog sends a first timer signal to the controller.

[0205] The first preset duration threshold is a pre-configured threshold. The hardware watchdog can compare the duration of the high-level signal with the first preset duration threshold. When the duration of the high-level signal is greater than or equal to the first preset duration threshold, the hardware watchdog can send a first timer signal to the controller to wake up the controller; when the duration of the high-level signal is less than the first preset duration threshold, a reset operation is performed or timing continues to continuously detect the duration of the high-level signal.

[0206] By comparing the duration of the high-level signal with the first preset duration threshold, the probability of erroneously triggering the electronic device startup process due to an erroneous touch operation can be reduced, thereby reducing the power consumption of the electronic device.

[0207] S80: After receiving the first timer signal, the controller is activated from the sleep state.

[0208] The controller 240 may be pre-configured with a response method to the first timer signal. For example, the controller 240 in a sleep state may be activated from the sleep state upon receiving the first timer signal.

[0209] S90: The controller triggers the electronic device startup process.

[0210] The controller 240 can 2 C bus or SPI bus establishes communication with the SoC of the electronic device, and after activation, sends a power-on signal to the SoC to trigger the power-on process of the electronic device.

[0211] Continuing with the above embodiment, when the electronic device is in the off state, when the first sensor 251 coupled to the power button detects a touch operation on the power button, a first analog signal is generated and sent to the amplifier 220 through the closed bypass switch 260. After receiving the analog signal, the amplifier 220 amplifies the first analog signal and sends it to the trigger. The trigger 270 receives the amplified first analog signal, outputs a high-level signal, and sends the high-level signal to the hardware watchdog (timer 290). When the duration of the high-level signal exceeds the first preset duration threshold, the hardware watchdog sends a first timer signal to the controller 240. The controller 240 receives the first timer signal, is activated from the sleep state, and sends a power-on signal to the SoC to trigger the power-on process of the electronic device.

[0212] The signal processing method provided in the embodiment of the present application does not need to convert the first analog signal generated by the first sensor through an analog-to-digital converter, so as to wake up the controller and trigger the power-on process of the electronic device through the converted digital signal. Instead, the controller is woken up by the signal transmission between the first sensor, the trigger, the timer and the controller in the signal processing circuit, and the power-on process of the electronic device is triggered. The power consumed by the analog-to-digital converter when performing analog-to-digital conversion is omitted, thereby reducing the power consumption when triggering the power-on process of the electronic device, which is conducive to enhancing the endurance of the electronic device.

[0213] The present application also provides a key assembly, including a first key, at least one second key, and a signal processing circuit mentioned in the signal circuit related embodiment. The first key is coupled to a first sensor of the signal processing circuit, and the at least one second key is coupled to at least one second sensor of the signal processing circuit.

[0214] The present application also provides an electronic device, comprising: at least a housing, a key assembly such as in the key assembly embodiment, a processor and a memory. The key assembly is fixed to the housing. The memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the signal processing method mentioned in the signal processing method embodiment.

[0215] The embodiment of the present application also provides a chip system, which includes at least one processor and at least one interface circuit. The processor and the interface circuit can be interconnected by lines. For example, the interface circuit can be used to receive signals from other devices (such as a memory of an electronic device). For another example, the interface circuit can be used to send signals to other devices. Exemplarily, the interface circuit can read instructions stored in the memory and send the instructions to the processor. When the instruction is executed by the processor, the electronic device can perform the various steps in the above embodiments. Of course, the chip system can also include other discrete devices, which is not specifically limited in the embodiment of the present application.

[0216] An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step executed in the above-mentioned method embodiment.

[0217] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, it enables the computer to execute each function or step executed in the above method embodiment.

[0218] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0219] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0220] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0221] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0222] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0223] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A signal processing circuit, characterized in that: Used in electronic equipment, including: A first sensor is coupled to the first button, wherein the first sensor is configured to output a first analog signal in response to the first button being touched when the electronic device is powered off; the amplitude of the first analog signal is positively correlated with the force and / or area of ​​the first button being touched; a trigger, the input terminal of the trigger being electrically connected to the output terminal of the first sensor, and being configured to output a high level signal in response to the amplitude of the first analog signal being greater than or equal to a first amplitude threshold; a timer, electrically connected to the output terminal of the trigger, configured to detect the duration of the high-level signal in response to receiving the high-level signal, and output a first timer signal when the duration is greater than or equal to a first preset duration threshold; The controller is electrically connected to the output end of the timer and is configured to sleep when the electronic device is in a shutdown state, and, in response to receiving the first timer signal, activate from the sleep state to trigger the power-on process of the electronic device.

2. The signal processing circuit according to claim 1, characterized in that: Also includes a bypass switch and a power control unit; The output end of the first sensor is electrically connected to the input end of the bypass switch, the output end of the bypass switch is electrically connected to the input end of the trigger, and the control end of the bypass switch is electrically connected to the power control unit; The power control unit is configured to, when the electronic device is in a shutdown state, periodically close the bypass switch at a first preset frequency so that the input end of the trigger is periodically electrically connected to the output end of the first sensor.

3. The signal processing circuit according to claim 2, characterized in that: The controller is further configured to, in response to the electronic device being turned off, turn on the power control unit and write the first preset frequency into a register of the power control unit; The controller is further configured to write the first preset duration threshold into a register of the timer; Furthermore, the controller is further configured to enter a sleep state after writing the first preset duration threshold into the register of the timer.

4. The signal processing circuit according to claim 3, characterized in that: The controller is further configured to write a second preset frequency into a register of the power control unit in response to the electronic device being powered on, wherein the second preset frequency is greater than the first preset frequency; The controller is further configured to write a second preset duration threshold into a register of the timer, wherein the second preset duration threshold is smaller than the first preset duration threshold; The controller is further configured to put the power control unit into sleep mode after writing the second preset frequency into a register of the power control unit.

5. The signal processing circuit according to claim 4, characterized in that: The signal processing circuit also includes at least one second sensor and a multi-way selection switch; The first sensor is further configured to output the first analog signal in response to the first button being touched when the electronic device is powered on; The at least one second sensor is coupled to the at least one second button and is configured to output a second analog signal in response to the at least one second button being touched when the electronic device is powered on; The first input end of the multi-way selection switch is electrically connected to the output end of the first sensor to form a first branch; The second input end of the multi-way selection switch is electrically connected to the output end of the at least one second sensor to form at least one second branch; The controller is electrically connected to the control end of the multi-way selection switch, and is configured to conduct the first branch and the at least one second branch in turn according to a third preset frequency.

6. The signal processing circuit according to claim 5, characterized in that: The signal processing circuit also includes an amplifier circuit and an analog-to-digital conversion circuit; The input end of the amplifier circuit is electrically connected to the output end of the multi-way selection switch, and the output end of the amplifier circuit is electrically connected to the input end of the analog-to-digital conversion circuit, and is configured to amplify the first analog signal or the second analog signal output by the multi-way selection switch; The output end of the analog-to-digital conversion circuit is electrically connected to the controller, and is configured to perform analog-to-digital conversion on the amplified first analog signal to obtain a first digital signal, and input the first digital signal to the controller, or perform analog-to-digital conversion on the amplified second analog signal to obtain a second digital signal, and input the second digital signal to the controller; The controller is further configured to adjust an operating state of the electronic device based on the first digital signal or the second digital signal.

7. The signal processing circuit according to claim 6, characterized in that: The input end of the amplifier circuit is electrically connected to the output end of the bypass switch, and the output end of the amplifier circuit is electrically connected to the input end of the trigger. The amplifier circuit is also configured to: when the bypass switch is closed, amplify the first analog signal transmitted through the bypass switch.

8. The signal processing circuit according to claim 7, characterized in that: The controller is further configured to wake up the power control unit in response to the electronic device entering a sleep state, and enter a sleep state; The power control unit is further configured to periodically close the bypass switch at the second preset frequency when the electronic device is in a dormant state.

9. The signal processing circuit according to claim 8, characterized in that: The timer is further configured to output a second timer signal when the duration of the high level signal is greater than or equal to the second preset duration threshold; The controller is further configured to activate and wake up the electronic device from a sleep state in response to receiving the second timer signal.

10. The signal processing circuit according to claim 2, characterized in that: The power control unit, the trigger and the timer are integrated into an ASIC chip.

11. A signal processing method, characterized in that: The signal processing circuit according to any one of claims 1 to 10 comprises a first sensor, a trigger, a timer and a controller; and the method comprises: In response to a first button being touched when the electronic device is powered off, the first sensor generates a first analog signal; the amplitude of the first analog signal is positively correlated with the force and / or area of ​​the first button being touched; When the amplitude of the first analog signal is greater than or equal to a first amplitude threshold, the trigger generates a high level signal; The timer detects the duration of the high level signal; When the duration is greater than or equal to a first preset duration threshold, the timer generates a first timer signal; The controller triggers a power-on process of the electronic device based on the first timer signal.

12. A key assembly, characterized in that: comprising a first button, at least one second button and a signal processing circuit as claimed in any one of claims 1 to 10; The first button is coupled to the first sensor of the signal processing circuit, and the at least one second button is coupled to the at least one second sensor of the signal processing circuit.

13. An electronic device, characterized in that: At least comprising a housing, a processor, a memory and a key assembly as claimed in claim 12; Wherein, the button assembly is fixed to the housing; The memory stores program instructions, and when the program instructions are executed by the processor, the electronic device executes the signal processing method according to claim 11.

Citation Information

Patent Citations

  • Touch response method and mobile terminal

    CN106325698A

  • Startup and shutdown control circuit

    CN115113564A