[go: up one dir, main page]

TWI870071B - Hybrid wired communication system combining controller area network (can) and other high speed communication technologies - Google Patents

Hybrid wired communication system combining controller area network (can) and other high speed communication technologies Download PDF

Info

Publication number
TWI870071B
TWI870071B TW112140069A TW112140069A TWI870071B TW I870071 B TWI870071 B TW I870071B TW 112140069 A TW112140069 A TW 112140069A TW 112140069 A TW112140069 A TW 112140069A TW I870071 B TWI870071 B TW I870071B
Authority
TW
Taiwan
Prior art keywords
speed
transceiver
signal
communication system
speed signal
Prior art date
Application number
TW112140069A
Other languages
Chinese (zh)
Other versions
TW202516872A (en
Inventor
周亭佑
李信賢
林峻儀
Original Assignee
香港商香港龍雲科技有限公司
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 香港商香港龍雲科技有限公司 filed Critical 香港商香港龍雲科技有限公司
Priority to CN202311642576.3A priority Critical patent/CN117640287A/en
Priority to US18/907,011 priority patent/US20250119314A1/en
Priority to EP24204855.1A priority patent/EP4576681A1/en
Application granted granted Critical
Publication of TWI870071B publication Critical patent/TWI870071B/en
Publication of TW202516872A publication Critical patent/TW202516872A/en

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

This invention discloses a wired communication system in which one communication medium of the wired communication system consists of two wires. The communication system comprises at least two high-speed communication units that are compatible with the CAN protocol. Each of these high-speed communication units comprises a first CAN transceiver utilized to modulate and transmit, or receive and demodulate CAN protocol signals. The first CAN transceiver does not transmit dominant signals that interfere with high-speed signals when the wired communication system is transmitting high-speed signals. The first CAN transceiver can only transmit signals only after a predetermined time period of time has elapsed since the dominant signaling ceased. The communication system has a default mechanism that allows all communication units connected to the same communication medium to know the start and end times of the transmission of high-speed signals for reception and demodulation. All communication units then release the default mechanism and return to the original CAN mode, awaiting for the appearance of the start of frame of the next signal and the arbitration for the next transmission signal.

Description

控制器區域網路與其它高速通訊技術混合的有線通訊系統Wired communication system that mixes CAN and other high-speed communication technologies

本發明關於一種通訊系統,尤指一種控制器區域網路技術(Controller Area Network 以下簡稱CAN)與其它高速通訊技術混合的有線通訊系統。The present invention relates to a communication system, and more particularly to a wired communication system that combines a controller area network (CAN) technology with other high-speed communication technologies.

目前已經習知CAN是應用最多的通訊協議之一,但CAN BUS頻寬不足是其最大缺點,頻寬不足使在此通訊系統中的各子系統(或節點)之間缺乏有效互聯或互通的情況,當各子系統之間無法正確地交換訊息,就會產生通訊孤島的問題。雖然目前另一彈性資料率的控制器區域網路(Controller Area Network Flexible Data-Rate,以下簡稱CAN FD)協議的最大速度為8Mbps,但對於當前及未來電動車的發展仍是一大限制。因通訊系統具有很高的頻寬使用率,即通訊通道幾乎一直都在被使用,那麼更容易出現資料重傳的問題。It is known that CAN is one of the most widely used communication protocols, but the insufficient bandwidth of CAN BUS is its biggest drawback. The insufficient bandwidth makes the subsystems (or nodes) in this communication system lack effective interconnection or intercommunication. When the subsystems cannot exchange information correctly, the problem of communication island will arise. Although the maximum speed of another flexible data rate controller area network (Controller Area Network Flexible Data-Rate, hereinafter referred to as CAN FD) protocol is 8Mbps, it is still a major limitation for the current and future development of electric vehicles. Because the communication system has a high bandwidth utilization rate, that is, the communication channel is almost always in use, it is more likely to have data retransmission problems.

除此之外,在CAN的協議中,通訊系統需要確定每個接口所連接的子系統(例如:感測器、控制器或其他設備)的數量是重要的,因為閘道器(Gateway)必須處理從這些子系統發送和接收的數據,每個CAN BUS的接口下掛載的子系統數量需要仔細分配,且需在閘道器上增加更多的CAN BUS的接口,並得考慮太高的頻寬使用率,更容易會有資料重傳的問題。如此一來,在頻寬不足且頻寬容易滿載的情況,擴充通訊系統內子系統的彈性將會受到限制,且為考量閘道器上各接口頻寬,車上的配線會更複雜,需要更多的連接線和設備,使整個系統更加複雜和難以管理。In addition, in the CAN protocol, it is important for the communication system to determine the number of subsystems (such as sensors, controllers or other devices) connected to each interface, because the gateway must process the data sent and received from these subsystems. The number of subsystems mounted under each CAN BUS interface needs to be carefully allocated, and more CAN BUS interfaces need to be added to the gateway. It is also necessary to consider that too high bandwidth utilization will more easily lead to data retransmission problems. As a result, when bandwidth is insufficient and easily fully loaded, the flexibility of expanding the subsystems within the communication system will be limited. In addition, in order to consider the bandwidth of each interface on the gateway, the wiring on the vehicle will be more complicated, requiring more connecting wires and equipment, making the entire system more complex and difficult to manage.

本發明提供了一種有線通訊系統,有線通訊系統整合CAN與其它高速通訊系統,例如OFDM(Orthogonal frequency-division multiplexing,簡稱OFDM): 正交振幅調變(Quadrature Amplitude Modulation,簡稱QAM)、或是序列器/解除序列器(Serializer/Deserializer,簡稱SerDes),作為上述問題的解決方案。此解決方案採用雙絞線、電力線或是同軸線等雙線系統當作傳輸媒介,可同時收發CAN(或是CAN FD)與其它高速通訊技術的訊息,既可保留CAN BUS在車內通訊的優點,又可以提升傳輸速度。以Homeplug AV2為例,其傳輸速率可以高達1Gbps,如果用類似的頻寬去設計一個合適的OFDM系統與CAN/CAN FD混用於車內通訊,可以讓車內通訊架構大幅簡化並且減少車內線束的使用量,達到降低成本,提高可靠性的目的。The present invention provides a wired communication system that integrates CAN and other high-speed communication systems, such as OFDM (Orthogonal frequency-division multiplexing, referred to as OFDM): Quadrature Amplitude Modulation (QAM), or Serializer/Deserializer (SerDes), as a solution to the above problem. This solution uses a two-wire system such as twisted pair, power line or coaxial line as a transmission medium, and can simultaneously send and receive CAN (or CAN FD) and other high-speed communication technology messages, which can retain the advantages of CAN BUS in in-vehicle communication and improve the transmission speed. Taking Homeplug AV2 as an example, its transmission rate can be as high as 1Gbps. If a similar bandwidth is used to design a suitable OFDM system and mix it with CAN/CAN FD for in-vehicle communication, the in-vehicle communication architecture can be greatly simplified and the use of in-vehicle wiring harnesses can be reduced, thereby achieving the purpose of reducing costs and improving reliability.

如圖1所示,如圖1所示,圖1顯示本發明控制器區域網路與其它高速通訊技術混合的有線通訊系統100,即有線通訊系統100是在同一組通訊媒介上混合使用高速通訊單元1、高速通訊單元2、以及一般的CAN通訊單元3或3A。As shown in FIG. 1 , FIG. 1 shows a wired communication system 100 that mixes the controller area network of the present invention with other high-speed communication technologies, that is, the wired communication system 100 mixes high-speed communication unit 1, high-speed communication unit 2, and general CAN communication unit 3 or 3A on the same set of communication media.

請注意,有線通訊系統100的通訊媒介是兩條導線組成,本實施例的有線通訊系統100是在同一組CAN BUS上,但本實施例不限於雙絞線、或電力線、或同軸線及其組合,且有線通訊系統100包含至少能兼容CAN協議的高速通訊單元1與高速通訊單元2;其中,高速通訊單元1與高速通訊單元2分別包含:特殊的第一CAN收發器10與另一個高速訊號收發器20,此高速訊號收發器20可以收發高速訊號而且與CAN收發器10之間有控制訊號連結、或是透過微控制器單元(microcontroller unit)MCU連結,且高速訊號收發器20與第一CAN收發器10之間可以進行協同運作。本實施例中,高速通訊單元1與高速通訊單元2分別具有第一CAN控制器11與MCU,第一CAN控制器11與MCU,耦接該第一CAN收發器10與高速訊號收發器20以進行控制,第一CAN控制器11與MCU可以調製數位訊號給第一CAN收發器10以發出符合CAN協議的訊號,也可以解調第一CAN收發器10送過來的數位訊號。Please note that the communication medium of the wired communication system 100 is composed of two wires. The wired communication system 100 of this embodiment is on the same CAN BUS, but this embodiment is not limited to twisted pair, power line, coaxial line and their combination, and the wired communication system 100 includes a high-speed communication unit 1 and a high-speed communication unit 2 that are at least compatible with the CAN protocol; wherein the high-speed communication unit 1 and the high-speed communication unit 2 respectively include: a special first CAN transceiver 10 and another high-speed signal transceiver 20, this high-speed signal transceiver 20 can transmit and receive high-speed signals and has a control signal connection with the CAN transceiver 10, or is connected through a microcontroller unit (MCU), and the high-speed signal transceiver 20 and the first CAN transceiver 10 can operate in coordination. In this embodiment, the high-speed communication unit 1 and the high-speed communication unit 2 respectively have a first CAN controller 11 and an MCU. The first CAN controller 11 and the MCU are coupled to the first CAN transceiver 10 and the high-speed signal transceiver 20 for control. The first CAN controller 11 and the MCU can modulate a digital signal to the first CAN transceiver 10 to send a signal that complies with the CAN protocol, and can also demodulate the digital signal sent by the first CAN transceiver 10.

特殊的第一CAN收發器10用以調製與發送、或接收與解調至少一CAN協議訊號;高速訊號收發器20使用為非CAN協議與CAN FD協議,高速訊號收發器20與第一CAN收發器10直接連結或耦合到同一組CAN BUS上,其收發的高速訊號物理層速率(PHY layer data rate)高於50M bit/sec。其中,第一CAN收發器10與高速訊號收發器20協同運作,且不在其發出高速訊號時發出顯性(dominant)訊號而破壞了高速訊號,換言之,高速訊號收發器20只有在其所屬高速通訊單元透過CAN協議的仲裁機制獲得發送權,且其協同運作的第一CAN收發器10在不發送顯性訊號之後的一預定時段後才可以發送訊號。本發明的耦合意謂透過電阻、電容、電感或其他元件可以將要傳送的訊號傳送至導線,或接受自導線上的訊號,且有線通訊系統100之訊號發送的仲裁機制維持與CAN協議相同。The special first CAN transceiver 10 is used to modulate and send, or receive and demodulate at least one CAN protocol signal; the high-speed signal transceiver 20 uses a non-CAN protocol and a CAN FD protocol. The high-speed signal transceiver 20 and the first CAN transceiver 10 are directly connected or coupled to the same CAN BUS, and the high-speed signal physical layer rate (PHY layer data rate) of the high-speed signal received and sent is higher than 50M bit/sec. The first CAN transceiver 10 and the high-speed signal transceiver 20 work in coordination, and do not send out dominant signals when sending out high-speed signals to destroy the high-speed signals. In other words, the high-speed signal transceiver 20 can send out signals only after the high-speed communication unit to which it belongs obtains the right to send through the arbitration mechanism of the CAN protocol, and the first CAN transceiver 10 that works in coordination with it does not send out dominant signals for a predetermined period of time. The coupling of the present invention means that the signal to be sent can be sent to the wire, or the signal on the wire can be received through a resistor, capacitor, inductor or other element, and the arbitration mechanism of the signal sending of the wired communication system 100 is maintained the same as the CAN protocol.

此外,在本實施例中,一般的CAN通訊單元3或3A透過高速訊號隔離器40使一般的CAN通訊單元3或3A也能耦合到同一組CAN BUS上正常工作,高速訊號隔離器40用以隔離CAN BUS上的高速訊號,而且CAN通訊單元3或3A內的錯誤計數器(Error Counter)(圖未示)的數值不會因為高速訊號發送而增加。高速訊號隔離器40一端耦接至CAN BUS,另一端耦接至該第二CAN收發器30、或第二CAN控制器50、或MCU。In addition, in this embodiment, the general CAN communication unit 3 or 3A can be coupled to the same CAN BUS through the high-speed signal isolator 40 so that the general CAN communication unit 3 or 3A can also work normally. The high-speed signal isolator 40 is used to isolate the high-speed signal on the CAN BUS, and the value of the error counter (not shown) in the CAN communication unit 3 or 3A will not increase due to the high-speed signal transmission. One end of the high-speed signal isolator 40 is coupled to the CAN BUS, and the other end is coupled to the second CAN transceiver 30, or the second CAN controller 50, or the MCU.

請參考圖2,圖2顯示高速隔離器40加到習知的CAN通訊單元3的示意圖;請注意,本實施例中的CAN通訊單元3包含一般的第二CAN收發器30、以及第二CAN控制器50或MCU;高速訊號隔離器40用以隔離來自同一組CAN BUS上的高速訊號,使第二CAN收發器30接收CAN訊號並傳送數位訊號給第二CAN控制器50或MCU,以維持此第二CAN控制器50或MCU的同步,且不增加CAN通訊單元3錯誤計數(Error Count)。Please refer to FIG. 2 , which shows a schematic diagram of a high-speed isolator 40 added to a known CAN communication unit 3. Please note that the CAN communication unit 3 in this embodiment includes a general second CAN transceiver 30 and a second CAN controller 50 or MCU. The high-speed signal isolator 40 is used to isolate the high-speed signal from the same CAN BUS, so that the second CAN transceiver 30 receives the CAN signal and transmits a digital signal to the second CAN controller 50 or MCU to maintain the synchronization of the second CAN controller 50 or MCU, and does not increase the error count of the CAN communication unit 3.

請同時參考圖3,圖3顯示高速隔離器40加到習知的CAN通訊單元3A的示意圖;請注意,本實施例中的CAN通訊單元3A包含第二CAN控制器50或MCU,與前述差異在於第二CAN收發器30可自CAN通訊單元3A分離並組合至高速訊號隔離器40,則高速訊號隔離器40可具備有第二CAN收發器30的功能;本實施例中,高速訊號隔離器40隔離來自同一組CAN BUS上的高速訊號,高速訊號隔離器40接收CAN訊號直接輸出數位訊號給第二CAN控制器50或MCU,以維持此第二CAN控制器50或MCU的同步,且不增加CAN通訊單元3A錯誤計數,此高速訊號隔離器也可視為特殊的第一CAN收發器。Please refer to FIG. 3 , which shows a schematic diagram of a high-speed isolator 40 added to a known CAN communication unit 3A. Please note that the CAN communication unit 3A in this embodiment includes a second CAN controller 50 or MCU. The difference from the above is that the second CAN transceiver 30 can be separated from the CAN communication unit 3A and combined with the high-speed signal isolator 40, so the high-speed signal isolator 40 can have the function of the second CAN transceiver 30. In this embodiment, the high-speed signal isolator 40 isolates the high-speed signal from the same CAN BUS. The high-speed signal isolator 40 receives the CAN signal and directly outputs a digital signal to the second CAN controller 50 or MCU to maintain the synchronization of the second CAN controller 50 or MCU, and does not increase the error count of the CAN communication unit 3A. This high-speed signal isolator can also be regarded as a special first CAN transceiver.

如圖2與圖3所述,當同一組CAN BUS上的某高速通訊單元發出高速訊號時,高速訊號隔離器40如同一個特殊的第一CAN收發器10一般,可以知道發送高速訊訊號的起始與結束時間以進行訊號隔離,不讓其連結的第二CAN收發器30、或第二CAN控制器50或MCU產生錯誤反應;如同圖2或圖3所示,高速訊號隔離器40的一端直接連結或耦合到同一組CAN BUS上,而其另一端連結或耦合到第二CAN收發器30、或第二CAN控制器50或MCU。As shown in FIG. 2 and FIG. 3 , when a high-speed communication unit on the same CAN BUS sends a high-speed signal, the high-speed signal isolator 40 is like a special first CAN transceiver 10, and can know the start and end time of sending the high-speed signal to isolate the signal, so as to prevent the second CAN transceiver 30, or the second CAN controller 50 or the MCU connected thereto from generating an error response; as shown in FIG. 2 or FIG. 3 , one end of the high-speed signal isolator 40 is directly connected or coupled to the same CAN BUS, and the other end thereof is connected or coupled to the second CAN transceiver 30, or the second CAN controller 50 or the MCU.

除此之外,在同一組CAN BUS上的一般的第二CAN收發器30,其第二CAN收發器30會進行預設措施,以避免高速訊號收發器20發送訊號時,第二CAN收發器30誤認系統上某個CAN發射器發出錯誤訊號、或是第一CAN收發器10產生接收器錯誤的訊號。In addition, in a general second CAN transceiver 30 on the same CAN BUS, the second CAN transceiver 30 will perform preset measures to prevent the second CAN transceiver 30 from mistaking a CAN transmitter in the system for sending an error signal or the first CAN transceiver 10 for generating a receiver error signal when the high-speed signal transceiver 20 sends a signal.

承上所述,讓連結在同一組CAN BUS上的第二CAN收發器30可以在高速訊號收發器20發射訊號時正常運作的方式之一就是,在第二CAN收發器30與CAN BUS間、或是第二CAN控制器50或MCU與CAN BUS間設置高速訊號隔離器40,透過它去隔絕高速訊號收發器發送的訊號,並且高速隔離器40發送特定訊號給其連結的一般的第二CAN收發器30,即高速訊號發送時,該高速訊號隔離器40持續發送另一符合CAN協議的訊號給其耦接之第二CAN收發器30,使其第二CAN收發器30能維持同步、而且其傳送錯誤計數器(TX error counter)(圖未示)與接收錯誤計數器(RX error counter) (圖未示)內的錯誤累積值不會增加。而特殊的第一CAN收發器10對於CAN BUS上正常的CAN訊號則不會去阻擋,讓第二CAN收發器30可以對CAN BUS上的CAN訊號做出正常回應。As mentioned above, one way to allow the second CAN transceiver 30 connected to the same CAN BUS to operate normally when the high-speed signal transceiver 20 transmits a signal is to set a high-speed signal isolator 40 between the second CAN transceiver 30 and the CAN BUS, or between the second CAN controller 50 or the MCU and the CAN BUS, to isolate the signal transmitted by the high-speed signal transceiver, and the high-speed isolator 40 sends a specific signal to the general second CAN transceiver 30 connected to it, that is, when the high-speed signal is transmitted, the high-speed signal isolator 40 continues to send another signal that complies with the CAN protocol to the second CAN transceiver 30 coupled to it, so that the second CAN transceiver 30 can maintain synchronization, and its transmission error counter (TX error counter) (not shown) and reception error counter (RX error counter) The error accumulation value in (not shown) will not increase. The special first CAN transceiver 10 will not block the normal CAN signal on the CAN BUS, so that the second CAN transceiver 30 can make a normal response to the CAN signal on the CAN BUS.

通訊系統100利用預設機制,例如通訊系統100透過正常CAN訊號特殊的編碼安排,特殊的第一CAN收發器10可以在高速收發器20發出非CAN訊號前預知高速收發器20發出訊號的時間,並通知高速收發器20進行接收或發送訊號;預設機制可以使其它連接於同一CAN BUS上的所有通訊單元,都可以得知發送高速訊號的起始與結束時間以進行接收與解調;以及所有通訊單元在之後解除預設機制回到原本的CAN模式,等待下一個訊號的欄框起始出現以及下一次的發送訊號之仲裁。如圖4與圖5所示,CAN BUS傳輸訊息會帶有ID(identifier),用以代表訊息優先級;同時,接收端可透過此ID進行信息過濾。標準的CAN格式有11bits ID,拓展式CAN格式有29bits ID,拓展式CAN格式較標準的CAN格式多18bits ID。在本實施例中,有線通訊系統100其預設機制是利用特殊編碼安排,特殊編碼安排的其中一種方式就是保留部分特殊ID(以下簡稱特殊ID)作為高速通訊單元1或高速通訊單元2通訊之用。每一個高速通訊單元發送正常CAN訊號時使用一般ID,而當要發出高速訊號時則使用特殊ID。有線通訊系統100必須預設這些特殊ID,而且所有特殊的第一CAN收發器10以及高速訊號隔離器40都可以辨識出這些特殊ID,使其知曉高速通訊單元未來將發出高速訊號而做出正確的反應。如此一來,即可確保所有高速訊號收發器20都會接收而且解調發送高速訊號到CAN BUS上,並且一般的第二CAN收發器30並不會接收到這些高速訊號而導致錯誤發生。由於使用ID來辨識,所以此系統仍舊能兼容現有的CAN與CAN FD協議的訊號格式,目前已習知的CAN BUS系統並不需要做軟件更新也能繼續使用。The communication system 100 utilizes a preset mechanism. For example, the communication system 100 uses a special coding arrangement of a normal CAN signal. The special first CAN transceiver 10 can predict the time when the high-speed transceiver 20 sends a signal before the high-speed transceiver 20 sends a non-CAN signal, and notify the high-speed transceiver 20 to receive or send a signal. The preset mechanism enables all other communication units connected to the same CAN BUS to know the start and end time of sending a high-speed signal for receiving and demodulating. All communication units then release the preset mechanism and return to the original CAN mode, waiting for the next signal frame to start and the next signal to be sent. As shown in Figures 4 and 5, the CAN BUS transmission message will carry an ID (identifier) to represent the message priority. At the same time, the receiving end can filter information through this ID. The standard CAN format has an 11-bit ID, and the extended CAN format has a 29-bit ID. The extended CAN format has 18 more bits of ID than the standard CAN format. In this embodiment, the default mechanism of the wired communication system 100 utilizes a special coding arrangement. One way of the special coding arrangement is to reserve some special IDs (hereinafter referred to as special IDs) for communication with the high-speed communication unit 1 or the high-speed communication unit 2. Each high-speed communication unit uses a general ID when sending a normal CAN signal, and uses a special ID when sending a high-speed signal. The wired communication system 100 must preset these special IDs, and all special first CAN transceivers 10 and high-speed signal isolators 40 can recognize these special IDs, so that they know that the high-speed communication unit will send a high-speed signal in the future and respond correctly. In this way, it can be ensured that all high-speed signal transceivers 20 will receive and demodulate the high-speed signals sent to the CAN BUS, and the general second CAN transceiver 30 will not receive these high-speed signals and cause errors. Since the ID is used for identification, the system is still compatible with the existing CAN and CAN FD protocol signal formats, and the currently known CAN BUS system does not need to be updated and can continue to be used.

一實施例中,圖4標準的CAN格式的欄位依序為欄框起始(Start of Frame,SOF)、11bits Identifier (ID)、單一遠程傳輸請求(single remote transmission request ,RTR)、標誌符擴展 (Identifier Extension,IDE)、保留位元(Reserved bit,R0)、資料長度碼(Data Length Code,DLC)、0~8 bytes資料 Data、循環冗餘校驗(cyclic redundancy check ,CRC)、確認碼 (Ack)、欄框終止(End of Frame,EOF)、欄框間隙(Interframe Space,IFS);其中0~8 bytes Data最多可以傳輸 64 位元的資料,且DLC為4位元長度,IFS為7位元長度,且本實施例的IDE表示正在傳輸不帶擴展的標準 CAN 標誌符。為了盡可能維持標準CAN格式的使用習慣,高速訊號發出的時間限制在資料區(DATA field)與循環冗餘校驗區(CRC field)的可使用區間。有線通訊系統100要先預設好不同DLC的值,使其對應的高速訊號會發出多長時間,其高速訊號發射主要利用資料區加上循環冗餘校驗區之時間總和,然後該有線通訊系統在高速訊號發送結束後會預先保留高速通訊單元的高速訊號接受器進行解調與CRC檢查時間後,接收高速訊號的高速通訊單元中的特殊的第一CAN收發器10會在高速訊號發送結束後回應正常CAN 格式中的確認(ACK)、欄框終止(End of Frame,EOF)與欄框間隙(Interframe Space,IFS),然後讓系統回到正常的CAN模式。高速訊號內含資料與CRC檢查碼,如果CRC驗證錯誤,仍然使用CAN格式的錯誤旗標(error flag)來反應。請注意,圖4的資料區為0~8 bytes DATA。In one embodiment, the fields of the standard CAN format of FIG. 4 are, in order, Start of Frame (SOF), 11 bits Identifier (ID), single remote transmission request (RTR), Identifier Extension (IDE), Reserved bit (R0), Data Length Code (DLC), 0~8 bytes Data, cyclic redundancy check (CRC), acknowledgment code (Ack), End of Frame (EOF), Interframe Space (IFS); wherein 0~8 bytes Data can transmit up to 64 bits of data, and DLC is 4 bits in length, and IFS is 7 bits in length, and the IDE of this embodiment indicates that the standard CAN identifier without extension is being transmitted. In order to maintain the usage habits of the standard CAN format as much as possible, the time for high-speed signal transmission is limited to the available period of the data area (DATA field) and the cyclic redundancy check area (CRC field). The wired communication system 100 should preset different DLC values to determine how long the corresponding high-speed signal will be sent. The high-speed signal transmission mainly uses the sum of the time of the data area plus the cyclic redundancy check area. Then, after the high-speed signal transmission is completed, the wired communication system will reserve the high-speed signal receiver of the high-speed communication unit for demodulation and CRC check time in advance. The special first CAN transceiver 10 in the high-speed communication unit that receives the high-speed signal will respond to the ACK, End of Frame (EOF) and Interframe Space (IFS) in the normal CAN format after the high-speed signal transmission is completed, and then the system returns to the normal CAN mode. The high-speed signal contains data and CRC check code. If the CRC verification is wrong, the error flag in the CAN format is still used to respond. Please note that the data area in Figure 4 is 0~8 bytes DATA.

接著請參考圖5,圖5擴展式的CAN格式的欄位依序為SOF、11bits ID、替代遠程請求(Substitute Remote Request,SRR)、IDE、18 bits ID 、RTR、保留位元R0與R1、資料長度碼(Data Length Code,DLC)、0~8 bytes資料 Data、循環冗餘校驗(cyclic redundancy check ,CRC)、確認碼 (Ack)、欄框終止(End of Frame,EOF)、欄框間隙(Interframe Space,IFS);其中,本實施例的IDE表示隱性位元指示其後面有更多識別碼位,18位元的擴展碼位在IDE之後。為了盡可能維持擴展式CAN的使用習慣,高速訊號發出的時間還是限制在資料區與循環冗餘校驗區的可使用區間。有線通訊系統100要先預設好不同DLC的值,使其對應的高速訊號會發出多長時間,其高速訊號發射主要利用資料區加上循環冗餘校驗區之時間總和,然後該有線通訊系統在高速訊號發送結束後會預先保留高速通訊單元的高速訊號接受器進行解調與CRC檢查時間後,讓其特殊的第一CAN收發器10可以回應ACK/EOF/IFS並回到正常CAN模式。高速訊號內含資料與CRC檢查碼,如果CRC驗證錯誤,仍然使用CAN格式的錯誤旗標(error flag)來反應。請注意,圖4的資料區為0~8 bytes DATA。Next, please refer to FIG. 5 . The fields of the extended CAN format in FIG. 5 are SOF, 11 bits ID, Substitute Remote Request (SRR), IDE, 18 bits ID, RTR, reserved bits R0 and R1, Data Length Code (DLC), 0~8 bytes Data, cyclic redundancy check (CRC), acknowledgment code (Ack), End of Frame (EOF), Interframe Space (IFS). Among them, the IDE of this embodiment indicates that there are more identification code bits behind it, and the 18-bit extended code bits are after the IDE. In order to maintain the usage habits of extended CAN as much as possible, the time for high-speed signal transmission is still limited to the available interval of the data area and the cyclic redundancy check area. The wired communication system 100 must first preset different DLC values to determine how long the corresponding high-speed signal will be transmitted. Its high-speed signal transmission mainly uses the total time of the data area plus the cyclic redundancy check area. Then, after the high-speed signal transmission is completed, the wired communication system will reserve the high-speed signal receiver of the high-speed communication unit for demodulation and CRC check time in advance, so that its special first CAN transceiver 10 can respond to ACK/EOF/IFS and return to normal CAN mode. The high-speed signal contains data and CRC check code. If the CRC verification is wrong, the CAN format error flag is still used to respond. Please note that the data area in Figure 4 is 0~8 bytes DATA.

請注意,高速訊號收發器20可以收發OFDM訊號、QAM訊號或是某種SerDes訊號,而且只有在本身隸屬的高速通訊單元取得發送權利,其特殊的第一CAN收發器10停止發送訊號後,才會發出訊號。Please note that the high-speed signal transceiver 20 can transmit and receive OFDM signals, QAM signals or some SerDes signals, and will only transmit signals after the high-speed communication unit to which it belongs obtains the transmission right and its special first CAN transceiver 10 stops transmitting signals.

承前所述,在圖4與圖5中,SOF為標示一個新的資料格式的開頭。仲裁區(Arbitration Field)包含了由網多個子系統(節點)用於確定在多個節點嘗試同時傳輸時,具有較低仲裁ID的節點具有優先權。而其他節點會暫停傳輸。控制區用於控制和管理資料傳輸。高速通訊單元可以正常收發一般的CAN格式訊號,但是特殊編碼方式被辨識出來要發送高速訊號時,資料區與循環多餘碼區可用於高速訊號傳送與接收,高速訊號傳輸內容已經包含驗證碼,無須使用低速的CAN格式來傳送。高速訊號發送完成後還要保留一段時間給高速訊號收發器20解調然後才開放給其他節點發送確認。確認區用於表示確認資訊。如果高速通訊單元因為干擾或其它原因不能正常解調高速訊號,高速訊號的發送端可透過確認碼、或發送端由接收端所發送錯誤旗標得知並進行重傳;接收端亦可能視情況透過下次取得優先權的時候通知原發送端重新發送原封包或直接丟棄原封包;重新發送原封包可以視狀況要求發送端用CAN模式或高速模式進行發送。As mentioned above, in Figures 4 and 5, SOF marks the beginning of a new data format. The Arbitration Field contains multiple subsystems (nodes) of the network and is used to determine that when multiple nodes attempt to transmit at the same time, the node with a lower arbitration ID has priority. Other nodes will suspend transmission. The control area is used to control and manage data transmission. The high-speed communication unit can normally send and receive general CAN format signals, but when a special encoding method is recognized and high-speed signals need to be sent, the data area and cyclic redundant code area can be used for high-speed signal transmission and reception. The high-speed signal transmission content already contains the verification code, so there is no need Transmit using low-speed CAN format. After the high-speed signal is sent, it will be retained for a period of time for the high-speed signal transceiver 20 to demodulate and then be opened to other nodes for sending confirmation. The confirmation area is used to represent confirmation information. If the high-speed communication unit cannot demodulate the high-speed signal normally due to interference or other reasons, the sender of the high-speed signal can know through the confirmation code or the error flag sent by the receiver and retransmit; the receiver may also The next time the priority is obtained, the original sender is notified to resend the original packet or directly discard the original packet; when the original packet is resent, the sender can be required to send it in CAN mode or high-speed mode depending on the situation.

除了資料區與循環冗餘校驗區區外,各區可使用原有CAN BUS訊息進行傳輸,藉此來保留CAN的優點,還可透過添加高速訊號隔離器的方法與目前的CAN BUS原有設備兼容。Except for the data area and the cyclic redundancy check area, each area can use the original CAN BUS message for transmission, thereby retaining the advantages of CAN. It can also be compatible with the current CAN BUS original equipment by adding a high-speed signal isolator.

要符合標準CAN/CAN FD格式與擴展CAN/CAN FD格式,只用資料區與循環冗餘校驗區的時間來傳輸高速通訊資料的話,則高速傳輸占用的時間比例上限大約在70%上下。如果要進一步提升高速傳輸的時間比例,可以用另一種編碼方式來宣告一段較長的連續傳輸時間(例如1毫秒(ms)),也就是把正常的資料區加上循環冗餘校驗區的時間總和進行時間延長,在不計算位元填充bit stuffing時間,其延長時間上限約是 80多微秒(µs)。特殊的第一CAN收發器10與其第一CAN控制器11可以刻意去忽略超時的錯誤,而且由於高速通訊單元通常有晶振電路甚至內建數位控制晶體振盪器 (Digital Controlled Crystal Oscillator,DCXO),可以在長時間後仍然維持準確的時鐘,不會喪失同步,所以這種特殊格式是可以允許的。但是高速訊號隔離器40在這段時間內還要維持讓其連結的一般的第二CAN收發器30一直同步而且錯誤計數(error count)不增加,那高速訊號隔離器40就要一直在合理時間內傳送假的EOF給其連結的一般的第二CAN收發器30。然後高速訊號隔離器40持續送出SOF並發出高優先級的ID給其連結的一般的第二CAN收發器30,如此可以阻擋其連結的一般的第二CAN收發器30不要在這段時間內搶到優先權而發出訊號。To comply with the standard CAN/CAN FD format and the extended CAN/CAN FD format, if only the data area and the cyclic redundancy check area are used to transmit high-speed communication data, the upper limit of the time ratio occupied by high-speed transmission is about 70%. If the time ratio of high-speed transmission is to be further increased, another encoding method can be used to declare a longer continuous transmission time (for example, 1 millisecond (ms)), that is, to extend the time by the sum of the normal data area and the cyclic redundancy check area. Without calculating the bit stuffing time, the upper limit of the extension time is about 80 microseconds (µs). The special first CAN transceiver 10 and its first CAN controller 11 can deliberately ignore the timeout error, and because the high-speed communication unit usually has a crystal oscillator circuit or even a built-in digital controlled crystal oscillator (DCXO), it can still maintain an accurate clock after a long time without losing synchronization, so this special format is allowed. However, during this period of time, the high-speed signal isolator 40 must also maintain the synchronization of the general second CAN transceiver 30 connected to it and the error count does not increase. Therefore, the high-speed signal isolator 40 must always send a false EOF to the general second CAN transceiver 30 connected to it within a reasonable time. Then the high-speed signal isolator 40 continues to send out SOF and sends out a high-priority ID to the second CAN transceiver 30 connected thereto, thereby preventing the second CAN transceiver 30 connected thereto from getting the priority and sending out a signal during this period of time.

請注意,高速通訊單元或是高速訊號隔離器要辨識特殊的長時間發出高速訊號的模式,可以使用特殊ID。當特殊ID被使用時,控制區 (control field)內的內容可以被重複用來辨識下一個要發出長時間的連續高速訊號,其連續高速訊號將會占用CAN BUS多少時間,則高速隔離器40即可依此限制一般的第二CAN收發器30。請注意,在標準CAN格式中,其控制區為欄位IDE、r0、以及DLC;在擴展CAN格式中,其控制區為欄位r1、r0、以及DLC。Please note that the high-speed communication unit or high-speed signal isolator can use a special ID to identify the special mode of sending high-speed signals for a long time. When the special ID is used, the content in the control field can be repeatedly used to identify the next long-term continuous high-speed signal to be sent, and how much time the continuous high-speed signal will occupy the CAN BUS. The high-speed isolator 40 can limit the general second CAN transceiver 30 accordingly. Please note that in the standard CAN format, the control field is the field IDE, r0, and DLC; in the extended CAN format, the control field is the field r1, r0, and DLC.

請注意,若有線通訊系統100連續發射高速訊號的時間超過資料區加上循環冗餘校驗區之時間總和,高速訊號隔離器40會持續發出另一符合CAN協議的訊號給其連結的第二CAN收發器30或該第二CAN控制器50,使第二CAN收發器30或第二CAN控制器50能保持與有線通訊系統100同步而且錯誤計數不增加,也能在下次有線通訊系統100的欄框起始(SOF)出現時,所有通訊單元參與下次的仲裁。Please note that if the time for which the wired communication system 100 continuously transmits high-speed signals exceeds the sum of the time of the data area plus the cyclic redundancy check area, the high-speed signal isolator 40 will continue to send another signal that complies with the CAN protocol to the second CAN transceiver 30 or the second CAN controller 50 connected thereto, so that the second CAN transceiver 30 or the second CAN controller 50 can maintain synchronization with the wired communication system 100 and the error count will not increase, and all communication units can participate in the next arbitration when the frame start (SOF) of the wired communication system 100 appears next time.

在另一個實施例中,重複用控制區內的DLC,原來的DLC是用來表示傳送訊息的data 長度(4 bits 編碼),透過改變編碼定義,可將此編碼用於表示長時間高速訊號模式需要搶占CAN BUS多少時間。如此一來,其有效數據量可以大幅提升(例如讓使用低速CAN格式佔據時間的比例下降到5%以內),而且傳輸完成後可以再回到原本的CAN 模式,去處理CAN訊號傳輸,此實施例仍然繼承CAN協議多傳多的優點。當高速訊號是100MHz頻寬來傳送OFDM訊號,如果每根子載波(sub carrier tone)解析度是10 bits,就代表此有線通訊系統100可以達到接近1Gbps的物理層速率(Physical Layer rate,PHY rate),也就是達到十億位元乙太網路(1000base-T Ethernet)的速率,但是仍可維持CAN協議中多對多的網路架構優勢,並且可以兼容舊的CAN系統。兼容CAN系統對許多汽車零組件製造商很重要,可以進行無痛升級,不需要針對原有軟硬體進行大幅改造。在有線通訊系統100的訊號中之控制區的格式在一般高速傳輸模式時,控制區格式是維持與CAN協議的訊號相同;以及訊號在長時間高速傳輸模式時的控制區格式維持與CAN協議的訊號相同,有線通訊系統100並在該控制區欄位重新定義高速訊號所需的時間以實現傳輸時間延伸。In another embodiment, the DLC in the control area is reused. The original DLC is used to indicate the data length of the transmitted message (4 bits encoding). By changing the encoding definition, this encoding can be used to indicate how much time the long-term high-speed signal mode needs to occupy the CAN BUS. In this way, the effective data volume can be greatly increased (for example, the proportion of time occupied by the low-speed CAN format is reduced to less than 5%), and after the transmission is completed, it can return to the original CAN mode to process the CAN signal transmission. This embodiment still inherits the advantage of the CAN protocol of more transmissions. When the high-speed signal is 100MHz bandwidth to transmit OFDM signals, if the resolution of each sub-carrier tone is 10 bits, it means that the wired communication system 100 can reach a physical layer rate (PHY rate) close to 1Gbps, that is, the rate of 1000base-T Ethernet, but it can still maintain the many-to-many network architecture advantage of the CAN protocol and be compatible with the old CAN system. Compatibility with the CAN system is very important for many automotive component manufacturers, and it can be upgraded painlessly without major modifications to the original software and hardware. In the normal high-speed transmission mode, the format of the control area in the signal of the wired communication system 100 is maintained the same as the signal of the CAN protocol; and in the long-term high-speed transmission mode, the format of the control area is maintained the same as the signal of the CAN protocol. The wired communication system 100 redefines the time required for the high-speed signal in the control area field to achieve transmission time extension.

請參考圖6,如果有線通訊系統要有高速通訊功能,又要兼容一般的CAN通訊單元3,而且原有電路結構的CAN通訊單元3不作任何更動,也就是不設置前述的高速訊號隔離器 ,在一實施例中,即在隱性位元(Recessive bit)時發出高頻通訊訊號,而且其高速訊號振幅要比一般的CAN通訊單元3發出的顯性位元Dominant bits訊號的振幅相對小,維持在CAN BUS 中間電位上下,不會讓CAN通訊單元3判斷成具有顯性位元(Dominant bit)後再發出即可;意即CAN通訊單元3不會因為高速通訊單元1或高速通訊單元2的運作而產生同步失鎖或是內建之錯誤計數器數字增加,高速通訊單元1或高速通訊單元2仍可與所屬的第一CAN收發器10協作,在第一CAN收發器10發送隱性位元的時間內發送高速訊號,而且此高速訊號的振幅比CAN通訊單元3發出的顯性位元之訊號的振幅小,不會造成CAN通訊單元3判斷為顯性位元。一個可行的具體作法描述如下: 當高速通訊單元1或2已經透過ID在仲裁區取得CAN BUS優先權,特殊的第一CAN收發器10在資料區中每發送五個隱性位元後即發送一個顯性位元,如此即可避免一般的CAN通訊單元3誤判位元填充錯誤,如圖7示意圖所示,五個隱性位元疊加高速訊號,且高速訊號夾帶真實需傳送資料,並高速訊號發送在特殊的第一CAN收發器10之隱性位元發送區間。除此之外,高速通訊單元1或2具備可調整高速訊號之訊號強度的功能,用以避免一般的CAN通訊單元3因高速訊號而誤判CAN BUS狀態。Please refer to FIG. 6. If the wired communication system needs to have a high-speed communication function and is compatible with the general CAN communication unit 3, and the original circuit structure of the CAN communication unit 3 is not changed, that is, the aforementioned high-speed signal isolator is not set. In one embodiment, a high-frequency communication signal is sent when the recessive bit is on, and the amplitude of the high-speed signal is relatively smaller than the amplitude of the dominant bits signal sent by the general CAN communication unit 3, and is maintained at around the middle potential of the CAN BUS, so that the CAN communication unit 3 will not judge it as having a dominant bit. bit) before sending it out; that is, the CAN communication unit 3 will not lose synchronization or increase the number of the built-in error counter due to the operation of the high-speed communication unit 1 or the high-speed communication unit 2. The high-speed communication unit 1 or the high-speed communication unit 2 can still cooperate with the first CAN transceiver 10 to which it belongs, and send a high-speed signal during the time when the first CAN transceiver 10 sends the recessive bit. Moreover, the amplitude of this high-speed signal is smaller than the amplitude of the dominant bit signal sent by the CAN communication unit 3, and will not cause the CAN communication unit 3 to judge it as a dominant bit. A feasible specific method is described as follows: When the high-speed communication unit 1 or 2 has obtained the CAN BUS priority in the arbitration area through the ID, the special first CAN transceiver 10 sends a dominant bit after sending five recessive bits in the data area, so as to avoid the general CAN communication unit 3 from misjudging the bit stuffing error. As shown in the schematic diagram of FIG7, five recessive bits are superimposed on the high-speed signal, and the high-speed signal is sandwiched with the real data to be transmitted, and the high-speed signal is sent in the recessive bit sending interval of the special first CAN transceiver 10. In addition, the high-speed communication unit 1 or 2 has the function of adjusting the signal strength of the high-speed signal to avoid the general CAN communication unit 3 from misjudging the CAN BUS status due to the high-speed signal.

請參考圖8,圖8顯示本發明另一實施例,有線通訊系統800具有非高速通訊單元4,且非高速通訊單元4具有第一CAN收發器10,非高速通訊單元4透過第一CAN收發器10連結或耦合到同一組CAN BUS上,且非高速通訊單元4不具有高速訊號收發器;換言之,非高速通訊單元4不傳輸高速訊號也可以直接在CAN BUS上使用第一CAN收發器10。Please refer to Figure 8, which shows another embodiment of the present invention. The wired communication system 800 has a non-high-speed communication unit 4, and the non-high-speed communication unit 4 has a first CAN transceiver 10. The non-high-speed communication unit 4 is connected or coupled to the same set of CAN BUS through the first CAN transceiver 10, and the non-high-speed communication unit 4 does not have a high-speed signal transceiver; in other words, the non-high-speed communication unit 4 does not transmit high-speed signals and can also use the first CAN transceiver 10 directly on the CAN BUS.

綜上所述,本發明提供了一種有線通訊系統,有線通訊系統整合CAN與其它高速通訊系統,可同時收發CAN(或是CAN FD)與其它高速通訊技術的訊息,既可保留CAN BUS在車內通訊的優點,又可以提升傳輸速度。In summary, the present invention provides a wired communication system that integrates CAN and other high-speed communication systems, and can simultaneously send and receive messages of CAN (or CAN FD) and other high-speed communication technologies, thereby retaining the advantages of CAN BUS in in-vehicle communication and improving the transmission speed.

100、800:有線通訊系統100, 800: Wired communication system

1、2:高速通訊單元1, 2: High-speed communication unit

3、3A:CAN通訊單元3. 3A: CAN communication unit

4:非高速通訊單元4: Non-high-speed communication unit

10:第一CAN收發器10: First CAN transceiver

11:第一CAN控制器11: First CAN controller

20:高速訊號收發器20: High-speed signal transceiver

30:第二CAN收發器30: Second CAN transceiver

40:高速訊號隔離器40: High-speed signal isolator

50:第二CAN控制器50: Second CAN controller

MCU:微控制器單元MCU: Microcontroller Unit

[圖1]顯示在同一條CAN BUS上混用高速通訊單元與一般的CAN通訊單元。 [圖2]顯示高速隔離器加到一個舊的CAN通訊單元的示意圖,原設計的CAN收發器無法被另一個特殊CAN收發器取代時的做法。 [圖3]顯示高速隔離器加到一個舊的CAN通訊單元的示意圖,原設計的CAN收發器可以被另一個特殊CAN收發器取代時的做法。 [圖4]標準CAN格式以及高速通訊訊號使用的區間。 [圖5]擴展CAN格式以及高速通訊訊號使用的區間。 [圖6]顯示在同一條CAN BUS上混用高速通訊單元與一般的CAN通訊單元(無高速訊號隔離器)。 [圖7]顯示圖6的CAN訊號示意圖。 [圖8]顯示本發明另一實施例。 [Figure 1] shows the mixing of high-speed communication units and general CAN communication units on the same CAN BUS. [Figure 2] shows a schematic diagram of adding a high-speed isolator to an old CAN communication unit, when the original CAN transceiver cannot be replaced by another special CAN transceiver. [Figure 3] shows a schematic diagram of adding a high-speed isolator to an old CAN communication unit, when the original CAN transceiver can be replaced by another special CAN transceiver. [Figure 4] Standard CAN format and the range used by high-speed communication signals. [Figure 5] Extended CAN format and the range used by high-speed communication signals. [Figure 6] shows the mixing of high-speed communication units and general CAN communication units on the same CAN BUS (without high-speed signal isolators). [Figure 7] shows the CAN signal schematic diagram of Figure 6. [Figure 8] shows another embodiment of the present invention.

100:有線通訊系統 100: Wired communication system

1、2:高速通訊單元 1, 2: High-speed communication unit

3、3A:CAN通訊單元 3. 3A: CAN communication unit

10:第一CAN收發器 10: The first CAN transceiver

11:第一CAN控制器 11: First CAN controller

20:高速訊號收發器 20: High-speed signal transceiver

30:第二CAN收發器 30: Second CAN transceiver

40:高速訊號隔離器 40: High-speed signal isolator

50:第二CAN控制器 50: Second CAN controller

MCU:微控制器單元 MCU: Microcontroller Unit

Claims (12)

一種有線OFDM通訊系統,其中,該有線OFDM通訊系統的一通訊媒介是兩條導線組成,且該有線OFDM通訊系統包含至少能兼容CAN協議的兩個一高速通訊單元,每一個該些高速通訊單元包含:一第一CAN收發器,用以調製與發送、或接收與解調CAN協議訊號;其中,因該有線OFDM通訊系統具有一預設機制,該預設機制可以使其它連接於同一該通訊媒介上的所有通訊單元,都可以得知發送高速訊號的起始與結束時間以進行接收與解調;該第一CAN收發器依據該預設機制能不在其該有線OFDM通訊系統發出高速訊號時發出顯性(dominant)訊號而破壞了高速訊號;該第一CAN收發器依據該預設機制,能在不發送顯性訊號之後的一預定時段後才可以發送訊號;以及所有通訊單元在之後解除該預設機制回到原本的CAN模式,等待下一個訊號的欄框起始出現以及下一次的發送訊號之仲裁。 A wired OFDM communication system, wherein a communication medium of the wired OFDM communication system is composed of two wires, and the wired OFDM communication system includes at least two high-speed communication units compatible with the CAN protocol, each of which includes: a first CAN transceiver for modulating and sending, or receiving and demodulating CAN protocol signals; wherein, because the wired OFDM communication system has a preset mechanism, the preset mechanism enables all communication units connected to the same communication medium to know the transmission of high-speed signals; The start and end time of the signal are used for reception and demodulation; the first CAN transceiver can not send a dominant signal according to the preset mechanism when the wired OFDM communication system sends a high-speed signal to destroy the high-speed signal; the first CAN transceiver can send a signal after a predetermined period of time after not sending a dominant signal according to the preset mechanism; and all communication units then release the preset mechanism and return to the original CAN mode, waiting for the next signal frame to start and the arbitration of the next signal transmission. 如請求項1所述之有線OFDM通訊系統,其中,該些高速通訊單元包含:一高速訊號收發器,使用為非CAN協議與CAN FD協議,該高速訊號收發器與該第一CAN收發器直接連結或耦合到同一該通訊媒介 上,其收發的高速訊號物理層速率(PHY layer data rate)高於50M bit/sec;以及一第一CAN控制器與一MCU,耦接至該第一CAN收發器與該高速訊號收發器以進行控制,該第一CAN控制器與該MCU可以調製數位訊號給該第一CAN收發器以發出符合CAN協議的訊號,也可以解調該第一CAN收發器送過來的數位訊號;其中,該第一CAN收發器與該高速訊號收發器協同運作,且該第一CAN收發器不在其該高速訊號收發器發出高速訊號時發出顯性(dominant)訊號而破壞了高速訊號。 The wired OFDM communication system as described in claim 1, wherein the high-speed communication units include: a high-speed signal transceiver, using a non-CAN protocol and a CAN FD protocol, the high-speed signal transceiver and the first CAN transceiver are directly connected or coupled to the same communication medium, and the high-speed signal physical layer rate (PHY layer data rate) of the high-speed signal received and transmitted is higher than 50M bit/sec; and a first CAN controller and an MCU coupled to the first CAN transceiver and the high-speed signal transceiver for control, the first CAN controller and the MCU can modulate digital signals to the first CAN transceiver to send signals that comply with the CAN protocol, and can also demodulate digital signals sent by the first CAN transceiver; wherein the first CAN transceiver and the high-speed signal transceiver operate in coordination, and the first CAN transceiver does not send a dominant signal when the high-speed signal transceiver sends a high-speed signal to destroy the high-speed signal. 如請求項2所述之有線OFDM通訊系統,其中,該有線OFDM通訊系統之訊號發送的仲裁機制維持與CAN協議相同。 A wired OFDM communication system as described in claim 2, wherein the arbitration mechanism for signal transmission of the wired OFDM communication system remains the same as the CAN protocol. 如請求項2所述之有線OFDM通訊系統,其中,該有線OFDM通訊系統包含一CAN通訊單元且該CAN通訊單元為非該高速通訊單元。 A wired OFDM communication system as described in claim 2, wherein the wired OFDM communication system includes a CAN communication unit and the CAN communication unit is not the high-speed communication unit. 如請求項2所述之有線OFDM通訊系統,其中,該高速通訊單元可以收發至少一種CAN或是CAN FD協議的訊號,或收發至少一種高速訊號來提升通訊速度。 A wired OFDM communication system as described in claim 2, wherein the high-speed communication unit can transmit and receive at least one CAN or CAN FD protocol signal, or transmit and receive at least one high-speed signal to increase the communication speed. 如請求項5所述之有線OFDM通訊系統,其中,在該有線OFDM通訊系統的訊號中之一控制區的格式在一般高速傳輸模式時,該控制區格式是維持與CAN協議的訊號相同;以及訊號在長時間高速傳輸模式時的該控制區格式維持與CAN協議的訊號相同,該有線OFDM通 訊系統並在該控制區欄位重新定義高速訊號所需的時間以實現傳輸時間延伸。 A wired OFDM communication system as described in claim 5, wherein the format of a control region in a signal of the wired OFDM communication system is maintained the same as that of a signal of the CAN protocol when in a normal high-speed transmission mode; and the format of the control region in a signal of the long-term high-speed transmission mode is maintained the same as that of a signal of the CAN protocol, and the wired OFDM communication system redefines the time required for the high-speed signal in the control region field to achieve transmission time extension. 如請求項5所述之有線OFDM通訊系統,其中,其高速訊號發射主要利用一資料區(Data field)加上循環冗餘校驗區(CRC field)之時間總和;該有線OFDM通訊系統在高速訊號發送結束後會保留足夠時間讓高速通訊單元進行解調,然後讓該第一CAN收發器回覆確認(ACK);如果該高速通訊單元因為干擾或其它原因不能正常解調高速訊號,高速訊號的發送端可透過確認碼、或發送端由接收端發送錯誤旗標(error flag)得知並進行重傳;接收端亦可能視情況透過下次取得優先權的時候通知原發送端重新發送原封包或直接丟棄原封包;重新發送原封包可以視狀況要求發送端用CAN模式或高速模式進行發送。 A wired OFDM communication system as described in claim 5, wherein the high-speed signal transmission mainly utilizes the time sum of a data field and a cyclic redundancy check field (CRC field); the wired OFDM communication system reserves sufficient time for the high-speed communication unit to demodulate after the high-speed signal transmission is completed, and then allows the first CAN transceiver to reply with an acknowledgment (ACK); if the high-speed communication unit cannot demodulate the high-speed signal normally due to interference or other reasons, the sending end of the high-speed signal can use an acknowledgment code, or the sending end can send an error flag (error) from the receiving end. flag) and retransmit; the receiving end may also notify the original sender to resend the original packet or directly discard the original packet when it obtains priority next time, depending on the situation; the resending of the original packet can require the sender to send it in CAN mode or high-speed mode depending on the situation. 如請求項4所述之有線OFDM通訊系統,其中,該CAN通訊單元包含:一高速訊號隔離器,用以隔離該通訊媒介上的高速訊號;一第二CAN收發器,耦接至該高速訊號隔離器的另一端,並透過該高速訊號隔離器耦合至該通訊媒介上正常運作,而且其該第二CAN收發器的錯誤計數器(error counter)的數值不會因為該通訊媒介上的高速訊號發送而增加;且在高速訊號發送時,該高速訊號隔離器持續發送另一符合CAN協議的訊號給其耦接之該第二CAN收發器使其維持同步;以及一第二CAN控制器,耦接至該第二CAN收發器以對該第二CAN收發器進行控制; 其中,該高速訊號隔離器可以獲得在該通訊媒介上所發送高速通訊訊號的起始與結束時間以進行訊號隔離,不讓其連結的該第二CAN收發器或該第二CAN控制器產生錯誤反應。 The wired OFDM communication system as described in claim 4, wherein the CAN communication unit comprises: a high-speed signal isolator for isolating the high-speed signal on the communication medium; a second CAN transceiver coupled to the other end of the high-speed signal isolator and coupled to the communication medium through the high-speed signal isolator for normal operation, and an error counter (error The value of the high-speed signal counter will not increase due to the high-speed signal transmission on the communication medium; and when the high-speed signal is transmitted, the high-speed signal isolator continuously sends another signal that complies with the CAN protocol to the second CAN transceiver coupled to it to maintain synchronization; and a second CAN controller is coupled to the second CAN transceiver to control the second CAN transceiver; Wherein, the high-speed signal isolator can obtain the start and end time of the high-speed communication signal transmitted on the communication medium to perform signal isolation, so as to prevent the second CAN transceiver or the second CAN controller connected to it from generating an error response. 如請求項5所述之有線OFDM通訊系統,其中,該有線OFDM通訊系統包含一非高速通訊單元,具有該第一CAN收發器,並透過該第一CAN收發器連結或耦合到同一該通訊媒介上,且該非高速通訊單元不具有該高速訊號收發器。 A wired OFDM communication system as described in claim 5, wherein the wired OFDM communication system includes a non-high-speed communication unit having the first CAN transceiver and connected or coupled to the same communication medium through the first CAN transceiver, and the non-high-speed communication unit does not have the high-speed signal transceiver. 如請求項6所述之有線OFDM通訊系統,其中,當其連續發射高速訊號的時間超過資料區加上循環冗餘校驗區之時間總和,該高速訊號隔離器會持續發出另一符合CAN協議的訊號給其連結的該第二CAN收發器或該第二CAN控制器,使該第二CAN收發器或該第二CAN控制器能保持與該有線OFDM通訊系統同步而且錯誤計數不增加,也能在下次有線OFDM通訊系統的欄框起始(SOF)出現時,所有通訊單元參與下次的仲裁。 A wired OFDM communication system as described in claim 6, wherein when the time of continuously transmitting high-speed signals exceeds the sum of the time of the data area plus the cyclic redundancy check area, the high-speed signal isolator will continue to send another signal that complies with the CAN protocol to the second CAN transceiver or the second CAN controller connected thereto, so that the second CAN transceiver or the second CAN controller can maintain synchronization with the wired OFDM communication system and the error count does not increase, and all communication units can participate in the next arbitration when the frame start (SOF) of the wired OFDM communication system appears next time. 如請求項3所述有線OFDM通訊系統,其中,該通訊媒介上連接至少一個一CAN通訊單元,其中,該CAN通訊單元不會因為該高速通訊單元的運作而產生同步失鎖或是內建之錯誤計數器數字增加;該高速通訊單元仍可與該第一CAN收發器協作,在該第一CAN收發器發送隱性位元的時間內發送高速訊號,而且此高速訊號的振幅比該CAN通訊單元發出的顯性位元之訊號的振幅小,不會造成該CAN通訊單元判斷為顯性位元。 A wired OFDM communication system as described in claim 3, wherein at least one CAN communication unit is connected to the communication medium, wherein the CAN communication unit will not lose synchronization or increase the number of the built-in error counter due to the operation of the high-speed communication unit; the high-speed communication unit can still cooperate with the first CAN transceiver to send a high-speed signal during the time when the first CAN transceiver sends a recessive bit, and the amplitude of the high-speed signal is smaller than the amplitude of the dominant bit signal sent by the CAN communication unit, and will not cause the CAN communication unit to judge it as a dominant bit. 如請求項6所述有線OFDM通訊系統,其中,該高速通訊單元發送正常的CAN訊號時使用一第一ID,而當要發出高速訊號時則使用一第二ID;該第一CAN收發器透過該第二ID以判斷訊號為一般高速傳輸模式、或長時間高速傳輸模式。A wired OFDM communication system as described in claim 6, wherein the high-speed communication unit uses a first ID when sending a normal CAN signal and uses a second ID when sending a high-speed signal; the first CAN transceiver uses the second ID to determine whether the signal is a general high-speed transmission mode or a long-term high-speed transmission mode.
TW112140069A 2023-10-06 2023-10-19 Hybrid wired communication system combining controller area network (can) and other high speed communication technologies TWI870071B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202311642576.3A CN117640287A (en) 2023-10-06 2023-12-04 Wire communication system of controller area network and other high-speed communication technology
US18/907,011 US20250119314A1 (en) 2023-10-06 2024-10-04 Hybrid Wired Communication System Combining Controller Area Network (CAN) and Other High Speed Communication Technologies
EP24204855.1A EP4576681A1 (en) 2023-10-06 2024-10-04 Hybrid wired communication system combining controller area network (can) and other high speed communication technologies

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW112138625 2023-10-06
TW112138625 2023-10-06

Publications (2)

Publication Number Publication Date
TWI870071B true TWI870071B (en) 2025-01-11
TW202516872A TW202516872A (en) 2025-04-16

Family

ID=95151697

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112140069A TWI870071B (en) 2023-10-06 2023-10-19 Hybrid wired communication system combining controller area network (can) and other high speed communication technologies

Country Status (1)

Country Link
TW (1) TWI870071B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2985955A1 (en) * 2014-08-15 2016-02-17 Nxp B.V. Controller area network (can) device and method for emulating classic can error management
US20210399919A1 (en) * 2018-11-12 2021-12-23 Robert Bosch Gmbh Error frame shielding unit for a user station of a serial bus system, and method for communicating in a serial bus system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2985955A1 (en) * 2014-08-15 2016-02-17 Nxp B.V. Controller area network (can) device and method for emulating classic can error management
US20210399919A1 (en) * 2018-11-12 2021-12-23 Robert Bosch Gmbh Error frame shielding unit for a user station of a serial bus system, and method for communicating in a serial bus system

Also Published As

Publication number Publication date
TW202516872A (en) 2025-04-16

Similar Documents

Publication Publication Date Title
US9137037B2 (en) Method for transmitting data among subscriber stations of a bus system
CN103155493B (en) Method and subscriber station for optimal data transmission between subscriber stations of a bus system
US20210399919A1 (en) Error frame shielding unit for a user station of a serial bus system, and method for communicating in a serial bus system
CN113994638B (en) Subscriber station for a serial bus system and method for communication in a serial bus system
US11706049B2 (en) Subscriber station for a serial bus system and method for communication in a serial bus system
US20090245120A1 (en) Ethernet Physical Layer Transceiver with Auto-Ranging Function
US11909553B2 (en) Frame screening unit, user station for a serial bus system, and method for communicating in a serial bus system
CN105915311B (en) Subscriber station of a bus system and method for time-optimized transmission of data in a bus system
JP4220208B2 (en) Deterministic fieldbus and method of managing such a bus
US11831466B2 (en) User station for a serial bus system, and method for transmitting a message in a serial bus system
TWI870071B (en) Hybrid wired communication system combining controller area network (can) and other high speed communication technologies
NL2028071B1 (en) Communication control device and transceiver for a user station of a serial bus system, bussystem and method for communicating in a serial bus system
NL2028066B1 (en) Communication control device and transceiver for a user station of a serial bus system and method for communicating in a serial bus system
Umehara et al. Controller area network and its reduced wiring technology
CN111713074A (en) Subscriber station for a serial bus system and method for signaling errors for messages received in a serial bus system
EP4576681A1 (en) Hybrid wired communication system combining controller area network (can) and other high speed communication technologies
CN117640287A (en) Wire communication system of controller area network and other high-speed communication technology
CN115380511A (en) Interface module for a communication control device, transmitting/receiving device for a subscriber station of a serial bus system, and method for communication in a serial bus system
CN105391666A (en) Multi-service bus transmission system and transmission method based on FSK modem
CN115280726B (en) Transmitting/receiving device, communication control device, and communication method
US11838145B2 (en) Communication control device and transmitting/receiving device for a subscriber station of a serial bus system and method for communication in a serial bus system
CN117155730A (en) Transmitting/receiving apparatus and method for receiving differential signal in serial bus system
CN120074981A (en) Subscriber station and method for deterministic communication in a serial bus system
CN118921248A (en) Subscriber station for a serial bus system and method for communication in a serial bus system
CN115244901A (en) Transmit/receive device for a subscriber station of a serial bus system and method for communication in a serial bus system