CN217116054U - Multifunctional key circuit - Google Patents

Multifunctional key circuit Download PDF

Info

Publication number
CN217116054U
CN217116054U CN202123056105.3U CN202123056105U CN217116054U CN 217116054 U CN217116054 U CN 217116054U CN 202123056105 U CN202123056105 U CN 202123056105U CN 217116054 U CN217116054 U CN 217116054U
Authority
CN
China
Prior art keywords
capacitor
resistor
circuit
key
control circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202123056105.3U
Other languages
Chinese (zh)
Inventor
潘美东
牛非
王欢
陈传富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Yilai Intelligent Technology Co Ltd
Original Assignee
Qingdao Yilai Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Yilai Intelligent Technology Co Ltd filed Critical Qingdao Yilai Intelligent Technology Co Ltd
Priority to CN202123056105.3U priority Critical patent/CN217116054U/en
Application granted granted Critical
Publication of CN217116054U publication Critical patent/CN217116054U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The utility model discloses a multifunctional key circuit, include: the system comprises a power supply unit, a key control circuit and a system control chip; the power supply unit is connected with the key control circuit and the system control chip and is used for converting input electric energy into electric energy with target voltage and supplying power to the key control circuit and the system control chip; the output end of the key control circuit is connected with a reset pin of the system control chip and used for controlling reset voltage output to the reset pin according to the conduction time of a key switch in the key control circuit; the system control chip is used for adjusting the current working state of the system according to the voltage range of the reset voltage corresponding to each working state; the utility model discloses a setting of button control circuit, according to button switch's time of pressing, the operating condition of adjustment system realizes the work function like other differences such as joining in marriage net function, software reset function and hardware reset function on realizing the switching on and shutting down function basis, has promoted user experience.

Description

