M329576 八、新型說明: 【新型所屬之技術領域】 本創作係有關一種具備USB-CAN/LIN Dongle功能的車輛網路控制 系統,其包括一 USB微控制器、一 CAN控制器、一 CAN收發器及一^ 收發器,使該USB微控制器得以分別將該CAN格式資料及該UN格式 資料轉換為該USB格式資料,俾能於電腦裝置監控、量測、診斷或控 制該車輛網路之各該節點裝置的狀態者。 ’ 【先前技術】 • 按,一般純機械式的車輛裝置設備,漸漸由電子或機電整合的裝 置所取代,所以為了讓車用電子產品及車輛裝置系統,能夠彼此相互 傳遞訊息,使車輛的電子設備系統具有故障診斷、自我修復及數據整 合等附加功能。因此,為了實現以上之功能,且提高行車的舒雜與 女全性,完善的通訊架構就變成相當重要。雖然現今用於資料傳輸的 規格有很多種,但是卻仍有很多不足的缺點,例如抗雜訊差、傳輸距 離短、不易使用與傳輸速度慢等諸多的缺失。 再者,CAN Controller Area Network”即區域控制網路,其是 •國際上應用最廣泛的匯流排之一。最初,區域控制網路被設計作為 汽車環境巾賴控制n通訊,在車輛巾的各電子控制設備(EGU)之間交 換資,形成汽車電子控制網路;例如發動機管理系統、變速箱控制 器、儀錶裝備、電子主幹系統中,均嵌入CAN控制設備。 LIN (Local Interconnect Netw〇rk)為一低成本的串列通訊網 路’用於實現汽車中的分散式電子系統控制,並提供現有汽車網路(如 CAN匯非)輔助功能,它是一種辅助的匯流排網路。在不需can匯流 排頻寬和多功能的場合,如智慧感測器和制動設備之間的通訊,使用 LIN匯流排可大大節省成本。UN技術規範中,除定義了基本協定和實 體層外,也定義開發工具和應用軟體介面;UN的通訊是基於SCI (麵τ) M329576 ^料格式,採料=制器/多從設傷的模式,僅使用一細信號匯 /,IL排,和一個無固定時間基準的節點同步時脈線。 典型的UN匯流排主要應用於車身系統,如:車 照明燈、紐❹iH等,錢方向盤、交流魏鱗。這此元&周氏 成本考量下’ LIN可以使它們,如智慧❹❻、_器或綠元件得到 較廣泛的制,很容㈣連制汽車轉巾,並得到 和服務,L職流排基於SC_f料格式,採用單一系统主= 個系統終賴式’ s簡僅由三根導線組成(麵、鱗及 1 LIN匯流排的驅動/接收器規範遵從·141標準且 处古 高。LIN在硬體和軟體上保證了網路節點的互操作性 ^ 腿等干擾問題。 mL ' 然而,-般運用於診斷及監控車輛之資訊轉換系統,其大 具備早純之職-GM或職-LIN的介φ雜的舰而已,目此 以兩組系統做USB-CAN或USB-LIN之_介面轉換,方驗行及、 監控位於車輛資訊網路上的節點裝置,因而造成維修、診斷、監# 輛之卽點裝置時的不便與困擾以及增加檢修成本。 本創作所欲解決的課題,主要係針對一般運用於 之資訊轉換系統所產生的缺失進价文良,由於該習用結構大 備單純之USB-CAN或USB-LIN的介面轉換的功能而已,因此,必 兩組系統做USB-CHUSB-LIN之_介面轉換,方能進行診= 控位於車輛資訊網路上的節點裝置,因而造成維修、診斷、^ 皿 之節點裝置時的不便與困擾以及增加檢修成本。 现工輛 ^緣是,本創作人有鑑於習用結構所造成於使用上的不便及困样 諸多的缺失,本創作人等人經不斷地努力研發下,終 ^ 習用結構缺失的本創作。 只卬汶菩该 【新型内容】 I > M329576 本創作之主要目的在於提供— 排’並可轉麵、CA_的格式資料,:β:::的= 路二個節咖 車輪特軸具備勝⑽功能的 本創作達成上述功效之技術手段在於,該聰 -貝料插接部與複數個資料輸出入部,該資料插接部可二 之- _主;插接資料連通,該電職置以—㈣匯㈣1置 1 微包含複數個資料輸出入部, 八Μ貝科輸出入摘該USB微控制器之其—該資料輸出 接’用以將該USB格式資料轉換成⑽格式資料,該c 資料輸出人部,其—該資料輸出人部與該⑽控制器 枓輸出入部電性連接,另―該資料輸出人部與該車輛之 離 ^網路連通,用靖轉換成該⑽格式資料料傳送到各_= 進行ID判斷與動作’該LIN收發器包含複數個資料輸出ϋ 資部與該USB微控彻之又一該資料輪出入部接1 丨一貝科輸出入部與一 SCI/UART介面連接該車 f另 (LIN) ^ ^ USB/LIN t , ^ USB ^ ^ 以分別將該CAN格式資料及該LIN格式資料轉換為該U 料了 =Ϊ電腦裝置監控、量測、診斷或控制該車輛網路之各該節點裝 【實施方式】 壹·本創作之基本技術特徵 請參看第-、二、五圖所示,本創作主要係針對車輛電 路的需求’並以USB與CAN及LIN介面為基礎 借右 USB-CAN/LIN Dongle功能的汽車網路控制系統,其十出具備有 7 M329576 • , -通用串列匯流排⑽)微控制器⑽,其包含有—資料 部(12),該資料插接部(11)可供與-電腦裝 ()之USB主曰曰4 (圖中未示)插接而做資料連通,該電腦 (^)以了通用串列匯流排⑽)〇3)傳送㈣格式資料給聰微控制 益(10 ), 一區_制網路(Controller AreaNetwork,CAN)控制哭(3〇), • 輸出入部(31),其一該資料輸出入部(31)二咖 被控―⑽之1料輸出入部⑽電性連接,用以將該 .料轉換成CAN格式資料; 八貝 丨-】,制網路⑽)收發器⑽’其包含複數個資料輸出入部 (41),,該貝料輸出人部⑹與該⑽控制器⑽之另—資 = (31)電性連接,另—該龍輸出人部(31)與該車輛之—⑽^域 桉制網路⑽連通’用以將該通格式資料傳送到 $ 進行ID判斷與動作;及 衣直 -本地互連網路(Local Interc〇nnect驗㈣,un)收 3〇仙其包含複數個資料輸出入糊),其—該資料輸出人部(‘ USB微控制器⑽之另一該資料輸出入部⑽電性連接,另一資料 部⑻)與-SC議τ 一介面⑽連接該車輛之一本地互連網路 、峨:、、_/LIN格式祕轉換的介面,使該USB微控制器⑽ 刀別將該CAN格式資料及該LIN格式資料轉換為該 裝肇)健,、賴_彳料輛⑽龍 、鹏(5G)(7G)之各該節點裝置⑸)⑺)的狀態。 武·本創作技術特徵之具體實施 2·1電腦裝置的具體實施 辦第ΓΓ五騎示,本創作之電腦裝置⑽係透過該· 雜制器(10)控制或量測該CAN與該UN節點褒置⑸)⑻,並實 8 M329576 現出一個完整的USB-CAN/LIN Dongle車輛網路控制系統,該USB微 控制器(10)之較佳實施例係為一 USB2· 0微控制器,該CAN控制器(3〇) 之較佳實施例係為係為一 CAN控制器晶片—SJA1000,使USB和 CAN/LIN的資料傳輸協定得以互相轉換,而可整合該USB與CAN及 LIN 之匯流排(13)(32)(72)。 本創作電腦裝置(20)之具體實施中,該電腦裝置(2〇)寫入有一 應用程式,該應用程式使用Visual c++ 6 〇的MFC所撰寫,並且使 •用LabView的部份物件來模擬CAN各個不同節點裝置⑸)的實際狀 # 况,0亥私式内谷係使用MFC的函式及配合物件導向的觀念所撰寫, 能夠迅速的處理USB資料的巨量傳輸,以及隨時掌控各節點裝置(51) 的狀態。 上述具體實施中之可行實施例,該應用程式可於該電腦裝置(2〇) ‘之-顯不器(21)(如第-圖所示)顯示一應用程式介面,其係撰寫使用 USB试控制益(1〇)進行資料的傳輸,用來設定及控制can各該節點裝 置(51)所連結的設備、裝置,且該應用程式介面可隨時地進行⑽的 驗收碼、遮蔽碼與鮑率之設定,不需將程式重置或重新開啟,並能夠 φ快速地配合所需的要求進行改變,在傳送及奴的資料方面,因為採 用,展格式,所以驗收碼、遮蔽碼、ID皆為卿如的資料,而傳送 ,資據·最長為叫如,並且朗十六進制的格式顯^或輸入, 鮑率叹疋方面有100K、2隨、伽K、5G0K、800K與10G0K等速率 式分為正常發送與自發自收格式,自收自發格式主 夠在4其他CAN節點裝置⑼時,得可以自我檢測CM資料 2 · 2USB微控制器的具體實施 請參看第一、二 M329576 « « 一 或傳遞資料的控制腳位(12〇)、一模擬則腳位以配合該CAN控制器(3〇)、 曰守序的模擬腳位(圖中未示)及複數個第一位址資料接腳(121),該can 控制器(30)之其一該資料輸出入部(31)包含有與該USB微控制器(1〇) 之該第一資料接腳(122)電性連接的第二位址資料接腳(31〇),當該CAN 匯流排(32)之該節點裝置(5丨)有傳輸資料回該電腦裝置(2〇)時,該CAN 格式資料藉由該CAN收發器(40)接收並傳送給該can控制器(30),再透 過該CAN控制器(30)第二資料接AD0〜AD7(31〇)才讀取出資料傳送給 ’該USB微控制器(1〇)再將該CAN格式資料轉換成該〇格式資料。 • 請參看第三、五圖所示,上述具體實施中之可行實施例,該USB 微控制器(10)之另一資料輸出入部(12)係為一串列槔(122),並以該 串列埠(122)與該LIN串列通訊網路(70)進行協定轉換。 2 · 3CAN區域控制網路的具體實施 請參看第二及第四、五圖所示,本創作CAN區域控制網路(5〇)之 係為一 Controller Area Network區域控制網路,其可於該車輛中的 各電子控制設備ECU (圖中未示)之間交換資訊,藉由該USB微控制 器(10)、該CAN控制器(30)及該CAN收發器(40)得以實現CAN節點裝 ^置(51)和電腦裝置(20)的ID、數據資料、格式的控制與發送,並可因 ~應不同的需求來設定鮑率與訊框格式。 2 · 4LIN串列通訊網路的具體實施 請參看第三圖所示,本創作本地互連網路(70)係為一 Local Interconnect Network串列通訊網絡,其基於SCI(UART)資料格式, 採用早主控制!§/多從設備的模式,其包含一條12V信號匯流排(圖 中未示)及一無固定時間基準的節點同步時脈線(圖中未示 參·本創作的具體運作 請參看第一、二圖所示,本創作結合USB微控制器(1〇)和CAN控 制器(30)作為USB-CAN/LIN Dongle的設計核心,使USB匯流排(13) M329576 與CAN匯流排(32)及LIN匯流排(72)得以整合,如此,即可使 USB-CAN/LIN Dongle能把USB和CAN/LIN的傳輸協定互相作轉換, USB-CAN/LIN Dongle傳輸裝置從電腦裝置(20)所撰寫的控制介面傳 送資料來控制整個CAN網路(50)。M329576 VIII. New Description: [New Technology Field] This is a vehicle network control system with USB-CAN/LIN Dongle function, including a USB microcontroller, a CAN controller, and a CAN transceiver. And a transceiver for enabling the USB microcontroller to convert the CAN format data and the UN format data into the USB format data, respectively, for monitoring, measuring, diagnosing or controlling the vehicle network of the computer device The state of the node device. '[Prior Art] • Press, generally purely mechanical vehicle equipment, gradually replaced by electronic or electromechanical integrated devices, so in order to allow vehicle electronics and vehicle system to communicate with each other, the vehicle's electronics The device system has additional features such as troubleshooting, self-healing, and data integration. Therefore, in order to achieve the above functions and improve the comfort and integrity of driving, a perfect communication architecture becomes very important. Although there are many specifications for data transmission today, there are still many shortcomings such as anti-noise difference, short transmission distance, difficulty in use and slow transmission speed. Furthermore, the CAN Controller Area Network, which is the regional control network, is one of the most widely used bus bars in the world. Initially, the regional control network was designed as a car environment to control n communication, in the vehicle towel Electronic control equipment (EGU) exchanges funds to form an automotive electronic control network; for example, engine management systems, transmission controllers, instrumentation, and electronic backbone systems are embedded in CAN control equipment. LIN (Local Interconnect Netw〇rk) A low-cost serial communication network that is used to implement decentralized electronic system control in automobiles and provides an auxiliary function for existing automotive networks (such as CAN sinking). It is an auxiliary bus network. The use of LIN busbars can save significant cost when the bus is wide-bandwidth and versatile, such as the communication between the smart sensor and the brake device. In addition to the basic agreement and the physical layer, the UN specification defines Development tools and application software interface; UN communication is based on SCI (surface τ) M329576 ^ material format, mining = controller / multi-injury mode, using only a small letter The sink/, IL row, and a node with no fixed time reference synchronize the clock line. Typical UN busbars are mainly used in body systems, such as: car lights, New Zealand iH, etc., money steering wheel, exchange Wei scale. & Zhou's cost considerations 'LIN can make them, such as smart ❹❻, _ or green components get a wider system, very (4) connected car spoo, and get and service, L job stream based on SC_f material format , using a single system main = system finalization 's simple consists of only three wires (face, scale and 1 LIN busbar drive / receiver specifications comply with the 141 standard and at the ancient high. LIN on hardware and software It ensures the interoperability of network nodes, such as leg and other interference problems. mL ' However, the information conversion system used for diagnosis and monitoring of vehicles has a large-scale early-grade job - GM or job-LIN The ship only has two sets of systems to do USB-CAN or USB-LIN interface conversion, to check and monitor the node devices located on the vehicle information network, thus causing maintenance, diagnosis, and monitoring Inconvenience and trouble, as well as increased maintenance The subject to be solved by this creation is mainly for the lack of price input generated by the information conversion system generally used. Because of the function of the USB-CAN or USB-LIN interface conversion function of the conventional structure, Therefore, the two systems must be USB-CHUSB-LIN interface conversion, in order to diagnose the control of the node device located on the vehicle information network, thus causing inconvenience and troubles in the maintenance, diagnosis, and node device of the dish. Maintenance cost. The current workmanship is that the creator has inconvenience in use and the lack of difficulties due to the use of the structure. The creator and others have been working hard to develop and finally use the missing structure. creation. Only Wenbo Bo [New Content] I > M329576 The main purpose of this creation is to provide - the layout of the 'can be transferred, CA_ format,: β::: = two roads The technical means for achieving the above-mentioned effects of the creation of the (10) function is that the Cong-beef material plug-in portion and the plurality of data input and output portions can be connected to the data-connected data connection. To - (4) sink (four) 1 set 1 micro contains a plurality of data input and output sections, and the gossip output is extracted from the USB microcontroller - the data output connection is used to convert the USB format data into (10) format data, the c The data output person department, the data output person is electrically connected to the (10) controller, the input and output unit, and the data output person is connected to the vehicle and is converted into the (10) format data. Transfer to each _= ID judgment and action 'The LIN transceiver contains a plurality of data output ϋ 与 与 与 USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB USB Interface to connect the car f (LIN) ^ ^ USB/LIN t , ^ USB ^ ^ Converting the CAN format data and the LIN format data into the U material respectively. Ϊ The computer device monitors, measures, diagnoses, or controls each node of the vehicle network. [Embodiment] 基本·The basic technical features of the creation Please refer to the first, second and fifth figures. This creation is mainly for the vehicle circuit requirements' and uses the USB and CAN and LIN interface as the basis for the right USB-CAN/LIN Dongle function of the vehicle network control system. There is a 7 M329576 •, - Universal Serial Bus (10)) microcontroller (10), which contains a data section (12), which is available for USB-based installation of the computer ()曰4 (not shown) is plugged in for data connection, the computer (^) uses the universal serial bus (10)) 〇 3) transmits (4) format data to Congwei Control Benefit (10), The Controller Area Network (CAN) controls the crying (3〇), • the input/output section (31), and the data input/output section (31) is controlled by the (10) 1 material input/output section (10) to electrically connect Material converted to CAN format data; 八贝丨-], system network (10) transceiver (10) 'which contains multiple data The input/output portion (41), the bedding output person portion (6) is electrically connected to the (10) controller (10), and the other is the (10) domain of the dragon output person (31) and the vehicle. The network (10) is connected to 'transfer the format data to $ for ID judgment and action; and the clothing-local interconnection network (Local Interc〇nnect test (4), un) receives 3 〇 其 it contains multiple data outputs In the data output department (the other part of the data output unit (10) of the USB microcontroller (10) is electrically connected, another data unit (8) is connected to the -SC τ interface (10). The interface of the Internet, 峨:, _/LIN format secret conversion, enables the USB microcontroller (10) to convert the CAN format data and the LIN format data into the decoration, and the 彳 彳 辆 (10) The state of each node device (5)) (7) of Long, Peng (5G) (7G). The specific implementation of the technical characteristics of Wu·this creation 2. The specific implementation of the computer device The fifth computer shows that the computer device (10) of this creation controls or measures the CAN and the UN node through the miscellaneous device (10).褒 (5)) (8), and real 8 M329576 shows a complete USB-CAN/LIN Dongle vehicle network control system, the preferred embodiment of the USB microcontroller (10) is a USB2.0 microcontroller The preferred embodiment of the CAN controller (3A) is a CAN controller chip-SJA1000, which enables USB and CAN/LIN data transfer protocols to be converted to each other, and can integrate the USB and CAN and LIN confluence. Row (13) (32) (72). In the specific implementation of the authoring computer device (20), the computer device (2〇) is written with an application written by MFC of Visual C++ 6 and used to simulate CAN with parts of LabView. The actual situation of each different node device (5)), written in the concept of MFC and the object-oriented concept, can quickly process the huge amount of USB data and control the node devices at any time. The status of (51). In the above specific implementation example, the application can display an application interface on the computer device (2)-display (21) (as shown in the figure), which is written using the USB test. Control benefit (1〇) for data transmission, used to set and control the devices and devices connected to each node device (51), and the application interface can perform (10) acceptance code, mask code and baud rate at any time. The setting does not need to reset or re-open the program, and can quickly change the required requirements. In terms of transmission and slave data, the acceptance code, mask code, and ID are all used because of the format and format. Qing Ruru's information, but the transmission, the longest is called, and the hexadecimal format is displayed or input, and the rate of sigh is 100K, 2 with, gamma K, 5G0K, 800K and 10G0K. The format is divided into normal transmission and spontaneous self-receiving format. The self-receiving format master can be self-detecting CM data when 4 other CAN node devices (9). 2 · 2USB microcontroller implementation Please refer to the first and second M329576 « « One or control of the transmission of data Bit (12〇), an analog pin to match the CAN controller (3〇), the compliant analog pin (not shown) and a plurality of first address data pins (121), The data input/output portion (31) of the controller (30) includes a second address data pin electrically connected to the first data pin (122) of the USB microcontroller (1). 31〇), when the node device (5丨) of the CAN bus (32) transmits data back to the computer device (2〇), the CAN format data is received and transmitted by the CAN transceiver (40) The can controller (30) transmits the data to the USB microcontroller (1〇 The data is converted into the 〇 format data. • Referring to the third embodiment and the fifth embodiment, in another embodiment of the present invention, another data input/output unit (12) of the USB microcontroller (10) is a serial port (122), and The serial port (122) is contracted with the LIN serial communication network (70). 2 · For the specific implementation of the 3CAN area control network, please refer to the second and fourth and fifth figures. The creation of the CAN area control network (5〇) is a Controller Area Network control network. Information is exchanged between each electronic control device ECU (not shown) in the vehicle, and the CAN node is implemented by the USB microcontroller (10), the CAN controller (30) and the CAN transceiver (40). ^ Set (51) and computer device (20) ID, data data, format control and transmission, and can set the baud rate and frame format due to different needs. 2 · 4LIN serial communication network implementation, please refer to the third figure, the creation of the local interconnection network (70) is a Local Interconnect Network serial communication network, based on SCI (UART) data format, using early master control !§/Multi-slave mode, which includes a 12V signal bus (not shown) and a node synchronization clock line without a fixed time reference (the figure does not show the specific operation of this creation, please refer to the first As shown in the second figure, this creation combines USB microcontroller (1〇) and CAN controller (30) as the design core of USB-CAN/LIN Dongle, making USB bus (13) M329576 and CAN bus (32) And the LIN bus (72) can be integrated, so that the USB-CAN/LIN Dongle can convert the USB and CAN/LIN transmission protocols to each other. The USB-CAN/LIN Dongle transmission device is from the computer device (20). The written control interface transmits data to control the entire CAN network (50).
請參看第一、二及第五圖所示,本創作透過USB^i:控制器(1 〇 )和CAN 控制器(30)的整合可以設計出的USB-CAN Dongle可以實現同樣是差動 式的USB資料與CAN資料透過進行轉換,並傳送電腦裝置(2〇)端所送出 之命令’以及接受從各個CAN節點裝置(51)所收到的狀態,由於USB 鲁微控制器(10)所延伸的週邊接腳中,第一位址資料接腳(121)與資料線 是分開的’因此需採用Memory Mapping的方式來作連接。其中,把can 控制器(30)當成一個記憶體使用,並由USB微控制器(1〇)之一控制腳位 (310)來判斷是否傳遞位址或傳遞資料,也就是相當於8〇51的以^功 能。因此’需再使用USB微控制器(1〇)兩支腳位來模擬出8〇51的WR和RD 功能,並且需要與模擬ALE的腳位配合好CAN控制器(30)時序才能進行 控制。 當發送資料時,該電腦裝置(2〇)端透過USB匯流排(13)傳送USB格 鲁式資料給USB微控制器(1〇),再透過腸微控制器(1〇)去控制CAN控制器 -(30)作資料格式的轉換,再藉由CAN收發器(4〇)(型號:pA82C251)把該 筆CAN格式的資料傳送到各個節點裝置(51)進行ID判斷與動作。 當CAN節點裝置⑸)有傳輸資料回電腦裝置(2〇)端時,則該資料會 藉由CAN收發器(4〇)接收並傳送給CAN控制器(30),然後再透過CAN控制 器(30)的第二位址資料接腳(31〇)(AD〇〜AD7)判斷位址後才讀取出資 料傳送給USB微控制器(1 〇 ),最後再由該usb微控制器(1 〇 )將CAN格式的 資料轉換成USB格式,再將此筆資料透過USB匯流排(13)送回至電腦裝 置(20)端進行分析、診斷、偵測或是監控。 另一方面,因為結合CAN匯流排(32)的抗雜訊能力佳、傳輸距離 11 M329576 逖與USB匯流排⑽傳輸速度快、隨插即用功能、操作簡單易於方便, 以及LIN匯流排⑽的低單價、易控制等三重優點,並能自動偵測鱼 配置系統的資源。然而透過最具人性化的_介面所以此⑽編N Dongle汽車網路控制系統可提供使用者最佳的操作模式。 肆·結論 因此’藉由上述結構設置’使本創作可以整合、⑽及[胸匯 k排,並可轉細SB、CAN及LIN的格式資料,而可進行車輛之診斷、控 制及監控位鱗輛軌祕上各㈣_置的雜,_具有操作簡 易、速度快以及易於擴充等諸多的特點。 ㈣^上所述僅為本創作之—可行實施例,並義嫌定本創作之 專,圍’凡舉依據下列申請專利細所述之内容、特徵以及其精神 Γίΐί他變化的等效實施,皆應包含於本創作之專利翻内。本創 作所具體狀於申請專利範圍之結構特徵,未見於同類物品,且具實 用!·生與進步性’已符合創作專利要件,爰依法具文提出申請,謹請鈞 局依法核料利,輯護本申請人合法之權益。 【圖式簡單說明】 第一圖係本創作基本架構之示意圖; 第二圖係本創作USB微控制器和控制器之硬體架構圖; 第二圖係本創作USB微控制器連接LIN收發 第四圖係本創作USB-CAN/LIND〇ngle介面操作流程圖冓圖 ^ 本創作Mb0飢她_以及節點裝置與UN節點裝 置的#作示意圖。 【主要元件符號說明】 (l〇)USB微控制器 ⑴)資料插接部 (12)(31)(41)(61)資料輸出人部⑽)控制腳位 (121)第一位址資料接腳 (122)串列埠 12 M329576 (13)(32)(72)匯流排 (20)電腦裝置 (21)顯示器 (30)CAN控制器 (310)第二位址資料接腳 (40)CAN收發器 (50)區域控制網路(CAN) (60)LIN收發器 (51)(71)節點裝置 (70)本地互連網路(LIN) 13Please refer to the first, second and fifth figures. The USB-CAN Dongle can be designed to achieve the same differential type through the integration of USB^i: controller (1 〇) and CAN controller (30). The USB data and CAN data are converted and transmitted by the command sent by the computer device (2〇) and accept the status received from each CAN node device (51), due to the USB Lu microcontroller (10) In the extended peripheral pin, the first address data pin (121) is separated from the data line. Therefore, Memory Mapping is required for connection. Among them, the can controller (30) is used as a memory, and one of the USB microcontrollers (1〇) controls the pin position (310) to determine whether to transmit the address or transfer the data, which is equivalent to 8〇51. With ^ function. Therefore, it is necessary to use the two pins of the USB microcontroller (1〇) to simulate the WR and RD functions of the 8〇51, and the CAN controller (30) timing needs to be matched with the analog ALE pin to control. When sending data, the computer device (2〇) transmits USB glu-type data to the USB microcontroller (1〇) through the USB bus (13), and then controls the CAN control through the intestinal microcontroller (1〇). The device-(30) converts the data format, and then transmits the CAN format data to each node device (51) by the CAN transceiver (4:) (model: pA82C251) for ID judgment and action. When the CAN node device (5)) transmits data back to the computer device (2〇), the data is received by the CAN transceiver (4〇) and transmitted to the CAN controller (30), and then through the CAN controller ( 30) The second address data pin (31〇) (AD〇~AD7) judges the address and then reads the data to the USB microcontroller (1 〇), and finally the USB controller (1) 〇) Convert the CAN format data to USB format, and then send the data back to the computer device (20) through the USB bus (13) for analysis, diagnosis, detection or monitoring. On the other hand, because of the excellent anti-noise capability combined with the CAN bus (32), the transmission distance of 11 M329576 逖 and the USB bus (10), the transmission speed is fast, the plug-and-play function, the operation is simple and easy, and the LIN bus (10) Low cost, easy to control and other three advantages, and can automatically detect the resources of the fish configuration system. However, through the most user-friendly interface, the (10) N Dongle automotive network control system provides users with the best operating mode.肆·Conclusion Therefore, 'by the above-mentioned structure setting', this creation can be integrated, (10) and [thoracic k-row, and can be transferred to the SB, CAN and LIN format data, and can be used for vehicle diagnosis, control and monitoring scales. The rails are secretly equipped with four (4) _, and have many features such as easy operation, fast speed and easy expansion. (4) The above description is only for the creative example of this creation, and it is considered that the creation of the book is based on the content, characteristics and spirit of the following application patents. It should be included in the patent of this creation. The purpose of this creation is that it is not found in the same type of articles, and it is not practical in the same category, and it is practical! · Health and progress' has met the requirements for the creation of patents, and has applied for it according to law. Protect the legal rights of the applicant. [Simple diagram of the diagram] The first diagram is a schematic diagram of the basic architecture of the creation; the second diagram is the hardware architecture diagram of the USB microcontroller and the controller of the creation; the second diagram is the USB transceiver of the author USB connection. Four pictures are the USB-CAN/LIND〇ngle interface operation flow chart of this creation. ^This creation Mb0 hunger her_ and the node device and UN node device #. [Main component symbol description] (l〇) USB microcontroller (1)) Data plug-in unit (12) (31) (41) (61) Data output person (10)) Control pin (121) First address data connection Foot (122) tandem 埠 12 M329576 (13) (32) (72) Busbar (20) Computer device (21) Display (30) CAN controller (310) Second address data pin (40) CAN transceiver (50) Area Control Network (CAN) (60) LIN Transceiver (51) (71) Node Device (70) Local Interconnect Network (LIN) 13