A kind of vehicle carried device that is used for long distance vehicle recognition system
Technical field
The present invention relates to the vehicle recongnition technique field, particularly a kind of vehicle carried device that is used for long distance vehicle recognition system.
Background technology
Domestic existing remote vehicle recognition technology great majority adopt 125KHZ or 13.65MHZ medium and low frequency to carry out identification, but its effective decipherment distance is short.
Also has a kind of long distance vehicle recognition system that expressway, bridge charging aperture etc. are located that is mainly used in, can realize the remote identification of vehicular traffic and not stop passing through, major technique adopts 935MHZ high-frequency induction technology or 2.4GHZ microwave technology product to realize remote identification, its identification card is active card, and decipherment distance is longer.Because active card is thicker than the card of passive card, add that identification card must be installed on the interior preceding windshield of car, it is big influenced with weather effect by body quality, causes the decipherment distance instability, and the orientation angle adjustment of wireless identification
, be subjected to the signal in track, opposite to disturb or disturb the signal in track, opposite easily, its installation site also influences driver's sight line easily.In addition, because active card is battery-powered, frequently changes battery and also bring use trouble and financial burden to the owner.And these products all are that introduction is external, thus the system cost costliness, in case the maintenance difficult that breaks down, so domestic application is few.
Summary of the invention
Deficiency at prior art exists the invention provides a kind of vehicle carried device that is used for long distance vehicle recognition system.
The present invention includes single-chip microcomputer, power module, passive card card reading module, microwave transmitter module, serial communication module, house dog and memory module, wireless receiving module, under-voltage indicating module; Wherein single-chip microcomputer links to each other with microwave transmitter module, serial communication module, passive card card reading module, house dog and memory module, wireless receiving module respectively; Power module links to each other with wireless receiving module, under-voltage indicating module respectively, wireless receiving module links to each other with single-chip microcomputer, power module, passive card card reading module, microwave transmitter module, serial communication module, house dog and memory module respectively, and under-voltage indicating module links to each other with wireless receiving module, power module.
Concrete annexation is as follows in the circuit of wireless receiving module of the present invention, power module, under-voltage indicating module: telefault L1 one end is connected to the emitter of triode Q3, and the other end is connected to the base stage of Q3 by capacitor C 14, diode D7; The collector of Q3 is connected to the base stage of triode Q4 by resistance R 25, and the emitter of Q4 links to each other with the 2nd pin of USB socket, 1 pin of interface J1 and 2 pin of triode Q7, and J1 links to each other with the 9V battery; The pin 3 of Q7 links to each other with 1 pin of voltage stabilizing chip U3, and the pin 2 of U3 links to each other with the pin 1 of power supply voltage stabilizing chip U8, and the pin 3 of U3 links to each other with the emitter of triode Q5, and the pin 3 of U8 links to each other with the collector of Q5, the pin 2 output 3.3V power supplys of U8; The reverse input end pin two of the voltage breakdown input comparator U7 of diode D11, the pin of input end in the same way 3 of the partial pressure value input U7 of resistance R 32, R33 and adjustable resistance PR1, the output terminal pin one of U7 is by the base stage of resistance R 31, triode Q9, link to each other with 1 pin of socket D15 by the collector output of Q9 and by resistance R 20, D15 links to each other with lamp; Resistance R 32 1 ends link to each other with PR1, and the other end links to each other with the 9V power circuit.5V power supply, 3.3V power supply are respectively and capacitor filtering arranged between the ground.
Single-chip microcomputer of the present invention, house dog and memory module, the concrete annexation of serial communication module and passive card card reading module is as follows, the signal of external passive RF card receives by antenna SX1,1 pin of SX1 is that first input end passes through capacitor C 1 and links to each other with the pin 8 ' COIL2 ' of passive card card reading module U2,1 pin of SX1 is that first input end passes through diode D3, resistance R 3, capacitor C 3 links to each other with the pin 4 ' INPUT ' of U2,2 pin of SX1 i.e. second input end pass through diode D4, resistance R 8 links to each other with the pin one 5 ' RF ' of U2,2 pin of SX1 i.e. second input end pass through diode D4, resistance R 7 links to each other with the collector of triode Q1,2 pin of SX1 i.e. second input end link to each other with the pin 9 ' COIL1 ' of U2 by resistance R 4, and the base stage of Q1 links to each other with 2 pin ' OUTPUT ' of U2 by resistance R 9; The pin two of U2 ' OUTPUT ' links to each other with the pin 7 ' P3.3 ' of single-chip microcomputer U4; The pin one 8 ' P1.6 ' of U4, pin one 6 ' P1.4 ', pin one 4 ' P1.2 ' respectively with the pin 1 '/CS ' of memory module U1, pin 3 ' WP ', pin 6 ' SCK ' links to each other, the pin one 7 ' P1.5 ' of U4 links to each other with the pin two ' SO ' of U1 and pin 5 ' SI ', the pin 2 ' P3.0 ' of U4, pin 3 ' P3.1 ' respectively with the pin 1 ' RO ' of serial communication module U6, pin 4 ' DI ' links to each other, the pin 8 ' P3.4 ' of U4 links to each other with pin 3 ' DE ' with the pin 2 ' RE ' of U6, the pin 6 ' A ' of U6, pin 7 ' B ' is by resistance R 18, R19 respectively with the communication port 4 of USB socket, 3 pins link to each other, 9 pin ' P3.5 ' of U4 link to each other with 6 pin ' CFE ' of passive card card reading module U2, the pin 13 ' P1.1 ' of U4 links to each other with the base stage of triode Q6 by resistance R 17, and the pin 15 ' P1.3 ' of U4 is by resistance R 15, diode D10 links to each other with the base stage of triode Q5; The collector of Q5 is given the power supply of microwave transmitter module by U8, and the collector of Q6 is given serial communication module and passive card card reading module and peripheral circuit power supply thereof.The USB socket can be connected with serial ports of computers by the RS-485/232 converter, makes single-chip microcomputer and computer realization communication, so that the passive card card reading module is carried out read-write operation.
The concrete annexation of microwave transmitter module of the present invention is as follows: microwave transmitter module U21 selects the nRF24E1 chip for use, and ' DIO0, pin 36 ' DINO ', pin 6 ' DIO2 ' link to each other with pin 5 ' SI ', pin 6 ' SCK ', pin 2 ' SO ', the pin 1 '/CS ' of storage chip U22 respectively for the pin 5 ' DIO1 ' of U21, pin 4.
The course of work of the present invention is carried out according to the following steps:
After step 1, wireless receiving module received the electromagnetic field of wireless signal generation, the electronic switch of energized module was given single-chip microcomputer, house dog and memory module power supply;
Pushbutton switch S1 in the wireless receiving module is a normal open switch, and when S1 was closed, triode Q4, Q8, Q7 were in conducting state, gives single-chip microcomputer, house dog and memory module, serial communication module, the power supply of passive card reading module; Generally speaking, S1 is a normally open, and the electronic switch of being made up of triode Q3, Q4, Q8, Q7 is in cut-off state; When external wireless signal, inductance L 1 can receive the extraneous signal pressure drop of inducting, and makes triode Q3 conducting, also conducting of Q4, Q7, Q8 after the Q3 conducting, promptly connect electronic switch, give single-chip microcomputer, house dog and memory module, serial communication module, the power supply of passive card reading module.
Step 2, single-chip microcomputer read the card number in the radio-frequency card, and judge whether the card internal information is effective, as effectively, give the power supply of microwave transmitter module, otherwise, do not give the power supply of microwave transmitter module;
After the passive card card reading module powers on, the pairing wavelength signals of emission radio-frequency card, radio-frequency card receives and returns self card number information; When antenna receives the card number information of passive RF card, U2 passes to card information by 2 pin 6 pin, 7 pin of single-chip microcomputer, single-chip microcomputer receives card number information by these 2 external interrupt modes, single-chip microcomputer judges whether the card internal information in the passive card card reading module is effective, as effectively, after making output terminal pin 15 output low levels of single-chip microcomputer, triode Q5 is in conducting state, the collector of Q5 is given the power supply of microwave transmitter module, the output terminal pin 13 of single-chip microcomputer is exported high level simultaneously, triode Q6 is in off-state, stops to communication module and the power supply of passive card reading module; As it is invalid to block internal information, and the output terminal pin 15 of single-chip microcomputer keeps that the output high level is constant, and triode Q5 locates the hand cut-off state all the time, does not give the power supply of microwave transmitter module.
The single-chip microcomputer course of work is carried out according to the following steps:
1, powers on program initialization;
2, cut logical Q6, give the power supply of serial communication module and passive card card reading module;
3, Card Reader;
4, judge whether it is effective card; If, execution in step (6); If not, execution in step (5);
5, judge whether power-on time arrives; If, execution in step (7); If not, execution in step (3);
6, cut logical Q5, give the power supply of microwave transmitter module;
7, cut off Q6, give the outage of serial communication module and passive card card reading module;
8, withdraw from.
After step 3, microwave transmitter module power on, begin to launch unique microwave identification code of having solidified;
Solidified unique microwave identification code in the microwave transmitter module when the owner registers, the microwave transmitter module will be carried out following steps:
1, beginning, program initialization;
2, the emission attitude is set, sends unique microwave identification code of having solidified, and the reception attitude is set;
3, judged whether to receive replying that ' microwave receiver ' sent; If, execution in step 4; If not, execution in step 5;
4, whether judgement replys correct; If, execution in step 6; If not, execution in step 5;
5, judge whether power-on time arrives; If, execution in step 6; If not, return step 2;
6, finish.
Step 4, vehicle carried device quit work.
After external wireless signal disappears, the pressure drop of inducting on the inductance L 1 is 0V, the delay circuit of being made up of capacitor C 15, C16, C17, diode D9, resistance R 28, R29 makes triode Q4, Q7 keep the conducting state of a period of time, after capacitor discharge finishes, triode Q3, Q4, Q7, Q8 in the power circuit are in cut-off state, and system quits work.
Advantage of the present invention is to save the energy, and power consumption at ordinary times is 0 substantially, and long according to the wireless communication mode decipherment distance of other frequency ranges, cost is low, the performance height.When the wireless receiving scope, be not in the launched microwave state at ordinary times, so it is little to consume energy, pollutes and lack, according to the battery long service life of other active identity recognition devices.This device can be installed in automobile etc. relatively the close environment of envelope carry out reliable recognition, be not limited to outdoor exposure and install.Communication identification is not subjected to the influence of extraneous weather environment, descends still and can discern by reliable communicating such as weather extremes such as rain, mist, snow, and be not subjected to the electromagnetic interference in space and the energy reliable recognition.
Description of drawings
Fig. 1 is a system architecture diagram of the present invention;
Fig. 2 is the circuit theory diagrams of power module and wireless receiving module circuit, under-voltage indicating module;
Fig. 3 (a) is the circuit theory diagrams of single-chip microcomputer of the present invention, passive card card reading module and house dog storer;
Fig. 3 (b) is the circuit theory diagrams of communication module;
Fig. 4 is the circuit theory diagrams of microwave transmitter module;
Fig. 5 is a single-chip microcomputer workflow diagram of the present invention;
Fig. 6 is a microwave transmitter module workflow diagram;
Fig. 7 is system works flow process figure of the present invention.
Embodiment
The present invention is described in detail below in conjunction with accompanying drawing;
The structured flowchart of hardware unit of the present invention comprises single-chip microcomputer, power module, passive card card reading module, microwave transmitter module, serial communication module, house dog and memory module, wireless receiving module, under-voltage indicating module as shown in Figure 1; Wherein single-chip microcomputer links to each other with microwave transmitter module, serial communication module, passive card card reading module, house dog and memory module, wireless receiving module respectively; Power module links to each other with wireless receiving module, under-voltage indicating module respectively, wireless receiving module links to each other with single-chip microcomputer, power module, passive card card reading module, microwave transmitter module, serial communication module, house dog and memory module respectively, and under-voltage indicating module links to each other with wireless receiving module, power module.
' microwave receiver ' mentioned among the present invention is any microwave communication device that receives microwave transmitter module of the present invention.Wherein preferred version is the microwave receiver of NRM for the model that Xi Dong company produces.System works flow process of the present invention is carried out according to the following steps, as shown in Figure 7:
Step 1, wireless receiving module receive the electromagnetic field that wireless signal produces, and the electronic switch of energized module is given single-chip microcomputer, house dog and memory module power supply.
The circuit theory of wireless receiving module of the present invention, power module, under-voltage indicating module as shown in Figure 2, voltage stabilizing chip U3 selects 78105 chips for use, power supply voltage stabilizing chip U8 selects the AMS1117 chip for use, the comparer in the under-voltage indicating module is selected the LM393 chip for use.Telefault L1 one end is connected to the emitter of triode Q3, and the other end is connected to the base stage of Q3 by capacitor C 14, diode D7; The collector of Q3 is connected to the base stage of triode Q4 by resistance R 25, and the emitter of Q4 links to each other with the 2nd pin of USB socket, 1 pin of interface J1 and 2 pin of triode Q7, and J1 links to each other with the 9V battery; The pin 3 of Q7 links to each other with 1 pin of voltage stabilizing chip U3, and the pin 2 of U3 links to each other with the pin 1 of power supply voltage stabilizing chip U8, and the pin 3 of U3 links to each other with the emitter of triode Q5, and the pin 3 of U8 links to each other with the collector of Q5, the pin 2 output 3.3V power supplys of U8; The reverse input end pin two of the voltage breakdown input comparator U7 of diode D11, the pin of input end in the same way 3 of the partial pressure value input U7 of resistance R 32, R33 and adjustable resistance PR1, the output terminal pin one of U7 is by the base stage of resistance R 31, triode Q9, link to each other with 1 pin of socket D15 by the collector output of Q9 and by resistance R 20, D15 links to each other with lamp; Resistance R 32 1 ends link to each other with PR1, and the other end links to each other with the 9V power circuit.5V power supply, 3.3V power supply are respectively and capacitor filtering arranged between the ground.
Pushbutton switch S1 in the wireless receiving module is a normal open switch, and when S1 was closed, triode Q4, Q8, Q7 were in conducting state, gives single-chip microcomputer, house dog and memory module, serial communication module, the power supply of passive card card reading module; Generally speaking, S1 is a normally open, and the electronic switch of being made up of triode Q3, Q4, Q8, Q7 is in cut-off state; When external wireless signal, inductance L 1 can receive the extraneous signal pressure drop of inducting, and makes triode Q3 conducting, also conducting of Q4, Q7, Q8 after the Q3 conducting, promptly connect electronic switch, give single-chip microcomputer, house dog and memory module, serial communication module, the power supply of passive card card reading module.
Step 2, single-chip microcomputer read the card number in the radio-frequency card, and judge whether the card internal information is effective, as effectively, give the power supply of microwave transmitter module, otherwise, do not give the power supply of microwave transmitter module.
The circuit theory of single-chip microcomputer of the present invention, house dog and memory module, serial communication module and passive card card reading module as shown in Figure 3, single-chip microcomputer U4 selects AT89C4051 for use, passive card card reading module U2 adopts radio-frequency card chip U2270B.The serial communication module is selected the 1487E chip for use.The chip model of memory module is 25045, and the chip model of microwave transmitter module is nRF24E1, and the model of storage chip is 25XX320.The signal of external passive RF card receives by antenna SX1,1 pin of SX1 links to each other with the pin 8 of passive card card reading module U2 by capacitor C 1,1 pin of SX1 links to each other with the pin 4 of U2 by diode D3, resistance R 3, capacitor C 3,2 pin of SX1 link to each other with the pin one 5 of U2 by diode D4, resistance R 8,2 pin of SX1 link to each other with the collector of triode Q1 by diode D4, resistance R 7,2 pin of SX1 link to each other with the pin 9 of U2 by resistance R 4, and the base stage of Q1 links to each other with 2 pin of U2 by resistance R 9; The pin two of U2 links to each other with the pin 7 of single-chip microcomputer U4; The pin one 8,16,14 of U4 links to each other with the pin 1,3,6 of memory module U1 respectively, the pin one 7 of U4 links to each other with the pin two and 5 of U1, the pin 2,3 of U4 links to each other with the pin 1,4 of RS 485 transceiver U6 respectively, the pin 8 of U4 links to each other with 3 with the pin 2 of U6, the pin 6,7 of U6 links to each other with 4,3 pins of USB socket respectively by resistance R 18, R19,9 pin of U4 link to each other with 6 pin of passive card card reading module U2, the pin 13 of U4 links to each other with the base stage of triode Q6 by resistance R 17, and the pin 15 of U4 links to each other with the base stage of triode Q5 by resistance R 15, diode D10; The collector of Q5 is given the power supply of microwave transmitter module by U8, and the collector of Q6 is given serial communication module and passive card card reading module and peripheral circuit power supply thereof.The USB socket can be connected with serial ports of computers by the RS-485/232 converter, makes single-chip microcomputer and computer realization communication, so that the passive card card reading module is carried out read-write operation.
After the passive card card reading module powers on, emission 125KHz signal, radio-frequency card receives and returns self card number information; When antenna receives the card number information of passive RF card, U2 passes to card information by 2 pin 6 pin, 7 pin of single-chip microcomputer, single-chip microcomputer receives card number information by these 2 external interrupt modes, single-chip microcomputer judges whether the card internal information in the passive card card reading module is effective, as effectively, after making output terminal pin 15 output low levels of single-chip microcomputer, triode Q5 is in conducting state, the collector of Q5 is given the power supply of microwave transmitter module, the output terminal pin 13 of single-chip microcomputer is exported high level simultaneously, triode Q6 is in off-state, stops to communication module and the power supply of passive card reading module; As it is invalid to block internal information, and the output terminal pin 15 of single-chip microcomputer keeps that the output high level is constant, and triode Q5 is in cut-off state all the time, does not give the power supply of microwave transmitter module.
Single-chip microcomputer is selected AT89C4051 for use, use C language compilation, the course of work of single-chip microcomputer is carried out according to the following steps, as shown in Figure 5:
1, powers on program initialization;
2, cut logical Q6, give the power supply of serial communication module and passive card card reading module;
3, Card Reader;
4, judge whether it is effective card; If, execution in step 6; If not, execution in step 5;
5, judge whether power-on time arrives; If, execution in step 7; If not, execution in step 3;
6, cut logical Q5, give the power supply of microwave transmitter module;
7, cut off Q6, give the outage of serial communication module and passive card card reading module;
8, withdraw from.
After step 3, microwave transmitter module power on, begin to launch unique microwave identification code of having solidified;
The circuit theory of microwave transmitter module of the present invention as shown in Figure 4; Microwave transmitter module U21 selects the nRF24E1 wireless transceiver for use, and it produces the 2.4MHZ microwave signal; The pin 5,4,36,6 of U21 links to each other with the pin 5,6,2,1 of storage chip U22 respectively, and the 4th pin of USB charging socket links to each other with 9 pin of U21 by resistance R 7.The USB charging socket can be used as the charging socket.
Solidified unique microwave identification code in the microwave transmitter module when the owner registers, the microwave transmitter module will be carried out following steps, as shown in Figure 6;
1, beginning, program initialization;
2, the emission attitude is set, sends unique microwave identification code of having solidified, and the reception attitude is set;
3, judged whether to receive replying that ' microwave receiver ' sent; If, execution in step 4; If not, execution in step 5;
4, whether judgement replys correct; If, execution in step 6; If not, execution in step 5;
5, judge whether power-on time arrives; If, execution in step 6; If not, return step 2;
6, finish.
Step 4, vehicle carried device quit work.
After external wireless signal disappears, the pressure drop of inducting on the inductance L 1 is 0V, the delay circuit of being made up of capacitor C 15, C16, C17, diode D9, resistance R 28, R29 makes triode Q4, Q7 keep the conducting state of a period of time, after capacitor discharge finishes, triode Q3, Q4, Q7, Q8 in the power circuit are in cut-off state, and system quits work.