Control chip and control method

By designing a layered wake-up mechanism of detection circuits, management circuits and main core circuits in the control chip, the problem of high surge current and power consumption during wake-up of the control chip is solved, and lower power consumption and longer battery usage is achieved life.

CN119512630APending Publication Date: 2025-02-25NUVOTON
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410512326.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-08-23
Filing Date
2024-04-26
Publication Date
2025-02-25

AI Technical Summary

Technical Problem

When wake up, general control chips will generate surge current and instantaneous power consumption, resulting in high power consumption.

Method used

A control chip is designed, including detection circuits, management circuits and main core circuits. When a specific event occurs, the detection circuit enables the first wake-up signal, the management circuit determines whether the wake-up condition is met, and if it is met, the second wake-up signal is enabled, and the main core circuit leaves the sleep mode according to the second wake-up signal.

Benefits of technology

Through the layered wake-up circuit, the generation of surge current is avoided, the power consumption of the control chip is reduced, and the battery life is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119512630A_ABST
    Figure CN119512630A_ABST
Patent Text Reader

Abstract

The invention discloses a control chip and a control method. The control chip comprises a detection circuit, a management circuit and a main core circuit, when a specific event occurs, the detection circuit enables a first wake-up signal. When the first wake-up signal is enabled, the management circuit determines whether a wake-up condition is satisfied. When the wake-up condition is satisfied, the management circuit enables a second wake-up signal. The main core circuit leaves a sleep mode and enters a normal mode according to the second wake-up signal. When the specific event does not occur, the management circuit and the main core circuit operate in a sleep mode. When the wake-up condition is not satisfied, the main core circuit operates in a sleep mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a control chip, in particular to a control chip with a wake-up function. Background Art

[0002] In general control chips, in order to save power consumption, some circuits in the control chip enter a sleep mode. As long as any wake-up condition is met, all circuits will be awakened. Therefore, inrush current will be generated, and the instantaneous power consumption of the control chip is very large. Summary of the invention

[0003] The present invention provides a control chip, including a detection circuit, a management circuit and a main core circuit. When a specific event occurs, the detection circuit enables a first wake-up signal. When the first wake-up signal is enabled, the management circuit determines whether a wake-up condition is met. When the wake-up condition is met, the management circuit enables a second wake-up signal. The main core circuit leaves a sleep mode and enters a normal mode according to the second wake-up signal. When the specific event does not occur, the management circuit and the main core circuit operate in the sleep mode. When the wake-up condition is not met, the main core circuit operates in the sleep mode.

[0004] The present invention further provides a control method, which is applicable to a control chip. The control method of the present invention includes: requiring all circuits in the control chip to enter a sleep mode; using a detection circuit to detect whether a specific event occurs; when the specific event occurs, waking up a management circuit of the control chip; using the management circuit to determine whether a wake-up condition is met; when the wake-up condition is met, waking up a main core circuit of the control chip.

[0005] The control method of the present invention can be implemented via the control chip of the present invention, which is hardware or firmware that can execute specific functions, or can be recorded in a recording medium in the form of a first program code and implemented in combination with specific hardware. When the first program code is loaded and executed by an electronic device, processor, computer or machine, the electronic device, processor, computer or machine becomes a control chip for implementing the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Figure 1 Schematic diagram of the control chip of the present invention.

[0007] Figure 2 FIG. 4 is another schematic diagram of the control chip of the present invention.

[0008] Figure 3 FIG. 4 is another schematic diagram of the control chip of the present invention.

[0009] Figure 4 FIG. 4 is another schematic diagram of the control chip of the present invention.

[0010] Figure 5 It is a flow chart of the control method of the present invention.

[0011] Figure Number:

[0012] 100, 200, 300, 400: control chip

[0013] 110, 123, 210, 260, 310, 360, 410, 460: Detection circuit

[0014] 120, 220, 320, 420, 470: Management circuit

[0015] 121: Memory

[0016] 122: Logic Circuits

[0017] 130, 230, 330, 430: Main core circuit

[0018] 140, 150, 240, 250, 270, 340, 350, 440, 450, 490: switch

[0019] 480: Judgment circuit

[0020] VOP: operating voltage

[0021] WU1~WU5: wake-up signal

[0022] STR: Trigger signal

[0023] S511~S515: Steps DETAILED DESCRIPTION

