CN217116063U - Key circuit, substrate and electronic equipment - Google Patents

Key circuit, substrate and electronic equipment Download PDF

Info

Publication number
CN217116063U
CN217116063U CN202220812365.4U CN202220812365U CN217116063U CN 217116063 U CN217116063 U CN 217116063U CN 202220812365 U CN202220812365 U CN 202220812365U CN 217116063 U CN217116063 U CN 217116063U
Authority
CN
China
Prior art keywords
control module
voltage
capacitor
power
key
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
CN202220812365.4U
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.)
Hangzhou Ezviz Network Co Ltd
Original Assignee
Hangzhou Ezviz Network 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 Hangzhou Ezviz Network Co Ltd filed Critical Hangzhou Ezviz Network Co Ltd
Priority to CN202220812365.4U priority Critical patent/CN217116063U/en
Application granted granted Critical
Publication of CN217116063U publication Critical patent/CN217116063U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Direct Current Feeding And Distribution (AREA)

Abstract

The embodiment of the utility model provides a keying circuit, base plate and electronic equipment, keying circuit include button module, function control module, power control module, and when the button of button module was closed, the control end of function control module, the control end of power control module all switched on with ground; under the condition that the control end of the function control module is not conducted with the ground, the output end of the function control module outputs function control voltage; under the condition that the control end of the function control module is conducted with the ground, the output end of the function control module outputs a low level; under the condition that the control end of the power control module is not conducted with the ground, the output end of the power control module outputs power control voltage, and the power control voltage charges the second capacitor; and under the condition that the control end of the power supply control module is conducted with the ground, a second capacitor in the power supply control module discharges, and the output end of the power supply control module outputs the voltage on the second capacitor. The control of the function and the power supply is realized through one key.

Description

