Awakening device of MCU (Microprogrammed Control Unit) and electronic equipment

By designing isolation and trigger modules, the problem of multiple pins being occupied by MCU wake-up methods is solved, achieving low-cost compatibility with multiple wake-up methods while occupying only one MCU pin.

CN223977559UActive Publication Date: 2026-03-06SHENZHEN KTC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-03-03
Publication Date
2026-03-06

AI Technical Summary

Technical Problem

In existing technologies, the wake-up method of an MCU occupies multiple pin resources, which increases the cost of the pins.

Method used

The design employs an isolation module and multiple trigger modules. The trigger modules output the same trigger signal, and the isolation module controls the MCU to exit sleep mode when it receives any trigger signal, occupying only one MCU pin.

Benefits of technology

It reduces the use of MCU pin resources, lowers pin costs, and achieves compatibility with multiple wake-up methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223977559U_ABST
    Figure CN223977559U_ABST
Patent Text Reader

Abstract

The utility model discloses an MCU wake-up device and an electronic device, comprising an isolation module and N different trigger modules, the N different trigger modules output trigger signals when satisfying wake-up conditions, the isolation module isolates the plurality of trigger signals and transmits the trigger signals to an MCU, and the MCU receives the trigger signals from the isolation module. And the MCU quits the dormant state when receiving the wake-up signal. In the scheme, the trigger signals output by the plurality of trigger modules are the same, the isolation module can perform isolation, the isolation module controls the MCU to retreat sleep when receiving any trigger signal, and the mode only occupies one pin of the MCU, so that the use of MCU pin resources is reduced, and the pin cost is also reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of MCU wake-up, and in particular to an MCU wake-up device and electronic device. Background Technology

[0002] With the advocacy of green living, commonly used electronic devices in people's lives have also started energy-saving modes. Specifically, the MCU (Microcontroller Unit) in electronic devices can shut down unused resources and enter sleep mode according to its own working scenario, at which point the electronic device enters a low-power mode. In the existing technology, there may be multiple ways for the MCU to exit sleep mode, that is, wake up mode. However, each wake-up mode occupies one pin of the MCU, resulting in multiple wake-up modes occupying multiple pins of the MCU, consuming more pin resources and increasing pin costs. Utility Model Content

[0003] The purpose of this invention is to provide a wake-up device and electronic device for an MCU. The trigger signals output by multiple trigger modules are the same. The isolation module can isolate the MCU and control the MCU to exit sleep mode when it receives any trigger signal. This method only occupies one pin of the MCU, reducing the use of MCU pin resources and reducing pin costs.

[0004] To solve the above-mentioned technical problems, this utility model provides a wake-up device for an MCU, including an isolation module and N different trigger modules;

[0005] The output terminals of N trigger modules are connected one-to-one with the N input terminals of the isolation module. All of them are used to output trigger signals when the wake-up condition is met, and the trigger signals output by the N trigger modules are the same.

[0006] The output of the isolation module is connected to the MCU and is used to isolate multiple trigger signals when multiple trigger signals are received. When any trigger signal is received, a wake-up signal is sent to the MCU so that the MCU can exit sleep mode when it receives the wake-up signal.

[0007] Optionally, the triggering module includes:

[0008] The adapter detection module has an input terminal for connecting to the power supply of the adapter and an output terminal for connecting to the control terminal of the first switching transistor. The output terminal is used to control the first switching transistor to disconnect for a preset time when the adapter detection module is connected to the adapter, and to control the first switching transistor to turn on when the adapter is not connected.

[0009] The first switching transistor has its first terminal connected to the first terminal of the first resistor and the input terminal of the isolation module, and its second terminal grounded, which is used to output a trigger signal when the adapter is connected.

[0010] The first resistor has its second end connected to the power supply.

[0011] Optionally, the adapter detection module includes:

[0012] The first capacitor has its first end connected to the power supply of the adapter and its second end connected to the input of the voltage divider module.

[0013] Voltage divider module, the first terminal of the second resistor at the output terminal of the voltage divider module;

[0014] The second resistor has its second end connected to the control terminal of the second switching transistor.

[0015] The second switch has its first end connected to the first end of the third resistor and the control end of the first switch, and its second end grounded. It is used to conduct for a preset time when the adapter detection module is connected to the adapter and to disconnect when the adapter is not connected.

[0016] The third resistor has its second end connected to the power supply.

[0017] Optionally, the triggering module includes:

[0018] The button has its first terminal grounded.

[0019] The button detection module has its input end connected to the second end of the button and its output end connected to the control end of the third switch. It is used to control the third switch to turn off when the user presses the button and to control the third switch to turn on when the user releases the button.

[0020] The fourth resistor has its first end connected to the power supply and its second end connected to the first end of the third switching transistor.

[0021] The third switch, with its second terminal grounded, is used to output a trigger signal when the user presses a button.

[0022] Optionally, the key detection module includes:

[0023] The fifth resistor has its first end connected to the power supply, and its second end connected to the second end of the button and the first end of the sixth resistor.

[0024] The sixth resistor has its second end connected to the control terminal of the third switching transistor.

[0025] Optionally, it also includes:

[0026] The second capacitor has its first terminal connected to the second terminal of the button, and its second terminal is grounded.

[0027] Optionally, the triggering module includes:

[0028] The sensor's output is connected to the input of the touch module to generate a touch signal when the user touches it.

[0029] The touch module has its output terminal connected to the first terminal of the seventh resistor and the input terminal of the isolation module, respectively. It is used to output a trigger signal when a touch signal is received and to stop outputting the trigger signal when no touch signal is received.

[0030] The seventh resistor has its second terminal connected to the power supply.

[0031] Optionally, the isolation module includes:

[0032] There are N diodes, with the anodes of each diode connected to the output terminals of the N trigger modules, and the cathodes of the N diodes interconnected, with the common terminal connected to the MCU.

[0033] To address the aforementioned issues, this invention also provides an electronic device, including a wake-up device for the MCU as described above, wherein the wake-up device is connected to the MCU.

[0034] Optionally, it also includes:

[0035] The third capacitor has its first terminal connected to the MCU's power supply pin and its second terminal grounded.

[0036] This invention provides a wake-up device and electronic device for an MCU, including an isolation module and N distinct trigger modules. When a wake-up condition is met, each trigger module outputs a trigger signal. The isolation module isolates these trigger signals and transmits them to the MCU. Upon receiving a trigger signal, the MCU exits its sleep state. In this solution, the trigger signals output by the multiple trigger modules are identical. The isolation module provides isolation, and upon receiving any trigger signal, it controls the MCU to exit sleep mode. This method utilizes only one pin of the MCU, reducing the use of MCU pin resources and lowering pin costs. Attached Figure Description

[0037] To more clearly illustrate the technical solutions in the embodiments of this utility model, the drawings used in the prior art and embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0038] Figure 1 A schematic diagram of a wake-up device for an MCU provided by this utility model;

[0039] Figure 2A flowchart of a MCU wake-up device provided by this utility model;

[0040] Figure 3 A schematic diagram of the trigger module in a wake-up device for an MCU provided by this utility model;

[0041] Figure 4 A schematic diagram of the trigger module in another MCU wake-up device provided by this utility model;

[0042] Figure 5 A schematic diagram of the trigger module in another MCU wake-up device provided by this utility model;

[0043] Figure 6 A schematic diagram of an isolation circuit for a wake-up device of an MCU provided by this utility model;

[0044] Figure 7 This is a circuit diagram of an MCU provided by the present invention. Detailed Implementation

[0045] The core of this invention is to provide a wake-up device and electronic device for an MCU. The trigger signals output by multiple trigger modules are the same. The isolation module can isolate the MCU and control the MCU to exit sleep mode when it receives any trigger signal. This method only occupies one pin of the MCU, reducing the use of MCU pin resources and also reducing pin costs.

[0046] To make the objectives, technical solutions, and advantages of the embodiments of this utility model clearer, the technical solutions of the embodiments of this utility model will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this utility model, not all embodiments. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of this utility model.

[0047] Please refer to Figure 1 and Figure 2 , Figure 1 A schematic diagram of a wake-up device for an MCU provided by this utility model; Figure 2 A flowchart of a MCU wake-up device provided by this utility model.

[0048] The wake-up device of the MCU3 includes an isolation module 2 and N different trigger modules 1;

[0049] The output terminals of N trigger modules 1 are connected one-to-one with the N input terminals of isolation module 2, and are all used to output trigger signals when the wake-up condition is met, and the trigger signals output by the N trigger modules 1 are the same.

