[summary of the invention]
The object of the present invention is to provide a kind of detection diagnostic system for vehicle without split-up, its highly versatile, cost is low, both can carry out analysis-by-synthesis and also can detect diagnosis to automobile electric control system motor car engine.
The object of the present invention is achieved like this, a kind of detection diagnostic system for vehicle without split-up is provided, it comprises the PC main frame, test function message handler and test splice, wherein this PC main frame comprises the application services module, this test function message handler comprises measuring ability microprocessor and signaling interface, wherein this measuring ability microprocessor is connected with this signaling interface with this PC main frame, this test function message handler comprises the functional diagnosis module, this signaling interface is connected with corresponding test splice, to be connected to detected vehicle, obtain diagnostic detection information, after calling this functional diagnosis module and finish information reason via this measuring ability microprocessor, send malfunction and reason that the PC host analysis shows detected vehicle to.
Described functional diagnosis module comprises the functional diagnosis program module and the engine synthetic test program module of various car systems and vehicle; Described signaling interface comprises analog voltage signal test interface, CAN bus logic functional interface and digital voltage signal test interface, this test splice comprises the various universal test joints of engine comprehensive detection joint, CAN bus contact and automobile, and wherein this analog voltage signal test interface, this CAN bus logic functional interface and this digital voltage signal test interface are connected with this measuring ability microprocessor and are connected with this engine comprehensive detection joint, this CAN bus contact and the various universal test joints of this automobile respectively.
Described measuring ability microprocessor is connected with described PC main frame with the usb data information exchange circuit by the usb function processing unit successively.
Described USB information exchange circuit and described usb function processing unit comprise data-signal differential circuit, data decoding/coding circuit, error correction logic circuit, program run storer, data-carrier store and the microprocessor that receives with transmission, this microprocessor is connected with this program run storer, this data-carrier store, this error correction logic circuit, this data decoding/coding circuit by address/data bus, control bus, and this microprocessor also is connected with the data-signal differential circuit that sends with this reception by this data decoding/coding circuit.
Described test function message handler comprises the clock oscillation circuit that is connected with described measuring ability microprocessor, described measuring ability microprocessor is connected with bus controller, described measuring ability microprocessor is connected with address latch by address bus, also by data/address bus and the interconnection of this address latch, described measuring ability microprocessor is connected with data bus driver with the address extension latch by data/address bus, this address latch, address extension latch and data bus driver respectively with the address, data, controlling three buses connects, described usb function processing unit and described test interface and this address, data, control three buses and connect this address, data, control three buses and steering logic, Flash ROM storer and program run fast, the data RAM storer connects.
Described measuring ability microprocessor is CY7C64613-128NC; Comprise oscillography functional program module, communication linker module, information recognition program module, lasting data information exchange, conversion, stored programme module and described functional diagnosis module in the described quick Flash ROM storer.
Described CAN bus logic functional interface is the SJA1000CAN Bus Interface Chip, use bus protocol CAN2.0 serial communication protocol, be connected with described measuring ability message handler by address, data bus, control bus, the transmission/reception serial port by the CAN bus is connected with described CAN bus contact.
Described analog voltage signal test interface comprises successively and obstructs coupling and attenuator circuit, preposition linear amplifier circuit, analog to digital converter, obstruct coupling by this and be connected with described engine comprehensive detection joint with attenuator circuit, pass through address/data bus, control bus, this analog to digital converter directly is connected with described measuring ability microprocessor.
Described digital voltage signal test interface comprises logic glue, this logic glue one end is connected with described measuring ability microprocessor by serial communication line, the other end is connected with the various universal test joints of described automobile in the mode of mechanical bayonet socket, this logic glue comprises impedance matching and level shifting circuit and test pin selection change-over switch, wherein this impedance matching and level shifting circuit are connected with described test function message handler, this test pin selects change-over switch to be connected with described measuring ability microprocessor with this impedance matching and level shifting circuit respectively, and stitch of corresponding standard mechanical bayonet socket is provided with the test pin that cooperates with it on it.
Described PC main frame comprises computing machine and the USB Root Hub that is connected with this computing machine, this USB Root Hub is connected with described usb data information exchange circuit by usb bus, and described application services module comprises test control supervisor module, waveform digital processing oscillography program module, tabulation service routine module, data stream analysis-by-synthesis program module and application data library module.
Compared with prior art, in detection diagnostic system for vehicle without split-up of the present invention, this PC main frame comprises the application services module, this test function message handler comprises measuring ability microprocessor and signaling interface, wherein this measuring ability microprocessor is connected with this signaling interface with this PC main frame, this test function message handler comprises the functional diagnosis module, this signaling interface is connected with corresponding test splice, to be connected to detected vehicle, obtain diagnostic detection information, after calling this functional diagnosis module and finish information processing via this measuring ability microprocessor, send malfunction and reason that the PC host analysis shows detected vehicle to.Therefore, the versatility of detection diagnostic system for vehicle without split-up of the present invention is strengthened, and cost is low, and both can carry out the integration test analysis to motor car engine, also can detect diagnosis to automobile electric control system.
[embodiment]
The present invention is described in detail below in conjunction with accompanying drawing.
As shown in Figure 1, detection diagnostic system for vehicle without split-up 10 of the present invention comprises PC main frame 11, test function message handler 12 and test splice 13.Wherein this test splice 13 is connected with this PC main frame 11 by this test function message handler 12.This PC main frame 11 comprises application services module 50 (as shown in figure 10), in the present embodiment, this application services module 50 comprises test control supervisor module, waveform digital processing oscillography program module, tabulation service routine module, data stream analysis-by-synthesis program module and application data library module etc.This test function message handler 12 comprises measuring ability microprocessor 121 and the signaling interface 122 that is connected with this measuring ability microprocessor 121, and this measuring ability microprocessor 121 has the functional diagnosis module.Wherein this signaling interface 122 by corresponding test splice 13 be connected by the corresponding interface of diagnostic detection automobile, obtain the diagnostic detection signal, after calling this functional diagnosis module and finish information processing via this measuring ability microprocessor 121, and send data message to PC main frame 11, by application services module 50, can handle the information that this measuring ability microprocessor 121 has been finished after the signal Processing, dynamically send out and analyse malfunction and the reason that shows detected vehicle, below describe in detail.
In the present embodiment, this functional diagnosis module comprises the functional diagnosis program module and the engine synthetic test program module of various car systems and vehicle, below describes in detail.This signaling interface 122 comprises analog voltage signal test interface 1221, CAN bus logic functional interface 1222 and digital voltage signal test interface 1223.This test splice 13 comprises the various universal test joints 133 of engine comprehensive detection joint 131, CAN bus contact 132 and automobile.Wherein this analog voltage signal test interface 1221, this CAN bus logic functional interface 1222 and this digital voltage signal test interface 1223 are connected with this measuring ability microprocessor 121 and are connected with this engine comprehensive detection joint 131, this CAN bus contact 132 and the various universal test joints 133 of this automobile respectively, below describe in detail.Various universal test joint 133 public affairs of engine comprehensive detection joint 131, CAN bus contact 132 and the automobile of this test splice 13 are not used for being connected with the corresponding corresponding interface by the diagnostic detection automobile, obtain the diagnostic detection signal of motor car engine or automobile electronic control unit (ECU) etc.
In the present embodiment, this PC main frame 11 comprises computing machine 111 and coupled main frame Root Hub 112.This USB Root Hub 112 is supported USB interface, is connected with usb data information exchange circuit 124 by usb bus.This measuring ability microprocessor 121 is connected with the usb host Root Hub 112 of computing machine 111 with usb data information exchange circuit 124 by usb function processing unit 123 successively, thereby is connected to computing machine 111.
As shown in Figure 2, this test function message handler 12 comprises measuring ability microprocessor 121, and this measuring ability microprocessor 121 is connected with clock oscillation circuit 1216, thereby allows these measuring ability microprocessor 121 work.This measuring ability microprocessor 121 is connected with bus controller 125, is used to produce control bus.This measuring ability microprocessor 121 is connected with address latch 126 with A16~AD19 address, data line by AD0~AD15.This measuring ability microprocessor 121 is connected with data bus driver 128 with address extension latch 127 by AD0~AD15 address, data line, this address latch 126 and address extension latch 127 output calculated address buses.These data bus driver 128 outputs form data bus.In addition, this usb function processing unit 123, steering logic 1214, test interface 122, quick Flash ROM storer 1212 and program run, data RAM storer 1213 all are connected with address, data, control three buses 1215, thereby realize the processing capacity of this test function message handler 12.As optimal way, this measuring ability microprocessor 121 is CY7C64613-128NC.This quick Flash ROM storer 1212 comprises this engine synthetic test program module, the functional diagnosis program module of these various car systems and vehicle, the oscillography functional program module, communication linker module, information recognition program module and lasting data information exchange, conversion, the stored programme module, when tested object is a certain vehicle, can be on the display screen of computing machine 111 display menu, come the prompting operation process and show help information, therefore invention detection diagnostic system for vehicle without split-up 10 can carry out diagnostic detection to all kinds of vehicles of multiple car system, below describes in detail.
In the present embodiment, usb data information exchange circuit 124 is directly connected to differential data lines in the usb bus 113.This USB information exchange circuit 124 and this usb function processing unit 123 comprise data-signal differential circuit, data decoding/coding circuit, error correction logic circuit, program run storer, data-carrier store and the microprocessor that receives with transmission.Wherein this microprocessor is connected with this program run storer, this data-carrier store, this error correction logic circuit, this data decoding/coding circuit by address/data bus, control bus; This microprocessor also is connected with the data-signal differential circuit that sends with this reception by this data decoding/coding circuit.In usb function processing unit 123, store the watchdog routine of usb data transmission, in order to finish the serial data communication coding/decoding, functions such as position filling.
As shown in Figure 3, in the present embodiment, this CAN bus logic functional interface 1222 comprises that CAN bus interface steering logic 21, message frame send and reception buffer 22, information bit processor 23 and CAN bus transmission/receive logic 24.Wherein this CAN bus interface steering logic 21 is connected with the measuring ability microprocessor 121 of this test function message handler 12.This message frame sends and is connected with this test function microprocessor 121 by data bus 212 with reception buffer 22, this information bit processor 23 is by control line 211 and receive/send out data line 231,232,233,234 are connected with reception buffer 22 with this message frame transmission with this CAN bus transmission/receive logic 24 respectively; This information bit processor 23 also is connected with CAN bus interface steering logic 21 by control bus 211.This CAN bus transmission/receive logic 24 is by sending (TX)/receive (RX) interface and connect this CAN bus contact 132 and being connected with ECU (Electrical Control Unit) on the detected automobile, thereby realize the message exchange of the ECU (Electrical Control Unit) of diagnostic system 10 and automobile, being responsible for finishing the frame message handles, error-detecting, message checking, message divides frame, reply and message in data-signal with logic functions such as non-return-to-zero (NRZ) mode codings.Whereby, this CAN bus logic functional interface 1222 will pass to above-mentioned address, data, control three buses 1215 from the diagnostic detection signal that CAN bus contact 132 transmits.As optimal way, this CAN bus logic functional interface 1222 is the SJA1000CAN Bus Interface Chip, use bus protocol CAN2.0 serial communication protocol, be connected with this measuring ability message handler 12 by address, data, control three buses 1215, the transmission/reception serial port by the CAN bus is connected with CAN bus contact 132.
As shown in Figure 4, this analog voltage signal detection interface 1221 comprises impedance matching and parts such as attenuator circuit 31, preposition linear amplifier circuit 32 and analog to digital converter 33.The electric current that to gather from detected automobile engine system of this analog converter 33 wherein, voltage continually varying analog quantity convert numerical information to and send this measuring ability microprocessor 121 to and finish signal Processing.In the present embodiment, adopt the analog to digital converter 33 of quick 12 successive approximations of AD574.This analog to digital converter 33 is connected with this measuring ability microprocessor 121 by address, data, control bus 1215.The analog voltage signal input port of this analog to digital converter 33 is connected with this preposition linear amplifier circuit 32.This preposition linear amplifier circuit 32 obstructs coupling with this and attenuator circuit 31 is connected.The engine integration test joint 131 of the input port of this impedance matching and attenuator circuit 31 and tested automobile (as signal folder, current clamp, test lead etc.) connects.Whereby, this analog voltage signal detects interface 1221 will gather the simulating signal that obtains from engine comprehensive detection joint 131, convert digital signal to through analog to digital converter 33, be sent to this measuring ability microprocessor 121 by the data bus in the bus 1215 again.
Fig. 5 and Figure 6 shows that this automobile is various by a kind of test splices 40 in the test splice 133.This test splice 40 comprises lever 41, is installed in the interface logic 44 in this operation journey handle 41.One end of this lever 41 is provided with the electrical connector 42 corresponding with tested vehicle diagnosis socket, and the other end is plugged into this digital voltage signal test interface 1223 in the mode of standard mechanical bayonet socket 43 by serial communication line.Be installed in the logic glue 44 in the lever 41, finish the interface impedance coupling, the data signal levels conversion, detect different ECU (Electrical Control Unit), need to carry out corresponding diagnosis pin and select functions such as switching, realize information transmission between the ECU (Electrical Control Unit) of detection diagnostic system for vehicle without split-up 10 of the present invention and automobile.Only need to adopt different electrical connectors 42 to get final product for different car systems or vehicle, and needn't change standard mechanical bayonet socket 43 according to the different diagnostic socket of tested vehicle.
As shown in Figure 7, in the present embodiment, this logic glue 44 comprises impedance matching and level shifting circuit 441 and test pin selection change-over switch 442, wherein this impedance matching and level shifting circuit 441 are connected with test function message handler 12, this test pin selects change-over switch 442 to be connected with test function message handler 12 with impedance matching and level shifting circuit 441, stitch 431 of corresponding standard mechanical bayonet socket 43 is provided with test pin 443 on it, between this test pin 443 and stitch 431, be connected, thereby finish the diagnostic detection of automobile difference ECU (Electrical Control Unit) by lead.
Fig. 8 and Figure 9 shows that a kind of engine comprehensive detection joint 131, this engine comprehensive detection joint 131 is provided with the standard electrical joint 1311 of seven pins at secondary signal line one end, this electrical connector 1311 is plugged into this analog voltage signal test interface 1221, the other end is connected with secondary signal folder 1312, this signal folder 1312 is clipped on the height of center line ball, be applicable to the automobile of ignition coil external DI type, be used for the secondary waveform and the data of test point ignition system.The test difference in functionality need adopt different signal folders, or current clamp, test lead etc.
The course of work of detection diagnostic system for vehicle without split-up 10 of the present invention is as follows: the first step: before diagnostic detection, and should be earlier according to detected object.Specifically, if the motor car engine integration test is analyzed, then need select corresponding signal folder 1312 or current clamp, test lead etc., and be connected on the tested vehicle engine room respective detection node, and the electrical connector 1311 of engine comprehensive detection joint 131 is connected to analog voltage signal test interface 1221; If the testing automobile electric-control system then selects corresponding electrical connector 42 (as shown in Figure 5 and Figure 6) to insert in the diagnose connector of automobile.
Second step: give PC main frame 11 energized, after computing machine 111 is connected working power, on the display screen of computing machine 111, menu and operation prompt information will occur.
The 3rd step: 111 mouse or keyboard use a computer, according to operation indicating choice menus project, enter corresponding content measurement, if the motor car engine integration test is analyzed, can gather analog information from the motor car engine detection node, obtain continually varying simulation value such as firing system high-low pressure data, waveform signal, the duration of ignition, dwell angle, rotating speed, vacuum tightness, waveform sensor signal, fuel injection pulse waveform signal, solenoid closure angle, air-fuel ratio and waveform or the like; If the testing automobile electric-control system can read corresponding information data from the ECU (Electrical Control Unit) of each system of automobile, thus the fault of definite tested automobile.
Therefore, this detection diagnostic system for vehicle without split-up 10 both can carry out analysis-by-synthesis and also can detect diagnosis to automobile electric control system motor car engine.
Idiographic flow is as follows, and as shown in figure 10, this detection diagnostic system for vehicle without split-up 10 is opened back 51, and application services module 50 starts, and at first finishes timer conter control and sets 52 with mode register setting and initial value.Carry out the data transmission bauds mode then and set, interrupt the On/Off setting and be connected time numerical digit zero clearing 53 with communication, select to test the pin 54 of connection cable, the interrupt flag bit initialization 55 of Frame transmission/reception.Send cue 56 to automobile electronic control unit then, to parameter setting, the receipts/send out mode bit zero clearing, frame length setting, transmit frame first address and wait acknowledge time limit to set 57 that send Frame.Then send communication and connect message data frame 58, judge whether then to receive and reply 59, reply if receive, then judge response message frame whether correct 510, if it is correct, then on the display of PC main frame 11 or screen, show and to select test function 511, wherein this test function comprises and reads the automobile computer version information, the vehicle failure sign indicating number, remove the vehicle failure sign indicating number, the car data current test, the final element test, self-adaptation adjustment and coupling etc., after a selected test event, this PC main frame 11 can directly call the data of automobile electronic control unit inside, thereby on display or screen, show dynamic result, thereby finish the testing and diagnosing operation.If the response message frame is incorrect, communication connects the number of times parameter and adds 1, judge then whether contact number of times parameter surpasses setting value, thereby determine whether to continue communication and connect 513, if do not surpass, then continue contact, turn back to the step of selecting the pin 54 that the test connecting line pulls, repeat described follow-up flow process then; If surpass to set contact number of times parameter, show on display or screen that then can't set up communication connects 514, be that prompting is returned by " withdrawing from " key and please be investigated the cause or resurvey once at display or screen simultaneously.
Reply when not receiving, then judge whether to surpass 515, if overtime, contact number of times parameter adds one, carries out aforesaid down-stream flow process then.If do not surpass, then carry out time delay 516, behind the prolongation certain hour, judge whether once more to receive to reply 59, carry out then as above-mentioned down-stream flow process.
As from the foregoing, this detection diagnostic system for vehicle without split-up 10 can detect the fault of the various vehicles of diagnosis, car system, and only uses a detection diagnostic system for vehicle without split-up 10, therefore, its highly versatile, cost is low.
Although by above embodiment the present invention is disclosed, scope of the present invention is not limited thereto, do not departing under the condition of the present invention design, more than each element can understand similar or equivalent element is replaced with affiliated technical field personnel.