[0024] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the following examples are specifically cited and described in detail with the accompanying drawings. The present invention specification provides different examples to illustrate the technical features of different implementations of the present invention. Among them, the configuration of each element in the example is for illustrative purposes and is not intended to limit the present invention. In addition, some repetitions of the figure numbers in the examples are for the purpose of simplifying the description and do not mean the correlation between different examples.

[0025] Figure 1Schematic diagram of the control chip of the present invention. As shown in the figure, the control chip 100 includes a detection circuit 110, a management circuit 120 and a main core circuit 130. In the present embodiment, the complexity of the detection circuit 110 is less than the complexity of the management circuit 120, and the complexity of the management circuit 120 is less than the complexity of the main core circuit 130. Therefore, when the detection circuit 110, the management circuit 120 and the main core circuit 130 operate normally, the power consumption of the detection circuit 110 is less than the power consumption of the management circuit 120, and the power consumption of the management circuit 120 is less than the power consumption of the main core circuit 130. In other words, in the control chip 100, the detection circuit 110 belongs to a small domain, the management circuit 120 belongs to a middle domain, and the main core circuit 130 belongs to a main domain.

[0026] The detection circuit 110 receives an operating voltage VOP and detects whether a first specific event occurs. When the first specific event occurs, the detection circuit 110 enables a wake-up signal WU1. The present invention does not limit the architecture of the detection circuit 110. Any circuit with a detection function can be used as the detection circuit 110. In one possible embodiment, the detection circuit 110 detects electrical characteristics, such as voltage, current, frequency, etc. In another possible embodiment, the detection circuit 110 detects environmental characteristics, such as temperature, humidity, etc. Taking temperature as an example, when the ambient temperature reaches a critical value, the detection circuit 110 enables the wake-up signal WU1. When the ambient temperature does not reach a critical value, the detection circuit 110 does not enable the wake-up signal WU1. In other embodiments, the detection circuit 110 has a timer (not shown). The timer enables the wake-up signal WU1 at fixed intervals.

[0027] In some embodiments, the detection circuit 110 continuously receives an operating voltage VOP. As long as the operating voltage VOP reaches a target value, the detection circuit 110 is always on. In this example, even if at least one of the management circuit 120 and the main core circuit 130 enters a sleep mode, the detection circuit 110 continues to operate and continues to detect whether the first specific event occurs.

[0028] When the wake-up signal WU1 is enabled, the management circuit 120 leaves a sleep mode and enters a normal mode. In the normal mode, the management circuit 120 determines whether a wake-up condition has been met. When the wake-up condition is met, the management circuit 120 enables a wake-up signal WU2. In one possible embodiment, the wake-up condition refers to the occurrence of a second specific event. In this example, when the second specific event occurs, the management circuit 120 enables the wake-up signal WU2. The present invention does not limit the architecture of the management circuit 120. In one possible embodiment, the management circuit 120 is responsible for peripheral circuit management, power management, interrupt processing, etc.

[0029] In some embodiments, when the wake-up condition is not met, the management circuit 120 resets the detection circuit 110. Therefore, the detection circuit 110 re-detects whether the first specific event occurs. After resetting the detection circuit 110, the management circuit 120 leaves the normal mode and re-enters the sleep mode. In one possible embodiment, when the wake-up condition is not met, the management circuit 120 resets the timer of the detection circuit 110. The timer of the detection circuit 110 restarts and enables the wake-up signal WU1 at a fixed time interval. In this example, the management circuit 120 determines whether the wake-up condition has been met at a fixed time interval.

[0030] The main core circuit 130 leaves a sleep mode and enters a normal mode according to the wake-up signal WU2. In one possible embodiment, when the wake-up signal WU2 is enabled, the main core circuit 130 leaves the sleep mode and enters the normal mode. The present invention does not limit the architecture of the main core circuit 130. In one possible embodiment, the main core circuit 130 has a high-speed central processing unit (CPU).

[0031] In some embodiments, when the first specific event does not occur, the management circuit 120 and the main core circuit 130 remain in sleep mode. When the first specific event occurs, the management circuit 120 leaves the sleep mode. At this time, since the main core circuit 130 is still operating in the sleep mode, the power consumption of the control chip 100 will not increase significantly, and surge current is not likely to occur. When the wake-up condition is met, the main core circuit 130 leaves the sleep mode. However, when the wake-up condition is not met, the main core circuit 130 is still operating in the sleep mode. At this time, the management circuit 120 may re-enter the sleep mode and wait for the wake-up signal WU1 to be enabled again.

