CN111625074A - Wireless module crash prevention method and circuit and wireless communication equipment - Google Patents

Wireless module crash prevention method and circuit and wireless communication equipment Download PDF

Info

Publication number
CN111625074A
CN111625074A CN202010331443.4A CN202010331443A CN111625074A CN 111625074 A CN111625074 A CN 111625074A CN 202010331443 A CN202010331443 A CN 202010331443A CN 111625074 A CN111625074 A CN 111625074A
Authority
CN
China
Prior art keywords
wireless module
power
signal
circuit
control unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010331443.4A
Other languages
Chinese (zh)
Inventor
白坤峰
李海清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HAILIN ENERGY TECHNOLOGY Inc
Original Assignee
HAILIN ENERGY TECHNOLOGY Inc
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 HAILIN ENERGY TECHNOLOGY Inc filed Critical HAILIN ENERGY TECHNOLOGY Inc
Priority to CN202010331443.4A priority Critical patent/CN111625074A/en
Publication of CN111625074A publication Critical patent/CN111625074A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/10Current supply arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Transceivers (AREA)

Abstract

The invention discloses a wireless module crash prevention method and a circuit, wherein the method comprises the following steps: outputting a power-off restart signal at fixed time; and according to the power-off restarting signal, the power input end of the wireless module is reconnected after being disconnected with the power for a set time, so that the wireless module is restarted regularly and hard. The invention also discloses a wireless communication module. The invention can ensure the long-time stable work of the wireless communication equipment.

Description

Wireless module crash prevention method and circuit and wireless communication equipment
Technical Field
The invention relates to the technical field of wireless module control, in particular to a wireless module crash prevention method and circuit, and wireless communication equipment.
Background
The wireless communication module is widely applied to the fields of remote control, remote measurement, wireless networks, wireless meter reading, access control systems, non-contact RF smart cards, small wireless data terminals and the like. When the wireless module is in a halt state during operation, the wireless module needs to be reset to perform normal operation again. The reset of the wireless module is a function of restoring the working state of the wireless module to the initial starting state, and the working principle of the wireless module is similar to the halt and restart of a computer.
A crash is a phenomenon that cannot be solved on a software level, and once the crash occurs, an operator must restart the crash or take a hardware level measure to restore the crash to normal operation. In the prior art, when a wireless module crashes, the wireless module is usually manually powered off and then powered on, so that the wireless module is restarted to enter an operating state. The manual reset mode is remote on site, and when the number of devices is large, the labor is consumed very much, and the working efficiency is influenced.
Disclosure of Invention
The invention provides a wireless module hardware crash prevention method and circuit, and aims to solve the problems that in the prior art, the wireless module is low in reset efficiency and high in maintenance cost through a manual mode after being crashed.
The invention also provides wireless communication equipment, which can avoid the phenomenon of dead halt caused by long-time work and improve the working stability of the equipment.
Therefore, the invention provides the following technical scheme:
a wireless module crash prevention method includes:
outputting a power-off restart signal at fixed time;
and according to the power-off restarting signal, the power input end of the wireless module is reconnected after being disconnected with the power for a set time, so that the wireless module is restarted regularly and hard.
Optionally, the timed output power-off restart signal includes:
the singlechip regularly outputs a power-off restart signal.
Optionally, the power-off restart signal is a forward pulse signal.
Optionally, the pulse width of the forward pulse signal is 1 s.
A wireless module crash prevention circuit, the circuit comprising: a signal loading unit and a control unit; the output end of the control unit is used as the power input end of the wireless module;
the signal loading unit is used for outputting a power-off restarting signal at regular time;
and the control unit is used for reconnecting the power input end of the wireless module after the power is disconnected for a set time according to the power-off restarting signal so as to restart the wireless module regularly and hard.
Optionally, the power-off restart signal is a forward pulse signal.
Optionally, the signal loading unit is a single chip microcomputer, and an I/O interface of the single chip microcomputer outputs a power-off restart signal to the control unit at regular time.
Optionally, the circuit comprises: the driving unit is arranged between the signal loading unit and the control unit;
the driving unit outputs a control signal to the control unit after receiving the power-off restarting signal;
and the control unit enables the power supply input end of the wireless module to be reconnected after being disconnected with the power supply for a certain time according to the triggering of the control signal.
Optionally, the driving unit is an NPN triode, and the control unit is a P-channel MOS transistor;
the base electrode of the NPN triode is connected with the I/O interface of the single chip microcomputer, the emitting electrode of the NPN triode is grounded, the collecting electrode of the NPN triode is connected with the grid electrode of the P-channel MOS tube, the source electrode of the P-channel MOS tube is connected with the power supply, and the drain electrode of the P-channel MOS tube is connected with the power supply input end of the wireless module.
A wireless communication device is characterized by comprising a wireless module and the wireless module crash-proof circuit.
The wireless module crash prevention method and the wireless module crash prevention circuit provided by the invention can effectively prevent the wireless module from crash by restarting the wireless module at regular time, and particularly can ensure that wireless communication equipment stably works for a long time by utilizing the scheme of the invention aiming at wireless equipment in remote and remote application environments, thereby avoiding the inconvenience of manual operation after the wireless module crashes and greatly saving the equipment maintenance cost.
Drawings
In order to more clearly illustrate the embodiments of the present application or technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present invention, and other drawings can be obtained by those skilled in the art according to the drawings.
FIG. 1 is a flow chart of a wireless module crash prevention method of the present invention;
FIG. 2 is a schematic block diagram of a wireless module crash prevention circuit of the present invention;
FIG. 3 is another schematic block diagram of the wireless module crash prevention circuit of the present invention;
fig. 4 is a specific application circuit of the wireless module crash prevention circuit of the present invention.
Detailed Description
In order to make the technical field of the invention better understand the scheme of the embodiment of the invention, the embodiment of the invention is further described in detail with reference to the drawings and the implementation mode.
The invention provides a wireless module crash prevention method and circuit, aiming at the problems of inconvenience and low efficiency of manual power-off and power-on operations of a wireless module when the wireless module crashes.
As shown in fig. 1, it is a flow chart of the wireless module crash prevention method of the present invention, which includes the following steps:
step 101, outputting a power-off restart signal at regular time.
Specifically, the power-off restart signal may be output by a single chip microcomputer at regular time (e.g., 1 hour or 1 day), and the power-off restart signal is a forward pulse signal, and the pulse width of the forward pulse signal may be, for example, 0.5s to 1 s.
And 102, according to the power-off restarting signal, the power input end of the wireless module is reconnected after being disconnected with a power supply for a set time, so that the wireless module is restarted regularly and hard.
That is to say, the wireless module is disconnected from the power supply for a certain time and then the power supply is connected through the power-off restarting signal, so that the timed hard restarting of the wireless module is realized, and the purpose of preventing the dead halt is achieved.
Fig. 2 is a schematic block diagram of a wireless module crash prevention circuit according to the present invention.
In this embodiment, the wireless module crash prevention circuit includes a signal loading unit 21 and a control unit 22.
Wherein, the output terminal of the control unit 22 is used as the power input terminal of the wireless module 20, that is, the control unit 22 is connected between the power supply 30 and the wireless module 20 and functions as a timing switch.
The signal loading unit 21 outputs a power-off restart signal at regular time, and accordingly, the control unit 22 disconnects the power input terminal of the wireless module 20 from the power supply 30 for a set time according to the power-off restart signal and then reconnects the power input terminal of the wireless module 20, so that the wireless module 20 is restarted at regular time and in a hard mode.
The signal loading unit 21 may be a single chip microcomputer, for example, a single chip microcomputer provided in a device that performs wireless communication by using the wireless module, and an I/O interface of the single chip microcomputer outputs a power-off restart signal to the control unit 22 at a fixed time.
Further, in order to avoid the damage or the abnormal operation of the single chip microcomputer caused by the impact of the external interference signal and the like on the single chip microcomputer when the power-off restart signal is sent, as shown in fig. 3, in another embodiment of the wireless module crash prevention circuit of the present invention, the circuit may further include: and a driving unit 23 disposed between the signal loading unit 21 and the control unit 22.
In this embodiment, the driving unit 23 receives the power-off restart signal sent by the signal loading unit 21, and outputs a control signal to the control unit 22.
Accordingly, the control unit 22 disconnects the power input terminal of the wireless module 20 from the power supply 30 for a certain time and then reconnects the power input terminal according to the triggering of the control signal.
Fig. 4 shows a specific application circuit of the wireless module crash prevention circuit of the present invention.
In this embodiment, the control unit is implemented by a P-channel MOS transistor, and the driving unit is implemented by an NPN transistor. Of course, in practical applications, the control unit and the driving unit may also be implemented by other components capable of implementing corresponding functions, and the present invention is not limited thereto.
The single chip microcomputer I/O port is an IO port for controlling the on-off of the MOS tube through the single chip microcomputer, the VCC is a power supply, and the wireless module VCC is a power supply input port of the wireless module. The on-off of the MOS tube is controlled by the high and low levels of the I/O port of the single chip microcomputer, and then the power input state of the wireless module is controlled.
The other peripheral elements in fig. 4 are illustrated as follows:
r1: reserving, and welding a 0 ohm resistor to isolate the MOS tube during debugging or MOS tube failure;
r2: the value of the pull-up resistor R2 of the MOS transistor can be 10-100K;
r3: the value of the current limiting resistor R3 can be about 4.8K, and a corresponding resistance value is calculated according to the actual output current of the single chip microcomputer;
r4: the output of the I/O port of the singlechip is externally provided with a pull-up resistor, and the value of R4 can be 10-100K for the I/O port of open-drain output;
c1: the value of the power supply filter capacitor, C1, may be 0.1 muF.
The operation of the method is described in detail below with reference to fig. 4.
When the IO port of the single chip microcomputer is in a low level, the NPN triode is cut off, and the source electrode S and the drain electrode D are disconnected because the voltage between the grid electrode G and the source electrode S of the MOS transistor is almost 0, so that the power supply input port of the wireless module is disconnected with the power supply VCC; on the contrary, at a high level, the NPN transistor is turned on to pull down the source voltage of the MOS transistor, so that a voltage difference occurs between the gate G and the source S of the MOS transistor, and the source S and the drain D of the MOS transistor are turned on, thereby connecting the power input port of the wireless module with the power VCC.
Based on the working principle, the singlechip regularly outputs a forward pulse signal (such as 1 hour or 1 day) through the I/O port, namely the wireless module is regularly and hard restarted by switching on the MOS tube after being disconnected for a certain time (such as 1 second), so that the purpose of preventing the dead halt is achieved.
The wireless module crash prevention method and the wireless module crash prevention circuit provided by the invention can effectively prevent the wireless module from crash by restarting the wireless module at regular time, and particularly can ensure that the wireless module stably works for a long time by utilizing the scheme of the invention aiming at wireless equipment in remote and remote application environments, thereby avoiding the inconvenience of manual operation after the wireless module crashes and greatly saving the equipment maintenance cost.
Correspondingly, the invention also provides wireless communication equipment with the wireless module crash-proof circuit, and the circuit can ensure that the wireless module in the wireless communication equipment stably works for a long time.
The above embodiments of the present invention have been described in detail, and the present invention has been described herein with reference to particular embodiments, but the above embodiments are merely intended to facilitate an understanding of the methods and apparatuses of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A wireless module crash prevention method is characterized by comprising the following steps:
outputting a power-off restart signal at fixed time;
and according to the power-off restarting signal, the power input end of the wireless module is reconnected after being disconnected with the power for a set time, so that the wireless module is restarted regularly and hard.
2. The wireless module crash-proof method as claimed in claim 1, wherein said timing the output of the power-off restart signal comprises:
the singlechip regularly outputs a power-off restart signal.
3. The method of claim 1, wherein the power-off restart signal is a forward pulse signal.
4. The wireless module crash prevention method according to any one of claims 1 to 3, wherein a pulse width of the forward pulse signal is 1 s.
5. A wireless module crash protection circuit, the circuit comprising: a signal loading unit and a control unit; the output end of the control unit is used as the power input end of the wireless module;
the signal loading unit is used for outputting a power-off restarting signal at regular time;
and the control unit is used for reconnecting the power input end of the wireless module after the power is disconnected for a set time according to the power-off restarting signal so as to restart the wireless module regularly and hard.
6. The wireless module crash-proof circuit as claimed in claim 5, wherein the power-off restart signal is a forward pulse signal.
7. The wireless module crash-proof circuit as claimed in claim 5, wherein the signal loading unit is a single chip, and an I/O interface of the single chip outputs a power-off restart signal to the control unit at regular time.
8. The wireless module crash-proof circuit as recited in claim 7, wherein the circuit comprises: the driving unit is arranged between the signal loading unit and the control unit;
the driving unit outputs a control signal to the control unit after receiving the power-off restarting signal;
and the control unit enables the power supply input end of the wireless module to be reconnected after being disconnected with the power supply for a certain time according to the triggering of the control signal.
9. The wireless module crash-proof circuit according to claim 8, wherein the driving unit is an NPN transistor, and the control unit is a P-channel MOS transistor;
the base electrode of the NPN triode is connected with the I/O interface of the single chip microcomputer, the emitting electrode of the NPN triode is grounded, the collecting electrode of the NPN triode is connected with the grid electrode of the P-channel MOS tube, the source electrode of the P-channel MOS tube is connected with the power supply, and the drain electrode of the P-channel MOS tube is connected with the power supply input end of the wireless module.
10. A wireless communication device comprising a wireless module and the wireless module crash prevention circuit of any one of claims 5 to 9.
CN202010331443.4A 2020-04-24 2020-04-24 Wireless module crash prevention method and circuit and wireless communication equipment Pending CN111625074A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010331443.4A CN111625074A (en) 2020-04-24 2020-04-24 Wireless module crash prevention method and circuit and wireless communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010331443.4A CN111625074A (en) 2020-04-24 2020-04-24 Wireless module crash prevention method and circuit and wireless communication equipment

Publications (1)

Publication Number Publication Date
CN111625074A true CN111625074A (en) 2020-09-04

Family

ID=72260549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010331443.4A Pending CN111625074A (en) 2020-04-24 2020-04-24 Wireless module crash prevention method and circuit and wireless communication equipment

Country Status (1)

Country Link
CN (1) CN111625074A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104049702A (en) * 2014-06-16 2014-09-17 京信通信系统(中国)有限公司 Single chip microcomputer-based CPU (Central Processing Unit) reset control system, method and device
CN104914966A (en) * 2015-06-09 2015-09-16 四川汇源光通信有限公司 Single-chip microcomputer self-outage restarting circuit
CN106383750A (en) * 2016-05-04 2017-02-08 湖南小步科技有限公司 Remote controller hardware watchdog circuit
CN208739134U (en) * 2018-08-17 2019-04-12 深圳市万通顺达科技股份有限公司 A kind of fixed terminal equipment networking automatic controls
CN110908834A (en) * 2019-11-08 2020-03-24 上海闻泰电子科技有限公司 Power failure restart device and method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104049702A (en) * 2014-06-16 2014-09-17 京信通信系统(中国)有限公司 Single chip microcomputer-based CPU (Central Processing Unit) reset control system, method and device
CN104914966A (en) * 2015-06-09 2015-09-16 四川汇源光通信有限公司 Single-chip microcomputer self-outage restarting circuit
CN106383750A (en) * 2016-05-04 2017-02-08 湖南小步科技有限公司 Remote controller hardware watchdog circuit
CN208739134U (en) * 2018-08-17 2019-04-12 深圳市万通顺达科技股份有限公司 A kind of fixed terminal equipment networking automatic controls
CN110908834A (en) * 2019-11-08 2020-03-24 上海闻泰电子科技有限公司 Power failure restart device and method and electronic equipment

Similar Documents

Publication Publication Date Title
CN101576764B (en) CMOS data clear circuit
US20190138071A1 (en) Hot plug module power supply device, method and system
US11139511B2 (en) Control circuit, battery having the control circuit and battery control method
CN210804315U (en) Automatic power-on circuit and mainboard
CN109032318B (en) Power supply monitoring system and storage server system
CN112636732B (en) Power-off delay protection circuit and device
CN210038710U (en) Power supply switching circuit and server
CN111625074A (en) Wireless module crash prevention method and circuit and wireless communication equipment
CN104199535A (en) Digital power supply device and method
CN107340846B (en) Power-down prevention logic circuit and notebook computer
CN112363966B (en) Serial port conversion circuit, base station, circuit conversion method, and computer storage medium
CN210488494U (en) EC reset circuit and electronic equipment based on USB C type interface
CN201562230U (en) Electronic system and resetting device thereof
CN212726976U (en) Display outage system and display
CN113885683B (en) Intelligent terminal, hard reset control method and device and computer equipment
CN112925681A (en) Timing detection circuit of vehicle-mounted split type touch screen
CN215181879U (en) Watchdog reset circuit and reset system
CN219267737U (en) Power supply activation circuit, control system of power supply equipment and electric equipment
CN216561698U (en) Switching on and shutting down circuit and electronic equipment
CN220173216U (en) Reset circuit and electronic equipment
CN213241075U (en) Equipment power monitoring system
CN219512634U (en) USB module control circuit, USB equipment and electronic equipment
US20130288491A1 (en) Disablement of connection between connection module and battery
CN209982032U (en) Circuit capable of automatically powering off and restarting in abnormal equipment
CN217787726U (en) Switch control device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200904