Wake-up device
By adding a general-purpose input and output port to a low-power device and electrically connecting it to an interface that supports deep wake-up, the problem of the device being unable to wake up from sleep is solved, achieving deep sleep wake-up between devices and improving low-power performance.
Patent Information
- Application Number
- PCT/CN2024/076528
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-23
- Filing Date
- 2024-02-07
- Publication Date
- 2024-09-26
AI Technical Summary
In the existing technology, low-power devices cannot correctly receive interrupt wake-up events in the sleep state, and the data transmission interface does not support the deep sleep wake-up function, resulting in the inability to effectively wake up the device.
By adding a general-purpose input and output port to a low-power device and electrically connecting it to another data transmission interface that supports the deep wake-up function, deep sleep wake-up between devices is achieved.
It realizes that the low-power device can correctly receive interrupt wake-up events and wake up without keeping the pin or the host computer working state all the time, reducing the power consumption of the device, and supporting the deep sleep wake-up function.
Smart Images

Figure CN2024076528_26092024_PF_FP
Abstract
Description
Wake-up device Technical Field
[0001] The present application relates to the field of device wake-up, and in particular to a wake-up device. Background Art
[0002] For battery-powered devices, low power consumption performance is critical and important.
[0003] To ensure low power consumption, when a low-power device is not operated by the user or the device does not need to be operated, the system will enter low-power mode, that is, sleep state. When the device enters sleep state, there are multiple ways to wake it up.
[0004] For example, the main control chip of a low-power device can be awakened by external interrupt events, such as touching the screen, operating an app, or pressing a button. After receiving these events, the main control chip wakes up from the sleep state and performs the corresponding command operation. Another example is setting a timer for sleep and wakeup.
[0005] In order for the main control chip of a low-power device to detect external interrupt events when it is dormant, it must ensure that the part that reports interrupt events is in a working state when the low-power device is dormant; otherwise, the interrupt wake-up signal will not be correctly issued. In actual applications, the relevant pins in the main control chip of the low-power device used to receive interrupt wake-up events need to be in a working state rather than a dormant state, so that the interrupt wake-up event can wake up the low-power device.
[0006] In another prior art, as shown in Figure 1, two pins of a low-power device's main control chip function as ordinary serial ports for communication with a host computer during normal operation. When no data is being transmitted, the low-power device enters a standby state. Simultaneously, the main control chip configures the serial port as an interrupt IO port. Upon receiving a low level from the host computer, the main control chip wakes up and resumes normal operation.
[0007] As can be seen from the above, low-power devices need to receive wake-up signals from the user or an external controller (such as a host computer). This requires that some pins of the low-power device or the host computer remain in a working state. Furthermore, if the data transmission interface of the low-power device does not support wake-up from deep sleep, the method shown in Figure 1 is no longer applicable.
[0008] Utility Model Content
[0009] The present application aims to propose a wake-up device to solve the problem of how to wake up a low-power device when the data transmission interface of the low-power device does not support a deep sleep wake-up function.
[0010] According to one aspect of the present application, a wake-up device is proposed, which includes a first module and a second module, wherein the first module and the second module both include a data receiving port and a data sending port, and the second module includes at least one general-purpose input / output port, wherein the data sending port of the first module is electrically connected to the data receiving port of the second module; the data receiving port of the first module is electrically connected to the data sending port of the second module; the general-purpose input / output port of the second module is electrically connected to the data sending port of the first module; wherein the data sending port of the first module is configured to send a low-level signal to the general-purpose input / output port of the second module to wake up the second module.
[0011] According to some embodiments, the universal input / output port of the second module is electrically connected to the data transmission port of the first module through a first diode, wherein the universal input / output port of the second module is electrically connected to the anode of the first diode; and the data transmission port of the first module is electrically connected to the cathode of the first diode.
[0012] According to some embodiments, an anode of the first diode is electrically connected to a power supply terminal of the second module through a first resistor.
[0013] According to some embodiments, the first module includes at least one general-purpose input / output port, and the general-purpose input / output port of the first module is electrically connected to the data sending port of the second module; wherein the data sending port of the second module is configured to send a low-level signal to the general-purpose input / output port of the first module to wake up the first module.
[0014] According to some embodiments, the universal input / output port of the first module is electrically connected to the data transmission port of the second module through a second diode, wherein: the universal input / output port of the first module is electrically connected to the anode of the second diode; and the data transmission port of the second module is electrically connected to the cathode of the second diode.
[0015] According to some embodiments, an anode of the second diode is electrically connected to a power supply terminal of the second module through a second resistor.
[0016] According to some embodiments, the power terminal of the first module is electrically connected to the power terminal of the second module.
[0017] According to some embodiments, a ground terminal of the first module is electrically connected to a ground terminal of the second module.
[0018] According to some embodiments, the data sending port of the first module is further configured to send a high level signal to the data receiving port of the second module, so that the first module and the second module perform serial communication.
[0019] According to some embodiments, the data transmitting port of the second module is configured to transmit a high level signal to the data receiving port of the first module, so that the first module and the second module perform serial communication.
[0020] According to an embodiment of the present application, one of the low-power devices in working state is used to wake up another low-power device in dormant state. When one of the data transmission interfaces of the two electrically connected low-power devices supports deep wake-up function, the device is woken up by electrically connecting the data transmission interface supporting deep wake-up function to the general input and output port of the other low-power device.
[0021] It should be understood that the foregoing general description and the following detailed description are merely illustrative and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for describing the embodiments. By describing the exemplary embodiments in detail with reference to the accompanying drawings, the above and other objects, features and advantages of the present application will become more apparent.
[0023] FIG1 shows a circuit diagram of a wake-up device in the prior art.
[0024] FIG2 shows a structural block diagram of a wake-up device according to an exemplary embodiment of the present application.
[0025] FIG3 shows a structural block diagram of another wake-up device according to an exemplary embodiment of the present application.
[0026] FIG4 shows another schematic diagram of a wake-up circuit according to an exemplary embodiment of the present application.
[0027] FIG5 shows another schematic diagram of a wake-up circuit according to an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0028] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be embodied in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concepts of the example embodiments to those skilled in the art. Identical figures in the drawings represent identical or similar parts, and thus repeated description thereof will be omitted.
[0029] The described features, structures or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of these specific details, or other modes, components, materials, devices or operations may be employed. In these cases, well-known structures, methods, devices, implementations, materials or operations will not be shown or described in detail.
[0030] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, while others may be combined or partially combined. Therefore, the actual execution order may vary depending on the actual situation.
[0031] The terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish between different objects, not to describe a particular order. Furthermore, the terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.
[0032] As mentioned earlier, low power consumption is crucial for battery-powered devices. Therefore, to ensure low power consumption, low-power devices enter a low-power mode, also known as a sleep state, when the user is not operating or the device does not require any operation. After a device enters sleep mode, there are various ways to wake it up. However, existing wake-up methods require that certain pins on the low-power device or the host computer remain operational, and they cannot wake up low-power devices whose data transmission interfaces do not support wake-up from deep sleep.
[0033] According to an embodiment of the present application, one of the low-power devices in working state is used to wake up another low-power device in dormant state. When all the data transmission interfaces of the two electrically connected low-power devices do not support the deep wake-up function, the low-power device is awakened by using a universal input / output port. When one of the data transmission interfaces of the two electrically connected low-power devices supports the deep wake-up function, the device is awakened by electrically connecting the data transmission port that supports the deep wake-up function to the universal input / output port of the other low-power device. According to an embodiment of the present application, it is only necessary to add a universal input / output port to the low-power device whose data transmission port does not support deep wake-up, so that the device can be awakened by a low-power device in working state. The specific embodiments according to the present application are described in detail below with reference to the accompanying drawings.
[0034] FIG2 shows a structural block diagram of a wake-up device according to an exemplary embodiment of the present application. The following takes FIG2 as an example to describe in detail a wake-up device according to an exemplary embodiment of the present application.
[0035] As shown in FIG2 , the wake-up device includes a first module 110 and a second module 120. Both the first module 110 and the second module 120 include a data receiving port and a data transmitting port, and the second module 120 includes at least one general-purpose input / output port. The data transmitting port of the first module 110 is electrically connected to the data receiving port of the second module 120, and the data receiving port 110 of the first module 110 is electrically connected to the data transmitting port of the second module 120.
[0036] It should be noted that for ease of description, in this application, the data transmission port and the data receiving port are collectively referred to as the data transmission interface. When it is necessary to distinguish between the data transmission port and the data receiving port, the data transmission interface is specifically described as the data transmission port or the data receiving port.
[0037] When the data receiving interface of the second module 120 does not support wakeup from deep sleep, as shown in FIG2 , the data sending port of the first module 110 is electrically connected to the general input / output port of the second module 120. The data sending port of the first module 110 is configured to send a low-level signal to the general input / output port of the second module 120 to wake up the second module 120.
[0038] In a specific embodiment, the general input / output port of the second module 120 is electrically connected to the data transmission port of the first module 110 via a first diode, wherein the general input / output port of the second module 120 is electrically connected to the anode of the first diode; the data transmission port of the first module 110 is electrically connected to the cathode of the first diode. The anode of the first diode is electrically connected to the power supply terminal of the second module 120 via a first resistor.
[0039] In some embodiments, the data transmitting port of the first module 110 is further configured to transmit a high level signal to the data receiving port of the second module 120 , so that the first module 110 and the second module 120 perform serial communication.
[0040] For example, when the second module 120 is in a dormant state, if the data transmission port of the first module 110 sends a high level, the first diode cannot conduct. Since the first diode is electrically connected to the power supply terminal of the second module 120, the general-purpose input / output port of the second module 120 remains in a high level state, and the second module 120 remains in a dormant state. If the data transmission port of the first module 110 sends a low level, the first diode conducts, and the general-purpose input / output port of the second module 120 is in a low level state, thereby waking up the second module 120. At this time, if the data transmission port of the first module 110 sends a high level, the diode of the second module 120 cannot conduct, and the second module 120 is in an active state and can perform normal data communication.
[0041] According to the embodiment shown in Figure 2, when the low-power device is in sleep mode and the data receiving interface does not support deep sleep wake-up, a general input and output port is added to the low-power device and electrically connected to the data sending port of another low-power device, thereby realizing the use of the deep sleep of another low-power device to wake up the low-power device.
[0042] In other embodiments, if neither the data receiving port of the first module 110 nor the data transmitting port of the second module 120 supports wakeup from deep sleep, based on FIG2 , the first module 110 includes at least one general-purpose input / output port, and the general-purpose input / output port of the first module 110 is electrically connected to the data transmitting port of the second module 120, as shown in FIG3 . The data transmitting port of the second module 120 is configured to send a low-level signal to the general-purpose input / output port of the first module 110 to wake up the first module 110. The general-purpose input / output port of the first module 110 is electrically connected to the anode of a second diode; the data transmitting port of the second module 120 is electrically connected to the cathode of the second diode. Furthermore, the anode of the second diode is electrically connected to the power supply terminal of the second module 120 via a second resistor.
[0043] In some embodiments, the data transmission port of the second module 120 is configured to transmit a high level signal to the data reception port of the first module 110 , so that the first module 110 and the second module 120 perform serial communication.
[0044] As previously described, when the first module 110 is in a dormant state, if the data transmission port of the second module 120 sends a high-level signal, the second diode will not conduct. Because the second diode is electrically connected to the power supply terminal of the first module 110, the GPIO port of the first module 110 remains in a high-level state, and the first module 110 remains in a dormant state. If the data transmission port of the second module 120 sends a low-level signal, the second diode conducts, and the GPIO port of the first module 110 is in a low-level state, thereby waking up the first module 110. At this time, if the data transmission port of the second module 120 sends a high-level signal, the second diode will not conduct, and the second module 120 is in an active state, enabling normal data communication.
[0045] In some embodiments, the ground terminal of the first module 110 is electrically connected to the ground terminal of the second module 120 .
[0046] According to the embodiment shown in FIG3 , when a low-power device is in sleep mode and all its data receiving ports do not support deep sleep wakeup, mutual deep sleep wakeup of the low-power devices is achieved by adding a general input / output port to each low-power device and electrically connecting it to the data sending port of another low-power device.
[0047] Figure 4 shows another wake-up circuit schematic according to an example embodiment of the present application. As shown in Figure 4, the two low-power modules communicate through UART during normal operation. If one of the pins of the UART interface of MCU1 of low-power module 1 and MCU2 of low-power module 2 does not support deep sleep wake-up (for example, the serial port receive RX pin), as shown in Figure 4, a GPIO pin that supports deep wake-up is added to MCU2, so that the low-power wake-up module 2 can be awakened by the low-power module 1.
[0048] As shown in Figure 4, when the serial bus (e.g., UARTO_RX) is not transmitting data, its signal is high. The serial port used for communication between the two modules is a communication serial port during normal operation. When both modules enter sleep mode, the serial port RX of MCU2 in low-power module 2 does not support wake-up from sleep mode. However, one of the GPIO pins of MCU2 in low-power module 2 supports wake-up from deep sleep mode. Connect the serial port RX pin to this GPIO pin and add an external pull-up resistor (e.g., 20 kilohms) and diode.
[0049] When there is no wake-up, that is, when there is no data transmission on the UART, the UART0_RX signal sent by the low-power module 1 is high, the diode cannot be turned on, the GPIO pin is high, and it still remains that there is no wake-up event; when there is a wake-up event, the UART0_RX signal sent by the low-power module 1 is low, at this time the diode is turned on, the level of the GPIO pin is low, that is, the wake-up event is considered to have occurred, and the low-power module 2 is woken up.
[0050] In an expandable manner, if the two serial communication pins of the low-power module 1 and the low-power module 2 do not support deep sleep wakeup, the solution can be as shown in FIG5 instead of FIG4.
[0051] For ease of explanation, although the example embodiments of the present application are described with a wake-up device including two low-power modules, the wake-up method of the present application does not limit the number of low-power modules. It is understandable that the example embodiments of the present application can also be applied to applications including more than two low-power modules, and two or more low-power modules are combined into a wake-up device. When on standby, the low-power modules enter a dormant state respectively. When there is a wake-up event, they can wake up each other and synchronize their states. For example, low-power module 1 is used to wake up low-power module 2, and then low-power module 2 is used to wake up low-power module 3. And so on, thereby waking up all dormant low-power modules.
[0052] In actual applications, for example, when a fingerprint is used to open the door, the door lock control wakes up and processes the door opening, and at the same time wakes up the door lock keep-alive wireless communication module. The wireless communication module can then synchronously process the corresponding information, such as pushing the fingerprint door opening record information.
[0053] The embodiments of the present application are described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only intended to help understand the method and core ideas of the present application. At the same time, changes or modifications made by those skilled in the art based on the ideas of the present application, the specific implementation methods, and the scope of application of the present application, all fall within the scope of protection of the present application. In summary, the contents of this specification should not be construed as limiting the present application.
Claims
1. A wake-up device, characterized in that: The wake-up device includes a first module and a second module, the first module and the second module both include a data receiving port and a data sending port, and the second module includes at least one general input and output port, wherein: The data transmission port of the first module is electrically connected to the data receiving port of the second module; The data receiving port of the first module is electrically connected to the data sending port of the second module; The general input and output port of the second module is electrically connected to the data transmission port of the first module; The data sending port of the first module is configured to send a low level signal to the general input and output port of the second module to wake up the second module.
2. The wake-up device according to claim 1, characterized in that: The general input / output port of the second module is electrically connected to the data transmission port of the first module through a first diode, wherein: The general input and output port of the second module is electrically connected to the anode of the first diode; The data sending port of the first module is electrically connected to the cathode of the first diode.
3. The wake-up device according to claim 2, characterized in that: An anode of the first diode is electrically connected to a power supply terminal of the second module through a first resistor.
4. The wake-up device according to claim 3, characterized in that: The first module includes at least one general purpose input / output port, and the general purpose input / output port of the first module is electrically connected to the data sending port of the second module; wherein the data sending port of the second module is configured to send a low level signal to the general purpose input / output port of the first module to wake up the first module.
5. The wake-up device according to claim 4, characterized in that: The general input and output port of the first module is electrically connected to the data transmission port of the second module through a second diode, wherein: The universal input / output port of the first module is electrically connected to the anode of the second diode; The data sending port of the second module is electrically connected to the cathode of the second diode.
6. The wake-up device according to claim 5, characterized in that: An anode of the second diode is electrically connected to a power supply terminal of the second module through a second resistor.
7. The wake-up device according to claim 1, characterized in that: The power terminal of the first module is electrically connected to the power terminal of the second module.
8. The wake-up device according to claim 1, characterized in that: The ground terminal of the first module is electrically connected to the ground terminal of the second module.
9. The wake-up device according to any one of claims 1 to 8, characterized in that: The data sending port of the first module is also configured to send a high level signal to the data receiving port of the second module, so that the first module and the second module perform serial port communication.
10. The wake-up device according to any one of claims 1 to 8, characterized in that: The data sending port of the second module is configured to send a high level signal to the data receiving port of the first module, so that the first module and the second module perform serial port communication.
Citation Information
Patent Citations
Dormancy wakeup control method and system of wireless communication equipment
CN104411003A
Serial port awakening system not using handshake control line and serial port communication method
CN106372012A
Equipment wakeup method, device and system
CN115309080A
Wake-up device
CN219831808U
Power saving in multi-processor device
US20070140199A1
