Detailed description of the invention
To achieve these goals, this invention takes following technical scheme, the present invention will be further described for composition graphs 1 ~ Figure 10:
As shown in Figure 1, the model of microprocessor U1 is MC9S12XS64, and microprocessor U1 interface PT0, PT1, PT2, PT3 are connected with input gear switch circuit, controls the switching of self-excitation type liquid-cooled retarder gear; Microprocessor U1 interface PT7, PT5, PT2, PT6, PAD00 are connected with data acquisition module circuit, collecting temperature, speed, cruise, ABS signal; System power supply modular circuit is connected with microprocessor U1 interface VDDR, VSS1, provides power supply to microprocessor and each modular circuit; EXTAL and the XTAL pin of microprocessor U1 is used for clock circuit, the operation of clock circuit to whole control system is extremely important, adopt the typical clock circuit of MC9S12 micro controller system, be connected on external crystal-controlled oscillation input interface EXTAL and XTAL of micro controller system by the external crystal-controlled oscillation X1 of a 16MHz.The interface PA3 of microprocessor U1 is connected with stoplight stop lamp control circuit and points out retarder to start working, misoperation breaking circuit connects the interface PMW4 of microprocessor U1, the interface PWM1 of microprocessor U1, PWM0 is connected with the high-power output circuit of exciting current, different pwm pulses is exported according to the difference of gear, the high-power output circuit mouth of described exciting current is connected to self-excitation type liquid-cooled retarder stator coil, different exciting currents is exported according to PWM pulse duration modulation, thus control the lock torque of self-excitation type liquid-cooled retarder, microprocessor U1 interface TXCAN0, RXCAN0 is connected the real-time Communication for Power realized with automobile with CAN circuit.
As shown in Figure 2, described brake light circuit comprises the relay that relay R ELAY1, sustained diode 1 and stoplight stop lamp BRAKE_LIGHT, relay R ELAY1 select a Lu Changkai to export.Specifically a pin of relay R ELAY1 input end is connected on the PA3 pin of microprocessor U1, another pin ground connection of relay R ELAY1 input end, two pins of relay R ELAY1 mouth connect two electric wires of the stoplight stop lamp of automobile respectively, and reversal connection sustained diode 1 between two wires of relay input end, the i.e. positive ground of sustained diode 1, sustained diode 1 negative pole connects the PA3 pin of microprocessor U1.Wherein stoplight stop lamp BRAKE_LIGHT is the stoplight stop lamp of automobile self, the relay that relay R ELAY1 selects a Lu Changkai to export.If retarder work, then the mouth of often opening of relay R ELAY1 closes, and lights the stoplight stop lamp BRAKE_LIGHT of automobile, and this is also one of innovative point of patent of the present invention.
As shown in Figure 3, the handle H1 of described input gear switch circuit comprises 5 with lead-in wire, i.e. a common port 0 and four gear lead-in wires 1,2,3,4, one end of four gear lead-in wire 1,2,3,4 difference contact resistances R1, R2, R3, R4 of handle H1, the base stage of the other end connecting triode positive-negative-positive switch triode Q1, Q2, Q3, Q4 of resistance R1, R2, R3, R4, common port 0 ground connection of handle H1, the emitter of aerotron Q1, Q2, Q3, Q4 all connects+5V power supply and VDD, aerotron Q1, Q2, Q3, the collecting electrode of Q4 connects the interface PT0 of microprocessor U1 respectively, PT1, PT2, PT3, aerotron Q1 simultaneously, Q2, Q3, the collecting electrode of Q4 also will distinguish contact resistance R5, R6, R7, one end of R8, resistance R5, R6, R7, the other end ground connection of R8, and resistance R5, R6, R7, R8 is parallel capacitance C1 respectively, C2, C3, C4, the interface PB0 of microprocessor U1, PB5, PB6, PB7 connects four resistance R12 respectively, R11, R10, one end of R9, resistance R12, R11, R10, the other end of R9 connects four light-emitting diode LE4, LE3, LE2, the negative pole of LE1, light-emitting diode LE4, LE3, LE2, LE1 positive pole all meets+5V power vd D.Input gear switch circuit has the function of gear any switching laws, and the gear of handle determines the break-make of four aerotrons, and the light emitting diode that retarder is operated in the just corresponding several instruction of which gear is lighted, the state of display input gear.Input gear switch circuit is connected with microprocessor PT0, PT1, PT2, PT3 pin, directly the pwm pulse dutycycle of micro controller system is managed, as long as driver stirs the driving lever of handle H1, just can control microprocessor work, reach the effect controlling self-excitation retarder lock torque.This part circuit is one of innovative point of patent of the present invention.
As shown in Figure 4, described system power supply power module circuitry structure is that vehicle-mounted+24V positive source is connected with resettable fuse F1, electric capacity C10, and one end of electric capacity C10 is connected with F1, other end ground connection, connect with inductance L 1, resistance R14, electric capacity C11 positive pole while wire fuse F1 is connected with electric capacity C10, the negative earth of electric capacity C11, electric capacity C11, diode TVS1 and electric capacity C12 are in parallel, electric capacity C11 positive pole is connected with diode TVS1 negative pole, electric capacity C11 negative pole, diode TVS1 positive pole are connected and ground connection with electric capacity C12 negative pole, and electric capacity C12 positive pole is connected input end 1 pin of power supply chip U2 with diode TVS1 negative pole, power supply chip U2 selects TLE4275 Special vehicle-mounted chip, mouth 5 pin of power supply chip U2 is that VCC is+5V, 5 pin connect 1 pin of overvoltage protection diode D3 simultaneously, the model of overvoltage protection diode D3 is BZX84C8V2, 3 pin of overvoltage protection diode D3 connect VDD, mouth 5 pin of power supply chip U2 is connected with electric capacity C14 positive pole simultaneously, electric capacity C14 negative earth, electric capacity C14 is in parallel with C15 again, 5 pin of power supply chip U2 and the indirect resistance R15 of 2 pin, the 3 pin ground connection of power supply chip U2, 4 pin of power supply chip U2 connect electric capacity C13 one end, electric capacity C13 other end ground connection.System power supply power module circuitry is the circuit providing suitable power source to modules circuit.U2 is the+5V pio chip of low-power consumption, at input end access 750mA resettable fuse F1, limits and protect when circuit is short-circuited or transship to circuit.When after failture evacuation, resettable fuse forms conductive path again, completes the protection to circuit, need not manually change.In Fig. 4 ,+24V is vehicle power access, and in peripheral circuit, R14, L1 and C10, C11, C12 form filter circuit jointly.Meanwhile, input end 1 pin that diode TVS1 reversal connection enters U2 is prevented short circuit.High frequency noise filtering is carried out with electric capacity C14, C15 between output end power VCC and ground GND; VCC forms the VDD of another+5V after overvoltage protection diode D3 process; play the effect of insulating power supply; in order to power to ECU; to ensure the stable operation of micro controller system, this is one of innovative point of patent of the present invention.
As shown in Figure 5, described data acquisition module circuit comprises speed sensor analog input circuit 1, temperature sensor analog input circuit 2, ABS input circuit and the signal input circuit that cruises, concrete structure is that voltage compare chip U5 selects LM324, there are 4 operational amplification circuits voltage compare chip LM324 inside, and this circuit only uses three op amps wherein as voltage comparator.The signal wire (SW) Speed of speed sensor directly connects pin TACH+ i.e. 1 pin of F-V conversion chip U4, the model of F-V conversion chip U4 is LM2917, the pin EMTT voltage i.e. 5 pin voltages of F-V conversion chip U4 are the voltage Speed_Control that car speed sensor that speed sensor collects is corresponding, one end of the 5 pin contact resistance R23 of F-V conversion chip U4, the other end of resistance R23 connects the reverse input end 1IN-of 2 pin of voltage compare chip U5 and U5 wherein first op amp, 3 pin i.e. positive input 1IN+ contact resistance R24 one end of first op amp of voltage compare chip U5, the resistance R24 other end connects 1 pin of two adjustable potentiometer R21 respectively, 3 pin of R22, 2 of adjustable potentiometer R21, 3 pin all meet power supply VCC, 1 of adjustable potentiometer R22, the equal ground connection of 2 pin, adjustable potentiometer R21, R22, the voltage of the common point of R24 is the minimum threshold criteria voltage of comparator, this reference voltage is by regulating adjustable potentiometer R21, R22 reaches magnitude of voltage corresponding to minimum vehicle speed signal during retarder work, the 1 pin i.e. mouth 1OUT of this op amp of voltage compare chip U5 connects the PT7 pin of U1, when the speed of a motor vehicle is lower than this minimum threshold values, retarder automatically quits work and avoids the wasting of resources, one end of the 5 pin contact resistance R25 of F-V conversion chip U4, the other end of resistance R25 connects 5 pin of voltage compare chip U5 and the positive input 2IN+ of U5 second op amp, 6 pin i.e. reverse input end 2IN-contact resistance R26 one end of second op amp of voltage compare chip U5, the resistance R26 other end meets two adjustable potentiometer R27 respectively, 3 pin of R28, 1 of adjustable potentiometer R28, 2 pin all meet power supply VCC, 1 of adjustable potentiometer R27, the equal ground connection of 2 pin, adjustable potentiometer R26, R27, the voltage of the common point of R28 is middle threshold values reference voltage, this reference voltage is by regulating adjustable potentiometer R27, the magnitude of voltage of the speed sensor that automobile driving speed is corresponding when being middling speed when R28 reaches retarder work, 7 pin of voltage compare chip U5 and the mouth 2OUT of U1 second op amp connect the PA2 pin of U1, when the speed of a motor vehicle is higher than minimum threshold values and lower than this middle threshold values, retarder automatically shuts down wherein two each and every one gears, one end of the 5 pin contact resistance R29 of F-V conversion chip U4, the other end of resistance R29 connects 10 pin of voltage compare chip U5 and the positive input 3IN+ of U5 the 3rd op amp, 9 pin i.e. reverse input end 3IN-contact resistance R30 one end of the 3rd op amp of U5, the resistance R30 other end meets two adjustable potentiometer R31 respectively, 3 pin of R32, 1 of adjustable potentiometer R32, 2 pin all meet power supply VCC, 1 of adjustable potentiometer R31, the equal ground connection of 2 pin, adjustable potentiometer R30, R31, the voltage of the common point of R32 is the highest threshold values reference voltage, this reference voltage is by regulating adjustable potentiometer R31, the magnitude of voltage of the speed sensor that automobile driving speed is corresponding when being high speed when R32 reaches retarder work, 8 pin of voltage compare chip U5 and the mouth 3OUT of microprocessor U1 the 3rd op amp connect the PT5 pin of U1, when the speed of a motor vehicle higher than middle threshold values and lower than this highest threshold values time, retarder automatically shuts down one of them gear, when the speed of a motor vehicle higher than this highest threshold values time, when driver stirs retarder gear to fourth gear, retarder four gears all normally work.4 pin of U5 meet VCC, the 11 pin ground connection of U5.
As shown in Figure 5, temperature sensor signal line Temp connects 2 pin of overvoltage protection diode D4, the model of D4, D5, D6 is BAS21S, one end of the 3 pin connecting resistance R16 of D4, another termination VCC of R16, connect one end of electric capacity C16 while one end of the 3 pin connecting resistance R16 of D4, the other end ground connection of C16,3 pin of D4 connect the PT6 pin of microprocessor U1 simultaneously; The signal wire (SW) Cruise that cruises connects 2 pin of diode D5, one end of the 3 pin connecting resistance R17 of D5, connects one end of electric capacity C17 while one end of the 3 pin connecting resistance R17 of another termination VCC, the D5 of R17, the other end ground connection of C17,3 pin of D5 connect the PT4 pin of microprocessor U1 simultaneously; ABS signal wire (SW) connects 2 pin of diode D6, one end of the 3 pin connecting resistance R18 of D6, connects one end of electric capacity C18 while one end of the 3 pin connecting resistance R18 of another termination VCC, the D6 of R18, the other end ground connection of C18,3 pin of D6 connect the PAD00 pin of microprocessor U1 simultaneously.
The speed signal of data acquisition module circuit is by F-V conversion chip, vehicle speed pulse is converted to voltage signal, velocity voltage signal accesses microprocessor U1's through voltage compare chip U5, speed signal is set to three threshold values, realize automatically shutting down self-excitation type liquid-cooled retarder when the speed of a motor vehicle is low speed driving, wherein one or two gear of retarder is automatically shut down when the speed of a motor vehicle is for driving at moderate speed, when the speed of a motor vehicle is for running at high speed, driver stirs retarder and normally works to retarder during fourth gear, thus avoid maloperation and the wasting of resources reach more intelligentized control method should.Use the ADC module of microprocessor U1 inside to detect to temperature, ABS, the signal that cruises, adopt BAS21S overvoltage protection diode to carry out AD collection, the stability of intensifier circuit, this is one of innovative point of patent of the present invention.
As shown in Figure 6, data acquisition module circuit F-V change-over circuit is the peripheral circuit of F-V conversion chip U4 in Fig. 5 data acquisition module circuit, the model of F-V conversion chip U4 is LM2917, 1 pin of F-V conversion chip U4 is connected with the signal wire (SW) of speed sensor, 2 pin of F-V conversion chip U4 are connected with electric capacity C43 one end, the other end of electric capacity C43 is connected with ground, 3 pin of F-V conversion chip U4 are connected with 3 pin of potential device R41, the model of potential device is 3296W, 1 of potential device R41, 2 pin are all connected with ground, 4 pin of F-V conversion chip U4 are connected with electric capacity C41 positive pole, electric capacity C41 negative pole is connected with ground, 3 pin of F-V conversion chip U4 are directly connected with 4 pin, 5 pin of U4 are connected with 3 pin of potential device R42, 1 of potential device R42, 2 pin are all connected with ground, 5 pin of F-V conversion chip U4 are directly connected with 10 pin, 5 pin of F-V conversion chip U4 are connected with the resistance R27 of described data acquisition module circuit simultaneously, 8 pin of F-V conversion chip U4 meet+5V power supply VCC, one end of the 9 pin connecting resistance R43 of F-V conversion chip U4, another termination+5V power supply VCC of resistance R43, 11 pin of F-V conversion chip U4 and the equal ground connection of 12 pin.
As shown in Figure 7, described misoperation breaking circuit adopts positive-negative-positive switch triode Q6 as switch circuit, retarder main supply switch K1 is arranged on driver driving room, wire contact resistance R35 one end for K switch 1, another wire ground connection of K1, the other end connecting triode Q6 base stage of R35, the emitter of Q6 meets+5V power vd D, the collecting electrode of Q6 connects the PWM4 pin of microprocessor U1, the collecting electrode of Q6 connects one end of a resistance R36 simultaneously, the other end ground connection of R36, and a resistance R36 electric capacity C36 in parallel.Retarder misoperation K switch 1 is arranged on driver driving room, and when misoperation, driver can shutdown switch K1 immediately.
As shown in Figure 8, the high-power output circuit concrete structure of described exciting current is one end of the pin PWM0 contact resistance R37 of microprocessor U1, the other end of resistance R37 connects the base stage of NPN type triode Q8, the collecting electrode of NPN type triode Q8 is connected with one end of resistance R38, the other end of resistance R38 connects+5V power vd D, the emitter of NPN type triode Q8 connects the ground of+5V power vd D, while the collecting electrode of NPN type triode Q8 is connected with resistance R38 one end and input end 2 pin of high-power switch tube BTS550P and U12 connect, 4 pin of high-power switch tube U12 connect one end of electric capacity C37, another termination vehicle power of electric capacity C37+24V negative pole, 2 pin of flywheel diode D12 and one end electric wire of retarder stator exciting coil RL33 is connect while 5 pin of high-power switch tube U12 are connected with 1 pin, the model of sustained diode 12 is MBRF40250, sustained diode 121, 3 pin connect vehicle power+24V negative pole while connecting, the other end electric wire of retarder stator exciting coil RL33 connects vehicle power+24V negative pole, 3 pin of high-power switch tube U12 connect vehicle power+24V positive pole, one end of the 3 pin series resistance R39 of high-power switch tube U12 simultaneously, the other end of resistance R39 connects electric capacity C38 one end, the other end of electric capacity C38 connects 5 pin of high-power switch tube U12.The electric current that the high-power output circuit of exciting current exports is the exciting current needed for the self power generation of self-excitation type liquid-cooled retarder, the ON time of high-power switch tube BTS550P and U12 is changed by the conversion modulation (PWM) pulsewidth of input gear switch circuit gear, thus regulate the size of exciting current, control the lock torque of retarder, improve safety and the stability of self-excitation type liquid-cooled retarder control system.This is one of innovative point of patent of the present invention.
As shown in Figure 9, U1 is this device microprocessor selected when building to micro processor leg figure, and model is the MC9S12XS64 micro controller system of FREESCALE company, can certainly select ARM, DSP, FPGA family chip.
Microprocessor software main program flow chart as shown in Figure 10, is the key step of microprocessor U1 software programming, all modules of the software that the present invention adopts C language to write.Main program is the key link of control software design, controls calling and coordination of modules according to state.It comprises and judges vehicle whether starting state, whether antiblock device ABS works, if antiblock device ABS has worked, then automatically proceed to retarder init state, if antiblock device ABS does not work, then perform corresponding data acquisition module, input gear detection module, brake control module, communication module and temperature and speed display module.Main program is a loop body, and after retarder runs, as long as no interrupt request, it runs always in this loop body.
To those skilled in the art, clearly, the present invention can make multiple improvement and change, as long as fall in appending claims and equivalent scope thereof, the present invention is just contained of the present invention these and improved and change.