Wake-up multiplexing circuit and electronic equipment
By designing a wake-up multiplexing circuit and using transition signals and identification signals to realize multiple wake-ups and wake-up source distinctions of the microcontroller, the problem of insufficient wake-up pins of the microcontroller is solved and the practicality of the circuit is enhanced.
Patent Information
- Application Number
- CN202323465299.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-18
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2033-12-18
AI Technical Summary
The microcontroller has a limited number of wake-up pins in low-power standby mode and cannot meet the needs of multiple wake-up sources, resulting in insufficient wake-up.
Design a wake-up multiplexing circuit that is connected to multiple wake-up circuits through a control circuit, outputs a transition signal, and identifies the wake-up source through the first identification signal after wake-up, thereby realizing multiple wake-up and wake-up source distinctions for the microcontroller.
The function of the wake-up pin of the microcontroller is expanded, allowing it to be woken up by multiple wake-up sources, and directly distinguishing different wake-up sources, which enhances the practicality of the wake-up multiplexing circuit.
Smart Images

Figure CN221860857U_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of electronic circuits, and in particular, relates to a wake-up multiplexing circuit and an electronic device. Background Art
[0002] Products with batteries need to consider the design of low-power-consumption-related logic of the microcontroller. After a common microcontroller enters sleep or deep sleep mode, in order to save power, it only allows the peripheral circuit to wake up through the level change of a specific wake-up pin, but the number of wake-up pins is limited and cannot meet the design requirements. For example, after an embedded microcontroller enters low-power standby mode, it can only be woken up by external interrupts such as the reset pin, external watchdog reset, and the rising edge of the wake-up pin.
[0003] In view of the scenario where the wake-up pins of the MCU are insufficient, it is urgent to provide a wake-up multiplexing circuit so that the MCU can be awakened by multiple wake-up sources and can directly distinguish the wake-up sources. Utility Model Content
[0004] The purpose of the present application is to provide a wake-up multiplexing circuit and an electronic device, aiming to solve the problem of insufficient wake-up pins of a single-chip microcomputer in an electronic device.
[0005] An embodiment of the present application provides a wake-up multiplexing circuit, including a control circuit and a plurality of wake-up circuits;
[0006] The wake-up circuit is configured to output a jump signal, and output a first identification signal after outputting the jump signal;
[0007] The control circuit is connected to the plurality of wake-up circuits, and is configured to wake up according to the jump signal, and after waking up, identify the corresponding wake-up circuit according to the first identification signal, and perform corresponding actions.
[0008] In one of the embodiments, the plurality of wake-up circuits include at least one first level conversion circuit and at least one wake-up source circuit;
[0009] The wake-up source circuit is configured to output the wake-up signal and output a second identification signal after outputting the wake-up signal;
[0010] The first level conversion circuit is connected to the control circuit and is connected to the wake-up source circuit in a one-to-one correspondence, and is configured to output the jump signal according to the wake-up signal and convert the second identification signal into the first identification signal.
[0011] In one of the embodiments, the plurality of wake-up circuits further include at least one key circuit;
[0012] The key circuit is connected to the control circuit and is configured to output the jump signal according to the sensed operation;
[0013] The control circuit is configured to wake up according to the jump signal, and output the first identification signal after waking up, and identify the corresponding wake-up circuit according to the input first identification signal, and perform corresponding actions.
[0014] In one of the embodiments, the plurality of wake-up circuits further include at least one second level conversion circuit;
[0015] The second level conversion circuit is connected to the control circuit and is connected to the key circuits in a one-to-one correspondence, and is configured to perform level conversion on the first identification signal;
[0016] The control circuit is configured to wake up according to the jump signal and output a first identification signal after waking up, and identify the corresponding wake-up circuit according to the input first identification signal after level conversion, and perform corresponding actions.
[0017] In one embodiment, it also includes:
[0018] The pull-up circuit is connected to the control circuit and at least one of the wake-up circuits, and is configured to pull up the jump signal and the first identification signal.
[0019] In one embodiment, it also includes:
[0020] The pull-down circuit is connected to the control circuit and at least one of the wake-up circuits, and is configured to pull down the jump signal and the first identification signal.
[0021] In one of the embodiments, the plurality of wake-up circuits include at least one key circuit;
[0022] The key circuit is connected to the control circuit and is configured to output the jump signal according to the sensed operation;
[0023] The control circuit is configured to wake up according to the jump signal, and output a first identification signal after waking up, and identify the corresponding wake-up circuit according to the input first identification signal, and perform corresponding actions.
[0024] In one of the embodiments, the plurality of wake-up circuits include at least one second level conversion circuit;
[0025] The second level conversion circuit is connected to the control circuit and is connected to the key circuits in a one-to-one correspondence, and is configured to perform level conversion on the first identification signal;
[0026] The control circuit is configured to wake up according to the jump signal, and output the first identification signal after waking up, and identify the corresponding wake-up circuit according to the input first identification signal after level conversion, and perform corresponding actions.
[0027] In one embodiment, it also includes:
[0028] The pull-up circuit is connected to the control circuit and at least one of the wake-up circuits, and is configured to pull up the jump signal and the first identification signal.
[0029] In one embodiment, it also includes:
[0030] The pull-down circuit is connected to the control circuit and at least one of the wake-up circuits, and is configured to pull down the jump signal and the first identification signal.
[0031] In one embodiment, the first identification signal carries an identification code;
[0032] When m is equal to 2, each data unit of the identification code corresponding to the first wake-up circuit includes an n-bit feature code, the first wake-up circuit corresponds to an identification code including 3 data units, each data unit of the identification code corresponding to the second wake-up circuit includes an n-bit feature code and 3n-bit preset bits, and the second wake-up circuit corresponds to an identification code including at least 2 data units;
[0033] When m is greater than or equal to 3, the identification code includes y identical data units, and each data unit of the identification code corresponding to the m-th wake-up circuit includes an n-bit feature code and 2mny(m-2)+ny(m-3)+…+ny bits of preset bits;
[0034] Wherein, the characteristic codes of the identification codes are different, m and n are both integers greater than 1, and y is greater than or equal to m;
[0035] When the jump signal is a rising edge, the preset bit is 1; when the jump signal is a falling edge, the preset bit is 0.
[0036] An embodiment of the present application also provides an electronic device, which includes the above-mentioned wake-up multiplexing circuit.
[0037] Compared with the prior art, the embodiments of the present application have the following beneficial effects: the wake-up circuit outputs a jump signal and outputs a first identification signal after outputting the jump signal; the control circuit wakes up according to the jump signal, and identifies the corresponding wake-up circuit according to the first identification signal after wake-up, and performs corresponding actions. By adding multiple wake-up circuits, the wake-up pin of the microcontroller in the control circuit is expanded, so that the microcontroller can be awakened by multiple wake-up sources; the first identification signal is also used to distinguish between different wake-up sources, so that the microcontroller can directly distinguish the wake-up source and act according to the corresponding wake-up source, thereby enhancing the practicality of the wake-up multiplexing circuit. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical application in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0039] Figure 1 A schematic diagram of a structure of a wake-up multiplexing circuit provided in an embodiment of the present application;
[0040] Figure 2 Another structural schematic diagram of a wake-up multiplexing circuit provided in an embodiment of the present application;
[0041] Figure 3 Another structural schematic diagram of a wake-up multiplexing circuit provided in an embodiment of the present application;
[0042] Figure 4 Another structural schematic diagram of a wake-up multiplexing circuit provided in an embodiment of the present application;
[0043] Figure 5 Another structural schematic diagram of a wake-up multiplexing circuit provided in an embodiment of the present application;
[0044] Figure 6 Another structural schematic diagram of a wake-up multiplexing circuit provided in an embodiment of the present application;
[0045] Figure 7 Another structural schematic diagram of a wake-up multiplexing circuit provided in an embodiment of the present application;
[0046] Figure 8 Another structural schematic diagram of a wake-up multiplexing circuit provided in an embodiment of the present application;
[0047] Fig. 9 Another structural schematic diagram of a wake-up multiplexing circuit provided in an embodiment of the present application;
[0048] Fig.10Another structural schematic diagram of a wake-up multiplexing circuit provided in an embodiment of the present application;
[0049] Fig.11 A partial exemplary circuit schematic diagram of a wake-up multiplexing circuit provided in an embodiment of the present application;
[0050] Fig.12 Another partial exemplary circuit schematic diagram of a wake-up multiplexing circuit provided in an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0052] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0053] Figure 1 The structure diagram of the wake-up multiplexing circuit provided by an embodiment of the present application is shown. For the convenience of description, only the part related to the present embodiment is shown, which is described in detail as follows:
[0054] The wake-up multiplexing circuit includes a control circuit 100 and a plurality of wake-up circuits 200 .
[0055] The wake-up circuit 200 is configured to output a jump signal, and output a first identification signal after outputting the jump signal.
[0056] The control circuit 100 is connected to a plurality of wake-up circuits 200 and is configured to wake up according to a jump signal, and after waking up, identify the corresponding wake-up circuit 200 according to a first identification signal and perform corresponding actions.
[0057] It can be understood that when the control circuit 100 supports falling edge wake-up, the jump signal is a falling edge, when the control circuit 100 supports rising edge wake-up, the jump signal is a rising edge, and when the control circuit 100 supports double-edge wake-up, the jump signal can be either a falling edge or a rising edge.
[0058] It should be noted that the first identification signal is a digital signal. Compared with identifying the wake-up source through an analog signal that is susceptible to interference, distinguishing the wake-up source in the form of a digital signal has better anti-interference ability, better robustness, and higher system stability.
[0059] The control circuit 100 may include a single-chip microcomputer. The present application does not impose any restrictions on the specific model of the single-chip microcomputer. By adding multiple wake-up circuits 200, the wake-up pin of the single-chip microcomputer can be expanded, so that the single-chip microcomputer can be awakened by multiple wake-up sources through the same wake-up pin; a first identification signal is also used to distinguish between different wake-up sources, so that the single-chip microcomputer can directly distinguish the wake-up source and take action according to the corresponding wake-up source, thereby enhancing the practicality of the circuit.
[0060] By way of example and not limitation, Figure 2 As shown, the plurality of wake-up circuits 200 include at least one first level conversion circuit 220 and at least one wake-up source circuit 210 .
[0061] The wake-up source circuit 210 is configured to output a wake-up signal, and output a second identification signal after outputting the wake-up signal.
[0062] The first level conversion circuit 220 is connected to the control circuit 100 and is connected to the wake-up source circuit 210 in a one-to-one correspondence, and is configured to output a jump signal according to the wake-up signal and convert the second identification signal into a first identification signal.
[0063] The wake-up source circuit 210 may include a wake-up source chip, and the type of the wake-up source chips in the plurality of wake-up source circuits 210 is not limited.
[0064] The first level conversion circuit 220 improves the compatibility of the circuit.
[0065] By way of example and not limitation, Figure 3 As shown, the plurality of wake-up circuits 200 further include at least one key circuit 230 .
[0066] The key circuit 230 is connected to the control circuit 100 and is configured to output a jump signal according to the sensed operation.
[0067] The control circuit 100 is specifically configured to wake up according to the jump signal, and output a first identification signal after waking up, and identify the corresponding wake-up circuit 200 according to the connected first identification signal, and perform corresponding actions.
[0068] The control circuit 100 is awakened by the key circuit 230 , thus enriching the functions of the product.
[0069] By way of example and not limitation, Figure 4 As shown, the plurality of wake-up circuits 200 further include at least one second level conversion circuit 240 .
[0070] The second level conversion circuit 240 is connected to the control circuit 100 and is connected to the key circuits 230 in a one-to-one correspondence, and is configured to perform level conversion on the first identification signal.
[0071] The control circuit 100 is specifically configured to wake up according to the jump signal, and output a first identification signal after waking up, and identify the corresponding wake-up circuit 200 according to the first identification signal after the level conversion connected, and perform corresponding actions.
[0072] The second level conversion circuit 240 improves the compatibility of the circuit.
[0073] By way of example and not limitation, Figure 5 As shown, the wake-up multiplexing circuit further includes a pull-up circuit 300 .
[0074] The pull-up circuit 300 is connected to the control circuit 100 and at least one wake-up circuit 200 , and is configured to pull up the transition signal and the first identification signal.
[0075] The pull-up circuit 300 achieves the stability of the falling edge jump signal and the first identification signal, thereby improving the reliability of the circuit.
[0076] By way of example and not limitation, Figure 6 As shown, the wake-up multiplexing circuit further includes a pull-down circuit 400 .
[0077] The pull-down circuit 400 is connected to the control circuit 100 and at least one wake-up circuit 200 , and is configured to pull down the jump signal and the first identification signal.
[0078] The pull-down circuit 400 achieves the stability of the rising edge jump signal and the first identification signal, thereby improving the reliability of the circuit.
[0079] By way of example and not limitation, Figure 7 As shown, the plurality of wake-up circuits 200 include at least one button circuit 230 .
[0080] The key circuit 230 is connected to the control circuit 100 and is configured to output a jump signal according to the sensed operation.
[0081] The control circuit 100 is specifically configured to wake up according to the jump signal, and output a first identification signal after waking up, and identify the corresponding wake-up circuit 200 according to the connected first identification signal, and perform corresponding actions.
[0082] The control circuit 100 is awakened by the key circuit 230 , thus enriching the functions of the product.
[0083] By way of example and not limitation, Figure 8 As shown, the plurality of wake-up circuits 200 include at least one second level conversion circuit 240 .
[0084] The second level conversion circuit 240 is connected to the control circuit 100 and is connected to the key circuits 230 in a one-to-one correspondence, and is configured to perform level conversion on the first identification signal.
[0085] The control circuit 100 is specifically configured to wake up according to the jump signal, and output a first identification signal after waking up, and identify the corresponding wake-up circuit 200 according to the first identification signal after the level conversion connected, and perform corresponding actions.
[0086] The second level conversion circuit 240 improves the compatibility of the circuit.
[0087] By way of example and not limitation, Fig. 9 As shown, the wake-up multiplexing circuit further includes a pull-up circuit 300 .
[0088] The pull-up circuit 300 is connected to the control circuit 100 and at least one wake-up circuit 200 , and is configured to pull up the transition signal and the first identification signal.
[0089] The pull-up circuit 300 achieves the stability of the falling edge jump signal and the first identification signal, thereby improving the reliability of the circuit.
[0090] By way of example and not limitation, Fig.10 As shown, the wake-up multiplexing circuit further includes a pull-down circuit 400 .
[0091] The pull-down circuit 400 is connected to the control circuit 100 and at least one wake-up circuit 200 , and is configured to pull down the jump signal and the first identification signal.
[0092] The pull-down circuit 400 achieves the stability of the rising edge jump signal and the first identification signal, thereby improving the reliability of the circuit.
[0093] As an example but not limitation, the first identification signal carries an identification code.
[0094] When m is equal to 2, each data unit of the identification code corresponding to the first wake-up circuit includes an n-bit feature code, the first wake-up circuit corresponds to an identification code including 3 data units, each data unit of the identification code corresponding to the second wake-up circuit includes an n-bit feature code and 3n-bit preset bits, and the second wake-up circuit corresponds to an identification code including at least 2 data units;
[0095] When m is greater than or equal to 3, the identification code includes y identical data units, and each data unit of the identification code corresponding to the mth wake-up circuit includes an n-bit feature code and 2mny(m-2)+ny(m-3)+…+ny bits of preset bits.
[0096] Among them, the characteristic codes of various identification codes are different, m and n are both integers greater than 1, and y is greater than or equal to m.
[0097] When the jump signal is a rising edge, the preset bit is 1; when the jump signal is a falling edge, the preset bit is 0.
[0098] For the sake of convenience of explanation, when there are 2 wake-up circuits, n is 6, and the jump signal is a falling edge, assume that the characteristic code of the first first identification signal is 001001, and the characteristic code of the second first identification signal is 010101. It can be seen that the identification code of the first first identification signal is 001001001001001001, and the 18-bit preset bits in each data unit of the second first identification signal are filled with 0 respectively, so that the identification code of the second first identification signal is a combination of 2 groups of 010101 and 18 0s, so that when the two first identification signals are triggered at the same time, the control circuit 100 can completely receive the characteristic code in the second data unit of the first first identification signal and the characteristic code in the third data unit of the second first identification signal, and distinguish the wake-up circuit 200 by the characteristic code, thereby ensuring that the interrupt actions corresponding to the two first identification signals can be triggered.
[0099] When there are 3 wake-up circuits, n is 6, y is 3, and the jump signal is a falling edge, assume that the characteristic code of the first first identification signal is 001001, the characteristic code of the second first identification signal is 010101, and the characteristic code of the third first identification signal is 110110. According to the above rules, it can be seen that the identification code of the first first identification signal is 3 groups of 001001, the identification code of the second first identification signal is a combination of 3 groups of 010101 and 18 zeros, and the identification code of the third first identification signal is a combination of 3 groups of 110110 and 108 zeros.
[0100] By filling the preset code, it is achieved that when m wake-up signals are triggered at the same time, m interrupts are triggered, thereby improving the reliability and practicality of the wake-up multiplexing circuit.
[0101] Fig.11 A partial exemplary circuit schematic diagram of a wake-up multiplexing circuit control circuit 100 provided in an embodiment of the present application supporting falling edge wake-up; Fig.12 Another partial exemplary circuit schematic diagram of the wake-up multiplexing circuit control circuit 100 provided in an embodiment of the present application when supporting rising edge wake-up; for ease of explanation, only the part related to the embodiment of the present application is shown, which is described in detail as follows:
[0102] Among them, Fig.11 As shown, when the control circuit 100 supports falling edge wake-up, the first level conversion circuit 220 includes a first switch tube Q1, a first resistor R1 and a second resistor R2.
[0103] The control end of the first switch tube Q1 and the first end of the first resistor R1 serve together as the wake-up signal input end and the second identification signal input end of the first level conversion circuit 220, and are connected to the wake-up source circuit 210 to input the wake-up signal and the second identification signal; the first end of the first switch tube Q1 is connected to the first end of the second resistor R2, and the second end of the second resistor R2 serves as the jump signal output end and the first identification signal output end of the first level conversion circuit 220, and is connected to the control circuit 100 to output the jump signal and the first identification signal; the second end of the first switch tube Q1 and the second end of the first resistor R1 are connected to the power ground.
[0104] At this time, the first switch tube Q1 can be an N-type metal oxide semiconductor (negative channel metal oxide semiconductor, NMOS).
[0105] The second level conversion circuit 240 includes a third switch tube Q3.
[0106] The control end of the third switch tube Q3 serves as the first identification signal input end of the second level conversion circuit 240, and is connected to the control circuit 100 to input the first identification signal; the first end of the third switch tube Q3 is connected to the first power supply VCC; the second end of the third switch tube Q3 serves as the first identification signal output end after level conversion of the second level conversion circuit 240, and is connected to the key circuit 230 to output the first identification signal after level conversion.
[0107] At this time, the third switch tube Q3 can be a P-type metal oxide semiconductor (positive channel Metal Oxide Semiconductor, PMOS).
[0108] The button circuit 230 includes a first button S1 and a seventh resistor R7.
[0109] The first end of the first button S1 and the first end of the seventh resistor R7 serve together as the first identification signal input end after level conversion of the button circuit 230, and are connected to the second level conversion circuit 240 to input the first identification signal after level conversion; the second end of the first button S1 serves as the jump signal output end and the first identification signal output end after level conversion of the button circuit 230, and is connected to the control circuit 100 to output the jump signal and the first identification signal after level conversion; the second end of the seventh resistor R7 is connected to the power ground.
[0110] The pull-up circuit 300 includes a third resistor R3 .
[0111] It should be noted that the resistance of the second resistor R2 is much smaller than the resistance of the third resistor R3, so that an effective falling edge wake-up signal is formed when the first switch tube Q1 is turned on; the resistance of the seventh resistor R7 is much smaller than the resistance of the third resistor R3, so that an effective falling edge wake-up signal is formed when the first button S1 is pressed.
[0112] like Fig.12 As shown, when the control circuit 100 supports rising edge wake-up, the first level conversion circuit 220 includes a second switch tube Q2, a fourth resistor R4 and a fifth resistor R5.
[0113] The control end of the second switch tube Q2 and the first end of the fourth resistor R4 serve together as the wake-up signal input end and the second identification signal input end of the first level conversion circuit 220, and are connected to the wake-up source circuit 210 to input the wake-up signal and the second identification signal; the first end of the second switch tube Q2 is connected to the first end of the fifth resistor R5, and the second end of the fifth resistor R5 serves as the jump signal output end and the first identification signal output end of the first level conversion circuit 220, and is connected to the control circuit 100 to output the jump signal and the first identification signal; the second end of the second switch tube Q2 and the second end of the fourth resistor R4 are connected to the first power supply VCC.
[0114] At this time, the second switch tube Q2 can be a PMOS.
[0115] The second level conversion circuit 240 includes a fourth switch tube Q4 .
[0116] The control end of the fourth switch tube Q4 serves as the first identification signal input end of the second level conversion circuit 240, and is connected to the control circuit 100 to input the first identification signal; the first end of the fourth switch tube Q4 is connected to the power ground; the second end of the fourth switch tube Q4 serves as the first identification signal output end after level conversion of the second level conversion circuit 240, and is connected to the key circuit 230 to output the first identification signal after level conversion.
[0117] At this time, the fourth switch tube Q4 can be an NMOS.
[0118] The button circuit 230 includes a second button S2 and an eighth resistor R8.
[0119] The first end of the second button S2 and the first end of the eighth resistor R8 serve together as the first identification signal input end after level conversion of the button circuit 230, and are connected to the second level conversion circuit 240 to input the first identification signal after level conversion; the second end of the second button S2 serves as the jump signal output end and the first identification signal output end after level conversion of the button circuit 230, and is connected to the control circuit 100 to output the jump signal and the first identification signal after level conversion; the second end of the eighth resistor R8 is connected to the first power supply VCC.
[0120] The pull-down circuit 400 includes a sixth resistor R6 .
[0121] It should be noted that the resistance of the fifth resistor R5 is much smaller than the resistance of the sixth resistor R6, so that an effective rising edge wake-up signal can be formed when the second switch tube Q2 is turned on; the resistance of the eighth resistor R8 is much smaller than the resistance of the sixth resistor R6, so that an effective rising edge wake-up signal can be formed when the second button S2 is pressed.
[0122] It should be noted that when the control circuit 100 supports falling edge wake-up and the control circuit 100 supports rising edge wake-up, multiple wake-up circuits 200 can all include a first level conversion circuit 220 and a wake-up source circuit 210, or can all include a key circuit 230, or can include both a first level conversion circuit 220 and a wake-up source circuit 210 and a key circuit 230. This application does not impose any restrictions on this.
[0123] The following is a combination of working principles Figure 11 to Figure 12 As shown for further explanation:
[0124] When the control circuit 100 supports falling edge wake-up, if the wake-up circuit 200 includes a wake-up source circuit 210 and a first level conversion circuit 220, the wake-up source circuit 210 outputs a high-level wake-up signal to the control end of the first switch tube Q1, the first switch tube Q1 is turned on, and the wake-up signal is converted into a falling edge jump signal, the second end of the second resistor R2 outputs the falling edge jump signal to the wake-up pin of the microcontroller in the control circuit 100, the microcontroller is awakened, and the wake-up source circuit 210 outputs a second identification signal to the control end of the first switch tube Q1, the first switch tube Q1 converts the second identification signal into a first identification signal, the second end of the second resistor R2 outputs the first identification signal to the wake-up pin of the microcontroller, and the microcontroller identifies the corresponding wake-up source circuit 210 according to the first identification signal and performs corresponding actions.
[0125] If the wake-up circuit 200 includes a key circuit 230 and a second level conversion circuit 240, the first key S1 is pressed, and the first key S1 outputs a falling edge jump signal from the second end of the first key S1 to the wake-up pin of the microcontroller in the control circuit 100 according to the sensed operation, the microcontroller is awakened, and outputs multiple first identification signals carrying different identification codes from multiple general input and output ports of the microcontroller to the control ends of multiple third switch tubes Q3, the multiple third switch tubes Q3 respectively perform level conversion on the multiple first identification signals, and output the first identification signal after level conversion from the second end of the third switch tube Q3 to the first end of the first key S1, the path where the pressed first key S1 is located outputs the corresponding first identification signal from the second end of the pressed first key S1 to the microcontroller, the microcontroller extracts the corresponding identification code according to the received converted first identification signal to identify the corresponding key circuit 230, and performs corresponding actions.
[0126] When the control circuit 100 supports rising edge wake-up, if the wake-up circuit 200 includes a wake-up source circuit 210 and a first level conversion circuit 220, the wake-up source circuit 210 outputs a low-level wake-up signal to the control end of the second switch tube Q2, the second switch tube Q2 is turned on, and the wake-up signal is converted into a rising edge jump signal, the second end of the fifth resistor R5 outputs the rising edge jump signal to the wake-up pin of the microcontroller in the control circuit 100, the microcontroller is awakened, and the wake-up source circuit 210 outputs a second identification signal to the control end of the second switch tube Q2, the second switch tube Q2 converts the second identification signal into a first identification signal, the second end of the fifth resistor R5 outputs the first identification signal to the wake-up pin of the microcontroller, and the microcontroller identifies the corresponding wake-up source circuit 210 according to the first identification signal and performs corresponding actions.
[0127] If the wake-up circuit 200 includes a key circuit 230 and a second level conversion circuit 240, the second key S2 is pressed, and the second key S2 outputs a rising edge jump signal from the second end of the second key S2 to the wake-up pin of the single-chip microcomputer in the control circuit 100 according to the sensed operation, the single-chip microcomputer is awakened, and outputs multiple first identification signals carrying different identification codes from multiple general input and output ports of the single-chip microcomputer to the control ends of multiple fourth switch tubes Q4, the multiple fourth switch tubes Q4 respectively perform level conversion on the multiple first identification signals, and output the first identification signal after level conversion from the second end of the fourth switch tube Q4 to the first end of the second key S2, the path where the pressed second key S2 is located outputs the corresponding converted first identification signal from the second end of the pressed second key S2 to the single-chip microcomputer, the single-chip microcomputer extracts the corresponding identification code according to the received first identification signal to identify the corresponding key circuit 230, and performs corresponding actions.
[0128] An embodiment of the present application also provides an electronic device, which includes the above-mentioned wake-up multiplexing circuit.
[0129] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0130] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A wake-up multiplexing circuit, characterized in that: including a control circuit and a plurality of wake-up circuits; The wake-up circuit is configured to output a jump signal, and output a first identification signal after outputting the jump signal; The control circuit is connected to the plurality of wake-up circuits and is configured to wake up according to the jump signal, and identify the corresponding wake-up circuit according to the first identification signal after wake-up, and perform corresponding actions; The plurality of wake-up circuits include at least one wake-up source circuit and at least one first level conversion circuit; The wake-up source circuit is configured to output a wake-up signal and output a second identification signal after outputting the wake-up signal; The first level conversion circuit is connected to the control circuit and is connected to the wake-up source circuit in a one-to-one correspondence, and is configured to output the jump signal according to the wake-up signal and convert the second identification signal into the first identification signal.
2. The wake-up multiplexing circuit according to claim 1, characterized in that: The plurality of wake-up circuits further include at least one key circuit; The key circuit is connected to the control circuit and is configured to output the jump signal according to the sensed operation; The control circuit is configured to wake up according to the jump signal, and output the first identification signal after waking up, and identify the corresponding wake-up circuit according to the input first identification signal, and perform corresponding actions.
3. The wake-up multiplexing circuit according to claim 2, characterized in that: The plurality of wake-up circuits further include at least one second level conversion circuit; The second level conversion circuit is connected to the control circuit and is connected to the key circuits in a one-to-one correspondence, and is configured to perform level conversion on the first identification signal; The control circuit is configured to wake up according to the jump signal and output a first identification signal after waking up, and identify the corresponding wake-up circuit according to the input first identification signal after level conversion, and perform corresponding actions.
4. The wake-up multiplexing circuit according to any one of claims 1 to 3, characterized in that: Also includes: The pull-up circuit is connected to the control circuit and the plurality of wake-up circuits, and is configured to pull up the jump signal and the first identification signal.
5. The wake-up multiplexing circuit according to any one of claims 1 to 3, characterized in that: Also includes: The pull-down circuit is connected to the control circuit and the plurality of wake-up circuits, and is configured to pull down the jump signal and the first identification signal.
6. The wake-up multiplexing circuit according to claim 1, characterized in that: The plurality of wake-up circuits include at least one key circuit; The key circuit is connected to the control circuit and is configured to output the jump signal according to the sensed operation; The control circuit is configured to wake up according to the jump signal, and output a first identification signal after waking up, and identify the corresponding wake-up circuit according to the input first identification signal, and perform corresponding actions.
7. The wake-up multiplexing circuit according to claim 6, characterized in that: The plurality of wake-up circuits include at least one second level conversion circuit; The second level conversion circuit is connected to the control circuit and is connected to the key circuits in a one-to-one correspondence, and is configured to perform level conversion on the first identification signal; The control circuit is configured to wake up according to the jump signal, and output the first identification signal after waking up, and identify the corresponding wake-up circuit according to the input first identification signal after level conversion, and perform corresponding actions.
8. The wake-up multiplexing circuit according to any one of claims 6 to 7, characterized in that: Also includes: The pull-up circuit is connected to the control circuit and the plurality of wake-up circuits, and is configured to pull up the jump signal and the first identification signal.
9. The wake-up multiplexing circuit according to any one of claims 6 to 7, characterized in that: Also includes: The pull-down circuit is connected to the control circuit and the plurality of wake-up circuits, and is configured to pull down the jump signal and the first identification signal.
10. The wake-up multiplexing circuit according to any one of claims 1 to 3, characterized in that: The first identification signal carries an identification code; When m is equal to 2, each data unit of the identification code corresponding to the first wake-up circuit includes an n-bit feature code, the first wake-up circuit corresponds to an identification code including 3 data units, each data unit of the identification code corresponding to the second wake-up circuit includes an n-bit feature code and 3n-bit preset bits, and the second wake-up circuit corresponds to an identification code including at least 2 data units; When m is greater than or equal to 3, the identification code includes y identical data units, and each data unit of the identification code corresponding to the mth wake-up circuit includes an n-bit feature code and 2mny(m-2)+ny(m-3)+…+ny bits of preset bits; Wherein, the characteristic codes of the identification codes are different, m and n are both integers greater than 1, and y is greater than or equal to m; When the jump signal is a rising edge, the preset bit is 1; when the jump signal is a falling edge, the preset bit is 0.
11. An electronic device, characterized in that: The electronic device comprises the wake-up multiplexing circuit as claimed in any one of claims 1 to 10.
