CN202632277U - Watchdog with data communication function - Google Patents

Watchdog with data communication function Download PDF

Info

Publication number
CN202632277U
CN202632277U CN 201220277637 CN201220277637U CN202632277U CN 202632277 U CN202632277 U CN 202632277U CN 201220277637 CN201220277637 CN 201220277637 CN 201220277637 U CN201220277637 U CN 201220277637U CN 202632277 U CN202632277 U CN 202632277U
Authority
CN
China
Prior art keywords
control module
register
reset
data communication
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CN 201220277637
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.)
SHANGHAI ENVIRONMENTAL MONITORING EQUIPMENT CO Ltd
Original Assignee
SHANGHAI ENVIRONMENTAL MONITORING EQUIPMENT 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 SHANGHAI ENVIRONMENTAL MONITORING EQUIPMENT CO Ltd filed Critical SHANGHAI ENVIRONMENTAL MONITORING EQUIPMENT CO Ltd
Priority to CN 201220277637 priority Critical patent/CN202632277U/en
Application granted granted Critical
Publication of CN202632277U publication Critical patent/CN202632277U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The utility model relates to a watchdog and belongs to the field of automatic control. The watchdog with a data communication function comprises a timer and a reset circuit and is characterized by further comprising a control unit, wherein the control unit comprises a control module, a communication module and a register; the control module consists of a counter and a comparator; the timing port of the control module is connected with the timer; the reset port of the control module is connected with the reset circuit; the communication module is sequentially connected with communication circuit and a system, and transmits a signal sent from the system to the register or returns the signal in the register to the system; and according to reading the signal registered in the register, the control module executes computation or comparison and sends a reset signal to the reset circuit for reset. The watchdog with the data communication function, provided by the utility model, is communicated with the system to meet change requirement of the system in real time, and also can independently process a received analog quantity signal to achieve real-time and intelligent monitoring of the system.

Description

