Summary of the invention
Technical matters to be solved by this invention provides a kind of electronic steering column lock controller, and it is in conjunction with the electronic steering column lock actuator, possesses locked bearing circle, forbids the anti-theft feature of engine starting.For this reason, the present invention also will provide a kind of control method of described electronic steering column lock controller.
For solving the problems of the technologies described above, described controller comprises:
A main MCU (microcontroller) and an auxilliary MCU, described main MCU receives CAN bus signals and connection lead signal, and sends control signal to the electronic steering column lock actuator, and described auxilliary MCU receives the connection lead signal;
The CAN communication module, described main MCU carries out communication by described CAN communication module and CAN bus;
The LIN communication module, described main MCU carries out communication by described LIN communication module and LIN bus;
Key gear connection lead, the key gear signal of vehicle is delivered to described two MCU by described key gear connection lead;
Speed of a motor vehicle connection lead, the vehicle speed signal of vehicle is delivered to described two MCU by described speed of a motor vehicle connection lead;
Lock body state connection lead, the lock body status signal of described actr is transferred to described two MCU by described lock body state connection lead.
The control method of electronic steering column lock controller of the present invention comprises the steps:
In the 1st step, described controller is checked described key gear signal and vehicle speed signal, and after satisfying the predetermined logic condition, the main MCU of described controller connects described high-end relay, and auxilliary MCU connects described low side relay, and the electronic steering column lock actuator obtains power supply;
In the 2nd step, described controller sends message by the LIN bus actr is waken up;
In the 3rd step, described controller sends key to actr, and whether described actr authentication secret is accurate, and described actr just receives the instruction of described controller when having only key accurate;
In the 4th step, described controller sends to actr and unblanks or blocking order, and actr is carried out according to instruction and unblanked or block action, and constantly the lock body status signal is fed back to described controller, and described controller is the described lock body status signal of monitoring in real time;
In the 1st step of described method:
Described key gear signal transfers to described main MCU by the CAN bus via described CAN communication module, and described key gear signal also transfers to described two MCU by described key gear connection lead;
Described vehicle speed signal transfers to described main MCU by the CAN bus via described CAN communication module, and described vehicle speed signal also transfers to described two MCU by described speed of a motor vehicle connection lead;
Have only by the key gear signal of CAN bus and key gear connection lead transmission consistently, described main MCU thinks that just described key switch signal is effective;
Have only by the vehicle speed signal of CAN bus and speed of a motor vehicle connection lead transmission consistently, described main MCU thinks that just described vehicle speed signal is effective;
Have only actv. key gear signal to be become the OFF shelves or become the ACC shelves by the OFF shelves by the ACC shelves, it is 0 that while actv. vehicle speed signal is indicated the present speed of a motor vehicle, and described main MCU thinks that just described key gear signal and vehicle speed signal satisfy the predetermined logic condition.
Electronic steering column lock controller of the present invention and control method thereof, the lock body status signal by controller detection key gear signal, vehicle speed signal and actr opens and closes lock control to actr, realizes the anti-theft feature of locked wheel steering; As in conjunction with starting to start to control the molding piece, then can further realize forbidding the anti-theft feature of engine starting.Because controller has adopted two MCU, two watchdog circuit, CAN/LIN bus and connection lead duplicate transmissions and each signal of double check, guaranteed the safe and reliable of electronic steering column lock effectively simultaneously.
The specific embodiment
See also Fig. 1 and Fig. 2, electronic steering column lock controller of the present invention comprises:
A main MCU and an auxilliary MCU, wherein main MCU receives CAN bus signals and connection lead signal, and sends control signal to the electronic steering column lock actuator, and auxilliary MCU receives only the connection lead signal; MCU adopts micro controller system or other intelligent control chip usually;
The CAN communication module is responsible for the communication between main MCU and the CAN bus; When non-CAN bus signals also was connected to the CAN communication module, the CAN communication module also was responsible for this signal is passed to main MCU, for example the key status signal among Fig. 2;
The LIN communication module is responsible for the communication between main MCU and the LIN bus;
Key gear connection lead, two MCU of connection vehicle and electronic steering column lock controller, the key gear signal of vehicle is transferred to described two MCU by key gear connection lead;
Speed of a motor vehicle connection lead, two MCU of connection vehicle and electronic steering column lock controller, the vehicle speed signal of vehicle is transferred to described two MCU by speed of a motor vehicle connection lead;
Lock body state connection lead, two MCU of connection electronic steering column lock actuator and electronic steering column lock controller, the lock body status signal of actr is transferred to described two MCU by lock body state connection lead.
Electronic steering column lock controller of the present invention adopts the double-core design of main and auxiliary MCU, can transmit information mutually between two MCU, informs oneself state to the other side, as shown in Figure 2.Simultaneously, electronic steering column lock controller of the present invention all by two approach (CAN/LIN bus and connection lead) transmission, has been guaranteed the true and accurate of acquisition of signal to key gear signal, vehicle speed signal and lock body status signal.When either party et out of order of CAN/LIN bus or connection lead, it is signal collected invalid that main MCU all thinks, therefore avoided sending false command.
See also Fig. 2, electronic steering column lock controller of the present invention also comprises: a main power source chip is main MCU power supply; A watchdog circuit comprises feeding-dog signal shown in Figure 2 and reset signal, monitors the mode of operation of main MCU, is connected to the main power source chip; An auxilliary power supply chip is auxilliary MCU power supply; A watchdog circuit comprises feeding-dog signal shown in Figure 2 and reset signal, and the mode of operation of the auxilliary MCU of monitoring is connected to auxilliary power supply chip.Monitor the service condition of main and auxiliary MCU respectively by two watchdog circuits.If the MCU et out of order is arranged, cooresponding watchdog circuit can be notified the MCU of cooresponding power reset et out of order immediately.
See also Fig. 2, the controller of electronic steering column lock of the present invention also comprises: a high-end relay, and by main MCU control, its status signal feeds back to main MCU, is responsible for connecting or blocking the positive source of actr; A low side relay, by auxilliary MCU control, its status signal feeds back to two MCU, is responsible for connecting or blocking the power cathode (ground connection) of actr.Control the positive source and the power cathode (ground connection) of the supply line of actr by main and auxiliary MCU respectively, can guarantee that actr only just can obtain power supply under all normal situation of two MCU.When any one MCU et out of order, actr all can't be obtained power supply, therefore can not open and close the lock action.This design has significantly reduced the possibility of actr generation maloperation, has improved the fiduciary level of total system, provides anti-theft feature under the prerequisite that guarantees vehicle safety.
See also Fig. 2, electronic steering column lock controller of the present invention also comprises Power Monitoring Unit, the state of this module monitors power supply, power supply is the power supply source of main and auxiliary power supply chip, comprises that when power supply status is unusual the controller module of two power supply chips, two MCU all can't guarantee normal operation.Power Monitoring Unit detects the work that power supply status unusually promptly stops two MCU, guarantees the safe and reliable of electronic steering column lock controller.
Electronic steering column lock controller of the present invention is specially adapted to adopt the self-propelled vehicle of electron key, because electron key can avoid mechanical key easily by imitated shortcoming, guarantees theftproof performance more effectively.
See also Fig. 3, the control method of electronic steering column lock controller of the present invention comprises the steps:
In the 1st step, described controller is checked described key gear signal and vehicle speed signal, and after satisfying the predetermined logic condition, the main MCU of described controller connects described high-end relay, and auxilliary MCU connects described low side relay, and the electronic steering column lock actuator obtains power supply;
In the 2nd step, described controller sends message by the LIN bus actr is waken up;
In the 3rd step, described controller sends key to actr, and whether described actr authentication secret is accurate, and described actr just receives the instruction of described controller when having only key accurate;
In the 4th step, described controller sends to actr and unblanks or blocking order, and actr is carried out according to instruction and unblanked or block action, and constantly the lock body status signal is fed back to described controller, and described controller is the described lock body status signal of monitoring in real time.
Described method the 1st the step in, the key gear signal is transferred to main MCU by two kinds of approach, one be by the CAN bus via the CAN communication module, another is by key gear connection lead.Equally, vehicle speed signal also is transferred to main MCU by the CAN bus via CAN communication module and two kinds of approach of speed of a motor vehicle connection lead.Main MCU detects four road signals simultaneously, has only the same signal unanimity by two kinds of approach transmission, thinks that just this signal is effective.Have only actv. key gear signal to be become the OFF shelves or become the ACC shelves by the OFF shelves by the ACC shelves, it is zero that while actv. vehicle speed signal is indicated the present speed of a motor vehicle, and main MCU thinks that just key gear signal and vehicle speed signal satisfy the predetermined logic condition.
When the key gear becomes the OFF shelves by the ACC shelves, the speed of a motor vehicle is zero simultaneously, and the block action of lock for steering column might take place in expression, therefore need power to the electronic steering column lock actuator.When the key gear becomes the ACC shelves by the OFF shelves, the speed of a motor vehicle is zero simultaneously, and the unlocking action of lock for steering column might take place in expression, therefore need power to the electronic steering column lock actuator.
In the 3rd step of described method, actr verifies that to the key that controller sends this need carry out the key pairing between controller and the actr in the process of manufacturing, make and can discern mutually between controller and the actr.Usually controller and actr are one to one, that is: the built-in key of controller can only be used for the checking of an actr, and actr is also only accepted the key authentication of a controller.The key of judging controller when actr is effective, will feed back " key is effective " signal and be sent to controller, and request controller confirms that to being proved to be successful signal so far actr just prepares to receive unblanking or blocking order of controller transmission.
Described method the 4th the step in, the lock body status signal of described actr also is transferred to main MCU by two kinds of approach, one be by the LIN bus via the LIN communication module, another is by lock body state connection lead.Main MCU detects this two paths of signals simultaneously, has only this two paths of signals unanimity, thinks that just this signal is effective.And, controller also has gateway function, can the lock body status signal be sent to the CAN bus by the CAN communication module, receive for the one or more equipment that are connected to the CAN bus, these equipment comprise car body controller and/or engine management system and other control module, so that utilize these equipment further to promote antitheft means.
See also Fig. 4, described method also comprised the process that controller is waken up before the 1st step.The main and auxiliary power supply chip of controller comprises sleep pattern and mode of operation, and two power supply chips all are in sleep pattern at ordinary times.As shown in Figure 2, the key gear signal also is connected to the CAN communication module, when the CAN communication module receives CAN bus signals or key gear signal, sends enable signal by independent pin to two power supply chips.Be waken up after two power supply chips receive enable signal, change mode of operation into, be main and auxiliary MCU and the power supply of other controller module by sleep pattern.Sleep/the working mode transition of two power supply chips, just sleep/the working mode transition of controller has been realized the low-power consumption of controller.
See also Fig. 4, described method also comprises actr feedback lock body status signal between the 3rd step and the 4th step, and controller draws the instruction of transmission through judgement.After the key authentication between controller and the actr is passed through, actr sends current lock body status signal to controller, controller need be taken all factors into consideration current lock body status signal, key gear signal and vehicle speed signal, and judgement should be sent the still blocking order of unblanking to actr.
For example, current lock body is a blocking, and the key gear becomes the ACC shelves by the OFF shelves, and the speed of a motor vehicle is zero, and then controller is judged and need be sent unlock instruction to actr.And for example, current lock body is a unlocking condition, and the key gear becomes the OFF shelves by the ACC shelves, and the speed of a motor vehicle is zero, and then controller is judged and need be sent blocking order to actr.
See also Fig. 4, described method comprises also that after the 4th step controller cuts off the actr power supply.Execute the open and close lock instruction of controller transmission when actr after, promptly send the information of request outage to described controller.Controller is blocked high-end relay and low side relay according to the request of actr, and actr promptly loses power supply.Like this, actr only obtains power supply during carrying out the action of open and close lock, realized the low-power consumption of actr.
In sum, electronic steering column lock controller of the present invention and control method thereof, adopt the double-core design of two MCU, detect two MCU by two watchdog circuits, two MCU control the positive source and the power cathode of actr respectively, key gear signal, vehicle speed signal and lock body status signal are all adopted transmission of two paths and double check mechanism, actr is carried out safety, reliable control, realize the anti-theft feature of locked wheel steering; As in conjunction with starting to start to control the molding piece, then can further realize forbidding the anti-theft feature of engine starting.Because controller has adopted sleep/working mode change, actr only to obtain power supply at working stage, also effectively reduced the power consumption of electronic steering column lock simultaneously.