[0050] The output of isolation module 2 is connected to MCU3. It is used to isolate multiple trigger signals when multiple trigger signals are received, and to send a wake-up signal to MCU3 when any trigger signal is received, so that MCU3 can exit sleep mode when it receives the wake-up signal.

[0051] In this application, the wake-up device of MCU3 includes N trigger modules 1. When the N trigger modules 1 meet their respective wake-up conditions, they will issue N kinds of trigger signals, and these N kinds of trigger signals are the same. The isolation module 2 isolates the N kinds of trigger signals, and when the isolation module 2 receives any of the N kinds of trigger signals, it can send a wake-up signal to MCU3. When MCU3 receives the wake-up signal, it will exit the sleep state.

[0052] Specifically, taking N trigger modules 1 as an example, namely the first trigger module, the second trigger module, and the third trigger module, these three trigger modules are responsible for receiving and processing trigger signals from trigger sources. For example, the first trigger module is responsible for receiving and processing adapter insertion wake-up, the second trigger module is responsible for receiving and processing button SW action wake-up, and the third trigger module is responsible for receiving and processing touch screen wake-up. These three sets of trigger modules transmit the processed trigger signals to the isolation module 2, which is responsible for isolating the received trigger signals. At the same time, the isolation module 2 transmits the trigger signals to the MCU3, so that the trigger modules do not affect each other. According to the signal transmitted by the isolation module 2, if the wake-up condition is met, the MCU3 exits the deep sleep mode and enters the normal working mode; if the wake-up condition is not met, the MCU3 continues to maintain the deep sleep mode.

[0053] It should be noted that the first trigger module can output a trigger signal when the adapter is connected, the second trigger module 12 can output a trigger signal when the user presses the button SW, and the third trigger module 13 can output a trigger signal when the user touches the panel. The isolation module 2 isolates these three trigger signals and outputs them to the MCU3. When the MCU3 receives the trigger signal, it exits the sleep state.

[0054] As can be seen above, the trigger signals output by multiple trigger modules are the same. The N trigger signals can be isolated by the isolation module 2. When the isolation module 2 receives any trigger signal, it controls the MCU3 to exit sleep mode. This method only occupies one pin of the MCU3, which reduces the use of the MCU3 pin resources and also reduces the pin cost.

[0055] Based on the above embodiments:

[0056] Please refer to Figure 3 , Figure 3 This is a schematic diagram of the trigger module in a wake-up device for an MCU provided by this utility model.

[0057] As an optional embodiment, the triggering module includes:

[0058] The adapter detection module has an input terminal for connecting to the power supply of the adapter and an output terminal for connecting to the control terminal of the first switch Q1. The output terminal is used to control the first switch Q1 to disconnect for a preset time when the adapter detection module is connected to the adapter, and to control the first switch Q1 to turn on when the adapter is not connected.

[0059] The first switch Q1 has its first terminal connected to the first terminal of the first resistor R1 and the input terminal of the isolation module 2, and its second terminal grounded. It is used to output a trigger signal when the adapter is connected.

[0060] The first resistor R1 has its second end connected to the power supply.

[0061] It is understandable that when the adapter detection module detects that the adapter is connected, it will control the first switch Q1 to be disconnected for a preset time. After the first switch Q1 is disconnected for the preset time, it will automatically return to the conducting state. When the adapter module detects that the adapter is not connected, it will control the first switch Q1 to be turned on.

[0062] Specifically, when no adapter is connected, the voltage at the connection can be considered as 0, the first switch Q1 is turned on, and the voltage between the first terminal of the first switch Q1 and the input terminal of the isolation module 2 is 0. When the adapter is connected, the adapter detection module controls the first switch Q1 to turn off. At this time, the input terminal of the isolation module 2 is pulled up to the power supply voltage by the first resistor R1. At this time, the input terminal of the isolation module 2 rises from 0 to the power supply voltage, which can be called DC_WAKEUP. Therefore, the trigger module 1 converts the connection of the adapter into a rising edge signal of the voltage at the first terminal of the first switch Q1 from 0 to the MCU_POWER power supply voltage.

[0063] It should be noted that the first switching transistor Q1 can be an NPN transistor. The base of the NPN transistor is connected to the first terminal of the first resistor R1, the base is connected to the output terminal of the adapter detection module, and the emitter is grounded. In addition, NPN transistors have the advantages of long life, safety and reliability, and fast switching speed.

[0064] As can be seen, the adapter detection module can control the first switch Q1 to be turned off for a preset time by connecting the adapter, and then turn the first switch Q1 back on, converting the connection of the adapter into a rising edge signal from 0 to the power supply voltage, that is, outputting a trigger signal.

[0065] As an optional embodiment, the adapter detection module includes:

[0066] The first capacitor C1 has its first end connected to the power supply of the adapter, and its second end connected to the input terminal of the voltage divider module 4.

[0067] Voltage divider module 4, the output terminal of voltage divider module 4 is connected to the first terminal of the second resistor R2;

[0068] The second resistor R2 is connected to the control terminal of the second switch Q2.

[0069] The second switch Q2 has its first terminal connected to the first terminal of the third resistor R3 and the control terminal of the first switch Q1, and its second terminal grounded. It is used to conduct for a preset time when the adapter detection module is connected to the adapter and to disconnect when the adapter is not connected.

[0070] The third resistor R3 has its second end connected to the power supply.

[0071] Understandably, when no adapter is connected, the second switch Q2 is off, and the first switch Q1 is on, with its first terminal voltage at 0V. When the adapter is connected, the voltage at the input of the adapter detection module changes from 0V to the adapter's power supply voltage, causing the first capacitor C1 to charge and conduct. The voltage then passes through the voltage divider module 4, controlling the second switch Q2 to conduct. Since the first terminal of the second switch Q2 is connected to the control terminal of the first switch Q1, the first switch Q1 is off. At this time, the voltage at the first terminal of the first switch Q1 rises from 0V to the MCU_POWER power supply voltage. When the first capacitor C1 is fully charged, it is in the off state, i.e., an open circuit state, and the voltage output of the voltage divider module 4 is 0V. Therefore, the trigger module 1 converts the adapter connection into a rising edge signal from 0V at the first terminal of the first switch Q1 to the MCU_POWER signal.

[0072] It should be noted that the voltage divider module 4 includes a first voltage divider resistor R41 and a second voltage divider resistor R42. The first end of the first voltage divider resistor R41 is connected to the second end of the first capacitor C1, and the second end is connected to the first end of the second voltage divider resistor R42. The second end of the second voltage divider resistor R42 is grounded. When the adapter is connected, the first capacitor C1 is charged, and the first voltage divider resistor R41 and the second voltage divider resistor R42 are connected.

[0073] In addition, when no adapter is connected, the second voltage divider resistor R42 will pull the input voltage to ground by default to prevent current fluctuations in the circuit from interfering with the second switch Q2 and causing the second switch Q2 to malfunction.

[0074] It should also be noted that the second switching transistor Q2 can be an NPN transistor. The collector of the NPN transistor is connected to the control terminal of MCU_POWER and the first switching transistor Q1, respectively. The base is connected to the second terminal of the second resistor R2, and the emitter is grounded. In addition, NPN transistors have a long lifespan, are safe and reliable, and have a fast switching speed.

[0075] As can be seen, the first capacitor C1, the voltage divider module 4, the second resistor R2, and the third resistor R3 work together with the second switch Q2 to control the first switch Q1 to conduct for a preset time when the adapter is connected, and to turn it off after the preset time. This will output a trigger signal, and the isolation module 2 will output the trigger signal to the MCU3. When the MCU3 receives the trigger signal, it will exit the sleep state.

[0076] Please refer to Figure 4 , Figure 4 This is a schematic diagram of the trigger module in another MCU wake-up device provided by this utility model.

[0077] As an optional embodiment, the triggering module includes:

[0078] Button SW, the first terminal of button SW is grounded;

[0079] The button detection module has its input end connected to the second end of the button SW and its output end connected to the control end of the third switch Q3. It is used to control the third switch Q3 to turn off when the user presses the button SW and to control the third switch Q3 to turn on when the user releases the button SW.

[0080] The fourth resistor R4 has its first end connected to the power supply and its second end connected to the first end of the third switch Q3.

[0081] The third switch Q3 has its second terminal grounded and is used to output a trigger signal when the user presses the button SW.

[0082] It should be noted that button SW is a tactile switch. When button SW is pressed, the spring inside button SW receives external force and deforms to make contact with the circuit, so that button SW and the circuit form a circuit and realize the circuit conduction state. When the external force is removed, the spring inside button SW returns to its original shape and disconnects from the circuit, and the circuit is in an open state.

[0083] Understandably, when the user does not press button SW, the button detection module controls the third switch Q3 to turn on, and the voltage at the first terminal KEY_WAKEUP of the third switch Q3 is 0. When the user presses button SW, the button detection module controls the third switch Q3 to turn off, and the voltage at the first terminal KEY_WAKEUP of the third switch Q3 rises from 0 to the MCU_POWER power supply voltage. The trigger module 1 converts the pressing action of button SW into a rising edge signal from 0 to MCU_POWER in KEY_WAKEUP.

[0084] Specifically, when the user does not press button SW, the button detection module controls the third switch Q3 to turn on, and MCU_POWER is grounded through the fourth resistor R4 and the third switch Q3. At this time, the voltage of KEY_WAKEUP is 0. When the user presses button SW, the first terminal of button SW is grounded, the button detection module controls the third switch Q3 to turn off, and the voltage of KEY_WAKEUP is converted into the MCU_POWER power supply voltage through the fourth resistor R4. The trigger module converts the pressing action of button SW into the rising edge signal from 0 of KEY_WAKEUP to MCU_POWER, so the trigger module outputs a trigger signal.

[0085] It should also be noted that the third switch Q3 can be an NPN transistor. The collector of the NPN transistor is connected to the first end of the fourth resistor R4 and the input end of the isolation module 2, respectively. The base is connected to the output end of the button detection module, and the emitter is grounded.

[0086] As can be seen, by controlling the conduction and disconnection of the third switch Q3 through the button detection module, the user can determine whether the trigger module outputs a trigger signal. When the button SW is pressed, the trigger module outputs a trigger signal, and MCU3 exits the sleep state. After the button SW has been pressed for a preset time, the spring inside the button SW returns to its original state, the trigger module does not output a trigger signal, and MCU3 enters deep sleep. This method of waking up the MCU by controlling the button operation is quite convenient.

[0087] As an optional embodiment, the key detection module includes:

[0088] The fifth resistor R5 has its first end connected to the power supply, and its second end connected to the second end of the button SW and the first end of the sixth resistor R6.

[0089] The sixth resistor R6 has its second end connected to the control terminal of the third switch Q3.

[0090] Understandably, when button SW is not pressed, the control terminal of the third switch Q3 is pulled up to the power supply by the fifth resistor R5. At this time, the third switch Q3 is in the conducting state, and the fourth resistor R4 is grounded through the third switch Q3. Therefore, the voltage of the first terminal KEY_WAKEUP of the third switch Q3 is 0. When button SW is pressed, the spring inside button SW forms a circuit with the circuit. Since the first terminal of button SW is grounded, the voltage of the control terminal of the third switch Q3 is 0, and the second terminal of the third switch Q3 is grounded. At this time, the third switch Q3 is in the off state. Therefore, the voltage of the first terminal of the third switch Q3, that is, the input terminal of isolation module 2, is the voltage of KEY_WAKEUP. The trigger module converts the pressing action of button SW into a rising edge signal from 0 to the MCU_POWER power supply voltage.

[0091] In addition, a sixth resistor R6 is set at the control terminal of the third switch Q3. Both the fifth resistor R5 and the sixth resistor R6 can limit the current, thereby effectively preventing the branch current in which the sixth resistor R6 is located from being too large and burning out other devices.

[0092] As can be seen, the fifth resistor R5 is placed between the power supply voltage and the third switch Q3. It can pull up the control terminal of the third switch Q3 to the power supply. When the button SW is not pressed, it controls the third switch Q3 to conduct. The fifth resistor R5 and the sixth resistor R6 can limit the current to prevent the third switch Q3 from burning out due to excessive current.

[0093] As an optional embodiment, it also includes:

[0094] The second capacitor C2 has its first terminal connected to the second terminal of the button SW, and its second terminal grounded.

[0095] Considering that during the pressing and releasing of button SW, there are brief and multiple state changes due to the elasticity of the mechanical contacts, i.e., jitter, which may lead to system misjudgment, this application sets a second capacitor C2 at the second end of button SW. The second end of the second capacitor C2 is grounded. By utilizing the charging and discharging delay characteristics of the second capacitor C2, the jitter level during the pressing and releasing of button SW can be absorbed and eliminated, thereby achieving the effect of debouncing.

[0096] Please refer to Figure 5 , Figure 5 This is a schematic diagram of the trigger module in another MCU wake-up device provided by this utility model.

[0097] As an optional embodiment, the triggering module includes:

[0098] The sensor's output is connected to the input of the touch module to generate a touch signal when the user touches it.

[0099] The touch module has its output terminal connected to the first terminal of the seventh resistor R7 and the input terminal of the isolation module 2, respectively. It is used to output a trigger signal when a touch signal is received and to stop outputting the trigger signal when no touch signal is received.

[0100] The seventh resistor R7 has its second terminal connected to the power supply.

[0101] Understandably, when the touch panel is not triggered, the sensor does not receive a touch signal, and the touch module does not receive a touch signal either. At this time, the voltage at the output terminal of the touch module is 0. When a touch signal occurs on the touch panel, the sensor can receive the touch signal, convert the received touch signal into a touch signal, and transmit it to the touch module. When the touch module receives the touch signal and confirms that it is a wake-up action, the voltage at the output terminal of the touch module is the voltage of TP_WAKEUP. Therefore, the voltage of TP_WAKEUP at the output terminal of the touch module rises from 0 to the MCU_POWER power supply voltage, which can be considered as the output trigger signal.

[0102] Specifically, when there is no trigger action on the touch panel, the output terminal of the touch module, i.e., the GPIO pin, outputs a low level by default, with a voltage of 0. When a touch action occurs on the touch panel, the sensor converts the received touch signal into an electrical signal and transmits it to the touch module. When the touch module receives the touch signal and confirms it as a wake-up signal, the touch module operates in open-drain mode, and the GPIO port of the touch module is an open-drain output pin. An open-drain output high level requires an external pull-up power supply. At this time, the seventh resistor R7 can be used to cooperate with the GPIO port of the touch module to output a high level, that is, the output touch signal voltage is MCU_POWER. The voltage of TP_WAKEUP rises from 0 to the MCU_POWER power supply voltage, which is the trigger signal.

[0103] As can be seen, the touch panel can be touched to determine whether the trigger module outputs a trigger signal. When the touch panel receives a touch signal, it can output a trigger signal through the sensor and touch module, and then output it to MCU3 through isolation module 2. MCU3 can then exit the sleep state. After a preset time, if the touch panel does not receive a touch signal, it will not output a trigger signal and MCU3 will enter a deep sleep state.

[0104] Please refer to Figure 6 , Figure 6 This is a schematic diagram of an isolation circuit for a wake-up device of an MCU provided by this utility model.

[0105] As an optional embodiment, isolation module 2 includes:

[0106] There are N diodes, with the anodes of each diode connected to the output terminals of N trigger modules 1 respectively, and the cathodes of the N diodes connected to each other, with the common terminal of the connection connected to MCU3.

[0107] Understandably, the diodes can be Schottky diodes. Isolation module 2 uses N diodes working together for isolation. Specifically, the N trigger signals output from the trigger module are emitted through the N diodes respectively. Due to the isolation provided by the diodes, the trigger signals do not affect each other. Isolation module 2 transmits any one of the trigger signals, i.e., the rising edge signal from voltage 0 to MCU_POWER, to MCU3, causing MCU3 to exit deep sleep mode.

[0108] Specifically, the diode can be a Schottky diode. Taking the first trigger module 11, the second trigger module 12, and the third trigger module 13 as examples, the three trigger modules output trigger signals through the first Schottky diode D1, the second Schottky diode D2, and the third Schottky diode D3, respectively. Due to the isolation of the three Schottky diodes, the three trigger signals will not affect each other, and any one of the trigger signals can make the MCU3 exit the sleep mode.

[0109] As can be seen, the isolation module 2 can isolate the N trigger signals output from the N trigger modules 1, and can output any trigger signal to the MCU3, which can make the MCU3 exit the sleep mode. In addition, the Schottky diode also has the characteristics of low power consumption and ultra-high speed.

[0110] This utility model also provides an electronic device, including a wake-up device for the MCU3 as described above. The wake-up device is connected to the MCU3. Please refer to [reference needed]. Figure 7 , Figure 7 This is a circuit diagram of an MCU provided by the present invention.

[0111] Understandably, the WAKEUP pin of MCU3 in deep sleep mode is connected to the output terminal MCU_WAKEUP of isolation module 2. The wake-up condition for MCU3 in deep sleep is the rising edge signal from 0 to VDD on the WAKEUP pin. When the WAKEUP pin receives the rising edge signal from 0 to VDD, MCU3 exits deep sleep mode and enters normal operating mode.