[0032] In one possible embodiment, the management circuit 120 includes a memory 121 and a logic circuit (logic design) 122. The memory 121 is used to store a program code. The present invention does not limit the type of the memory 121. In one possible embodiment, the memory 121 is a non-volatile memory (NVM), such as a flash memory. In other embodiments, the memory 121 further stores at least one critical value. The critical value may be written into the memory 121 by the logic circuit 122 or the main core circuit 130. For example, when the logic circuit 122 or the main core circuit 130 operates in the normal mode, the logic circuit 122 or the main core circuit 130 adjusts the critical value stored in the memory 121.

[0033] The logic circuit 122 accesses the memory 121 to execute the program code. The logic circuit 122 performs a judgment operation according to the program code to generate a judgment result. When the judgment result meets a preset value, it means that the wake-up condition is met. Therefore, the logic circuit 122 enables the wake-up signal WU2. For example, the logic circuit 122 detects an ambient temperature and determines whether the ambient temperature reaches a critical value. When the ambient temperature reaches a critical value, the logic circuit 122 enables the wake-up signal WU2.

[0034] In another possible embodiment, the logic circuit 122 wakes up at least one detection mechanism according to the program code. For example, the logic circuit 122 first detects an ambient temperature according to the program code, and determines whether the ambient temperature reaches a critical value. When the ambient temperature reaches a critical value, the logic circuit 122 wakes up a first detection circuit (not shown). The first detection circuit determines whether a first wake-up event occurs, such as determining whether a specific current has reached a first preset value. When the specific current has reached a first preset value, the logic circuit 122 enables the wake-up signal WU2. In this example, the wake-up condition is that the ambient temperature reaches a critical value and the specific current has reached a first preset value.

[0035] In some embodiments, when the first wake-up event occurs, the logic circuit 122 wakes up a second detection circuit. The second detection circuit determines whether a second wake-up event occurs, such as determining whether a specific voltage has reached a second preset value. When the second wake-up event occurs, the logic circuit 122 enables the wake-up signal WU2. In this example, the wake-up condition is that the ambient temperature has reached a critical value, a specific current has reached a first preset value, and a specific voltage has reached a second preset value.

[0036] The present invention does not limit the wake-up conditions. In some embodiments, the wake-up condition means that at least one specific event has occurred, such as the ambient temperature has reached a critical value, a specific current has reached a first preset value, and a specific voltage has reached a second preset value. The logic circuit 122 triggers various wake-up mechanisms (or detection circuits) according to the program code stored in the memory 121, and different wake-up combinations can be set. In addition, the logic circuit 122 appropriately adjusts the critical value stored in the memory 121 according to the feedback of each detection circuit.

[0037] In other embodiments, the management circuit 120 further includes a detection circuit 123. When the wake-up signal WU1 is enabled, the management circuit 120 starts the detection circuit 123. The detection circuit 123 determines whether a second specific event (or wake-up event) occurs. When the second specific event occurs (such as the temperature has reached a preset value), the detection circuit 123 notifies the logic circuit 122. Therefore, the logic circuit 122 enables the wake-up signal WU2. The present invention does not limit the architecture of the detection circuit 123. Any circuit with a detection function can be used as the detection circuit 123.

[0038] In some embodiments, the control chip 100 further includes switches 140 and 150. The switch 140 is coupled to the management circuit 120. When the first specific event occurs, the switch 140 is turned on to transmit the operating voltage VOP to the management circuit 120. At this time, the management circuit 120 leaves the sleep mode and enters the normal mode. In the normal mode, the management circuit 120 determines whether a wake-up condition has been met. However, when the first specific event does not occur, the switch 140 is not turned on to stop transmitting the operating voltage VOP to the management circuit 120. Therefore, the management circuit 120 enters the sleep mode. In the sleep mode, the management circuit 120 suspends judging whether the wake-up condition has been met. In a possible embodiment, the switch 140 is controlled by the detection circuit 110. In this example, when the first specific event occurs, the detection circuit 110 turns on the switch 140. When the first specific event does not occur, the detection circuit 110 does not turn on the switch 140.

[0039] The switch 150 is coupled to the main core circuit 130. When the wake-up condition is met, the switch 150 is turned on to transmit the operating voltage VOP to the main core circuit 130. Therefore, the main core circuit 130 leaves the sleep mode and enters the normal mode. However, when the wake-up condition is not met, the switch 150 is not turned on to stop transmitting the operating voltage VOP to the main core circuit 130. Therefore, the main core circuit 130 enters the sleep mode.

