CN211264296U - Watchdog circuit and intelligent observation station - Google Patents

Watchdog circuit and intelligent observation station Download PDF

Info

Publication number
CN211264296U
CN211264296U CN202020388833.0U CN202020388833U CN211264296U CN 211264296 U CN211264296 U CN 211264296U CN 202020388833 U CN202020388833 U CN 202020388833U CN 211264296 U CN211264296 U CN 211264296U
Authority
CN
China
Prior art keywords
circuit
microcontroller
resistor
watchdog
voltage conversion
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.)
Active
Application number
CN202020388833.0U
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.)
Guangzhou Haige Communication Group Inc Co
Original Assignee
Guangzhou Haige Communication Group Inc Co
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 Guangzhou Haige Communication Group Inc Co filed Critical Guangzhou Haige Communication Group Inc Co
Priority to CN202020388833.0U priority Critical patent/CN211264296U/en
Application granted granted Critical
Publication of CN211264296U publication Critical patent/CN211264296U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The application relates to a watchdog circuit and intelligent observation station, one of them watchdog circuit includes: a switching circuit for connecting between the SOC system and the power supply apparatus; a system monitoring circuit comprising a microcontroller; the microcontroller is connected with the switch circuit and is used for connecting the SOC system; microcontroller monitoring circuitry connects microcontroller to the monitoring and the reseing of SOC system are realized to accessible system monitoring circuitry, and realize system monitoring circuitry's monitoring and reseing through microcontroller monitoring circuitry, and then accessible two-stage watchdog strategy, guarantee that SOC system maximum is reliable, improve the reliability of watchdog circuit.

Description

