CAN communication apparatus and method

By introducing repeater circuits and monitoring logic into the CAN communication device, the problem of long-distance CAN communication signal attenuation is solved, and communication at a longer distance and higher reliability in the energy storage system is achieved, and costs are reduced.

CN119254559APending Publication Date: 2025-01-03SAMSUNG SDI CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311461363.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-07-03
Filing Date
2023-11-06
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

In energy storage systems, long-distance CAN communication may lead to weakening of communication and lack of feedback and monitoring of external CAN repeaters, reducing communication reliability and increasing installation costs.

Method used

By introducing repeater circuits into the CAN communication device, setting switches and arbitration logic using a microcontroller unit (MCU) are used to realize the repeater mode to extend the communication distance of the CAN bus, and ensure the operation of the repeater mode through monitoring logic state.

Benefits of technology

Without an external repeater installed, the physical communication distance of the CAN bus is expanded, the communication signal is enhanced, the reliability of the repeater mode is ensured, and the cost is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119254559A_ABST
    Figure CN119254559A_ABST
Patent Text Reader

Abstract

The invention relates to a CAN communication device and method. A controller area network (CAN) communication device that communicates through a CAN bus may be provided. The CAN communication apparatus includes: a CAN communication circuit including a first CAN transceiver connected to a CAN bus, and transmitting and receiving CAN data through the first CAN transceiver; and a repeater circuit that, if set to a repeater mode, relays CAN data on the CAN bus by setting a connection with the CAN bus.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a controller area network (CAN) communication device and method. Background Art

[0002] An energy storage system (ESS) refers to a device that stores electricity and makes it available when needed. An ESS may include a battery, a battery management system (BMS), and a power conversion system (PMS) or an energy management system (EMS).

[0003] The ESS can transmit and receive various information such as battery status and protection operations within the system through controller area network (CAN) communication.

[0004] The composition and installation environment of ESS vary, and as a result, the actual wiring length of CAN communication may be long. At this time, if there is a problem due to the communication distance, an external CAN repeater can be installed at a certain distance.

[0005] An external CAN repeater can be a device used to extend the distance of a CAN bus and a node. Using an external CAN repeater can solve the problem of communication weakening due to distance, but it must be connected serially to the CAN bus from the outside. In addition, because there is no feedback or monitoring of the external CAN repeater, communication reliability may be reduced, and the cost of installing an external CAN repeater may increase. Summary of the invention

[0006] At least one of the embodiments may provide a CAN communication apparatus and method capable of increasing a physically limited CAN communication distance without installing an external CAN repeater.

[0007] According to one embodiment, a Controller Area Network (CAN) communication device for communicating via a CAN bus may be provided. The CAN communication device includes: a CAN communication circuit including a first CAN transceiver connected to the CAN bus and transmitting and receiving CAN data via the first CAN transceiver; and a repeater circuit, which, if set to a repeater mode, relays CAN data on the CAN bus by setting a connection with the CAN bus.

[0008] The CAN communication circuit may further include: a microcontroller unit (MCU) for setting the repeater mode to on or off according to the setting signal.

[0009] The repeater circuit may include: a first switch serially connected to the CAN bus; a second CAN transceiver connected to the CAN bus; a third CAN transceiver connected to the CAN bus; arbitration logic for transmitting and receiving CAN data between the second CAN transceiver and the third CAN transceiver; a second switch connected between the CAN bus and the second CAN transceiver; and a third switch connected between the CAN bus and the third CAN transceiver, and the MCU may set the first switch to an open state and the second switch and the third switch to a closed state based on a setting signal to turn on the repeater mode.

[0010] The MCU may set the first switch to a closed state and the second switch and the third switch to an open state based on the setting signal to turn off the repeater mode.

[0011] The repeater circuit may further include a fourth switch for supplying a power supply voltage to the second CAN transceiver and the third CAN transceiver or cutting off the power supply voltage, and if the repeater mode is turned on, the MCU may control the fourth switch to be closed.

[0012] The arbitration logic may feed back CAN data transmitted and received between the second CAN transceiver and the third CAN transceiver to the MCU, and the MCU may monitor an operation status of the repeater mode using the fed-back CAN data.

