CN216672981U - Key circuit, power control system and vehicle - Google Patents

Key circuit, power control system and vehicle Download PDF

Info

Publication number
CN216672981U
CN216672981U CN202122564370.6U CN202122564370U CN216672981U CN 216672981 U CN216672981 U CN 216672981U CN 202122564370 U CN202122564370 U CN 202122564370U CN 216672981 U CN216672981 U CN 216672981U
Authority
CN
China
Prior art keywords
port
voltage
module
key
processor
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
CN202122564370.6U
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.)
Guangdong Huitian Aerospace Technology Co Ltd
Original Assignee
Guangdong Huitian Aerospace 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 Guangdong Huitian Aerospace Technology Co Ltd filed Critical Guangdong Huitian Aerospace Technology Co Ltd
Priority to CN202122564370.6U priority Critical patent/CN216672981U/en
Application granted granted Critical
Publication of CN216672981U publication Critical patent/CN216672981U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The utility model discloses a key circuit, a power supply control system and a vehicle, wherein the key circuit comprises a first switch module, a second switch module and a voltage control module, wherein the first switch module is used for responding to the control of the second switch module and the voltage control module and switching on or off a path between an external power supply and an external load; the voltage control module is used for responding to a control signal of an external load when the external load works to enable the first switch module to be switched on or switched off; the second switch module is used for responding to the key operation and enabling the first switch module to be conducted. The scheme can realize complete power-off of the key circuit and reduce power consumption of a load.

Description

Key circuit, power control system and vehicle
Technical Field
The application relates to the technical field of circuits, in particular to a key circuit, a power supply control system and a vehicle.
Background
In devices such as electric vehicles and aircrafts, a power switch circuit is usually used to control power supply of the devices so as to realize the functions of starting up and shutting down the devices. In the related art, a reset key switch is usually adopted to realize the switching control of the circuit, but when the device is required to be shut down, the state of the key can be detected, so that a processor of the device is required to be in a working state, and the power consumption is relatively low.
SUMMERY OF THE UTILITY MODEL
In view of the above problems, the present invention provides a key circuit, a power control system and a vehicle.
In a first aspect, an embodiment of the present application provides a key circuit, including a first switch module and a second switch module, where the first switch module includes a first port, a second port, and a third port, the first port is used to connect to an external power source, the second port is used to connect to an external load, and the third port is used to connect to the external power source through the second switch module; the second switch module is used for responding to key operation and reducing the voltage provided by the external power supply to the third port so as to generate a voltage difference between the first port and the third port; the first switch module is used for switching on a path between the external power supply and the external load when a voltage difference exists between the first port and the third port, and switching off the path between the external power supply and the external load when the voltage difference does not exist between the first port and the third port.
As a possible implementation manner, the second switch module includes a key switch and a voltage-reducing module, a first end of the key switch is used for being connected to the external power supply, a second end of the key switch is grounded, a first end of the voltage-reducing module is connected to the first end of the key switch and the external power supply, and a second end of the voltage-reducing module is connected to the third port and the external power supply; the key switch is used for enabling the voltages of the first end and the second end of the voltage reduction module to be different when being pressed down; the voltage reduction module is used for reducing the voltage provided by the external power supply to the third port when the voltages of the first end and the second end are different.
As a possible implementation manner, the voltage dropping module is a first diode, the second switch module further includes a first resistor and a second resistor, a first end of the first diode is connected to the external power source through the first resistor, and a second end of the first diode is connected to the external power source through the second resistor.
As a possible implementation manner, the key circuit further includes a voltage control module, the external load includes a processor, one end of the voltage control module is connected to the third port, and the other end of the voltage control module is used for being connected to the processor; the voltage control module is used for responding to a first level signal input by the processor and reducing the voltage provided by the external power supply to the third port, so that when the key switch of the second switch module is released, a voltage difference is generated between the first port and the third port; the voltage control module is further configured to respond to a second level signal input by the processor, and not reduce the voltage provided by the external power supply to the third port, so that when the key switch of the second switch module is released, no voltage difference is generated between the first port and the third port.
As a possible implementation manner, the voltage control module includes a third resistor, a fourth resistor and a first field effect transistor, a drain of the first field effect transistor is connected to the third port, a source of the second field effect transistor is grounded, a gate of the second field effect transistor and one end of the third resistor are connected to one end of the fourth resistor, the other end of the fourth resistor is used for being connected to the processor, and the other end of the third resistor is connected to the source of the second field effect transistor; the second field effect transistor is used for reducing the voltage provided by the external power supply to the third port when the processor inputs a first level signal to the fourth resistor; the second field effect transistor is further used for not reducing the voltage provided by the external power supply to the third port when the processor inputs a second level signal to the fourth resistor.
As a possible implementation, the second switch module includes a key switch, and the key circuit further includes a voltage providing module connected to the second switch module and the processor; the voltage providing module is used for outputting a target voltage to the processor to indicate the processor to time when a key switch of the second switch module is pressed down, and stopping outputting the target voltage to the processor to indicate the processor to stop timing when the key switch is released; the processor is used for determining the key operation of the key switch by a user according to the timed duration, and outputting the first level signal to the voltage control module or outputting the second level signal to the voltage control module according to the key operation and the working state of the external load.
As a possible implementation manner, the voltage providing module includes a fifth resistor, a sixth resistor, and a second field-effect transistor, a gate of the second field-effect transistor is connected to the second switch module through the fifth resistor, a source of the second field-effect transistor is grounded, one end of the gate of the second field-effect transistor and one end of the sixth resistor are used for connecting to the external load, and the other end of the sixth resistor is used for connecting to an external dc power supply; the second field effect transistor is used for conducting a circuit between the source electrode and the drain electrode when a voltage difference exists between the grid electrode and the source electrode of the second field effect transistor, and outputting the target voltage to the processor; the first field effect transistor is further used for disconnecting the circuit between the source electrode and the drain electrode and not outputting the target voltage to the processor when no voltage difference exists between the grid electrode and the source electrode.
As a possible implementation manner, the processor is further configured to control the external load to be in a sleep state when the external load is in the working state and it is determined that the key operation is the double-click operation according to the timed duration.
In a second aspect, the present application provides a power control system, which includes the external power source, the external load, and the key circuit provided in the first aspect.
In a third aspect, the present application provides a vehicle comprising a vehicle body and a power supply control system as described in the second aspect above, the power supply control system being provided in the vehicle body.
The technical scheme of the application comprises at least the following beneficial effects:
in the key circuit provided by the embodiment of the application, the key circuit comprises a first switch module, a second switch module and a voltage control module, wherein the first switch module is connected between an external power supply and an external load, the second switch module is connected between the external power supply and the first switch module, the second switch module reduces the voltage connected to an interface of the first switch module by responding to key operation, so that the first switch module is switched on, and further the external load is powered on to work. Therefore, in the key circuit, when the first switch module has a voltage difference between the first port and the third port, the external power supply is communicated with the external load, so that the external load works, and the second switch module can be used under the condition that the external power supply does not supply power to the external load, when the first switch module is pressed, the voltage difference exists between the first port and the third port of the first switch module, so that the external load works, and the voltage control module can be controlled after the external load works, so that the voltage difference is generated or not generated between the first port and the third port, therefore, the conduction of the circuit can be maintained when the second switch module is loosened, and under the condition that the external load is powered off, the second switch module can also be used for controlling the power supply of the external power supply to the external load, and the power consumption is effectively reduced.
These and other aspects of the embodiments of the present application will be apparent from, and elucidated with reference to, the embodiments described hereinafter.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a conventional key circuit;
FIG. 2 is a schematic diagram of another conventional key circuit;
FIG. 3 is a schematic diagram illustrating a structure of a key circuit according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating another structure of a key circuit according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram illustrating another exemplary structure of a key circuit according to an embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating a further structure of a key circuit according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram illustrating yet another exemplary embodiment of a key circuit;
FIG. 8 is a schematic diagram illustrating an architecture of a power control system provided by an embodiment of the present application;
fig. 9 shows a schematic structural diagram of a vehicle according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. In the description of the present invention, the terms "first", "second", and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; they may be directly connected or indirectly connected through intervening media, or may be connected through the use of two elements or the interaction of two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In a conventional battery-powered device in the field of electric vehicles and electric manned vehicles, there are generally two types of key switch circuits. In one of the methods, please refer to fig. 1, a self-locking key switch is used to connect between the load and the power supply, so as to control the on/off of the circuit in response to the operation of the external key.
In another mode, referring to fig. 2, the power supply directly supplies power to the device, and the self-reset key switch is used as an input port of the processor, and when the key is pressed, the processor detects that the key is interrupted, thereby implementing the operation of starting up or shutting down the device. When the equipment normally works, the keys in the circuit can be used as common keys, and various key logics, short-press logics, double-press logics and long-press logics can be defined in a program. Because the key switch does not directly control the circuit between the power supply and the processor, the self-reset key switch can also keep the closing of the power supply circuit after resetting. However, in this method, when the device is powered off, since the device needs to detect the state of the key, the processor in the device needs to operate (or operate in a low power consumption state) all the time, and thus, the power of the battery is consumed all the time.
In view of the above problems, the inventor has made extensive studies and, as a result, provided a key circuit, a power control system, and a vehicle, in which a first switch module is used to connect an external power source to an external load and to operate the external load when a voltage difference exists between a first port and a third port of the first switch module, and a second switch module is used when the external power source is not supplying power to the external load, and when the first switch module is pressed, the first switch module is used to connect the first port to the third port and to operate the external load, and the voltage control module is controlled to generate a voltage difference or not to generate a voltage difference between the first port and the third port after the external load is operated, so that the conduction of the circuit can be maintained when the second switch module is released, and the external load can be powered off, and the second switch module can be used to control the external power source to supply power to the external load, effectively reducing the power consumption. The key circuit provided by the embodiment of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 3, an embodiment of the present application provides a key circuit 10, including a first switch module 100, a second switch module 200, and a voltage control module 300, where the first switch module 100 includes a first port 110, a second port 120, and a third port 130, the first port 110 is used for connecting an external power source, the second port 120 is used for connecting an external load, the third port 130 is used for connecting an external power source through the second switch module 200, one end of the voltage control module 300 is connected to the third port 130, and the other end of the voltage control module 300 is used for connecting an external load. The second switch module 200 is configured to reduce a voltage provided to the third port 130 by an external power source in response to a key operation, so as to generate a voltage difference between the first port 110 and the third port 130; the voltage control module 300 is configured to generate a voltage difference or not between the first port 110 and the third port 130 in response to a control signal of an external load when the external load is in operation; the first switch module 100 is used for turning on a path between an external power source and an external load when a voltage difference exists between the first port 110 and the third port 130, and turning off the path between the external power source and the external load when the voltage difference does not exist between the first port 110 and the third port 130.
In the embodiment of the present application, the key circuit 10 is connected to a path between an external power source and an external load, and is configured to control the path between the external power source and the external load to be opened and closed, so as to control the working states of the external load, such as power on and power off. Due to the circuit characteristics of the first switch module 100, when a voltage difference exists between the first port 110 and the third port 130, the first switch module 100 conducts a path between the first port 110 and the second port 120, so that the second switch module 200 can control the first switch module 100 to conduct a path between an external power source and an external load in response to a key operation. At this time, the external load may start to run the program or perform other operations after the external power is connected, but since the path between the external load and the external power is disconnected as the reset button of the second switch module 200 is released, the circuit is unstable.
Therefore, the key circuit 10 further includes a voltage control module 300, the voltage control module 300 is connected between the third port 130 of the first switch module 100 and the external load, and is configured to control a voltage difference between the first port 110 and the third port 130 of the first switch module 100, specifically, after the second switch module 200 responds to a key operation to connect the external power source to the external load, the power control module may control a power difference between the first port 110 and the third port 130, so that the first port 110 and the second port 120 are always in a conducting state, and at this time, the reset key of the second switch module 200 may be released without causing the first switch module 100 to be disconnected. The load needs to output different control signals to the voltage control module 300 according to the operation state of the load and the pressing state of the reset key, and the voltage control module 300 generates or does not generate a voltage difference between the first port 110 and the third port 130 according to the different input control signals.
Alternatively, referring to fig. 4, the first switch module 100 may be a PMOS transistor, which is suitable for high-side driving due to its own characteristics, that is, the source of the PMOS transistor may be connected to an external power supply, the gate of the PMOS transistor is connected to the key control circuit, that is, the second switch module 200, and the drain of the PMOS transistor is connected to an external load. According to the characteristics of the PMOS tube, when a voltage difference exists between the source electrode and the grid electrode, the source electrode and the drain electrode are conducted. In the first switch module 100, the first port 110 may be a source of the PMOS transistor, the connected external power source may be a 12V power source, the second port 120 may be a drain of the PMOS transistor, and the third port 130 may be a gate of the PMOS transistor. The second switch module 200 may respond to the key operation to reduce the voltage at the third port 130, i.e. the gate, so that a voltage difference exists between the gate and the source of the PMOS transistor to control the conduction of the PMOS transistor, i.e. the first switch module 100; when there is no voltage difference between the gate and the source of the second switch module 200, the PMOS transistor is not turned on, i.e. the first switch module 100 disconnects the path between the external power source and the external load.
In some embodiments, referring to fig. 5, the second switch module 200 includes a key switch and a voltage-reducing module 210, a first end of the key switch is used for connecting to an external power source, a second end of the key switch is grounded, a first end of the voltage-reducing module 210 is connected to the first end of the key switch and the external power source, and a second end of the voltage-reducing module 210 is connected to the third port 130 and the external power source; the key switch is used for enabling the voltages of the first end and the second end of the voltage reduction module 210 to be different when being pressed; the voltage dropping module 210 is configured to drop the voltage provided by the external power source to the third port 130 when the voltages at the first terminal and the second terminal are different.
In this embodiment, the key circuit 10 controls the voltage of the third port 130 of the first switch module 100 through the second switch module 200 to control the on/off state of the first switch module 100, thereby implementing the on/off between the external power source and the external load. The key switch may be a reset key switch, and when the reset key switch is pressed, the reset key switch is internally turned on, so as to switch on a circuit between the first end and the second end of the key switch, and the voltage reduction module 210 is configured to be grounded through the first end when the key switch is pressed, and form a certain voltage reduction at the second end through a self-resistor, so as to generate a voltage difference between the first port 110 and the third port 130 of the first switch module 100; when the reset key switch is released, the reset key switch is in a reset state, and the inside of the reset key switch is disconnected.
It can be understood that, when the key switch is pressed, the paths at the two ends of the key switch are connected, since the resistance of the key switch itself is very small and negligible, which is regarded as a short circuit of the key switch, at this time, the voltage reduction module 210 can be regarded as the first end being grounded, the second end being connected to the third port 130 and the external power source, at this time, the voltage of the third port 130 is the voltage of the second end of the voltage reduction module 210, under the condition that the voltage reduction module 210 has a relatively low voltage drop, the third port 130 is regarded as being grounded, at this time, a voltage difference exists between the first port 110 and the third port 130, the first port 110 and the second port 120 are conducted, that is, the first switch module 100 is conducted, and the external power source is communicated with the external load. When the key switch is released, the external load can be connected to the power supply and be in a working state when the key switch is pressed, so that the voltage control module 300 can keep a voltage difference between the first port 110 and the third port 130 under the control of the external load, and further, the external power supply and the external load can be continuously connected. Therefore, under the condition that the external load is powered off, the external load can be controlled to be in the working state by performing key operation on the key switch, the external load is not required to be powered on all the time to detect the key operation, and therefore power consumption can be reduced.
Alternatively, the voltage-reducing module 210 may be implemented by a diode, and a first resistor R1 and a second resistor R2, wherein the first terminal of the voltage-reducing module 210 may be a negative terminal of the diode, while the first terminal of the voltage-reducing module 210 is further connected to the external power source through the first resistor, the second terminal of the voltage-reducing module 210 may be a positive terminal of the diode, while the second terminal of the voltage-reducing module 210 is connected to the external power source through the second resistor R2. Due to the characteristics of the diode, when the key switch is pressed, the negative terminal of the diode is grounded, the positive terminal of the diode is connected to the third port 130 of the first switch module 100 and the external power source, at this time, a certain voltage drop is generated due to the self-resistance of the diode, and the positive terminal power source of the diode is about 0.4V, so that the voltage at the third port 130 of the first switch module 100 is the voltage at the positive terminal of the diode, which is about 0.4V, and meanwhile, the voltage at the first port 110 of the first switch module 100 can be the voltage of the external power source due to the direct connection to the external power source, so that the voltage difference between the first port 110 and the third port 130 can be obtained.
In some embodiments, as shown in fig. 6, the external load includes a processor, one end of the voltage control module 300 is connected to the third port 130, and the other end of the voltage control module 300 is used for connecting to the processor; the voltage control module 300 is configured to reduce a voltage provided to the third port 130 by an external power source in response to a first level signal input by the processor, so that a voltage difference is generated between the first port 110 and the third port 130 when the key switch of the second switch module 200 is released; the voltage control module 300 is further configured to respond to the second level signal input by the processor, and not reduce the voltage provided to the third port 130 by the external power source, so that when the key switch of the second switch module 200 is released, no voltage difference is generated between the first port 110 and the third port 130.
In this embodiment, when the key circuit 10 responds to a key operation, the second switch module 200 is controlled to turn on the first switch module 100, so as to turn on the external power source and the external load, at this time, the external load may start running a program or other operations after being connected to the external power source, but since the path between the external load and the external power source is disconnected along with the release of the key switch in the key circuit 10, the circuit is unstable. Therefore, when the second switch module 200 is pressed to enable the processor of the external load to be in an operating state, the voltage control module 300 reduces the voltage provided by the external power supply to the third port 130 of the first switch module 100 when receiving the first level signal input by the processor, so as to maintain the connection state between the external power supply and the external load; and when the voltage control module 300 receives the second level signal input by the processor, the voltage provided by the external power supply to the third port 130 of the first switch module 100 is not reduced, so that the external power supply and the external load can be disconnected, thereby controlling the shutdown of the external load. It can be understood that, when the external load is in a shutdown state, the first switch module 100 is turned on by pressing the key switch of the second switch circuit, and the external load is connected to the external power supply, at this time, the external load starts to operate, the processor may send a first level signal to the voltage control module 300, the voltage control module 300 may reduce the voltage of the third port 130 of the first switch module 100 through circuit connection after receiving the first level signal, so that the third port 130 forms a low voltage through the voltage control module 300 without being controlled by the key switch of the second switch module 200, at this time, the key switch may be in a released state, and may also maintain the external load in a working state, that is, the key switch may be released and may also maintain the working state of the external load after being reset. The processor may further control itself to be in a shutdown state by sending a second level signal to the voltage control module 300, so that the voltage control module 300 does not reduce the voltage provided by the external power source to the third port 130 of the first switch module 100, and the external power source and the external load can be disconnected.
Alternatively, the voltage control module 300 may include an NMOS transistor, a third resistor R3, and a fourth resistor R4, where the first level signal may be a high level signal, the second level signal may be a low level signal, a gate of the NMOS transistor is connected to the source through the third resistor R3, the gate is further connected to a signal output interface of the processor through the fourth resistor R4, a source of the NMOS transistor is grounded, and a drain of the NMOS transistor is connected to the third port 130 of the first switch module 100. The processor outputs a first level signal, i.e. a high level signal, to the gate of the NMOS transistor, so that a voltage difference exists between the gate and the source of the NMOS transistor, and according to the characteristics of the NMOS transistor, the source and the drain are turned on at this time, and then the third port 130 of the first switch module 100 connected to the drain of the NMOS transistor can be regarded as being grounded, and at this time, as long as the gate of the NMOS transistor can always receive the high level signal input by the processor, the third port 130 of the first switch module 100 can always maintain a low level, and then the first switch module 100 can always maintain a turned-on state, an external load can always be connected with an external power supply, and at this time, the key switch of the second switch module 200 can be turned off without affecting the voltage of the third port 130.
Similarly, the processor may output a second level signal, i.e., a low level signal, to the gate of the NMOS transistor, so that there is no voltage difference between the gate and the source of the NMOS transistor. At this time, the source and the drain of the NMOS transistor are disconnected, so that the drain of the NMOS transistor cannot control the voltage of the third port 130 of the first switch module 100, at this time, the third port 130 of the first switch module 100 is called a high level state by being connected to an external power supply, there is no voltage difference between the first port 110 and the third port 130, the first port 110 and the second port 120 are disconnected, so that the path between the external load and the external power supply is disconnected, and the external load is in a shutdown state.
In one embodiment, as shown in fig. 7, the second switch module 200 includes a key switch, the key circuit 10 further includes a voltage providing module 400, and the voltage providing module 400 is connected to the second switch module 200 and the processor; the voltage providing module 400 is used for outputting the target voltage to the processor to instruct the processor to time when the key switch of the second switch module 200 is pressed, and stopping outputting the target voltage to the processor to instruct the processor to stop time when the key switch is released; the processor is configured to determine a key operation of the key switch performed by the user according to the timed duration, and output a first level signal to the voltage control module 300 or output a second level signal to the voltage control module 300 according to the key operation and the working state of the external load.
In this embodiment, the key circuit 10 turns on a circuit between an external power source and an external load when the key switch of the second switch module 200 is pressed, and at the same time, the processor reduces the voltage of the third port 130 through the voltage control module 300, so that the load can be in a state of being always turned on, but at this time, the processor needs a certain time to run a turn-on program, and needs a certain time to transmit a signal to the voltage control module 300. Therefore, the key switch needs to be in a pressed state for a period of time to enable the processor to execute instructions and transmit signals, so that the key circuit 10 includes a voltage providing module 400, the voltage providing module 400 is connected between the second switch module 200 and the processor, and is configured to output a target voltage to the processor when the key switch of the second switch module 200 is pressed, instruct the processor to perform timing, and output a first level signal or a second level signal to the processor according to a pressing duration of the key switch and an operating state of an external load.
It can be understood that the voltage providing module 400 is connected between the first end of the key switch of the second switch module 200 and the processor, when the external load is in the power-off state, the key switch of the second switch module 200 responds to the key operation to lower the voltage of the third port 130, and at the same time, the voltage providing module 400 also lowers the voltage of the connection port of the voltage providing module 400 and the key switch, and at this time, the voltage providing module 400 can instruct the processor to start timing by outputting the target voltage. After the key switch is pressed for a preset time, the key switch is released, at this time, the voltage providing module 400 and the key switch connection port are connected to the external power supply, the voltage rises, at this time, the voltage providing module 400 may output the target voltage to instruct the processor to stop timing. In the above two cases, the target voltages output by the voltage providing module 400 may be different, and are used to instruct the processor to execute different instructions.
At this time, the processor outputs a first level signal or a second level signal to the voltage control module 300 according to the timing duration and the working state of the external load. In one case, if the external load is in the power-on state and the timing duration is greater than the preset duration, the processor outputs a second level signal to the voltage control module 300, so that the voltage control module 300 does not reduce the voltage of the third port 130, and the first switch module 100 is turned off, so that the external load enters the power-off state; in another case, if the external load is in the power-off state and the timing duration is greater than the preset duration, the processor outputs the first level signal to the voltage control module 300, so that the voltage control module 300 reduces the voltage of the third port 130, and the first switch module 100 is turned on, so that the external load enters the power-on state. The specific value of the preset time period may not be limited, for example, the preset time period may be 1 second, 2 seconds, 3 seconds, and the like.
Alternatively, the voltage providing module 400 may be formed by connecting an NMOS transistor and the fifth and sixth resistors R5 and R6. The gate of the NMOS is connected to the first end of the key switch of the second switch module 200 through a fifth resistor R5, the source of the NMOS is grounded, the drain of the NMOS is connected to the external dc power supply through a sixth resistor R6, and the connection port between the drain of the NMOS and the sixth resistor R6 is further connected to an input port of the processor. When the key switch is pressed down, the first end and the second end of the key switch are conducted, the grid is connected to the first end of the key switch and can be regarded as being grounded, no voltage difference exists between the grid and the source at the moment, the source and the drain are disconnected according to the characteristics of the NMOS tube, an interface between the drain and the processor can be regarded as being connected to a power supply, the target voltage output to the processor by the NMOS tube is a high-level signal at the moment, and the processor can start timing when detecting the high level of the port; when the key switch is turned off, the grid electrode of the NMOS tube can be regarded as being connected with an external power supply and is at a high level, a power supply difference exists between the grid electrode and the source electrode of the NMOS tube at the moment, the source electrode and the drain electrode are conducted, the source electrode is grounded, the drain electrode can also be regarded as being grounded, and at the moment, the target voltage output to the processor by the NMOS tube through the drain electrode is a low-level signal and used for indicating the processor to stop timing.
In one embodiment, when the external load is in the power-on state, the processor may control the external load to enter the sleep state according to the timing duration and the number of times of the key operation, and if the external load is in the power-on state, it is detected that the key operation is a double click, and the pressing duration does not exceed the preset duration, the processor controls the external load to enter the sleep state.
In an embodiment, the processor may further control the operating state of the external load according to the number of times the key switch of the second switch module 200 is pressed and the pressing duration, for example, the external load may be controlled to be turned off when the pressing time of the key switch is less than a preset duration, and the external load may be controlled to enter a sleep state when the key switch is double-clicked, and the like.
The key circuit 10 provided by the present application enables the external power source to communicate with the external load through the first switch module 100 when a voltage difference exists between the first port 110 and the third port 130, thereby operating the external load, and the second switch module 200 can be used in the case that the external power source does not supply power to the external load, when pressed, a voltage difference exists between the first port 110 and the third port 130 of the first switch module 100, and then the external load is operated, and after the external load is operated, the voltage control module 300 can be controlled to generate or not generate a voltage difference between the first port 110 and the third port 130, so that the conduction of the circuit can be maintained when the second switch module 200 is released, and then can also utilize second switch module 200 to control the power supply of external power source to the external load under the circumstances that can realize the external load outage, effectively reduced power consumption. In addition, various controls on external loads can be realized through the operation of different pressing time lengths of one key, so that control instructions are diversified.
As shown in fig. 8, an embodiment of the present application further provides a power control system 20, where the power control system 20 includes an external power source 22, an external load 21, and the key circuit 10 provided in the foregoing embodiment. The external power source 22 is connected to the second switch module 200 of the key circuit 10, and the external load 21 is connected to the first switch module 100 of the key circuit 10.
As shown in fig. 9, an embodiment of the present application further provides a vehicle 600, which includes a vehicle main body 610 and the power supply control system 620 provided in the foregoing embodiment, where the power supply control system 620 is disposed in the vehicle main body 610.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (10)

1. A key circuit is characterized by comprising a first switch module, a second switch module and a voltage control module, wherein the first switch module comprises a first port, a second port and a third port, the first port is used for being connected with an external power supply, the second port is used for being connected with an external load, the third port is used for being connected with the external power supply through the second switch module, one end of the voltage control module is connected with the third port, and the other end of the voltage control module is used for being connected with a processor;
the second switch module is used for responding to key operation and reducing the voltage provided by the external power supply to the third port so as to generate a voltage difference between the first port and the third port;
the voltage control module is used for responding to a control signal of the external load when the external load works, so that a voltage difference is generated or no voltage difference is generated between the first port and the third port;
the first switch module is used for switching on a path between the external power supply and the external load when a voltage difference exists between the first port and the third port, and switching off the path between the external power supply and the external load when the voltage difference does not exist between the first port and the third port.
2. The key circuit according to claim 1, wherein the second switch module comprises a key switch and a voltage-reducing module, a first terminal of the key switch is configured to be connected to the external power source, a second terminal of the key switch is connected to ground, a first terminal of the voltage-reducing module is connected to the first terminal of the key switch and the external power source, and a second terminal of the voltage-reducing module is connected to the third port and the external power source;
the key switch is used for enabling the voltages of the first end and the second end of the voltage reduction module to be different when being pressed down;
the voltage reduction module is used for reducing the voltage provided by the external power supply to the third port when the voltages of the first end and the second end are different.
3. The key circuit of claim 2, wherein the voltage dropping module is a first diode, the second switch module further comprises a first resistor and a second resistor, a first end of the first diode is connected to the external power source through the first resistor, and a second end of the first diode is connected to the external power source through the second resistor.
4. The key circuit according to any one of claims 1-3, wherein the external load comprises a processor, one end of the voltage control module is connected to the third port, and the other end of the voltage control module is used for being connected to the processor;
the voltage control module is used for responding to a first level signal input by the processor and reducing the voltage provided by the external power supply to the third port, so that when the key switch of the second switch module is released, a voltage difference is generated between the first port and the third port;
the voltage control module is further configured to respond to a second level signal input by the processor, and not reduce the voltage provided by the external power supply to the third port, so that when the key switch of the second switch module is released, no voltage difference is generated between the first port and the third port.
5. The key circuit according to claim 4, wherein the voltage control module includes a third resistor, a fourth resistor and a first field effect transistor, a drain of the first field effect transistor is connected to the third port, a source of the first field effect transistor is grounded, a gate of the first field effect transistor and one end of the third resistor are connected to one end of the fourth resistor, the other end of the fourth resistor is used for connecting to the processor, and the other end of the third resistor is connected to the source of the first field effect transistor;
the first field effect transistor is used for reducing the voltage provided by the external power supply to the third port when the processor inputs a first level signal to the fourth resistor;
the first field effect transistor is further used for not reducing the voltage provided by the external power supply to the third port when the processor inputs a second level signal to the fourth resistor.
6. The key circuit of claim 4, wherein the second switch module comprises a key switch, the key circuit further comprising a voltage providing module coupled to the second switch module and the processor;
the voltage providing module is used for outputting a target voltage to the processor to indicate the processor to time when a key switch of the second switch module is pressed down, and stopping outputting the target voltage to the processor to indicate the processor to stop timing when the key switch is released;
the processor is used for determining the key operation of the key switch by a user according to the timed duration, and outputting the first level signal to the voltage control module or outputting the second level signal to the voltage control module according to the key operation and the working state of the external load.
7. The key circuit according to claim 6, wherein the voltage providing module includes a fifth resistor, a sixth resistor and a second field effect transistor, a gate of the second field effect transistor is connected to the second switch module through the fifth resistor, a source of the second field effect transistor is grounded, a drain of the second field effect transistor and one end of the sixth resistor are used for connecting to the external load, and the other end of the sixth resistor is used for connecting to an external dc power supply;
the second field effect transistor is used for conducting a circuit between the source electrode and the drain electrode when a voltage difference exists between the grid electrode and the source electrode of the second field effect transistor, and outputting the target voltage to the processor;
the second field effect transistor is further used for disconnecting the circuit between the source electrode and the drain electrode and not outputting the target voltage to the processor when no voltage difference exists between the grid electrode and the source electrode.
8. The key circuit of claim 6, wherein the processor is further configured to control the external load to be in a sleep state when the external load is in an active state and the key operation is determined to be a double-click operation according to the timed duration.
9. A power control system comprising an external power source, an external load, and a key circuit according to any one of claims 1-8.
10. A vehicle characterized by comprising a vehicle main body and the power supply control system according to claim 9, the power supply control system being provided in the vehicle main body.
CN202122564370.6U 2021-10-22 2021-10-22 Key circuit, power control system and vehicle Active CN216672981U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202122564370.6U CN216672981U (en) 2021-10-22 2021-10-22 Key circuit, power control system and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202122564370.6U CN216672981U (en) 2021-10-22 2021-10-22 Key circuit, power control system and vehicle

Publications (1)

Publication Number Publication Date
CN216672981U true CN216672981U (en) 2022-06-03

Family

ID=81765467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202122564370.6U Active CN216672981U (en) 2021-10-22 2021-10-22 Key circuit, power control system and vehicle

Country Status (1)

Country Link
CN (1) CN216672981U (en)

Similar Documents

Publication Publication Date Title
US11579674B2 (en) Energy conserving (stand-by mode) power saving design for battery chargers and power supplies with a control signal
US8810232B2 (en) Momentarily enabled electronic device
US20120153747A1 (en) Usb charger, its switch control system and method, and a usb interface charger for a laptop
WO2021223139A1 (en) Power on/off control device and electronic equipment
EP4027160B1 (en) Universal plug status detection circuit
CN110008069B (en) Power supply switching control circuit and control method
US8897044B2 (en) Electronic device having complete power-saving mechanism
US9705323B2 (en) Power supply system and power control circuit thereof
CN216672981U (en) Key circuit, power control system and vehicle
CN112600283B (en) Startup and shutdown circuit
CN107733413B (en) Intelligent switch circuit and intelligent terminal of pre-installation battery system
CN103107577B (en) Battery management circuit and terminal
CN113282159A (en) Switch control system for zero current standby of embedded controller
CN114567308B (en) Switch circuit, control method thereof and electronic equipment
CN218383715U (en) Low-power consumption self-locking control circuit
CN219018791U (en) Time-sharing multiplexing circuit for key detection and level detection
EP3985828B1 (en) Battery turn on circuit and lithium battery
WO2024067031A1 (en) Power switching circuit and electronic device
CN117791785A (en) Power path management circuit, communication device, and signal interference instrument
KR20230110107A (en) Electric Vehicle Communication Controller Device
CN117713538A (en) Low-power-consumption switching circuit and electric device with motor
CN117792013A (en) Zero standby circuit and driving chip
CN110837287A (en) Restart circuit
CN117293962A (en) Intelligent power switch chip, power management system and electronic equipment
CN110711285A (en) Infusion pump control device, infusion pump control method and infusion pump

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant