Background of the Invention
1. Field of the Invention
The present invention relates to a fault diagnosis apparatus for a crew protective apparatus which detects a collision of a car and operates, for example, an air bag, a seat belt pretensioner or the like.
2. Description of the Prior Art
FIG. 8 is a block diagram showing constitution of a collision detection apparatus of a car, such as disclosed in Japanese patent application laid-open No. 241467/1988. In FIG. 8, numeral 1 designates a DC power source such as a battery to be held on a car, numeral 2 designates a mechanical G switch in which contacts are closed by acceleration of a collision (hereinafter acceleration is referred to as "G"), numeral 3 designates a starting element called squib of a crew protecting apparatus, numeral 4 designates a transistor for switching currents flowing from the DC power source 1 to the starting element 3, numeral 5 designates a diagnosis circuit for carrying out fault diagnosis of the collision detection apparatus, numeral 6 designates a signal processing circuit which processes acceleration signals of the car at deceleration state and produces the amount of a collision and controls the transistor 4, numeral 7 designates an electronic G sensor which detects acceleration of the car at a deceleration state and outputs the detected acceleration to the signal processing circuit 6, and numeral 8 designates an alarm lamp which is lit when the diagnosis circuit detects a fault.
Next, operation will be described. The electronic G sensor 7 converts the amount of acceleration of the car at a deceleration state into electric signal and outputs the signal to the signal processing circuit 6. The signal processing circuit 6 performs signal processing such as integrating, amplifying, comparing the electric signal from the electronic G sensor 7 thereby a collision of the car is detected, and when the circuit 6 determines that an air bag must be unfolded, the transistor 4 is turned on. In this case, the mechanical G switch 2 is also turned on by the impact of a collision, and a current flows from the DC power source 1 through starting element 3 and the crew protecting apparatus is started.
On the other hand, the diagnosis circuit 5 forcedly operates the electronic G sensor 7 and the signal processing circuit 6 turns the transistor 4 on, and the terminal voltage of the transistor 4 is detected, thereby it is diagnosed whether or not the collision detection circuit constituted by the electronic G sensor 7, the signal processing circuit 6 and the transistor 4 operates normally, and if an abnormal state exists, the alarm lamp 8 is lit.
In this case, the diagnosis circuit 5 is supplied with car speed signal and parking brake signal being not shown, so that the fault diagnosis to turn the transistor 4 on is carried out only while the car is stopped.
Since the crew protecting apparatus is constituted as above described, in order to carry out the fault diagnosis of the collision detection circuit while the car is stopped, car speed signal, parking brake signal or the like must be taken and a harness or an interface circuit therefor must be provided in surplus.
Summary of the Invention
An object of the present invention is to provide a fault diagnosis apparatus capable of carrying out the fault diagnosis of a crew protecting apparatus without the need of signals from the outside only while the crew protecting apparatus is not required.
The present invention achieves this and other objectives by providing a fault diagnosis apparatus with an electronic acceleration sensor and a mechanical acceleration sensor. Strength of an impact of a vehicle is calculated based on acceleration detected by the electronic sensor. When the impact is a predetermined value or more and the mechanical acceleration sensor detects the acceleration, the crew protecting apparatus is started. On the other hand, when the mechanical acceleration sensor does not detect the acceleration, a fault of the crew protecting apparatus is diagnosed. Therefore, for example, car speed signal or the like need not be introduced from the outside.
Brief Description of the Drawings
FIG. 1 is a circuit diagram showing constitution of a fault diagnosis apparatus of a crew protecting apparatus by a first embodiment of the invention;
FIG. 2 is a flow chart showing processing procedure of a microprocessor in a diagnosis circuit in the first embodiment;
FIG. 3 is a flow chart of an interrupt processing routine in the midst of fault diagnosis in the first embodiment;
FIG. 4 is a circuit diagram showing constitution of a fault diagnosis apparatus of a crew protecting apparatus in a second embodiment of the invention;
FIG. 5 is a flow chart showing processing procedure of a microprocessor in a diagnosis circuit in the second embodiment;
FIG. 6 is a flow chart of an interrupt processing routine in the midst of fault diagnosis in the second embodiment;
FIG. 7 is a circuit diagram showing constitution of a fault diagnosis apparatus of a crew protecting apparatus in a third embodiment of the invention; and
FIG. 8 is a block diagram showing constitution of a fault detection apparatus of a car in the prior art.
Detailed Description of the Preferred Embodiments
An embodiment of a fault diagnosis apparatus of a crew protecting apparatus of the present invention will be described as follows. FIG. 1 is a circuit diagram showing constitution of the embodiment. In FIG. 1, parts designated by reference numerals 1-8 are similar to those shown in FIG. 8 in the prior art.
In FIG. 1, mechanical G switch 2 is connected between a DC power source 1 and a starting element 3. The mechanical G switch 2 is constituted by contacts 2a and a resistor 2b connected in parallel.
Also diagnosis circuit 5 is constituted by a microprocessor 5a for fault diagnosis, a digital/analog (hereinafter referred to as "D/A") converter 5b for converting output signals of the microprocessor 5a into analog signals, and a buffer 5c for driving an alarm lamp 8.
Also a signal processing circuit 6 is constituted by an integrator 6a, an amplifier 6b, a comparator 6c and a reference power source 6d. The integrator 6a integrates output signals of an adder 9, and output signals of the integrator 6a are introduced through the amplifier 6b to the plus input terminal of the comparator 6c. Voltage V.sub.H of the reference power source 6d is applied to the input end of the comparator 6c.
Output signals of the signal processing circuit 6, that is, output signals of the comparator 6c pass through a buffer 10 and drive the transistor 4. A resistor 11 is connected between the collector and the emitter of the transistor 4. The collector of the transistor 4 is connected through the mechanical G switch 2 to the positive pole of the DC power source 1. The starting element 3 and the transistor 4 constitute a starting means 20.
The collector of the transistor 4 is also connected to the minus input terminal of comparator 13. The minus input terminal of comparator 12 is connected to the joint between the starting element 3 and the mechanical G switch 2. The plus input terminal of the comparator 12 is connected through dividing resistor 14 to the positive pole of the DC power source 1. Series circuit of dividing resistors 14, 15, 16 is connected between the positive pole and ground. The joint between the resistors 15 and 16 is connected to the plus input terminal of the comparator 13.
Output signals of the comparator 12 are inputted to the microprocessor 5a of the diagnosis circuit 5. Also output signals of the comparator 13 are inputted to the microprocessor 5a.
On the other hand, output signals V.sub.F of the D/A converter 5b and output signal V.sub.G of an electronic G sensor 7 are added in the adder 9, and the adding results are inputted to the integrator 6a.
Next, collision detection operation in the embodiment of FIG. 1 will be described. Contacts 2a of the mechanical G switch 2 are set to be closed even at a relatively weak collision, and the electronic G sensor 7 and the signal processing circuit 6 at the rear stage thereof effect decision regarding whether the crew protecting apparatus should be actually operated or not.
The electronic G sensor 7 converts acceleration of the car at a deceleration state into voltage signals V.sub.G, which are inputted through the adder 9 to the integrator 6a of the signal processing circuit 6. Voltage signals V.sub.G are integrated by the integrator 6a and amplified by the amplifier 6b and inputted to the plus input terminal of the comparator 6c.
In the comparator 6c, output signal of the amplifier 6b and the reference voltage V.sub.H are compared, and if the integrated and amplified value of the voltage signal V.sub.G exceeds the voltage V.sub.H of the reference power source 6d, decision is made that the deceleration, that is, the collision requiring an operation of the crew protecting apparatus has occurred, and the output signal of the comparator 6c becomes "H" and passes through the buffer 10 and turns the transistor 4 on.
In this case, both the mechanical G switch 2 and the transistor 4 are closed, and current is supplied from the DC power source 1 to the starting element 3 and the crew protecting apparatus operates.
Next, processing procedure by the microprocessor 5a in the embodiment shown in FIG. 1 will be described according to a flow chart of FIG. 2. First, in step S1, fault diagnosis is started, and the plus input terminal of the comparator 12 is applied by the voltage V.sub.D, i.e., the voltage V.sub.A of the DC power source 1 being divided by the resistors 14, 15, 16. Also the minus input terminal of the comparator 12 is applied by the voltage VB at the joint between the mechanical G switch 2 and the starting element 3.
In this case, when contacts 2a of the mechanical G switch 2 are opened, the resistors 14, 15, 16 are set so that V.sub.D >V.sub.B, and the output signal L1 of the comparator 12 becomes "H", and processing in FIG. 2 advances to "Y" in step S2 and the fault diagnosis is started.
Next, in step S3, the voltage V.sub.F is outputted from the D/A comparator 5b and is applied through the adder 9 to the integrator 6a of the signal processing circuit 6. Since the output signal V.sub.F from the D/A converter 5b is set to such amount that the output signal of the comparator 6c becomes "H", the transistor 4 is turned on in the normal state.
The comparator 13 compares the collector voltage V.sub.C of the transistor 4 with the voltage V.sub.E, i.e., the voltage V.sub.A of the DC power source 1 being divided by the resistors 14, 15, 16.
Next, in step S4, when the output of the comparator 13 is "H" that is when the transistor 4 is turned on and V.sub.C <V.sub.E, decision is made that a current state is normal, and processing advances from the "N" side of step S4 to step S6. On the contrary, when the output of the comparator 13 is "L", that, is when the transistor 4 is turned off and V.sub.C >V.sub.E, decision is made that a current state is abnormal, and processing advances from the "Y" side of step S4 to step S5.
In step S5, in order to inform the abnormal state to the driver, the alarm lamp 8 is lit.
Finally, in .step S6, the voltage V.sub.F from the D/A converter 5b is stopped. On the other hand, when the contacts 2a of the mechanical G switch 2 are closed, since V.sub.D <V.sub.B, the output L1 of the comparator 12 becomes "L", and in step S2 of FIG. 2, processing advances to "N" and is finished without carrying out the fault diagnosis.
When the mechanical G switch 2 is closed, the microprocessor 5a is interrupted by the falling edge of the output L1 of the comparator 12. Consequently, when the interrupt is generated in the midst of the fault diagnosis shown in FIG. 2, processing transfers to step S8 of FIG. 3, and for the preparation of the collision detection, the fault diagnosis is immediately stopped in step S9, and in step S10, the signal processing circuit 6 is reset by the output signal RST, and in step S11, the interrupt processing is finished and the processing is returned to the normal state.
Next, the second embodiment of the present invention will be described. FIG. 4 is a circuit diagram showing its constitution. In FIG. 4, parts designated by reference numerals 1-16 are similar to those shown in the embodiment of FIG. 1 and therefore the repeated description shall be avoided here.
In FIG. 4, numeral 5d designates an analog/digital (hereinafter referred to as "A/D") converter for carrying out digital conversion of output signals of the electronic G sensor 7, and digital signals output from the A/D conversion are input to the microprocessor 5a.
Also numeral 17 designates a comparator where output signal V.sub.G of the electronic G sensor 7 is introduced to the plus input terminal and the constant voltage V.sub.TH is applied to the minus input terminal and both are compared. Output signal L4 of the comparator 17 is input to the microprocessor 5a. Other constitution is similar to FIG. 1.
Next, operation of the second embodiment will be described. The collision detection operation is similar to the first embodiment of FIG. 1 and therefore the repeated description shall be avoided here, and the fault diagnosis will be described according to a flow chart of processing procedure of the microprocessor 5a shown in FIG. 5.
In FIG. 5, processing in steps S1-S7 is similar to FIG. 2 and processing in step S12 is newly added. In step S12, at the beginning of the fault diagnosis, the voltage signal V.sub.G of the electronic G sensor 7 is monitored through the A/D converter 5d. If V.sub.G =0, that is, if the output signal V.sub.G of the electronic G sensor 7 is not generated, the processing advances to step S2 so as to start the fault diagnosis. Otherwise, the processing is finished without carrying out the fault diagnosis.
In addition, if the voltage signal V.sub.G of the electronic G sensor 7 exceeds the constant voltage V.sub.TH, microprocessor 5a is interrupted by the rising edge of the output signal L4 of the comparator 17. Consequently, when the interrupt is generated in the midst of the fault diagnosis shown in FIG. 5, processing transfers to step S8 of FIG. 6, and for the preparation of the collision detection, the fault diagnosis is immediately stopped in step S9, and in step S10, the signal processing circuit 6 is reset by the output signal RST of the microprocessor 5a, and in step S11, the interrupt processing is finished and the processing is returned to the normal state.
Next, the third embodiment of the present invention will be described. FIG. 7 is a circuit diagram showing constitution of the third embodiment. In each of the first and second embodiments, the voltage V.sub.F from the diagnosis circuit 5 is applied through the adder 9 to the signal processing circuit 6, but when the electronic G sensor 7 is piezo-electric type, as shown in FIG. 7, the voltage signal V.sub.I may be applied to the electronic G sensor 7 and the transistor 4 as switching element may be operated.
As above described, since the switching of the mechanical G switch is watched and the fault diagnosis of the collision detection circuit is carried out only when the mechanical G switch is not operated, even if the car speed signal or the like from the outside is not taken and watched, the crew protecting apparatus is not erroneously operated during the fault diagnosis, thereby the fault diagnosis with safety can be carried out at a lower cost.
Also since the fault diagnosis of the collision detection circuit is carried out only when the output of the electronic G sensor is not generated, the fault diagnosis can be carried out securely.