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 PDFInfo
- 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
Links
Images
Landscapes
- Small-Scale Networks (AREA)
- Communication Control (AREA)
Abstract
Description
本發明關於一種通訊系統,尤指一種控制器區域網路技術(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
請注意,有線通訊系統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
特殊的第一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
此外,在本實施例中,一般的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
請參考圖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-
請同時參考圖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-
如圖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-
除此之外,在同一組CAN BUS上的一般的第二CAN收發器30,其第二CAN收發器30會進行預設措施,以避免高速訊號收發器20發送訊號時,第二CAN收發器30誤認系統上某個CAN發射器發出錯誤訊號、或是第一CAN收發器10產生接收器錯誤的訊號。In addition, in a general
承上所述,讓連結在同一組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
通訊系統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
一實施例中,圖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
接著請參考圖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
請注意,高速訊號收發器20可以收發OFDM訊號、QAM訊號或是某種SerDes訊號,而且只有在本身隸屬的高速通訊單元取得發送權利,其特殊的第一CAN收發器10停止發送訊號後,才會發出訊號。Please note that the high-
承前所述,在圖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-
除了資料區與循環冗餘校驗區區外,各區可使用原有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
請注意,高速通訊單元或是高速訊號隔離器要辨識特殊的長時間發出高速訊號的模式,可以使用特殊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-
請注意,若有線通訊系統100連續發射高速訊號的時間超過資料區加上循環冗餘校驗區之時間總和,高速訊號隔離器40會持續發出另一符合CAN協議的訊號給其連結的第二CAN收發器30或該第二CAN控制器50,使第二CAN收發器30或第二CAN控制器50能保持與有線通訊系統100同步而且錯誤計數不增加,也能在下次有線通訊系統100的欄框起始(SOF)出現時,所有通訊單元參與下次的仲裁。Please note that if the time for which the wired
在另一個實施例中,重複用控制區內的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
請參考圖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
請參考圖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
綜上所述,本發明提供了一種有線通訊系統,有線通訊系統整合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)
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)
| 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 |
-
2023
- 2023-10-19 TW TW112140069A patent/TWI870071B/en active
Patent Citations (2)
| 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 |