Watchdog circuit and intelligent observation station
Technical Field
The application relates to the technical field of electronic circuits, in particular to a watchdog circuit and an intelligent observation station.
Background
With the development of electronic circuit technology, watchdog circuits have emerged. When the SOC (System on Chip) is interfered or in an extreme environment, abnormal operation or stop operation may occur, and the SOC needs to be restarted to be solved. A watchdog circuit is required to restart the system when the device cannot be manually restarted. When setting the watchdog circuit, the watchdog circuit is generally opened in the application program, and a time is initialized, the application program starts a dog feeding thread, and the dog feeding is timed according to the initialized time. When the SOC or the application program is abnormal, the dog feeding thread is stopped, and the watchdog timer is reset.
The watchdog circuit can be realized by adopting a watchdog of the SOC, and in practical application, the watchdog circuit can also be realized by a special watchdog chip in order to improve the reliability of the system.
However, in the implementation process, the inventor finds that at least the following problems exist in the conventional technology: when the application environment is complex in circuit and severe in electromagnetic environment, the phenomena of system crash and incapability of resetting still occur through the realization of a watchdog of the SOC. If the external watchdog chip is used, certain peripheral circuit control is difficult to realize, for example, the SOC nuclear power supply is powered off and then powered on and started. That is, the conventional watchdog circuit has a problem of poor reliability.
SUMMERY OF THE UTILITY MODEL
In view of this, it is necessary to provide a watchdog circuit and an intelligent observation station capable of improving system reliability, in order to solve the problem of poor reliability in the conventional technology.
In order to achieve the above object, in one aspect, an embodiment of the present application provides a watchdog circuit, including:
a switching circuit for connecting between the SOC system and the power supply apparatus;
a system monitoring circuit comprising a microcontroller; the microcontroller is connected with the switch circuit and is used for connecting the SOC system;
and the microcontroller monitoring circuit is connected with the microcontroller.
In one embodiment, the power supply further comprises a voltage conversion circuit for connecting a power supply device;
the voltage conversion circuit is respectively connected with the switch circuit, the microcontroller and the microcontroller monitoring circuit.
In one embodiment, the voltage conversion circuit comprises a voltage conversion chip and a first resistor;
the voltage input end of the voltage conversion chip is used for being connected with power supply equipment, the voltage output end of the voltage conversion chip is respectively connected with the switching circuit, the microcontroller and the microcontroller monitoring circuit, and the enabling end of the voltage conversion chip is connected with one end of the first resistor;
the other end of the first resistor is used for connecting power supply equipment.
In one embodiment, the switching circuit includes a first switching device, a second resistor, and a third resistor;
the first end of the first switching device is connected with one end of the second resistor and is used for being connected with power supply equipment, the second end of the first switching device is used for being connected with the SOC system, and the third end of the first switching device is respectively connected with the other end of the second resistor and the first end of the second switching device;
the second end of the second switching device is grounded, and the third end of the second switching device is respectively connected with the system reset end of the microcontroller and one end of a third resistor; the other end of the third resistor is connected with the voltage conversion circuit.
In one embodiment, the first switching device is a P-channel MOS transistor; the second switching device is an NPN triode.
In one embodiment, the microcontroller monitoring circuit comprises a watchdog chip and a fourth resistor;
the microcontroller reset end of the watchdog chip is respectively connected with one end of the microcontroller and one end of the fourth resistor;
the other end of the fourth resistor is connected with the voltage conversion circuit.
In one embodiment, the system monitoring circuit further comprises an oscillation circuit;
the oscillating circuit is connected with the microcontroller.
In one embodiment, the oscillator circuit includes a crystal oscillator chip coupled to a microcontroller.
In one embodiment, the microcontroller is an STM32F070F6 microcontroller.
On the other hand, the embodiment of the present application further provides an intelligent observation station, which includes an SOC system, and the watchdog circuit according to any one of the above embodiments;
the SOC system is connected with a watchdog circuit.
One of the above technical solutions has the following advantages and beneficial effects:
the watchdog circuit of each embodiment of this application includes: a switching circuit for connecting between the SOC system and the power supply apparatus; a system monitoring circuit comprising a microcontroller; the microcontroller is connected with the switch circuit and is used for connecting the SOC system; microcontroller monitoring circuitry connects microcontroller to the monitoring and the reseing of SOC system are realized to accessible system monitoring circuitry, and realize system monitoring circuitry's monitoring and reseing through microcontroller monitoring circuitry, and then accessible two-stage watchdog strategy, guarantee that SOC system maximum is reliable, improve the reliability of watchdog circuit.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is a first schematic block diagram of a watchdog circuit in one embodiment;
FIG. 2 is a second schematic block diagram of a watchdog circuit in one embodiment;
FIG. 3 is a circuit diagram of a voltage conversion circuit in one embodiment;
FIG. 4 is a circuit diagram of a switching circuit in one embodiment;
FIG. 5 is a circuit diagram of a microcontroller monitoring circuit in one embodiment;
FIG. 6 is a circuit diagram of an oscillator circuit in one embodiment;
FIG. 7 is a circuit diagram of a system monitoring circuit in one embodiment;
FIG. 8 is a diagram of test points in one embodiment.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present application are shown in the drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element and be integral therewith, or intervening elements may also be present. The terms "input", "reset", "output", "one", "the other", and the like are used herein for illustrative purposes only.
In the present application, "the first terminal", "the second terminal", and "the third terminal" are only used to distinguish three terminals of different types in the switching device, and do not limit the type or model of the switching device, nor limit the number of terminals of each type, and in the same switching device, the number of terminals of each type may be one or more. In the drawings of the present application, pins having the same reference number may be connected to each other.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, as shown in fig. 1, there is provided a watchdog circuit comprising:
a switching circuit for connecting between the SOC system and the power supply apparatus;
a system monitoring circuit including a microcontroller U4; the microcontroller U4 is connected with the switch circuit and is used for connecting the SOC system;
and the microcontroller monitoring circuit is connected with the microcontroller U4.
The switch circuit can be a circuit for controlling the on-off of the power supply equipment and the SOC system; the system monitoring circuit can be a circuit for monitoring and resetting the SOC system; the microcontroller monitoring circuit may be a circuit that monitors and resets the microcontroller U4.
Specifically, the switch circuits are used to connect the SOC system and the power supply apparatus, respectively, and the power supply apparatus is connected to the SOC system via the switch circuits. Optionally, the switch circuit may include an electric energy conversion circuit to convert the electric energy provided by the electric energy device, so as to provide an adaptive operating voltage for the SOC system, thereby improving reliability and stability of the SOC system. The electric energy conversion circuit includes, but is not limited to, a rectifier circuit, a voltage conversion circuit, a filter circuit, and the like.
Note that, in the present application, the SOC system is an example of a watchdog circuit monitoring target, and the watchdog circuit of the present application may also monitor systems, modules, units, circuits, devices, and devices other than the SOC system.
The system monitoring circuit comprises a microcontroller U4, the microcontroller U4 is respectively connected with the switch circuit and the SOC system, and the SOC in the SOC system sends high and low level pulse signals with certain frequency, namely dog feeding signals, to the microcontroller U4 through a process. When the SOC system cannot transmit a dog feeding signal to the microcontroller U4 within a preset time period, the microcontroller U4 controls the SOC system to reset. Specifically, the microcontroller U4 is connected to a switch circuit, and when the SOC system needs to be reset, the microcontroller U4 can disconnect the power supply device from the SOC system through the switch circuit, and the SOC system is powered off and turned off. After the SOC system is powered off, the microcontroller U4 can restore the connection between the power supply equipment and the SOC system through the switch circuit, so that the power supply equipment can supply power for the SOC system. And powering on the SOC system to restart, and completing reset.
Furthermore, when the power supply equipment is directly connected with the SOC, the switch circuit is used for controlling the connection between the power supply equipment and the SOC, so that the SOC nuclear power supply can be powered off and powered on for restarting, and further certain peripheral circuit control can be realized.
The microcontroller monitoring circuit is connected with the microcontroller U4, and the microcontroller U4 can transmit a dog feeding signal to the microcontroller monitoring circuit through a process. When the microcontroller U4 is abnormal, for example, the microcontroller U4 crashes or the process hangs up, the microcontroller U4 cannot transmit a corresponding dog feeding signal to the microcontroller monitoring circuit. The microcontroller monitoring circuit controls the microcontroller U4 to reset. Specifically, the microcontroller monitoring circuit may transmit a reset enable signal to the MCU reset terminal of microcontroller U4 to cause microcontroller U4 to complete the reset.
In the application, a microcontroller U4 in a system monitoring circuit receives a feeding dog signal of the SOC, so that the SOC can be monitored and controlled to reset; the microcontroller monitoring circuit can receive a dog feeding signal of the microcontroller U4, so that the microcontroller U4 can be monitored, the microcontroller U4 can be controlled to reset, and a two-stage watchdog strategy is realized.
Among the above-mentioned watchdog monitoring circuit, include: a switch circuit for connecting the SOC system and the power supply device; a system monitoring circuit including a microcontroller U4; the microcontroller U4 is connected with the switch circuit and is used for connecting the SOC system; microcontroller monitoring circuit connects microcontroller U4 to the monitoring and the reseing that the SOC system realized the SOC system are realized to accessible system monitoring circuit, and realize system monitoring circuit's monitoring and reseing through microcontroller monitoring circuit, and then accessible two-stage watchdog strategy, guarantee that SOC system maximum is reliable, improve the reliability of watchdog circuit.
In one embodiment, as shown in fig. 2, a voltage conversion circuit for connecting a power supply device is further included;
the voltage conversion circuit is respectively connected with the switch circuit, the microcontroller U4 and the microcontroller monitoring circuit.
Specifically, the voltage conversion circuit may be a circuit that performs voltage conversion on the electric energy provided by the electric energy device, and an output voltage of the voltage conversion circuit may be an operating voltage of the system monitoring circuit and the microcontroller monitoring circuit. Further, the voltage conversion circuit may provide an operating voltage for the microcontroller U4. In one example, the voltage conversion circuit may convert a 5V (volt) dc voltage of the power supply device to a 3.3V dc voltage and provide the 3.3V voltage to the switching circuit, the microcontroller monitoring circuit, and the microcontroller U4, respectively.
Meanwhile, the voltage conversion circuit is also connected with the switch circuit, so that bias voltage can be provided for the switch circuit, and the power supply equipment is connected with the SOC system. When it is necessary to disconnect the power supply apparatus from the SOC system, the microcontroller U4 may output a corresponding voltage signal to the switching device, so that the switching state of the switching circuit may be changed and the connection of the power supply apparatus to the SOC system may be disconnected.
The watchdog circuit also comprises a voltage conversion circuit used for connecting power supply equipment; the voltage conversion circuit is respectively connected with the switch circuit, the microcontroller U4 and the microcontroller monitoring circuit, so that adaptive working voltage can be provided for the SOC system and the microcontroller U4 through the voltage conversion circuit, bias voltage is provided for the switch circuit, and the applicability and reliability of the watchdog circuit can be improved.
In one embodiment, the voltage conversion circuit includes a voltage conversion chip U1 and a first resistor R1;
the voltage input end of the voltage conversion chip U1 is used for being connected with power supply equipment, the voltage output end of the voltage conversion chip U1 is respectively connected with the switch circuit, the microcontroller U4 and the microcontroller monitoring circuit, and the enable end of the voltage conversion chip U1 is connected with one end of the first resistor R1;
the other end of the first resistor R1 is used for connecting a power supply device.
Specifically, the voltage conversion circuit comprises a voltage conversion chip U1 and a first resistor R1, wherein an enable terminal of the voltage conversion chip U1 is connected with one terminal of the first resistor R1, and the other terminal of the first resistor R1 is used for connecting a power supply device, so that the voltage conversion chip U1 can be enabled through the power supply device, and the voltage conversion chip U1 can receive electric energy input from a voltage input terminal, convert the electric energy into corresponding voltage and output the corresponding voltage through a voltage output terminal.
The voltage input end of the voltage conversion chip U1 is used for connecting a power supply device, and the voltage output end is respectively connected with the switching circuit, the microcontroller U4 and the microcontroller monitoring circuit, so that bias voltage can be provided for the switching circuit, and working voltage can be provided for the microcontroller U4 and the microcontroller monitoring circuit.
In one example, the voltage conversion chip U1 may be an ET53333 chip.
Further, as shown in fig. 3, the voltage converting circuit may further include a first capacitor C1, a second capacitor C2, and a third capacitor C3, wherein the first resistor R1 may be a 10 kilo-ohm resistor, the first capacitor C1 may be a 1 microfarad capacitor, the second capacitor C2 may be a 10 microfarad capacitor, and the third capacitor C3 may be a 1 microfarad capacitor.
One end of the first capacitor C1 is connected with the voltage output end, and the other end is grounded; one end of the second capacitor C2 is connected with the voltage output end, and the other end is grounded; one end of the third capacitor C3 is connected to the voltage input terminal, and the other end is grounded. The ground terminal of the voltage conversion chip U1 is grounded. This application is through parallelly connected first electric capacity C1 and second electric capacity C2 at voltage conversion chip U1's voltage output end to can make the voltage that voltage conversion chip U1 exported keep steady, avoid the influence of voltage fluctuation, thereby can improve the reliability of circuit. Meanwhile, the third capacitor C3 is connected in parallel with the voltage input end of the voltage conversion chip U1, so that interference signals can be filtered, and the reliability of the circuit is improved.
In the watchdog circuit, the voltage conversion circuit comprises a voltage conversion chip U1 and a first resistor R1, a voltage input end of the voltage conversion chip U1 is used for connecting power supply equipment, a voltage output end is respectively connected with the switch circuit, the microcontroller U4 and the microcontroller monitoring circuit, and an enable end is connected with one end of the first resistor R1; the other end of the first resistor R1 is used for connecting power supply equipment, so that the circuit integration level can be improved, and the engineering implementation is facilitated.
In one embodiment, the switching circuit includes a first switching device, a second resistor R2, and a third resistor R3;
a first end of the first switching device is connected with one end of the second resistor R2 and is used for being connected with power supply equipment, a second end of the first switching device is used for being connected with the SOC system, and a third end of the first switching device is respectively connected with the other end of the second resistor R2 and a first end of the second switching device;
the second end of the second switching device is grounded, and the third end of the second switching device is respectively connected with the system reset end of the microcontroller U4 and one end of a third resistor R3; the other end of the third resistor R3 is connected to a voltage conversion circuit.
Specifically, the first switch device may be any type or any type of MOS transistor, controllable switch, or switch chip, and the second chip may be any type or any type of MOS transistor, controllable switch, or switch chip.
The first end of the first switching device is used for being connected with a power supply device, the second end of the first switching device is used for being connected with the SOC system, the third end of the first switching device is connected with the first end of the second switching device, and the first end of the first switching device is connected with the third end of the first switching device through a second resistor R2. The second terminal of the second switching device is grounded, and the third terminal is connected with the system reset terminal of the microcontroller U4 and is connected with the voltage output terminal of the voltage conversion circuit through a third resistor R3.
When the second switching device is in a conducting state, the third end of the first switching device is grounded, the first switching device is in a conducting state, and the power supply equipment supplies power to the SOC system. When the second switching device is in an off state, the third terminal of the first switch is connected to the power supply device through the pull-up resistor (i.e., the second resistor R2), and at this time, a voltage difference between the first terminal of the first switch and the third terminal of the first switch is smaller than an on-voltage of the first switch, the first switch is in the off state, and the power supply device and the SOC system are in an off state.
When the microcontroller U4 needs to reset the SOC system, the microcontroller U4 may transmit a reset signal to the third terminal of the second switching device through the system reset terminal, and the second switching device is in an off state, so that the first switching device is in an off state and cuts off the connection between the power supply apparatus and the SOC system.
In one embodiment, the first switching device may be a P-channel MOS transistor; the second switching device may be an NPN transistor.
Specifically, the first terminal of the first switching device may be a source, the second terminal of the first switching device may be a drain, and the third terminal of the first switching device may be a gate; the first terminal of the second switching device may be a collector, the second terminal of the second switching device may be an emitter, and the third terminal of the second switching device may be a base.
In one example, as shown in fig. 4, the switch circuit may further include a fifth resistor R5, a fourth capacitor C4, and a fifth capacitor C5. The first switching device may be an AO4407A chip and the second switching device may be a PMBT2222A chip.
The source electrode of the first switching device is respectively connected with the power supply equipment, one end of the second resistor R2, one end of the fourth capacitor C4 and one end of the fifth capacitor C5, the grid electrode of the first switching device is respectively connected with the other end of the second resistor R2 and the collector electrode of the second switching device, and the drain electrode of the first switching device is used for being connected with the SOC system. The emitter of the second switch device is grounded, the base of the second switch device is respectively connected with one end of a third resistor R3 and one end of a fifth resistor R5, the other end of the third resistor R3 is connected with the voltage output end of the voltage conversion circuit, and the other end of the fifth resistor R5 is connected with the system reset end of the microcontroller U4. The other terminal of the fourth capacitor C4 is grounded, and the other terminal of the fifth capacitor C5 is grounded.
The fourth capacitor C4 may be a 100 nanofarad capacitor, the fifth capacitor C5 may be a 10 microfarad capacitor, the second resistor R2 may be a 100 kilo-ohm resistor, and the third resistor R3 may be a 4.7 kilo-ohm resistor.
In the watchdog circuit, the switch circuit comprises a first switch device, a second resistor R2 and a third resistor R3, the first switch device is respectively connected with the second resistor R2, the SOC system, the power supply device and the second switch device, and the second switch device is respectively connected with the microcontroller U4, the third resistor R3 and the voltage conversion circuit, so that the on-off of the power supply device and the SOC system can be controlled through the two-stage switch devices, and the reliability of the circuit is improved.
In one embodiment, the microcontroller monitoring circuit includes a watchdog chip U2 and a fourth resistor R4;
a feeding dog signal input end of the watchdog chip U2 is connected with the microcontroller U4, and a reset end of the microcontroller U4 of the watchdog chip U2 is respectively connected with one end of the microcontroller U4 and one end of the fourth resistor R4;
the other end of the fourth resistor R3 is connected to a voltage conversion circuit.
Specifically, the watchdog chip U2 may include a dog feeding signal input terminal (WDI terminal), a RESET terminal (RESET terminal) of the microcontroller U4, a power terminal (VCC terminal), and a ground terminal (GND terminal), the dog feeding signal input terminal of the watchdog chip U2 may be connected to the dog feeding output terminal of the microcontroller U4, the RESET terminal of the microcontroller U4 of the watchdog chip U2 may be connected to the MCU RESET terminal of the microcontroller U4 and one end of the fourth resistor R4, the ground terminal of the watchdog chip U2 is grounded, and the power terminal of the watchdog chip U2 and the other end of the fourth resistor R4 are both connected to the voltage output terminal of the voltage conversion circuit.
The watchdog chip U2 receives a dog feeding signal transmitted by the microcontroller U4 through a dog feeding signal input end, and when the microcontroller U4 is abnormal, the watchdog chip U2 transmits an enabling signal to an MCU reset end of the microcontroller U4 through a microcontroller U4 reset end so as to reset the microcontroller U4.
In one example, as shown in fig. 5, the microcontroller monitoring circuit may further include a sixth resistor R6, a sixth capacitor C6, and a seventh capacitor C7, and the watchdog chip U2 further includes an MR terminal, a PFI terminal, a PFO terminal, and a WDO terminal. The WDO end of the watchdog chip U2 is connected with the MR end, the RESET end is respectively connected with the MCU RESET end of the microcontroller U4, one end of the fourth resistor R4 and one end of the sixth capacitor C6, the WDI end is connected with the feeding dog signal output end of the MCU, the PFI end is connected with one end of the sixth resistor R6, and the VCC end is respectively connected with the voltage output end of the voltage conversion circuit and one end of the seventh capacitor C7. The other end of the fourth resistor R4 and the other end of the sixth capacitor C6 are both connected with a voltage output end of the voltage conversion circuit. The GND terminal of the watchdog chip U2, the other terminal of the sixth resistor R6, and the other terminal of the seventh capacitor C7 are grounded.
The fourth resistor R4 may be a 100 kilo-ohm resistor, the sixth resistor R6 may be a 4.7 kilo-ohm resistor, the sixth capacitor C6 may be a 1 nanofarad capacitor, and the seventh capacitor C7 may be a 100 nanofarad capacitor.
In the watchdog circuit, the microcontroller monitoring circuit comprises a watchdog chip U2 and a fourth resistor R4; a feeding dog signal input end of the watchdog chip U2 is connected with the microcontroller U4, and a reset end of the microcontroller U4 of the watchdog chip U2 is respectively connected with one end of the microcontroller U4 and one end of the fourth resistor R4; the other end of the third resistor R3 is connected with a voltage conversion circuit, so that the microcontroller U4 can be monitored and reset through the watchdog chip U2, and engineering design and implementation are facilitated.
In one embodiment, the system monitoring circuit further comprises an oscillation circuit;
the oscillator circuit is connected to a microcontroller U4.
Specifically, the oscillation circuit is a circuit that generates an oscillation signal, the oscillation circuit may output an oscillation signal of a sine wave, a rectangular wave, a triangular wave, or the like, and the frequency, amplitude, and duty ratio of the oscillation signal may be adjusted. The oscillation circuit may be implemented in various conventional ways, for example, by an LC oscillation circuit or a crystal oscillator. The oscillation circuit is connected with the microcontroller U4, so that an oscillation signal can be provided for the microcontroller U4.
In one embodiment, the oscillator circuit includes a crystal oscillator chip U3 coupled to a microcontroller U4.
Specifically, the oscillation circuit may include a crystal oscillator chip U3, a seventh resistor R7, an eighth capacitor C8, and a ninth capacitor C9, as shown in fig. 6. The first end of the crystal oscillator chip U3 is connected with one end of an eighth capacitor C8 and one end of a seventh resistor R7 respectively, the other end of the eighth capacitor C8 is grounded, and the other end of the seventh resistor R7 can be connected with an STM32XI end of the microcontroller U4. The third end of the crystal oscillator chip U3 is connected with one end of a ninth capacitor C9 and the STM32XO end of the microcontroller U4 respectively, and the other end of the ninth capacitor C9 is connected with the second end of the crystal oscillator chip U3 and the ground respectively. The fourth terminal of the crystal oscillator chip U3 is grounded.
Further, the crystal oscillator chip U3 can be a 24M/Q24FA20H00153 chip; the seventh resistor R7 may be a 75 ohm resistor, the eighth capacitor C8 may be an 18 picofarad capacitor, and the ninth capacitor C9 may be an 18 picofarad capacitor.
In one embodiment, the microcontroller U4 is an STM32F070F6 microcontroller U4.
In one example, as shown in fig. 7, the system monitoring circuit may further include an eighth resistor R8, a ninth resistor R9, a tenth capacitor C10, and an eleventh capacitor C11. The BOOT0 end of the microcontroller U4 is connected with one end of the eighth resistor R8 and one end of the ninth resistor R9 respectively, the other end of the eighth resistor R8 is grounded, and the other end of the ninth resistor R9 is connected with the voltage output end of the voltage conversion circuit. The VDDA terminal of the microcontroller U4 is connected to the voltage output terminal of the voltage conversion circuit and one terminal of the tenth capacitor C10, respectively, and the other terminal of the tenth capacitor C10 is grounded. The VDD end of the microcontroller U4 is respectively connected with the voltage output end of the voltage conversion circuit and one end of an eleventh capacitor C11, and the other end of the eleventh capacitor C11 is respectively connected with the VSS end of the microcontroller U4 and the ground. Referring to fig. 8, the system monitoring circuit may further include a first test point TP1, a second test point TP2, a third test point TP3, and a fourth test point TP 4.
In one embodiment, an intelligent observation station is provided, comprising an SOC system, and the watchdog circuit of any of the above embodiments;
the SOC system is connected with a watchdog circuit.
Specifically, the intelligent observation station can be used for receiving satellite signals and obtaining position information according to the satellite signals. The SOC system can be used to run an operating system, and when a complex program is run on the operating system, the system is easily halted or a process is easily suspended. Meanwhile, the intelligent observation station is complex in circuit, severe in electromagnetic environment, strong in electromagnetic interference, narrow in space and high in integration level, and under the environment with high electromagnetic interference, the system crash phenomenon can also occur due to the electromagnetic interference.
In this application, the IO (Input/Output) pin of SOC among the SOC system can link to each other with microcontroller to monitor and reset the SOC system through the watchdog circuit, realize the two-stage watchdog strategy, improve intelligent monitoring system's reliability.
In one embodiment, the intelligent observation station may further comprise a power supply device, and the power supply device is connected with the SOC system through a watchdog circuit.
Specifically, the power supply device may be a device that supplies power to the watchdog circuit and the SOC system, may be an internal power supply or an external power supply, and may be integrated with the watchdog circuit on the same circuit board or a different circuit board, or disposed in the same module or respectively disposed in different modules.
Further, the power supply device may be a dc power supply or an ac power supply, and the switching circuit may include an electric energy conversion circuit, such as a rectification circuit and a voltage conversion circuit, to convert electric energy input by the power supply device, so that the voltage output by the switching circuit may be adapted to the SOC system, and provide a normal operating voltage for the SOC system, thereby ensuring reliability and stability of operation of the SOC system. In one example, the power supply device is a dc power supply.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the utility model. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A watchdog circuit, comprising:
a switching circuit for connecting between the SOC system and the power supply apparatus;
a system monitoring circuit comprising a microcontroller; the microcontroller is connected with the switch circuit and is used for connecting the SOC system;
and the microcontroller monitoring circuit is connected with the microcontroller.
2. The watchdog circuit of claim 1, further comprising a voltage conversion circuit for connecting the power supply device;
the voltage conversion circuit is respectively connected with the switching circuit, the microcontroller and the microcontroller monitoring circuit.
3. The watchdog circuit of claim 2, wherein the voltage conversion circuit comprises a voltage conversion chip and a first resistor;
the voltage input end of the voltage conversion chip is used for being connected with the power supply equipment, the voltage output end of the voltage conversion chip is respectively connected with the switching circuit, the microcontroller and the microcontroller monitoring circuit, and the enabling end of the voltage conversion chip is connected with one end of the first resistor;
the other end of the first resistor is used for connecting the power supply equipment.
4. The watchdog circuit of claim 2, wherein the switching circuit comprises a first switching device, a second resistance, and a third resistance;
a first end of the first switching device is connected with one end of the second resistor and is used for being connected with the power supply equipment, a second end of the first switching device is used for being connected with the SOC system, and a third end of the first switching device is respectively connected with the other end of the second resistor and the first end of the second switching device;
a second end of the second switching device is grounded, and a third end of the second switching device is respectively connected with a system reset end of the microcontroller and one end of the third resistor; the other end of the third resistor is connected with the voltage conversion circuit.
5. The watchdog circuit of claim 4, wherein the first switching device is a P-channel MOS transistor; the second switching device is an NPN triode.
6. The watchdog circuit of claim 2, wherein the microcontroller monitoring circuit comprises a watchdog chip and a fourth resistor;
the watchdog chip is provided with a watchdog feeding signal input end connected with the microcontroller, and a microcontroller reset end connected with the microcontroller and one end of the fourth resistor respectively;
the other end of the fourth resistor is connected with the voltage conversion circuit.
7. The watchdog circuit of any one of claims 1 to 6, wherein the system monitoring circuit further comprises an oscillation circuit;
the oscillating circuit is connected with the microcontroller.
8. The watchdog circuit of claim 7, wherein the oscillation circuit comprises a crystal oscillator chip coupled to the microcontroller.
9. A watchdog circuit according to any one of claims 1 to 6, wherein the microcontroller is an STM32F070F6 microcontroller.
10. An intelligent observation station comprising an SOC system, and the watchdog circuit of any one of claims 1 to 9;
the SOC system is connected with the watchdog circuit.
CN202020388833.0U 2020-03-24 2020-03-24 Watchdog circuit and intelligent observation station Active CN211264296U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202020388833.0U CN211264296U (en) 2020-03-24 2020-03-24 Watchdog circuit and intelligent observation station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202020388833.0U CN211264296U (en) 2020-03-24 2020-03-24 Watchdog circuit and intelligent observation station