Key circuit, substrate and electronic equipment
Technical Field
The utility model relates to an electronic circuit technical field especially relates to a key circuit, base plate and electronic equipment.
Background
IN the prior art, referring to fig. 1, two KEYs SW1 and SW2 are generally used for controlling functions and power respectively, a KEY _ IN transmits a function control signal to a control circuit, when SW1 is pressed, KEY _ IN is a low-level signal and releases the signal to be a high-level signal, SW1 can be used for signal detection of single-click, double-click, long-press and other operations, a power control signal is transmitted to the control circuit through EN _ CTRL, and when SW2 is pressed, EN _ CTRL is a low-level signal and can be used for controlling reset of a power system.
In the prior art, the control of the function and the power supply is realized through two keys, the two keys can occupy additional structural space, and the design concept that multiple controls conform to modern electronic products is realized through fewer keys, so that the important problem that how to realize the control of the function and the power supply through one key is solved.
SUMMERY OF THE UTILITY MODEL
An object of the embodiment of the utility model is to provide a keying circuit, base plate and electronic equipment to realize a button control function and power. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a key circuit, the circuit includes:
the key module comprises a key, a function control module and a power control module, wherein the first end of the key is grounded, the second end of the key is respectively connected with the control end of the function control module and the control end of the power control module, the power control module comprises a second capacitor, the input end of the function control module is connected with function control voltage, and the input end of the power control module is connected with power control voltage;
when the key of the key module is closed, the control end of the function control module is conducted with the ground, and the control end of the power control module is conducted with the ground;
the function control module is configured to output the function control voltage by the output end of the function control module under the condition that the control end of the function control module is not conducted with the ground; under the condition that the control end of the function control module is conducted with the ground, the output end of the function control module outputs a low level;
the power control module is configured to output the power control voltage at an output end of the power control module under the condition that a control end of the power control module is not conducted with the ground, and the power control voltage charges the second capacitor; and under the condition that the control end of the power supply control module is conducted with the ground, a second capacitor in the power supply control module discharges, and the output end of the power supply control module outputs the voltage on the second capacitor.
Optionally, in the key circuit of the embodiment of the present invention, the function control module includes:
the first resistor, the diode and the first capacitor;
the first end of the first resistor is connected with the input end of the function control module, and the second end of the first resistor is respectively connected with the output end of the function control module and the first end of the diode;
the second end of the diode is respectively connected with the first end of the first capacitor and the control end of the function control module;
the second end of the first capacitor is grounded.
Optionally, in the key circuit of the embodiment of the present invention, the power control module further includes:
the second resistor, the third resistor, the fourth resistor and the triode;
the first end of the second resistor is respectively connected with the control end of the power control module and the grid electrode of the triode, and the second end of the second resistor is respectively connected with the input end of the power control module and the first end of the triode;
the first end of the third resistor is connected with the second end of the triode, and the second end of the third resistor is respectively connected with the first end of the second capacitor, the first end of the fourth resistor and the output end of the function control module;
and the second end of the second capacitor is grounded, and the second end of the fourth resistor is grounded.
Optionally, in the key circuit of the embodiment of the present invention, the triode is replaced by an MOS transistor.
Optionally, in the utility model discloses in the key circuit, second electric capacity among the power control module is set up to, the second electric capacity is followed power control voltage begins, discharges and predetermines long back, the voltage of second electric capacity is less than and predetermines the voltage threshold value, wherein, power control voltage is greater than predetermine the voltage threshold value, predetermine the voltage threshold value and be electrical power generating system's opening voltage.
Optionally, in the key circuit of the embodiment of the present invention, the capacitance value of the second capacitor satisfies the resistance value of the fourth resistor: and the voltage of the second capacitor is smaller than a preset voltage threshold after the second capacitor discharges for a preset time from the power supply control voltage.
Optionally, in the key circuit of the embodiment of the present invention, the key is a tact switch.
Optionally, in the key circuit of the embodiment of the present invention, the function control voltage is not greater than the power control voltage.
In a second aspect, an embodiment of the present invention provides a key substrate, including: the key circuit is described above.
In a third aspect, an embodiment of the present invention provides an electronic device, including: the key substrate is provided.
The embodiment of the utility model provides a key circuit, base plate and electronic equipment, key circuit include button module, function control module, power control module, and button module includes the button, the first end ground connection of button, the second end of button is connected respectively the control end of function control module, the control end of power control module, power control module includes the second electric capacity, the input of function control module is connected function control voltage, the input of power control module is connected power control voltage; when the key of the key module is closed, the control end of the function control module is conducted with the ground, and the control end of the power supply control module is conducted with the ground; the function control module is configured to output the function control voltage by the output end of the function control module under the condition that the control end of the function control module is not conducted with the ground; under the condition that the control end of the function control module is conducted with the ground, the output end of the function control module outputs a low level; the power control module is configured to output the power control voltage at an output end of the power control module under the condition that a control end of the power control module is not conducted with the ground, and the power control voltage charges the second capacitor; and under the condition that the control end of the power supply control module is conducted with the ground, a second capacitor in the power supply control module discharges, and the output end of the power supply control module outputs the voltage on the second capacitor. The control of the functions and the power supply can be realized through one key, the number of the keys is reduced, the cost is reduced, and the structural space can be saved. Of course, it is not necessary for any particular product to achieve all of the above-described advantages at the same time.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the description below are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of a related art key circuit;
fig. 2 is a first schematic diagram of a key circuit according to an embodiment of the present invention;
fig. 3 is a second schematic diagram of the key circuit according to the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative efforts all belong to the protection scope of the present invention.
In order to solve the problem of realizing the control of the function and the power supply through one key, the utility model provides a key circuit, see fig. 2, the circuit includes:
the key module 11 comprises a key, a first end of the key is grounded, a second end of the key is respectively connected with a control end of the function control module 12 and a control end of the power control module 13, the power control module 13 comprises a second capacitor, an input end of the function control module 12 is connected with a function control voltage, and an input end of the power control module 13 is connected with a power control voltage;
when the key of the key module 11 is closed, the control terminal of the function control module 12 is connected to ground, and the control terminal of the power control module 13 is connected to ground;
the function control module 12 is configured to output the function control voltage from the output terminal of the function control module 12 when the control terminal of the function control module 12 is not conducted with the ground; when the control end of the function control module 12 is conducted with the ground, the output end of the function control module 12 outputs a low level;
the function control module 13 is configured to, when the control terminal of the power control module 13 is not conducted with the ground, output the power control voltage from the output terminal of the power control module 13, and the power control voltage charges the second capacitor; when the control end of the power control module 13 is connected to ground, the second capacitor in the power control module 13 discharges, and the output end of the power control module 13 outputs the voltage on the second capacitor.
The keys are used in electronic products, and are generally used for controlling functions and power supplies of the electronic products, for example, switching of pages on a display screen of the product is realized by clicking the keys, a certain function of selecting an item in a specific page is realized by double clicking the keys, or restarting the power supplies of the electronic products is realized by pressing the keys for a long time.
The function control module and the power supply control module output different voltage signals under two states of key closing and key releasing, and the control of the function control module and the power supply control module is realized through one key.
The embodiment of the utility model provides an in, realize the control to function and power through a button, still saved the structural space simultaneously.
Optionally, in the key circuit according to the embodiment of the present invention, referring to fig. 3, the function control module 12 includes:
the circuit comprises a first resistor R1, a diode D1 and a first capacitor C1;
a first end of the first resistor R1 is connected to the input terminal VCC of the function control module, and a second end of the first resistor R1 is connected to the output terminal KEY _ IN of the function control module and the first end of the diode D1, respectively;
a second end of the diode D1 is connected to a first end of the first capacitor C1 and a control end of the function control module, respectively;
the second end of the first capacitor C1 is grounded.
When the KEY SW is turned on, the control terminal of the function control module is connected to ground, and the output terminal KEY _ IN of the function control module outputs a low voltage. When the KEY SW is closed once, the output end KEY _ IN of the function control module outputs a low voltage once, when the KEY SW is closed twice continuously, the output end KEY _ IN of the function control module outputs a low voltage twice, the output end KEY _ IN of the function control module is connected with an IO (input/output) port of an MCU (micro control unit), and the MCU processes a received low level signal, thereby realizing function control corresponding to single-click or double-click of the KEY.
The embodiment of the utility model provides an in, click or the function control that double click corresponds of button is realized through function control module.
Optionally, in the key circuit of the embodiment of the present invention, referring to fig. 3, the power control module 13 further includes:
the circuit comprises a second resistor R2, a third resistor R3, a fourth resistor R4 and a triode Q1;
a first end of the second resistor R2 is connected to the control end of the power control module and the base of the transistor Q1, respectively, and a second end of the second resistor R2 is connected to the input Vsys of the power control module and the first end of the transistor Q1, respectively;
a first end of the third resistor R3 is connected to a second end of the transistor Q1, and a second end of the third resistor R3 is connected to a first end of the second capacitor C2, a first end of the fourth resistor R4, and an output end EN _ CTRL of the function control module, respectively;
the second end of the second capacitor C2 is grounded, and the second end of the fourth resistor R4 is grounded.
The output end EN _ CTRL of the function control module is connected with the enabling control end of the power supply chip in the power supply system and used for controlling the power supply chip to be turned off or turned on.
It can be understood that the transistor Q1 may be an NPN type or a PNP type, and may be selected according to actual situations, but a device connection manner of the corresponding adjustment circuit is required, and the alternative is still within the protection scope of the present application.
When the key SW is closed for a long time (pressed for a long time), the base of the triode Q1 is at a low level, the triode Q1 is cut off, the charge on the second capacitor C2 is discharged through the fourth resistor R4, the voltage of the output end EN _ CTRL of the function control module is gradually reduced, after the closing time of the key SW exceeds 10 seconds, the voltage of the output end EN _ CTRL of the function control module is not enough to turn on the power supply system, the output of the power supply system is cut off, and the electronic product is turned off.
When the key SW is loosened after being closed for a long time, the base electrode of the triode Q1 is at a high level, the triode Q1 is conducted, the input end Vsys of the power control module quickly charges the second capacitor C2 through the triode Q1 and the third resistor R3, the voltage of the output end EN _ CTRL of the function control module quickly rises, after the voltage of the output end EN _ CTRL of the function control module exceeds the starting voltage of the enabling control end of the power chip in the power system, the power system outputs again, and the electronic product is restarted.
In the embodiment of the utility model provides an in, power control module passes through the long-time closure of button (long pressing), realizes the function to the shutdown or the restart of electronic product.
Optionally, in the key circuit of the embodiment of the present invention, the triode is replaced by an MOS transistor.
In the embodiment of the utility model provides an in, accessible MOS pipe replacement triode for realize the function that corresponds, it can be understood, the MOS pipe can be P type MOS pipe also can be N type MOS pipe, specifically can select by oneself according to actual conditions, but needs corresponding adjusting circuit's device connected mode, and its alternative is still in the protection scope of this application.
The embodiment of the utility model provides an in, accessible MOS pipe replacement triode for realize a button to function control module and power control module's control.
Optionally, in the key circuit of the embodiment of the present invention, the second capacitor C2 in the power control module 13 is set to be, the second capacitor C2 is followed the power control voltage Vsys begins, discharges for a preset time, and then the voltage of the second capacitor C2 is smaller than a preset voltage threshold, wherein the power control voltage is greater than the preset voltage threshold, and the preset voltage threshold is the turn-on voltage of the power system.
The preset voltage threshold is the starting voltage of an enabling control end of a power supply chip in the power supply system and is used for controlling the power supply chip to be turned off or turned on. The voltage of the second capacitor C2 starts to discharge from the power supply control voltage Vsys, and after the discharge time reaches a preset duration, the voltage of the second capacitor C2 is smaller than a preset voltage threshold. For example, the preset voltage threshold is 3.3V, when the voltage of the second capacitor C2 is less than 3.3V, the power chip is turned off, and when the voltage of the second capacitor C2 is greater than 3.3V, the power chip is turned on.
The preset time period is the discharge time of the capacitor, for example, after the second capacitor C2 discharges for 1 second, the voltage of the second capacitor C2 is less than the preset voltage threshold of 3.3V.
In the embodiment of the present invention, after the second capacitor discharges for the preset time, the voltage of the second capacitor C2 is smaller than the preset voltage threshold, so as to realize the shutdown function of the electronic product.
Optionally, in the key circuit of the embodiment of the present invention, the capacitance of the second capacitor C2 and the resistance of the fourth resistor R4 satisfy: the second capacitor C2 starts from the power control voltage Vsys, and the voltage of the second capacitor C2 is smaller than a preset voltage threshold after discharging for a preset time.
By configuring the capacitance value of C2 and the resistance value of R4, the time required for turning off the electronic product by pressing a key for a long time can be adjusted. I.e. the power reset time.
In the embodiment of the present invention, the long press power reset time can be adjusted by configuring the capacitance of C2 and the resistance of R4.
Optionally, in the key circuit provided by the embodiment of the present invention, the key is a tact switch.
The tact switch is called a key switch, is disconnected by default, is closed after being pressed, and is disconnected immediately after being pressed.
In the embodiment of the utility model, realize through dabbing the switch, realize a button to the control of function control module and power control module.
Optionally, in the key circuit of the embodiment of the present invention, the function control voltage VCC is not greater than the power supply control voltage Vsys.
Vsys is the supply system voltage, VCC is the control system voltage, and VCC is usually derived from Vsys step-down, so functional control voltage VCC is not greater than the supply control voltage Vsys.
At function control voltage VCC not more than during power control voltage Vsys, diode D1 can realize function control voltage VCC and power control voltage Vsys's blocking effect, causes the harm to function control voltage VCC when preventing the power control voltage Vsys trouble.
In an embodiment of the present invention, by the function control voltage not being greater than the power supply control voltage, the power supply control voltage Vsys is prevented from causing damage to the function control voltage VCC.
The utility model provides a key substrate, including the aforesaid key circuit.
The utility model provides an electronic equipment, including the aforesaid button base plate.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A key circuit, comprising:
the key module comprises a key, a function control module and a power control module, wherein the first end of the key is grounded, the second end of the key is respectively connected with the control end of the function control module and the control end of the power control module, the power control module comprises a second capacitor, the input end of the function control module is connected with function control voltage, and the input end of the power control module is connected with power control voltage;
when the key of the key module is closed, the control end of the function control module is conducted with the ground, and the control end of the power supply control module is conducted with the ground;
the function control module is configured to output the function control voltage by the output end of the function control module under the condition that the control end of the function control module is not conducted with the ground; under the condition that the control end of the function control module is conducted with the ground, the output end of the function control module outputs a low level;
the power control module is configured to output the power control voltage at an output end of the power control module under the condition that a control end of the power control module is not conducted with the ground, and the power control voltage charges the second capacitor; and under the condition that the control end of the power supply control module is conducted with the ground, a second capacitor in the power supply control module discharges, and the output end of the power supply control module outputs the voltage on the second capacitor.
2. The circuit of claim 1, wherein the function control module comprises:
the first resistor, the diode and the first capacitor;
the first end of the first resistor is connected with the input end of the function control module, and the second end of the first resistor is respectively connected with the output end of the function control module and the first end of the diode;
the second end of the diode is respectively connected with the first end of the first capacitor and the control end of the function control module;
the second end of the first capacitor is grounded.
3. The circuit of claim 1, wherein the power control module further comprises:
the second resistor, the third resistor, the fourth resistor and the triode;
the first end of the second resistor is respectively connected with the control end of the power control module and the base electrode of the triode, and the second end of the second resistor is respectively connected with the input end of the power control module and the first end of the triode;
the first end of the third resistor is connected with the second end of the triode, and the second end of the third resistor is respectively connected with the first end of the second capacitor, the first end of the fourth resistor and the output end of the function control module;
and the second end of the second capacitor is grounded, and the second end of the fourth resistor is grounded.
4. The circuit of claim 3, wherein the transistor is replaced by a MOS transistor.
5. The circuit of claim 3, wherein a second capacitor in the power control module is set to have a voltage smaller than a preset voltage threshold after discharging from the power control voltage for a preset time period, wherein the power control voltage is greater than the preset voltage threshold, and the preset voltage threshold is a turn-on voltage of a power system.
6. The circuit of claim 5, wherein the capacitance value of the second capacitor and the resistance value of the fourth resistor satisfy: and the voltage of the second capacitor is smaller than a preset voltage threshold after the second capacitor discharges for a preset time from the power supply control voltage.
7. The circuit of claim 1, wherein the key is a tact switch.
8. The circuit of claim 1, wherein the function control voltage is not greater than the power supply control voltage.
9. A key substrate, comprising:
the key circuit of claims 1-8.
10. An electronic device, comprising: the key substrate of claim 9.
CN202220812365.4U 2022-04-07 2022-04-07 Key circuit, substrate and electronic equipment Active CN217116063U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202220812365.4U CN217116063U (en) 2022-04-07 2022-04-07 Key circuit, substrate and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202220812365.4U CN217116063U (en) 2022-04-07 2022-04-07 Key circuit, substrate and electronic equipment

Publications (1)

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

Family

ID=82579711

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202220812365.4U Active CN217116063U (en) 2022-04-07 2022-04-07 Key circuit, substrate and electronic equipment

Country Status (1)

Country Link
CN (1) CN217116063U (en)

Similar Documents

Publication Publication Date Title
US8624518B2 (en) Power management circuit and liquid crystal display using same
EP0008501A1 (en) Power supply circuit for a data processor
CN101414210A (en) Power supply adapter circuit
US8200997B2 (en) Computer wake up circuit includes a switch configured to prevent a control signals from an I/O controller being transmitted to south-bridge
CN101146289A (en) Apparatus and method for reset in mobile terminal
US5692203A (en) Power up/power down for electronic hardware which conserves electric power
US7639063B2 (en) Circuit for turning on motherboard
CN114389590A (en) Single-key startup and shutdown device, startup and shutdown method and remote restart method
CN217116063U (en) Key circuit, substrate and electronic equipment
CN210742886U (en) Startup and shutdown circuit
CN210578476U (en) Circuit for realizing two-bonding one function
CN218214614U (en) Control circuit and electronic equipment
CN217307659U (en) Key control circuit, intelligent door lock and intelligent door
CN216699971U (en) Key reset circuit and electronic equipment
CN113467333B (en) Startup control circuit and startup control method
CN213879789U (en) Switch holding circuit with high integration level
CN114325481A (en) Power-off duration detection method and device, electronic equipment and storage medium
US8001408B2 (en) Dual voltage switching circuit
CN110943720B (en) Automatic shutdown circuit of equipment and equipment
CN210157162U (en) Key combined circuit for realizing hardware reset
CN217010834U (en) Key multiplexing circuit and electronic equipment
CN106484064B (en) Power supply control circuit of singlechip system
CN100361049C (en) Computer system and method for clearing control circuit and environment set memory
CN111538370B (en) Power supply circuit and power supply method for RTC
CN221056922U (en) Hardware system for remote starting up of network

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant