TWM329576U - Vehicular network control system with USB-CAN/LIN Dongle function - Google Patents

Vehicular network control system with USB-CAN/LIN Dongle function Download PDF

Info

Publication number
TWM329576U
TWM329576U TW96217346U TW96217346U TWM329576U TW M329576 U TWM329576 U TW M329576U TW 96217346 U TW96217346 U TW 96217346U TW 96217346 U TW96217346 U TW 96217346U TW M329576 U TWM329576 U TW M329576U
Authority
TW
Taiwan
Prior art keywords
data
usb
network
control
format
Prior art date
Application number
TW96217346U
Other languages
Chinese (zh)
Inventor
yong-han Xu
Yuan-Yong Xu
Original Assignee
Univ Nat Formosa
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 Univ Nat Formosa filed Critical Univ Nat Formosa
Priority to TW96217346U priority Critical patent/TWM329576U/en
Publication of TWM329576U publication Critical patent/TWM329576U/en

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

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

Claims (1)

M329576 κ < 九、申請專利範圍: 1 · -種具備USB- DQngle功能的車辆網路控制㈣,其· 一通用串列匯流排⑽)微控制器,其包含有,接| i 數個資料輸出人部,該龍插接部可供與—電職置之 流排(USB)主晶片插接做資料連通,該_裝置以一通用串列匯 區域控制網路(CAN)控制器,其包含複數個資料輸出,盆 卜一該資料輸出入部與該USB微控制器之—該資料輸出入部電性連了 用串列匯流排_格式資料轉換成區域控制網路⑽) 格式負料, 一區域控制網路(CAN)收發器,其包含複數個資料輸出入部,其 =:ΐΐί出入部與該區域控制網路⑽)控制器之另-資繼 待f生連接,另—該資料輸出入部與—車輛之區域控制網路( =用以,區域控制網路_格式資料資料傳送到複數 置以進仃ID判斷與動作;及 < 1 一』次本地互連網路(UN)收發器,其包含複數個資料輸出入部,其 一该資料輪^人部無串_麟(国微控繼之 ^ 出入部電性連接,另-資料輸出入部經一 SCI/隨介接 =本地互連網路αίΝ),_為_請_轉==輛 i夂4 t用串歹值抓排(職〕微控制器得以分別將該區域控制網路(CAN ) 1 射 本地互連網路αίΝ)格式資料轉換為該通用串列_ )秸式貝料,而可於該電腦裝置監控、量測、診斷或控制該車細 、、罔路之各該節點裝置的狀態。 f ·如中請專利範圍第i項所述之具備usjB_CAN/LiNDQ物功能 網路控制系統,其中,該電腦裝置係以該通用串列匯流排(聰)微 M329576 控制器控制或量測該複數個節點裝置。 3 ·如申請專利範圍第χ項所述之具備—can/lin㈣㈣能的車 輛網路控制系統,其中,該USB微控制器係為一 2』微控制器, 該區域控綱路⑽)_器係為―⑽控㈣晶片―s;aiq⑼,使 USB和CAN/LIN的格式資料傳輸協定得以互相轉換,而可整合該職 與區域控制_ (CAN)及本地互連網路(UN)之匯流排。 4 ·如申請專利範圍第!項所述之具備can/un㈣㈣能的車 ^網路控制系統,其中,該通用串列匯流排⑽)微控制器之其一該 籲貝料輸出入部包含有-判斷是否傳遞位址或傳遞資料的控制腳位、一 才莫擬ALE腳位以配合該區域控制網路(CAN)控制器時序的模擬腳位及 複數個第一位址資料接腳,該區域控制網路(CAN)控制器之其一該資 料輸出入部包含有與該通用串列匯流排(USB)微控制器之該第一位址 -資料接腳電性連接的第二位址資料接腳,當該CAN匯流排之該節點裝置 有傳輸資料回該電腦裝置時,該CAN格式資料藉由該區域控制網路 (CAN)收發器接收並傳送給該區域控制網路(CAN)控制器,再透過 .该區域控制網路(CAN)控制器的該第二位址資料接腳ado〜AD7判斷位 •址後才讀取出資料傳送給該通用串列匯流排(USB)微控制器,該通用 串列匯流排(USB 微控制器再將該CAN格式資料轉換成該USB格式資料。 5 ·如申請專利範圍第1項所述之具備USB-CAN/LINDongle功能的車 輛網路控制系統,其中,該通用串列匯流排(USB)微控制器之一該資 料輸出入部係為一串列埠,並以該串列埠與該本地互連網路(LIN)進 行協定轉換。 6 ·如申請專利範圍第1項所述之具備uSB_CAN/LINDongle功能的車 輛網路控制系統,其中,該CAN區域控制網路係可於該車輛中的各電 子控制設備ECU之間交換資訊,藉由該通用串列匯流排(USB) ^敵控制 器、該區域控制網路(CAN)控制器及該區域控制網路(CAN)收發器 15 M329576 传以實現該輯控制網路(GAN)之該_裝置和該電腦裝置的ID、 數據貝料、格式的控制與發送,並可因應不同的需求來設定鲍率與訊 框格式。 7 ·如申請專利範圍第1項所述之具備USB—CAN/LIND〇ngle功能的車 輛網路控制祕,其巾,該本地互連網路(UN)基於SGI⑽τ)資料 格式’採用單主控制器/多從設備的模式,其包含一條12V信號匯流 排及一無固定時間基準的節點同步時脈線。 8 ·如申請專利範圍第工項所述之具備USB_CAN/UN⑽咖功能的 車輛網路控⑽統,其巾,該電腦裝置寫人有一顧程式,該應用程 式使用Visual C++ 6· 0的MFC所撰寫,並且使用LabView的部份物 件來模擬CAN各個不同節點的實際狀況,該程式内容係使用.的函 式及配合物件導向的觀念所撰寫,能夠迅速的處理職格式資料的巨 量傳輸,以及隨時掌控各節點裝置的狀態。 9 ·如申請專利範圍第8項所述之具備觀―cm/un 功能的車 輛網路”制系統,其中,該應用程式可於該細裝置之—顯示器顯示 應=^式’丨面,其係撰寫使用職2· 0微控制器進行資料的傳輸, 用來叹疋及控制该區域控制網路(CAN)之各該節點裝置所連結的 備、裝置。 =·如申請專利範圍第9項所述之具備—GAN/UN㈣化功能的 控㈣統,其巾,該細程式介面可隨時地進行區域控制網 龄,、,心的驗收碼'遮蔽碼與鮑率之設定,不需將程式重置或重新開 顿速地配合所需的要求進行改變,在傳送及設定的資料方 料,採則廣展格式,所以驗收碼、遮蔽碼、ID皆為卿tes的資 ;' 送的資料數據串最長為8 Bytes,並且使用十丄進制 ==轉嫩面请、纖 _κ專速率可供選擇,發送格式分為正常發送與自發自收格式,自 M329576 . t 1 < 收自發格式主要是能夠在沒有其他區域控制網路(CAN)之節點裝置~ 時’得可以自我檢測CAN格式貨料的功能。M329576 κ < IX, the scope of application for patents: 1 · A vehicle network control with USB-DQngle function (4), a universal serial bus (10)) microcontroller, including, connected | The data output department can be connected to the main circuit of the electric service (USB) to make data connection, and the device uses a universal serial area control network (CAN) controller. The utility model comprises a plurality of data outputs, and the data input and output part of the basin and the USB micro controller - the data input and output part is electrically connected to the regional control network (10) by using a serial bus _ format data, A regional control network (CAN) transceiver, comprising a plurality of data input and output units, wherein: ΐΐ 出 出 出 与 与 与 与 与 与 与 与 与 与 与 与 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器 控制器Incoming and vehicle regional control network (= for, regional control network _ format data transmission to a plurality of input ID judgment and action; and < 1 a) local interconnection network (UN) transceiver, It includes a plurality of data input and output units, one of which Data wheel ^ Human part without string _ Lin (National Micro Control followed by ^ input and exit electrical connection, another - data output into the Ministry via a SCI / with the interface = local interconnection network αίΝ), _ for _ please _ turn == car i夂4 t uses a serial value grabbing (job) microcontroller to separately convert the regional control network (CAN) 1 local interconnect network αίΝ format data into the universal serial _) straw type beaker, and The computer device can monitor, measure, diagnose or control the state of each of the node devices of the vehicle. f · The usjB_CAN/LiNDQ function network control system as described in item i of the patent scope, wherein the computer device controls or measures the complex number with the universal serial bus (Cong) micro M329576 controller Node device. 3 · The vehicle network control system with the can-lin (four) (four) energy as described in the scope of the patent application, wherein the USB microcontroller is a 2" microcontroller, the area control circuit (10)) It is a "(10) control (four) chip - s; aiq (9), which enables the conversion of USB and CAN/LIN format data transfer protocols, and integrates the bus between the job and the regional control _ (CAN) and the local interconnection network (UN). 4 · If you apply for a patent scope! The vehicle/network control system having the can/un (four) (four) capability, wherein the universal serial bus (10) of the microcontroller has one of the input and output portions of the microcontroller includes - determining whether to transmit the address or transmitting the data Control pin, one analog ALE pin to match the analog control bit of the regional control network (CAN) controller timing and a plurality of first address data pins, the area control network (CAN) controller One of the data input and output sections includes a second address data pin electrically connected to the first address-data pin of the universal serial bus (USB) microcontroller, when the CAN bus is When the node device transmits the data back to the computer device, the CAN format data is received by the regional control network (CAN) transceiver and transmitted to the regional control network (CAN) controller, and then transmitted through the area control network. The second address data pin ado~AD7 of the circuit (CAN) controller determines the bit address and then reads the data to the universal serial bus (USB) microcontroller, the universal serial bus ( The USB microcontroller then converts the CAN format data into the USB grid 5. The vehicle network control system with USB-CAN/LINDongle function as described in claim 1 of the patent application, wherein the data input and output unit of the universal serial bus (USB) microcontroller is a string of ports and a protocol conversion with the local interconnect network (LIN). 6 · A vehicle network control system having the uSB_CAN/LINDongle function as described in claim 1 The CAN area control network can exchange information between the electronic control unit ECUs in the vehicle, by the universal serial bus (USB), the enemy controller, the regional control network (CAN) controller, and the The regional control network (CAN) transceiver 15 M329576 is transmitted to implement the control network (GAN) of the device and the control, transmission and transmission of the ID, data, and format of the computer device, and can be adapted to different needs. Set the baud rate and frame format. 7 · The vehicle network control secret with USB-CAN/LIND〇ngle function as described in item 1 of the patent application scope, the local interconnection network (UN) based on SGI (10) τ) data Format 'take single Controller / from a multi-mode device, comprising a synchronizing clock signal bus line 12V and a discharge node no fixed time reference. 8 · The vehicle network control (10) system with USB_CAN/UN (10) coffee function as described in the application scope of the patent scope, the computer device writes a program, the application uses the MFC of Visual C++ 6.0 Write and use LabView's parts to simulate the actual state of each node in CAN. The content of the program is written using the concept of the function and object-oriented concept, which can quickly handle the huge transmission of job format data, and Control the status of each node device at any time. 9) The vehicle network system having the function of “cm/un function” as described in claim 8 of the patent application, wherein the application can be displayed on the display device. It writes the data transmission of the user's 2/0 microcontroller, which is used to sigh and control the devices and devices connected to the node devices of the area control network (CAN). The control (four) system with the function of GAN/UN (four) is used, and the program interface can perform regional control network age at any time, and the acceptance code of the heart is set by the mask code and the baud rate, and the program is not needed. Reset or re-open the required requirements to make changes, in the transmission and setting of the data, the mining format, so the acceptance code, mask code, ID are the Qingtes tes; 'send the information The data string can be up to 8 Bytes, and the decimal rate == turn to the tender face, the fiber _κ rate can be selected, the transmission format is divided into normal transmission and spontaneous self-receiving format, from M329576. t 1 < The format is mainly to be able to control the network without other areas. When CAN) of the node device ~ 'have self-detection of material goods CAN format. 1717
TW96217346U 2007-10-17 2007-10-17 Vehicular network control system with USB-CAN/LIN Dongle function TWM329576U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW96217346U TWM329576U (en) 2007-10-17 2007-10-17 Vehicular network control system with USB-CAN/LIN Dongle function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW96217346U TWM329576U (en) 2007-10-17 2007-10-17 Vehicular network control system with USB-CAN/LIN Dongle function

