Car data interface extending device
Technical field
The utility model relates to a kind of car data interface extending device.
Background technology
OBD is the abbreviation of English On-Board Diagnostic, and translator of Chinese is " onboard diagnostic system ".It is ingredient very important in car data interface extending device.
From the eighties in 20th century, each large automobile manufacturing enterprises such as U.S., day, Europe start to be equipped with OBD on the electro jet car of its production, and the OBD at initial stage does not have self-checking function.The OBD-II more advanced than OBD produced in the mid-90 in 20th century, AIAE American institute of automobile engineers (SAE) has been formulated a set of standard criterion, require each automobile manufacturing enterprise to provide unified diagnostic mode according to the standard of OBD-II, in latter stage 90 year 20th century, the automobile that enters North America market all arranges OBD according to new standard.
OBD-II and former all onboard diagnostic system differences are strict discharge specific aim, and its essence performance is exactly by the power of monitoring automobile and the discharge that emission control systems is monitored automobile.When power or the emission control systems of automobile breaks down, likely cause carbon monoxide (CO), hydrocarbon (HC), oxynitrides or fuel evaporation contaminant capacity to surpass the standard of setting, trouble light will be lighted warning.
The feature of OBD-II: 1, unify car type diagnose connector and be shaped as 16PIN; 2, on, there is numerical analysis data transmission function (DATA LINK CONNECTOR is called for short DLC); 3, unify each car type same fault code and meaning; 4, there is drive recorder function; 5, have and again show memory diagnostic trouble code function; 6, have and can directly remove diagnostic trouble code function by instrument.
Although OBD-II is very effective to monitoring motor vehicle emission, driver accepts warning entirely with " conscious ".For this reason, the OBD-III more advanced than OBD-II produced.OBD-III fundamental purpose is that the detection, the maintenance and management that make automobile are integrated, to meet the requirement of environmental protection.OBD-III system can enter respectively in the system ECU such as engine, wheel box, ABS and go read failure code and other related data, and utilize small size communication system, such as GPS navigation system or communication by information automatic announcement administrative authoritys such as the identity code of vehicle, diagnostic trouble code and positions, administrative authority sends instruction according to the grade of this vehicular discharge problem to it, comprise the suggestion of where keeping in repair, solve the time limit of emission problem etc., also can send forbidden instruction to exceeding the violator's in time limit vehicle.Therefore, OBD-III system can not only give a warning to driver to vehicular discharge problem, and can also punish violator.The application of OBD system is the once innovation of emission standard, and the display of its function is very important for the control of vehicular discharge.
On automobile, be generally only equipped with an OBD DIU data interface unit at present, in the time of the external several terminal peripheral hardware of needs, cannot realize; Some automobile is equipped with several OBD data-interface expanding units, but when a plurality of interfaces are used simultaneously, produces and disturb or conflict.
Therefore, need a kind of automobile electronic system that makes badly and can connect a plurality of exterior terminal equipment simultaneously, realize the car data interface extending device that the multichannel of data gathers simultaneously.
Utility model content
First object of the present utility model is to provide a kind of automobile electronic system that makes can connect a plurality of exterior terminal equipment simultaneously, realizes the car data interface extending device that the multichannel of data gathers simultaneously.
In order to realize above-mentioned first object, therefore the technical scheme that the utility model provides is: provide a kind of automobile according to interface extending device, comprise: by outside OBD data-interface expanding unit, be connected with former car OBD DIU data interface unit, described outside OBD data-interface expanding unit comprises power supply, Power Management Unit, input port, data exchange circuit and some output ports, described power supply accesses and powers to described data exchange circuit and output port by described Power Management Unit together with described input port, described input port carries out data interaction by described data exchange circuit and described output port.
Described data exchange circuit comprises embedded controller, matrix switch circuit and CAN bus repeaters, described input port and output port are all connected with described CAN bus repeaters, described CAN bus repeaters is also connected with described embedded controller, and described embedded controller carries out data interaction by described matrix switch circuit by described input port and output port described in any.
Described car data interface extending device also comprises input stube cable and output stube cable, described former car OBD DIU data interface unit is connected with described outside OBD data-interface expanding unit by described input stube cable, and described outside OBD data-interface expanding unit is connected with user OBD peripheral hardware by output stube cable.
Described embedded controller comprises:
Scanning element, described scanning element scans one by one to the interrupt request of output port described in each;
Judging unit, described judging unit judges whether the described output port of current scanning has interrupt request, if so, by described input port by switch unit with have the described output port of interrupt request to carry out data interaction, if not, continue to carry out current action;
Switch unit, described judging unit judges when described output port has interrupt request, by described matrix switch circuit and CAN bus repeaters, described input port is switched to there being the described output port of interrupt request and carries out data interaction.
Described judging unit also comprises judgement has the interruption of the described output port of interrupt request whether to finish, if not, continue to carry out current action, if, by described switch unit, discharge described matrix switch circuit and CAN bus repeaters, allow described embedded controller reenter scanning mode.
Compared with prior art, the utility model car data expanding unit, by outside OBD interface extending device, realizing former car OBD DIU data interface unit is connected with a plurality of output ports, allow described input port carry out data interaction by described data exchange circuit and a plurality of described output port, the multichannel that has realized OBD data gathers simultaneously, and it is online to connect a plurality of OBD terminals, can realize the multiple online service demands such as remote online fault diagnosis, online vehicle data analysis simultaneously.
By following description also by reference to the accompanying drawings, it is more clear that the utility model will become, and these accompanying drawings are used for explaining embodiment of the present utility model.
Accompanying drawing explanation
Fig. 1 is that the utility model car data interface extending device is used schematic diagram.
Fig. 2 is the structural representation of an embodiment of the outside OBD data-interface of the utility model expanding unit.Fig. 3 is the internal element figure of an embodiment of the utility model car data interface extending device.
Fig. 4 is the internal element figure of the embedded controller of car data interface extending device as shown in Figure 4.
Fig. 5 is for utilizing car data interface extending device as shown in Figure 4 to realize the schematic diagram of an embodiment of the method for data interaction.
Embodiment
With reference now to accompanying drawing, describe embodiment of the present utility model, in accompanying drawing, similarly element numbers represents similar element.As mentioned above, as shown in Fig. 1~5, the utility model provides a kind of car data interface extending device 100, comprise: by outside OBD data-interface expanding unit 100b, be connected with former car OBD DIU data interface unit 100a, embodiment has as shown in Figure 3 provided three output ports, described outside OBD data-interface expanding unit bag 100b comprises power supply 10, Power Management Unit 20, input port 30, data exchange circuit 40 and output port 51, 52, 53, described power supply 10 access together with described input port 30 and by described Power Management Unit 20 to described data exchange circuit 40 and output port 51, 52, 53 power supplies, described input port 30 is by described data exchange circuit 40 and described output port 51, 52, 53 carry out data interaction.
As shown in Figure 3, described data exchange circuit 40 comprises embedded controller 41, matrix switch circuit 42 and CAN bus repeaters 43, described input port 30 and output port 51,52,53 are all connected with described CAN bus repeaters 43, described CAN bus repeaters 43 is also connected with described embedded controller 41, and described embedded controller 41 carries out data interaction by described matrix switch circuit 42 by described input port 30 and described output port 51,52,53.
The structural representation that is illustrated in figure 2 outside OBD data-interface expanding unit 100b, Figure 2 shows that and have an input port, and the outside OBD data-interface expanding unit 100b of four output ports.
In embodiment as shown in Figure 1, described car data interface extending device 100 also comprises input stube cable 60 and output stube cable 70, described outside OBD data-interface expanding unit bag 100b, there are 4 output ports, by described output cable 2, be connected with user OBD peripheral hardware A, B, C, D respectively.As shown in Figure 4, described embedded controller 41 comprises:
Scanning element 411, described scanning element 411 scans one by one to the interrupt request of output port described in each 51,52,53;
Judging unit 412, described judging unit 412 judges whether the described output port 51,52,5 of current scanning has interrupt request, if so, by described input port 30 by switch unit with have the described output port of interrupt request to carry out data interaction, if not, continue to carry out current action;
Switch unit 413, when the described output port of described judging unit 413 judgement has interrupt request, is switched to described input port 30 with there being the described output port of interrupt request and carries out data interaction by described matrix switch circuit 42 and CAN bus repeaters 43.
Described judging unit 413 also comprises judgement has the interruption of the described output port of interrupt request whether to finish, if not, continue to carry out current action, if, by described switch unit 413, discharge described matrix switch circuit 42 and CAN bus repeaters 43, allow described embedded controller 41 reenter scanning mode.
As shown in Figure 5, utilize the method for a kind of data interaction of the utility model car data interface extending device realization, it should be noted that, in embodiment as shown in Figure 5, described outside OBD data-interface expanding unit bag 100b used is for having three output ports, and these three output ports identify with 1,2,3 respectively, and method comprises the steps: it is first to start to start, allow system carry out initialization, important step comprises:
Scanning step, first to scanning one by one the interrupt request of output port 1,2,3;
Determining step, judges whether the output port of current scanning has interrupt request, if so, by described input port by switch unit with have the described output port of interrupt request to carry out data interaction, if not, continue to carry out current action;
Switch step, judges when described output port 1 has interrupt request, by described matrix switch circuit and CAN bus repeaters, described input port is switched to there being the described output port of interrupt request and carries out data interaction.
Described determining step also comprises judgement has the interruption of the described output port of interrupt request whether to finish, if not, continue to carry out current action, if, by described switch unit, discharge described matrix switch circuit and CAN bus repeaters, allow described embedded controller reenter scanning mode.
In conjunction with Fig. 1~5, the utility model car data expanding unit, by outside OBD data-interface expanding unit, realizing former car OBD DIU data interface unit is connected with a plurality of output ports, allow described input port carry out data interaction by described data exchange circuit and a plurality of described output port, the multichannel that has realized OBD data gathers simultaneously, and it is online to connect a plurality of OBD terminals, can realize the multiple online service demands such as remote online fault diagnosis, online vehicle data analysis simultaneously.
Above disclosed is only preferred embodiment of the present utility model, certainly can not limit with this interest field of the utility model, and the equivalent variations of therefore doing according to the utility model claim, still belongs to the scope that the utility model is contained.