[0112] It should be noted that this utility model can be applied to various electronic products with MCU3, especially products with high power consumption requirements.

[0113] It should also be noted that, in order to achieve lower power consumption, MCU3 disables its internal non-essential power domains, internal high-speed clock, external high-speed clock, and phase-locked loop controller, retaining only some wake-up methods for exiting deep sleep mode.

[0114] As can be seen, this invention, through the design of a trigger module and isolation circuit, enables multiple wake-up sources to wake up the MCU3 from sleep mode, while only occupying one WKUP pin resource of the MCU3. This allows the MCU3 to be woken up from deep sleep mode and enter normal working mode in various scenarios. While achieving the desired functionality, it also reduces product cost.

[0115] As an optional embodiment, it also includes:

[0116] The third capacitor C has its first end connected to the power supply pin of MCU3, and its second end grounded.

[0117] In this application, considering that in practical applications there may be noise and high-frequency interference that could affect the normal operation of MCU3, a third capacitor C is provided to filter out high-frequency noise and interference on the power supply of MCU3, stabilize the power supply of MCU3, and ensure the normal operation of MCU3.

[0118] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.

[0119] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.

Claims

1. A wake-up apparatus for an MCU, characterized in that, The isolation module and N trigger modules are different from each other; The output end of the isolation module is connected with the MCU, and is used for isolating the multiple trigger signals when receiving the multiple trigger signals, and sending a wake-up signal to the MCU when receiving any trigger signal, so that the MCU wakes up when receiving the wake-up signal. The trigger module comprises:

2. The wake-up apparatus for an MCU of claim 1, wherein, The adapter detection module is connected with the power supply of the adapter, and the output end of the adapter detection module is connected with the control end of the first switch tube. The first switch tube is connected with the first end of the first resistor and the input end of the isolation module, and the second end is grounded. The first resistor is connected with the power supply. The adapter detection module comprises:

3. The apparatus of claim 2, wherein the MCU is configured to: The first capacitor is connected with the power supply of the adapter, and the second end of the first capacitor is connected with the input end of the voltage division module. The voltage division module is connected with the first end of the second resistor. The second resistor is connected with the control end of the second switch tube. The second switch tube is connected with the first end of the third resistor and the control end of the first switch tube, and the second end is grounded. The third resistor is connected with the power supply. The trigger module comprises:

4. The apparatus of claim 1, wherein the MCU is configured to: The first end of the key is grounded. The input end of the key detection module is connected with the second end of the key, and the output end of the key detection module is connected with the control end of the third switch tube. The fourth resistor is connected with the power supply, and the second end of the fourth resistor is connected with the first end of the third switch tube. The second end of the third switch tube is grounded, and the third switch tube is used for outputting a trigger signal when the user presses the key. The key detection module comprises:

5. The apparatus of claim 4, wherein the MCU is configured to: The fifth resistor is connected with the power supply, and the second end of the fifth resistor is connected with the second end of the key and the first end of the sixth resistor. The second end of the sixth resistor is connected with the control end of the third switch tube. Further comprising:

6. The apparatus for waking up the MCU of claim 5, wherein, The first end of the second capacitor is connected with the second end of the key, and the second end of the second capacitor is grounded. The trigger module comprises:

7. The apparatus of claim 1, wherein the MCU is configured to: The output end of the sensor is connected with the input end of the touch module, and the sensor is used for generating a touch signal when the user touches. ​ The touch module, the output end of the touch module is connected with the first end of the seventh resistor and the input end of the isolation module respectively, and is used for outputting a trigger signal when the touch signal is received, and stopping outputting the trigger signal when the touch signal is not received; The second end of the seventh resistor is connected with a power supply.

8. The wake-up apparatus for a MCU according to any one of claims 1 to 7, wherein, The isolation module comprises: N diodes, the anodes of the N diodes are connected with the output ends of the N trigger modules one by one in a one-to-one correspondence, the cathodes of the N diodes are connected with each other, and the common end connected with the MCU.

9. An electronic device, comprising: The wake-up device comprises an MCU and the MCU of any one of claims 1 to 8, and the wake-up device is connected with the MCU.

10. The electronic device of claim 9, wherein, Further comprising: A third capacitor, the first end of the third capacitor is connected with the power supply pin of the MCU, and the second end is grounded.