CN104135691B - MCU reset control circuits and television set - Google Patents
MCU reset control circuits and television set Download PDFInfo
- Publication number
- CN104135691B CN104135691B CN201410401227.7A CN201410401227A CN104135691B CN 104135691 B CN104135691 B CN 104135691B CN 201410401227 A CN201410401227 A CN 201410401227A CN 104135691 B CN104135691 B CN 104135691B
- Authority
- CN
- China
- Prior art keywords
- voltage
- terminal
- unit
- power supply
- mcu
- 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 - Fee Related
Links
Landscapes
- Direct Current Feeding And Distribution (AREA)
Abstract
本发明公开了一种MCU复位控制电路,MCU复位控制电路包括:监测模块,用于接收直流供电电压的输入,并根据直流供电电压是/否波动下降,相应输出有效监控信号/无效监控信号;防抖模块,用于接收直流供电电压的输入,并根据直流供电电压是/否在允许电压范围内,相应输出有效防抖信号/无效防抖信号;电压转换模块,用于接收直流供电电压的输入,将输入的电压转换为MCU供电电压输出至MCU,并根据接收到有效监控信号和无效防抖信号,断开MCU供电电压的输出,以使MCU进行复位。本发明还公开了一种电视机。本发明方案简单易实现、成本低,无需占用MCU的I/O口进行复位,占用资源少,适用性更广。
The invention discloses an MCU reset control circuit. The MCU reset control circuit includes: a monitoring module for receiving the input of a DC power supply voltage, and correspondingly outputting valid monitoring signals/invalid monitoring signals according to whether or not the DC power supply voltage fluctuates; The anti-shake module is used to receive the input of the DC power supply voltage, and output the valid anti-shake signal/invalid anti-shake signal according to whether the DC power supply voltage is within the allowable voltage range; the voltage conversion module is used to receive the DC power supply voltage Input, convert the input voltage into the MCU power supply voltage and output it to the MCU, and disconnect the output of the MCU power supply voltage according to the received valid monitoring signal and invalid anti-shake signal, so that the MCU can be reset. The invention also discloses a TV set. The solution of the invention is simple and easy to implement, low in cost, does not need to occupy the I/O port of the MCU for reset, occupies less resources, and has wider applicability.
Description
技术领域technical field
本发明涉及复位技术领域,尤其涉及MCU复位控制电路和电视机。The invention relates to the technical field of reset, in particular to an MCU reset control circuit and a television.
背景技术Background technique
电视机的交流供电瞬间异常(例如交流电网的电压波动太大或电视机的电源线与交流插座接触不好导致电视机的交流供电异常)会导致电视机电源输出的直流电压暂时降低或消失后、再次回复正常称之为电压暂降。电压暂降可能导致电视系统进入异常状态而不能自动恢复、需再一次交流开机后才能恢复正常、给用户造成不便及影响电视机的整体性能。Instantaneous abnormality of the TV's AC power supply (for example, the voltage fluctuation of the AC power grid is too large or the TV's power cord is not in good contact with the AC socket, resulting in an abnormal TV's AC power supply) will cause the DC voltage output of the TV power supply to temporarily drop or disappear. , Returning to normal again is called voltage sag. The voltage sag may cause the TV system to enter an abnormal state and cannot be automatically restored. It needs to be turned on again to return to normal, causing inconvenience to users and affecting the overall performance of the TV.
为避免交流供电异常导致电视电源输出的电压暂降,目前常采用了以下方法:1)在电源交流端增加专门的交流电压检测电路,在交流供电异常时使电源重新重启,同时控制电源各种输出电压的时序;这种方法设计复杂,难度大,成本高。2)将电视软件的看门狗打开,在异常时使电视机主板MCU复位;这种方法软件设计复杂、稳定性和可靠性差。In order to avoid the voltage sag of TV power output caused by abnormal AC power supply, the following methods are often used at present: 1) Add a special AC voltage detection circuit at the AC end of the power supply, restart the power supply when the AC power supply is abnormal, and control various power supplies at the same time. The timing of the output voltage; this method is complex in design, difficult and expensive. 2) Turn on the watchdog of the TV software, and reset the MCU of the main board of the TV when abnormal; the software design of this method is complicated, and the stability and reliability are poor.
发明内容Contents of the invention
本发明的主要目的在于解决现有的MCU复位控制方案复杂、成本高、稳定性和可靠性差的技术问题。The main purpose of the present invention is to solve the technical problems of complex, high cost, poor stability and reliability of the existing MCU reset control scheme.
为实现上述目的,本发明提供一种MCU复位控制电路,所述MCU复位控制电路包括:To achieve the above object, the present invention provides a MCU reset control circuit, the MCU reset control circuit includes:
监测模块,用于接收直流供电电压的输入,并根据直流供电电压是/否波动下降,相应输出有效监控信号/无效监控信号;The monitoring module is used to receive the input of the DC power supply voltage, and output a valid monitoring signal/invalid monitoring signal according to whether the DC power supply voltage fluctuates or not;
防抖模块,用于接收直流供电电压的输入,并根据直流供电电压是/否在允许电压范围内,相应输出有效防抖信号/无效防抖信号;The anti-shake module is used to receive the input of the DC power supply voltage, and output a valid anti-shake signal/invalid anti-shake signal according to whether the DC power supply voltage is within the allowable voltage range;
电压转换模块,用于接收直流供电电压的输入,将输入的电压转换为MCU供电电压输出至MCU,并根据接收到所述有效监控信号和所述无效防抖信号,断开MCU供电电压的输出,以使所述MCU进行复位;The voltage conversion module is used to receive the input of the DC power supply voltage, convert the input voltage into the MCU power supply voltage and output it to the MCU, and disconnect the output of the MCU power supply voltage according to receiving the effective monitoring signal and the invalid anti-shake signal , so that the MCU is reset;
所述MCU复位控制电路还包括直流供电端,所述直流供电端分别连接所述监测模块的输入端、所述防抖模块的输入端和所述电压转换模块的输入端,所述监测模块的输出端连接所述电压转换模块的第一受控端,所述防抖模块的输出端连接所述电压转换模块的第二受控端,所述电压转换模块的输出端输出MCU供电电压。The MCU reset control circuit also includes a DC power supply terminal, the DC power supply terminal is respectively connected to the input terminal of the monitoring module, the input terminal of the anti-shake module and the input terminal of the voltage conversion module, and the input terminal of the monitoring module The output terminal is connected to the first controlled terminal of the voltage conversion module, the output terminal of the anti-shake module is connected to the second controlled terminal of the voltage conversion module, and the output terminal of the voltage conversion module outputs the MCU power supply voltage.
优选地,所述电压转换模块在接收到所述有效监控信号和所述有效防抖信号时,保持MCU供电电压的输出,以使所述MCU的保持正常工作。Preferably, when the voltage conversion module receives the effective monitoring signal and the effective anti-shake signal, it maintains the output of the MCU supply voltage, so as to maintain the normal operation of the MCU.
优选地,所述监测模块包括第一储能单元、第二储能单元、第一开关单元和单向导通单元,其中:所述单向导通单元的导通输入端为所述监测模块的输入端,所述单向导通单元的导通输出端连接所述第二储能单元的充放电端;所述第一储能单元的充放电端连接所述单向导通单元的导通输入端,所述第一开关单元的触发端连接所述第一储能单元的充放电端,所述第一开关单元的第一导通端连接所述第二储能单元的充放电端,所述第一开关单元的第二导通端为所述监测模块的输出端;Preferably, the monitoring module includes a first energy storage unit, a second energy storage unit, a first switch unit and a one-way conduction unit, wherein: the conduction input terminal of the one-way conduction unit is the input of the monitoring module terminal, the conduction output end of the unidirectional conduction unit is connected to the charge and discharge end of the second energy storage unit; the charge and discharge end of the first energy storage unit is connected to the conduction input end of the unidirectional conduction unit, The trigger terminal of the first switch unit is connected to the charge and discharge terminal of the first energy storage unit, the first conducting terminal of the first switch unit is connected to the charge and discharge terminal of the second energy storage unit, and the first switch unit is connected to the charge and discharge terminal of the second energy storage unit. The second conduction end of a switch unit is the output end of the monitoring module;
所述第一储能单元在所述直流供电端的电压降低时,经所述直流供电端放电;所述第一开关单元在其触发端的电压低于其第一导通端的电压时,其第二导通端输出有效监控信号。When the voltage of the DC power supply terminal decreases, the first energy storage unit discharges through the DC power supply terminal; when the voltage of the trigger terminal of the first switch unit is lower than the voltage of the first conduction terminal, the second The conduction end outputs an effective monitoring signal.
优选地,所述单向导通单元包括第一二极管,所述第一储能单元包括第一电容,所述第二储能单元包括第二电容,所述第一开关单元包括PNP型三极管,所述监测模块还包括第一电阻、第二电阻和第二二极管,其中:Preferably, the unidirectional conduction unit includes a first diode, the first energy storage unit includes a first capacitor, the second energy storage unit includes a second capacitor, and the first switch unit includes a PNP transistor , the monitoring module also includes a first resistor, a second resistor and a second diode, wherein:
所述第一二极管的阳极为所述监测模块的输入端,所述第一二极管的阳极还依次经所述第二二极管的阴极、第二二极管的阳极和所述第一电容接地,所述第一电阻与所述第二二极管并联,所述第一二极管的阴极经所述第二电容接地;The anode of the first diode is the input terminal of the monitoring module, and the anode of the first diode passes through the cathode of the second diode, the anode of the second diode and the The first capacitor is grounded, the first resistor is connected in parallel with the second diode, and the cathode of the first diode is grounded through the second capacitor;
所述PNP型三极管的基极连接所述第二二极管的阳极,所述PNP型三极管的发射极连接所述第一二极管的阴极,所述PNP型三极管的集电极经所述第二电阻接地,所述PNP型三极管的集电极为所述监测模块的输出端。The base of the PNP transistor is connected to the anode of the second diode, the emitter of the PNP transistor is connected to the cathode of the first diode, and the collector of the PNP transistor is The two resistors are grounded, and the collector of the PNP transistor is the output terminal of the monitoring module.
优选地,所述防抖模块包括稳压单元和第二开关单元,所述第一稳压单元的输入端为所述防抖模块的输入端,所述第一稳压单元的输出端连接所述第二开关单元的触发端,所述第一开关单元的第一导通端接地,所述第一开关单元的第二导通端为所述防抖模块的输出端;所述稳压单元在所述直流供电端的电压下降到超出允许的电压范围时,所述稳压单元截止;所述第二开关单元在所述稳压单元截止时,所述第二开关单元的第二导通端输出无效防抖信号。Preferably, the anti-shake module includes a voltage stabilizing unit and a second switch unit, the input end of the first voltage stabilizing unit is the input end of the anti-shake module, and the output end of the first voltage stabilizing unit is connected to the The trigger end of the second switch unit, the first conduction end of the first switch unit is grounded, and the second conduction end of the first switch unit is the output end of the anti-shake module; the voltage stabilizing unit When the voltage at the DC power supply terminal drops below the allowable voltage range, the voltage stabilizing unit is turned off; when the second switch unit is turned off, the second conduction terminal of the second switch unit Output invalid anti-shake signal.
优选地,所述稳压单元包括稳压管,所述第二开关单元包括第一NPN型三极管,所述防抖模块还包括第三电阻,所述稳压管的阴极为所述防抖模块的输入端,稳压管的阳极经所述第三电阻连接所述第一NPN型三极管的基极,第一NPN型三极管的发射极接地,第一NPN型三极管的集电极为所述防抖模块的输出端。Preferably, the voltage stabilizing unit includes a voltage stabilizing tube, the second switch unit includes a first NPN triode, the anti-shake module further includes a third resistor, and the cathode of the voltage stabilizing tube is the anti-shake module The anode of the Zener tube is connected to the base of the first NPN transistor through the third resistor, the emitter of the first NPN transistor is grounded, and the collector of the first NPN transistor is the anti-shake output of the module.
优选地,所述电压转换模块包括异常判定单元、第三开关单元和电压转换单元,所述异常判定单元的第一信号输入端为所述电压转换模块的第一受控端,所述异常判定单元的第二信号输入端为所述电压转换模块的第二受控端,所述异常判定单元的信号输出端连接所述第三开关单元的触发端,所述第三开关单元的第一导通端接地,所述第三开关单元的第二导通端连接所述电压转换单元的使能端,所述电压转换单元的供电端为所述电压转换模块的输入端,电压转换单元的输出端为所述电压转换模块的输出端;Preferably, the voltage conversion module includes an abnormality determination unit, a third switch unit and a voltage conversion unit, the first signal input terminal of the abnormality determination unit is the first controlled terminal of the voltage conversion module, and the abnormality determination The second signal input end of the unit is the second controlled end of the voltage conversion module, the signal output end of the abnormality determination unit is connected to the trigger end of the third switch unit, and the first lead of the third switch unit The conduction end is grounded, the second conduction end of the third switch unit is connected to the enable end of the voltage conversion unit, the power supply end of the voltage conversion unit is the input end of the voltage conversion module, and the output of the voltage conversion unit is The terminal is the output terminal of the voltage conversion module;
所述异常判定单元在接收到有效监控信号和无效防抖信号时,输出异常信号;所述第三开关单元在所述异常判定单元输出异常信号时导通,使其第二导通端接地;所述电压转换单元在所述第三开关单元的第二导通端接地时,所述电压转换单元的输出端停止输出。The abnormality judging unit outputs an abnormal signal when receiving a valid monitoring signal and an invalid anti-shake signal; the third switch unit is turned on when the abnormality judging unit outputs an abnormal signal, so that its second conducting end is grounded; When the second conducting end of the third switching unit of the voltage conversion unit is grounded, the output terminal of the voltage conversion unit stops outputting.
优选地,所述异常判定单元包括第四电阻和第三二极管、所述第三开关单元包括第二NPN型三极管和所述电压转换单元包括第五电阻和电压转换芯片,所述电压转换芯片包括电压输入端、电压输出端和使能端;Preferably, the abnormality determination unit includes a fourth resistor and a third diode, the third switch unit includes a second NPN transistor, and the voltage conversion unit includes a fifth resistor and a voltage conversion chip, and the voltage conversion The chip includes a voltage input terminal, a voltage output terminal and an enable terminal;
所述第四电阻的一端为所述电压转换模块的第一受控端,所述第四电阻的另一端为所述电压转换模块的第二受控端,所述第四电阻的另一端连接所述第三二极管的阳极,所述第三二极管的阴极为所述异常判定单元的信号输出端;One end of the fourth resistor is the first controlled end of the voltage conversion module, the other end of the fourth resistor is the second controlled end of the voltage conversion module, and the other end of the fourth resistor is connected to The anode of the third diode, the cathode of the third diode is the signal output terminal of the abnormality determination unit;
所述第二NPN型三极管的基极连接所述第三二极管的阴极,所述第二NPN型三极管的发射极接地,所述第二NPN型三极管的集电极连接所述第五电阻的一端,所述第五电阻的另一端连接所述电压转换芯片的电压输入端;所述电压转换芯片的电压输入端为所述电压转换模块的输入端,所述第二NPN型三极管的集电极连接所述电压转换芯片的使能端,所述电压转换芯片的电压输出端为所述电压转换模块的输出端。The base of the second NPN transistor is connected to the cathode of the third diode, the emitter of the second NPN transistor is grounded, and the collector of the second NPN transistor is connected to the fifth resistor. One end, the other end of the fifth resistor is connected to the voltage input end of the voltage conversion chip; the voltage input end of the voltage conversion chip is the input end of the voltage conversion module, and the collector of the second NPN transistor Connect the enabling terminal of the voltage conversion chip, the voltage output terminal of the voltage conversion chip is the output terminal of the voltage conversion module.
此外,为实现上述目的,本发明还提供一种电视机,包括MCU,所述电视机还包括如上所述的MCU复位控制电路。In addition, in order to achieve the above object, the present invention also provides a TV set, including an MCU, and the TV set also includes the above-mentioned MCU reset control circuit.
本发明MCU复位控制电路,通过监控模块、防抖模块和电源转换模块对MCU供电电压的输出进行控制,以实现对MCU的复位控制,方案简单易实现、成本低,无需占用MCU的I/O口进行复位,占用MCU的资源少,能适用于没有复位接口的MCU,适用性更广;具体的在直流供电电压跌落波动后超出允许电压范围时,使电压转换模块断开MCU供电电压的输出,以使MCU进行复位,在直流供电电压波动较小,波动后未超出允许电压范围时,不控制进行复位,避免了复位控制过于灵敏而造成误复位操作的情况,更加稳定可靠。The MCU reset control circuit of the present invention controls the output of the MCU power supply voltage through the monitoring module, the anti-shake module and the power conversion module to realize the reset control of the MCU. It can be applied to MCUs without a reset interface, and has wider applicability; specifically, when the DC power supply voltage drops and fluctuates beyond the allowable voltage range, the voltage conversion module disconnects the output of the MCU power supply voltage In order to reset the MCU, when the fluctuation of the DC power supply voltage is small, and the fluctuation does not exceed the allowable voltage range, the reset is not controlled, which avoids the situation that the reset control is too sensitive and causes false reset operations, and is more stable and reliable.
附图说明Description of drawings
图1为本发明MCU复位控制电路第一实施例的模块示意图;Fig. 1 is the module schematic diagram of the first embodiment of the MCU reset control circuit of the present invention;
图2为本发明MCU复位控制电路第二实施例的模块示意图;Fig. 2 is the module schematic diagram of the second embodiment of the MCU reset control circuit of the present invention;
图3为本发明MCU复位控制电路第二实施例的电路示意图。FIG. 3 is a circuit schematic diagram of the second embodiment of the MCU reset control circuit of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
本发明提供一种MCU复位控制电路,与MCU(图中未示)连接。参照图1,在第一实施例中,该MCU复位控制电路包括:监测模块10,用于接收直流供电电压的输入,并根据直流供电电压是/否波动下降,相应输出有效监控信号/无效监控信号;防抖模块20,用于接收直流供电电压的输入,并根据直流供电电压是/否在允许电压范围(允许电压范围可根据实际情况预先在防抖模块20中设定)内,相应输出有效防抖信号/无效防抖信号;电压转换模块30,用于接收直流供电电压的输入,将输入的电压转换为MCU供电电压输出至MCU(即输出至MCU的供电接口),并根据接收到有效监控信号和无效防抖信号,断开MCU供电电压的输出,以使MCU进行复位。MCU复位控制电路还包括直流供电端P_VCC,直流供电端P_VCC分别连接监测模块10的输入端、防抖模块20的输入端和电压转换模块30的输入端,监测模块10的输出端连接电压转换模块30的第一受控端S1,防抖模块20的输出端连接电压转换模块30的第二受控端S2,电压转换模块30的输出端M_VCC输出MCU供电电压。The present invention provides an MCU reset control circuit, which is connected with the MCU (not shown in the figure). Referring to Fig. 1, in the first embodiment, the MCU reset control circuit includes: a monitoring module 10, which is used to receive the input of the DC power supply voltage, and output a valid monitoring signal/invalid monitoring according to whether the DC power supply voltage fluctuates or drops Signal; the anti-shake module 20 is used to receive the input of the DC power supply voltage, and according to whether the DC power supply voltage is/is in the allowable voltage range (the allowable voltage range can be pre-set in the anti-shake module 20 according to the actual situation), and the corresponding output Effective anti-shake signal/invalid anti-shake signal; voltage conversion module 30, used to receive the input of DC power supply voltage, convert the input voltage into MCU power supply voltage and output to MCU (that is, output to the power supply interface of MCU), and according to the received The effective monitoring signal and the invalid anti-shake signal disconnect the output of the MCU power supply voltage, so that the MCU can be reset. The MCU reset control circuit also includes a DC power supply terminal P_VCC, the DC power supply terminal P_VCC is respectively connected to the input terminal of the monitoring module 10, the input terminal of the anti-shake module 20 and the input terminal of the voltage conversion module 30, and the output terminal of the monitoring module 10 is connected to the voltage conversion module. The first controlled terminal S1 of 30, the output terminal of the anti-shake module 20 is connected to the second controlled terminal S2 of the voltage conversion module 30, and the output terminal M_VCC of the voltage conversion module 30 outputs the MCU supply voltage.
本实施例中,监测模块10监控直流供电电压是否波动下降(即是否稳定),当直流供电电压波动下降时,说明直流供电电压不稳定,有暂降发生,此时输出有效监控信号至电压转换模块30;当直流供电电压无波动下降,保持稳定时,监测模块10则输出无效监控信号;在直流供电电压恢复正常值时,监测模块10输出无效监控信号。防抖模块20检测直流供电电压的波动下降后是否在允许的电压范围内,即直流供电电压的波动值是否在允许的波动范围内,当直流供电电压的波动下降后仍然在允许的电压范围内时,此时防抖模块20判定为直流供电电压的波动为抖动信号,防抖模块20输出有效防抖信号,控制电压转换模块30的保持正常工作输出,电压转换模块30仍然可以输出正常的MCU供电电压;当直流供电电压波动下降幅度大,直流供电电压波动下降后超出了允许的电压范围内(例如直流供电电压瞬间跌落至0V或瞬间跌落幅度过大)时,此时判定直流供电电压的波动为非抖动信号,判定此时的直流供电电压值为异常电压值,输出无效防抖信号,不再控制电压转换模块30的保持正常工作输出,此时监测模块10输出的有效监控信号控制电压转换模块30断开输出MCU供电电压;当直流供电电压恢复到允许电压范围(包括直流供电电压正常值)时,防抖模块20输出有效防抖信号。In this embodiment, the monitoring module 10 monitors whether the DC power supply voltage fluctuates and decreases (that is, whether it is stable). When the DC power supply voltage fluctuates and decreases, it indicates that the DC power supply voltage is unstable and a sag occurs. At this time, an effective monitoring signal is output to the voltage conversion Module 30; when the DC power supply voltage remains stable without fluctuations, the monitoring module 10 outputs an invalid monitoring signal; when the DC power supply voltage returns to a normal value, the monitoring module 10 outputs an invalid monitoring signal. The anti-shake module 20 detects whether the fluctuation of the DC power supply voltage falls within the allowable voltage range, that is, whether the fluctuation value of the DC power supply voltage is within the allowable fluctuation range, and is still within the allowable voltage range after the fluctuation of the DC power supply voltage drops , at this time, the anti-shake module 20 determines that the fluctuation of the DC power supply voltage is a jitter signal, and the anti-shake module 20 outputs an effective anti-shake signal to control the normal operation output of the voltage conversion module 30, and the voltage conversion module 30 can still output normal MCU Power supply voltage; when the fluctuation of the DC power supply voltage drops greatly, and the fluctuation of the DC power supply voltage falls beyond the allowable voltage range (for example, the DC power supply voltage drops to 0V instantaneously or the range of the instantaneous drop is too large), the DC power supply voltage is determined at this time. The fluctuation is a non-shaking signal, and it is determined that the DC power supply voltage value at this time is an abnormal voltage value, an invalid anti-shaking signal is output, and the normal operation output of the voltage conversion module 30 is no longer controlled. At this time, the effective monitoring signal output by the monitoring module 10 controls the voltage The conversion module 30 disconnects and outputs the MCU power supply voltage; when the DC power supply voltage returns to the allowable voltage range (including the normal value of the DC power supply voltage), the anti-shake module 20 outputs an effective anti-shake signal.
本实施例的MCU复位控制电路的工作方式为:The mode of operation of the MCU reset control circuit of the present embodiment is:
1、当直流供电电压正常时,监测模块10输出无效监控信号,防抖模块20输出有效防抖信号,电压转换模块30正常工作输出MCU供电电压。1. When the DC power supply voltage is normal, the monitoring module 10 outputs an invalid monitoring signal, the anti-shake module 20 outputs an effective anti-shake signal, and the voltage conversion module 30 works normally to output the MCU power supply voltage.
2、当直流供电电压波动下降,但波动值较小,波动后的直流供电电压在允许电压范围内时,监测模块10输出有效监控信号,但防抖模块20输出有效防抖信号,电压转换模块30在接收到有效监控信号和有效防抖信号,保持MCU供电电压的输出,以使MCU的保持正常工作。2. When the fluctuation of the DC power supply voltage drops, but the fluctuation value is small, and the DC power supply voltage after the fluctuation is within the allowable voltage range, the monitoring module 10 outputs an effective monitoring signal, but the anti-shake module 20 outputs an effective anti-shake signal, and the voltage conversion module 30. After receiving the valid monitoring signal and the valid anti-shake signal, keep the output of the MCU power supply voltage, so as to keep the MCU working normally.
3、当直流供电电压波动下降,且波动值较大(例如直流供电电压瞬间跌落至0V),波动后的直流供电电压超出了允许电压范围,监测模块10输出有效监控信号,防抖模块20输出无效防抖信号,电压转换模块30在接收到有效监控信号和无效防抖信号,断开MCU供电电压的输出,以使MCU的进行复位。对于由MCU供电电压由有到无时控制触发复位的MCU,在断开MCU供电电压的输出时进行复位,对于由MCU供电电压由无到有时控制触发复位的MCU,在直流供电电压恢复到正常值或恢复到允许电压范围内时进行复位。当直流供电电压波动下降超出允许电压范围后,恢复到允许电压范围(包括直流供电电压正常值)时,防抖模块20输出有效防抖信号至电压转换模块30,电压转换模块30恢复正常工作输出MCU供电电压。3. When the DC power supply voltage fluctuates and drops, and the fluctuation value is large (for example, the DC power supply voltage drops to 0V instantaneously), and the fluctuated DC power supply voltage exceeds the allowable voltage range, the monitoring module 10 outputs an effective monitoring signal, and the anti-shake module 20 outputs For the invalid anti-shake signal, the voltage conversion module 30 disconnects the output of the MCU power supply voltage after receiving the valid monitoring signal and the invalid anti-shake signal, so as to reset the MCU. For the MCU whose power supply voltage is changed from yes to no, the reset is performed when the output of the MCU power supply voltage is disconnected. value or returns to the allowable voltage range to reset. When the DC power supply voltage fluctuation drops beyond the allowable voltage range and returns to the allowable voltage range (including the normal value of the DC power supply voltage), the anti-shake module 20 outputs an effective anti-shake signal to the voltage conversion module 30, and the voltage conversion module 30 resumes normal operation and output MCU supply voltage.
本实施例的MCU复位控制电路,通过监控模块、防抖模块20和电源转换模块对MCU供电电压的输出进行控制,以实现对MCU的复位控制,方案简单易实现、成本低,无需占用MCU的I/O口进行复位,占用MCU的资源少,能适用于没有复位接口的MCU,适用性更广;具体的在直流供电电压跌落波动后超出允许电压范围时,使电压转换模块30断开MCU供电电压的输出,以使MCU进行复位,在直流供电电压波动较小,波动后未超出允许电压范围时,不控制进行复位,避免了复位控制过于灵敏而造成误复位操作的情况,更加稳定可靠。The MCU reset control circuit of this embodiment controls the output of the MCU power supply voltage through the monitoring module, the anti-shake module 20 and the power conversion module, so as to realize the reset control of the MCU. The I/O port is reset, which occupies less resources of the MCU, and can be applied to MCUs without a reset interface, and has wider applicability; specifically, when the DC power supply voltage drops and fluctuates and exceeds the allowable voltage range, the voltage conversion module 30 is disconnected from the MCU. The output of the power supply voltage enables the MCU to reset. When the DC power supply voltage fluctuates less and does not exceed the allowable voltage range after the fluctuation, the reset is not controlled, which avoids the reset operation caused by too sensitive reset control, and is more stable and reliable. .
进一步地,参照图2,在第二实施例中,监测模块10包括第一储能单元11、第二储能单元12、第一开关单元13和单向导通单元14,其中:单向导通单元14的导通输入端为监测模块10的输入端,单向导通单元14的导通输出端连接第二储能单元12的充放电端;第一储能单元11的充放电端连接单向导通单元14的导通输入端,第一开关单元13的触发端连接第一储能单元11的充放电端,第一开关单元13的第一导通端连接第二储能单元12的充放电端,第一开关单元13的第二导通端为监测模块10的输出端;第一储能单元11在直流供电端的电压降低时,经直流供电端放电;第一开关单元13在其触发端的电压低于其第一导通端的电压时,其第二导通端输出有效监控信号。Further, referring to FIG. 2, in the second embodiment, the monitoring module 10 includes a first energy storage unit 11, a second energy storage unit 12, a first switch unit 13 and a one-way conduction unit 14, wherein: the one-way conduction unit The conduction input end of 14 is the input end of monitoring module 10, and the conduction output end of unidirectional conduction unit 14 is connected to the charge and discharge end of second energy storage unit 12; The charge and discharge end of first energy storage unit 11 is connected to unidirectional conduction The conduction input terminal of the unit 14, the trigger terminal of the first switch unit 13 is connected to the charge and discharge terminal of the first energy storage unit 11, and the first conduction terminal of the first switch unit 13 is connected to the charge and discharge terminal of the second energy storage unit 12 , the second conduction terminal of the first switch unit 13 is the output terminal of the monitoring module 10; the first energy storage unit 11 discharges through the DC power supply terminal when the voltage of the DC power supply terminal decreases; the voltage of the first switch unit 13 at its trigger terminal When the voltage is lower than the voltage of the first conduction terminal, the second conduction terminal outputs an effective monitoring signal.
监测模块10的工作原理为:MCU复位控制电路的直流供电电压正常时,直流供电端输出电压对第一储能单元11及第二储能单元12充电,则第一储能单元11和第二储能单元12的充放电端的电压相等,第一开关单元13的触发端和第一导通端的电压相等,第一开关单元13的第二导通端输出无效监控信号;当第一储能单元11和第二储能单元12充满电后,直流供电端输出的电压波动下降,则第一储能单元11的充放电端电压高于直流供电端的电压,第一储能单元11经直流供电端放电至与直流供电端的电压相等,而由于第二储能单元12与直流供电端之间具有单向导通单元14,第二储能单元12不进行放电,因此直流供电端输出的电压波动下降时,第二储能单元12的充放电端的电压高于第一储能单元11的充放电端的电压,即第一开关单元13的第一导通端的电压高于其触发端的电压,则第一开关单元13的第二导通端输出有效监控信号。The working principle of the monitoring module 10 is: when the DC power supply voltage of the MCU reset control circuit is normal, the output voltage of the DC power supply terminal charges the first energy storage unit 11 and the second energy storage unit 12, then the first energy storage unit 11 and the second energy storage unit The voltages of the charge and discharge terminals of the energy storage unit 12 are equal, the voltages of the trigger terminal of the first switch unit 13 and the first conduction terminal are equal, and the second conduction terminal of the first switch unit 13 outputs an invalid monitoring signal; when the first energy storage unit 11 and the second energy storage unit 12 are fully charged, the output voltage fluctuation of the DC power supply terminal decreases, and the charge and discharge terminal voltage of the first energy storage unit 11 is higher than the voltage of the DC power supply terminal, and the first energy storage unit 11 passes through the DC power supply terminal. discharge until the voltage of the DC power supply terminal is equal to that of the DC power supply terminal, and because there is a unidirectional conduction unit 14 between the second energy storage unit 12 and the DC power supply terminal, the second energy storage unit 12 does not discharge, so when the voltage fluctuation output by the DC power supply terminal drops , the voltage of the charge and discharge terminal of the second energy storage unit 12 is higher than the voltage of the charge and discharge terminal of the first energy storage unit 11, that is, the voltage of the first conduction terminal of the first switch unit 13 is higher than the voltage of its trigger terminal, then the first switch The second conduction terminal of the unit 13 outputs a valid monitoring signal.
在第二实施例中,防抖模块20包括稳压单元21和第二开关单元22,第一稳压单元21的输入端为防抖模块20的输入端,第一稳压单元21的输出端连接第二开关单元22的触发端,第一开关单元13的第一导通端接地,第一开关单元13的第二导通端为防抖模块20的输出端;稳压单元21在直流供电端的电压下降到超出允许的电压范围时,稳压单元21截止;第二开关单元22在稳压单元21截止时,第二开关单元22的第二导通端输出无效防抖信号。In the second embodiment, the anti-shake module 20 includes a voltage stabilizing unit 21 and a second switch unit 22, the input end of the first voltage stabilizing unit 21 is the input end of the anti-shake module 20, and the output end of the first voltage stabilizing unit 21 Connect the trigger terminal of the second switch unit 22, the first conduction terminal of the first switch unit 13 is grounded, and the second conduction terminal of the first switch unit 13 is the output terminal of the anti-shake module 20; the voltage stabilizing unit 21 is powered by DC When the voltage at the terminal drops below the allowable voltage range, the voltage stabilizing unit 21 is turned off; when the second switch unit 22 is turned off, the second conducting terminal of the second switch unit 22 outputs an invalid anti-shake signal.
防抖模块20的工作原理为:当直流供电电压在允许电压范围内(正常电压在允许电压范围内)时,稳压单元21的输入端的电压大于稳压单元21的导通电压,稳压单元21导通,稳压单元21的输出端有电压,使得第二开关单元22导通,从而第二开关单元22的第二导通端与其第一导通端(接地)连通,即第二开关单元22的第二导通端输出有效防抖信号;当直流供电电压波动下降至超出允许的电压范围时,稳压单元21的输入端的电压小于稳压单元21的导通电压,稳压单元21截止,稳压单元21的输出端无电压,使得第二开关单元22截止,从而第二开关单元22的第二导通端输出无效防抖信号。The working principle of the anti-shake module 20 is: when the DC supply voltage is within the allowable voltage range (the normal voltage is within the allowable voltage range), the voltage at the input terminal of the voltage stabilizing unit 21 is greater than the conduction voltage of the voltage stabilizing unit 21, and the voltage stabilizing unit 21 is turned on, and the output terminal of the voltage stabilizing unit 21 has a voltage, so that the second switch unit 22 is turned on, so that the second conduction terminal of the second switch unit 22 is connected with its first conduction terminal (ground), that is, the second switch The second conducting end of the unit 22 outputs an effective anti-shake signal; when the fluctuation of the DC supply voltage falls beyond the allowable voltage range, the voltage at the input end of the voltage stabilizing unit 21 is less than the conduction voltage of the voltage stabilizing unit 21, and the voltage stabilizing unit 21 When it is turned off, the output end of the voltage stabilizing unit 21 has no voltage, so that the second switch unit 22 is turned off, so that the second conduction end of the second switch unit 22 outputs an invalid anti-shake signal.
在第二实施例中,电压转换模块30包括异常判定单元31、第三开关单元32和电压转换单元33,异常判定单元31的第一信号输入端为电压转换模块30的第一受控端,异常判定单元31的第二信号输入端为电压转换模块30的第二受控端,异常判定单元31的信号输出端连接第三开关单元32的触发端,第三开关单元32的第一导通端接地,第三开关单元32的第二导通端连接电压转换单元33的使能端,电压转换单元33的供电端为电压转换模块30的输入端,电压转换单元33的输出端为电压转换模块30的输出端M_VCC;异常判定单元31在接收到有效监控信号和无效防抖信号时,输出异常信号;第三开关单元32在异常判定单元31输出异常信号时导通,使其第二导通端接地;电压转换单元33在第三开关单元32的第二导通端接地时,电压转换单元33的输出端停止输出。In the second embodiment, the voltage conversion module 30 includes an abnormality determination unit 31, a third switch unit 32 and a voltage conversion unit 33, the first signal input terminal of the abnormality determination unit 31 is the first controlled terminal of the voltage conversion module 30, The second signal input terminal of the abnormality determination unit 31 is the second controlled terminal of the voltage conversion module 30, the signal output terminal of the abnormality determination unit 31 is connected to the trigger terminal of the third switch unit 32, and the first conduction terminal of the third switch unit 32 is terminal grounded, the second conduction end of the third switch unit 32 is connected to the enable terminal of the voltage conversion unit 33, the power supply terminal of the voltage conversion unit 33 is the input terminal of the voltage conversion module 30, and the output terminal of the voltage conversion unit 33 is a voltage conversion The output terminal M_VCC of module 30; Abnormal judging unit 31 outputs abnormal signal when receiving valid monitoring signal and invalid anti-shake signal; The third switch unit 32 is turned on when abnormal judging unit 31 outputs abnormal signal, makes its second conduction The conducting end of the voltage conversion unit 33 is grounded; when the second conducting end of the third switch unit 32 is grounded, the output terminal of the voltage conversion unit 33 stops outputting.
电压转换模块30的工作原理为:异常检测单元接收到有效防抖信号时,异常检测单元的输出端输出低电平,第三开关单元32截止,电压转换单元33正常工作输出MCU供电电压;异常检测单元接收到无效防抖信号和有效监控信号时,异常检测单元的输出端高电平,第三开关单元32导通,电压转换单元33的使能端接地,电压转换单元33停止工作,断开输出MCU供电电压,使MCU进行复位。The working principle of the voltage conversion module 30 is: when the abnormal detection unit receives an effective anti-shake signal, the output terminal of the abnormal detection unit outputs a low level, the third switch unit 32 is cut off, and the voltage conversion unit 33 works normally to output the MCU supply voltage; When the detection unit receives the invalid anti-shake signal and the effective monitoring signal, the output terminal of the abnormality detection unit is at a high level, the third switch unit 32 is turned on, the enabling terminal of the voltage conversion unit 33 is grounded, the voltage conversion unit 33 stops working, and the Open and output the MCU power supply voltage to reset the MCU.
进一步地,参照图3,本实施例的MCU复位控制电路,单向导通单元14包括第一二极管D1,第一储能单元11包括第一电容C1,第二储能单元12包括第二电容C2,第一开关单元13包括PNP型三极管Q1,监测模块还包括第一电阻R1、第二电阻R2和第二二极管D2,其中:Further, referring to FIG. 3 , in the MCU reset control circuit of this embodiment, the unidirectional conduction unit 14 includes a first diode D1, the first energy storage unit 11 includes a first capacitor C1, and the second energy storage unit 12 includes a second Capacitor C2, the first switch unit 13 includes a PNP transistor Q1, and the monitoring module further includes a first resistor R1, a second resistor R2 and a second diode D2, wherein:
第一二极管D1的阳极为监测模块10的输入端,第一二极管D1的阳极还依次经第二二极管D2的阴极、第二二极管D2的阳极和第一电容C1接地,第一电阻R1与第二二极管D2并联,第一二极管D1的阴极经第二电容C2接地;第一PNP型三极管Q1的基极连接第二二极管D2的阳极,第一PNP型三极管Q1的发射极连接第一二极管D1的阴极,第一PNP型三极管Q1的集电极经第二电阻R2接地,第一PNP型三极管Q1的集电极为监测模块10的输出端。为了使得监测模块10的电路更加稳定和可靠,本实施例中第一二极管D1通过电阻R6与第二电容C2连接,并在第一PNP型三极管Q1的基极串接有一个电阻R7。本实施例优选第一开关单元为PNP型三极管Q1;当然,第一开关单元13还可以为其他类型的实现相同功能的开关管,也可以为其他实现相同功能的电路或器件。The anode of the first diode D1 is the input terminal of the monitoring module 10, and the anode of the first diode D1 is grounded through the cathode of the second diode D2, the anode of the second diode D2 and the first capacitor C1 in turn. , the first resistor R1 is connected in parallel with the second diode D2, the cathode of the first diode D1 is grounded through the second capacitor C2; the base of the first PNP transistor Q1 is connected to the anode of the second diode D2, and the first The emitter of the PNP transistor Q1 is connected to the cathode of the first diode D1 , the collector of the first PNP transistor Q1 is grounded through the second resistor R2 , and the collector of the first PNP transistor Q1 is the output terminal of the monitoring module 10 . In order to make the circuit of the monitoring module 10 more stable and reliable, in this embodiment, the first diode D1 is connected to the second capacitor C2 through the resistor R6, and a resistor R7 is connected in series with the base of the first PNP transistor Q1. In this embodiment, the first switch unit is preferably a PNP transistor Q1; of course, the first switch unit 13 can also be other types of switch transistors that realize the same function, or other circuits or devices that realize the same function.
本实施例MCU复位控制电路,稳压单元21包括稳压管ZD,第二开关单元22包括第一NPN型三极管Q2,防抖模块还包括第三电阻R3,稳压管ZD的阴极为防抖模块20的输入端,稳压管ZD的阳极经第三电阻R3连接第一NPN型三极管Q2的基极,第一NPN型三极管Q2的发射极接地,第一NPN型三极管Q2的集电极为防抖模块20的输出端。本实施例优选第二开关单元为第一NPN型三极管Q2;当然,第二开关单元22还可以为其他类型的实现相同功能的开关管,也可以为其他实现相同功能的电路或器件。The MCU reset control circuit of this embodiment, the voltage stabilizing unit 21 includes a voltage stabilizing tube ZD, the second switch unit 22 includes a first NPN transistor Q2, the anti-shake module also includes a third resistor R3, and the cathode of the voltage stabilizing tube ZD is an anti-shake The input terminal of the module 20, the anode of the voltage regulator tube ZD is connected to the base of the first NPN transistor Q2 through the third resistor R3, the emitter of the first NPN transistor Q2 is grounded, and the collector of the first NPN transistor Q2 is for preventing The output terminal of the shaking module 20. In this embodiment, the second switching unit is preferably the first NPN transistor Q2; of course, the second switching unit 22 can also be other types of switching transistors that realize the same function, or other circuits or devices that realize the same function.
本实施例MCU复位控制电路,异常判定单元31包括第四电阻R4和第三二极管D3、第三开关单元32包括第二NPN型三极管Q3和电压转换单元33包括第五电阻R5和电压转换芯片U1,电压转换芯片U1包括电压输入端Vi、电压输出端Vo和使能端EN;第四电阻R4的一端为电压转换模块30的第一受控端S1,第四电阻R4的另一端为电压转换模块30的第二受控端S2,第四电阻R4的另一端还连接第三二极管D3的阳极,第三二极管D3的阴极为异常判定单元31的信号输出端;第二NPN型三极管Q3的基极连接第三二极管D3的阴极,第二NPN型三极管Q3的发射极接地,第二NPN型三极管Q3的集电极连接第五电阻R5的一端,第五电阻R5的另一端连接电压转换芯片U1的电压输入端Vi;电压转换芯片U1的电压输入端Vi为电压转换模块30的输入端;第二NPN型三极管Q3的集电极连接电压转换芯片U1的使能端EN,电压转换芯片U1的电压输出端Vo为电压转换模块30的输出端M_VCC。本实施例优选第三开关单元32为第二PNP型三极管Q3;第三开关单元32还可以为其他类型的实现相同功能的开关管,也可以为其他实现相同功能的电路或器件。In the MCU reset control circuit of this embodiment, the abnormality determination unit 31 includes a fourth resistor R4 and a third diode D3, the third switch unit 32 includes a second NPN transistor Q3, and the voltage conversion unit 33 includes a fifth resistor R5 and a voltage conversion Chip U1, the voltage conversion chip U1 includes a voltage input terminal Vi, a voltage output terminal Vo and an enable terminal EN; one end of the fourth resistor R4 is the first controlled terminal S1 of the voltage conversion module 30, and the other end of the fourth resistor R4 is The second controlled end S2 of the voltage conversion module 30, the other end of the fourth resistor R4 is also connected to the anode of the third diode D3, and the cathode of the third diode D3 is the signal output end of the abnormality determination unit 31; The base of the NPN transistor Q3 is connected to the cathode of the third diode D3, the emitter of the second NPN transistor Q3 is grounded, the collector of the second NPN transistor Q3 is connected to one end of the fifth resistor R5, and the fifth resistor R5 The other end is connected to the voltage input terminal Vi of the voltage conversion chip U1; the voltage input terminal Vi of the voltage conversion chip U1 is the input terminal of the voltage conversion module 30; the collector of the second NPN transistor Q3 is connected to the enabling terminal EN of the voltage conversion chip U1 , the voltage output terminal Vo of the voltage conversion chip U1 is the output terminal M_VCC of the voltage conversion module 30 . In this embodiment, it is preferred that the third switch unit 32 is the second PNP transistor Q3; the third switch unit 32 may also be other types of switch transistors that realize the same function, or other circuits or devices that realize the same function.
参照图2,本实施例的MCU复位控制电路的工作原理为:With reference to Fig. 2, the operating principle of the MCU reset control circuit of the present embodiment is:
1、当直流供电端P_VCC输出的直流供电电压为正常值(以12V为例,以下描述中直流供电电压的正常值都用12V)时,监测模块10的输入端接收12V输入,12V直流电压经第一二极管D1和电阻R6对第二电容C2充电,12V直流电压还经第一电阻R1对第一电容C1充电,第一电容C1和第二电容C2充电完成后,第一电容C1两端的电压和第二电容C2两端的电压相等,因此第一PNP型三极管Q1的基极电压和发射极电压相等,第一PNP型三极管Q1截止,第一PNP型三极管Q1的集电极(即监测模块10的输出端)输出无效监控信号(低电平)。同时,防抖模块20的输入端(稳压管ZD的阴极)接收12V直流电压输入,稳压管ZD导通(稳压管ZD的导通电压小于12V,例如稳压管ZD的导通电压为9V,允许电压范围为9V~12V),第一NPN型三极管Q2的基极电压为高电平,第一NPN型三极管Q2导通,第一NPN型三极管Q2的集电极(即防抖模块20的输出端)输出有效防抖信号(低电平)。电压转换模块30的第四电阻R4的一端(电压转换模块30的第一受控端S1)和另一端(电压转换模块30的第二受控端S2)都为低电平,从而第二NPN型三极管Q3的基极为低电平,第二NPN型三极管Q3截止,电压转换芯片U1的使能端EN为高电平,电压转换芯片U1工作输出MCU供电电压给MCU供电,MCU正常工作。1. When the DC power supply voltage output by the DC power supply terminal P_VCC is a normal value (taking 12V as an example, the normal value of the DC power supply voltage in the following description is 12V), the input terminal of the monitoring module 10 receives 12V input, and the 12V DC voltage is passed through The first diode D1 and the resistor R6 charge the second capacitor C2, and the 12V DC voltage also charges the first capacitor C1 through the first resistor R1. After the first capacitor C1 and the second capacitor C2 are charged, the first capacitor C1 The voltage at the terminal is equal to the voltage at both ends of the second capacitor C2, so the base voltage of the first PNP transistor Q1 is equal to the emitter voltage, the first PNP transistor Q1 is cut off, and the collector of the first PNP transistor Q1 (that is, the monitoring module 10 output) output invalid monitoring signal (low level). At the same time, the input end of the anti-shake module 20 (the cathode of the voltage regulator ZD) receives a 12V DC voltage input, and the voltage regulator ZD is turned on (the conduction voltage of the voltage regulator ZD is less than 12V, such as the conduction voltage of the voltage regulator ZD is 9V, the allowable voltage range is 9V~12V), the base voltage of the first NPN transistor Q2 is high level, the first NPN transistor Q2 is turned on, and the collector of the first NPN transistor Q2 (that is, the anti-shake module 20) to output an effective anti-shake signal (low level). One end (the first controlled terminal S1 of the voltage conversion module 30) and the other end (the second controlled terminal S2 of the voltage conversion module 30) of the fourth resistor R4 of the voltage conversion module 30 are both low level, so that the second NPN The base of the NPN transistor Q3 is at a low level, the second NPN transistor Q3 is cut off, the enable terminal EN of the voltage conversion chip U1 is at a high level, the voltage conversion chip U1 works and outputs the MCU power supply voltage to supply power to the MCU, and the MCU works normally.
2、当直流供电端P_VCC输出的直流供电电压波动下降,但波动下降后的直流供电电压在允许电压范围内,允许电压范围以9V~12V为例,假设波动下降后的直流供电电压为10V;监测模块10的输入端接收10V直流电压输入,第一电容C1两端和第二电容C2两端的电压为12V,大于10V,第一电容C1经第二二极管D2快速放电至10V,但是第二电容C2由于第二二极管D2反向不导通,所以第二电容C2不放电,仍为12V,第一PNP型三极管Q1的发射极电压为12V大于其基极电压10V,第一PNP型三极管Q1导通,第一PNP型三极管Q1的集电极输出有效监控信号(高电平)。防抖模块20的输入端接收10V直流电压输入,10V直流电压大于稳压管ZD的导通电压9V,稳压管ZD导通,第一NPN型三极管Q2的基极为高电平,第一NPN型三极管Q2导通,第一NPN型三极管Q2的集电极输出有效防抖信号(低电平)。电压转换模块30的第一受控端S1为高电平,第二受控端S2为低电平,第二NPN型三极管Q3的基极为低电平,第二NPN型三极管Q3截止,电压转换芯片U1的使能端EN为高电平,电压转换芯片U1正常工作输出MCU供电电压给MCU供电,MCU正常工作。2. When the DC power supply voltage output by the DC power supply terminal P_VCC fluctuates and drops, but the DC power supply voltage after the fluctuation drops is within the allowable voltage range, the allowable voltage range is 9V~12V as an example, assuming that the DC power supply voltage after the fluctuation drops is 10V; The input terminal of the monitoring module 10 receives a 10V DC voltage input, the voltage across the first capacitor C1 and the second capacitor C2 is 12V, greater than 10V, the first capacitor C1 is quickly discharged to 10V through the second diode D2, but the second The second capacitor C2 is non-conductive because the second diode D2 is reversed, so the second capacitor C2 does not discharge, and it is still 12V. The emitter voltage of the first PNP transistor Q1 is 12V greater than its base voltage 10V, and the first PNP transistor Q1 The PNP transistor Q1 is turned on, and the collector of the first PNP transistor Q1 outputs an effective monitoring signal (high level). The input end of the anti-shake module 20 receives a 10V DC voltage input, the 10V DC voltage is greater than the conduction voltage 9V of the Zener transistor ZD, the Zener transistor ZD is turned on, the base of the first NPN transistor Q2 is at a high level, and the first NPN NPN transistor Q2 is turned on, and the collector of the first NPN transistor Q2 outputs an effective anti-shake signal (low level). The first controlled terminal S1 of the voltage conversion module 30 is at a high level, the second controlled terminal S2 is at a low level, the base of the second NPN transistor Q3 is at a low level, the second NPN transistor Q3 is cut off, and the voltage conversion The enable terminal EN of the chip U1 is at a high level, the voltage conversion chip U1 works normally and outputs the MCU power supply voltage to supply power to the MCU, and the MCU works normally.
3、当直流供电端P_VCC输出的直流供电电压波动下降,但波动下降后的直流供电电压超出允许电压范围,允许电压范围以9V~12V为例,假设波动下降后的直流供电电压为8V;监测模块10的输入端接收8V直流电压输入,第一电容C1两端和第二电容C2两端的电压为12V,大于8V,第一电容C1经第二二极管D2快速放电至8V,但是第二电容C2由于第二二极管D2反向不导通,所以第二电容C2不放电,仍为12V,第一PNP型三极管Q1的发射极电压为12V大于其基极电压8V,第一PNP型三极管Q1导通,第一PNP型三极管Q1的集电极输出有效监控信号(高电平)。防抖模块20的输入端接收8V直流电压输入,8V直流电压小于稳压管ZD的导通电压9V,稳压管ZD不导通,第一NPN型三极管Q2的基极为低电平,第一NPN型三极管Q2截止,第一NPN型三极管Q2的集电极输出无效防抖信号(高阻态)。电压转换模块30的第一受控端S1为高电平,第二受控端S2为高阻态,从而第二NPN型三极管Q3的基极为高电平,第二NPN型三极管Q3导通,电压转换芯片U1的使能端EN为低电平,电压转换芯片U1不工作无MCU供电电压输出给MCU供电,对于由MCU供电电压由有到无时控制触发复位的MCU,在此时进行复位。3. When the DC power supply voltage output by the DC power supply terminal P_VCC fluctuates and drops, but the DC power supply voltage after the fluctuation drops exceeds the allowable voltage range, the allowable voltage range is 9V~12V as an example, assuming that the DC power supply voltage after the fluctuation drops is 8V; monitor The input terminal of the module 10 receives 8V DC voltage input, the voltage across the first capacitor C1 and the second capacitor C2 is 12V, greater than 8V, the first capacitor C1 is quickly discharged to 8V through the second diode D2, but the second Capacitor C2 is non-conductive due to the reverse of the second diode D2, so the second capacitor C2 does not discharge and is still 12V. The emitter voltage of the first PNP transistor Q1 is 12V greater than its base voltage 8V. The first PNP transistor Q1 The transistor Q1 is turned on, and the collector of the first PNP transistor Q1 outputs a valid monitoring signal (high level). The input terminal of the anti-shake module 20 receives 8V DC voltage input, the 8V DC voltage is less than the conduction voltage 9V of the voltage regulator ZD, the voltage regulator ZD is not conducting, the base of the first NPN transistor Q2 is at a low level, and the first The NPN transistor Q2 is cut off, and the collector of the first NPN transistor Q2 outputs an invalid anti-shake signal (high impedance state). The first controlled terminal S1 of the voltage conversion module 30 is at a high level, and the second controlled terminal S2 is at a high impedance state, so that the base of the second NPN transistor Q3 is at a high level, and the second NPN transistor Q3 is turned on. The enable terminal EN of the voltage conversion chip U1 is at low level, the voltage conversion chip U1 does not work, and there is no MCU power supply voltage output to supply power to the MCU. For the MCU that is triggered by the MCU power supply voltage from yes to no, reset at this time .
4、当直流供电端P_VCC输出的直流供电电压波动下降超出允许电压范围9V~12V后,恢复到允许电压范围9V~12V时(例如11V),防抖模块20的输入端接收11V直流电压的输入,11V大于稳压管ZD的导通电压9V,稳压管ZD导通,第一NPN型三极管Q2的基极为高电平,第一NPN型三极管Q2导通,第一NPN型三极管Q2的集电极输出有效防抖信号(低电平)。若直流供电电压恢复到12V,则监测模块10的输出端(第一PNP型三极管Q1的集电极)在第一电容C1充满至12V后输出无效监控信号(低电平),若直流供电电压恢复到小于12V(比如11V),则监测模块10输出有效监控信号(高电平)。电压转换模块30的第二受控端S2接收有效防抖信号(低电平),第二NPN型三极管Q3的基极为低电平,第二NPN型三极管Q3截止,电压转换芯片U1的使能端EN为高电平,电压转换芯片U1恢复正常工作,输出MCU供电电压给MCU,MCU恢复正常工作,对于由MCU供电电压由无到有时控制触发复位的MCU,在此时进行复位。4. When the fluctuation of the DC power supply voltage output by the DC power supply terminal P_VCC drops beyond the allowable voltage range of 9V-12V and returns to the allowable voltage range of 9V-12V (for example, 11V), the input terminal of the anti-shake module 20 receives an input of 11V DC voltage , 11V is greater than the conduction voltage 9V of the Zener transistor ZD, the Zener transistor ZD is turned on, the base of the first NPN transistor Q2 is at a high level, the first NPN transistor Q2 is turned on, and the collector of the first NPN transistor Q2 The electrode outputs an effective anti-shake signal (low level). If the DC power supply voltage returns to 12V, the output terminal of the monitoring module 10 (the collector of the first PNP transistor Q1) outputs an invalid monitoring signal (low level) after the first capacitor C1 is fully charged to 12V. to less than 12V (such as 11V), the monitoring module 10 outputs a valid monitoring signal (high level). The second controlled terminal S2 of the voltage conversion module 30 receives an effective anti-shake signal (low level), the base of the second NPN transistor Q3 is at a low level, the second NPN transistor Q3 is cut off, and the voltage conversion chip U1 is enabled Terminal EN is high level, the voltage conversion chip U1 resumes normal operation, outputs the MCU power supply voltage to the MCU, and the MCU resumes normal operation. For the MCU whose power supply voltage is controlled from none to sometimes triggering reset, reset is performed at this time.
本发明还提供一种电视机,该电视机包括MCU和MCU复位控制电路。该复位控制电路可包括上述任一实施例中的技术方案,其详细电路结构可参照图1和图3,在此不做赘述。The invention also provides a TV set, which includes an MCU and an MCU reset control circuit. The reset control circuit may include the technical solutions in any of the above-mentioned embodiments, and its detailed circuit structure may refer to FIG. 1 and FIG. 3 , which will not be repeated here.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process conversion made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technical fields , are all included in the scope of patent protection of the present invention in the same way.
Claims (9)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410401227.7A CN104135691B (en) | 2014-08-14 | 2014-08-14 | MCU reset control circuits and television set |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410401227.7A CN104135691B (en) | 2014-08-14 | 2014-08-14 | MCU reset control circuits and television set |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104135691A CN104135691A (en) | 2014-11-05 |
| CN104135691B true CN104135691B (en) | 2017-12-22 |
Family
ID=51808200
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410401227.7A Expired - Fee Related CN104135691B (en) | 2014-08-14 | 2014-08-14 | MCU reset control circuits and television set |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104135691B (en) |
Families Citing this family (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105158671B (en) * | 2015-05-29 | 2017-12-26 | 杭州长川科技股份有限公司 | time parameter test circuit |
| WO2017206082A1 (en) * | 2016-05-31 | 2017-12-07 | 深圳市锐明技术股份有限公司 | Dc-dc power supply and low-voltage shut off control circuit thereof |
| CN106773905B (en) * | 2016-11-24 | 2019-02-05 | 中国船舶重工集团公司第七一六研究所 | A kind of disappeared based on power supply timing trembles the switching value output circuit of control |
| CN107123383B (en) * | 2017-04-19 | 2023-03-24 | 昆山龙腾光电股份有限公司 | Voltage monitoring device |
| WO2020077976A1 (en) * | 2018-10-15 | 2020-04-23 | 青岛海信电器股份有限公司 | Oled display device, oled television, and power supplying method therefor |
| CN111048036A (en) * | 2018-10-15 | 2020-04-21 | 青岛海信电器股份有限公司 | OLED display device |
| CN109450425B (en) * | 2018-10-18 | 2022-09-06 | 上海海事大学 | Button anti-shake circuit |
| CN109274404B (en) * | 2018-11-16 | 2023-08-22 | 苏州中储普华电力科技有限公司 | LED module signal transmitting circuit based on power line |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN2237912Y (en) * | 1995-11-02 | 1996-10-16 | 孟利民 | Automatic connecting protector for audiovisual equipment |
| CN101346965A (en) * | 2005-12-20 | 2009-01-14 | 苹果公司 | Portable media player as a low power remote control and method therefor |
| CN202334732U (en) * | 2011-11-18 | 2012-07-11 | 深圳创维-Rgb电子有限公司 | Protection circuit and television |
| CN202496004U (en) * | 2012-03-15 | 2012-10-17 | 深圳创维-Rgb电子有限公司 | Reset circuit and television |
| CN102778849A (en) * | 2012-08-01 | 2012-11-14 | Tcl通力电子(惠州)有限公司 | On-off control circuit, electronic equipment and on-off control method |
| CN102790375A (en) * | 2012-08-06 | 2012-11-21 | 上海诺雅克电气有限公司 | Direct current undervoltage release and circuit breaker |
| CN102944730A (en) * | 2012-11-05 | 2013-02-27 | 深圳创维-Rgb电子有限公司 | Automatic detection device for voltage abnormal state |
| CN103457346A (en) * | 2012-06-01 | 2013-12-18 | 研祥智能科技股份有限公司 | Power supply system and power supply redundant control circuit thereof |
| CN103633744A (en) * | 2012-08-29 | 2014-03-12 | 朴明俊 | Power supply |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB9405914D0 (en) * | 1994-03-24 | 1994-05-11 | Discovision Ass | Video decompression |
-
2014
- 2014-08-14 CN CN201410401227.7A patent/CN104135691B/en not_active Expired - Fee Related
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN2237912Y (en) * | 1995-11-02 | 1996-10-16 | 孟利民 | Automatic connecting protector for audiovisual equipment |
| CN101346965A (en) * | 2005-12-20 | 2009-01-14 | 苹果公司 | Portable media player as a low power remote control and method therefor |
| CN202334732U (en) * | 2011-11-18 | 2012-07-11 | 深圳创维-Rgb电子有限公司 | Protection circuit and television |
| CN202496004U (en) * | 2012-03-15 | 2012-10-17 | 深圳创维-Rgb电子有限公司 | Reset circuit and television |
| CN103457346A (en) * | 2012-06-01 | 2013-12-18 | 研祥智能科技股份有限公司 | Power supply system and power supply redundant control circuit thereof |
| CN102778849A (en) * | 2012-08-01 | 2012-11-14 | Tcl通力电子(惠州)有限公司 | On-off control circuit, electronic equipment and on-off control method |
| CN102790375A (en) * | 2012-08-06 | 2012-11-21 | 上海诺雅克电气有限公司 | Direct current undervoltage release and circuit breaker |
| CN103633744A (en) * | 2012-08-29 | 2014-03-12 | 朴明俊 | Power supply |
| CN102944730A (en) * | 2012-11-05 | 2013-02-27 | 深圳创维-Rgb电子有限公司 | Automatic detection device for voltage abnormal state |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104135691A (en) | 2014-11-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104135691B (en) | MCU reset control circuits and television set | |
| CN102186041B (en) | Voltage sag processing circuit and electronic equipment | |
| CN103944254B (en) | Power-down protection circuit and equipment | |
| CN105984400B (en) | A kind of vehicle power supply switching device | |
| CN104020705A (en) | Power monitoring circuit with resetting function | |
| CN113885636B (en) | Input voltage range adjustable protection circuit | |
| JP2021503873A (en) | NFC antenna power acquisition device | |
| CN103529723A (en) | Triggering jitter prevention time switch circuit with zero static power consumption | |
| CN115576406A (en) | Power-down detection and power supply maintenance function circuit and electronic equipment | |
| CN209265378U (en) | Reset circuit and display terminal | |
| CN1913272B (en) | Input undervoltage or overvoltage protection circuit | |
| CN111478685A (en) | Power-on anti-shake circuit and electronic equipment | |
| CN106484648B (en) | Communication equipment, system and data sending and receiving method | |
| CN106786834B (en) | Control circuit of bluetooth equipment | |
| TWI640162B (en) | Reset circuit and electronic equipment | |
| CN110445242B (en) | Power supply switching circuit | |
| CN210627124U (en) | Watchdog recovery circuit | |
| CN207965806U (en) | System and electronic equipment are restarted in power supply | |
| CN211018784U (en) | Time delay circuit and electronic device | |
| CN221202201U (en) | Protection circuit for preventing battery equipment from overdischarging | |
| CN209170009U (en) | Power circuits and electronic equipment | |
| CN107425599B (en) | Surge protection circuit for power supply compensator | |
| CN117293972A (en) | A protection circuit for preventing over-discharge of battery equipment | |
| CN217824233U (en) | Voltage protection circuit and electric equipment | |
| CN109164746A (en) | A kind of lower electric sequential control circuit and power circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20210713 Address after: Room 821, No. 333, jiufo Jianshe Road, Zhongxin Guangzhou Knowledge City, Huangpu District, Guangzhou, Guangdong 510000 Patentee after: Skyworth Group Intelligent Technology Co.,Ltd. Address before: No.99, Kaida Road, Guangzhou Economic and technological development science and Technology City, Guangzhou, Guangdong 510000 Patentee before: GUANGZHOU SKYWORTH FLAT DISPLAY TECHNOLOGY Co.,Ltd. |
|
| TR01 | Transfer of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171222 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |