CN205453657U - Startup/shutdown circuit - Google Patents
Startup/shutdown circuit Download PDFInfo
- Publication number
- CN205453657U CN205453657U CN201620194660.2U CN201620194660U CN205453657U CN 205453657 U CN205453657 U CN 205453657U CN 201620194660 U CN201620194660 U CN 201620194660U CN 205453657 U CN205453657 U CN 205453657U
- Authority
- CN
- China
- Prior art keywords
- circuit
- power supply
- input
- resistor
- switch
- 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.)
- Expired - Lifetime
Links
Landscapes
- Electronic Switches (AREA)
Abstract
本实用新型涉及一种开关机电路,解决了现有技术的不足,技术方案为:LDO电源电路的输出端与开关控制电路的输入端电连接,开关控制电路的第一输出端与逻辑或运算电路的第一输入端连接,开关控制电路的第一输出端还通过复位电路与开关机控制芯片的复位口电连接,开关控制电路的第二输出端与开关机控制芯片的一个输入输出口电连接,逻辑或运算电路的第二输入端与开关机控制芯片的一个输入输出口连接,逻辑或运算电路的输出单与DC-DC电源电路的使能端连接,DC-DC电源电路的输出端分别与复位电路的电源端和开关机控制芯片的电源口连接,指示灯电路的输入端和蜂鸣器电路的控制端均与开关机控制芯片的一个输入输出口电连接。
The utility model relates to a switching machine circuit, which solves the deficiencies in the prior art. The technical proposal is: the output end of the LDO power supply circuit is electrically connected with the input end of the switch control circuit, and the first output end of the switch control circuit is connected with the logical OR operation The first input end of the circuit is connected, the first output end of the switch control circuit is also electrically connected with the reset port of the switch machine control chip through the reset circuit, and the second output end of the switch control circuit is electrically connected with an input and output port of the switch machine control chip Connection, the second input terminal of the logic or operation circuit is connected with an input and output port of the switch machine control chip, the output of the logic or operation circuit is connected with the enabling terminal of the DC-DC power supply circuit, and the output terminal of the DC-DC power supply circuit They are respectively connected to the power supply end of the reset circuit and the power supply port of the switch control chip, and the input terminal of the indicator light circuit and the control terminal of the buzzer circuit are both electrically connected to an input and output port of the switch control chip.
Description
技术领域 technical field
本实用新型涉及一种医疗仪器,特别涉及一种开关机电路。 The utility model relates to a medical instrument, in particular to a switch circuit.
背景技术 Background technique
在很多电子产品中,一种常用的开关机方式是这样实现的,开关机控制芯片一直处于工作状态,持续不断的监测开关机按键的动作,当开关机按键触发时,执行开机或者关机命令。这种常用的开关机方式,对于一些便携式的电池供电设备来说,在设备处于关机状态时,由于开关机控制芯片仍在工作,不可避免的要消耗一部分电池的容量。这部分容量看似微不足道,但在实际应用中,却是影响电池续航时间的重要因素之一。同时,当大多数类似设备采用这种开关机方式时,开机检测所消耗的这部分能量,就不能忽视了。在提倡节能环保的今天,设计一种更优的开关机方法,不仅可以避免这种无谓的资源浪费,而且对于电池而言,也是非常有必要的。 In many electronic products, a commonly used switch mode is realized in this way. The switch control chip is always in the working state, continuously monitoring the action of the switch button, and when the switch button is triggered, the start or shutdown command is executed. This commonly used switch mode, for some portable battery-powered devices, when the device is in the off state, because the switch control chip is still working, it will inevitably consume a part of the battery capacity. This part of capacity may seem insignificant, but in practical applications, it is one of the important factors affecting battery life. At the same time, when most similar devices adopt this power-on/off method, the energy consumed by power-on detection cannot be ignored. Today, when energy conservation and environmental protection are advocated, designing a better switching method can not only avoid this unnecessary waste of resources, but also is very necessary for batteries.
实用新型内容 Utility model content
本实用新型的目的在于解决上述现有技术存在由于开关机控制芯片仍在工作,不可避免的要消耗一部分电池的容量的问题,提供了一种可以避免这种无谓的资源浪费开关机电路。 The purpose of the utility model is to solve the problem in the prior art that a part of the battery capacity is inevitably consumed because the switch control chip is still working, and to provide a switch circuit that can avoid this unnecessary waste of resources.
本实用新型解决其技术问题所采用的技术方案是:一种开关机电路,由设备电池供电,包括LDO电源电路、逻辑或运算电路、开关控制电路、复位电路、开关机控制芯片、DC-DC电源电路、指示灯电路和蜂鸣器电路,DC-DC电源电路的输入端与设备电池连接,LDO电源电路的输入端与设备电池连接,LDO电源电路的输出端与开关控制电路的输入端电连接,开关控制电路的第一输出端与逻辑或运算电路的第一输入端连接,开关控制电路的第一输出端还通过复位电路与开关机控制芯片的复位口电连接,开关控制电路的第二输出端与开关机控制芯片的一个输入输出口电连接,逻辑或运算电路的第二输入端与开关机控制芯片的一个输入输出口连接,逻辑或运算电路的输出单与DC-DC电源电路的使能端连接,DC-DC电源电路的输出端分别与复位电路的电源端和开关机控制芯片的电源口连接,所述指示灯电路的输入端和蜂鸣器电路的控制端均与所述开关机控制芯片的一个输入输出口电连接。本实用新型中可采用STM32F103C8T6或其他控制类芯片作为开关机控制芯片,LDO电源电路可采用XC6202P332PR芯片或类似LDO电源芯片,DC-DC电源电路可采用MP1584DC-DC电源芯片或类似DC-DC电源芯片,本实用新型使用的时候,只要开关控制电路或开关机控制芯片两者之一输出控制信号,DC-DC电源芯片就都能开始供电,通过这种形式可以在关机时对开关机控制芯片进行完全断电,而且本实用新型设置了复位电路,通过复位电路可以强行使开关机控制芯片进行复位,使用方法与现有开关电路几乎一样,但是开关机控制芯片能够完全断电,从而节省电能。 The technical solution adopted by the utility model to solve the technical problem is: a switch machine circuit, powered by the battery of the equipment, including LDO power supply circuit, logic or operation circuit, switch control circuit, reset circuit, switch machine control chip, DC-DC Power supply circuit, indicator light circuit and buzzer circuit, the input end of the DC-DC power supply circuit is connected to the device battery, the input end of the LDO power supply circuit is connected to the device battery, the output end of the LDO power supply circuit is connected to the input end of the switch control circuit connection, the first output end of the switch control circuit is connected with the first input end of the logic or operation circuit, the first output end of the switch control circuit is also electrically connected with the reset port of the switch machine control chip through the reset circuit, and the first output end of the switch control circuit is electrically connected with the reset port of the switch machine control chip. The two output terminals are electrically connected to an input and output port of the switch machine control chip, the second input terminal of the logic or operation circuit is connected to an input and output port of the switch machine control chip, and the output of the logic or operation circuit is connected to the DC-DC power supply circuit The enabling terminal of the DC-DC power supply circuit is connected to the power supply terminal of the reset circuit and the power supply port of the switch machine control chip respectively, and the input terminal of the indicator light circuit and the control terminal of the buzzer circuit are connected to the control terminal of the buzzer circuit. An input and output port of the switch machine control chip is electrically connected. In the utility model, STM32F103C8T6 or other control chips can be used as the switch control chip, the LDO power supply circuit can use XC6202P332PR chip or similar LDO power supply chip, and the DC-DC power supply circuit can use MP1584DC-DC power supply chip or similar DC-DC power supply chip , when the utility model is used, as long as one of the switch control circuit or the switch control chip outputs a control signal, the DC-DC power supply chip can start to supply power. Completely cut off the power, and the utility model is provided with a reset circuit, the switch machine control chip can be forced to reset through the reset circuit, the use method is almost the same as the existing switch circuit, but the switch machine control chip can be completely powered off, thereby saving electric energy.
作为优选,所述指示灯电路的输入端还与所述逻辑或运算电路的第一输入端连接。 Preferably, the input end of the indicator light circuit is also connected to the first input end of the logic or operation circuit.
作为优选,蜂鸣器电路的电源端与DC-DC电源电路的输出端连接, As preferably, the power supply end of the buzzer circuit is connected with the output end of the DC-DC power supply circuit,
作为优选,逻辑或运算电路为或门,或门的第一输入端与开关机控制芯片的一个输入输出口电连接,或门的第二输入端与开关控制电路的第一输出端电连接,或门的输出端与DC-DC电源电路的使能端连接。 Preferably, the logical OR operation circuit is an OR gate, the first input end of the OR gate is electrically connected to an input and output port of the switch machine control chip, and the second input end of the OR gate is electrically connected to the first output end of the switch control circuit, The output terminal of the OR gate is connected with the enabling terminal of the DC-DC power supply circuit.
作为优选,逻辑或运算电路包括实现或门作用第一二极管和实现或门作用第二二极管,实现或门作用第一二极管的阳极与开关机控制芯片的一个输入输出口电连接,实现或门作用第二二极管的阳极与开关控制电路的第一输出端连接,实现或门作用第一二极管和实现或门作用第二二极管的阴极均与所述DC-DC电源电路的使能端连接。 Preferably, the logic or operation circuit includes a first diode for realizing the OR gate function and a second diode for realizing the OR gate function, and the anode of the first diode for realizing the OR gate function is electrically connected to an input and output port of the switch machine control chip. The anode of the second diode is connected to the first output terminal of the switch control circuit to realize the OR gate function, and the cathode of the first diode to realize the OR gate function and the second diode to realize the OR gate function are both connected to the DC -Enable terminal connection of the DC power supply circuit.
作为优选,所述DC-DC电源电路的使能端还通过电阻R4接地。关机时,由于电阻R4下拉到地,DC-DC电源电路关断无输出,一直到DC-DC电源电路的使能端为高电平时,DC-DC电源电路才输出电流给开关机控制芯片供电。 Preferably, the enabling end of the DC-DC power supply circuit is also grounded through a resistor R4. When shutting down, because the resistor R4 is pulled down to the ground, the DC-DC power supply circuit shuts down and has no output, until the enable terminal of the DC-DC power supply circuit is at a high level, the DC-DC power supply circuit outputs current to supply power to the switch machine control chip .
作为优选,所述开关控制电路包括三极管U4、电阻R10、按键K1、电阻R9、电容C9、电阻R11、电阻R12和电容C10,所述按键K1的第一端与所述三极管U4的集电极连接,所述按键K1的第二端通过电阻R10与三极管U4的基极连接,所述按键K1的第二端还通过电阻R9接地,三极管U4的集电极与所述LDO电源电路的输出端连接,三极管U4的基极通过电容C9接地,三极管U4的发射极通过电阻R11接地,三极管U4的发射极分别与逻辑或运算电路的第一输入端连接,三极管U4的发射极通过复位电路与开关机控制芯片的复位口电连接,三极管U4的发射极还与电阻R12的第一端连接,电阻R12的第二端通过电容C10接地,电阻R12的第二端还与开关机控制芯片的一个输入输出口电连接。以STM32F103C8T6这一款开关机控制芯片配合举例,当按键K1没有按下时,三极管U4不导通,输出均为持续低电平;当按键K1按下时,三极管U4导通,输出均为持续高电平。当三极管U4发射极为高电平时,DC-DC电源电路的使能端也为高,DC-DC电源电路开始工作,输出电流给复位电路和开关机控制芯片供电。开关机控制芯片上电复位输出高电平信号至逻辑或运算电路的第一输入端,保证DC-DC电源电路的使能端持续为高,使得DC-DC电源电路一直处于工作状态,此时松开按键K1即完成了开机过程。开机后,当按键K1再次被按下时,开关机控制芯片会检测到三极管U4发射极由低电平变为高电平,此时开关机控制芯片上电复位输出低电平信号至逻辑或运算电路的第一输入端,便可以关机。开关控制电路中电容C9的作用是按键去抖,电阻R12与电容C10的作用是为了保证通过电阻R12的信号会有一定的延时,信号会慢于直接采自三极管U4发射极的信号,保证开关机控制芯片VDDA端在上电之前无信号。 Preferably, the switch control circuit includes a transistor U4, a resistor R10, a button K1, a resistor R9, a capacitor C9, a resistor R11, a resistor R12, and a capacitor C10, and the first end of the button K1 is connected to the collector of the transistor U4 , the second end of the button K1 is connected to the base of the transistor U4 through a resistor R10, the second end of the button K1 is also grounded through a resistor R9, and the collector of the transistor U4 is connected to the output end of the LDO power supply circuit, The base of the triode U4 is grounded through the capacitor C9, the emitter of the triode U4 is grounded through the resistor R11, the emitters of the triode U4 are respectively connected to the first input terminal of the logic or operation circuit, and the emitter of the triode U4 is controlled by the reset circuit and the switch The reset port of the chip is electrically connected, the emitter of the transistor U4 is also connected to the first end of the resistor R12, the second end of the resistor R12 is grounded through the capacitor C10, and the second end of the resistor R12 is also connected to an input and output port of the switch control chip electrical connection. Take the STM32F103C8T6 switch control chip as an example. When the button K1 is not pressed, the transistor U4 is not turned on, and the output is at a continuous low level; when the button K1 is pressed, the transistor U4 is turned on, and the output is continuous. high level. When the triode U4 emits a very high level, the enabling terminal of the DC-DC power supply circuit is also high, and the DC-DC power supply circuit starts to work, and the output current supplies power to the reset circuit and the switch control chip. The power-on reset of the switch machine control chip outputs a high-level signal to the first input terminal of the logic or operation circuit to ensure that the enable terminal of the DC-DC power supply circuit is continuously high, so that the DC-DC power supply circuit is always in the working state. At this time Release the button K1 to complete the boot process. After starting up, when the button K1 is pressed again, the switch machine control chip will detect that the emitter of the transistor U4 changes from low level to high level, and at this time the switch machine control chip is powered on and resets to output a low level signal to the logic or The first input terminal of the operation circuit can be turned off. The function of capacitor C9 in the switch control circuit is to debounce the button. The function of resistor R12 and capacitor C10 is to ensure that the signal passing through resistor R12 will have a certain delay, and the signal will be slower than the signal directly collected from the emitter of triode U4, ensuring There is no signal at the VDDA terminal of the switch machine control chip before power-on.
作为优选,所述复位电路包括电阻R14、电阻R13、电容C11、电容C12和场效应管U6,场效应管U6的漏极通过电阻R14与DC-DC电源电路的输出端连接,场效应管U6的栅极通过电阻R13与三极管U4的发射极连接,场效应管U6的栅极通过电容C11接地,场效应管U6的源极接地,场效应管U6的漏极通过电容C12接地,场效应管U6的漏极与开关机控制芯片的一个输入输出口电连接。以STM32F103C8T6这一款开关机控制芯片配合举例,其中电阻R14和电容C12是在上电瞬间即完成了开关机控制芯片的复位动作。开机后,按键K1松开,场效应管U6栅极为低电平,场效应管U6关闭,开关机控制芯片的RESET端持续为高电平。当设备程序出现问题无法执行关机程序时,常按按键K1,场效应管U6栅极由低电平变高电平,经电阻R13给电容C11充电,当充电电压达到场效应管U6开启电平时,场效应管U6打开,开关机控制芯片的由高电平变低电平,可以强行复位开关机控制芯片。 Preferably, the reset circuit includes a resistor R14, a resistor R13, a capacitor C11, a capacitor C12 and a field effect transistor U6, the drain of the field effect transistor U6 is connected to the output terminal of the DC-DC power supply circuit through the resistor R14, and the field effect transistor U6 The grid of the transistor U6 is connected to the emitter of the transistor U4 through the resistor R13, the gate of the MOSFET U6 is grounded through the capacitor C11, the source of the MOSFET U6 is grounded, the drain of the MOSFET U6 is grounded through the capacitor C12, and the MOSFET The drain of U6 is electrically connected to an input and output port of the switch machine control chip. Take the STM32F103C8T6 switch control chip as an example, in which the resistor R14 and capacitor C12 complete the reset action of the switch control chip at the moment of power-on. After starting up, the button K1 is released, the gate of the field effect transistor U6 is at low level, the field effect transistor U6 is turned off, and the RESET terminal of the switch control chip is continuously at high level. When there is a problem with the device program and the shutdown program cannot be executed, press the button K1 often, the gate of the field effect transistor U6 will change from low level to high level, and the capacitor C11 will be charged through the resistor R13. When the charging voltage reaches the open level of the field effect transistor U6 , the field effect transistor U6 is turned on, and the switch control chip changes from high level to low level, which can forcibly reset the switch control chip.
本实用新型的实质性效果是:而本实用新型在关机后,DC-DC电源电路关断后无输出,信开关机控制芯片彻底断电,即关机后开关机控制芯片不消耗电池容量,同时,本方案实现了单按键开机、关机及复位操作,并且具有声音及指示灯提示功能,可避免设备使用者误操作。 The substantive effect of the utility model is: after the utility model is shut down, there is no output after the DC-DC power supply circuit is shut off, and the switch machine control chip is completely powered off, that is, the switch machine control chip does not consume battery capacity after the shutdown, and at the same time , This solution realizes single-button power-on, power-off and reset operations, and has sound and indicator light prompt functions, which can prevent equipment users from misoperation.
附图说明 Description of drawings
图1为本实用新型中开关机控制芯片的一种电路示意图; Fig. 1 is a kind of circuit schematic diagram of switching machine control chip in the utility model;
图2为本实用新型中LDO电源电路的一种电路示意图; Fig. 2 is a kind of circuit diagram of LDO power supply circuit in the utility model;
图3为本实用新型中DC-DC电源电路的一种电路示意图; Fig. 3 is a kind of circuit diagram of DC-DC power supply circuit in the utility model;
图4为本实用新型中开关控制电路的一种电路示意图; Fig. 4 is a kind of circuit diagram of switch control circuit in the utility model;
图5为本实用新型中复位电路的一种电路示意图; Fig. 5 is a kind of circuit diagram of reset circuit in the utility model;
图6为本实用新型中逻辑或运算电路的一种电路示意图。 FIG. 6 is a schematic circuit diagram of a logic or operation circuit in the present invention.
具体实施方式 detailed description
下面通过具体实施例,并结合附图,对本实用新型的技术方案作进一步的具体说明。 The technical solutions of the present utility model will be further specifically described below through specific embodiments in conjunction with the accompanying drawings.
实施例1: Example 1:
一种开关机电路,由设备电池供电,包括LDO电源电路、逻辑或运算电路、开关控制电路、复位电路、开关机控制芯片、DC-DC电源电路、指示灯电路和蜂鸣器电路,DC-DC电源电路的输入端与设备电池连接,LDO电源电路的输入端与设备电池连接,LDO电源电路的输出端与开关控制电路的输入端电连接,开关控制电路的第一输出端与逻辑或运算电路的第一输入端连接,开关控制电路的第一输出端还通过复位电路与开关机控制芯片的复位口电连接,开关控制电路的第二输出端与开关机控制芯片的一个输入输出口电连接,逻辑或运算电路的第二输入端与开关机控制芯片的一个输入输出口连接,逻辑或运算电路的输出单与DC-DC电源电路的使能端连接,DC-DC电源电路的输出端分别与复位电路的电源端和开关机控制芯片的电源口连接,所述指示灯电路的输入端和蜂鸣器电路的控制端均与所述开关机控制芯片的一个输入输出口电连接。所述指示灯电路的输入端还与所述逻辑或运算电路的第一输入端连接。蜂鸣器电路的电源端与DC-DC电源电路的输出端连接,逻辑或运算电路包括实现或门作用第一二极管和实现或门作用第二二极管,实现或门作用第一二极管的阳极与开关机控制芯片的一个输入输出口电连接,实现或门作用第二二极管的阳极与开关控制电路的第一输出端连接,实现或门作用第一二极管和实现或门作用第二二极管的阴极均与所述DC-DC电源电路的使能端连接。所述DC-DC电源电路的使能端还通过电阻R4接地。所述开关控制电路包括三极管U4、电阻R10、按键K1、电阻R9、电容C9、电阻R11、电阻R12和电容C10,所述按键K1的第一端与所述三极管U4的集电极连接,所述按键K1的第二端通过电阻R10与三极管U4的基极连接,所述按键K1的第二端还通过电阻R9接地,三极管U4的集电极与所述LDO电源电路的输出端连接,三极管U4的基极通过电容C9接地,三极管U4的发射极通过电阻R11接地,三极管U4的发射极分别与与逻辑或运算电路的第一输入端连接,三极管U4的发射极通过复位电路与开关机控制芯片的复位口电连接,三极管U4的发射极还与电阻R12的第一端连接,电阻R12的第二端通过电容C10接地,电阻R12的第二端还与开关机控制芯片的一个输入输出口电连接。所述复位电路包括电阻R14、电阻R13、电容C11、电容C12和场效应管U6,场效应管U6的漏极通过电阻R14与DC-DC电源电路的输出端连接,场效应管U6的栅极通过电阻R13与三极管U4的发射极连接,场效应管U6的栅极通过电容C11接地,场效应管U6的源极接地,场效应管U6的漏极通过电容C12接地,场效应管U6的漏极与开关机控制芯片的一个输入输出口电连接。本实施例中采用STM32F103C8T6代表其他等同控制类芯片作为开关机控制芯片,LDO电源电路采用XC6202P332PR芯片代表类似LDO电源芯片,DC-DC电源电路采用MP1584DC-DC电源芯片代表类似DC-DC电源芯片,本实施例使用的时候,只要开关控制电路或开关机控制芯片两者之一输出控制信号,DC-DC电源芯片就都能开始供电,通过这种形式可以在关机时对开关机控制芯片进行完全断电,而且本实用新型设置了复位电路,通过复位电路可以强行使开关机控制芯片进行复位,使用方法与现有开关电路几乎一样,但是开关机控制芯片能够完全断电,从而节省电能。具体而言,本实施例中,当按键K1没有按下时,三极管U4不导通,输出均为持续低电平;当按键K1按下时,三极管U4导通,输出均为持续高电平。当三极管U4发射极为高电平时,DC-DC电源电路的使能端也为高,DC-DC电源电路开始工作,输出电流给复位电路和开关机控制芯片供电。开关机控制芯片上电复位输出高电平信号至逻辑或运算电路的第一输入端,保证DC-DC电源电路的使能端持续为高,使得DC-DC电源电路一直处于工作状态,此时松开按键K1即完成了开机过程。开机后,当按键K1再次被按下时,开关机控制芯片会检测到三极管U4发射极由低电平变为高电平,此时开关机控制芯片上电复位输出低电平信号至逻辑或运算电路的第一输入端,便可以关机。关机时,由于电阻R4下拉到地,DC-DC电源电路关断无输出,一直到DC-DC电源电路的使能端为高电平时,DC-DC电源电路才输出电流给开关机控制芯片供电。开关控制电路中电容C9的作用是按键去抖,电阻R12与电容C10的作用是为了保证通过电阻R12的信号会有一定的延时,信号会慢于直接采自三极管U4发射极的信号,保证开关机控制芯片VDDA端在上电之前无信号,复位电路中电阻R14和电容C12是在上电瞬间即完成了开关机控制芯片的复位动作。开机后,按键K1松开,场效应管U6栅极为低电平,场效应管U6关闭,开关机控制芯片的RESET端持续为高电平。当设备程序出现问题无法执行关机程序时,常按按键K1,场效应管U6栅极由低电平变高电平,经电阻R13给电容C11充电,当充电电压达到场效应管U6开启电平时,场效应管U6打开,开关机控制芯片的由高电平变低电平,可以强行复位开关机控制芯片。 A switch machine circuit, powered by the battery of the device, including LDO power supply circuit, logic or operation circuit, switch control circuit, reset circuit, switch machine control chip, DC-DC power supply circuit, indicator light circuit and buzzer circuit, DC- The input end of the DC power supply circuit is connected to the device battery, the input end of the LDO power supply circuit is connected to the device battery, the output end of the LDO power supply circuit is electrically connected to the input end of the switch control circuit, and the first output end of the switch control circuit is connected to the logical OR operation The first input end of the circuit is connected, the first output end of the switch control circuit is also electrically connected with the reset port of the switch machine control chip through the reset circuit, and the second output end of the switch control circuit is electrically connected with an input and output port of the switch machine control chip. Connection, the second input terminal of the logic or operation circuit is connected with an input and output port of the switch machine control chip, the output of the logic or operation circuit is connected with the enabling terminal of the DC-DC power supply circuit, and the output terminal of the DC-DC power supply circuit They are respectively connected to the power supply end of the reset circuit and the power supply port of the switch control chip, and the input terminal of the indicator light circuit and the control terminal of the buzzer circuit are both electrically connected to an input and output port of the switch control chip. The input end of the indicator light circuit is also connected to the first input end of the logic or operation circuit. The power supply terminal of the buzzer circuit is connected to the output terminal of the DC-DC power supply circuit. The logic or operation circuit includes the first diode for realizing the OR gate function and the second diode for realizing the OR gate function, and the first and second diodes for realizing the OR gate function. The anode of the pole tube is electrically connected to an input and output port of the switch machine control chip to realize the OR gate function. The anode of the second diode is connected to the first output terminal of the switch control circuit to realize the OR gate function. The first diode and the The cathodes of the OR gate functioning second diodes are all connected to the enabling terminal of the DC-DC power supply circuit. The enabling terminal of the DC-DC power supply circuit is also grounded through the resistor R4. The switch control circuit includes a transistor U4, a resistor R10, a button K1, a resistor R9, a capacitor C9, a resistor R11, a resistor R12 and a capacitor C10, the first end of the button K1 is connected to the collector of the transistor U4, and the The second end of the button K1 is connected to the base of the transistor U4 through the resistor R10, the second end of the button K1 is also grounded through the resistor R9, the collector of the transistor U4 is connected to the output end of the LDO power supply circuit, and the transistor U4 The base is grounded through the capacitor C9, the emitter of the triode U4 is grounded through the resistor R11, the emitter of the triode U4 is respectively connected to the first input terminal of the logic or operation circuit, and the emitter of the triode U4 is connected to the switch control chip through the reset circuit. The reset port is electrically connected, the emitter of the transistor U4 is also connected to the first end of the resistor R12, the second end of the resistor R12 is grounded through the capacitor C10, and the second end of the resistor R12 is also electrically connected to an input and output port of the switch control chip . The reset circuit includes a resistor R14, a resistor R13, a capacitor C11, a capacitor C12 and a field effect transistor U6, the drain of the field effect transistor U6 is connected to the output terminal of the DC-DC power supply circuit through the resistor R14, and the gate of the field effect transistor U6 The emitter of the transistor U4 is connected through the resistor R13, the gate of the field effect transistor U6 is grounded through the capacitor C11, the source of the field effect transistor U6 is grounded, the drain of the field effect transistor U6 is grounded through the capacitor C12, and the drain of the field effect transistor U6 The pole is electrically connected with an input and output port of the switch machine control chip. In this embodiment, STM32F103C8T6 is used to represent other equivalent control chips as the switch control chip, the LDO power circuit uses the XC6202P332PR chip to represent a similar LDO power chip, and the DC-DC power circuit uses an MP1584DC-DC power chip to represent a similar DC-DC power chip. When the embodiment is used, as long as one of the switch control circuit or the switch control chip outputs a control signal, the DC-DC power supply chip can start to supply power. In this way, the switch control chip can be completely cut off when the machine is turned off. Electricity, and the utility model is provided with reset circuit, can forcibly make switch machine control chip reset by reset circuit, and using method is almost the same as existing switch circuit, but switch machine control chip can cut off power completely, thereby saves electric energy. Specifically, in this embodiment, when the button K1 is not pressed, the triode U4 is not turned on, and the output is at a continuous low level; when the button K1 is pressed, the triode U4 is turned on, and the output is at a continuous high level . When the triode U4 emits a very high level, the enabling terminal of the DC-DC power supply circuit is also high, and the DC-DC power supply circuit starts to work, and the output current supplies power to the reset circuit and the switch control chip. The power-on reset of the switch machine control chip outputs a high-level signal to the first input terminal of the logic or operation circuit to ensure that the enable terminal of the DC-DC power supply circuit is continuously high, so that the DC-DC power supply circuit is always in the working state. At this time Release the button K1 to complete the boot process. After starting up, when the button K1 is pressed again, the switch machine control chip will detect that the emitter of the transistor U4 changes from low level to high level, and at this time the switch machine control chip is powered on and resets to output a low level signal to the logic or The first input terminal of the operation circuit can be turned off. When shutting down, because the resistor R4 is pulled down to the ground, the DC-DC power supply circuit shuts down and has no output, until the enable terminal of the DC-DC power supply circuit is at a high level, the DC-DC power supply circuit outputs current to supply power to the switch machine control chip . The function of capacitor C9 in the switch control circuit is to debounce the button. The function of resistor R12 and capacitor C10 is to ensure that the signal passing through resistor R12 will have a certain delay, and the signal will be slower than the signal directly collected from the emitter of triode U4, ensuring There is no signal at the VDDA terminal of the switch machine control chip before power-on, and the resistor R14 and capacitor C12 in the reset circuit complete the reset action of the switch machine control chip at the moment of power-on. After starting up, the button K1 is released, the gate of the field effect transistor U6 is at a low level, the field effect transistor U6 is turned off, and the RESET terminal of the switch control chip is continuously at a high level. When there is a problem with the device program and the shutdown program cannot be executed, press the button K1 often, the gate of the field effect transistor U6 will change from low level to high level, and the capacitor C11 will be charged through the resistor R13. When the charging voltage reaches the open level of the field effect transistor U6 , the field effect transistor U6 is turned on, and the switching machine control chip changes from high level to low level, which can forcibly reset the switching machine control chip.
现有技术在关机后,开关机控制芯片仍在工作,不可避免的要消耗一部分电池的容量;而以上实施例在关机后,DC-DC电源电路关断后无输出,信开关机控制芯片彻底断电,即关机后开关机控制芯片不消耗电池容量,同时,本方案实现了单按键开机、关机及复位操作,并且具有声音及指示灯提示功能,可避免设备使用者误操作。 In the prior art, after shutdown, the switch control chip is still working, which inevitably consumes a part of the battery capacity; and in the above embodiments, after the shutdown, the DC-DC power supply circuit has no output, and the switch control chip is completely Power failure, that is, the power-on/off control chip does not consume battery capacity after power-off. At the same time, this solution realizes single-button power-on, power-off and reset operations, and has sound and indicator light prompt functions, which can prevent equipment users from misoperation.
实施例2 Example 2
与实施例1基本相同,不同之处在于:逻辑或运算电路为或门,或门的第一输入端与开关机控制芯片的一个输入输出口电连接,或门的第二输入端与开关控制电路的第一输出端电连接,或门的输出端与DC-DC电源电路的使能端连接。 It is basically the same as Embodiment 1, except that the logic or operation circuit is an OR gate, and the first input end of the OR gate is electrically connected with an input and output port of the switch control chip, and the second input end of the OR gate is connected with the switch control chip. The first output terminal of the circuit is electrically connected, and the output terminal of the OR gate is connected with the enable terminal of the DC-DC power supply circuit.
以上所述的实施例只是本实用新型的一种较佳的方案,并非对本实用新型作任何形式上的限制,在不超出权利要求所记载的技术方案的前提下还有其它的变体及改型。 The above-described embodiment is only a preferred solution of the utility model, and does not limit the utility model in any form. There are other variations and improvements without exceeding the technical solution described in the claims. type.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201620194660.2U CN205453657U (en) | 2016-03-11 | 2016-03-11 | Startup/shutdown circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201620194660.2U CN205453657U (en) | 2016-03-11 | 2016-03-11 | Startup/shutdown circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN205453657U true CN205453657U (en) | 2016-08-10 |
Family
ID=56602716
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201620194660.2U Expired - Lifetime CN205453657U (en) | 2016-03-11 | 2016-03-11 | Startup/shutdown circuit |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN205453657U (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109274259A (en) * | 2018-10-29 | 2019-01-25 | 西安空间无线电技术研究所 | Power switch machine control method, device and application |
| CN105720960B (en) * | 2016-03-11 | 2019-01-29 | 武汉中旗生物医疗电子有限公司 | On/off circuit |
-
2016
- 2016-03-11 CN CN201620194660.2U patent/CN205453657U/en not_active Expired - Lifetime
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105720960B (en) * | 2016-03-11 | 2019-01-29 | 武汉中旗生物医疗电子有限公司 | On/off circuit |
| CN109274259A (en) * | 2018-10-29 | 2019-01-25 | 西安空间无线电技术研究所 | Power switch machine control method, device and application |
| CN109274259B (en) * | 2018-10-29 | 2020-07-14 | 西安空间无线电技术研究所 | Power supply on-off control method, device and application |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN202443282U (en) | Zero-power-consumption standby circuit | |
| CN103699199B (en) | A kind of control system of switching on or off electricity device of electronic equipment and a kind of electronic equipment | |
| CN206323290U (en) | Start-stop control circuit for DC‑DC converters and DC‑DC converters | |
| CN112737558B (en) | A multifunctional key switch circuit for electronic products | |
| CN201514611U (en) | Handheld device startup and shutdown circuit | |
| CN105720960A (en) | On-off circuit | |
| CN205453657U (en) | Startup/shutdown circuit | |
| CN204290714U (en) | Power control circuit and electrical equipment | |
| CN202772861U (en) | Startup and shutdown circuit used in fish finder | |
| CN212992000U (en) | Battery power supply control circuit | |
| CN213027985U (en) | One-key switching circuit | |
| CN210776362U (en) | Power supply zero-power-consumption control circuit and electronic equipment | |
| CN210780130U (en) | Power-off control circuit | |
| CN205353647U (en) | Low -power consumption button awakening circuit | |
| CN201497947U (en) | Power management circuit with embedded chip | |
| CN202711169U (en) | Microprogrammed control unit (MCU) power supply management system | |
| CN207265891U (en) | Low-power consumption AC DC conversion switch circuits | |
| CN111669158B (en) | Portable multifunctional switch circuit | |
| CN206302207U (en) | A kind of power-supply management system for being automatically obtained main power supply switching | |
| CN206490663U (en) | The switching on and shutting down power supply circuit for completely cutting through power supply is realized using touch-switch | |
| CN204442320U (en) | A kind of start mains switch that powers on controllable function | |
| CN203720775U (en) | Electronic equipment power-on and power-off control device and electronic equipment | |
| CN206039233U (en) | Single chip microcomputer control's load automated inspection circuit | |
| CN207283400U (en) | A kind of on/off circuit and electronic product | |
| CN220290066U (en) | A program-controlled switch circuit that can force shutdown |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CX01 | Expiry of patent term |
Granted publication date: 20160810 |
|
| CX01 | Expiry of patent term |