[0040] In one possible embodiment, the switch 150 is controlled by the management circuit 120. When the wake-up condition is met, the management circuit 120 turns on the switch 150. When the wake-up condition is not met, the management circuit 120 turns off the switch 150. In other embodiments, the management circuit 120 further controls the switch 140. When the wake-up condition is not met, the management circuit 120 turns off the switch 140.

[0041] Figure 2 2 is another schematic diagram of the control chip of the present invention. The control chip 200 includes detection circuits 210, 260, a management circuit 220 and a main core circuit 230. In this embodiment, the detection circuit 210 continuously receives the operating voltage VOP. Therefore, the detection circuit 210 is always turned on. Even if the detection circuit 260, the management circuit 220 and the main core circuit 230 enter the sleep mode, the detection circuit 210 still operates in the normal mode. In other words, the detection circuit 210 never enters the sleep mode.

[0042] The detection circuit 210 detects whether a first specific event occurs. When the first specific event occurs, the detection circuit 210 enables the wake-up signal WU1 to wake up the management circuit 220. Since the characteristics of the detection circuit 210 are similar to Figure 1 The characteristics of the detection circuit 110 are not described in detail.

[0043] When the wake-up signal WU1 is enabled, the management circuit 220 leaves the sleep mode and enters the normal mode. In the normal mode, the management circuit 220 determines whether a wake-up condition has been met. In one possible embodiment, the management circuit 220 activates a detection circuit of itself to determine whether a second specific event (such as whether the temperature has reached a first critical value) has occurred. In this example, when the second specific event occurs, the management circuit 220 enables a trigger signal STR. When the second specific event does not occur, the management circuit 220 does not enable the trigger signal STR. In another possible embodiment, when the wake-up signal WU1 is enabled, the management circuit 220 directly enables the trigger signal STR. When the wake-up signal WU1 is not enabled, the management circuit 220 does not enable the trigger signal STR. In other embodiments, after enabling the trigger signal STR, the management circuit 220 leaves the normal mode and re-enters the sleep mode.

[0044] The detection circuit 260 operates according to the trigger signal STR. For example, when the trigger signal STR is enabled, the detection circuit 260 detects whether a third specific event occurs. When the third specific event occurs (such as a specific current has reached a second critical value), the detection circuit 260 enables a wake-up signal WU3. When the third specific event does not occur, the detection circuit 260 does not enable the wake-up signal WU3. The present invention does not limit the architecture of the detection circuit 260. Any circuit with a detection function can be used as the detection circuit 260. In one possible embodiment, the characteristics of the detection circuit 260 are similar to Figure 1 Characteristics of the detection circuit 110.

[0045] When the wake-up signal WU3 is enabled, it indicates that the wake-up condition has been met (such as the temperature has reached the first critical value, and the current has reached the second critical value). Therefore, the management circuit 220 wakes up the main core circuit 230 through the wake-up signal WU2. The present invention does not limit the number of specific events included in the wake-up condition. In other embodiments, the wake-up condition is met only when more specific events occur. For example, the wake-up condition is met only when the temperature has reached the first critical value, the current has reached the second critical value, and the frequency has reached the third critical value. Since the characteristics of the management circuit 220 are similar to Figure 1 The characteristics of the management circuit 120 are not described in detail.

[0046] When the wake-up signal WU2 is enabled, the main core circuit 230 leaves the sleep mode and enters the normal mode. In the normal mode, the power consumption of the main core circuit 230 is greater than the power consumption of the management circuit 220. Since the characteristics of the main core circuit 230 are similar to Figure 1 The characteristics of the main core circuit 130 are not described in detail.

[0047] In other embodiments, the control chip 200 further includes switches 240, 250, and 270. The switch 240 is coupled to the management circuit 220. When the first specific event occurs, the detection circuit 210 turns on the switch 240. Therefore, the switch 240 transmits the operating voltage VOP to the management circuit 220. However, when the first specific event does not occur, the detection circuit 210 does not turn on the switch 240. Therefore, the switch 240 stops transmitting the operating voltage VOP to the management circuit 220.

[0048] The switch 250 is coupled to the main core circuit 220 and is controlled by the management circuit 220. When the wake-up condition is met, the management circuit 220 turns on the switch 250. Therefore, the switch 250 transmits the operating voltage VOP to the main core circuit 230. However, when the first wake-up condition is not met, the management circuit 220 does not turn on the switch 250. Therefore, the switch 250 stops transmitting the operating voltage VOP to the main core circuit 230.

[0049] The switch 270 is coupled to the detection circuit 260 and is controlled by the management circuit 220. For example, when the wake-up signal WU1 is enabled, the management circuit 220 turns on the switch 270. Therefore, the switch 270 transmits the operating voltage VOP to the detection circuit 260. However, when the wake-up signal WU1 is not enabled, the management circuit 220 does not turn on the switch 270. Therefore, the switch 270 stops transmitting the operating voltage VOP to the detection circuit 260.

[0050] Figure 3 3 is another schematic diagram of the control chip of the present invention. The control chip 300 includes detection circuits 310, 360, a management circuit 320 and a main core circuit 330. In the present embodiment, the detection circuit 360 continuously receives the operating voltage VOP. Therefore, the detection circuit 360 is always turned on. When the detection circuit 310, the management circuit 320 and the main core circuit 330 enter the sleep mode, the detection circuit 360 still operates in the normal mode. In other words, the detection circuit 360 never enters the sleep mode. In other embodiments, the detection circuits 310 and 360 continuously receive the operating voltage VOP. Therefore, the detection circuits 310 and 360 are always turned on. In this example, the architecture of the detection circuits 310 and 360 is relatively simple and has fewer components, so even if the detection circuits 310 and 360 do not enter the sleep mode, it will not cause too much power consumption.

[0051] The detection circuit 360 is used to detect whether a third specific event occurs. When the third specific event occurs, the detection circuit 360 enables the wake-up signal WU3 to wake up the detection circuit 310. Therefore, the detection circuit 310 starts to detect whether the first specific event occurs. When the first specific event occurs, the detection circuit 310 enables the wake-up signal WU1 to wake up the management circuit 320. The management circuit 320 determines whether a wake-up condition is satisfied. When the wake-up condition is satisfied, the management circuit 320 enables the wake-up signal WU2 to wake up the main core circuit 330.

[0052] In one possible embodiment, the detection circuit 360 includes a timer (not shown). The timer enables the wake-up signal WU3 at a fixed interval. When the wake-up signal WU3 is enabled, the detection circuit 310 detects whether a first specific event occurs, such as whether the ambient temperature reaches a first critical value. When the first specific event does not occur, the detection circuit 310 does not enable the wake-up signal WU1. However, when the first specific event occurs, the detection circuit 310 enables the wake-up signal WU1. When the wake-up signal WU1 is enabled, the management circuit 320 detects whether a second specific event occurs, such as whether the current reaches a second critical value. When the second specific event does not occur, it indicates that the wake-up condition is not met. Therefore, the management circuit 320 does not enable the wake-up signal WU2. However, when the second specific event occurs, it indicates that the wake-up event has been met. Therefore, the management circuit 320 enables the wake-up signal WU2 to wake up the main core circuit 330.

[0053] In another possible embodiment, the detection circuit 360 detects whether a third specific event occurs, such as whether the current reaches a second critical value. When the third specific event does not occur, the detection circuit 360 does not enable the wake-up signal WU3. When the third specific event occurs, the detection circuit 360 enables the wake-up signal WU3. When the wake-up signal WU3 is enabled, the detection circuit 310 detects whether the first specific event occurs, such as whether the ambient temperature reaches a first critical value. When the first specific event does not occur, the detection circuit 310 does not enable the wake-up signal WU1. When the first specific event occurs, the detection circuit 310 enables the wake-up signal WU1. When the wake-up signal WU1 is enabled, it indicates that the wake-up condition has been met. Therefore, the management circuit 320 enables the wake-up signal WU2 to wake up the main core circuit 330. However, when the wake-up signal WU1 is not enabled, it indicates that the wake-up condition has not been met. Therefore, the management circuit 320 does not enable the wake-up signal WU2, and the main core circuit 330 remains in the sleep mode.

[0054] In other embodiments, the control chip 300 further includes switches 340 and 350. Since the operations of the switches 340 and 350 are similar to Figure 1The actions of switches 140 and 150 are not described in detail herein, and thus are not further described. In some embodiments, the detection circuit 310 may directly receive the operating voltage VOP. Therefore, the detection circuit 310 is always turned on and never enters the sleep mode. In another possible embodiment, the detection circuit 310 is coupled to a switch (not shown). When the switch is not turned on, the detection circuit 310 enters a sleep mode. When the detection circuit 360 enables the wake-up signal WU3, the detection circuit 360 turns on the switch coupled to the detection circuit 310. When the detection circuit 310 receives the operating voltage VOP, the detection circuit 310 leaves the sleep mode and enters the normal mode.

