SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 05 | May 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1049
FPGA IMPLEMENTATION OF AN IMPROVED WATCHDOG
TIMER FOR SAFETY CRITICAL APPLICATIONS
M. Jamuna1, Mrs. S. Jayashree2
1Department of Electronics and Communication Engineering, Sri Ramanujar Engineering College, Chennai
2Assistant Professor, Department of Electronics and Communication Engineering, Sri Ramanujar
Engineering College, Chennai
------------------------------------------------------------------------***-------------------------------------------------------------------------
ABSTRACT - Embedded systems that are employed in
safety critical applications require highest reliability. This
paper describes the architecture and design of an
improved configurable windowed watchdog timer that
can be employed in safety-critical applications. Several
fault detection mechanisms are built into the watchdog,
which adds to its robustness. This allows the design to be
easily adaptable to different applications, while reducing
the overall system cost and also the timing constrain is less
in proposed watchdog than the existing due to the
processor dependant. The effectiveness of the proposed
watchdog timer to detect and respond to faults is first
studied by analyzing the simulation results. Thus after
designing the watchdog it is implemented in ATM and
space launch vehicle and verified. The design is coded in
Verilog and implemented in Xilinx 14.5 and implemented
in FPGA Spartan 6. The design is validated in a real-time
hardware by injecting faults through the software while
the processor is executing.
1. INTRODUCTION
A watchdog timer (sometimes called a computer
operating properly or COP timer, or simply a watchdog)
is an electronic timer that is used to detect and recover
from computer malfunctions. During normal operation,
the computer regularly resets the watchdog timer to
prevent it from elapsing, or "timing out". If, due to a
hardware fault or program error, the computer fails to
reset the watchdog, the timer will elapse and generate a
timeout signal. The timeout signal is used to initiate
corrective action or actions. The corrective actions
typically include placing the computer system in a safe
state and restoring normal system operation.
Watchdog timers are commonly found
in embedded systems and other computer-controlled
equipment where humans cannot easily access the
equipment or would be unable to react to faults in a
timely manner. In such systems, the computer cannot
depend on a human to invoke a reboot if it hangs; it must
be self-reliant. For example, remote embedded systems
such as space probes are not physically accessible to
human operators; these could become permanently
disabled if they were unable to autonomously recover
from faults. A watchdog timer is usually employed in
cases like these. Watchdog timers may also be used
when running un-trusted code in a sandbox, to limit the
CPU time available to the code and thus prevent some
types of denial-of-service attacks.
Fig 1. Block diagram of watchdog timer
2. EXISTING WATCHDOG TIMER:
In the existing system, a watchdog timer with no
windowed watchdog is executed. The input is directly
sent into the memory, from the memory instructions are
processed into the processor, this watchdog will not
detect the fault immediately. If there is any error
occurrence in between them, it will sequentially wait for
its time to trigger the CPU that error has occurred. It is
totally dependent on the CPU. Then after CPU, getting the
error information it will reset the whole process. It is
stated as slow watchdog fault mechanism. The time it
takes to reach the error mechanism to rectify is more
than the proposed system. Since it is not clock
independent, this sequential watchdog is a failure to
embedded system. It is rectified during this proposed
system.
Fig2. Existing block diagram
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 05 | May 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1050
DISADVANTAGES OF EXISTING SYSTEM:
● It doesn’t have any window, thus if there is any
error in between the processing time, the
watchdog will observe the error only after the
full processor design completes, thus fast faults
cannot be detected with this method .
● Process is slow in this method.
● Data cannot be retrieved back in this method.
3. PROPOSED SYSTEM
The watchdog timer proposed in this paper operates
independently of the processor and uses a dedicated
clock for its functions of three windows such as service
window, frame window and controller window. The
architecture follows a windowed watchdog
implementation, where the window periods can be
configured by the software during initialization. A fail
flag is raised when the watchdog timer expires and after
a fixed amount of time from raising the flag, a reset is
triggered. The time in-between can be used by the
software to store valuable debugging information to a
non-volatile medium.
ADVANTAGE
• Since it has the window, it will detect faults
immediately after the fault occurs, thus efficient
than the existing system
• It is more efficient in detecting fast faults. Data
can be retrieved during this process.
• Processing time is less than the windowless
technique.
The design is clocked by its SYSCLK input, which is
independent of the processor clock. The possible sets of
window lengths are arrived based on the application and
hard-coded in the design. These values can be selected
by writing to the appropriate bits in the configuration
register - SWLEN for the service window and FWLEN for
the frame window - after power-on. In order to change
the window lengths, the software will have to perform
two successive writes to this register with data 0xAAAA
and 0x5555. Subsequent to writing the first pattern the
second one must be written within 10 μs, after which the
software gets a 10 μs period to modify the length
configuration fields. If these timings are not strictly met,
writes to these bits will remain disabled.
The service window is started when a high-to-low
transition is detected on the INIT signal. The service
window uses a derived clock (SWCLK) that is much
slower than the SYSCLK. The slower clock helps in
reducing the number of comparators required, thus
minimizing the resource utilization in FPGA. The service
window has an offset up/down counter that are clocked
by the SYSCLK, and a main counter that runs at SWCLK.
When the watchdog is correctly serviced, the counters in
the service window stop immediately and the frame
window starts.. The offset up counter here finds the
offset between the termination of the service window
and the next rising edge of the FWCLK. The frame
window counters reset when a watchdog service
operation occurs within the next service window
duration, before the frame window expires.
4. PROPOSEDBLOCK DIAGRAM WITH FAULT
INJECTION BLOCK:
Fig3. Fault injection block diagram
The random numbers generated are injected into the
program counter at random periods of time. A random
pulse is driven from a second PN sequence generator.
This pulse controls a multiplexer whose output is
connected to the Program counter. The inputs are either
an incrementer or the random generator. At all times
the incrementer is selected as this is the normal
operation of the system. Simultaneously the watchdog
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 05 | May 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1051
timer is running and a counter records the number of
times the watchdog is able to detect the injected faults.
Fig4. Random fault generator block diagram
5. IMPLEMENTATIONOF WATCHDOG IN SPACE
LAUNCH VEHICLE
Maintaining of space launch vehicle is the most
important parameter to be fixed .if there is any
parameter not checked or not built; it leads to large loss
of money and time. Thus our watchdog timers will do
this job in a perfect way. In our existing system, all the
parameters are checked all at a time and if there is any
fault in checking of temperature, pressure and heat
explosion, then these parameters are made with some
terminal value, checked with the parameters pre-
recorded, thus leading to watchdog fault if there is an
overflow value range. Similarly in our proposed system,
we find an efficient way to check our parameters
individually, thus leading to windowed watchdog timer.
Each window goes on checking with each parameter,
thus leading to wdfail in each stage.
Fig5. Existing application of space launch vehicle
Fig6. Proposed application of space launch vehicle
6. RESULTS AND SIMULATION
IF pressure, temp and heat values obtained from
the sensor is subjected to test and maintain by watchdog,
thus the terminal values of all three are maintained and
processed, in windowless technique, if there is a
parameter meeting its extreme me limit, wdfail = 0, thus
watchdog making an interrupt request to processor, thus
processor takes the action over it to reset.
Fig7. Simulation of existing application of space
launch vehicle
if there is no extreme limit met , then wdfail = 0; thus
rstout = 0;
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 05 | May 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1052
DEVICE SUMMARY:
TIMING REPORT
PROPOSED SYSTEM:
IF RSTOUT, IT GOES BACK TO THE ORIGINAL INITIAL
VALUE OF THE SPACE LAUNCH VECHICLE:
RTL SCHEMATIC:
International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056
Volume: 06 Issue: 05 | May 2019 www.irjet.net p-ISSN: 2395-0072
© 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1053
DEVICE SUMMARY:
CONCLUSION
Thus from the results we prove that timing taken by the
windowed watchdog timer is taking much slower time
than the existing without window technique. This project
presented in detail the architecture and design of an
improved windowed watchdog timer and its
implementation in FPGA. The watchdog timer runs
completely independent of the processor and permits
adjusting the timer parameters according to the
application. Several fault detection techniques are built
into the watchdog for the early detection of erratic
software modes. It has the capability to identify the
failure type and log it, which can become valuable while
debugging. Upon detecting a failure, the watchdog timer
also allows the software sufficient time for saving the
debug information, before initiating a reset.
REFERENCES
[1] S. N. Chau, L. Alkalai, A. T. Tai, and J. B. Burt, “Design
of a fault tolerant COTS-based bus architecture,” IEEE
Transactions on Reliability, vol. 48, no. 4, pp. 351–359,
Dec. 1999.
[2] V. B. Prasad, “Fault tolerant digital systems,” IEEE
Potentials, vol. 8, no. 1, pp. 17–21, Feb. 1989.
[3] J. Beningo, “A review of watchdog architectures and
their application to Cubesats,” Apr. 2010.
[4] A. Mahmood and E. J. McCluskey, “Concurrent error
detection using watchdog processors - a survey,” IEEE
Transactions on Computers, vol. 37, no. 2, pp. 160–174,
Feb. 1988.
DESCRIPTION AREA
ANALYSIS
TIMING
REPORT
EXISTING
APPLICATION
WATCHDOG TIMER
13 LUT’s 7.821ns
PROPOSED
APPLICATION
WATCHDOG TIMER
13 LUT’s 3.318 ns

More Related Content

PDF
IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety-Critical ...
PDF
Safety of machinery - Application of standard EN ISO 13849-1
PDF
Complying with New Functional Safety Standards
PDF
T89 introductiontofunctionalsafetyformachinery
PDF
Tdoct0713a eng
PDF
55419663 burner-management-system
PPT
FastTracer
PDF
Functional safety standards_for_machinery
IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety-Critical ...
Safety of machinery - Application of standard EN ISO 13849-1
Complying with New Functional Safety Standards
T89 introductiontofunctionalsafetyformachinery
Tdoct0713a eng
55419663 burner-management-system
FastTracer
Functional safety standards_for_machinery

What's hot (14)

PDF
When is a SIL Rating of a Valve Required?
PPS
S.steele functional safety ppt
PDF
Impacts of integrated safety on machine and plant concepts
PDF
Annunciator for Hazard Prevention & Temperature Control
PDF
T06 machine safetyachievingandmaintainingregulatorycompliance-canada
PDF
Viewpoint on ISA TR84.0.02 - simplified methods and fault tree analysis
PPTX
Autonomous Industry Feedback
PDF
W09 safety risk-assessments-pls-and-sils
PPTX
INTERRUPTS
PDF
Functional Safety, high demand/low demand mode med fokus på de funktioner, so...
PPTX
Automated Fault Analysis - IVPower for Transmission System Operators and Dist...
PDF
Interrupts in CPU
PPT
Types of Interrupts with details Mi ppt
When is a SIL Rating of a Valve Required?
S.steele functional safety ppt
Impacts of integrated safety on machine and plant concepts
Annunciator for Hazard Prevention & Temperature Control
T06 machine safetyachievingandmaintainingregulatorycompliance-canada
Viewpoint on ISA TR84.0.02 - simplified methods and fault tree analysis
Autonomous Industry Feedback
W09 safety risk-assessments-pls-and-sils
INTERRUPTS
Functional Safety, high demand/low demand mode med fokus på de funktioner, so...
Automated Fault Analysis - IVPower for Transmission System Operators and Dist...
Interrupts in CPU
Types of Interrupts with details Mi ppt
Ad

Similar to IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety Critical Applications (20)

PDF
IRJET- Design and Implementation of High Speed FPGA Configuration using SBI
PPTX
High Reliabilty Systems
PPT
PDF
How fpgas work when they don't
PPTX
ESD III UNIT.pptx
PDF
An application specific reconfigurable architecture for fault testing and dia...
PDF
An application specific reconfigurable architecture
PDF
Black Box Model based Self Healing Solution for Stuck at Faults in Digital Ci...
PPT
Basics of railway principles
PDF
Development and evaluation of a 2oo3 safety controller in FPGA using fault tr...
PPTX
Poster on Watchdog Timer in LPC2148
PDF
wd1-01-jaseel-madhusudan-pres-user
DOC
Jack_Knutson_SNUG2003_ Copy
PDF
Stinson post si and verification
PDF
FPGA in hardware description language based digital clock alarm system with 2...
PDF
What is POR,LVD,WDT ?
PDF
BUD17-309: IRQ prediction
PPT
Sequential Logic Design_____________.ppt
PDF
4 colin walls - self-testing in embedded systems
PDF
FPGA Debug Using Incremental Trace Buffer
IRJET- Design and Implementation of High Speed FPGA Configuration using SBI
High Reliabilty Systems
How fpgas work when they don't
ESD III UNIT.pptx
An application specific reconfigurable architecture for fault testing and dia...
An application specific reconfigurable architecture
Black Box Model based Self Healing Solution for Stuck at Faults in Digital Ci...
Basics of railway principles
Development and evaluation of a 2oo3 safety controller in FPGA using fault tr...
Poster on Watchdog Timer in LPC2148
wd1-01-jaseel-madhusudan-pres-user
Jack_Knutson_SNUG2003_ Copy
Stinson post si and verification
FPGA in hardware description language based digital clock alarm system with 2...
What is POR,LVD,WDT ?
BUD17-309: IRQ prediction
Sequential Logic Design_____________.ppt
4 colin walls - self-testing in embedded systems
FPGA Debug Using Incremental Trace Buffer
Ad

