Movatterモバイル変換


[0]ホーム

URL:


CN120547014A - CAN communication circuit, terminal resistance matching method and CAN communication system - Google Patents

CAN communication circuit, terminal resistance matching method and CAN communication system

Info

Publication number
CN120547014A
CN120547014ACN202510690371.5ACN202510690371ACN120547014ACN 120547014 ACN120547014 ACN 120547014ACN 202510690371 ACN202510690371 ACN 202510690371ACN 120547014 ACN120547014 ACN 120547014A
Authority
CN
China
Prior art keywords
resistor
port
terminal
transceiver
communication circuit
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.)
Pending
Application number
CN202510690371.5A
Other languages
Chinese (zh)
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.)
Shijiazhuang Tonghe Electronics Co Ltd
Original Assignee
Shijiazhuang Tonghe Electronics Co 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 Shijiazhuang Tonghe Electronics Co LtdfiledCriticalShijiazhuang Tonghe Electronics Co Ltd
Priority to CN202510690371.5ApriorityCriticalpatent/CN120547014A/en
Publication of CN120547014ApublicationCriticalpatent/CN120547014A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

Translated fromChinese

本申请适用于CAN通信技术领域,提供一种CAN通信电路、终端电阻匹配方法及CAN通信系统。该通信电路中,CAN收发器的CANH端连接第一电阻滤波支路的第一端和外部电路接口的第一端口,第一电阻滤波支路的第二端接地,第三端连接外部电路接口的第三端口;CAN收发器的CANL端连接第二电阻滤波支路的第一端和外部电路接口的第二端口,第二电阻滤波支路的第二端接地,第三端连接外部电路接口的第四端口;CAN收发器的CANH端和CANL端接入终端电阻时,第三端口和第四端口短接。本申请不更改CAN通信电路的硬件结构,即可实现CAN通信电路接入终端电阻,统一了CAN通信电路的硬件电路,减小了硬件管理复杂性。

The present application is applicable to the field of CAN communication technology, and provides a CAN communication circuit, a terminal resistance matching method and a CAN communication system. In the communication circuit, the CANH end of the CAN transceiver is connected to the first end of the first resistor filter branch and the first port of the external circuit interface, the second end of the first resistor filter branch is grounded, and the third end is connected to the third port of the external circuit interface; the CANL end of the CAN transceiver is connected to the first end of the second resistor filter branch and the second port of the external circuit interface, the second end of the second resistor filter branch is grounded, and the third end is connected to the fourth port of the external circuit interface; when the CANH end and the CANL end of the CAN transceiver are connected to the terminal resistance, the third port and the fourth port are short-circuited. The present application does not change the hardware structure of the CAN communication circuit, and can realize the connection of the CAN communication circuit to the terminal resistance, unify the hardware circuit of the CAN communication circuit, and reduce the complexity of hardware management.

Description