[0055] Figure 4 4 is another schematic diagram of the control chip of the present invention. The control chip 400 includes detection circuits 410, 460, management circuits 420, 470, and a main core circuit 430. In one possible embodiment, the detection circuits 410 and 460 continuously receive the operating voltage VOP. Therefore, the detection circuits 410 and 460 are always turned on. Even if the management circuits 420, 470 and the main core circuit 430 enter the sleep mode, the detection circuits 410 and 460 operate normally.

[0056] The detection circuit 410 detects whether a first specific event occurs. When the first specific event occurs, the detection circuit 410 enables the wake-up signal WU1. When the wake-up signal WU1 is enabled, the management circuit 420 leaves the sleep mode and enters the normal mode. In the normal mode, the management circuit 420 determines whether a first wake-up condition is satisfied. When the first wake-up condition is satisfied, the management circuit 420 enables the wake-up signal WU2. Since the characteristics of the detection circuit 410 and the management circuit 420 are similar to Figure 1 The characteristics of the detection circuit 110 and the management circuit 120 are not described in detail.

[0057] The detection circuit 460 detects whether a third specific event occurs. When the third specific event occurs, the detection circuit 460 enables the wake-up signal WU3. When the wake-up signal WU3 is enabled, the management circuit 470 leaves the sleep mode and enters the normal mode. In the normal mode, the management circuit 470 determines whether a second wake-up condition is satisfied. When the second wake-up condition is satisfied, the management circuit 470 enables the wake-up signal WU4. Since the characteristics of the detection circuit 460 and the management circuit 470 are similar to Figure 1 The characteristics of the detection circuit 110 and the management circuit 120 are not described in detail.

[0058] When the wake-up signals WU2 and WU4 are both enabled, the main core circuit 430 leaves the sleep mode and enters the normal mode. Figure 1 The characteristics of the main core circuit 130 are not described in detail.

[0059] In one possible embodiment, the control chip 400 further includes a determination circuit 480. The determination circuit 480 receives the wake-up signals WU2 and WU4. When the wake-up signals WU2 and WU4 are both enabled, the determination circuit 480 enables the wake-up signal WU5 to wake up the main core circuit 430. The present invention does not limit the architecture of the determination circuit 480. In one possible embodiment, the determination circuit 480 is an AND gate.

[0060] In one possible embodiment, the detection circuit 410 is used to detect an external sound, and the detection circuit 460 is used to detect an external image. When the detection circuit 410 detects the external sound, the detection circuit 410 enables the wake-up signal WU1. The management circuit 420 determines whether the external sound meets a first preset condition. In one possible embodiment, the management circuit 420 determines whether the external sound is a human voice. When the external sound meets the first preset condition, the management circuit 420 enables the wake-up signal WU2.

[0061] The detection circuit 460 is used to detect whether an external image has changed. When the external image has changed, the detection circuit 460 enables the wake-up signal WU3. The management circuit 470 determines whether the external image meets a second preset condition. In a possible embodiment, the management circuit 470 determines whether there is a living body in the external image. When the external image meets the second preset condition, the management circuit 470 enables the wake-up signal WU4.

[0062] In other embodiments, the control chip 400 further includes switches 440, 450, and 490. The switch 440 is coupled to the management circuit 420 and controlled by the detection circuit 410. When the detection circuit 410 turns on the switch 440, the switch 440 transmits the operating voltage VOP to the management circuit 420. When the detection circuit 410 turns off the switch 440, the switch 440 stops transmitting the operating voltage VOP to the management circuit 420.

[0063] The switch 450 is coupled to the main core circuit 430 and is controlled by the determination circuit 480. When both the wake-up signals WU2 and WU4 are enabled, the determination circuit 480 turns on the switch 450. Therefore, the switch 450 transmits the operating voltage VOP to the main core circuit 430. When either of the wake-up signals WU2 and WU4 is not enabled, the determination circuit 480 does not turn on the switch 450. Therefore, the switch 450 stops transmitting the operating voltage VOP to the main core circuit 430.

[0064] The switch 490 is coupled to the management circuit 470 and controlled by the detection circuit 460. When the detection circuit 460 turns on the switch 490, the switch 490 transmits the operation voltage VOP to the management circuit 470. When the detection circuit 460 turns off the switch 490, the switch 490 stops transmitting the operation voltage VOP to the management circuit 470.

[0065] Figure 5 The control method of the present invention can be implemented in the form of a program code. When the program code is loaded and executed by a machine, the machine becomes a control chip for implementing the present invention.

[0066] First, all circuits in the control chip are required to enter a sleep mode (step S511). In one possible embodiment, the control chip has a detection circuit that is always on. When all circuits in the control chip enter the sleep mode, the detection circuit that is always on operates normally and does not enter the sleep mode.

[0067] The always-on detection circuit is used to detect whether a first specific event occurs (step S512). In a possible embodiment, the first specific event refers to a count value of a counter reaching a target value.

[0068] When the first specific event does not occur, the process returns to step S511 to maintain all circuits in the control chip in sleep mode. When the first specific event occurs, a first management circuit of the control chip is awakened (step S513). In one possible embodiment, when the first specific event occurs, step S513 turns on a switch to supply power to the first management circuit.

[0069] The first management circuit is used to determine whether a wake-up condition is met (step S514). When the wake-up condition is not met, the process returns to step S511 to maintain all circuits in the control chip (including the first management circuit) in the sleep mode. In one possible embodiment, when the wake-up condition is not met, the first management circuit first resets the count value of the counter and then enters the sleep mode.

[0070] When the awakening condition is met, the first management circuit is commanded to awaken a main core circuit of the control chip (step S515). In a possible embodiment, when the awakening condition is met, step S515 turns on another switch to supply power to the main core circuit.

[0071] In other embodiments, step S513 further wakes up a second detection circuit. The second detection circuit is used to detect whether a second specific event occurs. When the second specific event occurs, it means that the wake-up condition is met. Therefore, the main core circuit of the control chip is woken up (step S515). However, when the second specific event does not occur, it means that the wake-up condition is not met. Therefore, returning to step S511, all circuits in the control chip (including the second detection circuit) are required to enter sleep mode.

[0072] In some embodiments, step S513 instructs the first management circuit to first wake up a second detection circuit. The second detection circuit is used to detect whether a second specific event occurs. When the second specific event occurs, step S513 again instructs the first management circuit to wake up a third detection circuit. The third detection circuit is used to detect whether a third specific event occurs. When the third specific event occurs, it indicates that the wake-up condition is met. Therefore, the first management circuit wakes up the main core circuit of the control chip (step S515). However, when the second specific event does not occur, it indicates that the wake-up condition is not met. Therefore, returning to step S511, all circuits in the control chip (including the second and third detection circuits) are required to enter sleep mode.

[0073] Since most of the circuits in the control chip are operated in sleep mode, the power consumption of the control chip can be greatly reduced. Furthermore, the circuits in the control chip are awakened hierarchically. When a specific event occurs, only the circuits that can handle the current event are awakened, so the purpose of saving power consumption can be achieved.

[0074] It should be understood that when an element or layer is referred to as being "coupled" to another element or layer, it may be directly coupled or connected to the other element or layer, or have other elements or layers intervening therebetween. Conversely, if an element or layer is "connected" to another element or layer, there will be no other elements or layers intervening therebetween. In addition, "enable" shall mean changing the state of a Boolean signal. Boolean signals can be enabled to be high or have a higher voltage, and Boolean signals can be enabled to be low or have a lower voltage at the discretion of the circuit designer. Similarly, "disable" shall mean changing the state of a Boolean signal to a voltage level opposite to the enabled state.

[0075] The control method of the present invention, or a specific form or part thereof, may exist in the form of a first program code. The first program code may be stored in a physical medium, such as a floppy disk, an optical disk, a hard disk, or any other machine-readable (such as computer-readable) storage medium, or a computer program product not limited to an external form, wherein when the first program code is loaded and executed by a machine, such as a computer, the machine becomes a control chip for participating in the present invention. The first program code may also be transmitted through some transmission media, such as wires or cables, optical fibers, or any transmission mode, wherein when the first program code is received, loaded and executed by a machine, such as a computer, the machine becomes a control chip for participating in the present invention. When implemented in a general-purpose processing unit, the first program code combines with the processing unit to provide a unique device that operates similarly to an application-specific logic circuit.

[0076] Unless otherwise defined, all words (including technical and scientific words) herein are generally understood by those skilled in the art. In addition, unless expressly indicated, the definitions of words in general dictionaries should be interpreted as consistent with the meanings in articles in the relevant technical field, and should not be interpreted as ideal or overly formal. Although the terms "first", "second", etc. can be used to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element.

[0077] Although the present invention has been disclosed as above with preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art may make some changes and modifications without departing from the spirit and scope of the present invention. For example, the system, device or method described in the embodiments of the present invention may be implemented in a physical embodiment of hardware, software or a combination of hardware and software. Therefore, the scope of protection of the present invention shall be subject to the scope defined by the claims.

Claims

1. A control chip, characterized in that: include: a first detection circuit, enabling a first wake-up signal when a first specific event occurs; a first management circuit, which, when the first wake-up signal is enabled, determines whether a first wake-up condition is met, and enables a second wake-up signal when the first wake-up condition is met; as well as a main core circuit, which leaves a sleep mode and enters a normal mode according to the second wake-up signal; in: When the first specific event does not occur, the first management circuit and the main core circuit operate in the sleep mode; When the first awakening condition is not satisfied, the main core circuit operates in the sleep mode.

2. The control chip according to claim 1, characterized in that: When the second wake-up signal is enabled, the main core circuit leaves the sleep mode and enters the normal mode.

3. The control chip according to claim 2, characterized in that: When the first wake-up signal is enabled, the first management circuit detects whether a second specific event occurs. When the second specific event occurs, the first management circuit enables the second wake-up signal.

4. The control chip according to claim 3, characterized in that: Also includes: a first switch, coupled to the first management circuit; as well as a second switch coupled to the main core circuit; in: When the first specific event occurs, the first switch is turned on to transmit an operating voltage to the first management circuit, and when the first specific event does not occur, the first switch is turned off to stop transmitting the operating voltage to the first management circuit; When the first awakening condition is met, the second switch is turned on to transmit the operating voltage to the main core circuit. When the first awakening condition is not met, the second switch is turned off to stop transmitting the operating voltage to the main core circuit.

5. The control chip according to claim 4, characterized in that: The first detection circuit controls the first switch to turn on or off the first switch, and the first management circuit controls the second switch to turn on or off the second switch.

6. The control chip according to claim 2, characterized in that: Also includes: a second detection circuit, which detects whether a third specific event occurs when a trigger signal is enabled, and enables a third wake-up signal when the third specific event occurs; in: When the first wake-up signal is enabled, the first management circuit enables the trigger signal, When the third wake-up signal is enabled, the first management circuit enables the second wake-up signal.

7. The control chip according to claim 6, characterized in that: Also includes: a first switch, coupled to the first management circuit; a second switch coupled to the main core circuit; and a third switch coupled to the second detection circuit; in: When the first specific event occurs, the first switch is turned on to transmit an operating voltage to the first management circuit, and when the first specific event does not occur, the first switch is turned off to stop transmitting the operating voltage to the first management circuit; When the trigger signal is enabled, the third switch is turned on to transmit the operating voltage to the second detection circuit, and when the trigger signal is not enabled, the third switch is turned off to stop transmitting the operating voltage to the second detection circuit; When the first awakening condition is met, the second switch is turned on to transmit the operating voltage to the main core circuit. When the first awakening condition is not met, the second switch is turned off to stop transmitting the operating voltage to the main core circuit.

8. The control chip according to claim 1, characterized in that: Also includes: a second detection circuit, detecting whether a third specific event occurs, and enabling a third wake-up signal when the third specific event occurs; a second management circuit, which, when the third wake-up signal is enabled, determines whether a second wake-up condition is met, and when the second wake-up condition is met, the second management circuit enables a fourth wake-up signal; When the second and fourth wake-up signals are both enabled, the main core circuit leaves the sleep mode and enters the normal mode.

9. A control method, applicable to a control chip, characterized in that: The control method includes: Require all circuits in the control chip to enter a sleep mode; Using a first detection circuit to detect whether a first specific event occurs; When the first specific event occurs, waking up a management circuit of the control chip; Using the management circuit, determining whether a wake-up condition is met; and When the awakening condition is met, a main core circuit of the control chip is awakened.

10. The control method according to claim 9, characterized in that: The first specific event refers to a count value of a counter reaching a target value. When the wake-up condition is not satisfied, the management circuit resets the count value of the counter.