More from IRJET Journal (20)

PDF
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
PDF
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
PDF
Kiona – A Smart Society Automation Project
PDF
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
PDF
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
PDF
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
PDF
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
PDF
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
PDF
BRAIN TUMOUR DETECTION AND CLASSIFICATION
PDF
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
PDF
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
PDF
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
PDF
Breast Cancer Detection using Computer Vision
PDF
Auto-Charging E-Vehicle with its battery Management.
PDF
Analysis of high energy charge particle in the Heliosphere
PDF
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
PDF
Auto-Charging E-Vehicle with its battery Management.
PDF
Analysis of high energy charge particle in the Heliosphere
PDF
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
Enhanced heart disease prediction using SKNDGR ensemble Machine Learning Model
Utilizing Biomedical Waste for Sustainable Brick Manufacturing: A Novel Appro...
Kiona – A Smart Society Automation Project
DESIGN AND DEVELOPMENT OF BATTERY THERMAL MANAGEMENT SYSTEM USING PHASE CHANG...
Invest in Innovation: Empowering Ideas through Blockchain Based Crowdfunding
SPACE WATCH YOUR REAL-TIME SPACE INFORMATION HUB
A Review on Influence of Fluid Viscous Damper on The Behaviour of Multi-store...
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...
Explainable AI(XAI) using LIME and Disease Detection in Mango Leaf by Transfe...
BRAIN TUMOUR DETECTION AND CLASSIFICATION
The Project Manager as an ambassador of the contract. The case of NEC4 ECC co...
"Enhanced Heat Transfer Performance in Shell and Tube Heat Exchangers: A CFD ...
Advancements in CFD Analysis of Shell and Tube Heat Exchangers with Nanofluid...
Breast Cancer Detection using Computer Vision
Auto-Charging E-Vehicle with its battery Management.
Analysis of high energy charge particle in the Heliosphere
A Novel System for Recommending Agricultural Crops Using Machine Learning App...
Auto-Charging E-Vehicle with its battery Management.
Analysis of high energy charge particle in the Heliosphere
Wireless Arduino Control via Mobile: Eliminating the Need for a Dedicated Wir...

Recently uploaded (20)

DOCX
573137875-Attendance-Management-System-original
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
web development for engineering and engineering
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPT
Project quality management in manufacturing
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Lecture Notes Electrical Wiring System Components
PDF
PPT on Performance Review to get promotions
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
Current and future trends in Computer Vision.pptx
573137875-Attendance-Management-System-original
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
web development for engineering and engineering
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Foundation to blockchain - A guide to Blockchain Tech
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Project quality management in manufacturing
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Operating System & Kernel Study Guide-1 - converted.pdf
Embodied AI: Ushering in the Next Era of Intelligent Systems
Lecture Notes Electrical Wiring System Components
PPT on Performance Review to get promotions
R24 SURVEYING LAB MANUAL for civil enggi
Current and future trends in Computer Vision.pptx

IRJET- FPGA Implementation of an Improved Watchdog Timer for Safety Critical Applications

  • 1. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 05 | May 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1049 FPGA IMPLEMENTATION OF AN IMPROVED WATCHDOG TIMER FOR SAFETY CRITICAL APPLICATIONS M. Jamuna1, Mrs. S. Jayashree2 1Department of Electronics and Communication Engineering, Sri Ramanujar Engineering College, Chennai 2Assistant Professor, Department of Electronics and Communication Engineering, Sri Ramanujar Engineering College, Chennai ------------------------------------------------------------------------***------------------------------------------------------------------------- ABSTRACT - Embedded systems that are employed in safety critical applications require highest reliability. This paper describes the architecture and design of an improved configurable windowed watchdog timer that can be employed in safety-critical applications. Several fault detection mechanisms are built into the watchdog, which adds to its robustness. This allows the design to be easily adaptable to different applications, while reducing the overall system cost and also the timing constrain is less in proposed watchdog than the existing due to the processor dependant. The effectiveness of the proposed watchdog timer to detect and respond to faults is first studied by analyzing the simulation results. Thus after designing the watchdog it is implemented in ATM and space launch vehicle and verified. The design is coded in Verilog and implemented in Xilinx 14.5 and implemented in FPGA Spartan 6. The design is validated in a real-time hardware by injecting faults through the software while the processor is executing. 1. INTRODUCTION A watchdog timer (sometimes called a computer operating properly or COP timer, or simply a watchdog) is an electronic timer that is used to detect and recover from computer malfunctions. During normal operation, the computer regularly resets the watchdog timer to prevent it from elapsing, or "timing out". If, due to a hardware fault or program error, the computer fails to reset the watchdog, the timer will elapse and generate a timeout signal. The timeout signal is used to initiate corrective action or actions. The corrective actions typically include placing the computer system in a safe state and restoring normal system operation. Watchdog timers are commonly found in embedded systems and other computer-controlled equipment where humans cannot easily access the equipment or would be unable to react to faults in a timely manner. In such systems, the computer cannot depend on a human to invoke a reboot if it hangs; it must be self-reliant. For example, remote embedded systems such as space probes are not physically accessible to human operators; these could become permanently disabled if they were unable to autonomously recover from faults. A watchdog timer is usually employed in cases like these. Watchdog timers may also be used when running un-trusted code in a sandbox, to limit the CPU time available to the code and thus prevent some types of denial-of-service attacks. Fig 1. Block diagram of watchdog timer 2. EXISTING WATCHDOG TIMER: In the existing system, a watchdog timer with no windowed watchdog is executed. The input is directly sent into the memory, from the memory instructions are processed into the processor, this watchdog will not detect the fault immediately. If there is any error occurrence in between them, it will sequentially wait for its time to trigger the CPU that error has occurred. It is totally dependent on the CPU. Then after CPU, getting the error information it will reset the whole process. It is stated as slow watchdog fault mechanism. The time it takes to reach the error mechanism to rectify is more than the proposed system. Since it is not clock independent, this sequential watchdog is a failure to embedded system. It is rectified during this proposed system. Fig2. Existing block diagram
  • 2. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 05 | May 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1050 DISADVANTAGES OF EXISTING SYSTEM: ● It doesn’t have any window, thus if there is any error in between the processing time, the watchdog will observe the error only after the full processor design completes, thus fast faults cannot be detected with this method . ● Process is slow in this method. ● Data cannot be retrieved back in this method. 3. PROPOSED SYSTEM The watchdog timer proposed in this paper operates independently of the processor and uses a dedicated clock for its functions of three windows such as service window, frame window and controller window. The architecture follows a windowed watchdog implementation, where the window periods can be configured by the software during initialization. A fail flag is raised when the watchdog timer expires and after a fixed amount of time from raising the flag, a reset is triggered. The time in-between can be used by the software to store valuable debugging information to a non-volatile medium. ADVANTAGE • Since it has the window, it will detect faults immediately after the fault occurs, thus efficient than the existing system • It is more efficient in detecting fast faults. Data can be retrieved during this process. • Processing time is less than the windowless technique. The design is clocked by its SYSCLK input, which is independent of the processor clock. The possible sets of window lengths are arrived based on the application and hard-coded in the design. These values can be selected by writing to the appropriate bits in the configuration register - SWLEN for the service window and FWLEN for the frame window - after power-on. In order to change the window lengths, the software will have to perform two successive writes to this register with data 0xAAAA and 0x5555. Subsequent to writing the first pattern the second one must be written within 10 μs, after which the software gets a 10 μs period to modify the length configuration fields. If these timings are not strictly met, writes to these bits will remain disabled. The service window is started when a high-to-low transition is detected on the INIT signal. The service window uses a derived clock (SWCLK) that is much slower than the SYSCLK. The slower clock helps in reducing the number of comparators required, thus minimizing the resource utilization in FPGA. The service window has an offset up/down counter that are clocked by the SYSCLK, and a main counter that runs at SWCLK. When the watchdog is correctly serviced, the counters in the service window stop immediately and the frame window starts.. The offset up counter here finds the offset between the termination of the service window and the next rising edge of the FWCLK. The frame window counters reset when a watchdog service operation occurs within the next service window duration, before the frame window expires. 4. PROPOSEDBLOCK DIAGRAM WITH FAULT INJECTION BLOCK: Fig3. Fault injection block diagram The random numbers generated are injected into the program counter at random periods of time. A random pulse is driven from a second PN sequence generator. This pulse controls a multiplexer whose output is connected to the Program counter. The inputs are either an incrementer or the random generator. At all times the incrementer is selected as this is the normal operation of the system. Simultaneously the watchdog
  • 3. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 05 | May 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1051 timer is running and a counter records the number of times the watchdog is able to detect the injected faults. Fig4. Random fault generator block diagram 5. IMPLEMENTATIONOF WATCHDOG IN SPACE LAUNCH VEHICLE Maintaining of space launch vehicle is the most important parameter to be fixed .if there is any parameter not checked or not built; it leads to large loss of money and time. Thus our watchdog timers will do this job in a perfect way. In our existing system, all the parameters are checked all at a time and if there is any fault in checking of temperature, pressure and heat explosion, then these parameters are made with some terminal value, checked with the parameters pre- recorded, thus leading to watchdog fault if there is an overflow value range. Similarly in our proposed system, we find an efficient way to check our parameters individually, thus leading to windowed watchdog timer. Each window goes on checking with each parameter, thus leading to wdfail in each stage. Fig5. Existing application of space launch vehicle Fig6. Proposed application of space launch vehicle 6. RESULTS AND SIMULATION IF pressure, temp and heat values obtained from the sensor is subjected to test and maintain by watchdog, thus the terminal values of all three are maintained and processed, in windowless technique, if there is a parameter meeting its extreme me limit, wdfail = 0, thus watchdog making an interrupt request to processor, thus processor takes the action over it to reset. Fig7. Simulation of existing application of space launch vehicle if there is no extreme limit met , then wdfail = 0; thus rstout = 0;
  • 4. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 05 | May 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1052 DEVICE SUMMARY: TIMING REPORT PROPOSED SYSTEM: IF RSTOUT, IT GOES BACK TO THE ORIGINAL INITIAL VALUE OF THE SPACE LAUNCH VECHICLE: RTL SCHEMATIC:
  • 5. International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056 Volume: 06 Issue: 05 | May 2019 www.irjet.net p-ISSN: 2395-0072 © 2019, IRJET | Impact Factor value: 7.211 | ISO 9001:2008 Certified Journal | Page 1053 DEVICE SUMMARY: CONCLUSION Thus from the results we prove that timing taken by the windowed watchdog timer is taking much slower time than the existing without window technique. This project presented in detail the architecture and design of an improved windowed watchdog timer and its implementation in FPGA. The watchdog timer runs completely independent of the processor and permits adjusting the timer parameters according to the application. Several fault detection techniques are built into the watchdog for the early detection of erratic software modes. It has the capability to identify the failure type and log it, which can become valuable while debugging. Upon detecting a failure, the watchdog timer also allows the software sufficient time for saving the debug information, before initiating a reset. REFERENCES [1] S. N. Chau, L. Alkalai, A. T. Tai, and J. B. Burt, “Design of a fault tolerant COTS-based bus architecture,” IEEE Transactions on Reliability, vol. 48, no. 4, pp. 351–359, Dec. 1999. [2] V. B. Prasad, “Fault tolerant digital systems,” IEEE Potentials, vol. 8, no. 1, pp. 17–21, Feb. 1989. [3] J. Beningo, “A review of watchdog architectures and their application to Cubesats,” Apr. 2010. [4] A. Mahmood and E. J. McCluskey, “Concurrent error detection using watchdog processors - a survey,” IEEE Transactions on Computers, vol. 37, no. 2, pp. 160–174, Feb. 1988. DESCRIPTION AREA ANALYSIS TIMING REPORT EXISTING APPLICATION WATCHDOG TIMER 13 LUT’s 7.821ns PROPOSED APPLICATION WATCHDOG TIMER 13 LUT’s 3.318 ns