[0013] According to another embodiment, a CAN communication method of a CAN communication device connected to a controller area network (CAN) bus may be provided. The CAN communication method includes: performing CAN communication through a first CAN transceiver connected to the CAN bus; operating in a repeater mode by setting a connection with the CAN bus based on a setting signal; and relaying CAN data on the CAN bus in the repeater mode.

[0014] The CAN communication device may include: a microcontroller unit (MCU) controlling CAN communication through a first CAN transceiver; a first switch serially connected to the CAN bus; a second CAN transceiver connected to the CAN bus; a third CAN transceiver connected to the CAN bus; arbitration logic for transmitting and receiving CAN data between the second CAN transceiver and the third CAN transceiver; a second switch connected between the CAN bus and the second CAN transceiver; and a third switch connected between the CAN bus and the third CAN transceiver, and operating in a repeater mode may include setting the first switch to an open state and setting the second switch and the third switch to a closed state.

[0015] The CAN communication method may further include turning off the repeater mode by disconnecting from the CAN bus based on the setting signal, and wherein turning off the repeater mode may include setting the first switch to a closed state and setting the second and third switches to open states.

[0016] Operating in the repeater mode may further include supplying a power supply voltage to the second CAN transceiver and the third CAN transceiver, and shutting down the repeater mode may further include cutting off the power supply voltage to the second CAN transceiver and the third CAN transceiver.

[0017] The CAN communication method may further include monitoring an operation state of the repeater mode using CAN data transmitted and received between the second CAN transceiver and the third CAN transceiver.

[0018] The monitoring may include: transmitting CAN data generated by the MCU through the first CAN transceiver; and monitoring the operation status of the repeater mode by comparing the CAN data generated by the MCU with CAN data transmitted and received between the second CAN transceiver and the third CAN transceiver. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 is a diagram showing an example of a CAN communication network according to the embodiment.

[0020] Figure 2 is a diagram illustrating a CAN communication device according to an embodiment.

[0021] Figure 3 is a diagram illustrating an operation of a CAN communication device when a repeater mode is turned off according to an embodiment.

[0022] Figure 4 is a diagram illustrating an operation of a CAN communication device when a repeater mode is turned on according to an embodiment.

[0023] Figure 5 is a flow chart illustrating a method of monitoring an operating status of a repeater mode according to an embodiment.

[0024] Figure 6 is a flowchart illustrating a repeater mode setting method according to an embodiment.

[0025] <Reference Numbers>

[0026] 100: CAN bus

[0027] 200: CAN communication device

[0028] 210: CAN communication circuit

[0029] 220: Repeater circuit

[0030] 212, 222, 224: CAN transceiver

[0031] 214: CAN controller

[0032] 216: MCU

[0033] 226: Arbitration Logic DETAILED DESCRIPTION

[0034] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those of ordinary skill in the art can easily implement the present disclosure. As will be appreciated by those skilled in the art, the described embodiments can be modified in various ways without departing from the spirit or scope of the present disclosure. The drawings and descriptions are considered to be illustrative rather than restrictive in nature. Throughout the specification, the same reference numerals represent the same elements. In the flowcharts described with reference to the drawings in this specification, the order of operations can be changed, several operations can be merged, some operations can be divided, and specific operations can be not performed.

[0035] Throughout the specification and claims, when a component is referred to as “comprising” a certain element, it means that it can further include other elements rather than excluding other elements, unless specifically indicated otherwise.

[0036] In addition, expressions described in the singular may be construed as either the singular or the plural unless an explicit expression such as "one" or "single" is used.

[0037] In addition, terms including ordinal numbers such as first, second, etc. can be used to describe various elements, but these elements are not limited by the terms. The above terms are only used for the purpose of distinguishing one element from another element. For example, without departing from the scope of the present disclosure, a first element can be referred to as a second element, and similarly, a second element can be referred to as a first element.