Publications (1)

Publication Number Publication Date
CN211264296U true CN211264296U (en) 2020-08-14

Family

ID=71957079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202020388833.0U Active CN211264296U (en) 2020-03-24 2020-03-24 Watchdog circuit and intelligent observation station

Country Status (1)

Country Link
CN (1) CN211264296U (en)

Similar Documents

Publication Publication Date Title
CN205017207U (en) Switching on and shutting down control circuit and switching power supply
CN109194317B (en) Reset circuit and wearable equipment
CN109390992A (en) Battery protection chip, power supply unit and electronic cigarette
US20150042179A1 (en) Remote control circuit
CN206353706U (en) A kind of electric equipment and its power-down protection circuit
US8201003B2 (en) Circuit for preventing computer power down sequence failure
CN211264296U (en) Watchdog circuit and intelligent observation station
CN208316365U (en) A kind of power down time extends circuit and power control circuit
CN107561991B (en) Startup and shutdown management circuit and terminal
CN103713912A (en) Automatic power on circuit of computer
US8806234B2 (en) Motherboard having time delay circuit for delaying PSON signal
CN218547453U (en) Reset control circuit and intelligence lock based on watchdog chip
US8854086B1 (en) Clock distribution systems for low power applications
CN211653694U (en) Chip and method for manufacturing the same
CN113054966B (en) Low-power consumption state control circuit
CN212289727U (en) Vehicle power-on and power-off control circuit
CN220087267U (en) Power-on starting circuit and industrial computer
CN205688220U (en) A kind of intelligent washing machine control system
JPH0754486B2 (en) Memory retention system
CN220041072U (en) Anti-interference low-power-consumption power-on reset circuit
CN216474059U (en) IOT module applied to intelligent washing machine
CN221175397U (en) Watchdog control circuit
CN220962186U (en) Power management control circuit
US20160156181A1 (en) Electronic device and motherboard and protecting circuit of electronic device
CN219016815U (en) System monitoring maintenance device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant