CN109597701A - A kind of device that communication module is restarted automatically - Google Patents

A kind of device that communication module is restarted automatically Download PDF

Info

Publication number
CN109597701A
CN109597701A CN201811234833.9A CN201811234833A CN109597701A CN 109597701 A CN109597701 A CN 109597701A CN 201811234833 A CN201811234833 A CN 201811234833A CN 109597701 A CN109597701 A CN 109597701A
Authority
CN
China
Prior art keywords
communication module
electrically connected
circuit
reset
voltage
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.)
Granted
Application number
CN201811234833.9A
Other languages
Chinese (zh)
Other versions
CN109597701B (en
Inventor
鲍雨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Quectel Wireless Solutions Co Ltd
Original Assignee
Quectel Wireless Solutions Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Quectel Wireless Solutions Co Ltd filed Critical Quectel Wireless Solutions Co Ltd
Priority to CN201811234833.9A priority Critical patent/CN109597701B/en
Publication of CN109597701A publication Critical patent/CN109597701A/en
Application granted granted Critical
Publication of CN109597701B publication Critical patent/CN109597701B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The present embodiments relate to the communications fields, disclose a kind of device that communication module is restarted automatically.The device that communication module is restarted automatically in the present invention includes: watchdog chip, reset circuit, resets and force control circuit and boot-strap circuit;The input terminal of watchdog chip is electrically connected with the feeding-dog signal output end of communication module, and the reset signal output end of watchdog chip is electrically connected with the control terminal of reset circuit;It resets and the input terminal of control circuit is forced to be electrically connected with the external voltage output end of communication module;In the case that the input terminal of watchdog chip does not receive feeding-dog signal within a preset time, reset signal output end output reset signal controls being electrically connected between external power supply and communication module by reset signal;It resets and forces control circuit the case where communication module is in battery saving mode, control external power supply as communication module power supply.It the invention enables there is the case where program fleet in communication module, can accurately be restarted automatically, improve the safety of communication module.

Description

A kind of device that communication module is restarted automatically
Technical field
The present embodiments relate to the communications field, in particular to a kind of device that communication module is restarted automatically.
Background technique
Current communication module (such as 2G, 3G and 4G module) is divided into standard module and open source CPU (referred to as " openCPU ") Module, standard module are generally used cooperatively, usual MCU with micro-control unit (Microcontroller Unit, referred to as " MCU ") As main equipment, and standard module is used as from equipment;In the case where program fleet occurs in standard module, can be weighed by MCU Open the standard module.OpenCPU module cooperates without individual MCU, and openCPU module can be used as main equipment and control itself, Other equipment can also be controlled.
At least there are the following problems in the prior art for inventor's discovery: at present using NB-IoT module as openCPU mould Block, and NB-IoT module the case where there is also program fleets, the side usually being connect by NB-IoT module with watchdog chip Formula restarts NB-IoT module, still, since NB-IoT module is when under battery saving mode, the NB-IoT module Kernel is in power-down state, causes NB-IoT module that cannot send feeding-dog signal to watchdog chip, watchdog chip is default Feeding-dog signal is not received in time, then can think program fleet in NB-IoT module, and then accidentally restarted, leverage The operation of NB-IoT module;Watchdog chip accidentally restarts NB-IoT module in order to prevent, then controls NB-IoT module not Into battery saving mode, and this will considerably increase the power consumption of NB-IoT module.
Summary of the invention
Embodiment of the present invention is designed to provide a kind of device being restarted automatically, so that there is program in communication module It runs in the case where flying, can accurately be restarted automatically, improve the safety and applicability of communication.
In order to solve the above technical problems, embodiments of the present invention provide a kind of device that communication module is restarted automatically, Include: watchdog chip, reset circuit, reset and control circuit and boot-strap circuit, boot-strap circuit is forced to be electrically connected with communication module; The input terminal of watchdog chip is electrically connected with the feeding-dog signal output end of communication module, the reset signal output end of watchdog chip It is electrically connected with the control terminal of reset circuit;The input terminal of reset circuit is electrically connected with external power supply, the output end of reset circuit with The power input of communication module is electrically connected;Reset the external voltage output end of the input terminal and communication module of forcing control circuit Electrical connection resets and the output end of control circuit is forced to be electrically connected with the control terminal of reset circuit;The input terminal of watchdog chip exists In the case where not receiving feeding-dog signal in preset time, reset signal output end output reset signal passes through reset signal control Being electrically connected between external power supply processed and communication module, wherein boot-strap circuit is automatically turned in the case where communication module has electricity Communication module;It resets and forces control circuit in the case where communication module is in battery saving mode, control external power supply is communication mould Block power supply.
Embodiment of the present invention in terms of existing technologies, in the case where communication module is in operating mode, communicates After module sends feeding-dog signal to watchdog chip, pass through the reset signal control of the reset signal output end output of watchdog chip Reset circuit processed, and being electrically connected between external power supply and communication module is controlled by reset circuit, and boot-strap circuit is in communication mould In the case that block has electricity, can voluntarily open communication module, communication module is restarted to realize;And at communication module In the case where battery saving mode, control circuit is forced to control external power supply for communication module power supply, due to communicating mould by resetting Block in a power-save mode, can not export feeding-dog signal, force control circuit to control external power supply as communication module confession by resetting Electricity, the input terminal for efficiently avoiding feeding dog chip does not receive feeding-dog signal, and the behaviour of power-off restarting is carried out to communication module Make.So that state no matter be in the case where there is program fleet in communication module, weight can be accurately carried out It opens, improves the safety of communication module.
In addition, reset circuit includes: power switch tube and first resistor;Input terminal and the external power supply electricity of power switch tube Connection, the output end of power switch tube is electrically connected with the power input of communication module, the control terminal of power switch tube with guard the gate The reset signal output end of dog chip is electrically connected;The both ends of the first resistor control terminal with external power supply and power switch tube respectively Electrical connection.Reset circuit uses power switch tube, the opening and closing of the power switch tube is controlled by reset signal, and then realize and reset Being electrically connected between signal control external power supply and communication module;Implementation is simple, while first resistor is arranged in external electrical It, can be with the voltage of steady external source of power between source and the control terminal of power switch tube.
In addition, resetting pressure control circuit includes: first voltage pull-up component and at least two triodes;Communication module External voltage output end is electrically connected with the grid of the first triode, the grid electricity of the collector of the first triode and the second triode Connection, the collector of the second triode are electrically connected with the control terminal of reset circuit, the transmitting of the first triode and the second triode Extremely it is grounded;The first end of first voltage pull-up component is electrically connected with the power input of communication module, first voltage pull-up group The second end of part is electrically connected with the grid of the second triode.It resets and the first triode and the second triode in control circuit is forced to be matched It closes and uses, in the case where the input of the first triode no signal, pulling up component by first voltage may insure that external power supply is Communication module power supply, meanwhile, the second triode is in the case where communication module is in operating mode, isolation the first triode output The control terminal voltage of voltage and reset circuit, so that in the case where communication module is in operating mode, the control of reset circuit Voltage stabilization is held, is not influenced by the first triode output voltage.
In addition, boot-strap circuit includes: energy-storage units and current control unit;The first end of current control unit with communicate mould The power input of block is electrically connected, and the first end ground connection of energy-storage units, the second end and energy-storage units of current control unit is electrically connected It connects;Node between current control unit and energy-storage units is electrically connected with the booting port of communication module;Wherein, energy-storage units exist It fills after capable of finishing, open communication module, current control unit is in the case where communication module is restarted, control energy-storage units conducting And discharge electric energy.Making communication module by energy-storage units, energy-storage units charge after the power-up, after fully charging, from Dynamic open communication module, realizes the Auto Power On of communication module, meanwhile, current control unit can control energy-storage units electric discharge Current direction.
In addition, current control unit is diode, energy-storage units are first capacitor;The anode of diode and first capacitor First end electrical connection, the cathode of diode are electrically connected with the power input of communication module;The second end of first capacitor is grounded.Electricity Flow control unit uses diode, and energy-storage units use first capacitor, so that boot-strap circuit is realized simply, it is easy to operate.
In addition, the device that communication module is restarted automatically further include: discharge circuit;The control terminal and reset circuit of discharge circuit Control terminal electrical connection, the first end of discharge circuit is connected electrically in the output end of reset circuit and the power input of communication module Between, the second end of discharge circuit is grounded;Discharge circuit discharges the energy in energy-storage units in communication module restarting process. By discharge circuit, so that the electric energy of energy-storage units is quickly bled off, communication module is avoided the occurrence of and exists after communication module power-off Successful situation cannot be restarted because of the electric energy of energy-storage units after re-powering.
In addition, the device that communication module is restarted automatically further include: voltage conversion circuit;The input terminal electricity of voltage conversion circuit It is connected between the input terminal of watchdog chip and the feeding-dog signal output end of communication module, is fed for export communication module The required voltage matches of dog signal voltage and watchdog chip.Since the voltage of communication module output exists and watchdog chip institute The unmatched situation of voltage is needed, electricity needed for the voltage signal and watchdog chip that communication module are exported by voltage conversion circuit Pressure matching, it is ensured that the normal operation of watchdog chip.
In addition, voltage conversion circuit includes: third transistor and second voltage pull-up component.The grid of third transistor with The electrical connection of feeding-dog signal output end, the collector of third transistor are electrically connected with the input terminal of watchdog chip, third transistor Emitter ground connection;The first end of second voltage pull-up component is electrically connected with external power supply, and second voltage pulls up the second of component End is electrically connected with the collector of third transistor.It is used cooperatively by third transistor and second voltage pull-up resistor, realizes electricity The conversion of pressure is realized simply, at low cost.
In addition, boot-strap circuit is delay chip.Boot-strap circuit is directly delay chip, realizes communication mould by delay chip The Auto Power On of block, circuit design are simple.
Detailed description of the invention
One or more embodiments are illustrated by the picture in corresponding attached drawing, these exemplary theorys The bright restriction not constituted to embodiment, the element in attached drawing with same reference numbers label are expressed as similar element, remove Non- to have special statement, composition does not limit the figure in attached drawing.
Fig. 1 is the specific knot for the device that a kind of communication module provided in first embodiment according to the present invention is restarted automatically Structure schematic diagram;
Fig. 2 is house dog in device that a kind of communication module provided in first embodiment according to the present invention is restarted automatically The working sequence schematic diagram of chip;
Fig. 3 is the specific knot for the device that a kind of communication module provided in second embodiment according to the present invention is restarted automatically Structure schematic diagram.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each embodiment party of the present invention In formula, in order to make the reader understand this application better, many technical details are proposed.But even if without these technical details And various changes and modifications based on the following respective embodiments, the application technical solution claimed also may be implemented.
The first embodiment of the present invention is related to a kind of devices that communication module is restarted automatically.The communication module is restarted automatically Device be used cooperatively with communication module, so that it is guaranteed that communication module in the case where program fleet, can be restarted, be avoided Communication module is in the state to crash.The device that the communication module is restarted automatically include: watchdog chip 10, reset circuit 20, It resets and control circuit 30 and boot-strap circuit 40, boot-strap circuit 40 is forced to be electrically connected with communication module 50.Communication module is restarted automatically Device and communication module 50 specifically connect it is as shown in Figure 1;In present embodiment, communication module 50 is by taking NB-IoT module as an example It is illustrated.
The input terminal of watchdog chip 10 is electrically connected with the feeding-dog signal output end of communication module 50, watchdog chip 10 Reset signal output end is electrically connected with the control terminal of reset circuit 20;The input terminal of reset circuit 20 is electrically connected with external power supply, The output end of reset circuit 20 is electrically connected with the power input of communication module 50;Reset force control circuit 30 input terminal with The external voltage output end of communication module 50 is electrically connected, and resets the control for forcing the output end and reset circuit 20 of control circuit 30 End electrical connection.
Specifically, watchdog chip 10 is many kinds of, and different watchdog chips 10 has the quantity of port different, Select watchdog chip as shown in Figure 1, certainly, be not limited in present embodiment in practical application in the present embodiment Watchdog chip 10.As shown in Figure 1, the power port (i.e. vdd terminal mouth in Fig. 1) of the watchdog chip 10 and external power supply electricity It connects, the VIN in Fig. 1 is the output port of external power supply, as shown in Figure 1, electricity can be arranged between external power supply and VDD Hold C1, for decoupling, it is ensured that the stable power-supplying of external power supply.Grounding ports (the i.e. end GND in Fig. 1 of the watchdog chip 10 Mouthful) ground connection, 20 control terminal of the reset output terminal (i.e. in Fig. 1 /port RESET) and reset circuit of watchdog chip 10 (i.e. C point position in Fig. 1) electrical connection, the input terminal (port WDI in Fig. 1) of watchdog chip 10 and feeding for communication module 50 Dog signal output end (i.e. the port NB-WDI in Fig. 1) electrical connection, wherein watchdog chip 10 further includes a hand-reset end Mouthful (i.e. in Fig. 1 /port MR), which can empty.
Reset circuit 20 is discussed in detail in present embodiment respectively below and resets and forces control circuit 30.
In one concrete implementation, reset circuit 20 includes: power switch tube 201 and first resistor 202;Power switch tube 201 input terminal (i.e. end where A point in Fig. 1) is electrically connected with external power supply, and the output end of power switch tube 201 is (i.e. in Fig. 1 End where B point) it is electrically connected, the control of power switch tube 201 with the power input (i.e. the port VBAT in Fig. 1) of communication module 50 End (i.e. end where C point in Fig. 1) processed is electrically connected with the reset signal output end (i.e./port RESET) of watchdog chip 10;The 202 both ends of one resistance are electrically connected with the control terminal of external power supply and power switch tube 201 respectively.
Specifically, power switch tube 201 can be MOS memory (metal oxide Semiconductor, referred to as " metal-oxide-semiconductor "), since power switch tube 201 is used to control the electricity of external power supply Yu communication module 50 Conducting and disconnection between the input terminal of source, and the power of General N metal-oxide-semiconductor is inadequate, there are problems that being turned on or off in time, Thus power switch tube 201 uses PMOS tube, to ensure to have the power supply of enough power control outer power supply and communication module 50 Conducting and disconnection between input terminal.It is height since the/port RESET enables significant level, power switch tube 201 is PMOS tube, One triode (Q1 as shown in figure 1) can be then set between power switch tube 201 and the/port RESET, converted by Q1 defeated Voltage out, so that by the turn-on and turn-off of control power switch tube 201, to realize control external power supply and communication module The on-off of electrical connection between 50, it is to be understood that in the port VBAT of communication module 50 and the output of power switch tube 201 Decoupling circuit 60 is arranged between (end where B point) in end, and decoupling circuit 60 is formed in parallel using multiple capacitors, the number of shunt capacitance It can according to need and be configured, for example, 2 or 3 or more;In present embodiment by the way of three shunt capacitances (such as C3, C4 and C5 in Fig. 1), pass through decoupling circuit 60, it can be ensured that the stable power-supplying of communication module 50;In addition, in external power supply Between reset circuit 20 can one or more capacitors in parallel, for stablizing the voltage of input, as shown in Figure 1, this embodiment party 1 capacitor C2 of parallel connection in formula.
It is understood that reset circuit 20 is not limited to mode cited in present embodiment, it can also include other Mode, as long as reset circuit 20 can control the electrical connection between external power supply and communication module 50 be in the application side Case.
Resetting pressure control circuit 30 includes: first voltage pull-up component 301 and at least two triodes, of triode Number, which can according to need, to be selected, and is illustrated by taking two triodes as an example in present embodiment.The outside of communication module 50 Voltage output end (i.e. the port VDD-EXT) is electrically connected with the grid of the first triode 302, the collector of the first triode 302 with The grid of second triode 303 is electrically connected, and the collector of the second triode 303 is electrically connected with the control terminal of reset circuit 20, the The emitter of one triode 302 and the second triode 303 is grounded;First voltage pull-up component 301 first end with communicate mould The power input (port VBAT) of block 50 is electrically connected, and first voltage pulls up the second end and the second triode 303 of component 301 Grid electrical connection.Wherein, the collector in the second triode 303 is electrically connected with the control terminal of reset circuit 20.
It should be noted that the port VDD-EXT, in the state that communication module 50 is in operating mode, output high level is believed Number, the port VDD-EXT exports low level signal in the state that communication module 50 is in battery saving mode.
Specifically, the first triode 302 and the second triode 303 can use NPN type, can also use positive-negative-positive.This In embodiment by taking the triode of NPN type as an example.First triode and 302 should be identical with the type of the second triode 303.The One voltage pulls up component 301 can be in series for a pull-up resistor or this multiple pull-up resistor, and present embodiment uses one A pull-up resistor constitutes first voltage and pulls up component 301, as shown in Figure 1.
The input terminal (i.e. the port P1 in Fig. 1) of boot-strap circuit 40 and the booting port of communication module 50 are (i.e. in Fig. 1 PWRKEY it) being electrically connected, booting port is electrically connected with the operating voltage port (i.e. vdd terminal mouth in Fig. 1) in communication module 50, when So, a resistance R2, certainly, grounding ports (such as Fig. 1 of boot-strap circuit 40 can be set between booting port and vdd terminal mouth In the port GND) ground connection.Boot-strap circuit 40 automatically turns on communication module 50, this implementation in the case where communication module 50 has electricity In mode, boot-strap circuit 40 can be delay chip, wherein in the case that there is electricity in the port VBAT, vdd terminal mouth has electricity, passes through Delay chip, delayed startup communication module 50 start communication module 50 without artificial long-pressing power button.
It is understood that the device that communication module is restarted automatically further include: voltage conversion circuit 70;Voltage conversion circuit 70 input terminal is connected electrically between the input terminal of watchdog chip 10 and the feeding-dog signal output end of communication module 50, and being used for will The required voltage matches of feeding-dog signal voltage and watchdog chip 50 that communication module 50 exports.
Specifically, voltage conversion circuit 70 includes: third transistor 701 and second voltage pull-up component 702.Three or three The grid of pole pipe 701 is electrically connected with the feeding-dog signal output end of communication module 50, the collector of third transistor 701 and house dog The input terminal of chip 10 is electrically connected, the emitter ground connection of third transistor 701;Second voltage pulls up first end and the outside of component The second end of power electric connection, second voltage pull-up component 702 is electrically connected with the collector of third transistor 701.Wherein, second Voltage, which pulls up component 702, to be a resistance, can also connect to be formed with more than two resistance;The 701 of third transistor Type can be NPN type, or positive-negative-positive, the second voltage pull-up component 702 in present embodiment use a resistance, Third transistor 701 uses NPN type, and in practical application, second voltage pulls up component 702 and third transistor 701 can root According to being selected.The feeding-dog signal output end of communication module 50 exports feeding-dog signal, and third transistor 701 is connected, third The voltage of the collector of triode 701 is raised, meanwhile, second voltage pull-up component 702 also pulls up third transistor 701 simultaneously Collector voltage, thus the required voltage of the feeding-dog signal voltage that communication module 50 is exported and watchdog chip 50 Match, realizes the conversion of voltage.
It is finished when the device that the communication module is restarted automatically is connect with communication module 50, and after powering on, watchdog chip 10 Input terminal do not receive feeding-dog signal within a preset time in the case where, reset signal output end output reset signal passes through Being electrically connected between reset signal control external power supply and communication module 50;It resets and forces control circuit 30 at communication module 50 In the case where battery saving mode, external power supply is controlled as the power supply of communication module 50.
Below with reference to 10 working sequence Fig. 2 of watchdog chip and attached drawing 1, it is discussed in detail what the communication module was restarted automatically The working principle of device.
Fig. 2 is the working timing figure of watchdog chip 10, when the supply voltage of vdd terminal mouth is more than that voltage preset threshold (should Voltage preset threshold is Vit) after the Td time, reset signal output end (port /RESET) exports high level, meanwhile, house dog core Timer in piece 10 starts timing, if in preset time (i.e. Tout in Fig. 2), the input terminal (WDI of watchdog chip 10 Port) receive feeding-dog signal, then/one disposed upright of the port RESET is high;If the port WDI of watchdog chip 10 does not connect in Tout Feeding-dog signal is received, then/port RESET will be set to low level, and continue the time of Td, and later/port RESET is set to high electricity again It is flat, wait the timing to next preset time, wherein in Fig. 2, it is undefined voltage that front and back, which there are two sections,.
The output port VIN of external power supply is started power up, and is powered for watchdog chip 10, and watchdog chip 10 starts work Make, before the input terminal of the rigid starting of watchdog chip 10 and the watchdog chip 10 does not receive feeding-dog signal, the port /RESET The high level of default output Tout duration, at this point, Q1 is connected, C point voltage is low, the conducting of power switch tube 201, communication module 50 It powers on.
After there is electricity in the port communication module VBAT, VDD has electricity, at this time the port PWRKEY because delay chip presence so that The port PWEKEY can maintain the low level of a period of time, and the voltage of the port PWRKEY slowly gos up later, and maintains high level, from And communication module 50 is started by boot-strap circuit 40.After communication module 50 is switched on, in the preset time of watchdog chip 10, lead to The port NB-WDI output feeding-dog signal is crossed, which can be that communication module 50 is arranged by software, and feeding-dog signal can be with Using the pulse-width signal (pwm signal) with certain duty ratio, the input terminal of watchdog chip 10 receives feeding-dog signal ,/ RESET persistently exports high level signal, and Q1 conducting, power switch tube 201 is connected, so that communication module 50 persistently has electricity.
If the communication module 50 occurs crashing or situations such as program fleet, the port NB-WDI of communication module 50 cannot be defeated Feeding-dog signal out, at this point, since the input terminal of watchdog chip 10 does not receive feeding-dog signal within a preset time ,/RESET Low level signal is exported, Q1 is not turned on, and the voltage of C point is height, is not turned on to control power switch tube 201, at this time no-voltage Output to the port VBAT, communication module 50 powers off.After/the port RESET continues output low level in the Td time, output is high again Level, Q1 conducting, power switch tube 201 are connected, and communication module 50 re-powers, and by delay chip, reopens the communication Module 50.
It should be noted that the output of the port VDD-EXT is high when the port NB-WDI of communication module 50 exports feeding-dog signal Level, at this point, the first triode 302 is connected, the current collection extremely low level of the first triode 302, the second triode 303 is not led Logical, the second triode 303 plays buffer action, and the voltage for preventing the port VDD-EXT from exporting interferes the voltage of C point.
If after communication module 50 switches to battery saving mode from operating mode, kernel in the communication module 50 will no longer work Make, the port NB-WDI of communication module 50 can not export feeding-dog signal at this time, and the port VDD-EXT does not have signal to export or export Low level signal resets the first triode 302 shutdown forced in control circuit 30, pulls up component 301 by first voltage, make The second triode 303 conducting so that the voltage of 20 control terminal of reset circuit (C point) be it is low so that in reset circuit 20 Power switch tube 201 be connected, thus for communication module 50 power.Due to watchdog chip 10 /port RESET output letter Before number, the voltage of C point is clamped down on by the second triode 303, and the voltage of C point is pulled low, thus, no matter/port RESET is defeated Which kind of signal out, cannot all influence the voltage of C point, to ensure that under battery saving mode, communication module 50 will not power down, missed Restart.
When communication module 50 is switched to operating mode from battery saving mode, the port the VDD-EXT output of communication module 50 is High level, the conducting of the first triode 302, the second triode 303 are not turned on, the current collection extremely vacant state of the second triode 303, C point voltage by watchdog chip 10 /reset signal of the port RESET determines.
It should be noted that there are two states for watchdog chip 10:
State one: when watchdog chip 10 /RESET output reset signal be low level state when, in the Td time It is interior, do not start to preset time timing, communication module 50 is waken up from battery saving mode, the port the WDI output of communication module 50 For feeding-dog signal to watchdog chip 10 ,/RESET exports high level, Q1 conducting, and C point voltage is low, the conducting of power switch tube 201.
State two: when watchdog chip 10 /RESET output reset signal be high level state when, Tout timing In time, start timing T time,
Assuming that communication module 50 switches to operating mode from battery saving mode, and the time for exporting feeding-dog signal is Tw;
If Tout-T > Tw, then workflow such as state one, details are not described herein again;
If Tout-T≤Tw, i.e., feeds dog chip 10 until Tout time-out at this time and all confiscate feeding-dog signal, feed dog chip 10 can enter it is next restart the period, i.e., the reset signal of/port RESET is first set to low level, and continue the Td time, then set For high level, and start to preset time T out timing.
Embodiment of the present invention in terms of existing technologies, in the case where communication module is in operating mode, communicates After module sends feeding-dog signal to watchdog chip, pass through the reset signal control of the reset signal output end output of watchdog chip Reset circuit processed, and being electrically connected between external power supply and communication module is controlled by reset circuit, and boot-strap circuit is in communication mould In the case that block has electricity, can voluntarily open communication module, communication module is restarted to realize;And at communication module In the case where battery saving mode, control circuit is forced to control external power supply for communication module power supply, due to communicating mould by resetting Block in a power-save mode, can not export feeding-dog signal, force control circuit to control external power supply as communication module confession by resetting Electricity, the input terminal for efficiently avoiding feeding dog chip does not receive feeding-dog signal, and the behaviour of power-off restarting is carried out to communication module Make.So that state no matter be in the case where there is program fleet in communication module, weight can be accurately carried out It opens, improves the safety of communication module.
Second embodiment of the present invention is related to a kind of device that communication module is restarted automatically.Second embodiment is to The further improvement of one embodiment, mainly thes improvement is that: in second embodiment of the invention, boot-strap circuit 40 includes Energy-storage units 401 and current control unit 402, meanwhile, the device which is restarted automatically further includes discharge circuit 80.
One concrete implementation kind, boot-strap circuit 40 include: energy-storage units 401 and current control unit 402;Current control The first end of unit 401 is electrically connected, energy-storage units 401 with the power input (i.e. the port VBAT in Fig. 3) of communication module 50 First end ground connection, current control unit 402 second end and energy-storage units 401 electrical connection;Current control unit 401 and energy storage Node between unit 402 is electrically connected with the booting port (i.e. the port PWRKEY in Fig. 3) of communication module 50;Wherein, energy storage Unit 401 is after filling and can finish, open communication module 50, current control unit 402 in the case where communication module 50 is restarted, Control energy-storage units 401 are connected and discharge electric energy.
Specifically, current control unit 402 can be diode, and energy-storage units 401 are first capacitor;Diode is just Pole is electrically connected with the first end of first capacitor, and the cathode of diode is electrically connected with the power input of communication module 50;First electricity The second end of appearance is grounded.Specific connection is as shown in Figure 3.
In order to improve the success rate that communication module is restarted, the device that communication module is restarted automatically further include: discharge circuit 80; The control terminal of the discharge circuit 80 is electrically connected with the control terminal of reset circuit 20, and the first end of discharge circuit 80 is connected electrically in reset Between the output end of circuit 20 and the power input of communication module 50, the second end of discharge circuit 80 is grounded;Discharge circuit 80 In 50 restarting process of communication module, the energy in energy-storage units 401 is discharged.
Specifically, in the case where being in power-off for communication module 50, discharge circuit 80 starts to discharge energy-storage units 401 In energy, power switch tube 801 can be increased in discharge circuit 80, as shown in figure 3, power switch tube in present embodiment 801 use NPN type, i.e. power switch tube 201 in the type of power switch tube in the discharge circuit 80 and reset circuit 20 Type it is opposite.Discharge circuit 80 further includes discharge assembly 802, which can use resistance, and resistance is most simple Arresting element, the first end of discharge resistance 802 is electrically connected with the drain electrode of power switch tube 801, the second end of discharge resistance 802 It is connected between the output end of reset circuit 20 and decoupling circuit 60, the control of the grid and reset circuit 20 of power switch tube 801 End electrical connection processed, the source electrode ground connection of power switch tube 801.
When the voltage of the control terminal (C point) of reset circuit 20 is high, power switch tube 201 is not turned on, communication module 50 Power-off, meanwhile, power switch tube 801 is connected, and allows discharge resistance 802 by current control unit 402 from energy-storage units Electric energy is discharged in 401.
In present embodiment, by discharge circuit, so that the electric energy of energy-storage units is quickly put after communication module power-off Fall, successful situation cannot restarted because of the electric energy of energy-storage units after re-powering by avoiding the occurrence of communication module.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific embodiments of the present invention, And in practical applications, can to it, various changes can be made in the form and details, without departing from the spirit and scope of the present invention.

Claims (9)

1. a kind of device that communication module is restarted automatically characterized by comprising watchdog chip, reset circuit are resetted and forced Control circuit and boot-strap circuit, the boot-strap circuit are electrically connected with the communication module;
The input terminal of the watchdog chip is electrically connected with the feeding-dog signal output end of the communication module, the watchdog chip Reset signal output end be electrically connected with the control terminal of the reset circuit;
The input terminal of the reset circuit is electrically connected with external power supply, the output end of the reset circuit and the communication module Power input electrical connection;
Described reset forces the input terminal of control circuit to be electrically connected with the external voltage output end of the communication module, the reset The output end of control circuit is forced to be electrically connected with the control terminal of the reset circuit;
In the case that the input terminal of the watchdog chip does not receive feeding-dog signal within a preset time, the reset signal is defeated Outlet output reset signal controls being electrically connected between the external power supply and the communication module by the reset signal, Wherein, the boot-strap circuit automatically turns on the communication module in the case where the communication module has electricity;
The reset forces control circuit in the case where the communication module is in battery saving mode, and controlling the external power supply is The communication module power supply.
2. the device that communication module according to claim 1 is restarted automatically, which is characterized in that the reset circuit includes: Power switch tube and first resistor;
The input terminal of the power switch tube is electrically connected with the external power supply, and the output end of the power switch tube leads to described Believe the power input electrical connection of module, the reset signal output of the control terminal of the power switch tube and the watchdog chip End electrical connection;
The both ends of the first resistor are electrically connected with the control terminal of the external power supply and the power switch tube respectively.
3. the device that communication module according to claim 1 or 2 is restarted automatically, which is characterized in that control is forced in the reset Circuit processed includes: first voltage pull-up component and at least two triodes;
The external voltage output end of the communication module is electrically connected with the grid of the first triode, the current collection of first triode Pole is electrically connected with the grid of the second triode, and the control terminal of the collector and the reset circuit of second triode is electrically connected It connects, the emitter of first triode and the second triode is grounded;
The first end of the first voltage pull-up component is electrically connected with the power input of the communication module, the first voltage The second end of pull-up component is electrically connected with the grid of second triode.
4. the device that communication module according to claim 3 is restarted automatically, which is characterized in that the boot-strap circuit includes: Energy-storage units and current control unit;
The first end of the current control unit is electrically connected with the power input of the communication module, and the of the energy-storage units One end ground connection, the second end of the current control unit and energy-storage units electrical connection;
Node between the current control unit and the energy-storage units is electrically connected with the booting port of the communication module;
Wherein, the energy-storage units open the communication module, the current control unit is described logical after filling and can finish In the case that letter module is restarted, controls the energy-storage units and be connected and discharge electric energy.
5. the device that communication module according to claim 4 is restarted automatically, which is characterized in that the current control unit is Diode, the energy-storage units are first capacitor;
The anode of the diode is electrically connected with the first end of the first capacitor, the cathode of the diode and the communication mould The power input of block is electrically connected;
The second end of the first capacitor is grounded.
6. the device that communication module according to claim 4 is restarted automatically, which is characterized in that the communication module weighs automatically The device opened further include: discharge circuit;
The control terminal of the discharge circuit is electrically connected with the control terminal of the reset circuit, and the first end of the discharge circuit is electrically connected It connects between the output end of the reset circuit and the power input of the communication module, the second termination of the discharge circuit Ground;
The discharge circuit discharges the energy in the energy-storage units in the communication module restarting process.
7. the device that communication module according to claim 1 or 2 is restarted automatically, which is characterized in that the communication module is certainly The dynamic device restarted further include: voltage conversion circuit;
The input terminal of the voltage conversion circuit is connected electrically in the input terminal of the watchdog chip and feeding for the communication module Between dog signal output end, the required electricity of feeding-dog signal voltage and the watchdog chip for exporting the communication module Pressure matching.
8. the device that communication module according to claim 7 is restarted automatically, which is characterized in that the voltage conversion circuit packet It includes: third transistor and second voltage pull-up component.
The grid of the third transistor is electrically connected with the feeding-dog signal output end, the collector of the third transistor and institute State the input terminal electrical connection of watchdog chip, the emitter ground connection of the third transistor;
The first end of second voltage pull-up component is electrically connected with the external power supply, and the second voltage pulls up the of component Two ends are electrically connected with the collector of the third transistor.
9. the device that communication module according to claim 3 is restarted automatically, which is characterized in that the boot-strap circuit is delay Chip.
CN201811234833.9A 2018-10-23 2018-10-23 Device for automatically restarting communication module Active CN109597701B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811234833.9A CN109597701B (en) 2018-10-23 2018-10-23 Device for automatically restarting communication module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811234833.9A CN109597701B (en) 2018-10-23 2018-10-23 Device for automatically restarting communication module

Publications (2)

Publication Number Publication Date
CN109597701A true CN109597701A (en) 2019-04-09
CN109597701B CN109597701B (en) 2022-06-21

Family

ID=65958218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811234833.9A Active CN109597701B (en) 2018-10-23 2018-10-23 Device for automatically restarting communication module

Country Status (1)

Country Link
CN (1) CN109597701B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109921497A (en) * 2019-04-25 2019-06-21 广州极飞科技有限公司 Power supply circuit, weather station, method of supplying power to and house dog based on house dog
CN111046395A (en) * 2019-12-16 2020-04-21 无锡闻泰信息技术有限公司 EC updates firmware protection circuit and electronic equipment
CN111090323A (en) * 2019-12-24 2020-05-01 上海移远通信科技有限公司 Power-off protection circuit of control chip, software upgrading circuit and control system
CN111813590A (en) * 2020-06-02 2020-10-23 中车株洲电力机车研究所有限公司 Method and device for diagnosing abnormal reset of main control module and main control module
CN112233287A (en) * 2020-10-19 2021-01-15 北京安恒利通科技股份公司 Automatic unlocking method of intelligent lock and intelligent lock system
CN113377186A (en) * 2021-08-13 2021-09-10 深圳市有为信息技术发展有限公司 Power management circuit, control method thereof, vehicle-mounted equipment and motor vehicle
CN113467283A (en) * 2020-03-31 2021-10-01 深圳市优必选科技股份有限公司 Power control circuit and robot
WO2022111416A1 (en) * 2020-11-27 2022-06-02 中兴通讯股份有限公司 Extended-time reset circuit of switching power supply, printed circuit board, and electronic device
CN115001467A (en) * 2022-08-08 2022-09-02 南昌龙旗信息技术有限公司 Charging trigger reset control circuit for system abnormal crash
CN115242234A (en) * 2022-08-09 2022-10-25 山东思科赛德矿业安全工程有限公司 Single chip microcomputer system restarting circuit and method
CN116225771A (en) * 2023-05-08 2023-06-06 上海励驰半导体有限公司 System external monitoring reset circuit, chip, electronic equipment and related equipment
CN118509463A (en) * 2023-07-26 2024-08-16 浙江正泰仪器仪表有限责任公司 Program anti-crash electric energy meter remote communication system and communication method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050050385A1 (en) * 2003-08-26 2005-03-03 Chih-Wei Chen Server crash recovery reboot auto activation method and system
CN102163071A (en) * 2011-01-20 2011-08-24 海能达通信股份有限公司 Control circuit and power control method during reset thereof
CN104216494A (en) * 2014-09-22 2014-12-17 广东瑞德智能科技股份有限公司 Single chip microcomputer controlled power grid detection and reset circuit
CN204926065U (en) * 2015-06-29 2015-12-30 厦门四信通信科技有限公司 Trouble self -resuming device under CPU system degree of depth park mode
CN106874149A (en) * 2017-03-15 2017-06-20 深圳市亿道数码技术有限公司 A kind of hardware watchdog logic circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050050385A1 (en) * 2003-08-26 2005-03-03 Chih-Wei Chen Server crash recovery reboot auto activation method and system
CN102163071A (en) * 2011-01-20 2011-08-24 海能达通信股份有限公司 Control circuit and power control method during reset thereof
CN104216494A (en) * 2014-09-22 2014-12-17 广东瑞德智能科技股份有限公司 Single chip microcomputer controlled power grid detection and reset circuit
CN204926065U (en) * 2015-06-29 2015-12-30 厦门四信通信科技有限公司 Trouble self -resuming device under CPU system degree of depth park mode
CN106874149A (en) * 2017-03-15 2017-06-20 深圳市亿道数码技术有限公司 A kind of hardware watchdog logic circuit

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109921497A (en) * 2019-04-25 2019-06-21 广州极飞科技有限公司 Power supply circuit, weather station, method of supplying power to and house dog based on house dog
CN111046395A (en) * 2019-12-16 2020-04-21 无锡闻泰信息技术有限公司 EC updates firmware protection circuit and electronic equipment
CN111046395B (en) * 2019-12-16 2023-10-03 无锡闻泰信息技术有限公司 EC updating firmware protection circuit and electronic device
CN111090323A (en) * 2019-12-24 2020-05-01 上海移远通信科技有限公司 Power-off protection circuit of control chip, software upgrading circuit and control system
CN113467283B (en) * 2020-03-31 2023-01-06 深圳市优必选科技股份有限公司 Power control circuit and robot
CN113467283A (en) * 2020-03-31 2021-10-01 深圳市优必选科技股份有限公司 Power control circuit and robot
CN111813590A (en) * 2020-06-02 2020-10-23 中车株洲电力机车研究所有限公司 Method and device for diagnosing abnormal reset of main control module and main control module
CN111813590B (en) * 2020-06-02 2024-02-27 中车株洲电力机车研究所有限公司 Method and device for diagnosing abnormal reset of main control module and main control module
CN112233287A (en) * 2020-10-19 2021-01-15 北京安恒利通科技股份公司 Automatic unlocking method of intelligent lock and intelligent lock system
WO2022111416A1 (en) * 2020-11-27 2022-06-02 中兴通讯股份有限公司 Extended-time reset circuit of switching power supply, printed circuit board, and electronic device
CN113377186B (en) * 2021-08-13 2021-11-19 深圳市有为信息技术发展有限公司 Power management circuit, control method thereof, vehicle-mounted equipment and motor vehicle
CN113377186A (en) * 2021-08-13 2021-09-10 深圳市有为信息技术发展有限公司 Power management circuit, control method thereof, vehicle-mounted equipment and motor vehicle
CN115001467A (en) * 2022-08-08 2022-09-02 南昌龙旗信息技术有限公司 Charging trigger reset control circuit for system abnormal crash
CN115242234A (en) * 2022-08-09 2022-10-25 山东思科赛德矿业安全工程有限公司 Single chip microcomputer system restarting circuit and method
CN116225771A (en) * 2023-05-08 2023-06-06 上海励驰半导体有限公司 System external monitoring reset circuit, chip, electronic equipment and related equipment
CN116225771B (en) * 2023-05-08 2023-07-25 上海励驰半导体有限公司 System external monitoring reset circuit, chip, electronic equipment and related equipment
CN118509463A (en) * 2023-07-26 2024-08-16 浙江正泰仪器仪表有限责任公司 Program anti-crash electric energy meter remote communication system and communication method

Also Published As

Publication number Publication date
CN109597701B (en) 2022-06-21

Similar Documents

Publication Publication Date Title
CN109597701A (en) A kind of device that communication module is restarted automatically
CN109840006A (en) Main control chip power supply unit
CN216751719U (en) Multi-key awakening identification circuit and electronic equipment
CN111190762A (en) Automatic resetting and state keeping device and method of intelligent household equipment and application
CN107294386A (en) DC power control circuit
CN113541454A (en) Switching power supply control circuit, and control method and device of switching power supply
CN210639587U (en) Power-off fast discharge circuit of switching Power supply, server mainboard and server
CN113206536B (en) Charging circuit capable of realizing short-circuit protection and automatic restart
CN209963949U (en) Soft start circuit of current type pulse width modulator chip
CN210861925U (en) Time-delay protection circuit of refrigerator compressor
CN111525542B (en) Power supply method for safely storing data of intelligent electric energy meter
CN212659300U (en) Low-voltage starting circuit for buzzer
CN212061818U (en) Display device
CN211046751U (en) Switching power supply device and power supply driver suitable for same
CN111048055B (en) Display and display standby power consumption control method
CN202652057U (en) Supply circuit for quick start of integrated circuit
CN213338351U (en) Enabling control circuit
CN211018640U (en) Switching power supply circuit and power supply system
CN218514134U (en) Power supply circuit with shared battery and external power supply and electronic equipment with same
CN219497342U (en) Power-down data storage circuit of electric energy meter
CN218499015U (en) Standby low-power-consumption quick discharge circuit
CN220985528U (en) Discharge circuit and electronic device
CN218648999U (en) Output circuit for quickly resetting lamp switch
CN219247705U (en) Charge discharging circuit, system, motor driver and vehicle
CN210380645U (en) Zero standby power consumption circuit and charging pile

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant