Wake-up device and method of single-chip microcomputer and electric automobile
Through the combination of multiple wake-up sources, digital signals, timer trigger signals and analog signal combination logic circuits are used to solve the problem of false wake-up and failure to wake up when the microcontroller wakes up in multiple cycles, and improves work stability.
Patent Information
- Application Number
- CN202411141560.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-10-11
AI Technical Summary
In the existing technology, single-chip microcomputers sometimes wake up incorrectly or fail to wake up when they wake up in multiple cycles, resulting in unstable working performance and lack of effective solutions.
Using a combination of multiple wake-up sources, including digital signals, timer trigger signals and analog signals, the microcontroller is woken up from a low-power consumption state to a normal working state through a combination of logic gate circuits to improve the reliability of wake-up.
It significantly reduces the probability of the microcontroller accidentally waking up or being unable to wake up during multiple wake-up cycles, and improves the working stability of the microcontroller.
Smart Images

Figure CN118760020A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power electronics, and in particular to a wake-up device and method for a single-chip microcomputer and an electric vehicle. Background Art
[0002] The battery life of electric vehicles has become an important indicator for measuring the working performance of electric vehicles. Therefore, many electronic components in electric vehicles have low power consumption requirements. For the core processor microcontroller in the electronic components, it is necessary to intermittently enter the low power state and the normal working state according to the pre-set control cycle. When the microcontroller is in the low power state, a wake-up source is needed to wake up the microcontroller to the normal working state.
[0003] In the prior art, a single wake-up source is usually used to wake up the MCU from a low power consumption state to a normal working state. When the MCU is woken up multiple times in a cycle, there may be cases of false wake-up or failure to wake up. In this case, the MCU can only be reset or powered on again to enter the normal working mode and then the low power consumption state, which greatly reduces the stability of the MCU during operation. At present, there is no effective solution to this technical problem. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a single-chip microcomputer wake-up device, method and electric vehicle to solve the technical problem of unstable working performance of the single-chip microcomputer when performing multiple cycle wake-ups in the prior art. The specific scheme is as follows:
[0005] In order to solve the above technical problems, the present invention provides a wake-up device for a single-chip microcomputer, comprising:
[0006] A first wake-up source, used to wake up the single-chip microcomputer from a low power consumption state to a normal working state through a digital signal;
[0007] A second wake-up source is used to wake up the single-chip microcomputer from a low power consumption state to a normal working state through a target trigger signal generated by a timer;
[0008] A third wake-up source, used to wake up the single-chip microcomputer from a low power consumption state to a normal working state through an analog signal;
[0009] The wake-up source combination module is respectively connected to the first wake-up source, the second wake-up source and the third wake-up source, and is used to combine the output signal of the first wake-up source, the output signal of the second wake-up source and the output signal of the third wake-up source when the single-chip microcomputer is in a low power consumption state, and wake up the single-chip microcomputer to a normal working state through the digital signal and / or the target trigger signal and / or the analog signal.
[0010] Preferably, the first wake-up source includes:
[0011] A digital chip, used for outputting the digital signal;
[0012] A first filter, connected to the digital chip, for filtering the digital signal to obtain a first filtered signal;
[0013] The first AND gate is connected to the first filter, and is used for receiving a first enable signal and the first filter signal, and outputting a digital wake-up signal for waking up the single-chip microcomputer from a low power consumption state to a normal working state.
[0014] Preferably, the second wake-up source includes:
[0015] The timer disposed inside the clock chip is used to output the target trigger signal;
[0016] A second filter, connected to the timer, for filtering the target trigger signal to obtain a second filtered signal;
[0017] The second AND gate is connected to the second filter, and is used for receiving the second enable signal and the second filter signal, and outputting a timer wake-up signal for waking up the single-chip microcomputer from a low power consumption state to a normal working state.
[0018] Preferably, the third wake-up source includes:
[0019] An analog chip, used for outputting the analog signal;
[0020] A comparator, connected to the analog chip, for comparing the analog signal with a preset signal to obtain a target comparison signal;
[0021] a third filter, connected to the comparator, and configured to filter the target comparison signal to obtain a third filtered signal;
[0022] The third AND gate is connected to the third filter, and is used for receiving a third enable signal and the third filter signal, and outputting an analog wake-up signal for waking up the single-chip microcomputer from a low power consumption state to a normal working state.
[0023] Preferably, it also includes:
[0024] The power management module is arranged in the single-chip microcomputer and is connected to the wake-up source combination module, and is used to supply power to the single-chip microcomputer.
[0025] Preferably, the wake-up source combination module is specifically a combinational logic circuit constructed by logic gate circuits.
[0026] Preferably, the combinational logic circuit is specifically a logic circuit constructed by logic AND gates and / or logic OR gates.
[0027] In order to solve the above technical problem, the present invention further provides an electric vehicle, comprising a wake-up device for a single-chip microcomputer as disclosed above.
[0028] In order to solve the above technical problems, the present invention further provides a wake-up method for a single-chip microcomputer, which is applied to the wake-up source combination module in the wake-up device for a single-chip microcomputer disclosed above, and the method comprises:
[0029] When the single-chip microcomputer is in a low power consumption state, the output signal of the first wake-up source, the output signal of the second wake-up source and the output signal of the third wake-up source are combined, and the single-chip microcomputer is jointly awakened to a normal working state through a digital signal and / or a target trigger signal and / or an analog signal.
[0030] Preferably, the output signal of the first wake-up source, the output signal of the second wake-up source and the output signal of the third wake-up source are combined, and the single-chip microcomputer is woken up to a normal working state by a digital signal and / or a target trigger signal and / or an analog signal, including:
[0031] Respectively acquiring output signals of the first wake-up source, the second wake-up source, and the third wake-up source to obtain a digital wake-up signal, a timer wake-up signal, and an analog wake-up signal;
[0032] The digital wake-up signal, the timer wake-up signal and the analog wake-up signal are combined by using a logic OR gate and / or a logic AND gate to obtain a target wake-up signal, and the single-chip microcomputer is awakened to a normal working state by using the target wake-up signal.
[0033] Beneficial effect: In the single-chip microcomputer wake-up device provided by the present invention, a first wake-up source, a second wake-up source, a third wake-up source and a wake-up source combination module are provided; wherein the first wake-up source, the second wake-up source and the third wake-up source can respectively wake up the single-chip microcomputer from a low power consumption state to a normal working state through a digital signal, a target trigger signal generated by a timer and an analog signal; when the single-chip microcomputer is in a low power consumption state, the wake-up source combination module will combine the output signal of the first wake-up source, the output signal of the second wake-up source and the output signal of the third wake-up source, and wake up the single-chip microcomputer to a normal working state through a digital signal and / or a target trigger signal and / or an analog signal.
[0034] Compared with the prior art, the MCU wake-up device provided by the present invention can wake up the MCU by using a combination of multiple wake-up sources, which can greatly reduce the probability of false awakening or failure to awaken the MCU during multiple wake-up cycles, thereby significantly improving the stability of the MCU during operation.
[0035] Correspondingly, an electric vehicle and a method for waking up a single-chip microcomputer provided by the present invention also have the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0037] Figure 1 A structural diagram of a wake-up device for a single-chip microcomputer provided by an embodiment of the present invention;
[0038] Figure 2 This is a structural diagram of another single-chip microcomputer wake-up device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] See also Figure 1 , Figure 1 A structural diagram of a single-chip microcomputer wake-up device provided in an embodiment of the present invention, the device includes:
[0041] A first wake-up source 11 is used to wake up the single-chip microcomputer from a low power consumption state to a normal working state through a digital signal;
[0042] The second wake-up source 12 is used to wake up the single-chip microcomputer from a low power consumption state to a normal working state through a target trigger signal generated by a timer;
[0043] A third wake-up source 13 is used to wake up the single-chip microcomputer from a low power consumption state to a normal working state through an analog signal;
[0044] The wake-up source combination module 14 is connected to the first wake-up source 11, the second wake-up source 12 and the third wake-up source 13 respectively, and is used to combine the output signal of the first wake-up source 11, the output signal of the second wake-up source 12 and the output signal of the third wake-up source 13 when the single-chip microcomputer is in a low power consumption state, and wake up the single-chip microcomputer to a normal working state through a digital signal and / or a target trigger signal and / or an analog signal generated by a timer.
[0045] In this embodiment, a wake-up device for a single chip microcomputer is provided, which can significantly improve the stability of the single chip microcomputer during operation. In the wake-up device, a first wake-up source 11, a second wake-up source 12, a third wake-up source 13 and a wake-up source combination module 14 are provided.
[0046] Among them, the first wake-up source 11 can wake up the single-chip computer from a low power consumption state to a normal working state through a digital signal, the second wake-up source 12 can wake up the single-chip computer from a low power consumption state to a normal working state through a target trigger signal generated by a timer, and the third wake-up source 13 can wake up the single-chip computer from a low power consumption state to a normal working state through an analog signal. The wake-up source combination module 14 can combine the output signal of the first wake-up source 11, the output signal of the second wake-up source 12, and the output signal of the third wake-up source 13 when the single-chip computer is in a low power consumption state, and wake up the single-chip computer to a normal working state through a digital signal and / or a target trigger signal and / or an analog signal.
[0047] When the wakeup source combination module 14 combines the output signal of the first wakeup source 11, the output signal of the second wakeup source 12, and the output signal of the third wakeup source 13, it is necessary to combine the output signal of the first wakeup source 11, the output signal of the second wakeup source 12, and the output signal of the third wakeup source 13 in advance according to the judgment logic set in advance. For example, the output signal of the first wakeup source 11, the output signal of the second wakeup source 12, and the output signal of the third wakeup source 13 can be combined according to the logic of OR, or the output signal of the first wakeup source 11, the output signal of the second wakeup source 12, and the output signal of the third wakeup source 13 can be combined according to the logic of AND, OR, or the output signal of the first wakeup source 11, the output signal of the second wakeup source 12, and the output signal of the third wakeup source 13 can be combined according to the logic of AND, OR, or the output signal of the first wakeup source 11, the output signal of the second wakeup source 12, and the output signal of the third wakeup source 13 can be combined according to the logic of OR, AND, etc.
[0048] It is not difficult to imagine that no matter what logic the wake-up source combination module uses to combine the output signal of the first wake-up source, the output signal of the second wake-up source and the output signal of the third wake-up source, a variety of different wake-up methods can be used to wake up the microcontroller, which can greatly reduce the probability of false awakening or failure to awaken the microcontroller during multiple cycle wake-up processes, thereby significantly improving the stability of the microcontroller during operation.
[0049] Based on the above embodiments, this embodiment further explains and optimizes the technical solution. Figure 2 , Figure 2 This is a structural diagram of another single-chip wake-up device provided by an embodiment of the present invention. As a preferred implementation, the first wake-up source 11 includes:
[0050] A digital chip 101 is used to output digital signals;
[0051] A first filter 102, connected to the digital chip 101, is used to filter the digital signal to obtain a first filtered signal;
[0052] The first AND gate AND1 is connected to the first filter 102, and is used for receiving the first enable signal en1 and the first filter signal, and outputting a digital wake-up signal for waking up the single-chip microcomputer from a low power consumption state to a normal working state.
[0053] exist Figure 2 In the device shown, 10 represents a wake-up device of the single-chip microcomputer, and Ctl represents a control signal of the wake-up source combination module 14. In this embodiment, a digital chip 101, a first filter 102, and a first AND gate AND1 are set in the first wake-up source 11. When the digital chip 101 outputs a digital signal, the first filter 102 will filter the digital signal and filter out the burrs in the digital signal to obtain a first filtered signal; then, the first filter 102 will input the filtered digital signal into the first AND gate AND1. Under the action of the first enable signal en1, the first AND gate AND1 will output a digital wake-up signal that wakes up the single-chip microcomputer from a low power consumption state to a normal working state when detecting a jump in the digital signal according to the control logic pre-set in the single-chip microcomputer.
[0054] In actual applications, the external controller sends a control signal to the digital chip 101 through CAN (Controller Area Network) / LIN (Local Interconnect Network), causing the digital chip 101 to output a digital signal, and allowing the first wake-up source 11 to output a digital wake-up signal that wakes up the microcontroller from a low power state to a normal working state.
[0055] Obviously, through the technical solution provided by this embodiment, the first wake-up source can use a digital signal to wake up the single-chip microcomputer from a low power consumption state to a normal working state.
[0056] Based on the above embodiments, this embodiment further illustrates and optimizes the technical solution. Figure 2 , Figure 2 This is a structural diagram of another single-chip wake-up device provided by an embodiment of the present invention. As a preferred implementation, the second wake-up source 12 includes:
[0057] A timer 201 disposed inside the clock chip is used to output a target trigger signal;
[0058] The second filter 202 is connected to the timer 201 and is used to filter the target trigger signal to obtain a second filtered signal;
[0059] The second AND gate AND2 is connected to the second filter 202, and is used for receiving the second enable signal en2 and the second filter signal, and outputting a timer wake-up signal for waking up the single-chip microcomputer from a low power consumption state to a normal working state.
[0060] In this embodiment, the internal structure of the second wake-up source 12 is specifically described. That is, the second wake-up source 12 is provided with a timer 201, a second filter 202 and a second AND gate AND2. When the timer 201 outputs a target trigger signal, the second filter 202 will filter the target trigger signal and remove the burrs in the clock signal to obtain a second filtered signal; thereafter, the second AND gate AND2 will, under the action of the second enable signal en2, judge the second filtered signal according to the control logic pre-set by the single-chip microcomputer, and output a timer wake-up signal that wakes up the single-chip microcomputer from a low power consumption state to a normal working state. It should be noted that the target trigger signal output by the timer 201 can be either a pulse signal or a digital signal, which is not specifically limited here.
[0061] Specifically, in practical applications, the clock chip 201 may be set as a function module such as an RTC (Real Time Clock) or an API (Autonomous Periodic Interrupt).
[0062] Obviously, through the technical solution provided in this embodiment, the second wake-up source can wake up the single-chip microcomputer from a low power consumption state to a normal working state through a target trigger signal.
[0063] Based on the above embodiments, this embodiment further illustrates and optimizes the technical solution. Figure 2 , Figure 2This is a structural diagram of another single-chip wake-up device provided by an embodiment of the present invention. As a preferred implementation, the third wake-up source 13 includes:
[0064] The analog chip 301 is used to output analog signals;
[0065] The comparator 302 is connected to the analog chip 301 and is used to compare the analog signal with the preset signal to obtain a target comparison signal;
[0066] A third filter 303, connected to the comparator 302, is used to filter the target comparison signal to obtain a third filtered signal;
[0067] The third AND gate AND3 is connected to the third filter 303, and is used for receiving the third enable signal en3 and the third filter signal, and outputting an analog wake-up signal for waking up the single-chip microcomputer from a low power consumption state to a normal working state.
[0068] In the third wake-up source 13 provided in this embodiment, an analog chip 301, a comparator 302, a third filter 303 and a third AND gate AND3 are provided. When the analog chip 301 outputs an analog signal, the comparator 302 compares the analog signal output by the analog chip 301 with a preset signal to obtain a target comparison signal, thereby achieving the purpose of converting the analog signal output by the analog chip 301 into a corresponding digital signal; then, the third filter 303 filters the target comparison signal output by the comparator 302, and removes the burrs and noise in the target comparison signal to obtain a third filtered signal; finally, the third AND gate AND3 judges the third filtered signal according to the control logic pre-set by the single-chip microcomputer under the action of the third enable signal en3, thereby outputting an analog wake-up signal that wakes up the single-chip microcomputer from a low power consumption state to a normal working state.
[0069] Obviously, through the technical solution provided by this embodiment, the third wake-up source can use an analog signal to wake up the single-chip microcomputer from a low power consumption state to a normal working state.
[0070] Based on the above embodiments, this embodiment further illustrates and optimizes the technical solution. Figure 2 , Figure 2 The structure diagram of another single-chip microcomputer wake-up device provided by an embodiment of the present invention, as a preferred implementation, the device further includes:
[0071] The power management module 15 disposed in the single chip microcomputer is connected to the wake-up source combination module 14 and is used to supply power to the single chip microcomputer.
[0072] In this embodiment, a power management module 15 for supplying power to the single-chip microcomputer is also provided in the wake-up device, wherein the power management module 15 is provided inside the single-chip microcomputer. By modifying the control logic inside the power management module 15, the power management module 15 can supply power to the single-chip microcomputer with different power supplies. In this state, the single-chip microcomputer can be operated not only in a low power consumption mode, but also in a normal working mode, which can not only ensure the flexibility of the single-chip microcomputer during operation, but also reduce the power consumption required by the single-chip microcomputer.
[0073] Obviously, the technical solution provided in this embodiment can reduce the power consumption required by the single chip microcomputer during operation.
[0074] Based on the above embodiments, this embodiment further illustrates and optimizes the technical solution. As a preferred implementation, the wake-up source combination module 14 is specifically a combinational logic circuit constructed by logic gate circuits.
[0075] Since the logic gate circuit has the advantages of low power consumption and low cost, in this embodiment, in order to reduce the power consumption and design cost required by the wake-up source combination module 14, the logic gate circuit is used to build the wake-up source combination module 14. In addition, in order to reduce the logic complexity of the wake-up source combination module 14, the wake-up source combination module 14 is built using a logic AND gate and / or a logic OR gate.
[0076] Obviously, the technical solution provided by this embodiment can not only reduce the design cost required for the wake-up source combination module, but also reduce the logic complexity of the wake-up source combination module.
[0077] Correspondingly, an embodiment of the present invention further provides an electric vehicle, comprising a wake-up device for a single-chip microcomputer as disclosed above.
[0078] An electric vehicle provided by an embodiment of the present invention has the beneficial effects of the aforementioned single chip microcomputer wake-up device.
[0079] Correspondingly, an embodiment of the present invention further provides a method for waking up a single-chip microcomputer, which is applied to the wake-up source combination module in the aforementioned wake-up device for a single-chip microcomputer, and the method includes:
[0080] When the single-chip microcomputer is in a low power consumption state, the output signal of the first wake-up source, the output signal of the second wake-up source and the output signal of the third wake-up source are combined, and the single-chip microcomputer is jointly awakened to a normal working state through a digital signal and / or a target trigger signal and / or an analog signal.
[0081] In this embodiment, a method for waking up a single-chip microcomputer is provided. The method is applied to a wake-up source combination module in a single-chip microcomputer wake-up device disclosed above. The control logic executed by the wake-up source combination module can refer to the technical content disclosed in the above embodiment, which will not be repeated here.
[0082] Based on the above embodiment, this embodiment further illustrates and optimizes the technical solution. As a preferred implementation, the above step of combining the output signal of the first wake-up source, the output signal of the second wake-up source, and the output signal of the third wake-up source, and waking up the single-chip microcomputer to a normal working state through a digital signal and / or a target trigger signal and / or an analog signal, includes:
[0083] Respectively obtain output signals of the first wake-up source, the second wake-up source and the third wake-up source to obtain a digital wake-up signal, a timer wake-up signal and an analog wake-up signal;
[0084] The digital wake-up signal, the timer wake-up signal and the analog wake-up signal are combined by using a logic OR gate and / or a logic AND gate to obtain a target wake-up signal, and the target wake-up signal is used to wake up the microcontroller to a normal working state.
[0085] In this embodiment, when waking up the single-chip microcomputer, the wake-up source combination module needs to first obtain the output signals of the first wake-up source, the second wake-up source and the third wake-up source respectively to obtain a digital wake-up signal, a timer wake-up signal and an analog wake-up signal; then, according to the logic pre-set by the user, the digital wake-up signal, the timer wake-up signal and the analog wake-up signal are combined using a logic OR gate and / or a logic AND gate to obtain a target wake-up signal, and the target wake-up signal is used to wake up the single-chip microcomputer from a low power consumption state to a normal working state.
[0086] Table 1
[0087] Combination Target wake-up signal 0 source0_wkpu|source1_wkpu|source2_wkpu 1 source0_wkpu& source1_wkpu &source2_wkpu 2 (source0_wkpu | source1_wkpu) |&source2_wkpu 3 source0_wkpu| source1_wkpu&source2_wkpu 4 source0_wkpu&source1_wkpu| source2_wkpu 5 source0_wkpu&(source1_wkpu | source2_wkpu) 6 source0_wkpu& source2_wkpu&source1_wkpu 7 Source1_wkpu&(source0_wkpu | source2_wkpu)
[0088] Specifically, the wake-up source combination module can combine the digital wake-up signal, the timer wake-up signal and the analog wake-up signal in the manner described in Table 1. In Table 1, 8 logical combination methods are provided to combine the digital wake-up signal, the timer wake-up signal and the analog wake-up signal.
[0089] It should be noted that, in Table 1, “|” represents a logic OR gate, “&” represents a logic AND gate, source0_wkpu represents a mathematical wake-up signal output by the first wake-up source, source1_wkpu represents a timer wake-up signal output by the second wake-up source, and source2_wkpu represents an analog wake-up signal output by the third wake-up source.
[0090] The logic combination method described in Table 1 can meet the wake-up requirements of the MCU in different scenarios. It should be noted that in actual applications, if the pre-set logic of the MCU is: the MCU can only be woken up after the first wake-up source outputs a digital wake-up signal after the second wake-up source has timed for a period of time. If the MCU is in a low power state and the second wake-up source has not timed to the pre-set time, even if the first wake-up source outputs a digital wake-up signal to wake up the MCU, the MCU will not respond to this wake-up event.
[0091] In addition, when the wake-up device described in the present application is used to wake up the single-chip microcomputer, the staff can set the control logic in the wake-up source combination module, and determine which logic control in the wake-up source combination module is triggered through the control signal Ctl. When the control logic in the wake-up source combination module is determined, the first wake-up source, the second wake-up source, the third wake-up source and the wake-up source combination module in the wake-up device are turned on, and when the single-chip microcomputer needs to cycle into the low-power logic, the single-chip microcomputer can be woken up.
[0092] Obviously, through the technical solution provided in this embodiment, it is possible to combine multiple types of wake-up sources to wake up the microcontroller when the microcontroller is in low power consumption mode, thereby reducing the probability of false awakening or failure to awaken the microcontroller in multiple wake-up cycles.
[0093] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0094] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0095] The above is a detailed introduction to a wake-up device, method and electric vehicle for a single-chip microcomputer provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method and core idea of the present invention; at the same time, for general technicians in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A wake-up device for a single-chip microcomputer, characterized in that: include: A first wake-up source, used to wake up the single-chip microcomputer from a low power consumption state to a normal working state through a digital signal; A second wake-up source is used to wake up the single-chip microcomputer from a low power consumption state to a normal working state through a target trigger signal generated by a timer; A third wake-up source, used to wake up the single-chip microcomputer from a low power consumption state to a normal working state through an analog signal; The wake-up source combination module is respectively connected to the first wake-up source, the second wake-up source and the third wake-up source, and is used to combine the output signal of the first wake-up source, the output signal of the second wake-up source and the output signal of the third wake-up source when the single-chip microcomputer is in a low power consumption state, and wake up the single-chip microcomputer to a normal working state through the digital signal and / or the target trigger signal and / or the analog signal.
2. The wake-up device for a single chip microcomputer according to claim 1, characterized in that: The first wake-up source includes: A digital chip, used for outputting the digital signal; A first filter, connected to the digital chip, for filtering the digital signal to obtain a first filtered signal; The first AND gate is connected to the first filter, and is used for receiving a first enable signal and the first filter signal, and outputting a digital wake-up signal for waking up the single-chip microcomputer from a low power consumption state to a normal working state.
3. The wake-up device for a single chip microcomputer according to claim 1, characterized in that: The second wake-up source includes: The timer disposed inside the clock chip is used to output the target trigger signal; A second filter, connected to the timer, for filtering the target trigger signal to obtain a second filtered signal; The second AND gate is connected to the second filter, and is used for receiving the second enable signal and the second filter signal, and outputting a timer wake-up signal for waking up the single-chip microcomputer from a low power consumption state to a normal working state.
4. The wake-up device for a single chip microcomputer according to claim 1, characterized in that: The third wake-up source includes: An analog chip, used for outputting the analog signal; A comparator, connected to the analog chip, for comparing the analog signal with a preset signal to obtain a target comparison signal; a third filter, connected to the comparator, and configured to filter the target comparison signal to obtain a third filtered signal; The third AND gate is connected to the third filter, and is used to receive a third enable signal and the third filter signal, and output an analog wake-up signal for waking up the single-chip microcomputer from a low power consumption state to a normal working state.
5. The wake-up device for a single chip microcomputer according to claim 1, characterized in that: Also includes: The power management module is arranged in the single-chip microcomputer and is connected to the wake-up source combination module, and is used to supply power to the single-chip microcomputer.
6. A single chip microcomputer wake-up device according to any one of claims 1 to 5, characterized in that: The wake-up source combination module is specifically a combination logic circuit constructed by logic gate circuits.
7. The wake-up device for a single chip microcomputer according to claim 6, characterized in that: The combinational logic circuit is specifically a logic circuit constructed by logic AND gates and / or logic OR gates.
8. An electric vehicle, characterized in that: A wake-up device for a single-chip microcomputer comprising the device as claimed in any one of claims 1 to 7.
9. A method for waking up a single-chip microcomputer, characterized in that: A wake-up source combination module applied to a wake-up device of a single-chip microcomputer according to any one of claims 1 to 7, the method comprising: When the single-chip microcomputer is in a low power consumption state, the output signal of the first wake-up source, the output signal of the second wake-up source and the output signal of the third wake-up source are combined, and the single-chip microcomputer is jointly awakened to a normal working state through a digital signal and / or a target trigger signal and / or an analog signal.
10. A method for waking up a single chip microcomputer according to claim 9, characterized in that: The step of combining the output signal of the first wake-up source, the output signal of the second wake-up source, and the output signal of the third wake-up source, and jointly waking up the single-chip microcomputer to a normal working state through a digital signal and / or a target trigger signal and / or an analog signal, comprises: Respectively acquiring output signals of the first wake-up source, the second wake-up source, and the third wake-up source to obtain a digital wake-up signal, a timer wake-up signal, and an analog wake-up signal; The digital wake-up signal, the timer wake-up signal and the analog wake-up signal are combined by using a logic OR gate and / or a logic AND gate to obtain a target wake-up signal, and the single-chip microcomputer is awakened to a normal working state by using the target wake-up signal.
