A kind of LED intelligent emergencies brake control system
Technical field
The utility model relates generally to automotive field, is braked more specifically to a kind of LED intelligent emergencies and controls system
System.
Background technology
Automobile is born brings a variety of convenience to human lives, simultaneously as vehicle increases, safety problem also to the mankind with
Carry out many puzzlements, rear-ended car accident often occurs, and the true cause that rear-end collision occurs for automobile is because front and rear car " brake
It is asynchronous ", when bringing to a halt, rear car driver lags behind front truck all the time, the speed for 120km/h, it is necessary to more 17 meters of punchings forward, which
Be afraid of 1 meter of Shaochong forward, a rear-end collision perhaps just occurs less, so vehicle is all carried using brake lamp to rear car now
Show, because brake lamp is all placed on the last of vehicle body, driver can not know whether the brake lamp of oneself car is lighted, if brake lamp is bad
Fall or when brightness is inadequate, it will increase is dangerous, therefore, with reference to the utility model of Patent No. 201520101690.1, there is provided
A kind of LED intelligent emergencies brake control system, can automatic detection LED whether break down, and increase standby brake lamp group,
Safety is brought for traveling.
Utility model content
The utility model is mainly solving the technical problems that provide a kind of LED intelligent emergencies brake control system, provided with standby
With brake LED light group, the work to brake lamp carries out fault detect, voice reminder is carried out when brake lamp breaks down, and
Standby LED light group is automatically turned on, safety is brought for traveling.
In order to solve the above technical problems, a kind of LED intelligent emergencies brake control system of the utility model include master controller,
Fault detection module, LED brake lamps group, acceleration detection module, standby LED light group, display module, key-press module, failure report
Alert module, vehicle power, voltage regulator module, provided with standby brake LED light group, the work to brake lamp carries out fault detect,
Voice reminder is carried out when brake lamp breaks down, and automatically turns on standby LED light group, safety is brought for traveling.
Wherein, the output end of the vehicle power is connected to the input of voltage regulator module;The voltage regulator module
Output end be connected to the input of master controller;The fault detection module is connected to LED brake lamp groups;The fault detect
The output end of module is connected to the input of master controller;The output end of the master controller is connected to the defeated of LED brake lamp groups
Enter end;The output end of the acceleration detection module is connected to the input of master controller;The output end of the master controller connects
Then the input of standby LED light group;The output end of the master controller is connected to the input of display module;The button mould
The output end of block is connected to the input of master controller;The output end of the master controller is connected to the input of fault alarm module
End.
Further optimize as of the present utility model, described in a kind of LED intelligent emergencies brake control system of the utility model
Master controller uses ATmega64 single-chip microcomputer machines.
Further optimize as of the present utility model, described in a kind of LED intelligent emergencies brake control system of the utility model
Acceleration detection module uses MMA1260D acceleration transducers.
Further optimize as of the present utility model, described in a kind of LED intelligent emergencies brake control system of the utility model
Display module uses LCD12864 LCDs.
Further optimize as of the present utility model, described in a kind of LED intelligent emergencies brake control system of the utility model
Fault alarm module uses WT588D speech chips.
Control effect:A kind of LED intelligent emergencies brake control system of the utility model, it is right provided with standby brake LED light group
The work of brake lamp carries out fault detect, carries out voice reminder when brake lamp breaks down, and automatically turn on standby LED
Group, safety is brought for traveling.
Brief description of the drawings
The utility model is described in more detail with specific implementation method below in conjunction with the accompanying drawings.
Fig. 1 is a kind of hardware structure diagram of LED intelligent emergencies brake control system of the utility model.
Fig. 2 is a kind of circuit diagram of the master controller of LED intelligent emergencies brake control system of the utility model.
Fig. 3 is a kind of circuit diagram of the fault detection module of LED intelligent emergencies brake control system of the utility model.
Fig. 4 is a kind of circuit diagram of the LED brake lamp groups of LED intelligent emergencies brake control system of the utility model.
Fig. 5 is a kind of circuit diagram of the acceleration detection module of LED intelligent emergencies brake control system of the utility model.
Fig. 6 is a kind of circuit diagram of the standby LED light group of LED intelligent emergencies brake control system of the utility model.
Fig. 7 is a kind of circuit diagram of the display module of LED intelligent emergencies brake control system of the utility model.
Fig. 8 is a kind of circuit diagram of the key-press module of LED intelligent emergencies brake control system of the utility model.
Fig. 9 is a kind of circuit diagram of the fault alarm module of LED intelligent emergencies brake control system of the utility model.
Figure 10 is a kind of circuit diagram of the vehicle power of LED intelligent emergencies brake control system of the utility model.
Figure 11 is a kind of circuit diagram of the voltage regulator module of LED intelligent emergencies brake control system of the utility model.
Embodiment
Embodiment one:
Illustrate present embodiment, a kind of LED intelligence described in present embodiment with reference to Fig. 1,2,3,4,5,6,7,8,9,10,11
Emergency brake control system includes master controller, brake travel switch, fault detection module, LED brake lamps group, acceleration detection
Module, standby LED light group, display module, key-press module, fault alarm module, vehicle power, voltage regulator module, provided with standby
With brake LED light group, the work to brake lamp carries out fault detect, voice reminder is carried out when brake lamp breaks down, and
Standby LED light group is automatically turned on, safety is brought for traveling.
Wherein, the output end of the vehicle power is connected to the input of voltage regulator module, and vehicle power is+12V electricity
Pressure ,+12V vehicle carried power voltages are converted to by+5V voltages by L78M05 voltage stabilizing chips, voltage regulator module turns+5V voltages
It is system power supply to be changed to 3.3V and 2.5V voltages, ensures the normal work of system, by VCC ends to system power supply.
The output end of the voltage regulator module is connected to the input of master controller, and voltage regulator module is by+5V voltages
+ 3.3V voltages are converted to by LM1117-3.3V chips, voltage regulator module turns+5V voltages by LM1117-2.5V chips
+ 2.5V voltages are changed to, vehicle power and voltage regulator module provide a system to+12V ,+5V ,+3.3V and+2.5V voltage, lead to
VCC ports are crossed to system power supply.
The fault detection module is connected to LED brake lamp groups, and LED brake lamps group includes the LED_1 of fault detection module
End is connected with LED 40, LED41, LED42, LED43 anode in LED brake lamp groups, LED_2, LED_3,
LED_4, LED_5 are connected with LED 48, LED49, LED50, LED51 negative electrode in LED brake lamp groups respectively
Connecing, during LED brake lamp group normal luminous, LED_2, LED_3, LED_4, LED_5 end of fault detection module obtain high level, therefore
Diode D2, D4, D5, the D6 hindered in detection module ends, LED_1 ends acquisition high level signal, and two in fault detection module
Pole pipe D3 is turned on, and triode Q1 conductings, the OUT1_G ends of fault detection module export PC0 pin of the low level to master controller.
When one in LED brake lamp groups or plurality of LEDs break down, the LED_2 or LED_3 of fault detection module or LED_4 or LED_5 ends
Low level is obtained, LED_1 ends obtain high level signal, diode D2 or D4 or D5 or D6 conductings, the OUT1_ of fault detection module
G ends export high-impedance state signal to the PC0 pins of master controller,
The output end of the fault detection module is connected to the input of master controller, the OUT1_G ends of fault detection module
It is connected with the PC0 pins of master controller, during LED brake lamp group normal luminous, LED_2, LED_3 of fault detection module,
LED_4, LED_5 end obtain high level, and diode D2, D4, D5, D6 cut-off in fault detection module, LED_1 ends obtain high electricity
Ordinary mail number, the diode D3 conductings in fault detection module, triode Q1 conductings, the OUT1_G ends output of fault detection module are low
PA5 pin of the level to master controller.When one in LED brake lamp groups or plurality of LEDs break down, the LED_ of fault detection module
2 or LED_3 or LED_4 or LED_5 ends obtain low level, and LED_1 ends obtain high level signal, diode D2 or D4 or D5 or D6
Conducting, the OUT1_G ends of fault detection module export high-impedance state signal, master controller driving LED to the PC0 pins of master controller
Start standby LED light group while not having bad LED normal luminous in brake lamp group to light.
The output end of the master controller is connected to the input of LED brake lamp groups, the OUT2_G and master of LED brake lamp groups
The PC1 pins of controller are connected, when master controller obtains vehicle brake signal, the high electricity of PC1 pins output of master controller
Ordinary mail number, the D1 conductings of driving diode, the work of LED brake lamps group are luminous.
The output end of the acceleration detection module is connected to the input of master controller, and acceleration detection module uses
MMA1260D acceleration transducers, acceleration detection module is used for collection vehicle acceleration information, and sends master controller to and enter
Row processing, the data-signal collected is compared with the threshold value pre-set, the group work of control LED brake lamps.Work as acceleration
The ADC0 ends of detection module are connected with the PF0 pins of master controller, and the output voltage of MMA1260D acceleration transducers is with adding
Speed is directly proportional, and the VOUT ends of MMA1260D acceleration transducers are connected at the node that resistance R2 connects with electric capacity C1, electric capacity
C1 other end ground connection, the resistance R2 other end is ADC0 ends, is connected to master controller PF0 ends, resistance R2 and electric capacity C1 compositions
RC filter circuits, for reducing clocking noise, decoupling capacitor C2 is connected between the VDD and VSS of MMA1260D acceleration transducers.
The output end of the master controller is connected to the input of standby LED light group, JR1, JR2 of standby LED light group,
JR3 ends are connected with PC4, PC3, PC2 pin of master controller respectively, and master controller obtains LED brake lamp groups failure feedback
During signal, high level signal is produced by PC4, PC3, PC2 pin, driving makes relay K1, K2, K3 in standby LED light group
Adhesive, make standby LED light group work luminous.
The output end of the master controller is connected to the input of display module, and display module uses LCD12864 liquid crystals
Display screen, display module is used to show whether LED brake lamps group breaks down, and shows whether standby LED light group lights, and shows mould
DB0, DB1, DB2, DB3, DB4, DB5, DB6, DB7 end of block and PA0, PA1 of master controller, PA2, PA3, PA4, PA5, PA6,
PA7 pins are connected, for display data;The RS_LCD ends of display module are connected with the PC7 pins of master controller, for controlling
Data command processed;The R/W_LCD ends of display module are connected with the PC6 pins of master controller, for controlling read-write operation;Display
The Enable Pin E_LCD of module is connected with the PC5 pin of master controller;PC7, PC6, PC5 pin of master controller are aobvious for controlling
Show the strobe state of the charactron in module.
The output end of the key-press module is connected to the input of master controller, and key-press module uses ST5.0LF160Q types
Number Independent keys, key-press module include LED stand-by lamp group open button SW1, LED stand-by lamp group close button SW2, key-press module
SW1, SW2 end are connected with PE4, PE5 pin of master controller respectively, push button SW1, the PE4 pins one to master controller
Individual pulse signal, the standby LED light group of main controller controls are opened;SW2 is pushed button, the PE5 pins of master controller obtain one
Pulse signal, the standby LED light group of main controller controls are closed;Realize the light on and off for controlling standby LED light group manually.
The output end of the master controller is connected to the input of fault alarm module, and fault alarm module uses WT588D
Speech chip, WT588D speech chips use three line serial ports control models with master controller, different with 4 line SPI of standard,
WT588D speech chips only receive data, instruction and the clock signal that master controller is sent, without sending data.In three lines
Under serial ports pattern, the PB4 pins of master controller are connected with the RST ends of fault alarm module, are reset terminal;Master controller
PB1 pins are connected with the YCLK ends of fault alarm module, are clock signal terminal;The PB2 pins and fault alarm of master controller
The YDATA ends of module are connected, and are data-interface end;The PB0 pins of master controller are connected with the YCS ends of fault alarm module
Connect, be chip selection signal end.
Embodiment two:
Illustrate present embodiment with reference to Fig. 1,2,3,4,5,6,7,8,9,10,11, the master controller uses ATmega64
Single chip microcomputer machine.The ATmega64 is 8 CMOS microcontrollers of low-power consumption of the AVR risc architectures based on enhancing.Due to it
Advanced instruction set and single clock cycle time for each instruction, ATmega64 data throughput are up to 1MIPS/MHz, so as to
Contradiction of the system between power consumption and processing speed can be alleviated.
Embodiment three:
Illustrate present embodiment with reference to Fig. 1,2,3,4,5,6,7,8,9,10,11, the acceleration detection module uses
MMA1260D acceleration transducers.The MMA1260D be a 1.5g z-axis to acceleration transducer, it is by G- units and letter
Number conditioning ASIC circuit two parts composition.Wherein, G- units are mechanical structure, using semiconductor fabrication techniques, by polysilicon half
Conductor material is made, and seals.And signal condition ASIC circuit be by integrating, amplifying, filtering, temperature-compensating, control logic
Formed with circuits such as EEPROM interlock circuits, oscillator, clock generator and self-tests, for completing the electricity of G- units measurement
Conversion of the capacitance to voltage output.G- units are equivalent to the one moveable pole of placement among two fixed capacitor plates
Plate.When acceleration effect is in system, middle plate off normal rest condition.Surveyed using the distance of middle plate off normal rest condition
Acceleration, middle plate and the distance increase of a fixed polar plate are measured, and is reduced with the distance of another fixed polar plate, and distance
Changing value is equal.The change of distance causes the electric capacity between two-plate to change, the calculation formula of capacitance:C=Ae/D, wherein A are
The area of pole plate, D are the distances between pole plate, and e is electric medium constant.Two electric capacity that signal condition ASIC circuit measures G- units
Value is converted to acceleration magnitude, and makes acceleration directly proportional to output voltage.Filter unit is made up of second order SCF,
Smoothly delay response is realized with Bessel, so as to which pulse completely be retained.Self-test unit is used to ensure G- units and accelerometer
In circuit it is working properly, have 4 pole plates in G- units, when ST pins apply high level when, calibration voltage is added in self-test pole
Between plate and middle plate, move middle plate in the presence of electric field, the skew measured by signal condition ASIC circuit should
It is proportional to output voltage.
Embodiment four:
Illustrate present embodiment with reference to Fig. 1,2,3,4,5,6,7,8,9,10,11, the display module uses LCD12864
LCDs display screen.The LCD12864 is a kind of graphic dot matrix liquid crystal display, and it is mainly driven by line driver/row
Device and 128 × 64 full lattice lcd display compositions.Figure shows can be completed, 8 × 4 (16 × 16 dot matrix) Chinese can also be shown
16 × 4 (8 × 16 dot matrix) ASCII characters of word or display.
Embodiment five:
Illustrate present embodiment with reference to Fig. 1,2,3,4,5,6,7,8,9,10,11, the fault alarm module uses
WT588D speech chips.The WT588D is a speech chip, and chip package has DIP18, SSOP20 and LQFP32 form.Root
According to plug-in or built-in SPI-Flash difference, playing duration is also different, supports 2M~32Mbit SPI-Flash memories;
Embedded DSP high speed audio processors, processing speed are fast;Built-in 13Bit/DA converters, and 12Bit/PWM outputs, tonequality are good;
PWM outputs, which can be pushed away directly, strives forward 0.5W/8 Ω loudspeakers, and push-pull current is abundant;Support two kinds of way of outputs of DAC/PWM;Support loading
WAV audio formats;The WT588D is a speech chip with single-chip microcomputer kernel, and WT588D tonequality is preferable, and control is flexible
The characteristics of, playable MIDI chords function is further increased, performance is more preferable.
A kind of operation principle of LED intelligent emergencies brake control system of the utility model is:A kind of LED intelligence of the utility model
Energy emergency brake control system, using+12V vehicle powers to system power supply, it is by+12 voltage conversions by voltage regulator module
+ 5V ,+3.3V and+2.5V voltages, give system each module for power supply, ensure each module normal work of system.Pass through acceleration detection mould
Block obtains the change of vehicle acceleration, and acceleration signal is converted into voltage signal (acceleration is directly proportional to voltage), and will knot
Fruit sends master controller to and handled, and master controller is contrasted the data message received with threshold value, control LED brakes
The light on and off of lamp group.When detecting vehicle emergency brake signal, master controller driving LED brake lamp groups light, fault detection module
Whether the LED light emitting diodes detected in LED brake lamp groups are intact, the normal work if intact, if having one in LED brake lamp groups
Or plurality of LEDs light emitting diode when breaking down, master controller driving display module shows the prompting of " brake lights failure ", meanwhile,
Master controller drives the luminous work of standby LED groups, avoids misleading caused by LED brake lamp group brightness is not enough to rear car, now, shows
Show that module shows the prompting of " stand-by lamp startup ".Driver can also control the work of standby LED light group manually, push button
SW1, the standby LED light group of main controller controls are opened;SW2 is pushed button, the standby LED light group of main controller controls is closed;Realize
The light on and off of standby LED light group are controlled manually.
Although the utility model is disclosed as above with preferred embodiment, it is not limited to the utility model, appoints
What person skilled in the art, is not departing from spirit and scope of the present utility model, can do various changes and modification, therefore
What the scope of protection of the utility model should be defined by claims is defined.