Pin signal processing device and pin signal processing circuit
By using a pin signal processing circuit and a combination of multiple switches and wires, the voltage configuration and detection of the OBD diagnostic socket pins are achieved, which solves the problem of inaccurate voltage control in the existing technology and improves the accuracy of fault diagnosis.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-19
- Publication Date
- 2026-03-17
AI Technical Summary
In existing technologies, OBD systems have difficulty effectively controlling and configuring the pin voltages of the vehicle's OBD diagnostic connector during diagnosis, leading to inaccurate fault diagnosis.
The pin signal processing circuit uses a combination of multiple switches and wires to configure and detect the voltage of the OBD diagnostic connector pins, including the first configuration voltage, the second configuration voltage, etc. The switches control the voltage value switching and transmission path to prevent interference from irrelevant signals.
It enables precise voltage configuration and detection of OBD diagnostic socket pins, improving the accuracy and reliability of fault diagnosis.
Smart Images

Figure CN116155255B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of pin monitoring technology, and in particular to a pin signal processing circuit and a pin signal processing device. Background Technology
[0002] On-Board Diagnostics (OBD) is a system used to monitor whether a vehicle has malfunctions or excessive emissions. OBD monitors sensors, actuators, and the ECU (Electronic Control Unit) itself. By monitoring the operating signals of emission-related components in real time, it determines whether vehicle emissions exceed standards. If abnormal changes in certain signals lead to excessive emissions, the OBD system's ECU will determine that the related component or circuit has malfunctioned, illuminating a fault indicator light and storing the corresponding fault information. During troubleshooting, the OBD system needs to communicate with a pin signal processing device via the 16 pins of the OBD diagnostic connector. This pin signal processing device needs to configure the input voltage of the OBD diagnostic connector pins during diagnosis to transmit diagnostic information to the OBD system. Summary of the Invention
[0003] The purpose of this invention is to overcome the shortcomings and deficiencies of the prior art and provide a pin monitoring circuit and a vehicle fault diagnosis device, which has an ingenious structural design and can output a specific voltage to the pins of the vehicle OBD diagnostic socket.
[0004] This invention is achieved through the following technical solution: a pin signal processing circuit, the pin signal processing circuit being connected to an interface, characterized in that it includes: a first wire group, the first wire group including at least one wire, the wire being used to connect to a pin in the interface; a first connection part, the first connection part being used to transmit signals, the first connection part being connected to each of the wires in the first wire group; and a first switch and a second switch, the first switch being connected to a first configuration voltage, the first switch being connected to the second switch; the first connection part being connected to the first switch, the second switch controlling whether the first switch outputs the first configuration voltage to the first connection part.
[0005] Compared to existing technologies, this invention provides a pin signal processing circuit that uses the cooperation of multiple switches to control the on / off state of the configuration line between the configuration voltage and the pins of an interface. When the line between the interface pin and the configuration voltage is connected, the pin connected to the interface can output the configuration voltage, thereby enabling voltage configuration of multiple pins of a vehicle's fault diagnosis connector. The multiple switches cooperating to control the on / off state of the configuration line are controlled by different control signals, allowing the configuration of the input voltage of the vehicle's fault diagnosis connector pins to be controlled using multiple control conditions.
[0006] Furthermore, it also includes: a second wire group, the second wire group comprising at least one wire; and a second connection portion, the second connection portion being connected to each of the wires in the second wire group, the second connection portion being connected to a second switch; the second switch is connected to a second configuration voltage, the second switch controlling whether to output the second configuration voltage to the second connection portion. Through this scheme, a second configuration voltage can be configured for the pins of the traffic alarm diagnostic socket electrically connected to the second connection portion.
[0007] Furthermore, it also includes a third switch connected to the first switch, which outputs the first configured voltage to the first switch; the third switch is connected to multiple different preset voltages, and controls the voltage value of the first configured voltage to switch to one of the preset voltage values. This scheme allows the circuit to be provided with configured voltages of different values.
[0008] Furthermore, a fourth switch is included, connected between the first switch and the first connection portion. This fourth switch controls whether a signal is transmitted between the first switch and the first connection portion. This design prevents irrelevant signals in the connection portion from entering the voltage configuration circuit when voltage configuration is not being performed.
[0009] Furthermore, it also includes a fifth switch, which is connected to the third switch, and the third switch outputs the first configuration voltage to the fifth switch; the fifth switch is also connected to the fourth switch, and the fifth switch controls whether to output the first configuration voltage to the fourth switch; the fourth switch controls the first connection part to connect to the first switch, or the fourth switch controls the first connection part to connect to the fifth switch. This solution allows for voltage configuration of the pins of a vehicle's fault diagnosis connector.
[0010] Further, it includes: a third wire group, the third wire group comprising at least one of the wires, and a fifth switch connected to the third wire group, the fifth switch controlling whether to output the first configured voltage to the wires in the third wire group. This scheme allows for voltage configuration of the pins of a vehicle's fault diagnosis socket.
[0011] Furthermore, it also includes: a fourth wire group, the fourth wire group including at least one of the wires; a third connection portion, the third connection portion being connected to each of the wires in the fourth wire group; and a sixth switch, the sixth switch being connected to both the third connection portion and the first connection portion, the sixth switch also being connected to one of the pins; the sixth switch controls whether the pin connected to the sixth switch is connected to the third connection portion, and / or the sixth switch controls whether the pin connected to the sixth switch is connected to the first connection portion. This solution allows a pin of a vehicle's diagnostic connector to be connected to either the first connection portion or the second connection portion.
[0012] Furthermore, it also includes: a fourth wire group, the fourth wire group comprising at least one of the wires; a third connection portion, the third connection portion being connected to each of the wires in the fourth wire group, and the fourth switch also being connected to the third connection portion; and a comparator, the comparator including a first comparison unit, one input terminal of the first comparison unit being connected to the first configuration voltage, and the other input terminal of the first comparison unit being connected to the fourth switch, the fourth switch controlling whether a control signal is transmitted between the third connection portion and the comparator. This scheme allows for the detection of high and low voltage states of the pins of a vehicle's fault diagnosis connector.
[0013] Furthermore, the comparator includes a second comparison unit, one input terminal of which is connected to the first configuration voltage, and the other input terminal of which is connected to the fourth switch. The fourth switch controls the third connection portion to connect to the first comparison unit, or the fourth switch controls the third connection portion to connect to the second comparison unit. This solution allows for the detection of high and low voltage states on the pins of a vehicle's fault diagnosis connector.
[0014] Further, it includes: a fifth wire group, the fifth wire group including at least one of the wires; and a seventh switch, the seventh switch being connected to a third configuration voltage, the seventh switch being connected to each of the wires in the fifth wire group, the seventh switch controlling whether to output the third configuration voltage to the fifth wire group. This scheme allows for voltage configuration of the pins of a vehicle's fault diagnosis socket.
[0015] Furthermore, it also includes a pin switch connected between the pin and the wire, the pin switch controlling whether a signal is transmitted between the pin and the wire. This scheme prevents signals from unrelated pins from entering the circuit during pin voltage configuration and voltage detection.
[0016] Based on the same inventive concept, the present invention also provides a pin signal processing device, characterized in that it includes: an interface; and a pin signal processing circuit, wherein the pin signal processing circuit is the pin signal processing circuit described in any of the above embodiments, and the pin signal processing circuit is connected to the interface. Attached Figure Description
[0017] Figure 1 This is a schematic diagram of the vehicle fault diagnosis device of the present invention.
[0018] Figure 2 This is a circuit block diagram of the pin monitoring circuit of the present invention.
[0019] Figure 3 This is an exemplary pin diagram of the first switch Q1 and the second switch Q2 in the embodiment.
[0020] Figure 4 This is an exemplary pin diagram of the third switch K1 in the embodiment.
[0021] Figure 5 This is an exemplary pin diagram of the fifth switch Q3 in the embodiment.
[0022] Figure 6 This is an exemplary pin diagram of the fourth switch K2 in the embodiment.
[0023] Figure 7 This is an exemplary pin diagram of comparator U1 in the embodiment.
[0024] Figure 8 This is an exemplary pin diagram of the sixth switch K3 in the embodiment.
[0025] The technical solution of the present invention will now be described in detail with reference to the accompanying drawings. Detailed Implementation
[0026] Please see Figure 1 This is a schematic diagram of the vehicle fault diagnosis device of the present invention. The vehicle fault diagnosis device includes an interface 10, a pin signal processing circuit 20, and a control unit 30. The interface 10 includes multiple pins that connect to the pins of the vehicle's OBD diagnostic port during diagnosis. The control unit 30 controls the pin signal processing circuit 20 to perform voltage detection and voltage configuration on the pins of the interface 10. In this embodiment, the interface 10 has 16 pins (not all are shown in the figure). The control unit 30 includes, but is not limited to, one or any combination of MCU, MPU, DPU, CPU, etc.
[0027] Specifically, please refer to Figure 2This is a circuit block diagram of the pin signal processing circuit 20 of the vehicle fault diagnosis device of the present invention. The pin signal processing circuit 20 includes multiple pin switches D1, a first wire group, a first connection portion L1, a first switch Q1, a second switch Q2, a third switch K1, a fourth switch K2, and a multiplexer M1 connected to the control unit 30. The first wire group includes at least one wire, and the wires of the first wire group are electrically connected to the pins in the interface 10 through the pin switches D1. The first connection portion L1 is a common line for transmitting electrical signals, and the first connection portion L1 is electrically connected to the wires of the first wire group. In a specific implementation, the pin switch D1 can be an optocoupler, and the first connection portion L1 and the second connection portion L2 can be a circuit bus.
[0028] The first switch Q1 switches between on and off states to control the first configuration voltage V. a Whether to transmit to the first connection part L1. In one example of this embodiment, the first switch Q1 includes an input terminal, an output terminal, and a controlled terminal, and the input terminal of the first switch Q1 is connected to a first configuration voltage V. a In specific implementations, the first switch Q1 can be selected as a controllable electronic switching element such as a transistor switch or a MOS switch. The MOS switch can be any one or more of CMOS, PMOS, NMOS, RCMOS, RPMOS, and RNMOS. For example... Figure 3 As shown, the input terminal of the first switch Q1 is the S port (or the source / output / input terminal), the output terminal is the D port (or the drain / output / input terminal), and the controlled terminal is the G port (or the gate / controlled terminal).
[0029] The second switch Q2 includes a first switching unit that controls the first switch Q1 to switch between on and off states. In one example of this embodiment, the first switching unit includes a controlled terminal, an input terminal, and an output terminal. The controlled terminal of the first switching unit is connected to the output terminal of the multiplexer M1, the input terminal of the first switching unit is electrically connected to the controlled terminal of the first switch Q1, and the output terminal of the first switching unit is grounded. In specific implementations, the second switch Q2 can be selected as a controllable electronic switching element such as a transistor switch or a MOSFET switch. Figure 3 As shown, the controlled terminal of the second switch Q2 is the G port (or the gate / controlled terminal), the input terminal is the D port (or the drain / output / input terminal), and the output terminal is the S port (or the source / output / input terminal).
[0030] The third switch K1 is connected to multiple preset voltages V with different voltage values. x Its output terminal outputs the first configuration voltage V a The third switch K1 controls the first configuration voltage V according to the signal from the control unit 30. aThe voltage value is switched to one of the preset voltage values, and the output terminal of the third switch K1 is electrically connected to the input terminal of the first switch Q1. In specific implementations, the third switch K1 can be selected as a single-pole double-throw relay or a double-pole double-throw relay, such as... Figure 4 As shown, the input / output terminals of the third switch K1 are port 1, port 2, port 3, port 4, port 5, port 6, port 7, and port 8. Optionally, ports 3 and 6 of the third switch K1 can be simultaneously connected to a 12V voltage (preset voltage V). x Ports 1 and 4 can be simultaneously connected to a 5V voltage (preset voltage V). x Ports 2 and 5 are used to output the first configuration voltage V. a Ports 7 and 8 can be used to connect power signals and / or receive control signals.
[0031] The fourth switch K2 is electrically connected to the output terminals of the first connection part L1 and the first switch Q1 respectively. The fourth switch K2 controls whether the signal is transmitted between the first connection part L1 and the first switch Q1.
[0032] Therefore, the pin signal processing circuit 20 can output a first configuration voltage V to the pins of the OBD diagnostic socket that are connected to the first connection part L1 (i.e., the OBD diagnostic socket pins that are connected to the pins of the interface 10 that are electrically connected to the first lead group). a Configure or output the first configuration voltage V to the pin. a At that time, the control unit 30 controls the output terminal of the third switch K1 to be connected to one of the preset voltages V. x When connected, the first configuration voltage V output from the output terminal of the third switch K1 is... a The voltage value is the same as the preset voltage V. x The voltage values are consistent. The output of the third switch K1 can convert the first configured voltage V. a When the output is sent to the controlled terminal of the first switch Q1, the controlled terminal of the first switch Q1 is turned on. Simultaneously, the control unit 30 controls the fourth switch K2 to create a path between the first connection L1 and the first switch Q1, thereby enabling the first configuration voltage V to... a The voltage is transmitted to the first connection L1 via the first switch Q1. Then, turning on the pin switch D1, which is electrically connected to the wires of the first wire group, will activate the first configuration voltage V on the first connection L1. a The pins of interface 10 are output to the corresponding pins on the OBD diagnostic socket.
[0033] When the control unit 30 sends a control signal to the controlled terminal of the first switching unit of the second switch Q2 via the multiplexer M1, causing the first switching unit of the second switch Q2 to conduct, the first configuration voltage V output from the output terminal of the third switch K1... aThe signal will enter the ground wire via the second switch Q2, but cannot enter the first switch Q1. Therefore, the above circuit applies the first configuration voltage V to the pin of the OBD diagnostic socket connected to the first connection L1. a When configuring, it is also necessary to simultaneously control the first unit of the second switch Q2 to be in the cut-off, off, or open state.
[0034] Furthermore, the pin signal processing circuit 20 also includes a second wire group and a second connection portion L2, wherein the second wire group includes at least one wire, and the wires of the second wire group are electrically connected to the pins in the interface 10 through the pin switch D1. The second connection portion L2 is a common line for transmitting electrical signals, and the second connection portion L2 is electrically connected to the wires of the second wire group. The second switch Q2 also includes a second switching unit, which controls a second configuration voltage V. b Whether to transmit to the second connection part L2. In one example of this embodiment, the second switching unit includes a controlled terminal, an input terminal, and an output terminal. The controlled terminal of the second switching unit is electrically connected to the control unit 30, and the input terminal of the second switching unit is connected to the second configuration voltage V. b It is electrically connected to the second connection part L2, and the output terminal of the second switching unit is grounded.
[0035] Therefore, the pin signal processing circuit 20 can apply a second configuration voltage V to the pins of the OBD diagnostic socket connected to the second connection part L2 (i.e., the OBD diagnostic socket pins that are connected to the pins of the interface 10 electrically connected to the second lead group). b The configuration, that is, outputting a second configuration voltage V to the pins of the OBD diagnostic connector that is connected to the second connection part L2. b The second configuration voltage V of the pin is then applied. b During configuration, turning on the pin switch D1, which is electrically connected to the wires of the second wire group, will activate the second configuration voltage V. b The output is via the corresponding pins of the second connection L2 and the interface 10 to the corresponding pins on the OBD diagnostic socket. When the control unit 30 controls the second switching unit of the second switch Q2 to be turned on, the second configuration voltage V... a The second switching unit, via the second switch Q2, will enter the ground wire, but cannot enter the second connection L2. Therefore, when performing the second configuration voltage V... b During configuration, the control unit 30 needs to control the second switching unit of the second switch Q2 to be in an open or closed state, thereby enabling the second configuration voltage V. b It can be transmitted to the second connection part L2.
[0036] Furthermore, the pin signal processing circuit 20 also includes a fifth switch Q3, which comprises a third switching unit. This third switching unit controls the first configuration voltage V based on the signal output by the control unit 30 and / or the multiplexer M1. aWhether to transmit to the fourth switch K2. In one example of this embodiment, the third switch unit includes a controlled terminal, an input terminal, and an output terminal. The controlled terminal of the third switch unit is electrically connected to the multiplexer M1; the input terminal of the third switch unit is connected to the first configuration voltage V of the third switch K1. a It is electrically connected to the first connection part L1 via the fourth switch K2; the output terminal of the third switch unit is grounded. In specific implementations, the fifth switch Q3 can be selected as a controllable electronic switching element such as a transistor switch or a MOSFET switch, for example... Figure 5 As shown, the controlled terminal of the fifth switch Q3 is the G port (or the gate / controlled terminal), the input terminal is the D port (or the drain / output / input terminal), and the output terminal is the S port (or the source / output / input terminal).
[0037] Therefore, the pin signal processing circuit 20 can apply a first configuration voltage V to the pins of the OBD diagnostic socket connected to the first connection part L1 (i.e., the OBD diagnostic socket pins that are connected to the pins of the interface 10 electrically connected to the first lead group). a The configuration, that is, outputting a first configuration voltage V to the pins of the OBD diagnostic socket connected to the first connection part L1. a During voltage configuration, the control unit 30 controls the fourth switch K2 to switch the first connection L1 to be connected to the output terminal of the third switch K1, thereby enabling the third switch K1 to output the first configuration voltage V. a The voltage can be transmitted to the first connection part L1 via the fourth switch K2. At this time, the pin switch D1, which is electrically connected to the wires of the first wire group, is turned on, so that the first configuration voltage V can be transmitted. a The output is sent to the corresponding pin on the OBD diagnostic socket via the corresponding pin of interface 10. When the control unit 30 controls the third switching unit of the fifth switch Q3 to be turned on via multiplexer M1, the first configuration voltage V output by the third switch K1 is... a The voltage will enter the ground wire via the third switching unit of the fifth switch Q3, but cannot enter the fourth switch K2. Therefore, while the control unit 30 controls the fourth switch K2 to connect the first connection L1 and the output terminal of the third switch K1, it is also necessary to simultaneously control the third switching unit of the fifth switch Q3 to be in an open or closed state in order to enable the first configuration voltage V. a It is transmitted to the first connection part L1 via the fourth switch K2.
[0038] Furthermore, the pin signal processing circuit 20 also includes a third wire group, which includes at least one wire. The wires of the third wire group are electrically connected to the pins in the interface 10 via the pin switch D1. The fifth switch Q3 also includes a fourth switch unit, which controls the first configuration voltage V according to the signal from the control unit 30. aIn one example of this embodiment, regarding whether the wires are transmitted to the third wire group, the fourth switching unit includes a controlled terminal, an input terminal, and an output terminal. The controlled terminal of the fourth switching unit is electrically connected to the control unit 30, and the input terminal of the fourth switching unit is connected to the first configuration voltage V of the third switch K1. a It is electrically connected to the wires of the third wire group, and the output terminal of the fourth switch unit is grounded.
[0039] Therefore, the pin signal processing circuit 20 can apply a first configuration voltage V to the pins of the OBD diagnostic socket that are connected to the pins in the interface 10 electrically connected to the third conductor group. a The voltage configuration, that is, the ability to output a first configuration voltage V to the corresponding pin of the OBD diagnostic connector electrically connected to the third lead group. a During voltage configuration, pin switch D1 is turned on, causing the third switch K1 to output the first configuration voltage V. a The voltage is transmitted to the pin of interface 10 via the third conductor group and pin switch D1, thereby enabling the first configuration voltage V to be applied. a The output is sent to the corresponding pin of the OBD diagnostic socket through the corresponding pin in interface 10. When the control unit 30 controls the fourth switching unit of the fifth switch Q3 to be turned on, the first configuration voltage V output by the third switch K1 is... a The wires will enter the ground wire via the fourth switch unit of the fifth switch Q3, but cannot enter the wires of the third wire group. Therefore, the first configuration voltage V is applied to the pins of the OBD diagnostic socket connected to the pins in the interface 10 that electrically connects to the third wire group. a When configuring the voltage, the fourth unit of the fifth switch Q3 must be in the open or closed state.
[0040] Furthermore, the pin signal processing circuit 20 also includes a fourth wire group, a third connection portion L3, and a comparator U1. The fourth wire group includes at least one wire, and the wires of the fourth wire group are electrically connected to the pins in the interface 10 through a pin switch D1. The third connection portion L3 is a common line for transmitting electrical signals, and it is electrically connected to the wires of the fourth wire group. The comparator U1 includes a first comparison unit and a second comparison unit. One input terminal of the first comparison unit is electrically connected to the output terminal of the third switch K1, and the other input terminal is electrically connected to the third connection portion L3 through a fourth switch K2. One input terminal of the second comparison unit is electrically connected to the output terminal of the third switch K1, and the other input terminal is electrically connected to the third connection portion L3 through the fourth switch K2. The fourth switch K2 switches the connection of the third connection portion L3 to either the first comparison unit or the second comparison unit according to the signal from the control unit 30. The output terminals of both the first and second comparison units of the comparator U1 are electrically connected to the multiplexer M1. In a specific implementation, the third connection portion L3 can be a circuit bus.
[0041] In practical implementation, the fourth switch K2 can be selected as a double-pole double-throw relay or a combination of two single-pole single-throw relays, such as... Figure 6 As shown, the input / output terminals of the fourth switch K2 are port 1, port 2, port 3, port 4, port 5, port 6, port 7, and port 8. Optionally, port 1 of the fourth switch K2 is connected to the first switch Q1, port 2 is connected to the first connection part L1, port 3 is connected to the third switch Q3, port 4 is connected to an input terminal of the first or second comparison unit of comparator U1, port 5 is connected to the third connection part L3, port 6 is connected to an input terminal of the second or first comparison unit of comparator U1, and ports 7 and 8 can be connected to power signals and / or used to receive control signals.
[0042] like Figure 7 As shown, the first comparison unit of comparator U1 has two input terminals, IN1+ and IN1-, and an output terminal, OUT1; the second comparison unit of comparator U1 has two input terminals, IN2+ and IN2-, and an output terminal, OUT2.
[0043] Therefore, the pin signal processing circuit 20 can detect the voltage output from the pins of the OBD diagnostic socket connected to the third connection part L3 (i.e., the OBD diagnostic socket pins that are connected to the pins of the interface 10 electrically connected to the fourth lead group), that is, it can detect the high or low voltage state of the pins on the OBD diagnostic socket connected to the third connection part L3. During pin voltage detection, the pin switch D1, electrically connected to the lead group of the fourth lead group, is turned on, allowing the voltage received by the pins of the interface 10 from the pins of the OBD diagnostic socket to be transmitted to the third connection part L3, and then enters the first comparison unit or the second comparison unit of the comparator U1 via the fourth switch K2. The first comparison unit of the comparator U1 can compare the voltage received by the pins of the interface 10 from the pins of the OBD diagnostic socket with the first configuration voltage V output by the third switch K1. a The comparison can be performed by comparing the voltage received from the pins of the OBD diagnostic socket by the pins of interface 10 with the first configuration voltage V output by the third switch K1. a After comparison, the signals output by the first comparison unit and the second comparison unit can be transmitted to the control unit 30 via the multiplexer M1. This signal indicates the output voltage of the OBD diagnostic connector pin relative to the first configuration voltage V. a The high and low states.
[0044] Furthermore, the pin signal processing circuit 20 also includes a sixth switch K3. The sixth switch K3 is electrically connected to the first connection portion L1, the third connection portion L3, and at least one pin of the interface 10. The sixth switch K3 switches the pin's connection to the first connection portion L1, or to the third connection portion L3, or simultaneously to both the first connection portion L1 and the third connection portion L3, according to a signal from the control unit 30 (not limited to the control unit 30). In a specific embodiment, the sixth switch K3 can be a double-pole double-throw relay, such as... Figure 8 As shown, the input / output terminals of the sixth switch K3 are port 1, port 2, port 3, port 4, port 5, and port 6. Optionally, ports 1 and 4 of the sixth switch K3 can be connected to the same pin on interface 10, ports 2 and 3 can be connected to the first connection part L1 and the third connection part L3 respectively, and ports 5 and 6 can be connected to power signals and / or used to receive control signals.
[0045] Therefore, when the sixth switch K3 controls the pin of interface 10 to be electrically connected to the first connection part L1, the first configuration voltage V can be applied to the pin of the OBD diagnostic socket that is connected to the pin of interface 10. a The configuration allows the output of a first configuration voltage V to the pins of the OBD diagnostic connector that are connected to the pins of interface 10. a .
[0046] When the sixth switch K3 controls the pin of interface 10 to be electrically connected to the third connection part L3, the output voltage of the pin of the OBD diagnostic socket connected to the pin of interface 10 can be detected.
[0047] Furthermore, when the sixth switch K3 is connected to only one pin on interface 10, and the control unit 30 controls the sixth switch K3 to simultaneously turn on the first connection L1 and the third connection L3, then the first connection L1 is connected to the third connection L3 through that pin. Thus, the electrical signal from the pin of the first connection L1 can be transmitted to the third connection L3 through the pin connected to the sixth switch K3, and the third connection L3 then transmits the electrical signal to the first comparison unit or the second comparison unit of comparator U1 through the fourth switch K2. Therefore, comparator U1 can detect the voltage of the pin on interface 10 connected to the third connection L3, and also detect the voltage of the pin on interface 10 connected to the first connection L1. Similarly, the first configuration voltage V... a It can be transmitted to the pin on the interface 10 connected to the first connection part L1 through the sixth switch K3, or it can be transmitted to the pin on the interface 10 connected to the third connection part L3 through the sixth switch K3 and the pin connected to the sixth switch K3.
[0048] Furthermore, the pin signal processing circuit 20 also includes a fifth wire group and a seventh switch Q4 controlled by the control unit 30. The fifth wire group includes at least one wire, and the wires of the fifth wire group are electrically connected to the pins in the interface through the pin switch D1. The input terminal of the seventh switch Q4 is connected to a third configuration voltage V. c Its output terminal is electrically connected to the wires of the fifth wire group. In specific implementations, the seventh switch Q4 can be selected as a controllable electronic switching element such as a transistor switch or a MOSFET switch.
[0049] Therefore, the pin signal processing circuit 20 can apply a third configuration voltage V to the pins of the OBD diagnostic socket that are connected to the pins of the interface 10 electrically connected to the fifth conductor group. c The voltage configuration, that is, the ability to output a third configuration voltage V to the pins of interface 10 which is electrically connected to the fifth conductor group. c During voltage configuration, control unit 30 will turn on the seventh switch Q4 and simultaneously turn on the pin switch D1, which is electrically connected to the fifth lead group, so that the third configuration voltage V... c The voltage is transmitted sequentially via the seventh switch Q4, the fifth lead group, and the pin switch D1 to the pin of interface 10, thereby enabling the third configuration voltage V to be applied. c The output is connected to the pins of the OBD diagnostic socket of the interface 10 that is electrically connected to the fifth lead group.
[0050] In fact, in this embodiment, the multiplexer M1 acts as a relay station between the control unit 30 and other components in the pin control circuit 20 to transmit electrical signals when the control unit 30 has insufficient pins. The electrical signals received or sent by the multiplexer M1 to the components in the pin control circuit 20 can be directly received or sent by the control unit 30.
[0051] Compared with the prior art, the vehicle fault diagnosis device of the present invention configures the voltage of multiple pins of the vehicle OBD diagnostic socket through the pin signal processing circuit 20, and can also detect the high and low state of the output voltage of the pins of the vehicle OBD diagnostic socket.
[0052] In addition to the vehicle fault diagnosis device of this embodiment, the pin signal processing circuit of the present invention can also be applied in the same manner to a fault diagnosis device for processing the pin signals of fault diagnosis sockets of vehicles such as trains and airplanes.
[0053] This invention is not limited to the above-described embodiments. If any modifications or variations to this invention do not depart from the spirit and scope of this invention, and if such modifications and variations fall within the scope of the claims and equivalent technologies of this invention, then this invention also intends to include such modifications and variations.
Claims
1. A pin signal processing circuit, the pin signal processing circuit being connected with an interface, characterized in that, Comprising: a first wire group comprising at least one wire for connecting a pin in the interface; a first connecting part for transmitting a signal, the first connecting part being connected with each of the wires in the first wire group; and a first switch, a second switch and a third switch, the first switch being connected with a first configuration voltage, the first switch being connected with the second switch; the first connecting part being connected with the first switch, the second switch controlling whether the first configuration voltage is outputted to the first connecting part by the first switch; the third switch being connected with the first switch, the third switch outputting the first configuration voltage to the first switch; the third switch being connected with a plurality of different preset voltages, the third switch controlling the voltage value of the first configuration voltage to be switched to the voltage value of one of the preset voltages; Further comprising: a second wire group comprising at least one wire; and a second connecting part being connected with each of the wires in the second wire group, the second connecting part being connected with the second switch; the second switch being connected with a second configuration voltage, the second switch controlling whether the second configuration voltage is outputted to the second connecting part; Further comprising a fourth switch, the fourth switch being connected between the first switch and the first connecting part, the fourth switch controlling whether a signal is transmitted between the first switch and the first connecting part; Further comprising a fifth switch, the fifth switch being connected with the third switch, the third switch outputting the first configuration voltage to the fifth switch; the fifth switch being connected with the fourth switch, the fifth switch controlling whether the first configuration voltage is outputted to the fourth switch; the fourth switch controlling the first connecting part to be connected with the first switch or the fourth switch controlling the first connecting part to be connected with the fifth switch; Further comprising: a third wire group comprising at least one of the wires, the fifth switch being connected with the third wire group, the fifth switch controlling whether the first configuration voltage is outputted to the wires in the third wire group.
2. The pin signal processing circuit of claim 1, wherein, Further comprising: a fourth wire group comprising at least one of the wires; a third connecting part being connected with each of the wires in the fourth wire group; and a sixth switch being connected with the third connecting part and the first connecting part respectively, the sixth switch being further connected with one of the pins; the sixth switch controlling whether the pin connected with the sixth switch is connected with the third connecting part and / or the sixth switch controlling whether the pin connected with the sixth switch is connected with the first connecting part.
3. The pin signal processing circuit of claim 1, wherein, Further comprising: a fourth wire group comprising at least one of the wires; a third connecting part being connected with each of the wires in the fourth wire group, the fourth switch being further connected with the third connecting part; and A comparator, the comparator comprising a first comparison unit, one input of the first comparison unit being connected to the first configuration voltage, the other input of the first comparison unit being connected to the fourth switch, the fourth switch controlling whether a signal is transmitted between the third connection and the comparator.
4. The pin signal processing circuit according to claim 3, wherein The comparator comprises a second comparison unit, one input of the second comparison unit being connected to the first configuration voltage, the other input of the second comparison unit being connected to the fourth switch; the fourth switch controls the third connection to be connected to the first comparison unit, or the fourth switch controls the third connection to be connected to the second comparison unit.
5. The pin signal processing circuit of claim 1, wherein, comprising: a fifth wire group, the fifth wire group comprising at least one wire; and a seventh switch, the seventh switch being connected to a third configuration voltage, the seventh switch being connected to each wire in the fifth wire group, the seventh switch controlling whether the third configuration voltage is output to the fifth wire group.
6. The pin signal processing circuit of claim 1, wherein, further comprising: a pin switch, the pin switch being connected between the pin and the wire, the pin switch controlling whether a signal is transmitted between the pin and the wire.
7. A pin signal processing device, characterized by comprising: comprising: an interface; and a pin signal processing circuit, the pin signal processing circuit being the pin signal processing circuit according to any one of claims 1-6, the pin signal processing circuit being connected to the interface.
Citation Information
Patent Citations
Automobile bus communication line selection device and diagnosis equipment
CN112394711A