Control system of automobile steering column lock
Technical field
The present invention relates to technical field of automotive electronics, particularly a kind of control system of automobile steering column lock.
Background technology
At present, common control system of automobile steering column lock as shown in Figure 1, be to control the actr action by the break-make of controller control actr power supply, current actr such as mechanical type steering column locking device do not possess the diagnosis function to lockable mechanism, when the properties of product of steering column locking device change, navigating mate just can not taked corresponding precautionary measures, so traffic safety is brought very big potential safety hazard owing to the information warning that can not in time obtain being correlated with yet.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of control system of automobile steering column lock, can diagnose actr, and traffic safety is reliable.
In order to solve the problems of the technologies described above, control system of automobile steering column lock of the present invention, comprise steering column for vehicles lock controller, actr, relay, the steering column for vehicles lock controller comprises CAN bus interface, LIN bus interface, microcontroller, the steering column for vehicles lock controller connects the CAN bus, links to each other with actr by the LIN bus by the CAN bus interface, carries out OBD (On-Board Diagnostics) after the steering column for vehicles lock controller powers up.
Carry out OBD (On-Board Diagnostics) after described steering column for vehicles lock controller powers up and to comprise diagnosis actr, store the actr status information in the memory device of microcontroller, the microprocessor control relay is powered to actr, actr powers up the back and gives microcontroller by the LIN bus with the actr feedback of status, the actr status information of storing in the actr state that microcontroller obtains feedback and the memory device of microcontroller compares, if inconsistently just think that actr has fault, the open close mistake if consistent actr is gone to a doctor, and the actr state information updating of storing in the memory device with microcontroller is for feeding back the actr state that obtains.
Can store authenticate key in the actr, after actr powers up, at first carry out the antitheft authentication between steering column for vehicles lock controller and actr, key after the steering column for vehicles lock controller is encrypted by the transmission of LIN bus, be decrypted the back by operation program after actr is received and compare, pass through with regard to the expression authentication when consistent with the key of storage; After antitheft authentication between steering column for vehicles lock controller and actr was passed through, actr was given microcontroller by the LIN bus with the actr feedback of status.
After the steering column for vehicles lock controller passes through actuator diagnosis, can send to actr by the LIN bus separate, the locking order is carried out actr and is separated, block action.
Carry out OBD (On-Board Diagnostics) after described steering column for vehicles lock controller powers up and to comprise diagnosis incoming signal, whether microcontroller will compare consistent by CAN bus incoming signal that collects and the incoming signal that collects by rigid line, if inconsistently just think the incoming signal mistake.
Fault to the diagnosis discovery, microcontroller can be write down fault diagnosis code, and diagnosis finishes back steering column for vehicles lock controller diagnostic result is issued instrument module, engine management module or the Body control module that links to each other with automobile CAN-bus by automobile CAN-bus.
Control system of automobile steering column lock of the present invention, the steering column for vehicles lock controller comprises the CAN bus interface, the LIN bus interface, microcontroller, the steering column for vehicles lock controller connects the CAN bus by the CAN bus interface, link to each other with actr by the LIN bus, after powering up, the steering column for vehicles lock controller carries out the OBD (On-Board Diagnostics) of actr etc., can guarantee the normal controllable function of steering column for vehicles lock controller to actr, guarantee separating of actr, block action is reliable, standard, can realize simultaneously finding the morning of steering column lock control system fault, prevention early and morning safeguard, improved the stability of product.
Description of drawings
Below in conjunction with the drawings and the specific embodiments the present invention is further elaborated.
Fig. 1 is common control system of automobile steering column lock scheme drawing;
Fig. 2 is control system of automobile steering column lock one an embodiment scheme drawing of the present invention.
The specific embodiment
Control system of automobile steering column lock one embodiment of the present invention as shown in Figure 2, comprise the steering column for vehicles lock controller, actr, relay, the steering column for vehicles lock controller comprises the CAN bus interface, the LIN bus interface, MCU (microcontroller), store the actr status information in the memory device of MCU, store authenticate key in the actr, the steering column for vehicles lock controller meets automobile CAN (CONTROLLER AREA NETWORK by the CAN bus interface, controller area network) bus, link to each other with actr by LIN (LocalInterconnect Protocol, local interconnection protocol) bus.Promptly carry out OBD (On-Board Diagnostics) after the steering column for vehicles lock controller powers up, to input, whether output signal unusual, whether the CAN bus communication is unusual, and whether the LIN bus communication is unusual, and whether the state of actr waits is unusually carried out OBD (On-Board Diagnostics).
To the diagnosis of incoming signal, mainly be CAN bus incoming signal that collects and the incoming signal that rigid line collects are compared whether consistent, if inconsistently just think the incoming signal mistake.For example, the steering column for vehicles lock controller can be gathered speed of a motor vehicle incoming signal by the CAN bus, gather the speed of a motor vehicle incoming signal that car speed sensor transmits by rigid line simultaneously, whether microcontroller will compare consistent by CAN bus speed of a motor vehicle incoming signal that collects and the speed of a motor vehicle incoming signal that collects by rigid line, if inconsistently just think the vehicle speed signal mistake.Speed of a motor vehicle incoming signal surpasses setting value simultaneously, as just thinking that greater than 2000HZ vehicle speed signal is unusual.
Output signal setting result that mainly need reach by drive signal and the feedback signal that collects by sample circuit are compared, if inconsistently just think that output signal has fault.
CAN bus/LIN bus is diagnosed by the diagnostic control strategy that itself has self.
Actr, store the actr status information in the memory device of microcontroller, the microprocessor control relay is powered to actr, actr powers up the back and gives microcontroller by the LIN bus with the actr feedback of status, the actr status information of storing in the actr state that microcontroller obtains feedback and the memory device of microcontroller compares, if inconsistently just think that actr has fault, the open close mistake if consistent actr is gone to a doctor, and the actr state information updating of storing in the memory device with microcontroller is for feeding back the actr state that obtains.Actr can also be given microcontroller with the actr feedback of status by rigid line, microcontroller will be compared with the actr state that feeds back by rigid line by the actr state of LIN bus feedback, only the actr status information of storing in the memory device of actr state that just feedback is obtained when both are consistent and microcontroller compares, if inconsistently just think that actr has fault, the open close mistake if consistent actr is gone to a doctor, and the actr state information updating of storing in the memory device with microcontroller is the actr state of feedback.
To the fault that diagnosis is found, MCU will write down fault diagnosis code (DTC).Diagnosis finishes back steering column for vehicles lock controller diagnostic result is issued the correlation module that other link to each other with automobile CAN-bus by automobile CAN-bus, as instrument module, engine management module and Body control module etc., if any fault, will report to the police by the alarm lamp on the instrument module controls instrument.
After detecting legal key signal and vehicle and remaining static, the steering column for vehicles lock controller is realized actr is powered by control relay, steering column for vehicles lock controller and actr carry out antitheft authentication subsequently, actr receives that being decrypted the back by specific operation program behind the key after the encryption that the steering column for vehicles lock controller sends compares with the key that is kept at actr, when consistent just the expression authentication pass through; Behind steering column for vehicles lock controller and the actr authentication success, the steering column for vehicles lock controller obtains the actr state by the lock for steering column position of LIN bus feedback, the actr state that feedback is obtained and the actr status information of controller stored compare, if inconsistently just think that actr has fault, the open close mistake if consistent actr is gone to a doctor, and the actr shape that the actr state information updating of controller stored is obtained for feedback.
After the steering column for vehicles lock controller passes through actuator diagnosis, when vehicle remains static, key position is in the KLR shelves, the ACC signal has rising or falling edge to take place simultaneously, the steering column for vehicles lock controller sends to actr by the LIN bus and separates, the locking order is carried out actr and separated, block action, and then realizes antitheft and purpose traffic safety.
Control system of automobile steering column lock of the present invention, the steering column for vehicles lock controller comprises the CAN bus interface, the LIN bus interface, microcontroller, the steering column for vehicles lock controller connects the CAN bus by the CAN bus interface, link to each other with actr by the LIN bus, after powering up, the steering column for vehicles lock controller carries out the OBD (On-Board Diagnostics) of actr etc., can guarantee the normal controllable function of steering column for vehicles lock controller to actr, guarantee separating of actr, block action is reliable, standard, can realize simultaneously finding the morning of steering column lock control system fault, prevention early and morning safeguard, improved the stability of product.