A kind of watchdog device that has data communication facility
Technical field
The utility model relates to a kind of watchdog device, relates in particular to a kind of watchdog device that has data communication facility.
Background technology
In fields such as communication, Industry Control, robotization, use the system of band CPU in large quantities, so the reliability of CPU is an important symbol.For fear of the deadlock or the race machine that produce owing to unforeseen incident or misprogrammed, people have designed house dog, and it can prevent effectively that locking system gets into endless loop or program fleet.
Present house dog groundwork module is a timer, and when operate as normal, system's meeting is whenever carried out zero clearing to the counter of house dog at regular intervals, makes counter can't reach predetermined target value.Counter to house dog carries out clear operation in official hour and in case system does not have; When counter reaches target value set; House dog can think that system breaks down, and will send a reset signal to system, thereby reaches the purpose of recovery system operate as normal.
But the counter of present watchdog device generally is pre-set; When perhaps the main body operational system changes after the environmental change around; Original watchdog device just can not meet the requirements, and therefore general more changing device is perhaps reset to watchdog device separately.Before changing or resetting, may cause system to go wrong, thereby cause loss, resetting needs spended time again, so the accuracy of system and reliability all can be affected.
Summary of the invention
The utility model technical matters to be solved provides a kind of watchdog device that has data communication facility, and solving present watchdog device can't be in response to the variation of environment or the variation of system, thereby influences the accuracy of system and the defective of reliability.
Technical scheme
A kind of watchdog device that has data communication facility; Comprise timer and reset circuit; It is characterized in that: also comprise control module, said control module comprises control module, communication module and register, and said control module comprises counter and comparer; The timing mouth of control module is connected with timer; The mouth that resets of control module is connected with reset circuit, and said communication module connects communicating circuit, carries out communication through communicating circuit and system; The signal that system is transmitted is sent to register or will be with regard to signal back system in the register, said control module through read in the signal of depositing in the register and count or relatively after send reset signal to reset circuit and reset.
Said control module has analog quantity input, is connected with environmental sensor through analog quantity input, and the analog signals of input is sent to register.
The analog quantity input of said control module has 8, to multi-link 8 kinds of environmental sensors.
Said environmental sensor comprises temperature sensor and humidity sensor.
Register comprises timer desired value deposit unit, reset signal deposit unit and analog data deposit unit.
Said control module adopts the ATMEL8 single-chip microcomputer.
Adopt serial communication between the communication module of said control module and communicating circuit and the system.
Beneficial effect
The watchdog device that has data communication facility of the utility model adopts single-chip microcomputer as control module, and carries out communication with the communicating circuit combination with system, is provided with analog quantity input; Not only can through with the communication of system; Accept system because thereby the variation of service requirement changes the watchdog device signal of reset time, accomplish the requirement that real-time compliance with system changes, and the analog signals of can also independent processing accepting; Can change the time setting that resets according to the variation of analog signals; The analog signals that also can transmit environment supplies system handles, accepts the signal after the system handles, realizes in real time supervisory system intelligently; It is smooth and easy that the assurance system moves, and guarantees the accuracy and the reliability of system.
Description of drawings
Fig. 1 is the utility model synoptic diagram.
Fig. 2 is a control module synoptic diagram in the utility model.
Embodiment
Below in conjunction with specific embodiment and accompanying drawing, further set forth the utility model.
For solving the variation that present watchdog device can't conform or the variation of system; Thereby influence the accuracy of system and the situation of reliability, proposed following scheme: a kind of watchdog device that has data communication facility comprises timer and reset circuit; Also comprise control module; Said control module adopts the ATMEL8 single-chip microcomputer, and single-chip microcomputer comprises control module, communication module and register, and said control module comprises counter and comparer; The timer of control module is connected with timer; The mouth that resets of control module is connected with reset circuit, and said communication module connects communicating circuit, carries out communication through communicating circuit and system; The signal that system is transmitted is sent to register or will be with regard to signal back system in the register, said control module through read in the signal of depositing in the register and count or relatively after send reset signal to reset circuit and reset.
Said analog quantity input has 8, can be to multi-link 8 kinds of environmental sensors, like temperature sensor and humidity sensor etc.
After having adopted the application's watchdog device, system carries out the zero clearing of timer through serial communication and microcontroller communication, relevant parameters is set and reads in Sensor Analog Relay System amount data through serial communication through serial communication.
The user can be provided with the time of timer after system start-up, according to condition of different different desired values is set, and has increased the dirigibility of watchdog device.
The user can also insert watchdog device with the isoparametric signal of field temperature, humidity that system uses; System can read relevant numerical in real time, and corresponding alarming value is set in register, when correlation parameter surpasses corresponding alarming value; The desired value of timer can be made corresponding change; So that the better ruuning situation of supervisory system, automatic reset system where necessary, the house dog that changes in the past can only come supervisory system according to fixing condition.
In the application's practical implementation, the control module of single-chip microcomputer reads the desired value of each parameter in the register, and sends counter to; After the desired value that receives each new parameter of sending, it is write register by system;
Control module is also read in the analog quantity input signal, and it is calculated to be relevant numerical sends to system;
Whether control module also is used for the reset signal of detected register stored by System Cleaning, and whether testing result has sent reset signal.
Counter is used for counting, and when count value reaches said desired value, produces reset signal, and sends reset signal to system;
Control module can also be read in the reset signal that software sends, and realizes that house dog in time resets.
Register comprises timer desired value deposit unit, reset signal deposit unit, analog data deposit unit.
Timer desired value deposit unit is used to store the timer desired value of user preset; Reaching in system's operation is the timer desired value of changing automatically according to ambient conditions.
The reset signal deposit unit is used for the reset signal that storage control unit sends.
The clock signal that the counter receiving system is sent, and trigger upwards counting of accumulative total at the rising edge of each clock or negative edge;
The count value that the timer desired value of comparer receiving register and said counter transmit compares target and count value, and when count value was equal with desired value, comparer sent reset signal and gives reset circuit.
Control module gives reset signal to counter, is used for counter O reset.
Counter also can receive the clear command from system, carries out counter O reset.
Removing reset signal is meant the reset signal zero clearing in the register.
Before beginning new round counting, the combination realization that can pass through system's zero clearing, self zero clearing is to counter O reset;
System's zero clearing is that control system produces the reset signal realization after system receives reset instruction; Self zero clearing is sent by control module and is produced reset signal automatically after the reset signal and realize.
Through this device, house dog can send the sign on that resets to system through control module after reaching desired value, avoids having no the loss of data that system reset brought under the situation of early warning, the problem of makeing mistakes; The zero clearing of house dog can be carried out through the mode of self zero clearing, system's zero clearing in addition, need timer be set in addition in system house dog is carried out the periodicity zero clearing, has saved system resource, has reduced cost.And the desired value in the native system all can be selected control by the user to system reset operation, has increased the dirigibility of using.

Claims (7)