CAN communication circuit, terminal resistor matching method and CAN communication system
Technical Field
The application relates to the technical field of CAN communication, in particular to a CAN communication circuit, a terminal resistance matching method and a CAN communication system.
Background
CAN (Controller Area Network ) communication is used as a communication mode with outstanding reliability, real-time performance and flexibility, and is widely applied to the fields of automobiles and the like. With the increase of the number of control modules of the vehicle-mounted system, the CAN communication is also increased.
In CAN communication, the termination resistor plays an important role, and CAN prevent signal reflection, improve anti-interference capability and the like. In general, whether the CAN communication circuit is accessed to the terminal resistor is determined according to the actual application scene and specific requirements, and in different application scenes, in order to match whether the terminal resistor is accessed or not, the hardware structure of the CAN communication circuit needs to be changed, so that the hardware management is complex, and the management cost is increased.
Disclosure of Invention
In view of the above, the embodiments of the present application provide a CAN communication circuit, a terminal resistor matching method, and a CAN communication system, so as to solve the technical problems of complex hardware management and increased management cost caused by the need of changing a hardware structure when the related technology matches the terminal resistor.
In a first aspect, the embodiment of the application provides a CAN communication circuit, which comprises a CAN transceiver, a first resistance filtering branch, a second resistance filtering branch and an external circuit interface, wherein the external circuit interface is a plug-in wiring terminal;
The CANH end of the CAN transceiver is connected with the first end of the first resistance filtering branch and the first port of the external circuit interface, the second end of the first resistance filtering branch is grounded, and the third end of the first resistance filtering branch is connected with the third port of the external circuit interface;
The CANL end of the CAN transceiver is connected with the first end of the second resistance filtering branch and the second port of the external circuit interface, the second end of the second resistance filtering branch is grounded, and the third end of the second resistance filtering branch is connected with the fourth port of the external circuit interface;
And when the CANH end and the CANL end of the CAN transceiver are connected to a terminal resistor, the third port and the fourth port of the external circuit interface are short-circuited.
In a possible implementation manner of the first aspect, the first resistive filtering branch includes a first resistor and a first capacitor, and the second resistive filtering branch includes a second resistor and a second capacitor;
The CAN transceiver comprises a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a seventh capacitor and a fourth resistor, wherein the CANH end of the CAN transceiver is connected with one end of the first resistor and a first port of the external circuit interface, and the other end of the first resistor is connected with one end of the first capacitor and a third port of the external circuit interface;
The CANL end of the CAN transceiver is connected with one end of the second resistor and a second port of the external circuit interface, the other end of the second resistor is connected with one end of the second capacitor and a fourth port of the external circuit interface, and the other end of the second capacitor is grounded.
In a possible implementation manner of the first aspect, when the CANH end and the CANL end of the CAN transceiver are not connected to the terminal resistor, the third port and the fourth port of the external circuit interface are empty.
In a possible implementation manner of the first aspect, the CAN communication circuit further includes a common mode inductance;
the CANH end of the CAN transceiver is connected with the first input end of the common mode inductor, and the first output end of the common mode inductor is connected with one end of the first resistor;
And a CANL end of the CAN transceiver is connected with a second input end of the common mode inductor, and a second output end of the common mode inductor is connected with one end of the second resistor.
In a possible implementation manner of the first aspect, the resistances of the first resistor and the second resistor are the same, and the capacitance of the first capacitor and the second capacitor are the same.
In a possible implementation manner of the first aspect, the CANH end of the CAN transceiver is connected to the first port via a high level signal line, and the CANL end of the CAN transceiver is connected to the second port via a low level signal line.
In a possible implementation manner of the first aspect, the high-level signal line and the low-level signal line are parallel and have the same length.
In a second aspect, an embodiment of the present application provides a CAN communication circuit termination resistance matching method, which is applied to the CAN communication circuit according to any one of the first aspect, and the method includes:
The third and fourth ports of the external circuit interface are shorted when CANH and CANL terminals of the CAN transceiver are connected to the termination resistor.
In a possible implementation manner of the second aspect, the method further includes:
And when the CANH end and the CANL end of the CAN transceiver are not connected to the terminal resistor, the third port and the fourth port of the external circuit interface are empty.
In a third aspect, an embodiment of the present application provides a CAN communication system, the system comprising a CAN controller and a CAN communication circuit according to any one of the first aspects.
It will be appreciated that the advantages of the second to third aspects may be found in the relevant description of the first aspect, and are not described in detail herein.
According to the CAN communication circuit, the terminal resistor matching method and the CAN communication system, the first resistor filtering branch and the second resistor filtering branch are arranged and used for separately filtering the CANH signal and the CANL signal, when the terminal resistor is needed to be accessed between the CANH end and the CANL end of the CAN transceiver, the two resistor filtering branches are short-circuited through corresponding ports of the short-circuited external circuit interface, the resistor in the first resistor filtering branch and the resistor in the second resistor filtering branch are connected between two CAN signal lines in series and are used as terminal resistors to be connected into the CAN communication circuit, and therefore the hardware structure of the CAN communication circuit is not changed, the CAN communication circuit CAN be connected into the terminal resistors, the hardware circuit of the CAN communication circuit is unified, the complexity of hardware management is reduced, and in addition, the external circuit interface is a plug-in type wiring terminal, the CAN communication circuit has high vibration resistance, the stability and reliability are guaranteed, and the requirements of small size and high vibration resistance are met.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a CAN communication circuit according to an embodiment of the application;
fig. 2 is a schematic connection diagram of a CAN communication circuit according to another embodiment of the present application.
Detailed Description
The present application will be more clearly described with reference to the following examples. The following examples will assist those skilled in the art in further understanding the function of the present application, but are not intended to limit the application in any way. It should be noted that variations and modifications could be made by those skilled in the art without departing from the inventive concept. These are all within the scope of the present application.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
In the description of the present specification and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
Furthermore, references to "a plurality of" in embodiments of the present application should be interpreted as two or more.
In CAN communication, the termination resistor plays an important role, and CAN prevent signal reflection, improve anti-interference capability and the like. In general, whether the CAN communication circuit is accessed to the terminal resistor is determined according to the actual application scene and the specific requirement, and under different application scenes, in order to match whether the terminal resistor is accessed or not, the hardware structure of the CAN communication circuit needs to be changed, so that the hardware management is complex, the management cost is increased, and the hardware management is more complex especially when a plurality of CAN communication circuits exist.
In addition, the inventor researches and discovers that if the access terminal resistor is realized by adding the dial switch or the jumper cap, the dial switch is unstable and large in size, and the jumper cap has poor vibration resistance effect, and both the dial switch and the jumper cap CAN cause instability and poor reliability of the CAN communication circuit and influence the normal operation of the CAN communication circuit.
In order to solve the problem of matching terminal resistance, reduce the complexity of hardware management, unify the hardware circuit of the CAN communication circuit, and ensure the stability and reliability of the CAN communication circuit, the inventor researches and discovers that two resistance filtering branches CAN be respectively arranged for separately filtering CANH signals and CANL signals, and when an access terminal resistor is needed between the CANH end and the CANL end of the CAN transceiver, the two resistance filtering branches are short-circuited through the corresponding ports of the short-circuited external circuit interface, so that the resistors in the two resistance filtering branches are connected between two CAN signal lines in series, namely, the access terminal resistor of the CAN communication circuit is realized, thus the hardware circuit of the CAN communication circuit CAN be unified, and the complexity of hardware management is reduced.
Meanwhile, as a dial switch or a jumper wire cap is not required to be arranged, the stability and the reliability of the CAN communication circuit are ensured, and the requirements of small volume and high vibration resistance are met.
Fig. 1 is a schematic connection diagram of a CAN communication circuit according to an embodiment of the present application. As shown in fig. 1, the CAN communication circuit may include a CAN transceiver U1, a first resistance filtering branch L1, a second resistance filtering branch L2, and an external circuit interface Z1, where the external circuit interface Z1 is a pluggable connection terminal.
The CANH end of the CAN transceiver U1 is connected with the first end of the first resistance filtering branch L1 and the first port P1 of the external circuit interface Z1, the second end of the first resistance filtering branch L1 is grounded, and the third end of the first resistance filtering branch L1 is connected with the third port P3 of the external circuit interface Z1.
The CANL end of the CAN transceiver U1 is connected with the first end of the second resistance filtering branch L2 and the second port P2 of the external circuit interface Z1, the second end of the second resistance filtering branch L2 is grounded, and the third end of the second resistance filtering branch L2 is connected with the fourth port P4 of the external circuit interface Z1.
When CANH and CANL terminals of CAN transceiver U1 are connected to terminal resistors, third port P3 and fourth port P4 of external circuit interface Z1 are shorted.
Illustratively, the CANH end of CAN transceiver U1 is connected to first port P1 via high-level signal line can_h and the CANL end is connected to second port P2 via low-level signal line can_l. The CANH end and CANL end of the CAN transceiver U1 are differential signal ports for bi-directional transmission of differential signals. The CANH end is a high-level signal port, and is combined with a high-level signal line can_h for transmitting a high-level signal CANH signal, and the CANL end is a low-level signal port, and is combined with a low-level signal line can_l for transmitting a low-level signal CANL signal.
Optionally, in this embodiment, the first resistance filtering branch L1 is used to filter the CANH signal, and the second resistance filtering branch L2 is used to filter the CANL signal, that is, two paths of filtering branches are used to filter the CANH signal and the CANL signal separately. Meanwhile, the external circuit interface Z1 is provided with 4 ports, wherein the first port P1 is connected to the first end of the first resistance filtering branch L1, the second port P2 is connected to the first end of the second resistance filtering branch L2, the third port P3 is connected to the third end of the first resistance filtering branch L1, and the fourth port P4 is connected to the third end of the second resistance filtering branch L2.
Therefore, when the CAN communication circuit needs to be connected with the terminal resistor according to the practical application environment and specific requirements, namely the CANH end and the CANL end of the CAN transceiver U1 are connected with the terminal resistor, the third port P3 and the fourth port P4 are directly in short circuit, the short circuit of the first resistance filtering branch L1 and the second resistance filtering branch L2 is realized, the series connection of the resistor in the first resistance filtering branch L1 and the resistor in the second resistance filtering branch L2 is realized, and therefore the resistor in the first resistance filtering branch L1 and the resistor in the second resistance filtering branch L2 which are connected in series serve as the terminal resistor to be connected with the CAN communication circuit, namely the resistor is connected between the CANH end and the CANL end of the CAN transceiver U1. Meanwhile, the first resistance filtering branch L1 ensures the filtering of the CANH signal, and the second resistance filtering branch L2 ensures the filtering of the CANL signal.
From the foregoing, the external circuit interface Z1 is a pluggable connection terminal, which has high vibration resistance, and the stability and reliability of the CAN communication circuit CAN be ensured by connecting the third port P3 and the fourth port P4 in a connector manner.
Optionally, when the CANH end and the CANL end of the CAN transceiver do not need to be connected to the terminal resistor, the third port P3 and the fourth port P4 are empty, so that the filtering of the CANH signal by the first resistor filtering branch L1 is not affected, and the filtering of the CANL signal by the second resistor filtering branch L2 is not affected.
According to the CAN communication circuit provided by the embodiment of the application, the first resistance filtering branch and the second resistance filtering branch are arranged and used for separately filtering the CANH signal and the CANL signal, and when a terminal resistor is needed to be connected between the CANH end and the CANL end of the CAN transceiver, the two resistance filtering branches are short-circuited through corresponding ports of a short-circuited external circuit interface, so that the resistors in the first resistance filtering branch and the resistors in the second resistance filtering branch are connected in series between two CAN signal lines and are used as terminal resistors to be connected into the CAN communication circuit, thus the hardware structure of the CAN communication circuit is not changed, the CAN communication circuit CAN be connected into the terminal resistors, the hardware circuit of the CAN communication circuit is unified, the hardware management complexity is reduced, and in addition, the external circuit interface is a pluggable wiring terminal, the stability and the reliability of the CAN communication circuit are ensured, and the requirements of small volume and high vibration resistance are met.
In some embodiments, referring to fig. 2, the first resistive filtering branch L1 includes a first resistor R1 and a first capacitor C1, and the second resistive filtering branch L2 includes a second resistor R2 and a second capacitor C2.
The CANH end of the CAN transceiver U1 is connected with one end of a first resistor R1 and a first port P1 of an external circuit interface Z1, the other end of the first resistor R1 is connected with one end of a first capacitor C1 and a third port P3 of the external circuit interface Z1, and the other end of the first capacitor C1 is grounded.
The CANL end of the CAN transceiver U1 is connected with one end of a second resistor R2 and a second port P2 of the external circuit interface Z1, the other end of the second resistor R2 is connected with one end of a second capacitor C2 and a fourth port P4 of the external circuit interface Z1, and the other end of the second capacitor C2 is grounded.
One end of the first resistor R1 is used as a first end of the first resistor filtering branch L1, the other end of the first capacitor C1 is used as a second end of the first resistor filtering branch L1, and the other end of the first resistor R1 is used as a third end of the first resistor filtering branch L1. One end of the second resistor R2 is used as a first end of the second resistor filtering branch L2, the other end of the second capacitor C2 is used as a second end of the second resistor filtering branch L2, and the other end of the second resistor R2 is used as a third end of the second resistor filtering branch L2.
For example, the resistive filter branch in this embodiment may be an RC filter circuit, where the first resistor R1 and the first capacitor C1 are used to filter the CANH signal, and the second resistor R2 and the second capacitor C2 are used to filter the CANL signal, that is, a structure of two sets of resistors and capacitors is used to filter the CANH signal and the CANL signal separately.
When the CAN communication circuit needs to be connected into a terminal resistor according to the practical application environment and specific requirements, namely the terminal resistor is needed to be connected between the CANH end and the CANL end of the CAN transceiver U1, the third port P3 and the fourth port P4 are directly short-circuited, the series connection of the first resistor R1 and the second resistor R2 and the parallel connection of the first capacitor C1 and the second capacitor C2 are realized, and therefore the first resistor R1 and the second resistor R2 which are connected in series serve as the terminal resistor to be connected into the CAN communication circuit, namely the terminal resistor is connected between the CANH end and the CANL end of the CAN transceiver U1. Meanwhile, the first resistor R1 and the first capacitor C1 ensure the filtering of the CANH signal, and the second resistor R2 and the second capacitor C2 ensure the filtering of the CANL signal.
In this embodiment, the first resistor filtering branch includes a first resistor+a first capacitor, and the second resistor filtering branch includes a second resistor+a second capacitor, that is, two sets of "resistor+capacitor" structures are set, so as to separately filter the CANH signal and the CANL signal, and when the CANH end and the CANL end of the CAN transceiver need to be connected to the terminal resistor, the third port and the fourth port are short-circuited, so that the two sets of "resistor+capacitor" structures are short-circuited, the first resistor and the second resistor are connected between the two CAN signal lines, and the first resistor and the second resistor are connected to the CAN communication circuit as the terminal resistor, so that the hardware structure of the CAN communication circuit is not changed, and the CAN communication circuit CAN be connected to the terminal resistor.
In some embodiments, referring to FIG. 2, the CAN communication circuit further includes a common mode inductance L. The CANH end of the CAN transceiver U1 is connected with the first input end of the common-mode inductor L, the first output end of the common-mode inductor L is connected with one end of the first resistor R1, the CANL end of the CAN transceiver U1 is connected with the second input end of the common-mode inductor L, and the second output end of the common-mode inductor L is connected with one end of the second resistor R2.
The common mode inductance L is arranged in the embodiment, so that common mode noise of the high-level signal line CAN_H and the low-level signal line CAN_L CAN be restrained, and the anti-interference capability of the CAN communication circuit is improved.
In some embodiments, referring to FIG. 2, the CAN communication circuit may further include a first diode D1 and a second diode D2, and the first diode D1 and the second diode D2 are transient voltage suppression diodes (TRANSIENT VOLTAGE SUPPRESSION DIODE, TVS diodes).
The negative pole of first diode D1 is connected first port P1, and the positive pole of first diode D1 is ground connection, and the second port P2 is connected to the negative pole of second diode D2, and the positive pole of second diode D2 is ground connection.
The TVS diode is arranged in the embodiment, so that the capability of the high-level signal line CAN_H and the low-level signal line CAN_L for resisting impact pulses CAN be improved, the CAN communication circuit is protected from being influenced by instantaneous voltage, and the voltage is clamped in a safety range.
In some embodiments, the first resistor R1 and the second resistor R2 have the same resistance, and the first capacitor C1 and the second capacitor C2 have the same capacitance.
Here, the resistances of the first resistor R1 and the second resistor R2 are the same, and the capacitances of the first capacitor C1 and the second capacitor C2 are the same, so that symmetrical filtering processing can be realized, the filtering effect can be improved, and the influence on the transmission characteristics of the differential signal can be reduced. The resistance values of the first resistor R1 and the second resistor R2, and the capacitance values of the first capacitor C1 and the second capacitor C2 may be set according to the actual application scenario and the requirement of the CAN communication circuit, for example, the resistance values of the first resistor R1 and the second resistor R2 may be 60.4 ohms (Ω), and the capacitance values of the first capacitor C1 and the second capacitor C2 may be 2.2 nano-meters (nF).
As CAN be seen from the foregoing, the CAN bus includes a high-level signal line can_h and a low-level signal line can_l, the first end and the second end of the high-level signal line can_h are respectively connected to the CANH end and the first port P1, and the third end, located between the first end and the second end, of the high-level signal line can_h is connected to the first end of the first resistor filtering branch L1, that is, to one end of the first resistor R1. Similarly, the first end and the second end of the low-level signal line can_l are connected to the CANL end and the second port P2, respectively, and the third end of the low-level signal line can_l located between the first end and the second end thereof is connected to the first end of the second resistance filtering branch L2, that is, to one end of the second resistance R2.
Alternatively, the high-level signal line can_h and the low-level signal line can_l may be parallel and have the same length, so that the anti-interference capability and signal integrity of CAN communication CAN be improved.
Optionally, referring to fig. 1 and 2, the can transceiver further includes an RXD end and a TXD end, where the RXD end is a data receiving end and the TXD end is a data transmitting end. The RXD end is connected with the CAN controller, the RX end of the CAN controller is specifically connected, the TXD end is connected with the CAN controller, and the TX end of the CAN controller is specifically connected, so that data transmission between the CAN controller and the CAN transceiver is realized, and further data transmission between the CAN controller and the CAN bus is realized.
Illustratively, referring to fig. 1 and 2, the can transceiver further includes a GND terminal as a ground terminal and a VCC terminal as a power terminal connected to a power source.
Optionally, referring to fig. 1 and 2, the CAN transceiver further includes an S terminal, which is an enable control terminal, for controlling the CAN transceiver to be in an operation mode or a sleep mode, and an NC terminal, which is a digital IO level selection terminal, for selecting a 5V or 3.3V level to communicate with a microcontroller (Microcontroller Unit, MCU) or a digital signal Processor (DIGITAL SIGNAL Processor, DS).
The embodiment of the application also provides a CAN communication circuit terminal resistor matching method. The method is applicable to a CAN communication circuit and CAN comprise the step of shorting a third port and a fourth port of an external circuit interface when a CANH end and a CANL end of a CAN transceiver are connected to a terminal resistor.
The CAN communication circuit CAN be any CAN communication circuit provided by the embodiment of the application. When the CAN communication circuit needs to be connected into a terminal resistor according to the practical application environment and specific requirements, namely the terminal resistor is needed to be connected between the CANH end and the CANL end of the CAN transceiver, the third port and the fourth port are directly in short circuit, the short circuit of the first resistance filtering branch and the second resistance filtering branch is realized, the series connection of the resistor in the first resistance filtering branch and the resistor in the second resistance filtering branch is realized, and therefore the resistor in the first resistance filtering branch and the resistor in the second resistance filtering branch which are connected in series serve as the terminal resistor to be connected into the CAN communication circuit, namely the terminal resistor is connected between the CANH end and the CANL end of the CAN transceiver. Meanwhile, the first resistance filtering branch and the second resistance filtering branch ensure the filtering of CANH signals and CANL signals.
Illustratively, when the CANH end and the CANL end of the CAN transceiver are not connected to the terminal resistor, the third port and the fourth port of the external circuit interface are empty, and the first resistance filtering branch and the second resistance filtering branch are not affected to filter the CANH signal and the CANL signal.
The specific implementation process and principle of this embodiment may refer to the related description of the foregoing embodiment, which is not repeated herein.
An embodiment of the present application further provides a CAN communication system, where the CAN communication system may include a CAN controller and a CAN communication circuit.
The CAN communication circuit CAN be any CAN communication circuit provided by the embodiment of the application. The CAN controller may be an MCU.
Illustratively, an RXD end of a CAN transceiver in the CAN communication circuit is connected with the CAN controller, and a TXD end of the CAN transceiver is connected with the CAN controller. Specifically, the RXD end of the CAN transceiver is connected to the RX end (data receiving pin) of the CAN controller, and the TXD end is connected to the TX end (data transmitting pin) of the CAN controller. The CAN controller transmits data (logic level signals) to be transmitted to a TXD pin of the CAN transceiver through a TX end, and the CAN transceiver transmits data (logic level signals) to an RX end of the CAN controller through an RXD end.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
The foregoing embodiments are merely illustrative of the technical solutions of the present application, and not restrictive, and although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that modifications may still be made to the technical solutions described in the foregoing embodiments or equivalent substitutions of some technical features thereof, and that such modifications or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (10)

Translated fromChinese
1.一种CAN通信电路,其特征在于,包括:CAN收发器、第一电阻滤波支路、第二电阻滤波支路和外部电路接口;所述外部电路接口为插拔式接线端子;1. A CAN communication circuit, comprising: a CAN transceiver, a first resistor filter branch, a second resistor filter branch, and an external circuit interface; the external circuit interface is a plug-in terminal;所述CAN收发器的CANH端连接所述第一电阻滤波支路的第一端和所述外部电路接口的第一端口,所述第一电阻滤波支路的第二端接地,所述第一电阻滤波支路的第三端连接所述外部电路接口的第三端口;The CANH end of the CAN transceiver is connected to the first end of the first resistor filter branch and the first port of the external circuit interface, the second end of the first resistor filter branch is grounded, and the third end of the first resistor filter branch is connected to the third port of the external circuit interface;所述CAN收发器的CANL端连接所述第二电阻滤波支路的第一端和所述外部电路接口的第二端口,所述第二电阻滤波支路的第二端接地,所述第二电阻滤波支路的第三端连接所述外部电路接口的第四端口;The CANL terminal of the CAN transceiver is connected to the first end of the second resistor filter branch and the second port of the external circuit interface, the second end of the second resistor filter branch is grounded, and the third end of the second resistor filter branch is connected to the fourth port of the external circuit interface;所述CAN收发器的CANH端和CANL端接入终端电阻时,所述外部电路接口的第三端口和第四端口短接。When the CANH terminal and the CANL terminal of the CAN transceiver are connected to the terminal resistor, the third port and the fourth port of the external circuit interface are short-circuited.2.根据权利要求1所述的CAN通信电路,其特征在于,所述第一电阻滤波支路包括第一电阻和第一电容,所述第二电阻滤波支路包括第二电阻和第二电容;2. The CAN communication circuit according to claim 1, wherein the first resistance filter branch comprises a first resistor and a first capacitor, and the second resistance filter branch comprises a second resistor and a second capacitor;所述CAN收发器的CANH端连接所述第一电阻的一端和所述外部电路接口的第一端口,所述第一电阻的另一端连接所述第一电容的一端和所述外部电路接口的第三端口;所述第一电容的另一端接地;The CANH terminal of the CAN transceiver is connected to one end of the first resistor and the first port of the external circuit interface, the other end of the first resistor is connected to one end of the first capacitor and the third port of the external circuit interface; the other end of the first capacitor is grounded;所述CAN收发器的CANL端连接所述第二电阻的一端和所述外部电路接口的第二端口,所述第二电阻的另一端连接所述第二电容的一端和所述外部电路接口的第四端口;所述第二电容的另一端接地。The CANL end of the CAN transceiver is connected to one end of the second resistor and the second port of the external circuit interface, the other end of the second resistor is connected to one end of the second capacitor and the fourth port of the external circuit interface; the other end of the second capacitor is grounded.3.根据权利要求1所述的CAN通信电路,其特征在于,所述CAN收发器的CANH端和CANL端不接入终端电阻时,所述外部电路接口的第三端口和第四端口空脚。3. The CAN communication circuit according to claim 1, wherein when the CANH terminal and the CANL terminal of the CAN transceiver are not connected to the terminal resistor, the third port and the fourth port of the external circuit interface are empty.4.根据权利要求2所述的CAN通信电路,其特征在于,所述CAN通信电路还包括:共模电感;4. The CAN communication circuit according to claim 2, characterized in that the CAN communication circuit further comprises: a common mode inductor;所述CAN收发器的CANH端连接所述共模电感的第一输入端,所述共模电感的第一输出端连接所述第一电阻的一端;The CANH terminal of the CAN transceiver is connected to the first input terminal of the common-mode inductor, and the first output terminal of the common-mode inductor is connected to one end of the first resistor;所述CAN收发器的CANL端连接所述共模电感的第二输入端,所述共模电感的第二输出端连接所述第二电阻的一端。The CANL terminal of the CAN transceiver is connected to the second input terminal of the common-mode inductor, and the second output terminal of the common-mode inductor is connected to one end of the second resistor.5.根据权利要求2所述的CAN通信电路,其特征在于,所述第一电阻和所述第二电阻的阻值相同,所述第一电容和所述第二电容的容值相同。5 . The CAN communication circuit according to claim 2 , wherein the first resistor and the second resistor have the same resistance value, and the first capacitor and the second capacitor have the same capacitance value.6.根据权利要求1至5任一项所述的CAN通信电路,其特征在于,所述CAN收发器的CANH端经高电平信号线连接所述第一端口,所述CAN收发器的CANL端经低电平信号线连接所述第二端口。6 . The CAN communication circuit according to claim 1 , wherein the CANH terminal of the CAN transceiver is connected to the first port via a high-level signal line, and the CANL terminal of the CAN transceiver is connected to the second port via a low-level signal line.7.根据权利要求6所述的CAN通信电路,其特征在于,所述高电平信号线和所述低电平信号线平行且长度相同。7 . The CAN communication circuit according to claim 6 , wherein the high-level signal line and the low-level signal line are parallel and have the same length.8.一种CAN通信电路终端电阻匹配方法,其特征在于,应用于如权利要求1至7任一项所述的CAN通信电路,所述方法包括:8. A method for matching terminal resistances in a CAN communication circuit, characterized in that it is applied to the CAN communication circuit according to any one of claims 1 to 7, the method comprising:在CAN收发器的CANH端和CANL端接入终端电阻时,外部电路接口的第三端口和第四端口短接。When the terminal resistors are connected to the CANH and CANL terminals of the CAN transceiver, the third port and the fourth port of the external circuit interface are short-circuited.9.根据权利要求8所述的CAN通信电路终端电阻匹配方法,其特征在于,所述方法还包括:9. The CAN communication circuit terminal resistance matching method according to claim 8, characterized in that the method further comprises:在所述CAN收发器的CANH端和CANL端不接入终端电阻时,所述外部电路接口的第三端口和第四端口空脚。When the CANH terminal and the CANL terminal of the CAN transceiver are not connected to the terminal resistor, the third port and the fourth port of the external circuit interface are empty.10.一种CAN通信系统,其特征在于,所述系统包括CAN控制器和如权利要求1至7任一项所述的CAN通信电路。10. A CAN communication system, characterized in that the system comprises a CAN controller and the CAN communication circuit according to any one of claims 1 to 7.
CN202510690371.5A2025-05-272025-05-27 CAN communication circuit, terminal resistance matching method and CAN communication systemPendingCN120547014A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202510690371.5ACN120547014A (en)2025-05-272025-05-27 CAN communication circuit, terminal resistance matching method and CAN communication system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202510690371.5ACN120547014A (en)2025-05-272025-05-27 CAN communication circuit, terminal resistance matching method and CAN communication system

Publications (1)

Publication NumberPublication Date
CN120547014Atrue CN120547014A (en)2025-08-26

Family

ID=96784817

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202510690371.5APendingCN120547014A (en)2025-05-272025-05-27 CAN communication circuit, terminal resistance matching method and CAN communication system

Country Status (1)

CountryLink
CN (1)CN120547014A (en)

Similar Documents

PublicationPublication DateTitle
CN212649487U (en) An Ethernet interface device
US11711225B2 (en)Reduction of power-over-data-lines (PODL) filter parasitics for multi-gigabit ethernet
CN116195235B (en)Bidirectional single-ended transmission system
CN120547014A (en) CAN communication circuit, terminal resistance matching method and CAN communication system
CN110034989B (en) CAN transceiver circuit and CAN communication system
KR20250017117A (en)Impedance conversion device for vehicle-mounted gigabit ethernet chip adaptive coaxial cable transmission
US6856165B2 (en)Circuit for adapting characteristic wave impedance
CN219533656U (en)CAN transceiver circuit
CN105812216B (en)PBUS transformerless EtherCAT communication circuit and application method
CN112583401B (en)Isolated single-wire bidirectional transmission circuit based on digital isolator
CN216700023U (en)CAN bus protection and control circuit
CN210112034U (en)CAN transceiver circuit and CAN communication system
CN222260045U (en)Hardware transmission circuit
US20060066358A1 (en)Vehicle communication system
CN211943201U (en)CAN port drive circuit
CN222089593U (en)CAN terminal resistor configuration circuit
CN208015749U (en)CAN bus communication circuit
US6366972B1 (en)Multi-user communication bus with a resistive star configuration termination
CN222981557U (en) A RS485 communication circuit
CN207283578U (en)CAN node ports protect circuit
CN216697022U (en)RS422 interface circuit
CN223285832U (en) A communication system with anti-interference capability
CN112398540A (en)Optical module and signal processing system comprising same
CN221151380U (en)Gigabit Ethernet coaxial cable circuit
CN217157120U (en)Communication circuit and communication chip

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp