Field of the Invention
The present invention relates to a failure detecting apparatus of a control unit adapted for use in a vehicle and, more particularly, to a failure detecting apparatus which sequentially supplies currents to various kinds of solenoids prior to starting the engine and then checks their outputs in order to detect a failure.
Background of the Invention
There are control units which are adapted for use in vehicles and which control fuel injection, ignition timing and the like using a microcomputer. In such control units, when a failure occurs, it is difficult to promptly find out the location of the failure; therefore, the failure is detected using the microcomputer.
FIG. 1 is a diagram showing a conventional example of a failure detecting apparatus of a control unit used in a vehicle.
Hitherto, in such a failure detecting apparatus, currents are respectively supplied to a plurality of solenoids S.sub.i (i=1 to n), and outputs therefrom are fed back to a control unit 1 in the running range of the vehicle in which these solenoids operate, and a failure of the solenoids can be detected in dependence on the presence or absence of the outputs of the solenoids.
However, in such a failure detecting apparatus, when the vehicle is in a predetermined running state, the solenoid corresponding to this running state is checked. Therefore, in a case where the vehicle runs in only a running range where this solenoid doesn't operate, or in a case where it takes a considerably long time until the vehicle enters the running state in which such solenoid can operate, there is the problem that the failure of this solenoid cannot be detected.
When detection of the failure of a solenoid is delayed, or when the failure cannot be detected, the control of exhaust gas components, fuel consumption, and drivability may deteriorate. Further, the braking system and steering system can fail, and there is also a possibility of the occurrence of a serious accident.
There is also a failure detecting apparatus in which the solenoids are checked in parallel. However, in this apparatus, plural I/O ports of the control unit are needed to input checking signals, as a result of which there is a problem because the degree of freedom in design is limited.
Summary of the Invention
It is an object of the present invention to provide a failure detecting apparatus of a control unit adapted for use in a vehicle which sequentially supplies currents to various kinds of solenoids prior to starting the engine and checks their outputs to thereby detect a failure.
According to the present invention, this object is accomplished by providing a failure detecting apparatus of a control unit usable in a vehicle for detecting failures of a plurality of solenoids controlling various functions of the vehicle, including a solenoid driving circuit which can supply currents to the solenoids and an input circuit which can receive an output signal as a return signal from each solenoid which operates normally. A control circuit is provided for outputting a current-supply command signal to the solenoid driving circuit to cause it to supply the currents to the solenoids in accordance with a predetermined sequence when a start signal is inputted to the control circuit from an ignition switch, for receiving through the input circuit, the return signals from the solenoids supplied with the currents, for deciding that a solenoid which doesn't output any return signal is defective, and for then outputting an alarm signal. The apparatus also includes an alarm driving circuit for outputting a signal in response to the alarm signal of the control circuit, and an alarm indicator which includes a plurality of light emitting diodes (LEDs) respectively corresponding to the solenoids and which lights up the LED corresponding to the solenoid which is defective in response to the alarm signal from the control circuit. The input circuit is preferably a single input/output port.
The above and other objects and features of the present invention will be more clearly understood from the following description, with reference to the accompanying drawings.
Brief Description of the Drawings
An embodiment of the present invention is described in detail hereinbelow with reference to FIGS. 2-4. In the drawings:
FIG. 1 is a block diagram showing an example of a conventional failure detecting apparatus of a control unit adapted for use in a vehicle;
FIG. 2 is a circuit block diagram showing a failure detecting apparatus of a control unit adapted for use in vehicles and embodying the present invention;
FIG. 3 is a flowchart depicting the operation of the control circuit in the apparatus shown in FIG. 2; and
FIG. 4 is a waveform diagram showing electrical signals which can occur during operation of the apparatus of FIG. 2.
Detailed Description
In FIG. 2, reference numeral 1 denotes the control unit; 3 is an ignition switch; 4 is an alarm indicator; and S.sub.1 to S.sub.n are respective solenoids.
The control unit 1 controls fuel injection, ignition timing, and the like for the engine of the vehicle, and in the preferred embodiment includes a conventional one-chip microcomputer (The name of the manufacturer of the one-chip microcomputer is HITACHI SEISAKUSHO K.K. The address of the manufacturer is 4-6 Surugadai, Kanda, Chiyoda-ku, Tokyo 101 JAPAN. The manufacturer's part number for the chip is HD6805S1, and also the manufacturer's part numbers HD6805WO and HD6305VO could be used for the chip.). FIG. 2 shows only the components of the control unit 1 which are necessary for an understanding of the present invention, in particular a control circuit (serving as a failure detecting circuit) 11, a solenoid driving circuit 12, an input circuit 13, and an alarm driving circuit 14.
The solenoid driving circuit 12 has n outputs which are connected to the solenoids S.sub.1 to S.sub.n, respectively. These solenoids are used for various kinds of control of the vehicle and can include, for example, an F/C solenoid (the solenoid which controls the fuel injection system), an A/F solenoid (the solenoid which controls the air-fuel ratio), an ID-UP solenoid (the solenoid of the idling-up), a vent solenoid (the solenoid which controls the ventilation valve for refreshing the air of an interior), and the like. When currents are supplied to the solenoids S.sub.i to S.sub.n, output signals are returned from the normal solenoids (that is, the solenoids which are in the normal operative state) to the control circuit 11 through the input circuit 13.
In particular, each solenoid is connected to a single input terminal of the input circuit 13 through a respective diode.
The control circuit 11 detects a failure in accordance with the flowchart shown in FIG. 3. In particular, the control circuit 11 is first initialized (by setting i=1) in step S101, and then inputs the state of an ignition signal from the ignition switch 3 (step S102). A test of the ignition signal is made in step S103 to see if the ignition switch has been turned on or not. The ignition signal is a digital "1" level when the ignition switch 3 is turned on, and a digital "0" level when the switch is off.
When the ignition switch 3 is turned on, the first solenoid S.sub.1 is supplied with a current (step S104). A check is then made to see whether an output signal (i.e. a return signal) from the energized solenoid S.sub.1 has been fed back to the input circuit 13 in the control unit 1 or not (step S105). In the event no return signal is fed back, an alarm signal is outputted through the alarm driving circuit 14 to the alarm indicator 4 (step S106).
In a manner similar to that described above, this checking operation is sequentially performed with respect to the solenoids S.sub.2 to S.sub.n (steps S104 to S108).
An output from the control circuit 11, therefore, can be supplied to the alarm indicator 4 through the alarm driving circuit 14. The alarm indicator 4 serves, for example, to warn of a failure (or failures) of the solenoids S.sub.1 to S.sub.n and, preferably, includes n light emitting diodes (LEDs) arranged in correspondence to the n solenoids S.sub.1 to S.sub.n, respectively. The LED corresponding to the defective solenoid is lit.
The operation of the failure detecting apparatus of the control unit adapted for use in vehicles and embodying the invention will now be described with reference to the waveform diagram of FIG. 4.
In this case, a check for failure of four solenoids (an F/C solenoid, A/F solenoid, ID-UP solenoid, and vent solenoid) will be explained as an example.
When the start signal is inputted from the ignition switch 3, the control circuit 11 sequentially outputs current-supply command signals to the solenoids S.sub.1 to S.sub.n at regular intervals of T through the solenoid driving circuit 12 (FIGS. 4(a) to 4(d)). Thus, these solenoids are sequentially energized.
The control circuit 11 sequentially checks for the occurrence of the return signals from the respective solenoids through the input circuit 13 (FIG. 4(e)). When no return signal is detected from a given solenoid, the control circuit outputs an alarm signal through the alarm driving circuit 14, for example at time t.sub.3 in the exemplary situation shown in FIG. 4(f). Then, the alarm indicator 4 lights up the LED corresponding to the vent solenoid, which in this example was found to be defective, thereby providing a warning of the failure.
As described in detail above, according to the present invention currents are sequentially supplied to various kinds of solenoids before the engine is started, and outputs from the solenoids are returned to the control circuit, which checks for a failure. Consequently, the failure of a solenoid can be definitely checked before the vehicle runs.
In addition, since the failure detecting apparatus sequentially checks the solenoids, it is sufficient to use only one input port to monitor the return signals, which provides an increased degree of freedom in designing the control unit.
The present invention is not limited to the foregoing embodiment, since many modifications and variations, including the rearrangement of parts, are possible within the spirit and scope of the appended claims.