1. watchdog device that has data communication facility; Comprise timer and reset circuit; It is characterized in that: also comprise control module, said control module comprises control module, communication module and register, and said control module comprises counter and comparer; The timing mouth of control module is connected with timer; The mouth that resets of control module is connected with reset circuit, and said communication module connects communicating circuit, carries out communication through communicating circuit and system; The signal that system is transmitted is sent to register or will be with regard to signal back system in the register, said control module through read in the signal of depositing in the register and count or relatively after send reset signal to reset circuit and reset.
2. the watchdog device that has data communication facility as claimed in claim 1 is characterized in that: said control module has analog quantity input, is connected with environmental sensor through analog quantity input, and the analog signals of input is sent to register.
3. the watchdog device that has data communication facility as claimed in claim 2 is characterized in that: the analog quantity input of said control module has 8, to multi-link 8 kinds of environmental sensors.
4. like claim 2 or the 3 described watchdog devices that have data communication facility, it is characterized in that: said environmental sensor comprises temperature sensor and humidity sensor.
5. according to claim 1 or claim 2 the watchdog device that has data communication facility, it is characterized in that: register comprises timer desired value deposit unit, reset signal deposit unit and analog data deposit unit.
6. according to claim 1 or claim 2 the watchdog device that has data communication facility, it is characterized in that: said control module adopts the ATMEL8 single-chip microcomputer.
7. according to claim 1 or claim 2 the watchdog device that has data communication facility is characterized in that: adopt serial communication between the communication module of said control module and communicating circuit and the system.
CN 201220277637 2012-06-12 2012-06-12 Watchdog with data communication function Expired - Lifetime CN202632277U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220277637 CN202632277U (en) 2012-06-12 2012-06-12 Watchdog with data communication function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220277637 CN202632277U (en) 2012-06-12 2012-06-12 Watchdog with data communication function

Publications (1)

Publication Number Publication Date
CN202632277U true CN202632277U (en) 2012-12-26

Family

ID=47385449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220277637 Expired - Lifetime CN202632277U (en) 2012-06-12 2012-06-12 Watchdog with data communication function

Country Status (1)

Country Link
CN (1) CN202632277U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106527249A (en) * 2015-05-11 2017-03-22 硅实验室股份有限公司 Peripheral watchdog timer
CN107728533A (en) * 2017-11-06 2018-02-23 嘉兴御创电力科技有限公司 It is a kind of can intelligent communication monitoring manager
CN110856146A (en) * 2019-11-14 2020-02-28 广州市兆基仪表仪器制造有限公司 Thing networking instrument clock timing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106527249A (en) * 2015-05-11 2017-03-22 硅实验室股份有限公司 Peripheral watchdog timer
CN107728533A (en) * 2017-11-06 2018-02-23 嘉兴御创电力科技有限公司 It is a kind of can intelligent communication monitoring manager
CN110856146A (en) * 2019-11-14 2020-02-28 广州市兆基仪表仪器制造有限公司 Thing networking instrument clock timing device

Similar Documents

Publication Publication Date Title
KR20160015193A (en) Improvements in rfid tracking
CN106197468B (en) The method and system of pedometer step number renewal
CN101689073A (en) Interrupt/wake-up of an electronic device in a law power sleep mode when detecting a sensor or frequency source activated frequency change
CN204650294U (en) A kind of purifier utilizing technology of Internet of things
CN104503565A (en) Power consumption management method and device for mobile device and mobile device
CN202632277U (en) Watchdog with data communication function
CN204155128U (en) A kind of intelligent pig house supervisory system
CN104750567B (en) A kind of watchdog reset method based on FPGA
CN105300471A (en) Bubble liquid level detection device of industrial liquid level control system
CN100419696C (en) Safeguard device and safeguard interruption prewarm method
CN208296201U (en) A kind of air quantity automatic regulating system
CN101833480B (en) Method for realizing watchdog by using timer and resetting pin of singlechip
CN202257332U (en) Active radio frequency identification (RFID) machine room humidity control system
CN204359441U (en) A kind of multi way temperature monitoring turnaround system
CN104656604B (en) A kind of utilization MODBUS communication protocols realize the safety and stability control device of electric network and its method of man-machine interaction
CN103677991A (en) Task execution method based on single chip microcomputer system framework and single chip microcomputer system framework
CN109740322A (en) A kind of Computer information network engineering system
CN205375041U (en) Can bus controller
CN104266731A (en) System for verifying electromagnetic flowmeter
CN204117343U (en) Arcola security of operation IDT
CN203414978U (en) Active wireless temperature and humidity label
CN101995927A (en) Resetting-operating method of 51 single chip microcomputer (SCM)
CN203133603U (en) A building structure health monitoring system
CN205263795U (en) Embedded recorder of treater machine of delaying
CN203785793U (en) Electric reactor temperature monitor terminal

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20121226