Summary of the invention
Technical matters to be solved by this invention is to provide a kind of electronic anti-theft system for automobile engine locking with higher-security.
In order to solve the problems of the technologies described above, according to a technical scheme of the present invention, a kind of electronic anti-theft system for automobile engine locking is made up of the key of anti-theft controller, antitheft coil and embedded transponder; One end of described antitheft coil be installed in the igniting lock core on, the other end of antitheft coil is plugged on the anti-theft controller, described antitheft coil produces induced field, the communication signal between transmission anti-theft controller and the transponder; Described transponder is contained in the handle of key, carries out encryption communication with wireless low frequency radio frequency mode and anti-theft controller; Described anti-theft controller is differentiated the accordance of transponder and engine management system ECM by encrypting and authenticating;
Described anti-theft controller is made of engine request signal treatment circuit, ignition switch input processing circuit, led drive circuit, low frequency radio frequency treatment circuit, MCU control circuit, K line communication interface circuit, K gauze pass, power supply processing circuit;
Described engine request signal treatment circuit: when engine management system ECM received " ON " signal of automobile starting, engine management system ECM sent the encrypting and authenticating request signal by engine request signal treatment circuit and gives the MCU control circuit;
Described ignition switch input processing circuit: convert battery voltage signal to the digital switch signal and be input to the MCU control circuit;
Described led drive circuit: receive the control signal of MCU control circuit output, driving LED mode is in accordance with regulations glimmered;
Described low frequency radio frequency treatment circuit: receive on the one hand the induced signal that antitheft coil produces, simultaneously to signal amplify, demodulation, decoding, frequency division, output signal to the MCU control circuit; Handle the control signal of MCU control circuit output on the other hand, produce radiofrequency signal and export by the radiation outward of antitheft coil;
Described MCU control circuit: receive the signal of ignition switch input processing circuit, low frequency radio frequency treatment circuit, the input of K line communication interface circuit on the one hand, output signal to low frequency radio frequency treatment circuit, K line communication interface circuit, led drive circuit and K gauze on the other hand and close;
Described K line communication interface circuit: an end of described K line communication interface circuit closes by the K gauze and connects outer management system ECM and diagnostic equipment, the other end connects the MCU control circuit, described K line communication interface circuit closes by the K gauze on the one hand and becomes the treatable physical logic communication signal of MCU level to be input to described MCU control circuit with the conversion of signals of diagnostic equipment output engine management system ECM, receive the physical logic communication signal level of MCU control circuit output on the other hand, become data-signal to output to engine management system ECM and diagnostic equipment described conversion of signals simultaneously and by K gauze pass;
Described K gauze closes: mainly be used for data protection; be connected between K line communication interface circuit and outer management system ECM and the diagnostic equipment; when anti-theft controller carries out encryption communication by K line communication interface circuit and engine management system ECM; the K gauze closes will forbid that diagnostic equipment is connected with the K line of system; prevent the data leakage, diagnostic equipment closes to set up communication between different address requests and anti-theft controller or the engine management system ECM by the K gauze simultaneously.
Wherein: described K gauze closes and comprises electronic switch Q2, Q3, Q4, Q6.
Described low frequency radio frequency treatment circuit is made up of integrated circuit U10 andresistance R 15, R20, R22, R27, R30, R31, capacitor C 37, C43, C44, crystal oscillator Y2, antennal interface ANT1, the ANT2 of described integrated circuit U10 is respectively byresistance R 27, the external telefault of R22, and telefault and C37 form a LC oscillation network; The control input end TXCT of described integrated circuit U10 and data output end SCIO are connected to form control interface circuit by the serial ports ofresistance R 30, R31 and single-chip microcomputer U5 respectively, single-chip microcomputer U5 imports the data-signal of serial into the low frequency radio frequency treatment circuit by control input end TXCT, the low frequency radio frequency circuit is converted to electromagnetic wave by the LC oscillation network, electromagnetic wave carries out detection by the RF radio circuit simultaneously, is converted to the serial ports that serial signal is input to single-chip microcomputer U5.
Described MCU control circuit comprises a single-chip microcomputer, comprises an EEROM storer or connect an independently EEROM storer (U9) in single-chip microcomputer outside single-chip microcomputer.
Described single-chip microcomputer comprises:
The System self-test device (: when being used for system and powering on, check whether the state of all input/output ports is normal;
Start the LED flashing device: be used to start LED pattern flicker in accordance with regulations;
Judgment means: be used for the zone bit of determining program inside, when zone bit equals setting value, make system enter system matches device or system's anti-theft device.
Described system matches device comprises:
Start the LED flashing device: be used to start LED pattern flicker in accordance with regulations;
Judge K line communication need device: wait for external diagnosis instrument output K line signal, when receiving described signal, enter the communication of K line;
Coalignment: carry out key coupling, ECU coupling, produce anti-theft cipher, write the VIN sign indicating number, write PIN code, SK sign indicating number and all information that need write down of automobile;
Modifier: be used for the coupling finish after dirty bit.
Described system anti-theft device comprises:
Start the LED flashing device: be used to start LED pattern flicker in accordance with regulations;
Ignition switch judgment means: detect ignition switch and whether be in " opening " state, when ignition switch is in " opening " state, enter system authentication;
Authenticate device: comprise key authenticate device and ECU authenticate device; When key authentication by after carry out the ECU authentication again, wherein key authentication and ECU authentication include the RF authentication and ECU authenticates dirty bit after authentication is finished;
Ignition switch " pass " state judging device: detect ignition switch and whether be in " pass " state, when ignition switch is in " pass " state, enter holding state;
K line communication need judgment means: wait for that diagnostic equipment sends the diagnosis request signal, after receiving described signal, enter the communication of K line.
Electronic anti-theft system for automobile engine locking of the present invention is compared with existing electric theft-proof system has following advantage:
Automotive electronics is antitheft directly to carry out antitheftly at engine, key, electronic anti-theft device, control unit of engine are formed organic burglary-resisting system by perfect antitheft strategy, and multi-level password authentification has greatly improved the overall security of automobile burglar;
The user does not need operation bidirectional, and is easy to use, the authenticated time weak point (<74mS), the almost existence of imperceptible system of user in the normal use;
There is not the function leak in strong security, and the authority setting is arranged, even do not have web-privilege password Web if design the slip-stick artist of this system, system still can't break through, the web-privilege password Web difference of each car of while, even a cover system goes wrong, total system will be still very reliable;
Embodiment
Referring to Fig. 1, Fig. 1 is an electronic anti-theft system for automobile engine locking schematic block circuit diagram of the present invention.
In Fig. 1, form by the key ofanti-theft controller 1,antitheft coil 3 and embeddedtransponder 2; One end of describedantitheft coil 3 be installed in the igniting lock core on, the other end ofantitheft coil 3 is plugged on theanti-theft controller 1, describedantitheft coil 3 produces induced fields, the communication signal between transmissionanti-theft controller 1 and thetransponder 2; Described transponder is contained in the handle of key, carries out encryption communication with wireless low frequency radio frequency mode andanti-theft controller 1; Describedanti-theft controller 1 is differentiated the accordance oftransponder 2 and engine management system ECM by encrypting and authenticating; Describedanti-theft controller 1 is made of engine requestsignal treatment circuit 5, ignition switchinput processing circuit 7,led drive circuit 6, low frequency radiofrequency treatment circuit 4,MCU control circuit 9, K linecommunication interface circuit 10,K gauze pass 11, powersupply processing circuit 8; Wherein, the input end of engine requestsignal treatment circuit 5 receives engine management system ECM12 and sends the encrypting and authenticating request signal, output terminal connects the input ofMCU control circuit 9, when engine management system ECM received " ON " signal of automobile starting, engine management system ECM12 sent the encrypting and authenticating request signal by engine requestsignal treatment circuit 5 and givesMCU control circuit 9; Described ignition switchinput processing circuit 7 converts battery voltage signal to the digital switch signal and is input toMCU control circuit 9; The input end of describedled drive circuit 6 connects the output terminal ofMCU control circuit 9, and the output terminal ofled drive circuit 6 connects LED, and describedled drive circuit 6 receives the control signal ofMCU control circuit 9 outputs, and driving LED mode is in accordance with regulations glimmered; Described low frequency radiofrequency treatment circuit 4 is connected withantitheft coil 3 on the one hand, be connected withMCU control circuit 9 on the other hand, signal is two-way multipath transmission, described low frequency radiofrequency treatment circuit 4 receives the induced signal ofantitheft coil 3 generations and the control signal ofMCU control circuit 9 outputs, simultaneously to signal amplify, demodulation, decoding, frequency division, output signal toantitheft coil 3 andMCU control circuit 9; DescribedMCU control circuit 9 receives the signal of ignition switchinput processing circuit 7, low frequency radiofrequency treatment circuit 4,10 inputs of K line communication interface circuit on the one hand, outputs signal to low frequency radiofrequency treatment circuit 4, K linecommunication interface circuit 10, leddrive circuit 6 and K gauze on the other hand andcloses 11; One end of described K linecommunication interface circuit 10 closes by the K gauze and connects outer management system ECM12 anddiagnostic equipment 13, the other end connectsMCU control circuit 9, described K linecommunication interface circuit 10 becomes the treatable physical logic communication signal of MCU level to be input to describedMCU control circuit 12 with the conversion of signals ofdiagnostic equipment 13 outputs engine management system ECM12 byK gauze pass 11 on the one hand, receive the physical logic communication signal level ofMCU control circuit 12 output on the other hand, simultaneously and close 11 by the K gauze and become data-signal to output to engine management system ECM12 anddiagnostic equipment 13 the described conversion of signals; The main effect of describedK gauze pass 11 is used for data protection; be connected between K linecommunication interface circuit 10 and outer management system ECM12 and thediagnostic equipment 13; whenanti-theft controller 1 carries out encryption communication by K linecommunication interface circuit 10 with engine management system ECM12; theK gauze closes 11 will forbid thatdiagnostic equipment 13 is connected with the K line of system; prevent the data leakage,diagnostic equipment 13 closes 11 to set up communication between different address requests andanti-theft controller 1 or the engine management system ECM12 by the K gauze simultaneously.
Referring to Fig. 2, Fig. 2 is an anti-theft controller circuit diagram of the present invention.In the present embodiment, described K gauze closes 11 by electronic switch Q2, Q3, Q4, Q6,resistance R 7, R8, R2, R12, R11, R16 constitutes, wherein, the collector of the emitter of electronic switch Q2 and electronic switch Q3 is connectedexternal diagnosis instrument 13, the base stage of electronic switch Q2 is connected power positive end with the collector of Q4 byresistance R 7, the base stage of electronic switch Q3 is connected power positive end with the collector of Q6 byresistance R 8, the collector of the emitter of electronic switch Q3 and electronic switch Q2 is connected engine management system ECM12, electronic switch Q4, the grounded emitter of Q6, the base stage of electronic switch Q6 connects the switching signal output terminal PA7 of single-chip microcomputer U5 byresistance R 16 simultaneously, the base stage of electronic switch Q4 connects the switching signal output terminal PF0 of single-chip microcomputer U5 byresistance R 11, when anti-theft controller and engine management system ECM12 carry out communication, the switching signal output terminal PA7 of single-chip microcomputer U5, PF0 exports high level signal, switching tube Q4, the Q6 conducting, the base stage of electronic switch Q2 and Q3 is a low level, electronic switch Q2 and Q3 are in cut-off state, when anti-theft controller anddiagnostic equipment 13 carry out communication, the switching signal output terminal PA7 of single-chip microcomputer U5, PF0 output low level signal, switching tube Q4, Q6 ends, the base stage of electronic switch Q2 and Q3 is a high level, electronic switch Q2 and Q3 are in conducting state, the purpose that K gauze pass is set is to carry out function to switch, by analysis, satisfy the communication need of external diagnosis equipment to anti-theft controller or engine management system ECM to the transmission data.
In the present embodiment, described low frequency radio frequency treatment circuit is made up of integrated circuit U10 andresistance R 15, R20, R22, R27, R30, R31, capacitor C 37, C43, C44, crystal oscillator Y2, the ANT1 interface of described integrated circuit U10, ANT2 interface are respectively byresistance R 27, theexternal antitheft coil 3 of R22, andantitheft coil 3 is formed a LC oscillation network with C37; The control input end TXCT of described integrated circuit U10 and data output end SCIO are connected to form control interface circuit byresistance R 30, R31 and MCU control circuit, the MCU control circuit imports the data-signal of serial into the low frequency radio frequency treatment circuit by control input end TXCT, the low frequency radio frequency circuit is an electromagnetic wave by vibration LC network switch, electromagnetic wave carries out detection by the low frequency radio frequency circuit simultaneously, is converted to serial signal and passes through.
In the present embodiment, describedled drive circuit 6 is made of switching tube Q12,resistance R 9, R13, the base stage of triode Q12 is connected with the signal output part PC2 of single-chip microcomputer U5 byresistance R 32, simultaneously byresistance R 9 ground connection, the grounded emitter of triode Q12, the collector of triode Q12 meets LED, comes the driving LED flicker by the break-make of single-chip microcomputer U5 control triode Q12.
In the present embodiment, ignition switchinput processing circuit 7 is made ofcapacitor C 1,resistance R 10, integrated circuit U3, because input voltage is a cell voltage, there is bigger pulse voltage, therefore add the one-level treatment circuit, input end L-IN by integrated circuit U3 imports with the cell voltage switching signal, and is converted to the signal input PB3 of digital switch signal output single-chip microcomputer U5 by the output terminal L-OUT of integrated circuit.
In the present embodiment, engine requestsignal treatment circuit 5 is by triode Q1,resistance R 4, R5, R6,capacitor C 15 constitutes, the collector of described triode Q1 connects the signal input part PB4 of single-chip microcomputer U5, connect supply voltage byresistance R 5 simultaneously, the grounded emitter of described triode Q1, the base stage of described triode Q1 connects engine management system ECM12 byresistance R 6, and bycapacitor C 15 ground connection, between emitter and base stage, connectresistance R 4 simultaneously, when the engine request authentication, send a pulse signal and be input to the base stage of triode Q1, be input to the signal input part PB4 of single-chip microcomputer U5 by triode Q1 by interface J9.
In the present embodiment, K linecommunication interface circuit 10 is made of integrated circuit U3, wherein, the K line interface K-LINE of integrated circuit U3 connects engine, connect the emitter of triode Q3 and the collector of triode Q2 simultaneously, the output terminal RX of integrated circuit U3 connects the data port PE1 of single-chip microcomputer U5, and the input end TX of integrated circuit U3 connects the data port PE0 of single-chip microcomputer U5.
In the present embodiment, the MCU control circuit mainly is made of single-chip microcomputer U5, storer U9 andresistance R 13, R14,capacitor C 41, C42, C16, crystal oscillator Y1, certainly, also can select the single-chip microcomputer of inner tape storage for use.
Referring to Fig. 3, Fig. 3 is pack into the main program flow block scheme of MCU control circuit single-chip microcomputer of the present invention.This program is specifically:
The state of checking all input/output ports when (a) system powers on whether normal 20;
(b) System self-test by after send pulse signal startingLED flicker 21, be set to start LED in the present embodiment and dodge slowly;
(c) zone bit of determining program inside, whether check system mates 22; If system enters systemmatches flow process 24 when not matching, if system matches entersantitheft flow process 23.
Fig. 4 is pack into the system matches program circuit block scheme of MCU control circuit single-chip microcomputer of the present invention, this program specifically:
(a) startLED pattern flicker 20a in accordance with regulations, be set to start LED in the present embodiment and dodge slowly;
(b) wait for external diagnosis instrument output K line signal, judge whether the communication of K line meets thedemands 31;
(c) after satisfying K line communication need, close LED, enterK line communication 32;
(d) coupling 33: carry out key coupling, ECU coupling, produce anti-theft cipher, write the VIN sign indicating number, write PIN code, SK sign indicating number and all information that need write down of automobile;
(e) modifiedlogo 34,35 after coupling is finished.
Fig. 5 is pack into system's anti-theft program flow diagram of MCU control circuit single-chip microcomputer of the present invention, this program specifically:
(a)start LED flicker 20b: be used to start LED pattern flicker in accordance with regulations; Being set to start LED in the present embodiment dodges slowly;
(b) judge that whether ignition switch is in " opening "state 41, enters system authentication when ignition switch is in " opening " state;
(c) thekey authenticate device 43, and dirty bit after authentication is finished is when authentification failure startsLED quickflashing 46;
(d) theECU authentication 44, close the LED flicker after authentication is finished, when authentification failure startsLED quickflashing 46;
(e) judge whether ignition switch is in " pass "state 47, when ignition switch is to reset 51 when being in " pass " state, and carry out System self-test 52 again; When not being in " pass " state, ignition switch enters maintenance process;
(f) whether the communication of K line requires judgment means 48: wait for thatdiagnostic equipment 13 sends the diagnosis request signal, enterK line communication 49 after receiving described signal;
(g) when satisfying exit criteria, 50 withdraw from.
In the present embodiment, the principle of work of system is: when automobile key inserts in the automobile tapered end, and after rotating to " ON " position, transponder 2 in key sends authentication application to burglary-resisting system by low frequency radio frequency treatment circuit 4 and antitheft coil 3, set up communication, if system finishes authentication in official hour, the key verification process passes through, and enters the ECU verification process; Receive " ON " signal of automobile starting as ECU, authentication communication interface circuit by R alignment anti-theft controller sends the trigger pulse of a request authentication communication, described trigger pulse is by resistance R 6, triode Q1 is input to the signal input PB4 of single-chip microcomputer U5, begin to carry out both sides' encrypting and authenticating between anti-theft controller and the ECU, the ignition switch signal is input to the L-IN end of integrated circuit U3 by resistance R 29 after by capacitor C 1 filtering, and the L-OUT end that passes through integrated circuit U3 is exported the switch input terminal PB3 of the voltage signal of a 5V to single-chip microcomputer U5, all pass through just possibility starting engine when ECU authenticates with the key verification process, otherwise ECU will be in lockup state; When system enters matching status and service mode, external diagnosis instrument 13 inserts anti-theft controller 1 by interface J4, the switching signal output terminal PA7 of single-chip microcomputer U5, PF0 output low level signal, switching tube Q4, Q6 end, the base stage of electronic switch Q2 and Q3 is a high level, electronic switch Q2 and Q3 are in conducting state, and diagnostic equipment 13 carries out communication contact by K gauze pass 11 with anti-theft controller 1.