CN106095040A - A kind of key control circuit and electronic product - Google Patents
A kind of key control circuit and electronic product Download PDFInfo
- Publication number
- CN106095040A CN106095040A CN201610396128.3A CN201610396128A CN106095040A CN 106095040 A CN106095040 A CN 106095040A CN 201610396128 A CN201610396128 A CN 201610396128A CN 106095040 A CN106095040 A CN 106095040A
- Authority
- CN
- China
- Prior art keywords
- chip
- button
- main control
- resistor
- power management
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/24—Resetting means
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stroboscope Apparatuses (AREA)
Abstract
本发明公开了一种按键控制电路及电子产品,电路包括直流电源、按键、电源管理芯片、主控芯片、复位电路;按键的一端与直流电源连接,另一端与电源管理芯片的使能端连接;电源管理芯片为主控芯片供电;主控芯片与电源管理芯片的使能端连接,按键的另一端连接主控芯片;复位电路包括充电电阻、充电电容、开关管;直流电源通过按键连接充电电阻的一端,充电电阻的另一端通过充电电容接地;充电电容与充电电阻的连接节点与开关管的控制端连接,开关管的开关通路一端接地,开关管的开关通路的另一端连接主控芯片的复位引脚,并通过限流电阻连接所述直流电源。本发明通过一个按键实现了主控芯片的开机、关机以及复位功能,便于操作,成本较低。
The invention discloses a button control circuit and an electronic product. The circuit includes a DC power supply, a button, a power management chip, a main control chip, and a reset circuit; one end of the button is connected to the DC power supply, and the other end is connected to the enabling end of the power management chip. ;The power management chip supplies power to the main control chip; the main control chip is connected to the enabling end of the power management chip, and the other end of the button is connected to the main control chip; the reset circuit includes a charging resistor, a charging capacitor, and a switch tube; the DC power supply is charged through the button connection One end of the resistor and the other end of the charging resistor are grounded through the charging capacitor; the connection node between the charging capacitor and the charging resistor is connected to the control terminal of the switching tube, one end of the switching path of the switching tube is grounded, and the other end of the switching path of the switching tube is connected to the main control chip the reset pin, and connect the DC power supply through a current limiting resistor. The present invention realizes the functions of starting, shutting down and resetting the main control chip through a button, which is convenient for operation and low in cost.
Description
技术领域technical field
本发明属于硬件电路技术领域,具体地说,是涉及一种按键控制电路以及采用所述按键控制电路设计的电子产品。The invention belongs to the technical field of hardware circuits, and in particular relates to a key control circuit and electronic products designed using the key control circuit.
背景技术Background technique
市场上虚拟现实头盔的形式多种多样,设计的形式也各有特色。There are various forms of virtual reality helmets on the market, and the forms of design also have their own characteristics.
目前虚拟现实头盔为了实现开机、关机以及复位功能,设计的按键较多,导致成本较高。At present, virtual reality helmets are designed with more buttons in order to realize the power-on, power-off and reset functions, resulting in high cost.
发明内容Contents of the invention
本发明提供了一种按键控制电路,通过一个按键即可实现开机、关机和复位功能,降低了成本。The invention provides a key control circuit, which can realize the functions of starting, shutting down and resetting through one key, thereby reducing the cost.
为解决上述技术问题,本发明采用以下技术方案予以实现:In order to solve the above-mentioned technical problems, the present invention adopts the following technical solutions to achieve:
一种按键控制电路,包括直流电源、按键、电源管理芯片、主控芯片、复位电路;所述按键的一端与直流电源连接,另一端与电源管理芯片的使能端连接;所述电源管理芯片为主控芯片供电;所述主控芯片与电源管理芯片的使能端连接,所述按键的另一端连接主控芯片;所述复位电路包括充电电阻、充电电容、开关管;所述直流电源通过按键连接充电电阻的一端,所述充电电阻的另一端通过充电电容接地;所述充电电容与充电电阻的连接节点与开关管的控制端连接,所述开关管的开关通路一端接地,所述开关管的开关通路的另一端通过限流电阻连接所述直流电源,所述开关管的开关通路的另一端连接主控芯片的复位引脚。A button control circuit, including a DC power supply, a button, a power management chip, a main control chip, and a reset circuit; one end of the button is connected to the DC power supply, and the other end is connected to the enabling end of the power management chip; the power management chip power supply for the main control chip; the main control chip is connected to the enabling end of the power management chip, and the other end of the button is connected to the main control chip; the reset circuit includes a charging resistor, a charging capacitor, and a switch tube; the DC power supply Connect one end of the charging resistor through a button, and the other end of the charging resistor is grounded through the charging capacitor; the connection node between the charging capacitor and the charging resistor is connected to the control terminal of the switching tube, and one end of the switching channel of the switching tube is grounded, and the The other end of the switching path of the switching tube is connected to the DC power supply through a current limiting resistor, and the other end of the switching path of the switching tube is connected to the reset pin of the main control chip.
进一步的,所述按键控制电路还包括蓝牙芯片,所述主控芯片控制蓝牙芯片的运行。Further, the key control circuit also includes a Bluetooth chip, and the main control chip controls the operation of the Bluetooth chip.
又进一步的,所述电源管理芯片为LDO芯片。Still further, the power management chip is an LDO chip.
再进一步的,所述按键通过第一二极管与电源管理芯片的使能端连接,所述主控芯片通过第二二极管与电源管理芯片的使能端连接,两个二极管的阴极连接。Still further, the button is connected to the enabling end of the power management chip through the first diode, the main control chip is connected to the enabling end of the power management chip through the second diode, and the cathodes of the two diodes are connected .
更进一步的,所述电源管理芯片的使能端通过下拉电阻接地,所述电源管理芯片的使能端通过电容接地。Furthermore, the enabling end of the power management chip is grounded through a pull-down resistor, and the enabling end of the power management chip is grounded through a capacitor.
优选的,所述开关管为NMOS管,所述NMOS管的栅极连接所述充电电容与充电电阻的连接节点,所述NMOS管的源极接地,所述NMOS管的漏极通过所述限流电阻连接所述直流电源,所述NMOS管的漏极连接所述主控芯片的复位引脚。Preferably, the switch tube is an NMOS tube, the gate of the NMOS tube is connected to the connection node between the charging capacitor and the charging resistor, the source of the NMOS tube is grounded, and the drain of the NMOS tube passes through the limiting The flow resistor is connected to the DC power supply, and the drain of the NMOS transistor is connected to the reset pin of the main control chip.
优选的,所述开关管为NPN三极管,所述NPN三极管的基极连接所述充电电容与充电电阻的连接节点,所述NPN三极管的发射极接地,所述NPN三极管的集电极通过所述限流电阻连接所述直流电源,所述NPN三极管的集电极连接所述主控芯片的复位引脚。Preferably, the switching tube is an NPN transistor, the base of the NPN transistor is connected to the connection node between the charging capacitor and the charging resistor, the emitter of the NPN transistor is grounded, and the collector of the NPN transistor passes through the limiting The flow resistor is connected to the DC power supply, and the collector of the NPN transistor is connected to the reset pin of the main control chip.
进一步的,所述按键控制电路还包括静电防护电路,所述按键与充电电阻的连接节点通过所述静电防护电路接地。Further, the key control circuit further includes an electrostatic protection circuit, and the connection node between the key and the charging resistor is grounded through the electrostatic protection circuit.
又进一步的,所述复位电路还包括放电电路,所述放电电路包括放电二极管和放电电阻,所述放电二极管的阳极连接所述充电电容与充电电阻的连接节点,所述二极管的阴极通过所述放电电阻接地。Still further, the reset circuit further includes a discharge circuit, the discharge circuit includes a discharge diode and a discharge resistor, the anode of the discharge diode is connected to the connection node between the charging capacitor and the charging resistor, and the cathode of the diode passes through the The discharge resistor is grounded.
基于上述按键控制电路的结构设计,本发明还提出了一种采用所述按键控制电路设计的电子产品,包括所述的按键控制电路,所述按键控制电路包括直流电源、按键、电源管理芯片、主控芯片、复位电路;所述按键的一端与直流电源连接,另一端与电源管理芯片的使能端连接;所述电源管理芯片为主控芯片供电;所述主控芯片与电源管理芯片的使能端连接,所述按键的另一端连接主控芯片;所述复位电路包括充电电阻、充电电容、开关管;所述直流电源通过按键连接充电电阻的一端,所述充电电阻的另一端通过充电电容接地;所述充电电容与充电电阻的连接节点与开关管的控制端连接,所述开关管的开关通路一端接地,所述开关管的开关通路的另一端通过限流电阻连接所述直流电源,所述开关管的开关通路的另一端连接主控芯片的复位引脚。Based on the structural design of the above key control circuit, the present invention also proposes an electronic product designed using the key control circuit, including the key control circuit. The key control circuit includes a DC power supply, a key, a power management chip, Main control chip and reset circuit; one end of the button is connected to the DC power supply, and the other end is connected to the enabling end of the power management chip; the power management chip supplies power to the main control chip; the connection between the main control chip and the power management chip The enable end is connected, the other end of the button is connected to the main control chip; the reset circuit includes a charging resistor, a charging capacitor, and a switch tube; the DC power supply is connected to one end of the charging resistor through a button, and the other end of the charging resistor is connected to the The charging capacitor is grounded; the connection node between the charging capacitor and the charging resistor is connected to the control terminal of the switch tube, one end of the switch path of the switch tube is grounded, and the other end of the switch path of the switch tube is connected to the DC through a current limiting resistor. The other end of the switching path of the switching tube is connected to the reset pin of the main control chip.
与现有技术相比,本发明的优点和积极效果是:本发明的按键控制电路及电子产品,通过一个按键实现了主控芯片的开机、关机以及复位功能,控制方式比较简单,便于用户操作,使用方便,提高了用户的使用体验;由于按键数量少,整个电路采用的元器件较少,电路结构比较简单,易于实现,成本较低,具有较强的竞争力,便于推广应用。Compared with the prior art, the advantages and positive effects of the present invention are: the button control circuit and electronic products of the present invention realize the power-on, shutdown and reset functions of the main control chip through a button, and the control method is relatively simple, which is convenient for users to operate , easy to use, and improve user experience; due to the small number of buttons, the entire circuit uses fewer components, the circuit structure is relatively simple, easy to implement, low cost, has strong competitiveness, and is easy to popularize and apply.
结合附图阅读本发明实施方式的详细描述后,本发明的其他特点和优点将变得更加清楚。Other features and advantages of the present invention will become more apparent after reading the detailed description of the embodiments of the present invention in conjunction with the accompanying drawings.
附图说明Description of drawings
图1是本发明所提出的按键控制电路的一个实施例的电路结构图;Fig. 1 is the circuit structural diagram of an embodiment of the button control circuit proposed by the present invention;
图2是本发明所提出的按键控制电路的一个实施例的电路原理图;Fig. 2 is the circuit schematic diagram of an embodiment of the button control circuit proposed by the present invention;
图3是本发明所提出的按键控制电路的另一个实施例的电路原理图。FIG. 3 is a circuit schematic diagram of another embodiment of the key control circuit proposed by the present invention.
具体实施方式detailed description
下面结合附图对本发明的具体实施方式作进一步详细地说明。The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings.
本实施例的按键控制电路主要包括直流电源PWR,按键U1、电源管理芯片U7、主控芯片MCU、复位电路等,参见图1、图2所示;按键U1的一端连接直流电源PWR,另一端连接电源管理芯片U7的使能端EN;电源管理芯片U7的电源输出端VOUT与主控芯片连接,输出电源VCC为主控芯片MCU供电,主控芯片MCU与电源管理芯片U7的使能端EN连接;按键U1的另一端与主控芯片MCU的检测引脚连接,主控芯片MCU检测按键U1的开合状态;复位电路主要包括充电电阻R3、充电电容C2、开关管Q5等,直流电源PWR通过按键U1连接充电电阻R3的一端,充电电阻R3的另一端连接充电电容C2的一端,充电电容C2的另一端接地,充电电容C2与充电电阻R3的连接节点与开关管Q5的控制端连接,开关管Q5的开关通路的一端接地,开关管Q5的开关通路的另一端通过限流电阻R4连接直流电源PWR,开关管Q5的开关通路的另一端连接主控芯片的复位引脚, 向主控芯片的复位引脚发送复位信号。The button control circuit of this embodiment mainly includes a DC power supply PWR, a button U1, a power management chip U7, a main control chip MCU, a reset circuit, etc., as shown in Figures 1 and 2; one end of the button U1 is connected to the DC power supply PWR, and the other end Connect the enabling terminal EN of the power management chip U7; the power output terminal VOUT of the power management chip U7 is connected to the main control chip, the output power VCC supplies power to the main control chip MCU, and the main control chip MCU and the enabling terminal EN of the power management chip U7 Connection; the other end of the button U1 is connected to the detection pin of the main control chip MCU, and the main control chip MCU detects the opening and closing state of the button U1; the reset circuit mainly includes the charging resistor R3, the charging capacitor C2, the switch tube Q5, etc., and the DC power supply PWR Connect one end of the charging resistor R3 through the button U1, the other end of the charging resistor R3 is connected to one end of the charging capacitor C2, the other end of the charging capacitor C2 is grounded, the connection node of the charging capacitor C2 and the charging resistor R3 is connected to the control terminal of the switch tube Q5, One end of the switching path of the switching tube Q5 is grounded, the other end of the switching path of the switching tube Q5 is connected to the DC power supply PWR through the current limiting resistor R4, and the other end of the switching path of the switching tube Q5 is connected to the reset pin of the main control chip, and the other end of the switching path of the switching tube Q5 is connected to the reset pin of the main control chip. The reset pin of the chip sends a reset signal.
在主控芯片关机状态下,若需开机,则按下按键U1,直流电源PWR提供的高电平通过按键U1传输至电源管理芯片U7的使能端EN,使能电源管理芯片U7,电源管理芯片U7运行,电源输出端VOUT输出电源VCC给主控芯片MCU供电,主控芯片MCU上电运行;主控芯片MCU上电后,输出高电平至电源管理芯片U7的使能端EN;此时,即使释放按键U1,也能保证电源管理芯片U7的使能端EN为高电平,保证电源管理芯片U7可以正常工作,为主控芯片MCU持续供电,实现主控芯片MCU开机功能。When the main control chip is turned off, if you need to turn it on, press the button U1, and the high level provided by the DC power supply PWR is transmitted to the enable terminal EN of the power management chip U7 through the button U1, enabling the power management chip U7, power management When the chip U7 is running, the power supply output terminal VOUT outputs the power supply VCC to supply power to the main control chip MCU, and the main control chip MCU is powered on to run; after the main control chip MCU is powered on, it outputs a high level to the enable terminal EN of the power management chip U7; At this time, even if the button U1 is released, the enable terminal EN of the power management chip U7 can be guaranteed to be at a high level, so that the power management chip U7 can work normally, and the main control chip MCU can continue to supply power to realize the power-on function of the main control chip MCU.
主控芯片开机后,通过检测其检测引脚的电平实时检测按键U1的开合状态。After the main control chip is turned on, it detects the opening and closing state of the button U1 in real time by detecting the level of its detection pin.
在主控芯片开机后,如果按键U1处于断开状态,开关管Q5的控制端为低电平,由于开关管Q5为高电平导通,因此开关管Q5关断,开关管Q5的开关通路的另一端为高电平,此时主控芯片的复位引脚为高电平,主控芯片正常工作(不复位)。After the main control chip is turned on, if the button U1 is in the off state, the control terminal of the switch tube Q5 is at a low level, and since the switch tube Q5 is turned on at a high level, the switch tube Q5 is turned off, and the switch path of the switch tube Q5 The other end of the pin is high level, at this time the reset pin of the main control chip is high level, and the main control chip works normally (no reset).
在主控芯片开机后,若需关机,则可以长按按键U1。当按键U1再次按下且按下时间达到设定关机时间(如5秒)时,即主控芯片的检测引脚电位由低电平跳到高电平,且高电平信号持续一段时间(达到设定关机时间),则主控芯片在按键U1释放后,输出低电平的关机信号至电源管理芯片U7的使能端EN,电源管理芯片U7关闭,停止输出电源VCC,主控芯片掉电关机,实现关机功能。After the main control chip is turned on, if you need to turn it off, you can press and hold the button U1. When the button U1 is pressed again and the pressing time reaches the set shutdown time (such as 5 seconds), the potential of the detection pin of the main control chip jumps from low level to high level, and the high level signal lasts for a period of time ( reaches the set shutdown time), the main control chip outputs a low-level shutdown signal to the enable terminal EN of the power management chip U7 after the button U1 is released, the power management chip U7 turns off, stops outputting the power supply VCC, and the main control chip turns off. Electric shutdown, realize the shutdown function.
在主控芯片开机后,若需复位,则按下按键U1,直流电源PWR通过充电电阻R3给充电电容C2充电,充电电容C2两端的电压逐渐升高,当满足开关管Q5的导通条件时,开关管Q5导通,直流电源PWR提供的电流通过限流电阻R4、开关管Q5的开关通路流入地,开关管Q5的开关通路的另一端被拉为低电平,向主控芯片的复位引脚发送低电平的复位信号,主控芯片的复位引脚被拉为低电平,主控芯片复位,实现主控芯片的复位功能,防止主控芯片软件跑飞。After the main control chip is turned on, if you need to reset, press the button U1, the DC power supply PWR will charge the charging capacitor C2 through the charging resistor R3, and the voltage at both ends of the charging capacitor C2 will gradually increase. When the conduction condition of the switch tube Q5 is met , the switching tube Q5 is turned on, the current provided by the DC power supply PWR flows into the ground through the current limiting resistor R4 and the switching path of the switching tube Q5, and the other end of the switching path of the switching tube Q5 is pulled to a low level, and resets the main control chip. The pin sends a low-level reset signal, the reset pin of the main control chip is pulled to low level, and the main control chip is reset to realize the reset function of the main control chip and prevent the software of the main control chip from running away.
通过调整充电电阻R3和充电电容C2的值可以灵活地调整开关管Q5的导通时间,从而调整硬件复位时间,即按键U1的按压时间。如按键U1按下闭合10秒,开关管Q5导通,主控芯片复位。By adjusting the values of the charging resistor R3 and the charging capacitor C2, the conduction time of the switch tube Q5 can be flexibly adjusted, thereby adjusting the hardware reset time, that is, the pressing time of the button U1. If the button U1 is pressed and closed for 10 seconds, the switch tube Q5 is turned on, and the main control chip is reset.
当然,通过调整充电电阻R3和充电电容C2的值调整复位时间,使得复位时间比设定关机时间要长,避免误操作。Of course, the reset time is adjusted by adjusting the values of the charging resistor R3 and the charging capacitor C2, so that the reset time is longer than the set shutdown time to avoid misoperation.
本实施例的按键控制电路,通过一个按键U1实现了主控芯片的开机、关机以及复位功能,控制方式比较简单,便于用户操作,使用方便,提高了用户的使用体验;由于按键数量少,整个电路采用的元器件较少,电路结构比较简单,易于实现,成本较低,具有较强的竞争力,便于推广应用。The key control circuit of this embodiment realizes the power-on, power-off and reset functions of the main control chip through a key U1. The circuit adopts fewer components, has a relatively simple circuit structure, is easy to realize, has low cost, has strong competitiveness, and is convenient for popularization and application.
在按键控制电路中还设置有蓝牙芯片BT,主控单元与蓝牙芯片BT连接,控制蓝牙芯片的运行。A bluetooth chip BT is also arranged in the button control circuit, and the main control unit is connected with the bluetooth chip BT to control the operation of the bluetooth chip.
在主控芯片开机后,单击(或短按)按键U1,即主控芯片的检测引脚电位由低电平跳到高电平,则主控芯片通过串口UART向蓝牙芯片发送配对启动信号,蓝牙芯片接收到该信号后,启动配对功能,实现蓝牙芯片与外界设备的配对,如手机、PAD等。After the main control chip is turned on, click (or short press) the button U1, that is, the detection pin potential of the main control chip jumps from low level to high level, then the main control chip sends a pairing start signal to the Bluetooth chip through the serial port UART After receiving the signal, the Bluetooth chip starts the pairing function to realize the pairing between the Bluetooth chip and external devices, such as mobile phones and PADs.
例如,在主控芯片上电后、蓝牙芯片与手机配对后,如果此时手机来电话,可以单击按键U1,主控芯片在检测到该电平变化后,发送控制命令给蓝牙芯片,通过蓝牙芯片接通电话,实现接通电话的功能。For example, after the main control chip is powered on and the Bluetooth chip is paired with the mobile phone, if the mobile phone calls at this time, you can click the button U1, and the main control chip will send a control command to the Bluetooth chip after detecting the level change. The bluetooth chip connects to the phone and realizes the function of connecting to the phone.
通过在按键控制电路中设置蓝牙芯片,丰富了该电路的功能,扩大了电路的应用范围,提高了市场竞争力。By setting the bluetooth chip in the button control circuit, the function of the circuit is enriched, the application range of the circuit is expanded, and the market competitiveness is improved.
在本实施例中,电源管理芯片U7优选为LDO芯片,LDO芯片功耗低,性能稳定,能够为主控芯片提供所需的电源。In this embodiment, the power management chip U7 is preferably an LDO chip, which has low power consumption and stable performance, and can provide the required power for the main control chip.
为了保证电流的正确流向,防止倒灌,提高电路的稳定性和安全性,按键U1通过第一二极管D2与电源管理芯片U7的使能端EN连接,主控芯片通过第二二极管D3与电源管理芯片U7的使能端EN连接。即,第一二极管D2和第二二极管D3的阴极连接,且连接点与电源管理芯片U7的使能端EN连接,第一二极管D2的阳极连接按键U1,第二二极管D3的阳极连接主控单元;从而避免直流电源PWR输出的电能倒灌至主控芯片以及主控芯片输出的电能倒灌至直流电源PWR。In order to ensure the correct flow of current, prevent backflow, and improve the stability and safety of the circuit, the button U1 is connected to the enable terminal EN of the power management chip U7 through the first diode D2, and the main control chip is connected through the second diode D3 It is connected with the enable end EN of the power management chip U7. That is, the cathodes of the first diode D2 and the second diode D3 are connected, and the connection point is connected to the enable terminal EN of the power management chip U7, the anode of the first diode D2 is connected to the key U1, and the second diode The anode of the tube D3 is connected to the main control unit; thereby preventing the electric energy output by the DC power supply PWR from being poured back into the main control chip and the electric energy output by the main control chip from being poured back into the DC power supply PWR.
电源管理芯片U7的使能端EN通过下拉电阻R5接地,在使能端EN没有被拉高时保持低电平,保证使能端EN电位稳定,避免反复开启电源管理芯片U7,保证电源管理芯片U7的状态稳定。The enable terminal EN of the power management chip U7 is grounded through the pull-down resistor R5, and keeps a low level when the enable terminal EN is not pulled high to ensure that the potential of the enable terminal EN is stable, avoid repeatedly turning on the power management chip U7, and ensure that the power management chip The state of U7 is stable.
电源管理芯片U7的使能端EN通过电容C79接地,电容C79具有延时作用。在按下按键U1启动主控芯片时,直流电源PWR提供的电能通过按键U1、第一二极管D2传输至电源管理芯片U7的使能端,给电容C79充电,电容C79两端的电压逐渐升高,使能电源管理芯片U7。The enable terminal EN of the power management chip U7 is grounded through the capacitor C79, and the capacitor C79 has a delay function. When the key U1 is pressed to start the main control chip, the power provided by the DC power supply PWR is transmitted to the enable terminal of the power management chip U7 through the key U1 and the first diode D2, and charges the capacitor C79, and the voltage at both ends of the capacitor C79 gradually rises High, enable the power management chip U7.
当由于意外因素导致主控芯片向电源管理芯片U7的使能端EN输送低电平时,电容C79通过下拉电阻R5放电,电容C79两端的电压逐渐降低,使能端EN的电压逐渐降低,电源管理芯片U7还可以保持正常工作一段时间,在这段时间内主控芯片可能恢复向电源管理芯片U7的使能端EN输送高电平,从而可以避免由于主控芯片短暂的低电压输出波动导致的电源管理芯片U7关机,提高了电源管理芯片U7的稳定性,保证了主控芯片的供电稳定性。When the main control chip sends a low level to the enable terminal EN of the power management chip U7 due to accidental factors, the capacitor C79 is discharged through the pull-down resistor R5, the voltage at both ends of the capacitor C79 gradually decreases, and the voltage at the enable terminal EN gradually decreases. The chip U7 can also keep working normally for a period of time. During this period, the main control chip may resume sending high level to the enable terminal EN of the power management chip U7, so as to avoid the short-term low voltage output fluctuation of the main control chip. The power management chip U7 is turned off, which improves the stability of the power management chip U7 and ensures the power supply stability of the main control chip.
开关管Q5为高电平导通,在本实施例中,开关管Q5优选为NMOS管,NMOS管的栅极连接充电电容C2与充电电阻R3的连接节点,NMOS管的源极接地, NMOS管的漏极通过限流电阻R4连接直流电源PWR,NMOS管的漏极连接主控芯片的复位引脚,参见图3所示。The switching tube Q5 is turned on at a high level. In this embodiment, the switching tube Q5 is preferably an NMOS tube. The gate of the NMOS tube is connected to the connection node between the charging capacitor C2 and the charging resistor R3, and the source of the NMOS tube is grounded. The drain of the NMOS transistor is connected to the DC power supply PWR through the current limiting resistor R4, and the drain of the NMOS transistor is connected to the reset pin of the main control chip, as shown in FIG. 3 .
作为本实施例的另一种优选设计方案,开关管Q5选为NPN三极管,NPN三极管的基极连接充电电容C2与充电电阻R3的连接节点,NPN三极管的发射极接地,NPN三极管的集电极通过限流电阻R4连接直流电源PWR,NPN三极管的集电极连接主控芯片的复位引脚。As another preferred design scheme of this embodiment, the switch tube Q5 is selected as an NPN transistor, the base of the NPN transistor is connected to the connection node between the charging capacitor C2 and the charging resistor R3, the emitter of the NPN transistor is grounded, and the collector of the NPN transistor passes through The current limiting resistor R4 is connected to the DC power supply PWR, and the collector of the NPN transistor is connected to the reset pin of the main control chip.
本实施例的复位电路通过充电电阻R3为充电电容C2充电,通过充电电容C2两端的电压控制开关管Q5的通断,从而控制复位信号的电平高低,进而控制主控芯片的复位与否,控制方式比较简单,便于使用;而且采用一个开关管(NMOS管或NPN三极管),电路结构简单,易于实现,成本低,降低了复位电路的成本。The reset circuit of this embodiment charges the charging capacitor C2 through the charging resistor R3, and controls the on-off of the switch tube Q5 through the voltage at both ends of the charging capacitor C2, thereby controlling the level of the reset signal, and then controlling whether the main control chip is reset or not. The control method is relatively simple and easy to use; and a switch tube (NMOS tube or NPN transistor) is used, the circuit structure is simple, easy to implement, low cost, and reduces the cost of the reset circuit.
为了放掉充电电容C2上的电荷,在按键控制电路中还设置有放电电路,充电电容C2上的电荷通过放电电路放掉。放电电路主要包括二极管D1和放电电阻R1,二极管D1的阳极连接充电电容C2与充电电阻R3的连接节点,二极管D1的阴极通过放电电阻R1接地。In order to release the charge on the charging capacitor C2, a discharge circuit is also provided in the button control circuit, and the charge on the charging capacitor C2 is released through the discharge circuit. The discharge circuit mainly includes a diode D1 and a discharge resistor R1. The anode of the diode D1 is connected to the connection node between the charging capacitor C2 and the charging resistor R3, and the cathode of the diode D1 is grounded through the discharge resistor R1.
复位后,释放按键U1,通过二极管D1、放电电阻R1将充电电容C2内的电荷放掉;充电电容C2两端的电压逐渐降低,开关管Q5控制端的电压逐渐降低,当不满足开关管Q5的导通条件时,开关管Q5关断。After reset, release the button U1, discharge the charge in the charging capacitor C2 through the diode D1 and the discharge resistor R1; the voltage at both ends of the charging capacitor C2 gradually decreases, and the voltage at the control terminal of the switching tube Q5 gradually decreases. When the condition is on, the switch tube Q5 is turned off.
在按键控制电路中还设置有静电防护电路,按键U1与充电电阻R3的连接节点通过静电防护电路接地。An electrostatic protection circuit is also provided in the key control circuit, and the connection node between the key U1 and the charging resistor R3 is grounded through the electrostatic protection circuit.
静电防护电路用于进行静电防护,避免电路中的电子器件因静电受损,提高了整个电路的稳定性,延长了电子器件的使用寿命,降低了维修成本。The electrostatic protection circuit is used for electrostatic protection to prevent electronic devices in the circuit from being damaged by static electricity, improve the stability of the entire circuit, prolong the service life of electronic devices, and reduce maintenance costs.
在本实施例中,静电防护电路优选为ESD管,即一个阳极对接、反向串联的双二极管器件,结构简单、便于实现、成本较低。当然,静电防护电路也可以选择其他元器件搭建,并不限于上述举例。In this embodiment, the electrostatic protection circuit is preferably an ESD tube, that is, a double diode device with anodes connected in reverse series, which has a simple structure, is easy to implement, and has a low cost. Of course, the ESD protection circuit can also be built with other components, not limited to the above examples.
为了滤除高频杂波,在按键控制电路中还设置有滤波电容C1,直流电源PWR通过滤波电容C1接地,从而滤除直流电源输出的高频杂波,避免损坏复位电路中的其他元器件。In order to filter out high-frequency clutter, a filter capacitor C1 is also set in the button control circuit, and the DC power supply PWR is grounded through the filter capacitor C1, thereby filtering out the high-frequency clutter output by the DC power supply and avoiding damage to other components in the reset circuit .
基于上述按键控制电路的设计,本实施例还提出了一种电子产品,包括所述的按键控制电路。Based on the above design of the key control circuit, this embodiment also proposes an electronic product, including the key control circuit.
电子产品为需要通过一个按键实现开机、关机、硬件复位等功能的穿戴类电子设备,如虚拟现实头盔等。Electronic products are wearable electronic devices that need to be turned on, off, and hardware reset through a single button, such as virtual reality helmets.
通过在电子产品中设计所述的按键控制电路,通过一个按键即可实现主控芯片的开机、关机、复位功能,便于用户操作,提高了用户的使用体验;由于设计的按键数量少,不仅使得电子产品具有较好的外观,而且使得电路结构更加简单,易于实现,降低了成本,提高了电子产品的竞争力。By designing the button control circuit in the electronic product, the power-on, shutdown and reset functions of the main control chip can be realized by one button, which is convenient for users to operate and improves the user experience; due to the small number of designed buttons, not only makes The electronic product has a better appearance, and makes the circuit structure simpler and easier to implement, reduces the cost and improves the competitiveness of the electronic product.
当然,上述说明并非是对本发明的限制,本发明也并不仅限于上述举例,本技术领域的普通技术人员在本发明的实质范围内所做出的变化、改型、添加或替换,也应属于本发明的保护范围。Of course, the above descriptions are not intended to limit the present invention, and the present invention is not limited to the above examples. Changes, modifications, additions or substitutions made by those skilled in the art within the scope of the present invention shall also belong to protection scope of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610396128.3A CN106095040A (en) | 2016-06-07 | 2016-06-07 | A kind of key control circuit and electronic product |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610396128.3A CN106095040A (en) | 2016-06-07 | 2016-06-07 | A kind of key control circuit and electronic product |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106095040A true CN106095040A (en) | 2016-11-09 |
Family
ID=57448300
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610396128.3A Pending CN106095040A (en) | 2016-06-07 | 2016-06-07 | A kind of key control circuit and electronic product |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106095040A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108055029A (en) * | 2018-02-01 | 2018-05-18 | 青岛海信智能商用系统股份有限公司 | A kind of on-off circuit and the electronic equipment with the on-off circuit |
| CN108155788A (en) * | 2017-12-07 | 2018-06-12 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of adjustable energy supply startup control circuit of voltage threshold |
| CN109194317A (en) * | 2018-09-05 | 2019-01-11 | 潍坊歌尔电子有限公司 | A kind of reset circuit and wearable device |
| CN111694418A (en) * | 2020-04-24 | 2020-09-22 | 北京海林节能科技股份有限公司 | Power switch circuit for electronic product |
| CN113110156A (en) * | 2021-04-07 | 2021-07-13 | 深圳形天半导体有限公司 | LDO chip and intelligent wearable device |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62269413A (en) * | 1986-05-19 | 1987-11-21 | Nec Corp | Power-on reset circuit |
| CN201789480U (en) * | 2010-09-02 | 2011-04-06 | 中兴通讯股份有限公司 | Circuit reusing power on/off key for realizing reset function and portable mobile terminal |
| CN103699201A (en) * | 2013-12-31 | 2014-04-02 | 青岛歌尔声学科技有限公司 | Multifunctional power-on circuit and Bluetooth product |
| CN103809492A (en) * | 2014-02-25 | 2014-05-21 | 青岛歌尔声学科技有限公司 | One-key type multifunctional control circuit and wearable electronic product |
| CN204759081U (en) * | 2015-05-14 | 2015-11-11 | 深圳市三诺数字科技有限公司 | Switching on and shutting down system |
| CN205195679U (en) * | 2015-12-16 | 2016-04-27 | 歌尔声学股份有限公司 | Hardware reset circuit and electronic product |
-
2016
- 2016-06-07 CN CN201610396128.3A patent/CN106095040A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62269413A (en) * | 1986-05-19 | 1987-11-21 | Nec Corp | Power-on reset circuit |
| CN201789480U (en) * | 2010-09-02 | 2011-04-06 | 中兴通讯股份有限公司 | Circuit reusing power on/off key for realizing reset function and portable mobile terminal |
| CN103699201A (en) * | 2013-12-31 | 2014-04-02 | 青岛歌尔声学科技有限公司 | Multifunctional power-on circuit and Bluetooth product |
| CN103809492A (en) * | 2014-02-25 | 2014-05-21 | 青岛歌尔声学科技有限公司 | One-key type multifunctional control circuit and wearable electronic product |
| CN204759081U (en) * | 2015-05-14 | 2015-11-11 | 深圳市三诺数字科技有限公司 | Switching on and shutting down system |
| CN205195679U (en) * | 2015-12-16 | 2016-04-27 | 歌尔声学股份有限公司 | Hardware reset circuit and electronic product |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108155788A (en) * | 2017-12-07 | 2018-06-12 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of adjustable energy supply startup control circuit of voltage threshold |
| CN108055029A (en) * | 2018-02-01 | 2018-05-18 | 青岛海信智能商用系统股份有限公司 | A kind of on-off circuit and the electronic equipment with the on-off circuit |
| CN108055029B (en) * | 2018-02-01 | 2022-02-22 | 青岛海信智能商用系统股份有限公司 | Switching circuit and electronic equipment with same |
| CN109194317A (en) * | 2018-09-05 | 2019-01-11 | 潍坊歌尔电子有限公司 | A kind of reset circuit and wearable device |
| CN109194317B (en) * | 2018-09-05 | 2022-08-16 | 潍坊歌尔电子有限公司 | Reset circuit and wearable equipment |
| CN111694418A (en) * | 2020-04-24 | 2020-09-22 | 北京海林节能科技股份有限公司 | Power switch circuit for electronic product |
| CN113110156A (en) * | 2021-04-07 | 2021-07-13 | 深圳形天半导体有限公司 | LDO chip and intelligent wearable device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102981425B (en) | Startup and shutdown circuit | |
| CN103809492B (en) | One-touch multifunctional control circuit and wearing electronic product | |
| CN103647313B (en) | Charging control circuit | |
| CN106095040A (en) | A kind of key control circuit and electronic product | |
| CN206323290U (en) | Start-stop control circuit for DC‑DC converters and DC‑DC converters | |
| CN104202029A (en) | Single-button power-on and power-off circuit and head-wearing display device | |
| CN101673136A (en) | A power control device and a switching method | |
| CN103713724A (en) | Outage starting circuit with battery equipment and control method | |
| CN104850021B (en) | A kind of power on/off system | |
| CN204761290U (en) | Single bond the low voltage power supply ON -OFF control circuit | |
| CN101626227A (en) | Circuit for forced shutdown | |
| CN109004818A (en) | Intrinsically safe direct-current capacitive load slow starting device | |
| CN103713912B (en) | A kind of computer automatic boot circuit | |
| CN106786834B (en) | Control circuit of bluetooth equipment | |
| CN204810138U (en) | Terminal equipment's automation start shooting circuit and terminal equipment | |
| CN213027985U (en) | One-key switching circuit | |
| CN107733413B (en) | A smart switch circuit and smart terminal with pre-installed battery system | |
| CN210780130U (en) | Power-off control circuit | |
| CN210157162U (en) | Key combined circuit for realizing hardware reset | |
| CN205788085U (en) | A kind of key control circuit and electronic product | |
| CN207301968U (en) | A kind of single-button switching on and shutting down charging control circuit | |
| CN217307659U (en) | Button control circuit, smart door lock and smart door | |
| CN201497947U (en) | Power management circuit with embedded chip | |
| CN205142172U (en) | Switching on and shutting down circuit and ground control station | |
| CN112843491B (en) | Switching circuit, semiconductor laser treatment equipment and power supply switching control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20201013 Address after: 261031 north of Yuqing street, east of Dongming Road, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronic office building) Applicant after: GoerTek Optical Technology Co.,Ltd. Address before: International Exhibition Center of wealth 18 No. 266061 Shandong province Qingdao city Laoshan District Qinling Mountains Road No. 3 Building 4 layer 401-436 Applicant before: Qingdao GoerTek Technology Co.,Ltd. |
|
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20221212 Address after: No. 500 Songling Road, Laoshan District, Qingdao City, Shandong Province, 266100 Applicant after: GOERTEK TECHNOLOGY Co.,Ltd. Address before: 261031 north of Yuqing street, east of Dongming Road, high tech Zone, Weifang City, Shandong Province (Room 502, Geer electronics office building) Applicant before: GoerTek Optical Technology Co.,Ltd. |
|
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161109 |