[0038] Furthermore, when a component is referred to as being “connected” to another component, it includes not only a case where the two components are “directly connected” but also a case where the two components are “indirectly or non-contactly connected” with another component interposed therebetween, or a case where the two components are “electrically connected.” On the other hand, when an element is referred to as being “directly connected” to another element, it should be understood that there are no other elements interposed.

[0039] Figure 1 is a diagram showing an example of a CAN communication network according to the embodiment.

[0040] refer to Figure 1 , a controller area network (CAN) communication network may include communication nodes 200_1, 200_2, and 200_3 connected via a CAN bus 100. Figure 1 In the figure, for convenience, only three communication nodes 200_1, 200_2 and 200_3 are shown.

[0041] The communication nodes 200_1, 200_2, and 200_3 may be connected to the CAN bus 100 in parallel and may transmit and receive CAN data with each other. The communication nodes 200_1, 200_2, and 200_3 may be CAN communication devices that perform CAN communication.

[0042] The communication nodes 200_1, 200_2 and 200_3 may be, for example, an energy storage system (ESS), a battery management system (BMS), a power conversion system (PCS), a power management system (PMS) or an energy management system (EMS). The communication nodes 200_1, 200_2 and 200_3 may be, for example, an electronic control unit (ECU) in a vehicle.

[0043] Hereinafter, for the sake of convenience, the communication nodes 200_1, 200_2, and 200_3 will be referred to as CAN communication devices.

[0044] The CAN communication devices 200_1 , 200_2 , and 200_3 according to the embodiment may basically operate in a CAN communication mode for performing CAN communication, and may optionally operate in a repeater mode simultaneously with the CAN communication mode.

[0045] If the CAN communication devices 200_1, 200_2, and 200_3 operate in the repeater mode, they may perform a repeater function of CAN data.

[0046] The CAN bus 100 may transmit a differential signal corresponding to CAN data using two twisted pair wires referred to as a CAN high line CAN_H and a CAN low line CAN_L.

[0047] The CAN bus 100 has a limited maximum communication distance over which CAN communication devices can be connected at both ends. Therefore, a CAN communication device outside the maximum communication distance cannot perform CAN communication with a CAN communication device within the maximum communication distance. However, if the CAN communication devices at both ends operate in a repeater mode, CAN data can be relayed with the CAN communication device outside the maximum communication distance, thereby increasing the maximum communication distance that is physically limited on the CAN bus 100.

[0048] Figure 2 is a diagram illustrating a CAN communication device according to an embodiment.

[0049] refer to Figure 2 The CAN communication device 200 may include a CAN communication circuit 210 and a repeater circuit 220 .

[0050] The CAN communication circuit 210 may perform CAN communication.

[0051] The CAN communication circuit 210 may include a CAN transceiver 212 , a CAN controller 214 , and a microcontroller unit (MCU) 216 .

[0052] The CAN transceiver 212 , the CAN controller 214 , and the MCU 216 may operate in a CAN communication mode. The CAN communication mode may be a basic operation mode of the CAN communication circuit 210 .

[0053] The CAN transceiver 212 may include a CAN high terminal CAN_H1, a CAN low terminal CAN_L1, a transmission terminal TX1, and a reception terminal RX1. The CAN high terminal CAN_H1 and the CAN low terminal CAN_L1 may be connected to a CAN high line CAN_H and a CAN low line CAN_L of the CAN bus 100, respectively. The transmission terminal TX1 and the reception terminal RX1 may be connected to the CAN controller 214.

[0054] If the CAN transceiver 212 receives a transmission signal of a TTL (transistor-transistor logic) level from the CAN controller 214 through the receiving terminal RX1, it can convert the transmission signal into a differential signal of the CAN communication standard and output the differential signal to the CAN high line CAN_H and the CAN low line CAN_L of the CAN bus 100. If the CAN transceiver 212 receives a differential signal from the CAN high line CAN_H and the CAN low line CAN_L of the CAN bus 100, it can convert the differential signal into a reception signal of a TTL level and transmit it to the CAN controller 214 through the transmission terminal TX1.

[0055] The CAN controller 214 can transmit and receive a transmission signal or a reception signal of a TTL level according to a command of the MCU 216. The CAN controller 214 can check whether the CAN bus 100 is being used by a CAN controller of another CAN communication device, and if the CAN bus 100 is being used by a CAN controller of another CAN communication device, all communication devices connected to the CAN bus 100 can check the data required by themselves through the identifier (ID) value included in the CAN data. At this time, unnecessary data can be ignored, and only the data required by themselves can be received. At the same time, if multiple CAN communication devices transmit data to the CAN bus 100 at the same time, the CAN communication device with the highest priority can automatically access the CAN bus 100 based on the ID value. It can be guaranteed that the data of the CAN communication device with a high priority has the right to use the CAN bus 100, and other CAN communication devices can wait and automatically perform transmission in the next bus cycle.

[0056] The MCU 216 may generate CAN data to be shared with different CAN communication devices through CAN communication. The MCU 216 may command the CAN controller 214 to transmit the generated CAN data or receive CAN data from the CAN controller 214.

[0057] A general CAN communication device may include only the CAN communication circuit 210 .

[0058] Meanwhile, the CAN communication device 200 according to the embodiment may further include a repeater circuit 220 to selectively operate in a repeater mode based on a setup signal S_setup.

[0059] The repeater circuit 220 may selectively operate based on the setup signal S_setup. If set to the repeater mode, the repeater circuit 220 may set a connection with the CAN bus 100 and perform a repeater function of CAN communication.

[0060] The repeater circuit 220 may further include CAN transceivers 222 and 224 , arbitration logic 226 , and switches SW1 , SW2 , SW3 , and SW4 .

[0061] The switch SW1 may be connected in series to the CAN high line CAN_H and the CAN low line CAN_L of the CAN bus 100, respectively. Therefore, if the switch SW1 is in an open state, the corresponding portion of the CAN bus 100 may be disconnected (opened), and if the switch SW1 is in a closed state, the corresponding portion of the CAN bus 100 may be connected (closed). If the repeater mode is set to on, the switch SW1 may be set to an open state, and if the repeater mode is set to off, the switch SW1 may be set to a closed state.

[0062] The switch SW2 may be connected between the CAN high line CAN_H and the CAN transceiver 222 and between the CAN low line CAN_L and the CAN transceiver 222, respectively. If the repeater mode is set to on, the switch SW2 may be set to a closed state. If the switch SW2 is closed, the CAN transceiver 222 may be connected to the CAN bus 100.

[0063] The switch SW3 may be connected between the CAN high line CAN_H and the CAN transceiver 224 and between the CAN low line CAN_L and the CAN transceiver 224, respectively. If the repeater mode is set to on, the switch SW3 may be set to a closed state. If the switch SW3 is closed, the CAN transceiver 224 may be connected to the CAN bus 100.

[0064] That is, in the repeater mode, the switch SW1 is set to an open state, and the switches SW2 and SW3 are set to a closed state, so that the CAN bus 100 can be connected through the CAN transceiver 222 and the CAN transceiver 224 .

[0065] The CAN transceiver 222 may include a CAN high terminal CAN_H2, a CAN low terminal CAN_L2, a transmission terminal TX2, and a reception terminal RX2. The CAN high terminal CAN_H2 and the CAN low terminal CAN_L2 may be connected to a CAN high line CAN_H and a CAN low line CAN_L of the CAN bus 100, respectively. The transmission terminal TX2 and the reception terminal RX2 may be connected to the arbitration logic 226.

[0066] The CAN transceiver 224 may include a CAN high terminal CAN_H3, a CAN low terminal CAN_L3, a transmission terminal TX3, and a reception terminal RX3. The CAN high terminal CAN_H3 and the CAN low terminal CAN_L3 may be connected to a CAN high line CAN_H and a CAN low line CAN_L of the CAN bus 100, respectively. The transmission terminal TX3 and the reception terminal RX3 may be connected to the arbitration logic 226.

[0067] The arbitration logic 226 may transmit and receive CAN data between the CAN transceiver 222 and the CAN transceiver 224. The arbitration logic 226 may receive CAN data transmitted from the transmission terminal TX2 of the CAN transceiver 222 and transmit it to the reception terminal RX3 of the CAN transceiver 224. The arbitration logic 226 may receive CAN data transmitted from the transmission terminal TX3 of the CAN transceiver 224 and transmit it to the reception terminal RX2 of the CAN transceiver 222. The arbitration logic 226 may also feed back the CAN data received between the CAN transceiver 222 and the CAN transceiver 224 to the MCU 216.

[0068] The MCU 216 may monitor the operation status of the repeater mode of the CAN communication device 200 using the fed-back CAN data.

[0069] The switch SW4 may be connected between a power supply terminal for supplying the power supply voltage VCC and the node N1. The node N1 may be connected to the CAN transceiver 222 and the CAN transceiver 224. If the repeater mode is set to on, the switch SW4 may be set to a closed state. If the switch SW4 is in a closed state, the power supply voltage VCC may be supplied to the CAN transceiver 222 and the CAN transceiver 224. If the repeater mode is set to off, the switch SW4 may be set to an open state. If the switch SW4 is in an open state, the power supply voltage VCC may not be supplied to the CAN transceiver 222 and the CAN transceiver 224.

[0070] The operation mode of the CAN communication device 200 may be determined according to a setup signal S_setup input from the outside. As an example, the setup signal S_setup may have a high level or a low level, and if the setup signal S_setup having a high level is input, the CAN communication device 200 may set the repeater mode to on, and if the setup signal S_setup having a low level is input, the CAN communication device 200 may set the repeater mode to off.

[0071] The MCU 216 may control the switches SW1 , SW2 , SW3 , and SW4 to turn on or off the repeater mode according to a setup signal S_setup input from the outside.

[0072] The MCU 216 may set the repeater mode to off by controlling the switch SW1 to be closed and the switches SW2, SW3, and SW4 to be open. Then, the CAN communication device 200 may operate only in the CAN communication mode.

[0073] The MCU 216 can set the repeater mode to on by controlling the switch SW1 to be open and the switches SW2, SW3, and SW4 to be closed. Then, the CAN communication device 200 can also operate in the repeater mode together with the CAN communication mode.

[0074] If the CAN communication device 200 operates in the repeater mode and performs a repeater function, a physical communication distance of CAN communication may be increased and a communication signal may be enhanced.

[0075] Figure 3 is a diagram illustrating an operation of a CAN communication device when a repeater mode is turned off according to an embodiment.

[0076] refer to Figure 3 , the repeater mode can be set to off based on the setting signal S_setup.

[0077] In order to set the repeater mode to off, the MCU 216 of the CAN communication device 200 can control the switch SW1 to a closed state and the switches SW2, SW3, and SW4 to an open state. At this time, by setting the switches SW2 and SW3 to an open state, unnecessary input to the CAN transceivers 222 and 224 can be prevented. In addition, by setting the switch SW4 to an open state, the supply of the power supply voltage VCC to the CAN transceivers 222 and 224 can be cut off to prevent accidental operation, and the power consumption of the CAN communication device 200 can be reduced.

[0078] If the repeater mode is set to off, the CAN communication device 200 operates only in the CAN communication mode for performing basic CAN communication, and may not perform the repeater function of the repeater mode. That is, the CAN communication device 200 may receive CAN data transmitted through the CAN bus 100, generate CAN data to be transmitted, and transmit the CAN data to the CAN bus 100.

[0079] Figure 4 is a diagram illustrating an operation of a CAN communication device when a repeater mode is turned on according to an embodiment.

[0080] refer to Figure 4 , the repeater mode may be set to on according to the setting signal S_setup. In this case, the CAN communication device 200 may also operate in the repeater mode together with the CAN communication mode.

[0081] In order to set the repeater mode, the MCU 216 of the CAN communication device 200 may control the switch SW1 to an open state and control the switches SW2 , SW3 , and SW4 to a closed state.

[0082] If the switch SW1 is open, the portion of the CAN bus 100 to which the switch SW1 is connected is disconnected, so that CAN data cannot be transmitted or received through the portion to which the switch SW1 is connected.

[0083] At the same time, because the switch SW1 is opened and the switches SW2, SW3, and SW4 are closed, the power supply voltage VCC may be supplied to the CAN transceiver 222 and the CAN transceiver 224, so that the CAN transceiver 222 and the CAN transceiver 224 may operate. By operating the CAN transceiver 222 and the CAN transceiver 224, the CAN communication device 200 may be serially connected to the CAN bus 100 through the CAN transceiver 222, the arbitration logic 226, and the CAN transceiver 224. Accordingly, CAN data may be transmitted to the CAN bus 100 through the CAN transceiver 222, the arbitration logic 226, and the CAN transceiver 224 of the CAN communication device 200. That is, the CAN communication device 200 may perform a repeater function of CAN data.

[0084] In addition, the CAN transceiver 212 may receive CAN data from the CAN bus 100 and transmit CAN data generated by the MCU 216 to the CAN bus 100. That is, even if the CAN communication device 200 is set to the repeater mode, it may perform the operation of the CAN communication mode.

[0085] Additionally, the MCU 216 may use the CAN data fed back from the arbitration logic 226 to monitor the operating status of the repeater mode.

[0086] Figure 5 is a flow chart illustrating a method of monitoring an operating status of a repeater mode according to an embodiment.

[0087] refer to Figure 5 , the MCU 216 may generate CAN data to be transmitted and transmit the CAN data to the CAN bus 100 through the CAN transceiver 212 (step S510 ).

[0088] If the CAN communication device 200 operates in the repeater mode, the CAN data transmitted from the CAN transceiver 212 to the CAN bus 100 may be relayed through the CAN transceiver 222, the arbitration logic 226, and the CAN transceiver 224. The arbitration logic 226 may feed back the received CAN data to the MCU 216.

[0089] The MCU 216 may receive the fed-back CAN data from the arbitration logic 226 (step S520 ).

[0090] The MCU 216 may compare the received CAN data with the CAN data generated by the MCU 216 and transmitted to the CAN transceiver 212 (step S530 ), and determine an operation state of the repeater mode based on the comparison result (step S540 ).

[0091] For example, if the MCU 216 has the same data as the CAN data generated by the MCU 216 and transmitted to the CAN transceiver 212 among the CAN data received from the arbitration logic 226, it can be determined that the operation state of the repeater mode is good (normal). On the other hand, if the MCU 216 does not have the same data as the CAN data generated by the MCU 216 and transmitted to the CAN transceiver 212 among the CAN data received from the arbitration logic 226, it can be determined that the operation state of the repeater mode is bad (error). If the operation state of the repeater mode is bad (error), the MCU 216 can output an alarm signal notifying it.

[0092] Figure 6 is a flowchart illustrating a repeater mode setting method according to an embodiment.

[0093] refer to Figure 6 , the MCU 216 may receive a setup signal S_setup (step S610 ).

[0094] The MCU 216 may set the repeater mode to on or off based on the setup signal S_setup.

[0095] If the setup signal S_setup indicates that the repeater mode is off (step S620), the MCU 216 can control the switch SW1 to close and control the switches SW2, SW3 and SW4 to open (step S630). In this way, the CAN communication device 200 can set the repeater mode to off and operate in the basic CAN communication mode.

[0096] At the same time, if the setup signal S_setup indicates that the repeater mode is turned on (step S620), the MCU 216 can control the switch SW1 to be turned on and control the switches SW2, SW3 and SW4 to be closed (step S640). In this way, the portion of the switch SW1 located in the CAN bus 100 can be turned on, the CAN bus 100 can be connected in series through the CAN transceiver 222, the arbitration logic 226 and the CAN transceiver 224, and the CAN communication device 200 can perform a repeater operation in the repeater mode through the CAN transceiver 222, the arbitration logic 226 and the CAN transceiver 224.

[0097] According to at least one embodiment, the CAN communication distance with physical limitations on the CAN bus can be increased without installing an external repeater to enhance the CAN communication signal, and the number of accessible nodes on the CAN bus can be increased. In addition, by monitoring the relay operation, the reliability of the extended communication function can be ensured.

[0098] Although the embodiments of the present disclosure have been described in detail above, the scope of the present disclosure is not limited thereto, and various modifications and improvements by those skilled in the art using the basic concept of the present disclosure defined in the following claims are also included in the present disclosure.

Claims

1. A controller area network communication device for communicating via a controller area network bus, the controller area network communication device comprising: a CAN communication circuit, comprising a first CAN transceiver connected to the CAN bus, and transmitting and receiving CAN data via the first CAN transceiver; as well as A repeater circuit, if the repeater circuit is set to a repeater mode, relays the CAN data on the CAN bus by setting a connection with the CAN bus.

2. The controller area network communication device according to claim 1, wherein: The controller area network communication circuit further comprises: The microcontroller unit is used to set the repeater mode to on or off according to the setting signal.

3. The controller area network communication device according to claim 2, wherein: The repeater circuit comprises: a first switch serially connected to the CAN bus; a second CAN transceiver connected to the CAN bus; a third CAN transceiver connected to the CAN bus; arbitration logic for transmitting and receiving the CAN data between the second CAN transceiver and the third CAN transceiver; a second switch connected between the CAN bus and the second CAN transceiver; and a third switch connected between the CAN bus and the third CAN transceiver, and The microcontroller unit sets the first switch to an open state and sets the second switch and the third switch to a closed state based on the setting signal to turn on the repeater mode.

4. The controller area network communication device according to claim 3, wherein: The microcontroller unit sets the first switch to the closed state and sets the second switch and the third switch to the open state based on the setting signal to turn off the repeater mode.

5. The controller area network communication device according to claim 3, wherein: The repeater circuit further comprises: a fourth switch for supplying a power supply voltage to the second CAN transceiver and the third CAN transceiver or cutting off the power supply voltage, and If the repeater mode is turned on, the microcontroller unit controls the fourth switch to close.

6. The controller area network communication device according to claim 3, wherein: The arbitration logic feeds back the CAN data transmitted and received between the second CAN transceiver and the third CAN transceiver to the microcontroller unit, and The microcontroller unit monitors the operating status of the repeater mode using the fed back CAN data.

7. A controller area network communication method of a controller area network communication device connected to a controller area network bus, the controller area network communication method comprising: performing CAN communications via a first CAN transceiver coupled to the CAN bus; operating in a repeater mode by setting up a connection with the CAN bus based on a setting signal; as well as The controller area network (CAN) data on the CAN bus is repeated in the repeater mode.

8. The controller area network communication method according to claim 7, wherein: The controller area network communication device comprises: a microcontroller unit for controlling said CAN communication via said first CAN transceiver; a first switch serially connected to the CAN bus; a second CAN transceiver connected to the CAN bus; a third CAN transceiver connected to the CAN bus; arbitration logic for transmitting and receiving the CAN data between the second CAN transceiver and the third CAN transceiver; a second switch connected between the CAN bus and the second CAN transceiver; and a third switch connected between the CAN bus and the third CAN transceiver, and Operating in the repeater mode includes setting the first switch to an open state and setting the second switch and the third switch to a closed state.

9. The controller area network communication method according to claim 8, further comprising: turning off the repeater mode by disconnecting from the CAN bus based on the setup signal, and Wherein, turning off the repeater mode includes setting the first switch to the closed state and setting the second switch and the third switch to the open state.

10. The controller area network communication method according to claim 9, wherein: Operating in the repeater mode further comprises supplying a power supply voltage to the second CAN transceiver and the third CAN transceiver, and Turning off the repeater mode further includes cutting off the supply voltage to the second CAN transceiver and the third CAN transceiver.

11. The controller area network communication method according to claim 8, further comprising: An operation status of the repeater mode is monitored using the CAN data transmitted and received between the second CAN transceiver and the third CAN transceiver.

12. The controller area network communication method according to claim 11, wherein: The monitoring includes: transmitting CAN data generated by the microcontroller unit via the first CAN transceiver; and The operational status of the repeater mode is monitored by comparing the CAN data generated by the microcontroller unit with the CAN data transmitted and received between the second CAN transceiver and the third CAN transceiver.

Citation Information

Cited By

  • Hard relay arbitration circuit of CAN bus

    CN120785678A