Automobile brake lamp control method and device
Technical field
The present invention relates to a kind of automobile brake lamp control method and device, belong to the brake lamp software controlling strategies of car load ECU (Electrical Control Unit), be particularly useful for assembling the commercial vehicle/comm..vehicle of Jake brake (Jake Brake), energy brake and chassis retarder.
Background technology
At present, the control of the brake lamp on the conventional truck is generally carried out switch control by the brake pedal switch by the brake lamp relay.And some advanced persons' use the vehicle of bus network, can gather the signal of brake pedal switch by the vehicle body ECU (Electrical Control Unit), transmit a signal to car light by bus then and drive ECU (Electrical Control Unit), drive ECU (Electrical Control Unit) by car light and control.
Now, a lot of commercial vehicle/comm..vehicles have been equipped with various retarding devices, comprise Jake brake, energy brake and chassis retarder (dividing electromagnetism and fluid power two classes).These retarding devices mainly are to use when the vehicle descending, and they make vehicle stabilization under certain speed of a motor vehicle, are unlikely to constantly to quicken owing to self gravitation.Can significantly reduce the frequency of using running brake like this, improve vehicle safety.But most of vehicles do not consider that the control brake lamp is lighted when these brakings activate.In fact, under the certain situation of level road, zero load, slow down when these retarding device work meetings cause the anxious of vehicle, and the driver of back vehicle can't see the prompting of retarding device work and slow down in advance, causes critical situation occurring.Some vehicle braked lamp is that ECU (Electrical Control Unit) is controlled according to the deceleration/decel of vehicle, can address this problem.But like this, deceleration/decel should be demarcated according to speed of a motor vehicle difference, condition of road surface difference, judges that in addition deceleration/decel always causes some hysteresis, and this is unfavorable to safety.Also have some vehicles to unite some color light controls and warn back vehicle, such scheme electric appliance circuits relative complex and shortage alerting ability by the Jake brake actuating device.
Summary of the invention
The purpose of this invention is to provide a kind of automobile brake lamp control method and device, thereby can light brake lamp in time in brake equipment and retarder work, prompting back vehicle slows down.
The object of the present invention is achieved like this: automobile brake lamp control method of the present invention comprises acquisition of signal, signal conditioning, control signal output, it is characterized in that: formulated the privately owned message that comprises energy brake and Jake brake activation signal, this message is sent by the CAN bus by engine electric-controlled unit, comprise the activation signal of energy brake and Jake brake in the message, concrete grammar is as follows:
1) is provided with the overtime sign of message in the car load ECU (Electrical Control Unit), at first the car load ECU (Electrical Control Unit) receives the privately owned message that engine electric-controlled unit sends, if it is not overtime to send the CAN bus message of this signal, energy brake activation signal and Jake brake activation signal are carried out the logical OR operation; If it is overtime to send the CAN bus message generation of this signal, then inoperation;
2) step 1) is extracted the result that energy brake activation signal and Jake brake activation signal carry out the logical OR operation, obtain signal a;
3) with step 2) the signal a and service braking pedal signal, the retarder on-off signal that extract carry out logical OR, and the control of brake lamp activates according to the activation of any brake equipment.
Automobile brake lamp coutrol device of the present invention comprises the car load ECU (Electrical Control Unit), engine electric-controlled unit, the brake lamp relay, the brake pedal switch, the retarder switch is connected with car load ECU (Electrical Control Unit) brake lamp control module by the Digital I interface, engine electric-controlled unit is connected with the brake lamp control module of car load ECU (Electrical Control Unit) by the CAN bus, the brake lamp control module is connected with the brake lamp relay, the privately owned message sending module D that comprises energy brake and Jake brake activation signal is arranged in the engine electric-controlled unit, have in the car load ECU (Electrical Control Unit) energy brake and Jake brake activation signal are carried out the modules A that logical OR is operated, the overtime Sign module B of message, the signal a that will extract by energy brake and Jake brake activation signal, the brake pedal signal, the retarder on-off signal carries out the module C of logical OR.
In the privately owned message sending module in the engine electric-controlled unit activation signal that comprises energy brake and Jake brake is arranged.
Advantage of the present invention: for commercial vehicle/comm..vehicle with the configuration of different auxiliary braking system, need not carry out the change of hardware and software to the brake lamp control system, only, have very big alerting ability by demarcating the requirement that just can adapt to all configurations.
Description of drawings
Fig. 1 is a system chart of the present invention.
Fig. 2 is a software module block diagram of the present invention, and incoming signal comprises the overtime sign of message, energy brake activation signal, Jake brake activation signal, service braking pedal signal, retarder on-off signal; Output signal is the brake lamp relay control signal.
Fig. 3 is a software flow pattern of the present invention.
The specific embodiment
The car load ECU (Electrical Control Unit) is gathered signal, the retarder on-off signal of brake pedal by the hardware Digital I; Define the privately owned message of CAN bus based on the J1939 agreement in addition, comprise the activation signal of energy brake and Jake brake in the privately owned message, the car load ECU (Electrical Control Unit) receives this privately owned message that is sent by engine electric-controlled unit from the CAN bus; When the car load ECU (Electrical Control Unit) found that brake equipment or any one retarder activate, control brake lamp relay was lighted brake lamp.
By adopting such scheme, made full use of Sharing Information on the CAN bus, ECU (Electrical Control Unit) does not increase unnecessary hardware circuit and car load does not increase unnecessary electric appliance circuits, can be on the commercial vehicle/comm..vehicle of various different retarder configurations, do not revise on the basis of any software, be implemented under the various braking situations the control of brake lamp, have high alerting ability.
Further specify its specific embodiment below in conjunction with accompanying drawing:
In Fig. 1, brake lamp coutrol device of the present invention comprises the car load ECU (Electrical Control Unit), engine electric-controlled unit, the brake lamp relay, the brake pedal switch, the retarder switch is connected with car load ECU (Electrical Control Unit) brake lamp control module by the Digital I interface, engine electric-controlled unit is connected with the brake lamp control module of car load ECU (Electrical Control Unit) by the CAN bus, the brake lamp control module is connected with control brake lamp relay, the privately owned message sending module D that comprises energy brake and Jake brake activation signal is arranged in the engine electric-controlled unit, have in the car load ECU (Electrical Control Unit) energy brake and Jake brake activation signal are carried out the modules A that logical OR is operated, the overtime Sign module B of message, the signal a that will extract by energy brake and Jake brake activation signal, the brake pedal signal, the retarder on-off signal carries out the module C of logical OR.In the privately owned message sending module in the engine electric-controlled unit activation signal that comprises energy brake and Jake brake is arranged.
The car load ECU (Electrical Control Unit) is gathered the signal of brake pedal, retarder switch by the Digital I interface; Engine electric-controlled unit is according to requesting activation Jake brake/energy brake, and sends activation signal to the car load ECU (Electrical Control Unit) by privately owned message, and the brake lamp control module is according to various signals, control brake lamp relay, thus light brake lamp.
As Fig. 2, Fig. 3:
Brake lamp control method of the present invention comprises acquisition of signal, signal conditioning, control signal output, the privately owned message that comprises energy brake and Jake brake activation signal of having formulated of the present invention, this message is sent by the CAN bus by engine electric-controlled unit, comprise the activation signal of energy brake and Jake brake in the message, concrete grammar is as follows:
1) is provided with the overtime sign of message in the car load ECU (Electrical Control Unit), at first the car load ECU (Electrical Control Unit) receives the privately owned message that engine electric-controlled unit sends, if it is not overtime to send the CAN bus message of this signal, energy brake activation signal and Jake brake activation signal are carried out the logical OR operation; If it is overtime to send the CAN bus message generation of this signal, then inoperation;
2) step 1) is extracted the result that energy brake activation signal and Jake brake activation signal carry out the logical OR operation, obtain signal a;
3) with step 2) the signal a and service braking pedal signal, the retarder on-off signal that extract carry out logical OR, finally forms the control signal of brake lamp relay.The control of brake lamp just can activate according to the activation of any brake equipment like this.
Core of the present invention is that brake pedal signal and retarder on-off signal are carried out the activation signal of logical OR as brake equipment.Therefore, every brake pedal signal and retarder on-off signal are carried out logical OR as the brake equipment activation signal, all belong to protection scope of the present invention.