Multifunctional key circuit
Technical Field
The utility model relates to a power electronic technology field, in particular to multi-functional button circuit.
Background
With the development of social economy and the popularization of artificial intelligence products, various electric products are increasing day by day, so that the key switch also becomes a very important part in daily life of people; this makes the functional requirements of the user for the key switch to be realized stronger and stronger, whereas the key switch in the prior art can only realize a single switch function and a reset (reset) function.
Therefore, how to realize other different working functions such as a reset function on the basis of realizing a basic on-off function by using the key switch is a problem which needs to be solved urgently nowadays.
SUMMERY OF THE UTILITY MODEL
The utility model aims at providing a multi-functional key circuit to utilize key switch on realizing basic switching on and shutting down function basis, realize like the work function of other differences of reset function, promote user experience.
In order to solve the above technical problem, the utility model provides a multifunctional key circuit, include: the system comprises a power supply unit, a key control circuit and a system control chip; wherein the content of the first and second substances,
the power supply unit is connected with the key control circuit and the system control chip and is used for converting input electric energy into electric energy with target voltage and supplying power to the key control circuit and the system control chip;
the output end of the key control circuit is connected with a reset pin of the system control chip and is used for controlling reset voltage output to the reset pin according to the conducting time of a key switch in the key control circuit;
the system control chip is used for adjusting the current working state of the system according to the voltage range corresponding to the reset voltage and each working state; the working state comprises a stop state, a distribution network state, a software reset state and a hardware reset state, and the current working state is any one of the working states.
Optionally, the key control circuit includes: the key switch, the PNP triode, the first NPN triode, the second NPN triode, the first capacitor and the second capacitor are arranged on the base;
the first end and the fourth end of the key switch, the base electrode of the PNP triode and the base electrode of the first NPN triode are connected, and the common end connected with the first end and the fourth end of the key switch, the base electrode of the PNP triode and the base electrode of the first NPN triode is connected with the target voltage output end of the power supply unit; the second end and the third end of the key switch are grounded, and the emitting electrode of the PNP triode is connected with the target voltage output end of the power supply unit; a collector of the PNP triode and a collector of the first NPN triode are connected with a first end of the first capacitor, and a common end of the PNP triode, the collector of the first NPN triode and the first end of the first capacitor is connected with a base of the second NPN triode; the emitter of the first NPN triode, the second end of the first capacitor and the emitter of the second NPN triode are all grounded; a collector of the second NPN triode is connected with the first end of the second capacitor, and a common end of the collector of the second NPN triode, which is connected with the first end of the second capacitor, is used as an output end of the key control circuit and is connected with a reset pin of the system control chip; and the first end of the second capacitor is connected with the target voltage output end of the power supply unit, and the second end of the second capacitor is grounded.
Optionally, the key control circuit further includes: the circuit comprises a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor and a sixth resistor;
the base electrode of the PNP triode is connected with the first end and the fourth end of the key switch through the second resistor, the base electrode of the first NPN triode is connected with the first end and the fourth end of the key switch through the third resistor, and the common end of the second resistor, the third resistor and the first end and the fourth end of the key switch is connected with the target voltage output end of the power supply unit through the first resistor; a collector of the PNP triode is connected to the first end of the first capacitor through the fourth resistor, a collector of the first NPN triode is connected to the first end of the first capacitor through the fifth resistor, and a common end of the fourth resistor, the fifth resistor, and the first end of the first capacitor is connected to a base of the second NPN triode; the first end of the second capacitor is connected with the target voltage output end of the power supply unit through the sixth resistor, and the common end of the first end of the second capacitor connected with the sixth resistor is connected with the collector of the second NPN triode.
Optionally, the key control circuit further includes: a first diode and a second diode;
an emitter of the second NPN triode is connected with an anode of the first diode, a cathode of the first diode is connected with an anode of the second diode, and a cathode of the second diode is grounded.
Optionally, the key control circuit further includes: a third capacitor and a fourth capacitor;
the first end of the third capacitor is connected with the first end and the fourth end of the key switch, the second end of the third capacitor is connected with the second end and the third end of the key switch, the first end of the fourth capacitor is connected with the first end of the first capacitor, and the second end of the fourth capacitor is connected with the second end of the first capacitor.
Optionally, the power supply unit includes: a USB interface and a voltage reduction circuit;
the voltage reduction circuit is connected with the USB interface and is used for converting the input electric energy accessed by the USB interface into electric energy of the target voltage; the target voltage is less than the voltage of the input electrical energy.
Optionally, the voltage-reducing circuit includes: the voltage reduction chip, the seventh resistor, the eighth resistor, the ninth resistor, the fifth capacitor, the sixth capacitor, the seventh capacitor, the inductor and the electrostatic discharge element;
the first end of the seventh capacitor is connected with the electric energy output end of the USB interface, the common end of the first end of the seventh capacitor connected with the electric energy output end of the USB interface is connected with the input pin of the voltage reduction chip, and the second end of the seventh capacitor is grounded; the grounding pin of the voltage reduction chip is grounded, and the enabling pin of the voltage reduction chip is connected with the electric energy output end of the USB interface through the seventh resistor; a conversion pin of the buck chip is connected with a first end of the inductor, a second end of the inductor, a first end of the fifth capacitor and a first end of the sixth capacitor are connected, a common end of the second end of the inductor, the first end of the fifth capacitor and the sixth capacitor is connected with a first end of the eighth resistor, and a second end of the fifth capacitor and a second end of the sixth capacitor are both grounded; a second end of the eighth resistor is connected with a first end of the ninth resistor, a common end of the second end of the eighth resistor and the first end of the ninth resistor is connected with a feedback pin of the buck chip, and a second end of the ninth resistor is grounded; and a common end of the second end of the inductor, the first end of the fifth capacitor and the sixth capacitor is connected with the first end of the electrostatic discharge element, the first end of the electrostatic discharge element is used as a target voltage output end of the power supply unit, and the second end of the electrostatic discharge element is grounded.
Optionally, the system control chip is specifically a bluetooth chip.
Optionally, the multi-function key circuit further includes:
and the LED circuit is connected with a general input/output pin of the system control chip and is used for controlling the LED in the LED circuit to carry out corresponding light display according to the control signal corresponding to the current working state output by the system control chip.
Optionally, the LED circuit includes: a tenth resistor and the LED;
and a universal input/output pin of the system control chip is connected with the anode of the LED through the tenth resistor, and the cathode of the LED is grounded.
The utility model provides a multi-functional keying circuit, include: the system comprises a power supply unit, a key control circuit and a system control chip; the power supply unit is connected with the key control circuit and the system control chip and is used for converting input electric energy into electric energy with target voltage and supplying power to the key control circuit and the system control chip; the output end of the key control circuit is connected with a reset pin of the system control chip and used for controlling reset voltage output to the reset pin according to the conduction time of a key switch in the key control circuit; the system control chip is used for adjusting the current working state of the system according to the voltage range of the reset voltage corresponding to each working state; the working state comprises a stop state, a distribution network state, a software reset state and a hardware reset state, and the current working state is any working state;
it can be seen that, the utility model discloses a setting of key control circuit, according to key switch's press time, the reset voltage of the pin that resets of control adjustment access system control chip to adjustment system's current operating condition realizes if the work function of other differences such as joining in marriage net function, software reset function and hardware reset function, has promoted user experience on realizing basic switching on and shutting down function basis, and the utility model provides a multifunctional key circuit's simple structure, the security is high, and the practicality is strong.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a multifunctional key circuit according to an embodiment of the present invention;
fig. 2 is a schematic circuit diagram of a power supply unit of another multifunctional key circuit according to an embodiment of the present invention;
fig. 3 is a schematic circuit diagram of a key control circuit of another multifunctional key circuit according to an embodiment of the present invention;
fig. 4 is a schematic circuit diagram of a system control chip and an LED circuit of another multifunctional key circuit according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a multifunctional key circuit according to an embodiment of the present invention. The multi-function key circuit may include: a power supply unit 10, a key control circuit 20 and a system control chip 30; wherein the content of the first and second substances,
the power supply unit 10 is connected to the key control circuit 20 and the system control chip 30, and is configured to convert input electric energy into electric energy of a target voltage, and supply power to the key control circuit 20 and the system control chip 30;
the output end of the key control circuit 20 is connected to a reset pin of the system control chip 30, and is configured to control a reset voltage output to the reset pin according to the on-time of a key switch in the key control circuit 20;
the system control chip 30 is used for adjusting the current working state of the system according to the voltage range of the reset voltage corresponding to each working state; the working state comprises a stop state, a distribution network state, a software reset state and a hardware reset state, and the current working state is any working state.
It is understood that the power supply unit 10 in this embodiment may be a circuit unit that supplies power to the key control circuit 20 and the system control chip 30 by using input power of an external power supply or energy storage battery, that is, the power supply unit 10 may convert the input power into power with a voltage required for power supply (i.e., a target voltage) to supply power to the key control circuit 20 and the system control chip 30.
Correspondingly, for the specific circuit structure of the power supply unit 10 in this embodiment, the specific circuit structure may be set by a designer according to a practical scene and a user requirement, for example, when the power supply unit 10 supplies power by using input electric energy supplied from the outside, the power supply unit 10 may include a USB interface and a voltage reduction circuit; the voltage reduction circuit is connected with the USB interface and is used for converting input electric energy accessed by the USB interface into electric energy of target voltage; the target voltage is less than the voltage of the input electric energy; as shown in fig. 2, the 2 pin and the 5 pin of the USB interface (USB1) can be connected to an externally input 5V input power (e.g. 5V @1.5A input power output by the power supply); the voltage reduction circuit (voltage reduction module) can convert the 5V input electric energy output by the USB interface into 3.3V (i.e., target voltage) electric energy to supply power to the key control circuit 20 and the system control chip 30.
Specifically, as shown in fig. 2, the voltage-reducing circuit may include a voltage-reducing chip (U2), a seventh resistor (R8), an eighth resistor (R5), a ninth resistor (R10), a fifth capacitor (C5), a sixth capacitor (C6), a seventh capacitor (C7), an inductor (L2), and an electrostatic discharge element (ESD 1); the first end of the seventh capacitor is connected with an electric energy output end (5V) of the USB interface, the common end of the first end of the seventh capacitor, which is connected with the electric energy output end of the USB interface, is connected with an input pin of the voltage reduction chip, and the second end of the seventh capacitor is grounded; the grounding pin of the voltage reduction chip is grounded, and the enabling pin of the voltage reduction chip is connected with the electric energy output end of the USB interface through a seventh resistor; a conversion pin of the voltage reduction chip is connected with a first end of the inductor, a second end of the inductor, a first end of the fifth capacitor and a first end of the sixth capacitor are connected, a common end of the second end of the inductor, the first end of the fifth capacitor and the sixth capacitor is connected with a first end of the eighth resistor, and a second end of the fifth capacitor and a second end of the sixth capacitor are both grounded; the second end of the eighth resistor is connected with the first end of the ninth resistor, the common end of the second end of the eighth resistor, which is connected with the first end of the ninth resistor, is connected with the feedback pin of the voltage reduction chip, and the second end of the ninth resistor is grounded; the common end of the second end of the inductor, the first end of the fifth capacitor and the sixth capacitor is connected to the first end of the electrostatic discharge element, the first end of the electrostatic discharge element is used as the target voltage output end of the power supply unit 10, and the second end of the electrostatic discharge element is grounded.
That is, as shown IN fig. 2, the DC5V voltage of the USB interface (USB1) is filtered by the seventh capacitor C7 and input to the 4 th pin (i.e., input pin, IN pin) of the buck chip U2, and is pulled up to the 1 st pin (i.e., enable pin, EN pin) of U2 by the seventh resistor R8, and the 5 th pin (i.e., feedback pin, FB pin) of U2, the eighth resistor R5// ninth resistor R10 obtains 3.3V (i.e., target voltage) and outputs the voltage to the key control circuit 20 and the system control chip 30. The 2 pin and the 5 pin of the USB1 are connected with the externally input 5V input power, the input 5V is connected with the IN pin of the U2, one end of the C7 is connected with the IN pin, and the other end is connected with GND (ground); one end of the R8 is connected with 5V, and the other end is connected with an EN pin of U2 and serves as an enabling end of U2; one end of R10 is connected with the FB pin of U2, and the other end is connected with GND; one end of R5 is connected to one end of inductor L2, the other end of R5 is connected to the FB pin of U2, R5 is R10x [ (2.8/0.6) -1), and the other end of L2 is connected to the SW pin (i.e., a switch pin) of U2; one end of the fifth capacitor C5// sixth capacitor C6 is connected with the 3.3V output end (namely the target voltage output end), and the other end is connected with GND; the GND pin (namely the grounding pin) of the U2 is connected with GND; ESD1 has one end connected to 3.3V and the other end connected to GND.
It can be understood that, in this embodiment, the key control circuit 20 may be a circuit that adjusts a voltage (i.e., a reset voltage) output to the reset pin of the system control chip 30 according to an on-time (i.e., a pressing time) of the key switch, so that the system control chip 30 may determine a current operating state (i.e., a current operating state) of the adjustment system by comparing the reset voltage of the reset pin with a voltage range corresponding to each operating state.
Correspondingly, for the specific circuit structure of the power supply unit 10 in this embodiment, the specific circuit structure can be set by a designer according to a practical scene and a user requirement, for example, the key control circuit 20 can be used for reducing the reset voltage output to the reset pin of the system control chip 30 according to the on-time of the key switch in the key control circuit 20; that is, when the key switch is not turned on (i.e., not pressed), the reset voltage applied to the reset pin of the system control chip 30 may be a maximum voltage (e.g., a target voltage), and as the on time of the key switch increases, the reset voltage applied to the reset pin may be correspondingly decreased until the minimum voltage (e.g., 0V) is decreased; as shown in fig. 3, the key control circuit 20 may include: the circuit comprises a key switch (K1), a PNP triode (Q1), a first NPN triode (Q4), a second NPN triode (Q2), a first capacitor (C19) and a second capacitor (C24); the first end and the fourth end of the key switch, the base (B pole) of the PNP triode and the base of the first NPN triode are connected, and the common end connected with the base of the PNP triode and the base of the first NPN triode, the first end and the fourth end of the key switch is connected with the target voltage output end of the power supply unit 10; the second end and the third end of the key switch are grounded, and the emitting electrode of the PNP triode is connected with the target voltage output end of the power supply unit 10; a collector (C pole) of the PNP triode and a collector of the first NPN triode are connected with a first end of the first capacitor, and a common end of the collectors of the PNP triode and the first NPN triode, which is connected with the first end of the first capacitor, is connected with a base of the second NPN triode; an emitter (E pole) of the first NPN triode, the second end of the first capacitor and an emitter of the second NPN triode are all grounded; a collector of the second NPN triode is connected to the first end of the second capacitor, and a common terminal of the collector of the second NPN triode and the first end of the second capacitor is connected to a reset pin of the system control chip 30(U6) as an output terminal of the key control circuit 20; a first end of the second capacitor is connected to the target voltage output end of the power supply unit 10, and a second end of the second capacitor is grounded.
Correspondingly, the key control circuit 20 in this embodiment may further include a resistor for performing a current limiting function and/or a voltage dividing function; as shown in fig. 3, the key control circuit 20 in this embodiment may further include: a first resistor (R17), a second resistor (R18), a third resistor (R22), a fourth resistor (R21), a fifth resistor (R24), and a sixth resistor (R46); the base electrode of the PNP triode is connected with the first end and the fourth end of the key switch through a second resistor, the base electrode of the first NPN triode is connected with the first end and the fourth end of the key switch through a third resistor, and the common end of the second resistor, the third resistor and the first end and the fourth end of the key switch is connected with the target voltage output end of the power supply unit 10 through a first resistor; a collector of the PNP triode is connected with the first end of the first capacitor through a fourth resistor, a collector of the first NPN triode is connected with the first end of the first capacitor through a fifth resistor, and a common end of the fourth resistor, the fifth resistor and the first end of the first capacitor is connected with a base of the second NPN triode; a first end of the second capacitor is connected with the target voltage output end of the power supply unit 10 through a sixth resistor, and a common end of the first end of the second capacitor and the sixth resistor is connected with a collector of the second NPN triode.
Further, the key control circuit 20 in this embodiment may further include a diode, so that an emitter of the second NPN transistor may be grounded through the diode; as shown in fig. 3, the key control circuit 20 in this embodiment may further include a first diode (D2) and a second diode (D3); the emitter of the second NPN triode is connected with the anode of the first diode, the cathode of the first diode is connected with the anode of the second diode, and the cathode of the second diode is grounded.
Further, the key control circuit 20 in this embodiment may further include a capacitor connected in parallel with the key switch to function as a current bypass; as shown in fig. 3, the key control circuit 20 in this embodiment may further include a third capacitor (C13); the first end of the third capacitor is connected with the first end and the fourth end of the key switch, and the second end of the third capacitor is connected with the second end and the third end of the key switch. The key control circuit 20 in this embodiment may further include a capacitor connected in parallel with the first capacitor to store energy together with the first capacitor, so as to increase the energy storage capacity; as shown in fig. 3, the key control circuit 20 in this embodiment may further include a fourth capacitor (C20); the first end of the fourth capacitor is connected with the first end of the first capacitor, and the second end of the fourth capacitor is connected with the second end of the first capacitor.
That is, as shown in fig. 3, when the key switch K1 is not pressed, the PNP transistor Q1 and the first NPN transistor Q4 are turned off, and since Q1 is turned off and there is no voltage at the B electrode of Q2, Q2 is also turned off, at this time, the RESET pin (RESET pin) of the system control chip 30U6 is in a state of 3.3V (i.e., a target voltage) and is pulled up to a high level through the sixth resistor R46, and at this time, the U6 may be in a normal power-on operating state. When K1 is pressed, the flow of power in the key control circuit 20 may be as follows: firstly, 3.3V (namely target voltage) is pressed and conducted to GND through a first resistor R17 and a third capacitor C13/K1; the 3.3V is connected with the E pole of the Q1, and because the first is conducted, the B pole of the Q1 is pulled down, at the moment, the Q1 is conducted, and the B pole of the Q4 is pulled down and is not conducted; q1 is turned on, and is charged through CE of Q1, fourth resistor R21 and first capacitor C19 to provide voltage for B pole of Q2, the key switch is continuously pressed, voltage of B pole of Q2 rises, and rises to reach threshold voltage of BE of Q2 (such as 0.7V) + VF of D2 (namely forward conducting voltage) + VF of D3, B pole of Q2 is turned on, and C19 discharges at the same time; and 3.3V flows to the C pole of the Q2 and the RESET pin of the U6 through the sixth resistor R46, the Q2 CE is conducted, and the voltage of the RESET pin of the U6 is changed from the high level of 3.3V to the low level.
That is, as shown in fig. 3, the key control circuit 20 may include a RST (RESET) circuit, a key circuit, a capacitor charge up circuit, and a capacitor power down and RST down circuit; the RST circuit can comprise a R46, a first end of the R46 is connected with 3.3V, a second end of the R46 is connected with a U634 pin (RESET pin), a first end of the C24 is connected with RST, and the second end of the C24 is connected with GND; the key circuit may include: the first end of R17 is connected with 3.3V, the 1/4 pin of K1 is connected with the second end of R17, the 2/3 pin of K1 is connected with GND, C3 and the two ends of K1; the capacitor charging boost circuit may include: the first end of R18 is connected with 1/4 of K1 and the second end of R17, the first end of R22, the second end of R18 is connected with the B pole of Q1, the E pole of Q1 is connected with 3.3V, the second end of R22 is connected with the B pole of Q4, the second end of R24 is connected with the Q4C pole, the E pole is connected with GND, the first end of R21 is connected with the Q1C pole, the first end of R24 and the first ends of C19 and C20 are connected with the second ends of C19 and C20; the circuit for powering down the capacitor and setting the RST low can comprise a RESET pin of U6 connected with the C pole of Q2, a second end of R46 and a first end of C24, wherein the E pole is connected with the positive pole of D2, the negative pole of D2 is connected with the positive pole of D3, the negative pole of D3 is connected with GND, and the first ends of C19 and C20 are connected with the B pole of Q2.
It should be noted that, in this embodiment, the system control chip 30 may adjust the current working state of the system by comparing the reset voltage accessed by the reset pin with the voltage range corresponding to each working state, so as to implement switching of the working function corresponding to each working state. The embodiment does not limit the specific setting of the voltage range corresponding to the operating state, for example, the voltage range of the stop state may be a preset range in which the push button switch is smaller than the reset voltage corresponding to 2s, and the voltage range of the distribution network state may be a preset range in which the push button switch is in the reset voltage corresponding to 2s-15 s; the voltage range of the software reset state can be a preset reset voltage range corresponding to 15s-30s when the key switch is pressed; the voltage range of the hardware reset state can be a preset range of reset voltage corresponding to the condition that the key switch is pressed for more than 30 s; that is, the system control chip 30 may enter the stop state and stop the current normal operating state when the user presses the key switch for less than 2 seconds, that is, the reset voltage at the reset pin is in the voltage range of the stop state; when the user presses the key switch for a long time for 2s-15s to release, the network distribution is carried out; when the user presses the key switch for a long time for 15s-30s to release the switch, resetting the software; and when the user presses the key switch for a long time for more than 30s, hardware reset, namely circuit reset is carried out.
Specifically, the embodiment does not limit the specific device type of the system control chip 30, for example, the system control chip 30 may employ a Bluetooth (BT) chip, such as U6 in fig. 3; other control chips may also be employed.
Further, the multifunctional key circuit provided in this embodiment may further include an LED circuit connected to the general input/output pin of the system control chip 30, and configured to control an LED in the LED circuit to perform corresponding light display according to a control signal corresponding to the current working state output by the system control chip 30. As shown in fig. 3 and 4, the LED circuit may include: a tenth resistor (R23) and an LED (LED 2); the universal input/output pin (pin 7 PA00) of the system control chip 30(U6) is connected to the anode of the LED through a tenth resistor, and the cathode of the LED is grounded; the general input/output pin of the system control chip 30 can output different LED PWM duty ratios (i.e., GPIO 1) to indicate the LED2 corresponding to different working states, so that an operator can know the current working state; for example, the system control chip 30 may perform the distribution network when the user presses the key switch for a long time for 2s-15s to release the key switch, and control the LED flash for 2Min all the time; when a user presses the key switch for a long time for 15s-30s to release the switch, resetting the software, controlling the LED to be normally on for 10-15s, and then turning off the LED; and when the user presses the key switch for more than 30s for a long time, resetting the hardware and controlling the LED to be turned off.
In this embodiment, the embodiment of the utility model provides a through button control circuit 20's setting, according to button switch's press time, the reset voltage of the pin that resets of control adjustment access system control chip 30 to adjustment system's current operating condition realizes if join in marriage the work function of other differences such as net function, software reset function and hardware reset function on realizing basic on-off function basis, has promoted user experience, and multi-functional button circuit's simple structure, and the security is high, and the practicality is strong.
It is right above that the utility model provides a multi-functional key circuit has carried out detailed introduction. The principles and embodiments of the present invention have been explained herein using specific examples, and the above descriptions of the embodiments are only used to help understand the method and its core ideas of the present invention. It should be noted that, for those skilled in the art, without departing from the principle of the present invention, the present invention can be further modified and modified, and such modifications and modifications also fall within the protection scope of the appended claims.

Claims (10)

1. A multi-function key circuit, comprising: the system comprises a power supply unit, a key control circuit and a system control chip; wherein the content of the first and second substances,
the power supply unit is connected with the key control circuit and the system control chip and is used for converting input electric energy into electric energy with target voltage and supplying power to the key control circuit and the system control chip;
the output end of the key control circuit is connected with a reset pin of the system control chip and is used for controlling reset voltage output to the reset pin according to the conduction time of a key switch in the key control circuit;
the system control chip is used for adjusting the current working state of the system according to the voltage range corresponding to the reset voltage and each working state; the working state comprises a stop state, a distribution network state, a software reset state and a hardware reset state, and the current working state is any one of the working states.
2. The multi-function key circuit of claim 1, wherein the key control circuit comprises: the key switch, the PNP triode, the first NPN triode, the second NPN triode, the first capacitor and the second capacitor are arranged on the base;
the first end and the fourth end of the key switch, the base electrode of the PNP triode and the base electrode of the first NPN triode are connected, and a common end, connected with the first end and the fourth end of the key switch, the base electrode of the PNP triode and the base electrode of the first NPN triode, is connected with a target voltage output end of the power supply unit; the second end and the third end of the key switch are grounded, and the emitting electrode of the PNP triode is connected with the target voltage output end of the power supply unit; a collector of the PNP triode and a collector of the first NPN triode are connected with a first end of the first capacitor, and a common end of the PNP triode, the collector of the first NPN triode and the first end of the first capacitor is connected with a base of the second NPN triode; the emitter of the first NPN triode, the second end of the first capacitor and the emitter of the second NPN triode are all grounded; a collector of the second NPN triode is connected with the first end of the second capacitor, and a common end of the collector of the second NPN triode, which is connected with the first end of the second capacitor, is used as an output end of the key control circuit and is connected with a reset pin of the system control chip; and the first end of the second capacitor is connected with the target voltage output end of the power supply unit, and the second end of the second capacitor is grounded.
3. The multi-function key circuit of claim 2, wherein the key control circuit further comprises: the circuit comprises a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor and a sixth resistor;
the base electrode of the PNP triode is connected with the first end and the fourth end of the key switch through the second resistor, the base electrode of the first NPN triode is connected with the first end and the fourth end of the key switch through the third resistor, and the common end of the second resistor, the third resistor and the first end and the fourth end of the key switch is connected with the target voltage output end of the power supply unit through the first resistor; a collector of the PNP triode is connected to the first end of the first capacitor through the fourth resistor, a collector of the first NPN triode is connected to the first end of the first capacitor through the fifth resistor, and a common end of the fourth resistor, the fifth resistor, and the first end of the first capacitor is connected to a base of the second NPN triode; the first end of the second capacitor is connected with the target voltage output end of the power supply unit through the sixth resistor, and the common end of the first end of the second capacitor connected with the sixth resistor is connected with the collector of the second NPN triode.
4. The multi-function key circuit of claim 2, wherein the key control circuit further comprises: a first diode and a second diode;
an emitter of the second NPN triode is connected with an anode of the first diode, a cathode of the first diode is connected with an anode of the second diode, and a cathode of the second diode is grounded.
5. The multi-function key circuit of claim 2, wherein the key control circuit further comprises: a third capacitor and a fourth capacitor;
the first end of the third capacitor is connected with the first end and the fourth end of the key switch, the second end of the third capacitor is connected with the second end and the third end of the key switch, the first end of the fourth capacitor is connected with the first end of the first capacitor, and the second end of the fourth capacitor is connected with the second end of the first capacitor.
6. The multi-function key circuit of claim 1, wherein the power supply unit comprises: a USB interface and a voltage reduction circuit;
the voltage reduction circuit is connected with the USB interface and is used for converting the input electric energy accessed by the USB interface into electric energy of the target voltage; the target voltage is less than the voltage of the input electrical energy.
7. The multi-function key circuit of claim 6, wherein the voltage-reduction circuit comprises: the voltage reduction circuit comprises a voltage reduction chip, a seventh resistor, an eighth resistor, a ninth resistor, a fifth capacitor, a sixth capacitor (C6), a seventh capacitor, an inductor and an electrostatic discharge element;
the first end of the seventh capacitor is connected with the electric energy output end of the USB interface, the common end of the first end of the seventh capacitor connected with the electric energy output end of the USB interface is connected with the input pin of the voltage reduction chip, and the second end of the seventh capacitor is grounded; the grounding pin of the voltage reduction chip is grounded, and the enabling pin of the voltage reduction chip is connected with the electric energy output end of the USB interface through the seventh resistor; a conversion pin of the buck chip is connected with a first end of the inductor, a second end of the inductor, a first end of the fifth capacitor and a first end of the sixth capacitor are connected, a common end of the second end of the inductor, the first end of the fifth capacitor and the sixth capacitor is connected with a first end of the eighth resistor, and a second end of the fifth capacitor and a second end of the sixth capacitor are both grounded; a second end of the eighth resistor is connected with a first end of the ninth resistor, a common end of the second end of the eighth resistor connected with the first end of the ninth resistor is connected with a feedback pin of the voltage reduction chip, and a second end of the ninth resistor is grounded; and a common end of the second end of the inductor, the first end of the fifth capacitor and the sixth capacitor is connected with the first end of the electrostatic discharge element, the first end of the electrostatic discharge element is used as a target voltage output end of the power supply unit, and the second end of the electrostatic discharge element is grounded.
8. The multi-function key circuit of claim 1, wherein the system control chip is specifically a bluetooth chip.
9. The multi-function key circuit of any one of claims 1 through 8, further comprising:
and the LED circuit is connected with a general input/output pin of the system control chip and is used for controlling an LED in the LED circuit to perform corresponding light display according to the control signal corresponding to the current working state output by the system control chip.
10. The multi-function key circuit of claim 9, wherein the LED circuit comprises: a tenth resistor and the LED;
and a universal input/output pin of the system control chip is connected with the anode of the LED through the tenth resistor, and the cathode of the LED is grounded.
CN202123056105.3U 2021-12-07 2021-12-07 Multifunctional key circuit Active CN217116054U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202123056105.3U CN217116054U (en) 2021-12-07 2021-12-07 Multifunctional key circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202123056105.3U CN217116054U (en) 2021-12-07 2021-12-07 Multifunctional key circuit

Publications (1)

Publication Number Publication Date
CN217116054U true CN217116054U (en) 2022-08-02

Family

ID=82588711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202123056105.3U Active CN217116054U (en) 2021-12-07 2021-12-07 Multifunctional key circuit

Country Status (1)

Country Link
CN (1) CN217116054U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117526918A (en) * 2024-01-04 2024-02-06 广州市科锐达光电技术股份有限公司 Switch control device and advertisement exhibition system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117526918A (en) * 2024-01-04 2024-02-06 广州市科锐达光电技术股份有限公司 Switch control device and advertisement exhibition system

Similar Documents

Publication Publication Date Title
CN1949620A (en) Power managing system with multi-charging modes
CN104901385A (en) Generator energy management device and power generation system
CN217116054U (en) Multifunctional key circuit
CN212519502U (en) Remote controller control circuit, circuit board and remote controller
CN101957646B (en) Computer power supply for quasi-zero-power consumption standby
CN218335753U (en) A ACU power strip for machine leads to equipment
CN101807803B (en) Switch control power supply circuit
CN211063405U (en) Miniature uninterrupted power source converter
CN201113484Y (en) Solar power supply equipment
CN213094532U (en) Light source driving circuit and electric light source
CN107148119B (en) A kind of flash lamp module and terminal
CN201048304Y (en) Manual power generation charging circuit of digital product
CN207835853U (en) A kind of flash lamp module and terminal
CN207882710U (en) A kind of multi-port terminal mapping activator appliance
CN212572150U (en) Lithium battery edge charging circuit for handheld laser night vision device
CN218102616U (en) Fast charging power supply circuit
CN217216028U (en) Boost charging circuit
CN214380155U (en) Dual-interface simultaneous charging device and equipment
CN215897590U (en) Voltage stabilizing circuit for switching power supply
CN220156251U (en) Direct current power supply boost current-limiting conversion circuit
CN218124369U (en) Power supply switching circuit and power consumption device
CN214069627U (en) Boosting power supply based on metal-air battery and metal-air battery
CN212277973U (en) Earphone charging cabin and wireless earphone kit
CN218413250U (en) Control system of intelligent bilateral breast pump
CN218848651U (en) Power supply circuit and electric equipment

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant