Function key detection and wake-up circuit and electronic equipment
By introducing a signal wake-up circuit consisting of transistors, resistors, and capacitors into the function key detection and wake-up circuit, the problem of vehicle sleep mode failure and continuous power consumption caused by function key jamming is solved, achieving low-cost sleep current control.
Patent Information
- Application Number
- CN202420367373.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-27
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2034-02-27
AI Technical Summary
In existing technologies, when function buttons become stuck, they continuously generate signals that prevent the vehicle from entering sleep mode, resulting in continuous power consumption and battery depletion.
A signal wake-up circuit consisting of a transistor, a first resistor, a second resistor, and a first capacitor is added to the original structure. The high and low levels of the SBC chip circuit are controlled by controlling the charging state of the first capacitor, ensuring that the system can enter sleep mode normally when the button is stuck.
This technology enables the system to enter sleep mode normally without increasing the cost of additional chips when function buttons become stuck, thereby reducing sleep current and preventing vehicle power depletion.
Smart Images

Figure CN222016522U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the field of circuit control detection, in particular to a function key detection and wake-up circuit and electronic equipment. Background Art
[0002] At present, the function button wake-up system and vehicle are widely used in vehicle electronics. In the system working mode, the button switch is used as a function trigger; in the system sleep mode, the button switch is used to wake up the system and vehicle.
[0003] In recent years, function buttons have become the hardware structure for switching vehicle modes. Figure 1 As shown, it includes an SBC chip circuit 11, a controller 12, a signal detection circuit 13 and a function button K, wherein the SBC chip circuit 11 is connected to the power input (VBAT) of the circuit, and uses the generated LIN signal for communication, and uses the generated power supply voltage VCC_3V3 to power the controller 12. The SBC chip circuit 11 transmits RST, TXD and RXD signals to and from the controller 12 at the same time. The signal detection circuit 13 is triggered by the function button K, so that the signal detection circuit 13 generates a press detection signal and sends it to the controller 12, so that the controller 12 determines the action corresponding to the current signal according to the press detection signal. In this process, when the function button K is stuck, a signal will continue to be generated. At this time, if the system receives a sleep command, it will not be able to enter the sleep mode due to the continuous signal, causing the vehicle to continue to consume power after the engine is turned off, and the circuit generated when the continuous signal is generated makes it easy for the battery to be fed.
[0004] In view of the above technology, seeking a function key detection and wake-up circuit is an urgent problem to be solved by those skilled in the art. Utility Model Content
[0005] The utility model aims to provide a function key detection and wake-up circuit and electronic equipment, which can solve the problem in the prior art that when the function key is stuck, the continuously generated signal affects the system to enter the sleep state, and causes the battery to be fed due to the continuous power consumption.
[0006] In order to solve the above technical problems, the utility model provides a function key detection and wake-up circuit, including: an SBC chip circuit, a controller, a signal detection circuit, a function key switch and a signal wake-up circuit; the signal wake-up circuit includes: a transistor, a first resistor, a second resistor and a first capacitor;
[0007] The base of the transistor is connected to the first end of the first resistor, the first end of the second resistor and the first end of the first capacitor, the emitter of the transistor is connected to the first power supply end, the collector of the transistor is connected to the first end of the SBC chip circuit and the first end of the controller, and is grounded;
[0008] The second end of the first resistor is connected to the second power supply end;
[0009] The second end of the second resistor is connected to the second end of the first capacitor, the first end of the function key switch and the first end of the signal detection circuit;
[0010] The second end of the signal detection circuit is connected to the second end of the controller;
[0011] The second end of the function key switch is grounded.
[0012] Preferably, the signal wake-up circuit further includes: a third resistor;
[0013] A first end of the third resistor is connected to a first end of the SBC chip circuit and a first end of the controller, and a second end of the third resistor is connected to a collector of the transistor and is grounded.
[0014] Preferably, the signal wake-up circuit further includes: a fourth resistor and a second capacitor;
[0015] A first end of the fourth resistor is connected to the first end of the second capacitor and the collector of the transistor, and a second end of the fourth resistor is grounded;
[0016] The second terminal of the second capacitor is grounded.
[0017] Preferably, it further comprises: a first diode;
[0018] The first end of the first diode is connected to the second end of the second resistor and the first end of the first capacitor, the second end of the first diode is connected to the first end of the function key switch, and the third end of the first diode is connected to the first end of the signal detection circuit.
[0019] Preferably, the signal detection circuit comprises: a fifth resistor, a sixth resistor and a third capacitor;
[0020] The first end of the fifth resistor is connected to the third power supply end, and the second end of the fifth resistor is connected to the first end of the sixth resistor, the first end of the third capacitor, the first end of the function key switch and the second end of the controller;
[0021] The second end of the sixth resistor is grounded;
[0022] A second terminal of the third capacitor is grounded.
[0023] Preferably, the SBC chip circuit comprises: a functional chip, a second diode and a seventh resistor;
[0024] Among them, the enable control pin of the functional chip is connected to the first end of the second diode, the collector of the transistor and the enable pin of the controller, the power pin of the functional chip is connected to the fourth power supply end and the first end of the seventh resistor, and the reset pin of the functional chip is connected to the second end of the seventh resistor and the reset pin of the controller.
[0025] Preferably, the SBC chip circuit further includes: a fourth capacitor;
[0026] A first end of the fourth capacitor is connected to the external power pin of the functional chip and the fifth power supply end, and a second end of the fourth capacitor is grounded.
[0027] Preferably, the SBC chip circuit further includes: a fifth capacitor and a sixth capacitor;
[0028] The first end of the fifth capacitor is connected to the first end of the sixth capacitor, the power pin of the functional chip, the fourth power supply end and the first end of the seventh resistor, and the second end of the fifth capacitor is grounded;
[0029] The second terminal of the sixth capacitor is grounded.
[0030] Preferably, the SBC chip circuit further includes: a seventh capacitor;
[0031] A first end of the seventh capacitor is connected to a second end of the seventh resistor, a reset pin of the function chip and a reset pin of the controller, and a second end of the seventh capacitor is grounded.
[0032] In order to solve the above technical problems, the present application also provides an electronic device, including the above function button detection and wake-up circuit.
[0033] The utility model provides a function key detection and wake-up circuit, including: an SBC chip circuit, a controller, a signal detection circuit, a function key switch and a signal wake-up circuit; the signal wake-up circuit includes: a transistor, a first resistor, a second resistor and a first capacitor; the base of the transistor is connected to the first end of the first resistor, the first end of the second resistor and the first end of the first capacitor, the emitter of the transistor is connected to the first power supply end, the collector of the transistor is connected to the first end of the SBC chip circuit and the first end of the controller, and is grounded; the second end of the first resistor is connected to the second power supply end; the second end of the second resistor is connected to the second end of the first capacitor, the first end of the function key switch and the first end of the signal detection circuit; the second end of the signal detection circuit is connected to the second end of the controller; the second end of the function key switch is grounded. It can be seen that the present application adds a signal wake-up circuit including a transistor, a first resistor, a second resistor and a first capacitor to the original structure. Among them, the state of the system in sleep or working is related to the state of the first end of the SBC chip circuit being in a high or low level state, the state of the first end of the SBC chip circuit being in a high or low level state is related to the conduction and cutoff of the transistor and the control signal, the conduction and cutoff of the transistor are related to the charging state of the first capacitor, and the charging of the first capacitor is related to the time when the function key switch is pressed. That is to say, in the system working mode, it can be used to trigger the corresponding function of the function key switch, and control the charging of the first capacitor when the switch is stuck. When the first capacitor is fully charged, the transistor changes from the on state to the off state. At this time, the level at the first end of the SBC chip circuit is pulled up by the control signal alone, that is, the system can still enter the sleep state normally, and the magnitude of the sleep current will decrease as the resistance value of the second resistor increases. This application does not require the addition of additional chips, the cost is low, and the system sleep current increased when the key is stuck will not cause vehicle power feeding. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiments of the present utility model, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 A diagram of the internal circuit structure of a vehicle provided by the prior art;
[0036] Figure 2 A structural diagram of a function key detection and wake-up circuit is provided for this application;
[0037] Figure 3 A circuit diagram of a function key detection and wake-up circuit provided for the implementation of this application. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of them. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of the utility model.
[0039] The core of the utility model is to provide a function key detection and wake-up circuit and electronic equipment.
[0040] In order to enable those skilled in the art to better understand the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0041] In recent years, due to the continuous generation of signals when the function buttons inside the vehicle are stuck, if the vehicle system receives a sleep command at this time, it will not be able to enter the sleep mode due to the continuous signal, causing the vehicle to continue to consume power after the engine is turned off, and the battery is easily depleted when a continuous signal is generated.
[0042] In order to solve the above technical problems, Figure 2 A structural diagram of a function key detection and wake-up circuit is provided for this application, such as Figure 2 As shown, the function key detection and wake-up circuit includes: SBC chip circuit 1, controller 2, signal detection circuit 3, function key switch SW1 and signal wake-up circuit 4. Among them, the SBC chip circuit 1 is connected to the power input (VBAT) of the circuit, and the generated LIN signal is used for communication, and the generated power supply voltage signal (VCC_3V3) is used to power the controller 2 and the signal wake-up circuit 4. The SBC chip circuit 1 transmits RST, TXD and RXD signals between the controller 2 at the same time. The signal detection circuit 3 and the signal wake-up circuit 4 are triggered according to the action of the function key switch SW1. Among them, the signal wake-up circuit 4 will generate a wake-up signal according to the action of the function key switch SW1, and send it to the SBC chip circuit 1. At the same time, the signal wake-up circuit 4 also receives the enable signal sent by the controller 2. The signal detection circuit 3 generates a press detection signal according to the action of the function key switch SW1, and sends it to the controller 2. Figure 3 A circuit diagram of a function key detection and wake-up circuit provided for the implementation of this application, such as Figure 3 As shown, the signal wake-up circuit 4 includes: a transistor T1, a first resistor R1, a second resistor R2 and a first capacitor C1. On this basis, Figure 3The circuit shown includes 8 voltage and current detection points, namely TP1-TP8. The specific connection relationship of the signal wake-up circuit 4 is as follows: the base of the transistor T1 is connected to the first end of the first resistor R1, the first end of the second resistor R2 and the first end of the first capacitor C1, the emitter of the transistor T1 is connected to the first power supply end (VBAT1), the collector of the transistor T1 is connected to the first end of the SBC chip circuit 1 and the first end of the controller 2, and is grounded; the second end of the first resistor R1 is connected to the second power supply end (VBAT2); the second end of the second resistor R2 is connected to the second end of the first capacitor C1, the first end of the function key switch K1 and the first end of the signal detection circuit 3; the second end of the signal detection circuit 3 is connected to the second end (SW) pin of the controller 2 for transmission of the press detection signal; the second end of the function key switch SW1 is grounded.
[0043] Among them, the first end of the SBC chip circuit 1 is connected to the first end of the controller 2, which is used to transmit signals. The working principle of the overall circuit is: when the SBC_en_MCU signal in the signal is transmitted from the controller 2 to the SBC chip circuit 1, and the SBC_en_MCU signal is at a high level, the first end of the SBC chip circuit 1 is pulled high, and the system is in working mode. The voltage value at TP7 can be detected as a whole to determine the pressing state of the function key switch SW1 at this time, and the function corresponding to the current pressing state can be determined according to the voltage value.
[0044] When the controller 2 is powered off and not working, and the function key switch SW1 is not pressed, the voltages of the detection points TP6 and TP8 at both ends of the first capacitor C1 are equal to the voltage of the second power supply end (VBAT2). At this time, the voltages of the emitter and collector of the transistor T1 are equal to the voltage of the first power supply end (VBAT1). Since the voltage of the second power supply end (VBAT2) is equal to the voltage of the first power supply end (VBAT1), the transistor T1 is currently in the cut-off state. Thus, the voltage at the first end of the SBC chip circuit 1 is pulled down to a low level, and the system is in sleep mode.
[0045] If the function key switch SW1 is pressed when the system is in sleep mode, the first capacitor C1 is equivalent to a short circuit, and the transistor T1 is in a conducting and saturated state. Therefore, the first end of the SBC chip circuit 1 is pulled high, thereby controlling the power supply voltage signal (VCC_3V3) generated by the SBC chip circuit 1 to be a high level. At the same time, the controller 2 connected to the SBC chip circuit 1 is powered on and is in a working state.
[0046] In the working state, when the function key switch SW1 is in a state of being pressed or stuck, the voltage of the detection point TP8 will gradually increase with the charging of the first capacitor C1. When the first capacitor C1 is full, according to the voltage of the two power supply terminals (VBAT2 and VBAT1), the resistance values of the first resistor R1 and the second resistor R2 can determine the highest voltage of the detection point TP8. The highest voltage at this time causes the voltage difference of the emitter of the transistor T1 to be less than the conduction voltage value of the transistor T1. Therefore, the transistor T1 is in the cut-off state at this time. In other words, when the function key switch SW1 is in a state of being pressed or stuck, the transistor T1 gradually changes from the conduction state to the cut-off state. At this time, if you want to put the system in sleep mode, you only need to lower the voltage at the first end of the SBC chip circuit 1.
[0047] The utility model provides a function key detection and wake-up circuit, including: an SBC chip circuit, a controller, a signal detection circuit, a function key switch and a signal wake-up circuit; the signal wake-up circuit includes: a transistor, a first resistor, a second resistor and a first capacitor; the base of the transistor is connected to the first end of the first resistor, the first end of the second resistor and the first end of the first capacitor, the emitter of the transistor is connected to the first power supply end, the collector of the transistor is connected to the first end of the SBC chip circuit and the first end of the controller, and is grounded; the second end of the first resistor is connected to the second power supply end; the second end of the second resistor is connected to the second end of the first capacitor, the first end of the function key switch and the first end of the signal detection circuit; the second end of the signal detection circuit is connected to the second end of the controller; the second end of the function key switch is grounded. It can be seen that the present application adds a signal wake-up circuit including a transistor, a first resistor, a second resistor and a first capacitor to the original structure. Among them, the state of the system in sleep or working is related to the state of the first end of the SBC chip circuit being in a high or low level state, the state of the first end of the SBC chip circuit being in a high or low level state is related to the conduction and cutoff of the transistor and the control signal, the conduction and cutoff of the transistor are related to the charging state of the first capacitor, and the charging of the first capacitor is related to the time when the function key switch is pressed. That is to say, in the system working mode, it can be used to trigger the corresponding function of the function key switch, and control the charging of the first capacitor when the switch is stuck. When the first capacitor is fully charged, the transistor changes from the on state to the off state. At this time, the level at the first end of the SBC chip circuit is pulled up by the control signal alone, that is, the system can still enter the sleep state normally, and the magnitude of the sleep current will decrease as the resistance value of the second resistor increases. This application does not require the addition of additional chips, the cost is low, and the system sleep current increased when the key is stuck will not cause vehicle power feeding.
[0048] Based on the above embodiments, Figure 3As shown, the signal wake-up circuit 4 also includes: a third resistor R3, a fourth resistor R4 and a second capacitor C2. The connection relationship is: the first end of the third resistor R3 is connected to the first end of the SBC chip circuit 1 and the first end of the controller 2, and the second end of the third resistor R3 is connected to the collector of the transistor T1 and grounded; the first end of the fourth resistor R4 is connected to the first end of the second capacitor C2 and the collector of the transistor T1, and the second end of the fourth resistor R4 is grounded; the second end of the second capacitor C2 is grounded. Among them, the function of the third resistor R3 is to limit the current to prevent the excessive current in the circuit from impacting the transistor T1. The function of the fourth resistor R4 is to lower the voltage at the first end of the SBC chip circuit 1 when in sleep mode, and the function of the second capacitor C2 is filtering.
[0049] It should be noted that this application is only one possible implementation method, but is not limited to this implementation method and can be set according to user needs.
[0050] As a preferred embodiment, Figure 3As shown, the function key detection and wake-up circuit also includes: a first diode D1; the signal detection circuit 3 includes: a fifth resistor R5, a sixth resistor R6 and a third capacitor C3; the SBC chip circuit 1 includes: a function chip I1, a second diode D2, a seventh resistor R7, a fourth capacitor C4, a fifth capacitor C5, a sixth capacitor C6 and a seventh capacitor C7. The specific connection relationship is as follows: the first end of the first diode D1 is connected to the second end of the second resistor R2 and the first end of the first capacitor C1, the second end of the first diode D1 is connected to the first end of the function key switch SW1, and the third end of the first diode D1 is connected to the first end of the signal detection circuit 3 (the second end of the fifth resistor R5, the first end of the sixth resistor R6 and the first end of the third capacitor C3); the first end of the fifth resistor R5 is connected to the third power supply end (VCC-3V3), the second end of the fifth resistor R5 is connected to the first end of the sixth resistor R6, the first end of the third capacitor C3 and the second end of the controller 2; the second end of the sixth resistor R6 is grounded; the second end of the third capacitor C3 is grounded; the enable control pin (EN) of the function chip I1 is connected to the first end of the second diode D2, the collector of the transistor T1 and the enable pin (EN) of the controller 2, and the power pin (V The first end of the fourth capacitor C4 is connected to the external power pin (VS) of the function chip I1 and the fifth power supply terminal (VBAT), and the second end of the fourth capacitor C4 is grounded; the first end of the fifth capacitor C5 is connected to the first end of the sixth capacitor C6, the power pin (VCC) of the function chip I1, the fourth power supply terminal (VCC-3V-3) and the first end of the seventh resistor R7, and the second end of the fifth capacitor C5 is grounded; the second end of the sixth capacitor C6 is grounded; the first end of the seventh capacitor C7 is connected to the second end of the seventh resistor R7, the reset pin (NRST) of the function chip I1 and the reset pin (rst) of the controller 2, and the second end of the seventh capacitor R7 is grounded. The BUS pin of the function chip I1 is used to send LIN signals; the RXD pin of the function chip I1 is connected to the rxd pin of the controller 2, and the TXD pin of the function chip I1 is connected to the txd pin of the controller 2 to realize data interaction. Among them, the second diode D2 is used to prevent the backflow current generated by the controller 2, and the seventh resistor R7 is a pull-up resistor used to pull up the reset pin of the controller 2; the third capacitor C3 to the seventh capacitor C7 are all filter capacitors, which are used to filter out signals that do not meet the requirements in the circuit.
[0051] In summary, the above embodiments Figure 3The circuit shown in the figure is analyzed to know that: the power supply end (VBAT1 and VBAT2) is the power input of the circuit, which is usually 9V to 16V provided by the battery. Regardless of the state of the system, the power supply end (VBAT1 and VBAT2) exists. The function chip I1 is used to provide LIN communication signals and generate a 3.3V power supply voltage VCC_3V3, which is used to power the controller 2 and the signal wake-up circuit 3. The principle is: when the voltage at the EN pin of the function chip I1 is low, the function chip I1 will be in sleep mode, and VCC_3V3 will not output; when the EN pin voltage of the function chip I1 is high, the function chip I1 is in working mode, and VCC_3V3 outputs 3.3V. In other words, by controlling the voltage of the EN pin of the function chip I1, the output of VCC_3V3 is controlled, so as to achieve the control system switching between working mode and sleep mode.
[0052] The overall working principle is: when the SBC_en_MCU signal in the signal is transmitted from the controller 2 to the SBC chip circuit 1, and the SBC_en_MCU signal is at a high level, the EN pin of the function chip I1 is pulled high through the second diode D2, and the function chip I1 outputs a 3.3V voltage, and the system is in working mode. The voltage value at TP7 can be detected as a whole to determine the pressing state of the function key switch SW1 at this time, and the function corresponding to the current pressing state can be determined according to the voltage. Specifically: when the function key switch SW1 is not pressed, the diode on the right side of the second diode D2 is not turned on, and the voltage value of TP7 is the voltage divided by the fifth resistor R5 and the sixth resistor R6; when the function key switch SW1 is pressed, the cathode of the second diode D2 is short-circuited, and the voltage value of TP7 is equal to the conduction voltage of the diode on the right side of the second diode D2, which is 0.7V. If the resistance value of the fifth resistor R5 is 1KΩ and the resistance value of the sixth resistor R6 is 4.7K ohms, the voltage U7 of TP7 = VCC_3V3*R6 / (R5+R6), which is about 2.2V.
[0053] When the controller 2 is powered off and not working, and the function key switch SW1 is not pressed, the cathode of the first diode D1 is suspended and not conducting. At this time, the voltages of the detection points TP6 and TP8 at both ends of the first capacitor C1 are equal to the voltage of the second power supply terminal (VBAT2). At this time, the voltages of the emitter and collector of the transistor T1 are equal to the voltage of the first power supply terminal (VBAT1). Since the voltage of the second power supply terminal (VBAT2) is equal to the voltage of the first power supply terminal (VBAT1), the transistor T1 is currently in the cut-off state. At this time, the EN pin of the function chip I1 is pulled down to a low level through the fourth resistor R4, and the function chip I1 is in a dormant state and does not output a 3.3V voltage.
[0054] If the function key switch SW1 is pressed when the system is in sleep mode, the first capacitor C1 is short-circuited, so that the cathode of the first diode D1 is short-circuited to the ground, and the voltage of TP8 is instantly equal to the conduction voltage 0.7V of the diode on the left side of the first diode D1, so that the voltage difference between the emitter and the base of the transistor T1 is greater than the conduction voltage 0.7V, so that the transistor T1 is turned on and is in a saturated state. At this time, the voltage U5 of TP5 = VBAT-0.3V, and the voltage at the EN pin of the function chip I1 is pulled to a high level. Due to the reverse protection of the second diode D2, the current will not flow back to the controller 2. The voltage at the EN pin of the function chip I1 is pulled high and outputs a 3.3V voltage. The controller 2 starts to power on, and then the SBC_en_MCU signal is pulled high through the preset software. After SBC_en_MCU is pulled high, even if the transistor T1 is not turned on later, the voltage at the EN pin of the function chip I1 can always be high, and the system is in a normal working state.
[0055] In the working state, when the function key switch SW1 is in a state of being pressed or stuck, the voltage of the detection point TP8 will gradually increase with the charging of the first capacitor C1. When the first capacitor C1 is full, according to the voltage of the two power supply terminals (VBAT2 and VBAT1), the resistance of the first resistor R1 and the second resistor R2 can determine the highest voltage of the detection point TP8. The highest voltage at this time causes the voltage difference of the emitter of the transistor T1 to be less than the conduction voltage value of the transistor T1 0.7V. Therefore, the transistor T1 is in the cut-off state at this time. In other words, when the function key switch SW1 is in a state of being pressed or stuck, the transistor T1 gradually changes from the conduction state to the cut-off state. At this time, if you want to put the system in sleep mode, you only need to pull down the SBC_en_MCU signal, so that the EN pin of the function chip I1 is pulled down, and the 3.3V power supply is not output. This solves the problem that the function key switch SW1 is stuck and the system cannot enter sleep mode. If the resistance value of the first resistor R1 is 3KΩ and the resistance value of the second resistor R2 is 300Ω, the voltage U8 at TP8 = (VBAT-0.7V)*R2 / (R2+R1)+0.7V. Since the minimum VBAT operating voltage is 9V and the maximum is 16V, the maximum voltage that TP8 can reach is 8.92V and 15.95V.
[0056] When the function key switch SW1 is stuck, the system enters sleep mode, and the sleep current increased by the key stuck is (VBAT-0.7V) / (R2+R1). When the resistance value of the first resistor R1 is 3KΩ, the resistance value of the second resistor R2 is 300Ω, the minimum VBAT operating voltage is 9V, and the maximum operating voltage is 16V, the sleep current is 27.4uA and 50.5uA. The sleep current requirement of general automotive electronic products is less than 100uA, so there is still enough margin even when the function key is stuck. It can be seen that increasing the resistance value of the second resistor R2 can reduce the size of the sleep current again.
[0057] The utility model has a signal wake-up circuit in the original structure. Among them, the state of the system in sleep or working is related to the state of the first end of the SBC chip circuit being in high and low levels, the state of the first end of the SBC chip circuit being in high and low levels is related to the conduction and cutoff of the transistor and the control signal, the conduction and cutoff of the transistor are related to the charging state of the first capacitor, and the charging of the first capacitor is related to the time when the function button switch is pressed. That is to say, in the system working mode, it can be used to trigger the corresponding function of the function button switch, and control the charging of the first capacitor when the switch is stuck. When the first capacitor is fully charged, the transistor changes from the on state to the off state. At this time, the level at the first end of the SBC chip circuit is pulled up by the control signal alone, that is, the system can still enter the sleep state normally. This application does not need to add additional chips, the cost is low, and the system sleep current increased when the button is stuck will not cause vehicle power feeding.
[0058] To solve the above technical problems, the present application also provides an electronic device, including the above function key detection and wake-up circuit, and having the same beneficial effects. The embodiment of the electronic device is the same as the embodiment of the above function key detection and wake-up circuit, and the present application will not elaborate on it.
[0059] The above is a detailed introduction to a function key detection and wake-up circuit and electronic device provided by the utility model. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can refer to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principle of the utility model, the utility model can also be improved and modified, and these improvements and modifications also fall within the scope of protection of the claims of the utility model.
[0060] It should also be noted that, in this specification, 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 "comprise", "include" 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, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. A function key detection and wake-up circuit, characterized in that: include: SBC chip circuit, controller, signal detection circuit, function key switch and signal wake-up circuit; The signal wake-up circuit comprises: a transistor, a first resistor, a second resistor and a first capacitor; The base of the transistor is connected to the first end of the first resistor, the first end of the second resistor and the first end of the first capacitor, the emitter of the transistor is connected to the first power supply end, the collector of the transistor is connected to the first end of the SBC chip circuit and the first end of the controller, and is grounded; The second end of the first resistor is connected to the second power supply end; The second end of the second resistor is connected to the second end of the first capacitor, the first end of the function key switch and the first end of the signal detection circuit; The second end of the signal detection circuit is connected to the second end of the controller; The second end of the function key switch is grounded.
2. The function key detection and wake-up circuit according to claim 1, characterized in that: The signal wake-up circuit further includes: a third resistor; A first end of the third resistor is connected to a first end of the SBC chip circuit and a first end of the controller, and a second end of the third resistor is connected to a collector of the transistor and is grounded.
3. The function key detection and wake-up circuit according to claim 1, characterized in that: The signal wake-up circuit further includes: a fourth resistor and a second capacitor; The first end of the fourth resistor is connected to the first end of the second capacitor and the collector of the transistor, and the second end of the fourth resistor is grounded; The second terminal of the second capacitor is grounded.
4. The function key detection and wake-up circuit according to claim 1, characterized in that: Also includes: A first diode; The first end of the first diode is connected to the second end of the second resistor and the first end of the first capacitor, the second end of the first diode is connected to the first end of the function key switch, and the third end of the first diode is connected to the first end of the signal detection circuit.
5. The function key detection and wake-up circuit according to claim 1, characterized in that: The signal detection circuit comprises: a fifth resistor, a sixth resistor and a third capacitor; The first end of the fifth resistor is connected to the third power supply end, and the second end of the fifth resistor is connected to the first end of the sixth resistor, the first end of the third capacitor, the first end of the function key switch and the second end of the controller; The second end of the sixth resistor is grounded; A second terminal of the third capacitor is grounded.
6. The function key detection and wake-up circuit according to any one of claims 1 to 5, characterized in that: The SBC chip circuit comprises: a functional chip, a second diode and a seventh resistor; Among them, the enable control pin of the functional chip is connected to the first end of the second diode, the collector of the transistor and the enable pin of the controller, the power pin of the functional chip is connected to the fourth power supply end and the first end of the seventh resistor, and the reset pin of the functional chip is connected to the second end of the seventh resistor and the reset pin of the controller.
7. The function key detection and wake-up circuit according to claim 6, characterized in that: The SBC chip circuit further includes: a fourth capacitor; A first end of the fourth capacitor is connected to the external power pin of the functional chip and the fifth power supply end, and a second end of the fourth capacitor is grounded.
8. The function key detection and wake-up circuit according to claim 7, characterized in that: The SBC chip circuit further includes: a fifth capacitor and a sixth capacitor; The first end of the fifth capacitor is connected to the first end of the sixth capacitor, the power pin of the functional chip, the fourth power supply end and the first end of the seventh resistor, and the second end of the fifth capacitor is grounded; The second terminal of the sixth capacitor is grounded.
9. The function key detection and wake-up circuit according to claim 8, characterized in that: The SBC chip circuit further includes: a seventh capacitor; The first end of the seventh capacitor is connected to the second end of the seventh resistor, the reset pin of the function chip and the reset pin of the controller, and the second end of the seventh capacitor is grounded.
10. An electronic device, characterized in that: It comprises the function key detection and wake-up circuit as described in any one of claims 1 to 9.