Publications (1)

Publication Number Publication Date
TWM329576U true TWM329576U (en) 2008-04-01

Family

ID=44323046

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96217346U TWM329576U (en) 2007-10-17 2007-10-17 Vehicular network control system with USB-CAN/LIN Dongle function

Country Status (1)

Country Link
TW (1) TWM329576U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763186A (en) * 2014-01-13 2014-04-30 杭州电子科技大学 USB-CAN/LIN gateway system
CN112181882A (en) * 2020-09-23 2021-01-05 深圳市领峰电动智能科技有限公司 Signal conversion method and device, electronic equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103763186A (en) * 2014-01-13 2014-04-30 杭州电子科技大学 USB-CAN/LIN gateway system
CN103763186B (en) * 2014-01-13 2017-01-11 杭州电子科技大学 USB-CAN/LIN gateway system
CN112181882A (en) * 2020-09-23 2021-01-05 深圳市领峰电动智能科技有限公司 Signal conversion method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
TW565797B (en) Method and apparatus of controlling an operational mode of a USB device
CN104885067B (en) Communication and relevant cables, connector, system and method for the operation based on M PHY on the interface based on PCI
CN101809557A (en) 12C-bus interface with parallel operational mode
JP2012507204A5 (en)
CN101582823A (en) Communicated method, communication system and communication routing device based on SPI bus
TWM329576U (en) Vehicular network control system with USB-CAN/LIN Dongle function
CN104678809B (en) Generally applicable sensor control device and system
CN103616763A (en) Industrial endoscope system and detection method using same
CN101477716B (en) Energy consumption recording instrument for MVB interface type locomotive
CN115663549B (en) Multi-interface conversion device and vehicle
CN203689514U (en) Master-slave coordinated work Godson server PCI-E device
CN101132411A (en) Bridge interface circuit
CN109976315A (en) A kind of embedded vehicle fault diagnosis system
CN105867871B (en) Display adapter
TWI496706B (en) Vehicle network system and modulized analysis device thereof
CN108563597A (en) A kind of multiplexed signal sampling and processing system with strong extended capability
CN202551076U (en) Display device and conversion device thereof
TWI280760B (en) Switch hub connected with peripheral device bus
JP2000286872A5 (en)
TW200935227A (en) Serial peripheral interface communication circuit
CN218567886U (en) Extensible exoskeleton robot control system
CN108563162A (en) A kind of multiplexed signal sampling and processing system with reliable and stable service ability
CN109448160A (en) A kind of vehicle information acquisition system
CN114567685B (en) Monitor and monitor control method
TWM333720U (en) Network control device of embedded-type USB host machine

Legal Events

Date Code Title Description
MM4K Annulment or lapse of a utility model due to non-payment of fees