The utility model content
The technical problems to be solved in the utility model is: overcome the deficiency that prior art exists; utilize SP_CAN network data transmission agreement; by the CAN_BUS bus; communicate control with how main mode of operation, have intellectuality, integrated, save rattail, reduce the vehicle CAN _ BUS network system of fault rate, selfdiagnosis and self-protection function and be used for the car electrics parts of this system.
The technical scheme that its technical matters that solves the utility model adopts is: this vehicle CAN _ BUS network system, comprise intelligent controller, body electric system parts and CAN_H, CAN_L network-bus, it is characterized in that: intelligent controller is integrated in the body electric system components interior with embedded mode, make its one-tenth as a whole, be node type and be distributed in the auto body, CAN_H, CAN_L network-bus are connected with the body electric system parts.
The car electrics parts that are used for above-mentioned vehicle CAN _ BUS network system, the intelligent controller that comprises intelligent car body electric component and embedding body electric system components interior, it is characterized in that: leave CAN_BUS Data Communication in Computer Networks interface on each intelligent car body electric component, communicate control with how main mode of operation and auto body.
Each intelligent controller external control wiring is two network data transmission connection leads of CAN_H, CAN_L.
Each intelligent controller contains microprocessor, and microprocessor is the micro controller system of band CAN controller, is embedded with control coding and Data Transport Protocol.
The intelligent car body electric component can detect its mode of operation in real time, and its information is sent on the vehicle-mounted control network, realizes selfdiagnosis and self-protection function.
Principle of work
Each intelligent controller connects by the CAN_BUS network, defers to the SP_CAN Data Transport Protocol, for how main formula distributes, and has preceence.Each intelligent controller can obtain control command from the vehicle-mounted control network; also can be according to the concrete working current of actr; the car electrics working condition is diagnosed and diagnostic message is sent on the vehicle-mounted control network, realize OBD (On-Board Diagnostics) and self-protection.When a plurality of information of same, sending on the CAN_BUS network, the preferential execution that priority is high.Each intelligent controller that is connected on the CAN_BUS network all detects the information that transmits on the CAN bus in scanning at any time, if not the information that this intelligent controller needs continues scanning detection information.If the information that this intelligent controller needs then according to the SP-CAN Data Transport Protocol, with information decoding, is controlled corresponding actr action; Or gather corresponding switching value or analog quantity state, and send to behind the coding on the CAN bus, by the CAN bus transfer, the corresponding actr action of control behind the corresponding intelligent controller receiving control information.Microprocessor on the intelligent controller detected the working current of actr every 30 seconds, monitor their working condition.When electric current surpassed a certain limit value, microprocessor sent control command immediately, and the control actr quits work; When electric current is zero, feed back to microprocessor immediately, microprocessor coding back sends by the CAN bus, and control is reported to the police accordingly.After microprocessor was handled the sensor information intellectual analysis, automatic guidance was carried out corresponding action, and stops automatically, made the car electrics parts intelligent more.
Compared with prior art, vehicle CAN of the present utility model _ BUS network system and be used for the characteristics that the car electrics parts of this system have and be: the intelligent car body electric component is furnished with the CAN_BUS data-interface, by embedding its in-to-in intelligent controller, utilize SP_CAN network data transmission agreement to communicate control; Its beneficial effect is: (1) intelligent controller is fixed in the body electric system components interior with embedded mode, makes its one-tenth as a whole, thereby has realized the intellectuality of system, integrated control; (2) the intelligent car body electric component is connected on the CAN_BUS network by the CAN_BUS interface, whole external cabling has only two power leads and two CAN_BUS data lines, and make two sockets, be convenient to assemble, overhaul, the extending out of replacing and car electrics parts, save rattail greatly, reduced fault rate; (3) each intelligent controller all contains microprocessor, adopts Based Intelligent Control, makes the car electrics parts have selfdiagnosis and self-protection function, thereby has embodied its requirement comprehensive and hommization.
SP_CAN network data transmission agreement is on the basis of the applicant based on SEA J1939 agreement, a kind of Data Transport Protocol mode that its application layer is expanded.
Description of drawings
Fig. 1: vehicle CAN _ BUS network system node distributed architecture figure;
Fig. 2: embodiment 1 intelligent combined switch functional block diagram;
Fig. 3: embodiment 1 combined switch intelligent controller schematic block circuit diagram;
Fig. 4: embodiment 2 screen wiper functional block diagram;
Fig. 5: embodiment 2 wiper intelligent controller schematic block circuit diagram;
Fig. 6: embodiment 3 intelligent head light functional block diagram;
Fig. 7: embodiment 3 head light intelligent controller schematic block circuit diagram;
Fig. 8: embodiment 4 intelligent air condition functional block diagram;
Fig. 9: embodiment 4 air-conditioner intelligent controller schematic block circuit diagram.
Fig. 1-the 9th, most preferred embodiment of the present utility model is among Fig. 1: S1, S2 ... Sn, Sn+1 intelligent car body electric component L1, L2 ... Ln, Ln+1 intelligent controller;
Among Fig. 2: 1 intelligent controller, 2 country beam signal switchs, 3 passing light signal switchs, 4 fog lamp signal switchs, 5 critical alarm modulating signal switches, 6 left steering modulating signal switches, 7 right steering modulating signal switches, 8 side-marker lamp's signal switchs, 9 windscreen wipers scrape at a high speed that signal switch 10 windscreen wiper low speed are scraped signal switch 11 actuation signal switches 12 spray signal switchs 13 passing lamp signal switchs 14 audible warning switches, 15 windscreen wipers are intermittently scraped signal switch;
Among Fig. 4: the dish of flexible motor 20 positions of 16 intelligent controllers, 17 water spray motors, 18 rain shaving electrical machines, 19 windscreen wiper sheets;
Among Fig. 6: 21 intelligent controllers, 22 country beams, 23 passing lights, 24 fog lamps, 25 steering indicating lights, 26 side-marker lamps;
Among Fig. 8: 27 intelligent controllers, 28 blower motors, 29 air conditioner heat radiator fans, 30 inside and outside autogenous cuttings change motor 31 air-conditioning compressor magnetic clutchs.
The specific embodiment
Below in conjunction with accompanying drawing 1-9 vehicle CAN of the present utility model _ BUS network system and the car electrics parts that are used for this system are described further:
As shown in Figure 1: this vehicle CAN _ BUS network system, comprise intelligent controller, body electric system parts S1, S2 ... Sn, Sn+1 and CAN_H, CAN_L network-bus, intelligent controller L1, L2 ... Ln, Ln+1 are integrated in the body electric system components interior with embedded mode, make its one-tenth as a whole, be node type and be distributed in the auto body, CAN_H, CAN_L network-bus and body electric system parts S1, S2 ... Sn, Sn+1 are connected.Utilize SP_CAN network data transmission agreement,, communicate control with how main mode of operation by the CAN_BUS bus.
Shown in Fig. 2,3: embodiment 1: intelligent combined switch
As shown in Figure 2: this intelligence combined switch, comprise intelligent controller 1, country beam signal switch 2, passing light signal switch 3, fog lamp signal switch 4, critical alarm modulating signal switch 5, left steering modulating signal switch 6, right steering modulating signal switch 7, side-marker lamp's signal switch 8, windscreen wiper is scraped signal switch 9 at a high speed, windscreen wiper low speed is scraped signal switch 10, actuation signal switch 11, spray signal switch 12, passing lamp signal switch 13, audible warning switch 14, windscreen wiper is intermittently scraped signal switch 15, CAN_H, the CAN_L network-bus, intelligent controller 1 embeds in the entire combination switch, CAN_H, the CAN_L network-bus is by intelligent controller 1 and country beam signal switch 2, passing light signal switch 3, fog lamp signal switch 4, critical alarm modulating signal switch 5, left steering modulating signal switch 6, right steering modulating signal switch 7, side-marker lamp's signal switch 8, windscreen wiper is scraped signal switch 9 at a high speed, windscreen wiper low speed is scraped signal switch 10, actuation signal switch 11, spray signal switch 12, passing lamp signal switch 13, audible warning switch 14, windscreen wiper is intermittently scraped signal switch 15 and is connected.Intelligent controller is gathered the switching information of combined switch, sends to behind the coding on the CAN bus, transmits by the CAN bus, the corresponding actr action of control after the corresponding intelligent controller reception information.
As shown in Figure 3: intelligent controller 1 comprises microprocessor, protection and memory circuit, CAN datel circuit, signal acquisition circuit, combined switch amount; signal acquisition circuit and microprocessor link; protection and memory circuit and microprocessor are interconnected; CAN datel circuit and microprocessor are interconnected, and the combined switch amount links to each other with microprocessor by signal acquisition circuit.Microprocessor is gathered ten four-way switch information of combined switch, information is deferred to the SP_CAN Data Transport Protocol, through sending on the CAN bus behind the coding, carry out data transmission by the CAN datel circuit, after respective microprocessor receives this information, at first decoding, corresponding actr action is controlled in processing execution control corresponding instruction then.Intelligent controller carries out real-time acquisition controlling to the switching value signal of combined switch; it is fast that it has sampling rate; functional characteristics such as data transmission rate height and real-time performance are strong; real-time its on off state is detected simultaneously; have excess current protective function, and, in time correct the on off state of combined switch sending on the CAN bus network behind the testing result coding; to change the action of respective actuators, reach the purpose of real-time control.
Shown in Fig. 4,5: embodiment 2: screen wiper
As shown in Figure 4: this screen wiper, comprise intelligent controller 16, water spray motor 17, rain shaving electrical machine 18, the flexible motor 19 of windscreen wiper sheet, position dish 20, CAN_H, CAN_L network-bus are connected with water spray motor 17, rain shaving electrical machine 18, the flexible motor 19 of windscreen wiper sheet, position dish 20 by intelligent controller 16.Intelligent controller 16 is embedded into wiper inside, receive the data message on CAN_H, the CAN_L, send the control corresponding instruction, drive controlling water spray motor 17 water sprays or rain shaving electrical machine 18 are at a high speed or slowly run, with the high speed that realizes windscreen wiper or low speed is scraped and the flexible motor 19 of windscreen wiper sheet stretches, and collection position dish 20 information, in conjunction with cutoff command wiper is stopped to original position.Make whole screen wiper external control wiring have only two network data transmission lines of CAN_H, CAN_L.
As shown in Figure 5: intelligent controller 16 comprises microprocessor, sensor signal, protection and memory circuit, CAN datel circuit, Drive and Control Circuit, detection reactive circuit and actr; sensor signal links to each other with microprocessor; protection and memory circuit and microprocessor are interconnected; CAN datel circuit and microprocessor interconnection; microprocessor links to each other with actr by Drive and Control Circuit; actr links to each other with the detection reactive circuit, detects reactive circuit and links to each other with microprocessor.The SP_CAN Data Transport Protocol is deferred in the control information of wiper, through sending on the CAN bus behind the coding, carry out data transmission by the CAN datel circuit, after respective microprocessor receives this information, at first decoding, processing execution control corresponding instruction then drives water spray motor water spray 17, the rotation of rain shaving electrical machine 18 high, low speeds or windscreen wiper sheet motor 19 flexible scraping by Drive and Control Circuit.When windscreen wiper swings, the resistance difference of potential device, thereby the voltage that potential device is got is also different, the MAP that pre-deposits according to microprocessor schemes, the corresponding corresponding flexible distance of correspondent voltage, the control windscreen wiper makes windscreen wiper can scrape all glass in the flexible corresponding length in corresponding position, no longer leaves the dead angle.And, monitor their working condition every 30 seconds working currents by detection reactive circuit detection rain shaving electrical machine 18, windscreen wiper sheet motor 19 and water spray motor 17.When electric current surpassed a certain limit value, microprocessor sent control command immediately, and the control motor quits work; When electric current is zero, feed back to microprocessor immediately, microprocessor coding back sends by the CAN bus, and control is reported to the police accordingly.Microprocessor pick-up transducers signal, when rain hour, the light quantity that electro-optical tubes receives is more, the voltage of generation is bigger; When rain was big, the light quantity that electro-optical tubes receives was less, and the voltage of generation is less.Set two threshold voltage V1, V2, V1<V2, when the electro-optical tubes voltage of gathering during greater than V2, microprocessor sends control command, and the control windscreen wiper is intermittently scraped; When the electro-optical tubes voltage of gathering greater than V1 during less than V2, control windscreen wiper low speed is scraped; When the electro-optical tubes voltage of gathering during less than V1, the control windscreen wiper is scraped at a high speed.For making wiper playback, during each halt instruction of carrying out windscreen wiper, collection position dish information at first, when the position dish was in gap position, the open contact closure of control relay immediately made the rain shaving electrical machine short circuit and stopping-down rapidly.
Shown in Fig. 6,7: embodiment 3: intelligent head light
As shown in Figure 6: comprise intelligent controller 21, CAN_H, CAN_L network-bus, country beam 22, passing light 23, fog lamp 24, steering indicating light 25, side-marker lamp 26; CAN_H, CAN_L network-bus are connected with country beam 22, passing light 23, fog lamp 24, steering indicating light 25, side-marker lamp 26 by intelligent controller 21.Intelligent controller 21 is embedded into head light inside, receive the information on CAN_H, the CAN_L, send control corresponding instruction, control country beam 22, passing light 23, fog lamp 24, steering indicating light 25, side-marker lamp's 26 work, and the message feedback of gathering each light is to the CAN network.Make whole smart group run the outside control conection in pass jointly and have only two network data transmission lines of CAN_H, CAN_L.
As shown in Figure 7: intelligent controller 21 comprises microprocessor, protection and memory circuit, CAN datel circuit, drive controlling and detection reactive circuit and actr; protection and memory circuit and microprocessor are interconnected, CAN datel circuit and microprocessor are interconnected, microprocessor by interconnected drive controlling with detect reactive circuit and link to each other with actr.The SP_CAN Data Transport Protocol is deferred in the control information of intelligent headlight, through sending on the CAN bus behind the coding, carry out data transmission by the CAN datel circuit, after respective microprocessor receives this information, at first decoding, processing execution control corresponding instruction then drives country beam 22, passing light 23, fog lamp 24, steering indicating light 25, side-marker lamp 26.And every 30 seconds by detecting the working current that reactive circuit detects the light of being opened, monitor their working condition.When electric current surpassed a certain limit value, microprocessor sent control command immediately, and the light that control is opened quits work; When electric current is zero, feed back to microprocessor immediately, microprocessor coding back sends by the CAN bus, controls corresponding warning intelligent controller and carries out the fault demonstration.When detecting a certain street lamp optical link short circuit, intelligent controller is controlled outage immediately, deactivates, and sends by the CAN bus, controls corresponding warning intelligent controller and carries out fault and show.
Shown in Fig. 8,9: embodiment 4: intelligent air condition
As shown in Figure 8: comprise that intelligent controller 27, blower motor 28, air conditioner heat radiator fan 29, inside and outside autogenous cutting change motor 30, air-conditioning compressor magnetic clutch 31, CAN_H, CAN_L network-bus; CAN_H, CAN_L network-bus by intelligent controller 27 change motor 30 with blower motor 28, air conditioner heat radiator fan 29, inside and outside autogenous cutting, air-conditioning compressor magnetic clutch 31 is connected.Intelligent controller 27 is embedded into air-conditioning inside, obtains control information and sensor information by the CAN bus network, and handles the back in conjunction with the sensor signal of gathering and carry out the control corresponding instruction, comes the corresponding actr action of drive controlling by Drive and Control Circuit.Make whole intelligent air condition external control wiring have only two network data transmission lines of CAN_H, CAN_L.
As shown in Figure 9: intelligent controller 27 comprises microprocessor, collecting sensor signal circuit, protection and memory circuit, sensor signal, CAN datel circuit, Drive and Control Circuit, detection reactive circuit and actr; the collecting sensor signal circuit links to each other with microprocessor; protection and memory circuit and microprocessor are interconnected; sensor signal links to each other with the CAN datel circuit; CAN datel circuit and microprocessor are interconnected; microprocessor links to each other with actr by Drive and Control Circuit, and actr links to each other with microprocessor by detecting reactive circuit.Control information and sensor information to intelligent air condition are deferred to SP_CAN network data transmission agreement, through sending on the CAN bus behind the coding, carry out data transmission by the CAN datel circuit, after respective microprocessor receives this information, at first decoding, processing execution control corresponding instruction then drives blower motor 28, air conditioner heat radiator fan 29, inside and outside autogenous cutting and changes motor 30,31 work of air-conditioning compressor magnetic clutch.Microprocessor analysis is handled engine rotational speed signal and the vehicle interior temperature signal that the CAN bus network transmits, and just allows starting of air conditioner work when having engine speed and vehicle interior temperature greater than design temperature.The Engine Coolant Temperature signal that microprocessor transmits according to the CAN bus network, transmitting set load signal and power supply voltage signal; when Engine Coolant Temperature is higher than the too big or power line voltage of set-point temperature or engine load less than 13 volts; the automatic guidance air-conditioning is closed; to alleviate engine load, realize intelligent protection function.And, monitor their working condition every 30 seconds working currents by the detection reactive circuit.When electric current surpassed a certain limit value, microprocessor sent control command immediately, and the control actr quits work; When electric current is zero, feed back to microprocessor immediately, microprocessor coding back sends by the CAN bus, controls corresponding warning intelligent controller and carries out the fault demonstration.
This intelligent air condition has two kinds of mode of operations, and a kind of is manual master mode, and another kind is an automatic control mode;
Manual master mode:
Manual air-conditioning master cock is arranged in the car, temperature is provided with knob, the blowing engine air quantity is provided with knob, and these information are followed SP_CAN network data transmission agreement, sends on the CAN bus network, after microprocessor receives these information, in conjunction with A/C pressure sensor, the vehicle interior temperature sensor information of gathering, and, carry out comprehensive treatment by the engine rotational speed signal that the CAN bus network transmits, and control corresponding actr work, reach the effect of artificial setting.
Automatic control mode:
Automatic air condition master cock information sends on the CAN bus network, after microprocessor receives information, in conjunction with the A/C pressure sensor of gathering, sunshine opto-electronic pickup, vehicle interior temperature sensor, the outer temperature sensor information of car, and the engine rotational speed signal that transmits by the CAN bus network, MAP figure according to pre-depositing tables look-up, and finds out automatically to make the people feel comfortable state, and control corresponding actr work, air-conditioning is automatically operated under this state.
Working process:
Each intelligent controller that is connected on the CAN_BUS network all detects the information that transmits on the CAN bus in scanning at any time, if not the information that this intelligent controller needs continues scanning detection information.If the information that this intelligent controller needs is after the microprocessor processes or control corresponding actr action; Or gather corresponding switching value or analog quantity state, and send to behind the coding on the CAN bus, by the CAN bus transfer, the corresponding actr action of control behind the corresponding intelligent controller receiving control information.Be regardless of the principal and subordinate between each intelligent controller, be how main formula mode of operation, promptly each intelligent controller both can obtain control command from the vehicle-mounted control network, also information can be sent on the vehicle-mounted control network.When a plurality of microprocessors sent information simultaneously on the CAN bus network, the elder generation that priority is high was processed.The microprocessor of intelligent controller detected the working current of actr every 30 seconds, monitor their working condition.When occurring opening circuit, stop immediately; When short circuit occurring, feed back to microprocessor immediately, microprocessor coding back sends by the CAN bus, controls corresponding warning intelligent controller and carries out the fault demonstration.After microprocessor was handled the sensor information intellectual analysis, automatic guidance was carried out corresponding action, and stops automatically, made the car electrics parts intelligent more.