Vehicle safety system equipped with microcomputer
First Claim
1. A vehicle safety system having a sensor for detecting vehicle acceleration and a microcomputer for processing the sensor output and in which the microcomputer executes a collision discrimination program on an interrupt basis at prescribed regular time intervals based on the sensor output for discriminating whether or not a collision has occurred and repeatedly executes a background program for processing prescribed background jobs, thereby controlling activation of the vehicle safety devices, the system further comprising:
- first monitoring means for monitoring whether or not the collision discrimination program is being properly executed based on whether or not the time for executing one program cycle of the collision discrimination program is longer than a prescribed value,a second monitoring means for monitoring whether or not the background program is being properly executed based on whether or not the time for executing one program cycle of the background program is longer than a prescribed value, andreset means for resetting the microcomputer when at least one of the first and second monitoring means detects an error in program execution.
3 Assignments
0 Petitions
Accused Products
Abstract
A vehicle safety system is equipped with a microcomputer for reliably detecting whether or not programs for controlling activation of passenger protection devices are being properly executed and, based on this detection, preventing problems from occurring in the control operations of the programs. According to one aspect of the invention, the system monitors a program executed on an interrupt basis at prescribed regular time intervals, a repeatedly executed program, and the operations of these programs, synchronously with the execution of the programs, and resets the microcomputer if an error is detected in the execution of either program. According to another, at the time of moving to a subroutine a code peculiar to the subroutine is saved at the entry portion and the saved code is compared with the code peculiar to the executed subroutine at the exit portion for detecting occurrence of error and if error is detected the microcomputer is reset.
29 Citations
10 Claims
-
1. A vehicle safety system having a sensor for detecting vehicle acceleration and a microcomputer for processing the sensor output and in which the microcomputer executes a collision discrimination program on an interrupt basis at prescribed regular time intervals based on the sensor output for discriminating whether or not a collision has occurred and repeatedly executes a background program for processing prescribed background jobs, thereby controlling activation of the vehicle safety devices, the system further comprising:
-
first monitoring means for monitoring whether or not the collision discrimination program is being properly executed based on whether or not the time for executing one program cycle of the collision discrimination program is longer than a prescribed value, a second monitoring means for monitoring whether or not the background program is being properly executed based on whether or not the time for executing one program cycle of the background program is longer than a prescribed value, and reset means for resetting the microcomputer when at least one of the first and second monitoring means detects an error in program execution. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A vehicle safety system having a sensor for detecting vehicle acceleration and a microcomputer for processing the sensor output and in which the microcomputer executes a collision discrimination program on an interrupt basis at prescribed regular time intervals based on the sensor output for discriminating whether or not a collision has occurred and repeatedly executes a background program for processing prescribed background jobs, thereby controlling activation of the vehicle safety devices, the system further comprising:
-
means for outputting a first timer reset signal at the execution of each program cycle of the collision discrimination program, first timer means operative in response to the first timer reset signal for outputting a first reset signal when the time for executing one program cycle of the collision discrimination program becomes longer than a prescribed value, means for outputting a second timer reset signal at the execution of each program cycle of the background program, second timer means operative in response to the second timer reset signal for outputting a second reset signal when the time for executing one program cycle of the background program becomes longer than a prescribed value, and reset means responsive to the first and second reset signals for resetting the microcomputer when the time for executing one program cycle of the collision discrimination program becomes longer than the prescribed value or when the time for executing one program cycle of the background program becomes longer the prescribed value.
-
-
9. A method of controlling a vehicle safety system having a sensor for detecting vehicle acceleration and a microcomputer for processing the sensor output and in which the microcomputer executes a collision discrimination program on an interrupt basis at prescribed regular time intervals based on the sensor output for discriminating whether or not a collision has occurred and repeatedly executes a background program for processing prescribed background jobs, thereby controlling activation of the vehicle safety devices, the method comprising:
-
a first monitoring step for monitoring whether or not a collision discrimination program is being properly executed based on whether or not the time for executing one program cycle of the collision discrimination program is longer than a prescribed value, a second monitoring step for monitoring whether or not a background program is being properly executed based on whether or not the time for executing one program cycle of the background program is longer than a prescribed value, and a step for resetting the microcomputer when at least one of the first and second monitoring steps detects an error in program execution.
-
-
10. A vehicle safety system having a sensor for detecting vehicle acceleration and a microcomputer for processing the sensor output and in which the microcomputer executes a collision discrimination program on an interrupt basis at prescribed regular time intervals based on the sensor output for discriminating whether or not a collision has occurred and repeatedly executes a background program for processing prescribed background jobs, thereby controlling activation of the vehicle safety devices, the system further comprising:
-
means for at the entry portion of the subroutine of each data processing program executed in the microcomputer saving to memory a code peculiar to the subroutine concerned, comparing means for at the exit portion of each subroutine comparing the code of the executed subroutine with the saved code, checking means responsive to the comparing means for checking whether or not the data processing program was properly executed, and reset means for resetting the microcomputer in accordance with the result of the check by the checking means.
-
Specification