A K-line controlled CAN interface expansion module
Through the K-line controlled CAN interface expansion module, the relay and power conversion module are used to expand one CAN into a multiple CAN, solving the problem of limited equipment universality and realizing low-cost multi-CAN communication and efficient data transmission.
Patent Information
- Application Number
- CN202310165721.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-24
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2043-02-24
AI Technical Summary
The existing CAN interface expansion modules face a diverse vehicle electrical architecture, resulting in limited equipment universality, especially when the equipment needs to communicate with multiple CAN vehicles.
Design a K-line control CAN interface expansion module, through relay control module, K-line and OBD cable connection module, power conversion module, and 3 K-line control lines to control the suction and closing of relays, to realize one CAN expansion into multiple CAN communication, including relay control module, single-stable and 1-winding self-locking relay, transistor switch circuit, and data exchange between CAN bus and K-line.
Without substantially remodeling the equipment, communication of multiple CAN vehicles is realized, cost reduction, equipment versatility and convenience, and transmission efficiency of the CAN bus and system reliability are improved.
Smart Images

Figure CN116208439B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of CAN interface expansion modules, in particular to a K-line controlled CAN interface expansion module. Background Art
[0002] The currently available CAN interface expansion module is a module used to improve the transmission efficiency of the CAN bus. It can exchange data between the CAN bus and the K line, thereby improving the transmission efficiency of the CAN bus.
[0003] With existing technologies, the customer groups are becoming more and more diverse, and the electrical architecture of the vehicles produced is not unique. Some have only 1 CAN channel, some have 4 CAN channels, and some have 5 CAN channels. This will affect the versatility of the equipment. Summary of the Invention
[0004] In view of the shortcomings of the existing technology, the purpose of the present invention is to provide a K-line controlled CAN interface expansion module, which can expand one CAN channel on the device into two, three or even more CAN channels, and realize communication with vehicles with multiple CAN channels without high-cost equipment modification, thereby reducing costs and increasing versatility and convenience.
[0005] The above-mentioned object of the present invention is achieved through the following technical solutions:
[0006] A K-line controlled CAN interface expansion module comprises a relay control module, a K-line and OBD cable connection module, and a power conversion module. The K-line and OBD cable connection module are respectively connected to the relay control module and the power conversion module. One end of the CAN interface expansion module is connected to an interface of a diagnostic device, and the other end is connected to an OBD interface. The CAN interface expansion module drives its respective relays to be closed or attracted by the high levels generated during the process of issuing instructions via three K lines.
[0007] In a preferred example, the present invention can be further configured as follows: K3 is used to control the monostable relay to be closed / on to achieve the mutual conversion between power and ground, thereby satisfying the closing / closing of the latching relay, and K1 and K2 are used to control the respective connected latching relays to achieve the purpose of switching 1 CAN channel into 3 channels.
[0008] In a preferred example, the present invention can be further configured as follows: the relay control module includes a monostable relay and a single-winding latching relay.
[0009] In a preferred example, the present invention can be further configured as follows: the power conversion module includes a switching circuit composed of transistors to realize the switching of the relay.
[0010] In a preferred example, the present invention may be further configured as follows: the K-line and OBD cable connection module is used to connect the K-line of the DFS device and the OBD port of the vehicle.
[0011] In a preferred example, the present invention can be further configured as follows: the CAN interface expansion module is applied to a situation where a vehicle has multiple CAN channels and the diagnostic equipment needs to be modified at a high cost to adapt to the multiple CAN channels.
[0012] In a preferred example, the present invention can be further configured as follows: when the K-line controlled CAN interface expansion module is used in a vehicle, the diagnostic device is connected to the PC through an interface, one end of the K-line controlled CAN interface expansion module is connected to the diagnostic device, and the other end is connected to CAN_1H, CAN_1L, CAN_2H, CAN_2L, CAN_3H, and CAN_3L.
[0013] In a preferred example, the present invention may be further configured as follows: further comprising: a CAN bus interface for connecting to a CAN bus;
[0014] K-line interface, used to connect K-line;
[0015] Controller, used to control data transmission between the CAN bus interface and the K-line interface;
[0016] and a memory for storing a control program of the controller.
[0017] In a preferred example, the present invention can be further configured as follows: a multiplexer is provided in the controller, and the multiplexer is used to realize simultaneous transmission of multiple channels of data.
[0018] In a preferred example, the present invention can be further configured as follows: a buffer and a data compressor are provided in the controller, the buffer is used to buffer the data between the CAN bus and the K line, and the data compressor is used to compress the data between the CAN bus and the K line.
[0019] In summary, the present invention includes at least one of the following beneficial technical effects:
[0020] 1. The present invention discloses a K-line controlled CAN interface expansion module, and the entire expansion module is composed of three parts: a relay control module, a K-line and OBD cable connection module, and a power conversion module. The high levels generated in the process of issuing instructions through the three K lines are used to drive the respective relays to be attracted or closed. K3 is used to control the attraction / closure of the monostable relay to realize the mutual conversion between power and ground, thereby satisfying the attraction / closure of the latching relay, and K1 and K2 are used to control the respective connected latching relays to achieve the purpose of switching 1 CAN to 3. The present invention can expand one CAN on the device into 2, 3 or even more channels, and realize communication with vehicles with multiple CAN channels without high-cost equipment modification, thereby reducing costs and increasing versatility and convenience.
[0021] 2. The control program of the controller in the present invention can control the data transmission between the CAN bus interface and the K line interface to realize the data exchange between the CAN bus and the K line, thereby improving the transmission efficiency of the CAN bus. The CAN interface expansion module of the K line control of the present invention can also be provided with different control programs according to different application requirements to meet different application requirements. The CAN interface expansion module of the K line control of the present invention has a simple structure, can effectively improve the transmission efficiency of the CAN bus, and can meet different application requirements. Therefore, the CAN interface expansion module of the K line control of the present invention has good practicality.
[0022] 3. The K-line controlled CAN interface expansion module of the present invention has the advantages of simple structure, easy installation, simple operation, and high reliability. It can meet different application requirements and effectively improve the reliability and stability of the system. In addition, this module is low-cost and easy to implement, with simple circuitry, high stability, and convenient installation and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 Schematic diagram of the circuit module of the present invention.
[0024] Figure 2 This is a system block diagram of the present invention applied in a vehicle.
[0025] Figure 3 This is the internal structure diagram of the K-line controlled CAN interface expansion module of the present invention.
[0026] Figure 4 This is the circuit principle diagram of the K-line controlled CAN interface expansion module of the present invention.
[0027] Figure 5 This is the circuit principle diagram of the K-line controlled CAN interface expansion module of the present invention.
[0028] Figure 6This is the circuit principle diagram of the K-line controlled CAN interface expansion module of the present invention.
[0029] Figure 7 This is the circuit principle diagram of the K-line controlled CAN interface expansion module of the present invention.
[0030] Figure 8 The figure is a system block diagram of the present invention applied in a vehicle with 4-channel CAN.
[0031] Figure 9 It is a circuit logic diagram of the present invention. DETAILED DESCRIPTION
[0032] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application; it is obvious that the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0033] In the description of this application, it should be noted that the terms "upper," "lower," "inner," "outer," "top / bottom," and the like, indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are intended solely to facilitate the description of this application and simplify the description. They do not indicate or imply that the devices or components referred to must have a specific orientation, be constructed, or operate in a specific orientation. Therefore, they should not be construed as limitations on this application. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0034] In the description of this application, it should be noted that, unless otherwise expressly specified or limited, the terms "installed," "provided with," "mounted / connected," and "connected" should be understood in a broad sense. For example, "connected" can mean a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, or it can be internal communication between two components. Those skilled in the art will understand the specific meanings of the above terms in this application based on the specific circumstances.
[0035] Example 1:
[0036] Reference Figure 1The present invention discloses a K-line-controlled CAN interface expansion module, comprising a relay control module, a K-line and OBD cable connection module, and a power conversion module. The K-line and OBD cable connection module is connected to the relay control module and the power conversion module, respectively. One end of the CAN interface expansion module is connected to the interface of the diagnostic device, and the other end is connected to the OBD interface. The CAN interface expansion module uses the high levels generated during the transmission of commands from the three K-lines to activate or deactivate the respective relays.
[0037] Reference Figure 2 The CAN interface expansion module is used when a vehicle has multiple CAN channels and diagnostic equipment requires costly modification to accommodate them. When a K-line controlled CAN interface expansion module is used in a vehicle, the diagnostic equipment is connected to the PC via an interface. One end of the K-line controlled CAN interface expansion module is connected to the diagnostic equipment, and the other end is connected to CAN_1H, CAN_1L, CAN_2H, CAN_2L, CAN_3H, and CAN_3L.
[0038] Reference Figure 3 K3 is used to control the monostable relay to be closed / on to realize the mutual conversion between power supply and ground, thereby satisfying the closing / closing of the latching relay. K1 and K2 are used to control the latching relays connected to each other to achieve the purpose of switching 1 CAN channel into 3 channels.
[0039] In this embodiment, the relay control module includes a monostable relay and a single-winding latching relay. The power conversion module includes a switching circuit composed of transistors to achieve relay switching. The K-line and OBD cable connection module is used to connect the K-line of the DFS device and the vehicle's OBD port.
[0040] The circuit schematic diagram of the K-line control CAN interface expansion module of the present invention is described step by step as follows:
[0041] 1.Reference Figure 4 , when initially powered on, CAN_H and CAN_L are connected to CAN_H_3-8 and CAN_L_3-8 by default;
[0042] 2.Reference Figure 5 , Relay_12V / GND connects to +12V, and Relay_12V is left floating;
[0043] 3.Reference Figure 6 , since Kine3 has no signal at this time, Kine3_Vb is low level and Q1 is turned off;
[0044] 4.Reference Figure 7 ,When Kline1 generates a high level, Q3 is turned on and Coi l-1 is grounded;
[0045] 5.Reference Figure 4 , the self-locking relay K1 is activated, CAN_H and CAN_L connect CAN_H_11-12 and CAN_L_11-12;
[0046] Reset condition of latching relay: Apply reverse voltage to the coil, that is, connect Relay_12V / GND to GND; Coil-1 is 12V. The schematic diagram is as follows:
[0047] 1.Reference Figure 6 ,When Kline3 generates a high level, Q1 is turned on and Coi l-3 is grounded;
[0048] 2.Reference Figure 5 , Coil-3 is grounded, K3 is activated, Relay_12V / GND is connected to GND; Relay_12V is connected to +12V;
[0049] At this time, refer to Figure 7 and Figure 4 , Kline1 has no signal, Q3 is turned off, D3 is turned on, Coil-1 is 12V, so that Relay_12V / GND is connected to GND; Coi l-1 is 12V, the self-locking relay K1 is reset, and CAN_H and CAN_L are connected to CAN_H_3-8 and CAN_L_3-8 again.
[0050] The operation and reset principle of the self-locking relay K2 is similar.
[0051] A new type of vehicle has 4 CAN channels, but the intelligent diagnostic instrument DFS currently only has 2 CAN channels. In order to meet customer needs, Figure 8 Connect and use this module to realize 4-way CAN communication.
[0052] Details:
[0053] 1. The DFS device itself supports 2-way CAN communication. Now keep 1-way unchanged and transfer the other 1-way CAN to 3-way CAN through K-line instruction;
[0054] 2. The CAN communication PINs that remain unchanged are: 6_14_CAN_H, 6_14_CAN_L;
[0055] 3. The three CAN communication channels switched by K-line commands are: 2_10_CAN_H, 2_10_CAN_L and 11_12_CAN_H, 11_12_CAN_L and 3_8_CAN H, 3_8_CAN L;
[0056] 4. Module principle and relay action definition:
[0057] 4.1. After the device is powered on, K3 must be activated first to reset the device. The default communication mode is 3_8_CAN_H and 3_8_CAN_L.
[0058] 4.2. By default:
[0059] K1 action: CAN communication is switched to 11_12_CAN_H and 11_12_CAN_L;
[0060] 4.3. By default:
[0061] K2 action: CAN communication is switched to 2_10_CAN H and 2_10_CAN L;
[0062] 4.4. K3 action: Device reset, default is 3_8_CAN_H, 3_8_CAN_L communication.
[0063] 5.Reference Figure 9 , the logic diagram is explained in detail.
[0064] The basic principles and main features of the present invention and the advantages of the present invention are shown and described above.
[0065] Furthermore, the present invention further comprises: a CAN bus interface for connecting to a CAN bus;
[0066] K-line interface, used to connect K-line;
[0067] Controller, used to control data transmission between the CAN bus interface and the K-line interface;
[0068] and a memory for storing a control program of the controller.
[0069] The control program of the controller can control the data transmission between the CAN bus interface and the K line interface to realize the data exchange between the CAN bus and the K line, thereby improving the transmission efficiency of the CAN bus. The CAN interface expansion module of the K line control of the present invention can also be provided with different control programs according to different application requirements to meet different application requirements. The CAN interface expansion module of the K line control of the present invention has a simple structure, can effectively improve the transmission efficiency of the CAN bus, and can meet different application requirements. Therefore, the CAN interface expansion module of the K line control of the present invention has good practicality.
[0070] The structure of the CAN interface expansion module controlled by the K-line of the present invention is simple, can effectively improve the transmission efficiency of the CAN bus, and can meet different application requirements. Specifically, the module includes a CAN bus interface, a K-line interface, a controller and a memory. The CAN bus interface is used to connect to the CAN bus, the K-line interface is used to connect to the K-line, the controller is used to control the data transmission between the CAN bus interface and the K-line interface, and the memory is used to store the control program of the controller. The control program of the controller can control the data transmission between the CAN bus interface and the K-line interface to realize data exchange between the CAN bus and the K-line, thereby improving the transmission efficiency of the CAN bus. In addition, the CAN interface expansion module controlled by the K-line of the present invention can also be provided with different control programs according to different application requirements to meet different application requirements.
[0071] The technical scheme of the CAN interface expansion module of K line control of the present invention can also be further improved, to improve its transmission efficiency.For example, a multiplexer can be added in the controller to realize the simultaneous transmission of multiplexed data, thereby improving the transmission efficiency of CAN bus.In addition, a buffer can also be added in the controller to buffer the data between CAN bus and K line, thereby improving the transmission efficiency of CAN bus.In addition, a data compressor can also be added in the controller to compress the data between CAN bus and K line, thereby improving the transmission efficiency of CAN bus.
[0072] The controller of the K-line controlled CAN interface expansion module can automatically adjust the data transmission rate between the K-line controlled CAN interface and the CAN bus interface according to the data transmission requirements between the K-line controlled CAN interface and the CAN bus interface to meet different application requirements.
[0073] The controller of the K-line controlled CAN interface expansion module can also automatically adjust the data transmission format between the K-line controlled CAN interface and the CAN bus interface according to the data transmission requirements between the K-line controlled CAN interface and the CAN bus interface to meet different application requirements.
[0074] The controller of the K-line controlled CAN interface expansion module can also automatically adjust the data transmission sequence between the K-line controlled CAN interface and the CAN bus interface according to the data transmission requirements between the K-line controlled CAN interface and the CAN bus interface to meet different application requirements.
[0075] In addition, the K-line controlled CAN interface expansion module can also provide a programmable interface. Users can program the K-line controlled CAN interface expansion module according to their own application requirements to meet different application requirements.
[0076] The K-line controlled CAN interface expansion module of the present invention can effectively improve the reliability and stability of the system, and can effectively improve the programmability of the system to meet different application requirements.
[0077] The implementation principle of the present invention is as follows: the present invention discloses a K-line controlled CAN interface expansion module, and the entire expansion module is composed of three parts: a "relay control module, a K-line and OBD cable connection module, and a power conversion module." The high levels generated during the instructions issued by the three K lines drive the respective relays to be closed or pulled in. K3 is used to control the monostable relay to be closed / pushed in order to achieve the mutual conversion between power and ground, thereby satisfying the closing / closing of the latching relay. K1 and K2 are used to control the latching relays connected to each other to achieve the purpose of switching 1 CAN channel into 3 channels. The present invention can expand one CAN channel on the device into 2, 3 or even more channels, and realize communication with vehicles with multiple CAN channels without high-cost equipment modification, thereby reducing costs and increasing versatility and convenience.
[0078] The embodiments of this specific implementation method are all preferred embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the scope of protection of the present invention.
Claims
1. A K-line controlled CAN interface expansion module, characterized by: It includes a relay control module, a K-line and OBD cable connection module, and a power conversion module. The K-line and OBD cable connection module are respectively connected to the relay control module and the power conversion module. One end of the CAN interface expansion module is connected to the interface of the diagnostic device, and the other end is connected to the OBD interface. The CAN interface expansion module drives the respective relays to be attracted or closed by the high level generated during the instruction process of the three K lines. K3 is used to control the monostable relay to be on / off to achieve the mutual conversion between power and ground, thereby satisfying the on / off of the latching relay. K1 and K2 are used to control the connected latching relays to achieve the purpose of switching 1 CAN channel into 3 channels. The relay control module includes a monostable relay and a single-winding latching relay. The power conversion module includes a switching circuit composed of transistors to realize relay switching. The K-line and OBD cable connection module is used to connect the K-line of the DFS device and the OBD port of the vehicle.
2. A K-line controlled CAN interface expansion module according to claim 1, characterized in that: The relay control module includes a monostable relay and a single-winding latching relay.
3. A K-line controlled CAN interface expansion module according to claim 1, characterized in that: The power conversion module includes a switching circuit composed of transistors to realize the switching of the relay.
4. A K-line controlled CAN interface expansion module according to claim 1, characterized in that: The K-line and OBD cable connection module is used to connect the K-line of the DFS device and the OBD port of the vehicle.
5. The K-line controlled CAN interface expansion module according to claim 1, characterized in that: The CAN interface expansion module is applied to the situation where a vehicle has multiple CAN channels and diagnostic equipment needs to be modified at a high cost to adapt to the multiple CAN channels.
6. A K-line controlled CAN interface expansion module according to claim 1, characterized in that: When the K-line controlled CAN interface expansion module is used in a vehicle, the diagnostic device is connected to the PC through an interface, one end of the K-line controlled CAN interface expansion module is connected to the diagnostic device, and the other end is connected to CAN_1H, CAN_1L, CAN_2H, CAN_2L, CAN_3H, and CAN_3L.
7. The K-line controlled CAN interface expansion module according to claim 1, characterized in that: Also includes: CAN bus interface, used to connect to the CAN bus; K-line interface, used to connect K-line; Controller, used to control data transmission between the CAN bus interface and the K-line interface; and a memory for storing a control program of the controller.
8. The K-line controlled CAN interface expansion module according to claim 7, characterized in that: The controller is provided with a multiplexer, and the multiplexer is used to realize the simultaneous transmission of multiple channels of data.
9. The K-line controlled CAN interface expansion module according to claim 7, characterized in that: The controller is provided with a buffer and a data compressor, wherein the buffer is used for buffering data between the CAN bus and the K line, and the data compressor is used for compressing data between the CAN bus and the K line.
Citation Information
Patent Citations
Multifunctional comprehensive type electric control automobile fault diagnosis system
CN102073319A
Circuit of CAN bus interface expansion interface
CN110850779A