CN113297120B - Vehicle communication interface conversion device and vehicle diagnosis system - Google Patents

Vehicle communication interface conversion device and vehicle diagnosis system Download PDF

Info

Publication number
CN113297120B
CN113297120B CN202110577282.1A CN202110577282A CN113297120B CN 113297120 B CN113297120 B CN 113297120B CN 202110577282 A CN202110577282 A CN 202110577282A CN 113297120 B CN113297120 B CN 113297120B
Authority
CN
China
Prior art keywords
input
output
switching unit
channel
pin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110577282.1A
Other languages
Chinese (zh)
Other versions
CN113297120A (en
Inventor
王维林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Autel Intelligent Technology Corp Ltd
Original Assignee
Autel Intelligent Technology Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Autel Intelligent Technology Corp Ltd filed Critical Autel Intelligent Technology Corp Ltd
Priority to CN202110577282.1A priority Critical patent/CN113297120B/en
Publication of CN113297120A publication Critical patent/CN113297120A/en
Application granted granted Critical
Publication of CN113297120B publication Critical patent/CN113297120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4009Coupling between buses with data restructuring
    • G06F13/4018Coupling between buses with data restructuring with data-width conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Small-Scale Networks (AREA)

Abstract

The embodiment of the invention relates to the technical field of vehicle diagnosis, and discloses a vehicle communication interface conversion device and a vehicle diagnosis system. The vehicle communication interface conversion device comprises an input interface, a plurality of input switching units, a plurality of output switching units, an output interface and a control unit, wherein the input interface comprises a plurality of input pins, the output interface comprises a plurality of output pins, the control unit controls the first input end and the second output end of the input switching unit to be communicated, the third input end and the third output end of the output switching unit are communicated, the second output end of the input switching unit is communicated with the third input end of the output switching unit, and the input pins are connected to the output pins through second channels. The embodiment of the invention can support the line switching between the vehicle and the vehicle diagnosis equipment under the non-standard PIN configuration.

Description

Vehicle communication interface conversion device and vehicle diagnosis system
Technical Field
The embodiment of the invention relates to the technical field of vehicle diagnosis, in particular to a vehicle communication interface conversion device and a vehicle diagnosis system.
Background
With the development of automobile technology, in order to standardize fault diagnosis related to emission and drivability of automobiles, OBD (On-Board Diagnostics) is widely used. The diagnosis interface corresponding to the OBD equipment on the automobile is a 16-pin automobile OBD interface and is used for realizing diagnosis and flash in the automobile research and development and maintenance processes. OBD I was the standard in the 80 s, and OBD II was born in the 90 s. In connection with OBD II diagnostic communication, SAE J1962 (american society of automotive engineers standards) defines usage rules of relevant PIN PINs (communication PINs), such as PIN6/14 for CAN (Controller Area Network) communication, PIN 2/10 for PWM (Pulse width modulation) communication, and PIN 7/15 for K-Line communication.
In the process of implementing the invention, the inventor finds that the prior art has the following technical problems: car manufacturers may customize the configuration of PIN PINs when making actual OBD II communication connections, for example using PINs 3/11 and 12/13 as high speed CAN communications. For some common PIN combination configurations, VCI (Vehicle Communication Interface) of most automobile manufacturers is basically supported. However, for a PIN combination configuration that is not commonly used, there may be VCIs from the vehicle manufacturer that are not supported, such that the VCIs may not be able to communicate with the communication lines supported by the vehicle.
Disclosure of Invention
In view of the above problems, embodiments of the present invention provide a vehicle communication interface conversion apparatus and a vehicle diagnostic system, which are used to solve the technical problem in the prior art that a vehicle cannot directly communicate with a vehicle diagnostic device under a non-standard PIN configuration.
According to an aspect of an embodiment of the present invention, there is provided a vehicle communication interface conversion apparatus including an input interface, a plurality of input switching units, a plurality of output switching units, an output interface, and a control unit, wherein:
the input interface comprises a plurality of input pins, each input switching unit comprises a first input end, a first output end and a second output end, each output switching unit comprises a second input end, a third input end and a third output end, the output interface comprises a plurality of output pins, at least one input pin is connected to the first input end of the input switching unit corresponding to the input pin, at least one output pin is connected to the third output end of the output switching unit corresponding to the output pin, the first output end of the input switching unit is connected with the second input end of the output switching unit to form a first channel, and the second output end of the input switching unit is connected with the third input end of the output switching unit to form a second channel;
in a first situation, the control unit is used for controlling the first input end of the input switching unit to be communicated with the first output end, and controlling the second input end of the output switching unit to be communicated with the third output end, so that the input pin is connected to the output pin through the first channel;
in a second situation, the control unit is configured to control the first input end of the input switching unit to communicate with the second output end, control the third input end of the output switching unit to communicate with the third output end, and control the second output end of the input switching unit to communicate with the third input end of the output switching unit, so that the input pin is connected to the output pin through the second channel.
In an optional manner, in the first case, a first input pin of the plurality of input pins is communicated with a first output pin of the plurality of output pins, wherein the first output pin is a preset fixed output pin;
in the second case, a first input pin of the plurality of input pins is in communication with a second output pin of the plurality of output pins, wherein the second output pin is a variable non-fixed output pin.
In an optional manner, the input switching unit is one or two combinations of a switch circuit and a routing chip, and the output switching unit is one or two combinations of a switch circuit and a routing chip.
In an alternative form, the switching circuit is a relay or a transistor.
In an optional mode, the apparatus further comprises a plurality of sampling units and a plurality of indication units, wherein:
the sampling unit is used for collecting sampling signals input into the switching unit corresponding to the sampling unit and feeding the sampling signals back to the control unit;
the control unit is used for controlling the indicating unit corresponding to the sampling unit to prompt signal existence according to the sampling signal.
In an optional manner, the apparatus further includes a plurality of first input channel switching units, a plurality of second input channel switching units, and a plurality of output channel switching units;
the control unit is further configured to:
controlling the channel switching in the input switching unit so that the input pin is communicated with the first input channel switching unit or the output switching unit through the input switching unit;
controlling channel switching in the first input channel switching unit so that the input switching unit communicates with one of the plurality of second input channel switching units through the first input channel switching unit;
controlling channel switching in the second input channel switching unit so that the output channel switching unit communicates with one of the plurality of first input channel switching units through the second input channel switching unit;
controlling channel switching in the output channel switching unit so that the second input channel switching unit communicates with one of the plurality of output switching units through the output channel switching unit.
In an optional mode, the device further comprises a display unit and an input unit, wherein the display unit is used for displaying the configuration interface converted by the interface, and the input unit is used for inputting configuration parameters;
the control unit is further configured to control channel switching in each of the input switching unit, the first input channel switching unit, the second input channel switching unit, the output channel switching unit, and the output switching unit according to the configuration parameter.
In an optional mode, the control unit is a jumper, and the jumper comprises a first end and a second end;
in the second situation, the second output end of the input switching unit is connected with the first end of the jumper, and the third input end of the output switching unit is connected with the second end of the jumper, so that the second output end of the input switching unit is communicated with the third input end of the output switching unit.
In an optional mode, the device further comprises a plurality of input jacks and a plurality of output jacks, a first end of the jumper is a first plug, the first plug comprises a first power supply part and a first signal part, a second end of the jumper is a second plug, and the second plug comprises a second power supply part and a second signal part;
in the second situation:
the first plug is inserted into one of the input jacks, the first signal part is connected with the second output end of the input switching unit corresponding to the input jack, the first power supply part supplies power to the input switching unit, and the first input end and the second output end of the input switching unit are communicated, so that the signal of the input switching unit is output from the second output end and is transmitted to the jumper;
the second plug is connected with one of the output jacks in an inserting mode, the second signal portion is connected with the third input end of the output switching unit corresponding to the output jack, the second power supply portion supplies power to the output switching unit, and the third input end of the output switching unit is communicated with the third output end, so that the output switching unit receives signals transmitted to the third input end through the jumper wire and outputs the signals from the third output end.
According to another aspect of the embodiments of the present invention, there is provided a vehicle diagnosis system, including a vehicle diagnosis device and the vehicle communication interface conversion apparatus as described above, wherein the input interface is configured to interface with an on-board diagnosis system of a vehicle, and the output interface is configured to communicate with the diagnosis interface of the vehicle diagnosis device.
In the embodiment of the invention, the control unit controls the plurality of input switching units and the plurality of output switching units to switch the communication lines between the input pins of the input interface and the output pins of the output interface, and selects the through channel or the routing channel, so that the input pins can be communicated with the default output pins or the input pins can be communicated with the self-defined output pins. Through the line switching, the input of the pins with the non-standard configuration can be switched to the output of the pins with the standard configuration, and the self-defined line sequence of the non-standard communication interface of a vehicle manufacturer can be supported.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and the embodiments of the present invention can be implemented according to the content of the description in order to make the technical means of the embodiments of the present invention more clearly understood, and the detailed description of the present invention is provided below in order to make the foregoing and other objects, features, and advantages of the embodiments of the present invention more clearly understandable.
Drawings
The drawings are only for purposes of illustrating embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a block diagram of a vehicle diagnostic system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an application environment of a vehicle diagnostic system according to an embodiment of the present invention;
fig. 3 is a block diagram of a vehicle diagnostic system according to a second embodiment of the present invention;
FIG. 4 is a schematic diagram of an application environment of a vehicle diagnostic system according to a second embodiment of the present invention;
fig. 5 is a block diagram of a vehicle communication interface conversion apparatus according to a third embodiment of the present invention;
fig. 6 is a block diagram of a vehicle communication interface conversion apparatus according to a fourth embodiment of the present invention;
fig. 7 is a block diagram of a vehicle communication interface conversion apparatus according to a fifth embodiment of the present invention;
fig. 8 is a block diagram of a vehicle communication interface conversion apparatus according to a sixth embodiment of the present invention;
FIG. 9 is a schematic diagram of a circuit switching logic according to an embodiment of the present invention;
FIG. 10 is a schematic diagram of a channel selection according to an embodiment of the present invention;
FIG. 11 is a logic diagram of a channel selection case according to an embodiment of the present invention;
fig. 12 is a block diagram of a vehicle communication interface conversion apparatus according to a seventh embodiment of the present invention;
fig. 13 is a logic diagram of input and output terminals for controlling line switching through a jumper according to an embodiment of the invention.
Reference numerals:
the vehicle diagnosis system 400, the VCI300, the vehicle diagnosis device 200, the vehicle communication interface conversion apparatus 100, the input interface 110, the output interface 120, the input switching unit 130, the output switching unit 140, the control unit 150, the input pin 111, the first input terminal in1, the first output terminal out1, the second output terminal out2, the second input terminal in2, the third input terminal in3, the third output terminal out3, the output pin 121, the sampling unit 160, the indicating unit 170, the first input channel switching unit 131, the second input channel switching unit 132, the output channel switching unit 141, the display unit 180, the input unit 190, the jumper 151, the first end 1511, the second end 1512, the input jack 112, the output jack 122, the first power supply 1511a, the first signal part 1511b, the second power supply 1512a, and the second signal part 1512 b.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein.
The embodiment of the invention provides a switching scheme of an automobile communication interface, which supports line switching under non-standard PIN configuration at a vehicle end during vehicle diagnosis, thereby realizing communication between a vehicle and diagnosis equipment.
In the following embodiments, "plurality" generally means two or more (including two), unless otherwise specified.
Example one
The embodiment of the invention provides a vehicle diagnosis system, fig. 1 is a structural block diagram of the vehicle diagnosis system provided by the embodiment of the invention, and fig. 2 is an application environment schematic diagram of the vehicle diagnosis system provided by the embodiment of the invention. As shown in fig. 1 and 2, the vehicle diagnosis system 400 includes a vehicle diagnosis device 200 and a vehicle communication interface conversion apparatus 100, where the vehicle communication interface conversion apparatus 100 includes an input interface 110 and an output interface 120, the input interface 110 is used for interfacing with a vehicle on-board diagnosis system of a vehicle, the output interface 120 is used for communicating with a diagnosis interface of the vehicle diagnosis device 200, and the communication mode is wired communication or wireless communication, such as WiFi, Bluetooth (Bluetooth), USB, Ethernet (Ethernet) and the like. The vehicle communication interface conversion apparatus 100 may be implemented by means of a junction box.
Example two
Fig. 3 is a block diagram of a vehicle diagnostic system according to a second embodiment of the present invention, and fig. 4 is a schematic diagram of an application environment of the vehicle diagnostic system according to the second embodiment of the present invention. Unlike the embodiment shown in fig. 1-2, in this embodiment, the vehicle diagnostic system 400 further includes a Vehicle Communication Interface (VCI) 300, the output Interface 120 is connected to the VCI300, and the VCI300 communicates with the vehicle diagnostic device 200 in a wired communication or wireless communication manner.
The following further describes a specific implementation of the vehicle communication interface conversion apparatus 100.
EXAMPLE III
A third embodiment of the present invention provides a vehicle communication interface conversion apparatus, and fig. 5 is a block diagram of the vehicle communication interface conversion apparatus provided in the third embodiment of the present invention. As shown in fig. 5, the vehicle communication interface conversion apparatus 100 includes an input interface 110, a plurality of input switching units 130, a plurality of output switching units 140, an output interface 120, and a control unit 150. The input interface 110 includes a plurality of input pins 111, each input switching unit 130 includes a first input terminal in1, a first output terminal out1, and a second output terminal out2, each output switching unit 140 includes a second input terminal in2, a third input terminal in3, and a third output terminal out3, and the output interface 120 includes a plurality of output pins 121. At least one input pin 111 is connected to the first input terminal in1 of the corresponding input switching unit 130, at least one output pin 121 is connected to the third output terminal out3 of the corresponding output switching unit 140, the first output terminal out1 of the input switching unit 130 is connected to the second input terminal in2 of the output switching unit 140 to form a first channel, and the second output terminal out2 of the input switching unit 130 is connected to the third input terminal in3 of the output switching unit 140 to form a second channel.
It is understood that there is a one-to-one correspondence between the input switching units 130 and the output switching units 140, and each input switching unit 130 is connected to its corresponding output switching unit 140.
The input interface 110 is used for connecting with a communication interface of a vehicle, and the output interface 120 is used for communicating with a diagnosis interface of the vehicle diagnosis apparatus 200. The number of PINs of the input interface 110 and the output interface 120 is related to diagnostic criteria, for example for the OBD II standard, the input interface 110 and the output interface 120 are both 16PIN (16 PINs) interfaces.
In the first situation, the control unit 150 is configured to control the first input terminal in1 of the input switching unit 130 to communicate with the first output terminal out1, and control the second input terminal in2 of the output switching unit 140 to communicate with the third output terminal out3, so that the input pin 111 is connected to the output pin 121 through the first channel; in the second situation, the control unit 150 is configured to control the first input terminal in1 of the input switching unit 130 to communicate with the second output terminal out2, control the third input terminal in3 of the output switching unit 140 to communicate with the third output terminal out3, and control the second output terminal out2 of the input switching unit 130 to communicate with the third input terminal in3 of the output switching unit 140, so that the input pin 111 is connected to the output pin 121 through the second channel.
In some embodiments, in a first situation, a first input pin of the plurality of input pins 111 is communicated with a first output pin of the plurality of output pins 121, wherein the first output pin is a preset fixed output pin; in a second case, a first input pin of the plurality of input pins 111 is in communication with a second output pin of the plurality of output pins 121, wherein the second output pin is a variable non-fixed output pin.
The preset fixed output pin is an output pin 121 which is communicated with a certain input pin 111 through a first channel in a preset default mode, the output pin 121 does not change according to user-defined configuration in the using process, each input pin 111 has a preset fixed output pin, and the input pins 111 and the output pins 121 are in one-to-one correspondence. The variable non-fixed output pin is an output pin 121 which is communicated with a certain input pin 111 through a second channel and can be configured in a customized manner according to different communication interface line sequences of the vehicle in the using process, and the output pin 121 is not fixed but can be changed according to the customized configuration of a user.
In the embodiment of the invention, the first channel is a through channel, and the first channel is communicated through the through channel under the default condition that a user does not configure. Through the channel, the input pin x of the preset input interface is directly communicated with the output pin y of the output interface, x and y can be the same serial number or different serial numbers, and only the corresponding through communication relation needs to be preset, that is, the way of communicating the first input pin with the first output pin as above, for example, the input pin1 is directly communicated with the output pin1, the second way of directly communicating the input pin2 with the output pin2 … … is a routing channel, that is, the way of communicating the first input pin with the second output pin as above, specifically, the input pin x of the corresponding input interface and the output pin y of the output interface can be controlled by the control unit to be communicated according to the user configuration, x and y can be the same serial number or different serial numbers, generally different serial numbers, and the situation of the same serial number can be directly realized by adopting the through channel, the corresponding relation between x and y is configured by user definition. Accordingly, the first case is the case where the input output pins are connected through, and the second case is the case where the input output pins are routed through.
In some embodiments, the input switching unit 130 may employ a switch circuit or a routing chip, or a combination of a switch circuit and a routing chip, and the output switching unit 140 may also employ a switch circuit or a routing chip, or a combination of a switch circuit and a routing chip. The switching circuit is a relay or a transistor. The control Unit 150 may be a micro control Unit 150 (MCU), a Single Chip Microcomputer (SCM), or a Single Chip Microcomputer.
The number of the input switching units 130 and the number of the output switching units 140 are two or more, the number of the input switching units 130 is smaller than or equal to the number of the input pins 111, and the number of the output switching units 140 is smaller than or equal to the number of the output pins 121. When each input pin 111 is connected with the input switching unit 130, two switching channels are selectable for each input pin 111, when only part of the input pins 111 are connected with the input switching unit 130, two switching channels are selectable for the input pins 111 connected with the input switching unit 130, and other input pins 111 are connected to the corresponding output pins 121 through the through channels. When each output pin 121 is connected with the output switching unit 140, two switching channels are selectable for each output pin 121, when only part of the output pins 121 are connected with the output switching unit 140, two switching channels are selectable for the output pins 121 connected with the output switching unit 140, and other output pins 121 are connected to the corresponding input pins 111 through channels.
In the embodiment of the invention, the control unit controls the plurality of input switching units and the plurality of output switching units to switch the communication lines between the input pins of the input interface and the output pins of the output interface, and selects the through channel or the route selection channel to ensure that the input pins can be communicated with the default output pins or the input pins are communicated with the customized output pins. Through the line switching, the input of the pins with the non-standard configuration can be switched to the output of the pins with the standard configuration, and the self-defined line sequence of the non-standard communication interface of a vehicle manufacturer can be supported.
Example four
A fourth embodiment of the present invention provides a vehicle communication interface conversion apparatus, and fig. 6 is a block diagram of the vehicle communication interface conversion apparatus provided in the fourth embodiment of the present invention. The difference from the embodiment shown in fig. 5 is that the vehicle communication interface conversion apparatus 100 further includes a sampling unit 160 and a plurality of indication units 170. The sampling unit 160 is configured to collect a sampling signal input to the switching unit 130 corresponding to the sampling unit 160, and feed back the sampling signal to the control unit 150; the control unit 150 is configured to control the indication unit 170 corresponding to the sampling unit 160 to prompt the presence of a signal according to the sampling signal. When a signal is input to the input pin 111, the corresponding input switching unit 130 also has a signal input, the sampling unit 160 connected to the input switching unit 130 collects the sampling signal, and the control unit 150 controls the corresponding indication unit 170 to prompt. Through prompting the lines with signals, a user can know which line (pin) has signal transmission, so that the user can observe conveniently, and the vehicle diagnosis test is facilitated.
The sampling unit 160 may employ an Analog-to-Digital Converter (ADC), a voltage sampling unit, or a current sampling unit. The voltage sampling unit can be a voltage feedback circuit or a chip with a voltage feedback function, such as a voltage transformer and a parallel sampling resistor. The current sampling unit can be a current sampling circuit or a chip with a current sampling function, such as a current transformer and a series sampling resistor. The sampling signal refers to a communication signal input from the input pin 111 of the input interface 110. The indication unit 170 may employ an indication lamp or a display screen.
In a specific implementation, the input switching unit 130 connected to each input pin 111 is connected to an ADC. The MCU scans each input pin 111, and determines whether there is a communication signal on a line connected to the input pin 111 through the ADC. If the communication signal exists, the MCU sends a row control signal and a column control signal to obtain a control logic signal, and the control logic signal controls the indicator light to flicker after being subjected to overvoltage conversion. Each indicator light can be arranged beside the communication jack of the corresponding input pin 111, and for a line with a signal, the indicator light flickers on the communication jack to prompt a user.
EXAMPLE five
The fifth embodiment of the invention provides a vehicle communication interface conversion device, and the channel switching in the fifth embodiment adopts an automatic switching mode. Fig. 7 is a block diagram of a vehicle communication interface conversion apparatus according to a fifth embodiment of the present invention. As shown in fig. 7, the vehicular communication interface conversion apparatus 100 includes an input interface 110, a plurality of input switching units 130, a plurality of first input channel switching units 131, a plurality of second input channel switching units 132, a plurality of output channel switching units 141, a plurality of output switching units 140, an output interface 120, and a control unit 150.
The input interface 110 includes a plurality of input pins 111. Each of the input switching units 130 includes a first input terminal in1, a first output terminal out1, and a second output terminal out 2. Each of the first input channel switching units 131 includes one input terminal and a plurality of output terminals, and the number of the output terminals of the first input channel switching unit 131 is the same as the number of the input terminals of the second input channel switching unit 132. Each of the second input channel switching units 132 includes a plurality of input terminals and an output terminal, and the number of the input terminals of the second input channel switching unit 132 is the same as the number of the output terminals of the first input channel switching unit 131. Each of the output channel switching units 141 includes one input terminal and a plurality of output terminals, and the total number of the output terminals of all the output channel switching units 141 is the same as the number of the output switching units 140, for example, the number of the output terminals of each of the output channel switching units 141 is half of the number of the output switching units 140. Each of the output switching units 140 includes a second input terminal in2, a third input terminal in3, and a third output terminal out 3. The output interface 120 includes a plurality of output pins 121. For simplicity of illustration, only two input switching units 130, two first input channel switching units 131, two second input channel switching units 132, two output channel switching units 141, and four output switching units 140 are shown in fig. 7.
At least one input pin 111 is connected to the first input terminal in1 of the input switching unit 130 corresponding thereto. The first output terminal out1 of the input switching unit 130 is connected to the second input terminal in2 of the output switching unit 140 to form a first channel. The second output end out2 of the input switching unit 130 is connected to the input end of the first input channel switching unit 131, a plurality of output ends of the first input channel switching unit 131 are respectively connected to the input end of each second input channel switching unit 132, the output end of each second input channel switching unit 132 is respectively connected to the input end of the output channel switching unit 141 corresponding thereto, a plurality of output ends of the output channel switching unit 141 are respectively connected to the third input end in3 of each output switching unit 140 corresponding thereto, and the third output end out3 of the output switching unit 140 is connected to the output pin 121 corresponding thereto. Through the above connection, the second output end out2 of the input switching unit 130 is used to be connected to the third input end in3 of the output switching unit 140 to form a second channel.
The control unit 150 is configured to:
controlling the channel switching in the input switching unit 130 to make the input pin 111 communicate with the first input channel switching unit 131 or communicate with the output switching unit 140 through the input switching unit 130;
controlling channel switching within the first input channel switching unit 131 so that the input switching unit 130 communicates with one of the plurality of second input channel switching units 132 through the first input channel switching unit 131;
controlling channel switching within the second input channel switching unit 132 so that the output channel switching unit 141 communicates with one of the plurality of first input channel switching units 131 through the second input channel switching unit 132;
the channel switching within the output channel switching unit 141 is controlled so that the second input channel switching unit 132 communicates with one of the plurality of output switching units 140 through the output channel switching unit 141.
Specifically, the control unit 150 controls which channel inside each switching unit is connected, which is determined according to the configuration of the user. The final control result is similar to that of the third embodiment, and reference is made to the description of the third embodiment.
In some embodiments, the input switching unit 130, the first input channel switching unit 131, the second input channel switching unit 132, the output channel switching unit 141, and the output switching unit 140 may employ a switch circuit or a routing chip, or a combination of a switch circuit and a routing chip (each unit may employ the same device or different devices). The switching circuit is a relay or a transistor. The control unit 150 may employ an MCU, an SCM, or a single chip microcomputer.
EXAMPLE six
The embodiment of the invention provides a vehicle communication interface conversion device. Fig. 8 is a block diagram of a vehicle communication interface conversion apparatus according to a sixth embodiment of the present invention. As shown in fig. 8, the vehicle communication interface conversion apparatus 100 is different from the fifth embodiment in that the vehicle communication interface conversion apparatus 100 further includes a display unit 180 and an input unit 190, the display unit 180 is used for displaying a configuration interface for interface conversion, and the input unit 190 is used for inputting configuration parameters. The control unit 150 is further configured to control channel switching in each of the input switching unit 130, the first input channel switching unit 131, the second input channel switching unit 132, the output channel switching unit 141, and the output switching unit 140 according to the configuration parameter. By setting the display unit 180 and the input unit 190, man-machine interaction can be performed, and control selection of a communication line can be performed through user-defined configuration of a user. It is understood that the apparatus 100 may further include a Memory, such as a Read-Only Memory (ROM) or a Random Access Memory (RAM), for storing the configuration of the user. The control unit 150 reads the user configuration from the memory and performs corresponding control.
The Display unit 180 may be a Liquid Crystal Display (LCD) or a Light Emitting Diode (LED) Display. The input unit 190 may be a Touch Panel (TP), a keyboard, a mouse, or the like.
Specific application examples of the fifth embodiment and the sixth embodiment are explained below.
FIG. 9 is a schematic diagram of a circuit switching logic according to an embodiment of the invention. According to SAE J1962 standard, OBD PIN6/14 is used for CAN communication, PIN 2/10 is used for SAE J1850 PWM/VPWM communication, PIN 7/15 is used for K-Line communication, a general diagnosis bus comprises protocols of CAN, K-Line, J1850, J1708 and the like, and for Line sequence combination which does not support SAE J1962 standard, as shown in FIG. 9, input CAN is switched to PIN6/14, K-Line is switched to PIN 7/15, J1850 is switched to PIN 2/10, and J1708 is switched to PIN 12/13.
In the 16 lines of the OBD II, PIN16 is the power supply, PIN4/5 is the ground line, and the other 13 PINs are the data lines. For a specific data line, if the sequence of the input end and the output end is consistent, the data line can be connected in a straight-through mode, otherwise, the data line needs to be converted and transferred to another line. Fig. 10 is a schematic diagram of channel selection according to an embodiment of the present invention, assuming that one data line at the input end is pin _ xx, the data line may be connected to the output end in a through manner, and the data line is named d _ xx, or connected to a certain pin in a routing manner, and the data line is named in _ xx, where xx is a line sequence number from 1 to 16. The routing channel supports 4 types of communication protocols, CAN adopts PIN6/14 connection, K-Line adopts PIN 7/15 connection, J1850 adopts PIN 2/10 connection, and J1708 adopts PIN 12/13 connection.
The input end is controlled by a three-level route selection mode, the first level and the second level select a route for the relay, and the third level selects a route for the 16-selected route selection chip. The output of the relay of the first stage is in a direct connection mode or a channel selection mode, and the output of the relay of the first stage is in the direct connection mode under the default condition; the second-stage routing is a channel selection mode, and a channel A or a channel B is selected to be output; the third-level routing is an input pin selection mode, and one path of input is selected from 13 data input lines.
To support a two-wire connection, a two-channel mechanism is used from input to output, with channel A being connectable to PIN6/7/2/12 via a split line and channel B being connectable to PIN14/15/10/13 via a split line. The output ends of the 8 channels have two connection modes, are connected to the routing channel or the through channel and are controlled by a relay. The other 8 lines of the 16 lines, including PIN1/3/4/5/8/9/11/16, are not connected to the routing channel at the output, and are directly connected to the through channel. The connection pattern of each line is shown in table 1.
Table 1 connection mode of input and output terminals
Entering a PIN Output connection mode Outputting a PIN Input connection mode
1 Straight-through or routing 1 Straight-through
2 Straight-through or routing 2 Straight-through or routing
3 Straight-through or routing 3 Straight-through
4 Straight-through 4 Straight-through
5 Straight-through 5 Straight-through
6 Straight-through or routing 6 Straight-through or routing
7 Straight-through or routing 7 Straight-through or routing
8 Straight-through or routing 8 Straight-through
9 Straight-through or routing 9 Straight-through
10 Straight-through or routing 10 Straight-through or routing
11 Straight-through or selectionRoad surface 11 Straight-through
12 Straight-through or routing 12 Straight-through or routing
13 Straight-through or routing 13 Straight-through or routing
14 Straight-through or routing 14 Straight-through or routing
15 Straight-through or routing 15 Straight-through or routing
16 Straight-through 16 Straight-through
The connection method of a specific line is exemplified in fig. 11. Fig. 11 is a logic diagram of a channel selection case according to an embodiment of the present invention. If the PIN1/2 at the input end needs to be output to the PIN6/14 as a CAN communication line, the PIN1 at the input end is output to a relay of channel selection 1 through a routing relay, and the relay of channel selection 1 is output to a channel A; the input end of the channel A selects in _1 input, the output end selects out _6 output, and the output end 6 selects the input signal of the routing channel. The input end PIN2 is connected to the channel selection 2 relay through the route selection relay, the channel 2 relay outputs to the channel B, the input end of the channel B selects in _2 input, the output end selects out _14 output, and the output end 14 selects the route selection channel input.
The specific control process is as follows:
1. a user selects an input pin;
2. selecting a communication protocol by a user;
3. after the input is determined, the MCU automatically selects a relay to be opened, and switches an input pin to a channel selection relay;
4, the MCU selects the channels used by the input pins respectively;
the MCU selects a used line for each channel from 13 input lines of each channel respectively;
6. switching the channel to a specific line at the output depending on the communication protocol used, e.g. for the CAN protocol, switching the channel to a PIN6/14 channel;
7. the channel selection is switched to the routing channel at the output.
The mode that the above-mentioned use MCU control circuit to connect degree of automation is higher, can dispose through the man-machine interaction mode is quick, need not artifical line, convenient to use, efficiency is higher.
EXAMPLE seven
The seventh embodiment of the invention provides a vehicle communication interface conversion device, which controls circuit connection in a jumper manner, does not need to configure complex control units such as a display unit, an input unit and an MCU (microprogrammed control unit), and can reduce cost.
Fig. 12 is a schematic diagram of a vehicle communication interface conversion apparatus according to a seventh embodiment of the present invention, as shown in fig. 12, based on the third embodiment, a jumper 151 is adopted by the control unit, and the jumper 151 includes a first end 1511 and a second end 1512; in the second case, the second output end out2 of the input switching unit 130 is connected with the first end 1511 of the jumper 151, and the third input end in3 of the output switching unit 140 is connected with the second end 1512 of the jumper 151, so that the second output end out2 of the input switching unit 130 communicates with the third input end in3 of the output switching unit 140.
It is understood that when the jumper 151 is not inserted or connected, it is the first case of the third embodiment, i.e. the default pass-through mode.
Fig. 13 is a logic diagram of an input end and an output end of the embodiment of the invention, wherein (a) is a device panel diagram, (b) is an input end logic diagram, and (c) is an output end logic diagram. As shown in fig. 13, in some embodiments, the vehicle communication interface conversion apparatus 100 further includes a plurality of input jacks 112 and a plurality of output jacks 122, the first end 1511 of the jumper 151 is a first plug, the first plug includes a first power supply portion 1511a and a first signal portion 1511b, the second end 1512 of the jumper 151 is a second plug, and the second plug includes a second power supply portion and a second signal portion 1512 b.
In a second situation:
the first plug is plugged into one of the plurality of input jacks 112, the first signal part 1511b is connected to the second output end out2 of the input switching unit 130 corresponding to the input jack 112, the first power supply part 1511a supplies power to the input switching unit 130, and the first input end in1 of the input switching unit 130 is communicated with the second output end out2, so that the signal of the input switching unit 130 is output from the second output end out2 and transmitted to the jumper 151;
the second plug is plugged into one of the plurality of output jacks 122, the second signal part 1512b is connected to the third input terminal in3 of the output switching unit 140 corresponding to the output jack 122, the second power supply part supplies power to the output switching unit 140, and the third input terminal in3 of the output switching unit 140 is communicated with the third output terminal out3, so that the output switching unit 140 receives the signal transmitted to the third input terminal in3 by the jumper 151 and outputs the signal from the third output terminal out 3.
The following is a description of a specific application example of embodiment seven.
The input end of the junction box supports 16-hole insertion, the output end supports 4-pair cable insertion, and CAN, K-Line, J1850 and J1708 protocols are supported respectively. The user can select a specific input pin and a communication protocol to perform cable jumper connection so as to complete circuit switching.
As shown in fig. 13, at the input, the output to the jumper is also through via the relay control line. The jumper plug is divided into two parts, wherein the upper part is a signal, and the lower part is a power supply. When the jumper plug is not inserted, the power supply and the contact are disconnected, and a signal is input to the through d _ xx; when the jumper plug is inserted, the power supply is contacted with the relay contact, the relay acts, and a signal is input to the jumper J _ xx and is connected to the output end through the jumper. When the jumper plug is not inserted at the output end, a signal is input from d _ xx and is output to out _ xx; when the jumper plug is inserted, the power supply contacts with the relay contact, the relay acts, and a signal is input from the jumper J _ xx and output to the out _ xx.
The power supply signal can be accessed from an input terminal PIN16 and is converted into a power supply voltage supported by the relay through power supply signal processing.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by one or more processors, the computer program implements each function of the above-mentioned vehicle communication interface conversion apparatus embodiment, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer readable storage medium may be ROM, RAM, magnetic disk or optical disk.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order, but rather the words are to be construed as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

Claims (10)

1. A vehicular communication interface conversion apparatus, characterized by comprising an input interface, a plurality of input switching units, a plurality of output switching units, an output interface, and a control unit, wherein:
the input interface comprises a plurality of input pins, each input switching unit comprises a first input end, a first output end and a second output end, each output switching unit comprises a second input end, a third input end and a third output end, the output interface comprises a plurality of output pins, at least one input pin is connected to the first input end of the input switching unit corresponding to the input pin, at least one output pin is connected to the third output end of the output switching unit corresponding to the output pin, the first output end of the input switching unit is connected with the second input end of the output switching unit to form a first channel, and the second output end of the input switching unit is connected with the third input end of the output switching unit to form a second channel;
in a first situation, the control unit is used for controlling the first input end of the input switching unit to be communicated with the first output end, and controlling the second input end of the output switching unit to be communicated with the third output end, so that the input pin is connected to the output pin through the first channel;
in a second situation, the control unit is configured to control the first input end of the input switching unit to communicate with the second output end, control the third input end of the output switching unit to communicate with the third output end, and control the second output end of the input switching unit to communicate with the third input end of the output switching unit, so that the input pin is connected to the output pin through the second channel.
2. The vehicle communication interface conversion apparatus according to claim 1, characterized in that:
in the first condition, a first input pin in the plurality of input pins is communicated with a first output pin in the plurality of output pins, wherein the first output pin is a preset fixed output pin;
in the second case, a first input pin of the plurality of input pins is in communication with a second output pin of the plurality of output pins, wherein the second output pin is a variable non-fixed output pin.
3. The vehicle communication interface conversion device according to claim 1, wherein the input switching unit is one or a combination of a switch circuit and a routing chip, and the output switching unit is one or a combination of a switch circuit and a routing chip.
4. The vehicle communication interface conversion device according to claim 3, wherein the switching circuit is a relay or a transistor.
5. The vehicle communication interface conversion device according to claim 1, further comprising a plurality of sampling units and a plurality of indication units, wherein:
the sampling unit is used for collecting sampling signals input into the switching unit corresponding to the sampling unit and feeding the sampling signals back to the control unit;
the control unit is used for controlling the indicating unit corresponding to the sampling unit to prompt signal existence according to the sampling signal.
6. The vehicular communication interface conversion apparatus according to any one of claims 1 to 5, characterized by further comprising a plurality of first input channel switching units, a plurality of second input channel switching units, and a plurality of output channel switching units;
the control unit is further configured to:
controlling the channel switching in the input switching unit so that the input pin is communicated with the first input channel switching unit or the output switching unit through the input switching unit;
controlling channel switching in the first input channel switching unit so that the input switching unit communicates with one of the plurality of second input channel switching units through the first input channel switching unit;
controlling channel switching in the second input channel switching unit so that the output channel switching unit communicates with one of the plurality of first input channel switching units through the second input channel switching unit;
controlling channel switching in the output channel switching unit so that the second input channel switching unit communicates with one of the plurality of output switching units through the output channel switching unit.
7. The vehicle communication interface conversion device according to claim 6, further comprising a display unit for displaying a configuration interface for interface conversion and an input unit for inputting configuration parameters;
the control unit is further configured to control channel switching in each of the input switching unit, the first input channel switching unit, the second input channel switching unit, the output channel switching unit, and the output switching unit according to the configuration parameter.
8. The vehicle communication interface conversion arrangement of any of claims 1-5, wherein the control unit is a jumper, the jumper comprising a first end and a second end;
in the second situation, the second output end of the input switching unit is connected with the first end of the jumper, and the third input end of the output switching unit is connected with the second end of the jumper, so that the second output end of the input switching unit is communicated with the third input end of the output switching unit.
9. The vehicle communication interface conversion device of claim 8, further comprising a plurality of input jacks and a plurality of output jacks, wherein the first end of the jumper is a first plug, wherein the first plug comprises a first power portion and a first signal portion, wherein the second end of the jumper is a second plug, wherein the second plug comprises a second power portion and a second signal portion;
in the second situation:
the first plug is inserted into one of the input jacks, the first signal part is connected with the second output end of the input switching unit corresponding to the input jack, the first power supply part supplies power to the input switching unit, and the first input end and the second output end of the input switching unit are communicated, so that the signal of the input switching unit is output from the second output end and is transmitted to the jumper;
the second plug is connected with one of the output jacks in an inserting mode, the second signal portion is connected with the third input end of the output switching unit corresponding to the output jack, the second power supply portion supplies power to the output switching unit, and the third input end of the output switching unit is communicated with the third output end, so that the output switching unit receives signals transmitted to the third input end through the jumper wire and outputs the signals from the third output end.
10. A vehicle diagnostic system comprising a vehicle diagnostic device and the vehicle communication interface switching apparatus of any one of claims 1 to 9, wherein the input interface is configured to interface with an on-board diagnostic system of a vehicle, and the output interface is configured to communicate with a diagnostic interface of the vehicle diagnostic device.
CN202110577282.1A 2021-05-26 2021-05-26 Vehicle communication interface conversion device and vehicle diagnosis system Active CN113297120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110577282.1A CN113297120B (en) 2021-05-26 2021-05-26 Vehicle communication interface conversion device and vehicle diagnosis system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110577282.1A CN113297120B (en) 2021-05-26 2021-05-26 Vehicle communication interface conversion device and vehicle diagnosis system

Publications (2)

Publication Number Publication Date
CN113297120A CN113297120A (en) 2021-08-24
CN113297120B true CN113297120B (en) 2022-05-10

Family

ID=77325172

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110577282.1A Active CN113297120B (en) 2021-05-26 2021-05-26 Vehicle communication interface conversion device and vehicle diagnosis system

Country Status (1)

Country Link
CN (1) CN113297120B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008165545A (en) * 2006-12-28 2008-07-17 Fujitsu Ten Ltd Simulation device
CN108189782A (en) * 2017-12-28 2018-06-22 深圳市元征科技股份有限公司 A kind of diagnostic device
CN112394711A (en) * 2020-11-19 2021-02-23 深圳市博诺技术有限公司 Automobile bus communication line selection device and diagnosis equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008165545A (en) * 2006-12-28 2008-07-17 Fujitsu Ten Ltd Simulation device
CN108189782A (en) * 2017-12-28 2018-06-22 深圳市元征科技股份有限公司 A kind of diagnostic device
CN112394711A (en) * 2020-11-19 2021-02-23 深圳市博诺技术有限公司 Automobile bus communication line selection device and diagnosis equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Monitoring Serial Communications in Microcontroller Based Embedded Systems";M. Popal等;《2006 International Conference on Computer Engineering and Systems》;20070226;第56-61页 *
"基于J2534协议的诊断仪与ECU模拟器接口设计";黄利权等;《机电工程》;20181031;第35卷(第10期);第1116-1122页 *

Also Published As

Publication number Publication date
CN113297120A (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN102486439A (en) Automatic evaluation system for vehicle devices using vehicle simulator
CN207516795U (en) A kind of automobile bus switching and the switching circuit of communication line
CN103513185B (en) For simulating the system and method for electric device operation
CN211603501U (en) Input/output signal fault simulation device of sensor or actuator
CN109560994A (en) Automobile fault diagnostic apparatus detection system and detection method
CN112697455A (en) Automatic real vehicle testing system
CN210005664U (en) automobile wire harness detection tool and system
CN113297120B (en) Vehicle communication interface conversion device and vehicle diagnosis system
EP2259230A1 (en) Programmable on-board diagnostic module, connectable to an automotive diagnostic socket
CN210168053U (en) Automatic test system for automobile Ethernet
CN109870642B (en) High-temperature dynamic aging device and method for bus controller circuit
CN101368997A (en) Automatic detection bench and method for leader cable of vehicle and motorcycle
US4910678A (en) Failure memory device
CN216956764U (en) Pin switching circuit and fault diagnosis device of OBD interface
JP3716796B2 (en) Fault diagnosis device for vehicles
CN212873278U (en) VCU function test signal conversion device and conversion system
CN219676484U (en) Multifunctional fault simulation test system
CN213182418U (en) General test board and electronic detection equipment of automobile body controller
CN215769466U (en) ECU automatic test system
US20220092887A1 (en) Interface converter and vehicle diagnosis system
CN217282973U (en) Vehicle-mounted Ethernet data link layer testing device
CN212255518U (en) Automatic detection system for car lamp driving module
CN214311430U (en) Multichannel TCU endurance test platform
CN217281503U (en) Wiring harness switching equipment
CN215494583U (en) Test switching circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant