TW201037600A - Data gateway of controllable car-used controller, and method for controlling car-used controller - Google Patents

Data gateway of controllable car-used controller, and method for controlling car-used controller Download PDF

Info

Publication number
TW201037600A
TW201037600A TW98112211A TW98112211A TW201037600A TW 201037600 A TW201037600 A TW 201037600A TW 98112211 A TW98112211 A TW 98112211A TW 98112211 A TW98112211 A TW 98112211A TW 201037600 A TW201037600 A TW 201037600A
Authority
TW
Taiwan
Prior art keywords
data
control
command
controller
code
Prior art date
Application number
TW98112211A
Other languages
Chinese (zh)
Other versions
TWI503743B (en
Inventor
Ching-Huang Hung
Original Assignee
Icm Inc
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 Icm Inc filed Critical Icm Inc
Priority to TW098112211A priority Critical patent/TWI503743B/en
Publication of TW201037600A publication Critical patent/TW201037600A/en
Application granted granted Critical
Publication of TWI503743B publication Critical patent/TWI503743B/en

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The present invention is to disclose a data gateway of controllable car-used controller, and method for controlling car-used controller, which is applied to a car-used network with a source controller connected to the car-used network. The data gateway switches the data transmission route of the source controller to capture the control command of the source controller and judges whether its equipment code is matched up with any of the replacement command identification codes stored in the database. When the result is matched, the data gateway replaces the control command by the replacement command belonging to the identification code matched up with the equipment code, and sends the replacement command out to the car-used network.

Description

201037600 六、發明說明: . 【發明所屬之技術領域】 一種,特別是有關於一種資料閘道器,特別有關於一 種可介入車用網路以直接控制車用控制器的資料閘道器。 【先前技術】 請參照圖1,其為先前技術中,車輛之車用網路的簡 視圖,以控制器區域網路200為例,各車用控制器透過控 制器區域網路200的網路規格以直接或間接方式相互連 ^ 接。不同車輛具有的控制器區域網路200會以不同的的運 行規則來相互傳輸控制命令與狀態資料,確保各車用控制 器彼此的運行正確性。如前車身控制器141告知其它的車 用控制器現在應該是車輛靜止不啟動的狀態資料,或者發 ffi曰刖两呆jJi驭動早稀的!制命兮,此寻狀態貢料或徑制 命令會傳輸至後車身控制器142、晶片鎖控制器121及其 它間接連接的引擎控制器130或自動變速箱控制器132, ❹ 令其靜止不運行。 然而,車主或車輛維修業者並無法介入或控制車用網 路的運行規則。因此,車主或車輛維修業者想額外加裝外 部裝置時,僅能根據車用網路的運行規則設計外部裝置的 運作行為。更甚者,所加裝的外部裝置無法符合車用網路 的運行規則時,外部裝置亦無法使用於其車輛上,大幅限 制了外部裝置的適用性。 因此,如何提供一個可介入車用網路,並有效控制車 201037600 用網路的各車用控制器或控制系統,為當現廠商應思慮的 課題。 # 【發明内容】 本發明係提供一種可結合於車用網路,炎有效控制車 用,與路的各車用控制器或控制系統的資料間遂器。 本發明所揭露之技術係在於一種資料間道器之控制車 ❹201037600 VI. Description of the invention: [Technical field to which the invention pertains] One relates, in particular, to a data gateway, and more particularly to a data gateway that can be used in a vehicle network to directly control a vehicle controller. [Prior Art] Please refer to FIG. 1 , which is a simplified view of a vehicle network for a vehicle in the prior art. Taking the controller area network 200 as an example, each vehicle controller transmits a network through the controller area network 200 . Specifications are connected to each other directly or indirectly. The controller area network 200 of different vehicles will transmit control commands and status data to each other with different operating rules to ensure the correct operation of each vehicle controller. If the front body controller 141 informs other vehicle controllers that it should now be the state information that the vehicle is stationary and not activated, or send the ffi曰刖 two jJi to move early! The homing or sizing command is transmitted to the rear body controller 142, the wafer lock controller 121, and other indirectly connected engine controllers 130 or automatic transmission controllers 132, so that they are stationary and not operating. . However, the owner or vehicle maintenance operator is not able to intervene or control the operating rules of the vehicle network. Therefore, when the owner or the vehicle maintenance company wants to install an external device, the operation of the external device can only be designed according to the operating rules of the vehicle network. What's more, when the installed external device cannot meet the operating rules of the vehicle network, the external device cannot be used on the vehicle, which greatly limits the applicability of the external device. Therefore, how to provide a vehicle controller or control system that can intervene in the vehicle network and effectively control the network of the 201037600 is a topic that should be considered by current manufacturers. [Explanation] The present invention provides an inter-data buffer that can be combined with a vehicle network to effectively control the vehicle, the vehicle controller or the control system. The technology disclosed in the present invention is a control vehicle for a data inter-channel device.

==方法,應用於一車用網路,、-來源控制器連接 、旱用網路上。此方法包含:切換 輸路徑’擷取來源控制器發出之一控制:二器之-資料傳 令之一彀備代碼是否匹配預儲之至少二令。判斷控制命 時’將匹配設備代碼之識別碼所屬.碼’當符合 * · · ·-.- 〜替換命令取代控制 本發明所揭露之技術係在於一種可 資料閘道器,應用於-車用網路,、工制車用控制器之 用網路。此資料閘道器包含:-資料庫''、控制器連接於車 與一控制單元。 、 、一路徑轉換模組 此資料庫用以儲存至少一替換命八 都包含有1別碼。路徑轉換模組係^每―個替換命令 資料傳輪路徑,係受控制單S控制啟:於車用控制器的 至控制單it,以擷取來源控制器傳輪#,資料傳輸路徑 每個控制命令都包含有-設備代竭控制命令, . 工市J 你ϊ!你結 換模組取得控制命令,並判斷設備代碼是否符合資料ς所 4 201037600 . 儲存的任一個識別碼,如果符合,則將匹配設備代碼的識 別碼所屬的替換命令取代控制命令’透過路徑轉換模組發 送至車用網路。 本發明所揭露之資料閘道器,係結合於車用網路中, 可直接介入與控制車用網路的運行規則,以供車主或車輛 維修業者針對所需的控制模式進行控制指令的設計,有效 控制車用網路的各車用控制器、外加裝置或控制系統,以 利於各種控制情形之需求。 〇 【實施方式】 為使對本發明之目的、構造特徵及其功能有進一步之 了解’兹配合相關實施例及圖式詳細說明如下: ;C器30G之方塊圖之—例’ ® 3係本發明實施例資料間道 器300之切換路徑圖之一例,冑4係本發明實施例替換命 令儲存示意圖之-例,圖5係本發明實施例之資料封包榻 P取内容示意圖之一例,圖6係本發明實施例之資料封包更 換内容示意圖之-例。在此,車用網路以控制器區域網路 2〇〇進行說明,車用網路連接有包括一點火開關模組1加、 -引擎控制H 130、1車身控㈣14卜—後車身控制器 142與-自動變速箱控制器132。但不以此為判,其它的車 用控制器亦可。 本實施例中’為避免被擷取的資料量過大,僅將一資 201037600 料閘道器300連接於於一來源控制器的資料傳輸路徑上, 在此假設來源控制器為前車身控制器141,即傳輸線a與 傳輸線b上。此資料閘道器300包含有一操控模組310、 一資料庫330、一路徑轉換模組350與一控制單元320。 此資料庫330係儲存有一個以上的替換命令,假設點 火開關模組120於控制器區域網路2〇〇上的設備代碼為 0A,其對應的控制資料的格式為八個位元(8bit),此控制 資料的第1個位元(0000000X )代表車鑰匙括入 〇 (Key-insert ’ 1為插入,〇為未插入),第2個位元 ( 000000x0 )代表進行離合器與檔位啟動(ACC,Ail>== Method, applied to a vehicle network, - source controller connection, dry network. The method includes: switching the transmission path ‘the source controller sends one of the controls: two of the data transmissions to determine whether the backup code matches at least two orders of the pre-storage. Judging the control life time 'will match the identification code of the device code belongs to the code. When it conforms to * · · ·-.-~ Replacement command instead of the control The technology disclosed in the present invention is a data gateway, which is applied to the vehicle Network, network for industrial vehicle controllers. The data gateway includes: - a database '', the controller is connected to the vehicle and a control unit. , a path conversion module This database is used to store at least one replacement life. The path conversion module is ^ each replacement command data transmission path, which is controlled by the control single S: in the vehicle controller to the control unit it to capture the source controller transmission wheel #, the data transmission path each The control commands all contain the - device exhaust control command, . City J you ϊ! You replace the module to obtain control commands, and determine whether the device code meets the data 4 4 201037600. Save any identification code, if it meets, Then, the replacement command to which the identification code of the matching device code belongs is replaced by the control command 'transmitted to the vehicle network through the path conversion module. The data gateway disclosed in the invention is integrated into the vehicle network, and can directly intervene and control the operating rules of the vehicle network, so that the vehicle owner or the vehicle maintenance industry can design the control command for the required control mode. Effectively control each vehicle controller, add-on device or control system of the vehicle network to facilitate the needs of various control situations.实施 [Embodiment] In order to further understand the object, structural features and functions of the present invention, the following detailed description is given in conjunction with the related embodiments and drawings: C-block 30G block diagram - example ' ® 3 is the invention An example of a switching path diagram of the inter-communication device 300 of the embodiment data is an example of a replacement command storage of the embodiment of the present invention. FIG. 5 is an example of a content of the data packing bed P of the embodiment of the present invention, and FIG. 6 is an example. An example of a schematic diagram of the content of the data packet replacement in the embodiment of the present invention. Here, the vehicle network is described by the controller area network 2, and the vehicle network connection includes an ignition switch module 1 plus, - engine control H 130, 1 body control (four) 14 bu - rear body controller 142 and - automatic transmission controller 132. But not to judge this, other vehicle controllers are also available. In this embodiment, in order to avoid excessive data volume, only the 201037600 material gateway 300 is connected to the data transmission path of a source controller, and the source controller is assumed to be the front body controller 141. , that is, the transmission line a and the transmission line b. The data gateway 300 includes a control module 310, a database 330, a path conversion module 350, and a control unit 320. The database 330 stores more than one replacement command, assuming that the device code of the ignition switch module 120 on the controller area network 2 is 0A, and the corresponding control data format is eight bits (8 bits). The first bit (0000000X) of this control data represents the car key enclosing Key (Key-insert '1 is inserted, 〇 is not inserted), and the second bit (000000x0) represents the clutch and gear start ( ACC, Ail>

Condition Clutch,1為啟動,〇為關閉),第3個位元 (00000x00)為引擎點火(Ignition,IG,i為啟動,〇為 ββ »〇 \ « ». 4 ‘ · · · · 關閉)。然而,車輛要進行啟動引擎的行為,需對點火開關 模組120發送引擎點火與離合器與檔位啟動的控制行為。 ❹以此方式,在資料庫330預先儲存一個以上的替換命令。 如圖4,在此假設資料庫33〇儲存有三個替換命;, 第一者包含一識別碼為〇A,對應之一診斷控制資料 00000110 ;第二者包含一識別碼為〇B,對應之一診斷抑二 "貝料為11001100 ,第三者包含一識別碼為〇c,對應之:^ 斷控制資料為11110000。在此說明,此等替換命令的命: 格式係符合ISO-15765格式或is〇_i5〇31格式(值不以々 為限’其它相符合格式也可)。 乂此 6 201037600 路徑轉換模組350會受控制單元32〇的控制而切換來 源控制器的資料傳輸路徑,即前車身控制器141收發資料 用的傳輸線a與傳輸線b,以決定是否擷取前車身控制器 141輸出與接收的所有資料封包至控制單元32〇 ;或:,^ 擷取任何資料封包以將資料封包直接送至前車身控制器 141或車用網路上。 控制單元320則是受操控模組31〇的控制,以決定是 否控制路徑轉換模組350進行資料封包擷取的行為,'以= 〇 決定是否從資料庫330中讀取一替換命令以傳輸至點火開 關模組120。 # 此操控模組310可供使用者操作以發出一切換命令, 以命令控制單元320控制路徑轉換模組35〇進行切換資料 傳輸路徑至控制單元’以操取控制命令;反之,則合合祕 制單元320控制路徑轉換模組35〇切換資料傳輸路徑使盆 回歸原來的路徑,以停止擷取控制命令,以使前車身控制 〇器⑷與車用網路直接連接以直接傳輸或接收相關的資料 封包(控制命令或狀態告知資料)。 此操控模組310可為具有接收無線訊號的遙控模組, 在接收由遠端設備傳輸而來的切換命令時,操控模組 會發出切換命令以命令控制單元32〇運行。以下說明遙控 啟動引擎的流程: 車主係先利用遙控器發出一切換命令,此切換命令係 為發動車輛。資料間道器300的操控模组31〇係以此切換 7 201037600 - 命令告知控制單元320對路徑轉換模組350進行切換前車 身控制器141的資料傳輸路經至控制單元32〇。 控制單元320會根據切換命令從資料庫33〇中讀取符 合「發動車辅」力替換命令(即上述中,識別碼為0A,診 斷控制資料為00000110的替換命令)。 " 如圖3所示,控制單元320會根據切換命令以控制路 徑轉換模組350切換前車身控制器141的資料傳輸路徑至 控制單元320,之後開始擷取前車身控制器141與車用網 〇路之間相互傳輸的資料封包(包含控制命令與狀態告知資 料)在此饭5又,剛車身控制器141原先認定點火開關模、组 120的狀態為未啟動、靜止(此她,也⑷,因此前車身 控制器141週期性發出的狀態告知資料或控制命令的内容 如圖6所不’應為:設備代碼〇A,控制資料_⑻咖, 以及設備代碼0B,控制資料〇〇11〇〇1〇。 當控制單元320透過路徑轉換模組35〇擷取到前車身 〇控制益141發出的狀態告知資料或控制命令時,係將並與 資料庫330所儲存的識別焉相比較,判斷是否將操取到的 控制命令或狀態告知資料由相關的替換命令取代。 以此例而5 ’控制單元320會判斷出所取得之控制命 々包含的設備代碼0A與〇B,符合資料庫33〇所儲存的替 換命令,即識別碼為0A,珍斷控制資料為_00110;以及 識別碼為:B’珍斷控制資料為隨〇_的替換命令。因 控制單7G 32〇會將此等替換命令取代所操取到的控制 8 201037600 命令,並透過路徑轉換模組 350發送至車用網路上,供點 火開關_組12G或相關的車用控制器透過車用網路以接 收。 局的控制命令被替換命令取代後會如同圖6所示, 设備代碼為〇A與0B的控制資料皆被識別碼為〇A與〇B 的替換命令所取代,再傳送至點火開關模組12〇。請參照 圖6,設備代碼〇A所對應的控制資料係被取代為 00000110,而設備代碼〇B所對應的控制資料係被取代為 〇 11001100。 但設備代碼為000D的控制命令與資料庫33〇儲存的 替換命令不相符,故控制單元320不對此控制命令作任何 取代或更新行為’而將其直接釋放並傳輸至點火開關模板 120 ° 、、' 此點火開關模組120内建有一晶片鎖控制器121,當 點火開關模組m取得上述的替換命令(識別碼為〇A,: 〇斷控制資料為_00110)時,係命令晶片鎖控制器i2i協 同引擎控制1 130與自動變速箱控制_ 132進行 试 行為;以及取得替換命令(識別碼為〇B,診斷控制資料$ 11001100)時,進行相關運作行為。 在點火開關模組120等相關車用控制器在運行期間或 完成認證行為時,點火開關模組12〇係發出一回應資料。 此回應資料會經過車用網路而被路轉換模組別所褐取 並傳送至控制單元320。同理,控制單元32〇判斷回應資 9 201037600 .料之一,備代碼是否匹配預儲之至少—識別竭,也就是判 斷回應育料欲傳送的車用控制器的設備代碼為何符 合資料庫儲存替換命令包含的識別碼。 疋、 ο 在此假設,如果資料庫儲存的替換命令中,任一替換 命令的識別碼為前車身控制器⑷,且控制單元似判斷 出所擷取的回應資料的設備代碼符合上述替換命令的識別 碼時,係將替換命令取代回應資料以發送至前車身控制器 141,即前述的來源控彻。反之,回應資料包含的設備代 碼不符合替換命令的識別碼時,控制單元即將回應資料直 接給來源控制器,本實施例中係指前車身控制器i4i。 如圖2,在此說明,一般控制器區域網路2〇〇是由兩 種不同速度的網路所組成,一者稱高速控制器區域網路2〇ι (High Speed Can,HI_CAN ),一者稱為低速控制器區域網 ❹ 路202 (Low Speed Can ’ LO-CAN)。根據各控制指令與狀 態告知資料的類型與急迫性的不同,各車用控制器與各車 用控制器(車用控制器)係使用不同速度的網路連線。因 此,為確保資料閘道器300可完整的擷取得前車身控制器 141收發的資料封包(控制命令或狀態告知資料),路徑轉 換模組350係連接於前車身控制電腦的傳輸線&與傳輪線 b,兩個不同速度的網路線段(HI-CAN與LO-CAN)。 此外’為證明資料閘道器300的運作原理是可行,係 以下列較為嚴格的資料傳輸環境,以計算指令運行數量來 進行說明。在此假設,控制器區域網路200的鮑率(波特 201037600 率’ baud rate)為5〇〇κ,即2毫秒(ms),資料封包傳輸 格式為50blt ’包含表頭(head) libit,起啟位元2bit,資 料攔位與驗證竭(CyCHc redUndancy check,crc)共 50bit (假設’但不以此為限)。控制單元320為一 16位元的中 央處理單元(CPU),運算速度為5〇mHz, 即10微秒(us)。 則每一控制單元320於每一微秒可運算的指令數為 (50bitX2ms) /l〇us=1〇〇〇〇個指令數,遠遠超出控制器區 域網路200進行控制指令傳輸的數量,故本發明所揭露的 Ο 資料閘道器300為可行。 請參照圖7 ’圖7係本發明實施例之控制車用控制器 之方法。請同時參考圖2至圖6以利於了解,此流程如下: 切換來源控制器之一資料傳輸路徑,擷取來源控制器 發出之一控制命令(步驟S110)。 如前述’控制單元320取得切換命令時,會控制路徑 轉換模組350,以切換來源控制器的資料傳輸路徑,使得 〇 控制單元可取得來源控制器輸出與接收的所有資料封包。 判斷控制命令之一設備代碼是否匹配預儲之至少一識 別碼(步驟S120)。 當控制單元320透過路徑轉換模組350擷取到來源控 制器發出的控制命令時,係將控制命令與資料庫330儲存 的替換命令的識別碼相比較,判斷是否將擷取到的控制命 令由相關的替換命令取代。 當符合時,將匹配設備代碼之識別碼所屬之一替換命 11 201037600 令取代控制命令’並發送至車用網路(步驟S121)。被發 送的替換命令在被控制單元320發送至車用網路後,會經 由相關的車用控制器透過車用網路以接收。反者 ^ 辑个付 合時,控制單元320會將控制命令直接發送至車用網路(步 驟S122),供相關的車用控制器透過車用網路以接收。 請參照圖8,圖8係本發明實施例之控制車用控制器 之另一方法,係應用於擷取回應資料的流程。請同時參考 圖2至圖6以利於了解,此流程如下: 〇 擷取車用網路傳輸之一回應資料(步驟S210)。路徑 轉換模組350會從車用網路上擷取到欲傳輸至來源控制器 的回應資料,並將其送至控制單元32〇。 判斷回應資料之一設備代碼是否匹配預儲之至少一識 別碼(步驟S220)。控制單元320判斷回應資料之一設備 代碼是否匹配預儲之至少一識別褐,也就是判斷回應資料 欲傳送的車用控制器的設備代碼為何,是否符合資料庫儲 Q 存替換命令包含的識別碼。 當符合時,將匹配該設備代碼之識別碼所屬之一替換 命令取代回應資料,並傳輸至來源控制器(步驟MU)。、 在此假設’如果資料庫儲存的替換命令中,任一替換命令 的識別碼為前車身控制器⑷,且控制單元32〇判斷出所 擷取的回應#料的設備代碼符合上述_命令的識別碼 時’係將替換命令取代回應資料以發送至前車身控制器 141,即前述的來源控制器。反之,控制單元細判斷替換 12 201037600 命令,回應資料包含的設備代碼不符合替換命令的識別碼 時,控制單元即將回應資料直接發送至來源控制器(步驟 ' S222),即本例的前車身控制器141。 雖然本發明以前述之較佳實施例揭露如上,然其並非 用以限定本發明,任何熟習相像技藝者,在不脫離本發明 之精神和範圍内,所作更動與潤飾之等效替換,仍為本發 明之專利保護範圍内。 〇 【圖式簡單說明】 圖1係先前技術之一例; 圖2本發明實施例資料閘道器300之方塊圖之一例; 圖3係本發明實施例資料閘道器300之切換路徑圖之一例; 圖4係本發明實施例替換命令儲存示意圖之一例; 圖5係本發明實施例之資料封包内容示意圖之一例; 圖6係本發明實施例之資料封包更換内容示意圖之一例; 圖7係本發明實施例之控制車用控制器之方法;以及 ❹ 圖8係本發明實施例之控制車用控制器之另一方法。 【主要元件符號說明】 120 點火開關模組 121 晶片鎖控制器 130 引擎控制器 132 自動變速箱控制器 141 前車身控制器 13 201037600 142 後車身控制器 200 控制器區域網路 201 高速控制器區域網路 202 低速控制器區域網路 300 資料閘道器 310 操控模組 320 控制單元 330 資料庫 350 路徑轉換模組 a、b 傳輸線 ❹ 14Condition Clutch, 1 is start, 〇 is off), the third bit (00000x00) is engine ignition (Ignition, IG, i is start, 〇 is ββ »〇 \ « ». 4 ‘ · · · · off). However, in order for the vehicle to initiate engine behavior, it is necessary to send engine ignition and clutch and gear start control actions to the ignition switch module 120. In this way, more than one replacement command is pre-stored in the database 330. As shown in FIG. 4, it is assumed here that the database 33 stores three replacement lives; the first one includes an identification code 〇A, corresponding to one of the diagnostic control data 00000110; the second includes an identification code 〇B, corresponding to A diagnosis and suppression of the second " shell material is 11001100, the third party contains an identification code of 〇c, corresponding to: ^ break control data is 11110000. It is stated here that the order of these alternative commands: the format conforms to the ISO-15765 format or the is〇_i5〇31 format (values are not limited to ’ other compatible formats are also available). 66 201037600 The path conversion module 350 switches the data transmission path of the source controller under the control of the control unit 32〇, that is, the transmission line a and the transmission line b for the front body controller 141 to send and receive data to determine whether to capture the front body. The controller 141 outputs and receives all the data packets to the control unit 32; or:, ^ retrieves any data packets to send the data packets directly to the front body controller 141 or the vehicle network. The control unit 320 is controlled by the control module 31〇 to determine whether to control the path conversion module 350 to perform the data packet capture behavior, and determine whether to read a replacement command from the database 330 for transmission to the Ignition switch module 120. # The control module 310 is operable by the user to issue a switching command to instruct the control unit 320 to control the path conversion module 35 to switch the data transmission path to the control unit to fetch the control command; The control unit 320 controls the path conversion module 35 to switch the data transmission path to return the basin to the original path to stop the capture control command, so that the front body control device (4) is directly connected to the vehicle network for direct transmission or reception. Data packet (control command or status notification data). The control module 310 can be a remote control module having a receiving wireless signal. When receiving a switching command transmitted by the remote device, the control module issues a switching command to command the control unit 32 to operate. The following describes the flow of the remote start engine: The owner first uses the remote control to issue a switch command, which is to start the vehicle. The control module 31 of the data channel device 300 is switched by this. 7 201037600 - The command informs the control unit 320 to switch the data transmission path of the body controller 141 to the control unit 32 before switching the path conversion module 350. The control unit 320 reads the "commissioning car assist" force replacement command from the database 33A according to the switching command (i.e., the above-mentioned, the identification code is 0A, and the diagnostic control data is a replacement command of 00000110). " As shown in FIG. 3, the control unit 320 switches the data transmission path of the front body controller 141 to the control unit 320 according to the switching command to control the path conversion module 350, and then starts capturing the front body controller 141 and the vehicle network. The data packet (including the control command and status notification data) transmitted between the roads is in this case. In addition, the body controller 141 originally determines that the state of the ignition switch module and the group 120 is not activated, and is still (this, also (4) Therefore, the status of the data or control command periodically issued by the front body controller 141 is as follows: device code 〇A, control data _(8) coffee, and device code 0B, control data 〇〇11〇 When the control unit 320 captures the status notification data or control command issued by the front body control 141 through the path conversion module 35, it compares with the identification 储存 stored in the database 330 to determine Whether to control the obtained control command or status notification data is replaced by the relevant replacement command. In this example, the 5' control unit 320 determines the setting of the acquired control command. Codes 0A and 〇B, in accordance with the replacement command stored in the database 33, that is, the identification code is 0A, the control data is _00110; and the identification code is: B' the control data is a replacement command with 〇_. Since the control list 7G 32〇 replaces the manipulated control 8 201037600 command with the replacement command and sends it to the vehicle network through the path conversion module 350 for the ignition switch _ group 12G or the associated vehicle controller It is received through the vehicle network. The control command of the office is replaced by the replacement command. As shown in Figure 6, the control codes of the device code 〇A and 0B are replaced by the replacement commands of 〇A and 〇B. Then, it is sent to the ignition switch module 12〇. Referring to FIG. 6, the control data corresponding to the device code 〇A is replaced by 00000110, and the control data corresponding to the device code 〇B is replaced by 〇11001100. The control command code 000D does not match the replacement command stored in the database 33〇, so the control unit 320 does not perform any replacement or update behavior on the control command and directly releases and transmits it to the ignition switch template 120 ° , The ignition switch module 120 has a chip lock controller 121 built therein. When the ignition switch module m obtains the above replacement command (the identification code is 〇A,: the control data is _00110), the wafer lock control is commanded. The i2i cooperates with the engine control 1 130 and the automatic transmission control _ 132 to perform the trial behavior; and when the replacement command (the identification code is 〇B, the diagnostic control data $11001100) is obtained, the relevant operational behavior is performed. The ignition switch module 12 sends a response data during operation or when the vehicle controller completes the authentication behavior. The response data is passed through the vehicle network and is transmitted by the road conversion module to the control unit 320. Similarly, the control unit 32 determines whether or not the backup code matches at least the pre-storage - the identification is exhausted, that is, the device code of the vehicle controller that responds to the feed of the feed is determined to be in accordance with the database storage. Replace the identifier contained in the command.疋, ο It is assumed here that if the replacement command stored in the database, the identification code of any replacement command is the front body controller (4), and the control unit seems to determine that the device code of the retrieved response data meets the identification of the above replacement command. At the time of the code, the replacement command replaces the response data for transmission to the front body controller 141, that is, the aforementioned source control. On the other hand, when the device code included in the response data does not match the identification code of the replacement command, the control unit will directly respond the data to the source controller, which in this embodiment refers to the front body controller i4i. As shown in Figure 2, the general controller area network 2 is composed of two networks of different speeds. One is called the high speed controller area network 2〇ι (High Speed Can, HI_CAN), one. It is called Low Speed Can ' LO-CAN. Depending on the type and urgency of each control command and status notification data, each vehicle controller and each vehicle controller (vehicle controller) use network connections of different speeds. Therefore, in order to ensure that the data gateway device 300 can completely obtain the data packet (control command or status notification data) sent and received by the front body controller 141, the path conversion module 350 is connected to the transmission line & Line b, two different speed network segments (HI-CAN and LO-CAN). In addition, in order to prove that the operation principle of the data gateway device 300 is feasible, the following strict data transmission environment is used to calculate the number of command operations. It is assumed here that the controller area network 200 has a baud rate (porter 201037600 rate 'baud rate) of 5 〇〇 κ, ie 2 milliseconds (ms), and a data packet transmission format of 50 blt 'contains head libit, Start bit 2bit, data intercept and verification (CyCHc redUndancy check, crc) a total of 50bit (assuming 'but not limited to this limit). Control unit 320 is a 16-bit central processing unit (CPU) with an operating speed of 5 〇 mHz, i.e., 10 microseconds (us). Then, the number of instructions that can be calculated by each control unit 320 in each microsecond is (50 bit X 2 ms) / l 〇 us = 1 指令 number of instructions, far exceeding the number of control command transmissions performed by the controller area network 200. Therefore, the Ο data gateway 300 disclosed in the present invention is feasible. Referring to Figure 7, Figure 7 is a diagram of a method of controlling a vehicle controller in accordance with an embodiment of the present invention. Please refer to FIG. 2 to FIG. 6 at the same time to understand that the flow is as follows: Switch one of the source controller data transmission paths, and the source controller sends a control command (step S110). When the control unit 320 obtains the switching command, the path conversion module 350 is controlled to switch the data transmission path of the source controller so that the control unit can obtain all the data packets output and received by the source controller. It is judged whether the device code of one of the control commands matches the pre-stored at least one identification code (step S120). When the control unit 320 retrieves the control command issued by the source controller through the path conversion module 350, the control command compares the control command with the identification code of the replacement command stored in the database 330, and determines whether the captured control command is Replace the related replacement command. When it is met, one of the identification codes of the matching device code is replaced with the command 11', and the control command is replaced with the control command' and sent to the vehicle network (step S121). After being sent to the vehicle network by the control unit 320, the transmitted replacement command is received by the associated vehicle controller through the vehicle network. In contrast to the summation, the control unit 320 sends the control command directly to the vehicle network (step S122) for the relevant vehicle controller to receive through the vehicle network. Please refer to FIG. 8. FIG. 8 is another method for controlling a vehicle controller according to an embodiment of the present invention, which is applied to a process of capturing response data. Please refer to FIG. 2 to FIG. 6 at the same time to understand that the process is as follows: 撷 Pick up one of the vehicle network transmission response data (step S210). The path conversion module 350 retrieves the response data to be transmitted to the source controller from the vehicle network and sends it to the control unit 32. It is judged whether one of the response codes matches the pre-stored at least one identification code (step S220). The control unit 320 determines whether the device code of one of the response data matches at least one of the pre-stored identification browns, that is, the device code of the vehicle controller for determining the response data to be transmitted, and whether the identification code included in the database storage replacement command is included. . When it is met, the response data is replaced by a replacement command belonging to the identification code of the device code and transmitted to the source controller (step MU). Assume here that 'if the replacement command stored in the database, the identification code of any replacement command is the front body controller (4), and the control unit 32 determines that the device code of the retrieved response meets the above-mentioned _ command identification. The code time ' replaces the response data with the replacement command to send to the front body controller 141, the aforementioned source controller. Conversely, if the control unit finely judges the replacement 12 201037600 command, and the response device contains the device code that does not meet the replacement command identifier, the control unit sends the response data directly to the source controller (step 'S222), that is, the front body control of this example. 141. While the present invention has been described above in terms of the preferred embodiments thereof, it is not intended to limit the invention, and the equivalent of the modification and retouching of the present invention is still within the spirit and scope of the present invention. Within the scope of patent protection of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is an example of a prior art; FIG. 2 is an example of a block diagram of a data gateway 300 according to an embodiment of the present invention; FIG. 3 is an example of a switching path diagram of a data gateway 300 according to an embodiment of the present invention. FIG. 4 is a schematic diagram of an alternative command storage according to an embodiment of the present invention; FIG. 5 is a schematic diagram of a content of a data packet according to an embodiment of the present invention; FIG. 6 is a schematic diagram of a data packet replacement content according to an embodiment of the present invention; A method of controlling a vehicle controller of an embodiment of the invention; and FIG. 8 is another method of controlling a vehicle controller according to an embodiment of the present invention. [Main component symbol description] 120 Ignition switch module 121 Chip lock controller 130 Engine controller 132 Automatic gearbox controller 141 Front body controller 13 201037600 142 Rear body controller 200 Controller area network 201 High-speed controller area network Road 202 low speed controller area network 300 data gateway 310 control module 320 control unit 330 database 350 path conversion module a, b transmission line ❹ 14

Claims (1)

201037600 七、申請專利範圍: 1. 一種貝料閘道器之控制車用控制器之方法,應用於一車 用網路,一來源控制器連接於該車用網路,該方法包含: 切換該來源控制器之一資料傳輸路徑,擷取該來源 控制器發出之一控制命令; 判斷該控制命令之一設備代碼是否匹配預儲之至少 一識別碼;以及 當符合時,將匹配該設備代碼之該識別碼所屬之一 〇 替換命令取代該控制命令,並發送至該車用網路。 2. 如申請專利範圍第1項所述之控制車用控制器之方法, 其中當判斷該控制命令之一設備代碼未匹配該至少一識 別碼時’將該控制命令直接發送至該車用網路。 3. 如申請專利範圍第1項所述之控制車用控制器之方法, 其中更包含下列步驟: 擷取該車用網路傳輸之一回應資料; 〇 判斷該回應資料之一設備代碼是否匹配預儲之至少 一識別碼;_以及 當符合時,將匹配該設備代碼之該識別碼所屬之一 替換命々取代該回應資料,並傳輸至該來源控制器。 4. 如申請專利範圍第3項所述之控制車用控制器之方法, 其中當判斷該回應資料之一設備代碼未匹配該至少一識 別碼時’將該回應資料直接發送至該來源控制器。 5. —種可控制車用控制器之資料閘道器,應用於一車用網 15 201037600 . 路,一來源控制器連接於該車用網路,該資料閘道器勹 含: ^ 一資料庫,儲存至少一替換命令,每一替換命令包 含有一識別碼; 路桎轉換模組,係受控制啟動時切換該來源控制 器之一資料傳輪路徑,擷取該來源控制器傳輸之至少— 控制命令,每-控制命令包含有-設備代碼;以及 控制單元,用以啟動該路徑轉換模組以取得該路 〇 徑轉換模組擷取之該控制命令,並判斷該設備代碼是否 符合該資料庫儲存之任—之該削碼,當符合時,將匹 配該設備代碼之該識別碼所屬之該替換命令取代該控制 命令,並透過該路徑轉換模組發送至該車用網路。 6.如申仴專利範圍第5項所述之資料閘道器,直更包含一 操控模組,其取得―切換命令,時令該㈣單元控制 該路徑轉換模組進行切換該資料傳輸路徑。 ❹7.如中明專利㈣第6項所述之資料閘道器,其中該操控 模組為一遙控模組。 8. 如申請專利範圍第5項所述之資料閘道器,其中該控制 單元判斷該設備代碼未符合該資料庫儲存之任〆之該識 別碼,直接將該來源控㈣發送之該㈣命令發送至該 車用網路。 9. 如申請專利範圍第5項所述之資料閘道器,其中該路徑 轉換模組更擷取該車㈣路傳輸之—回應㈣,該控制 16 201037600 單元判斷該回應資料之一設備代碼是否匹配預儲之至少 一識別碼,當符合時,將匹配該設備代碼之該識別碼所 屬之一替換命令取代該回應資料,並傳輸至該來源控制 器。 10.如申請專利範圍第9項所述之資料閘道器,其中當該控 制單元判斷該回應資料之一設備代碼未匹配該至少一 識別碼時,將該回應資料直接發送至該來源控制器。 Ο 17201037600 VII. Patent application scope: 1. A method for controlling a vehicle controller of a beijing gate device, which is applied to a vehicle network, and a source controller is connected to the vehicle network, the method comprises: switching the a data transmission path of the source controller, extracting one of the control commands issued by the source controller; determining whether the device code of one of the control commands matches at least one of the pre-stored identification codes; and, when met, matching the device code One of the identification codes belongs to the replacement command instead of the control command and is sent to the vehicle network. 2. The method of controlling a vehicle controller according to claim 1, wherein when it is determined that one of the control commands does not match the at least one identification code, the control command is directly sent to the vehicle network. road. 3. The method for controlling a vehicle controller according to claim 1, further comprising the steps of: capturing a response data of the vehicle network transmission; determining whether the device code of the response data matches Pre-stored at least one identification code; _ and, when compliant, replaces the response data with one of the replacement codes of the identification code that matches the device code and transmits to the source controller. 4. The method of controlling a vehicle controller according to claim 3, wherein when it is determined that one of the response data does not match the at least one identification code, the response data is sent directly to the source controller. . 5. A data gateway for controlling the vehicle controller, applied to a vehicle network 15 201037600. A source controller is connected to the vehicle network, and the data gateway device includes: ^ a data a library, storing at least one replacement command, each replacement command includes an identification code; the switch conversion module is configured to switch a data transmission path of the source controller when controlled to start, and capture at least the source controller transmits - a control command, each control command includes a device code, and a control unit for starting the path conversion module to obtain the control command captured by the path conversion module, and determining whether the device code meets the data The library storage means that, when the code is matched, the replacement command to which the identification code matching the device code belongs replaces the control command and is transmitted to the vehicle network through the path conversion module. 6. The data gateway device of claim 5, further comprising a control module, wherein the "switching command" is obtained, and the (4) unit controls the path conversion module to switch the data transmission path. ❹ 7. The data gateway device according to Item 6 of the Chinese Patent (4), wherein the control module is a remote control module. 8. The data gateway device of claim 5, wherein the control unit determines that the device code does not meet the identification code stored in the database, and directly transmits the (four) command to the source controller (4). Send to the car network. 9. The data gateway device of claim 5, wherein the path conversion module further captures the vehicle (four) transmission-response (4), and the control unit 16 201037600 determines whether the device code of the response data is Matching at least one identification code of the pre-stored, when it is met, replacing the response data with one of the replacement commands corresponding to the identification code of the device code, and transmitting the response data to the source controller. 10. The data gateway of claim 9, wherein the control unit sends the response data directly to the source controller when the control unit determines that the device code of the response data does not match the at least one identification code. . Ο 17
TW098112211A 2009-04-13 2009-04-13 A method for controlling the information gateway of the vehicle controller and controlling the vehicle controller TWI503743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW098112211A TWI503743B (en) 2009-04-13 2009-04-13 A method for controlling the information gateway of the vehicle controller and controlling the vehicle controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW098112211A TWI503743B (en) 2009-04-13 2009-04-13 A method for controlling the information gateway of the vehicle controller and controlling the vehicle controller

Publications (2)

Publication Number Publication Date
TW201037600A true TW201037600A (en) 2010-10-16
TWI503743B TWI503743B (en) 2015-10-11

Family

ID=44856752

Family Applications (1)

Application Number Title Priority Date Filing Date
TW098112211A TWI503743B (en) 2009-04-13 2009-04-13 A method for controlling the information gateway of the vehicle controller and controlling the vehicle controller

Country Status (1)

Country Link
TW (1) TWI503743B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI569995B (en) * 2014-05-30 2017-02-11 Icm Inc Information gateway and its interference with vehicle operation

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE59803733D1 (en) * 1997-02-07 2002-05-16 Siemens Ag CODE SIGNALER, ESPECIALLY FOR A THEFT PROTECTION SYSTEM OF A MOTOR VEHICLE
BR9913529A (en) * 1998-09-09 2001-06-05 Siemens Automotive Corp Lp Remote control key system that has keyless entry functions and a vehicle immobilization function on a common key head
US6522251B1 (en) * 2000-06-07 2003-02-18 Caterpillar Inc Method and apparatus for securing an earth moving machine
SG138435A1 (en) * 2001-07-17 2008-01-28 Mitsubishi Materials Corp Communication system, mobile unit database server, mobile radio router, charging method, and vehicle mounted router and agent server therewith
US20030043793A1 (en) * 2001-08-31 2003-03-06 Juergen Reinold Vehicle active network
JP2004143699A (en) * 2002-10-22 2004-05-20 Matsushita Electric Ind Co Ltd Vehicle antitheft system
DE10323402B3 (en) * 2003-05-23 2005-01-05 Siemens Ag Access and use authorization system, in particular of a motor vehicle
TWI262872B (en) * 2003-12-10 2006-10-01 Ind Tech Res Inst A vehicle anti-thief system and its method
TWM264194U (en) * 2004-10-01 2005-05-11 Jiong-Pin Yu Anti-theft device for car or motorcycle
US7332881B2 (en) * 2004-10-28 2008-02-19 Textron Inc. AC drive system for electrically operated vehicle
TWM287259U (en) * 2005-11-14 2006-02-11 Tung Thih Entpr Co Ltd Controlling device of sensing vehicular lock

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI569995B (en) * 2014-05-30 2017-02-11 Icm Inc Information gateway and its interference with vehicle operation

Also Published As

Publication number Publication date
TWI503743B (en) 2015-10-11

Similar Documents

Publication Publication Date Title
CN1716894B (en) Power saving method in wireless LAN system
US9975504B2 (en) Remote control of a motor vehicle during a parked phase
US9251697B2 (en) Means for pairing a hermetically sealed wireless device
US9164574B2 (en) Switching a control device in a vehicle network to sleep mode when velocity is above a threshold and switching to an operating mode after a number of received messages
CN106210250A (en) Car-mounted terminal and control method thereof and handheld terminal and control method thereof
US20150120006A1 (en) Communication Apparatus, Communication Relay Apparatus and Communication System
JP2005535169A5 (en)
KR20160146045A (en) Operating method of a communication node in automotive network
JP2011188395A (en) Radio communication device
US20220417346A1 (en) In-Vehicle Relay Device and Relay Method
TW201037600A (en) Data gateway of controllable car-used controller, and method for controlling car-used controller
JP3773688B2 (en) Devices that can be connected to the network
EP1671452B1 (en) Radio system with configurable links
CN105099836A (en) BLE intelligent node control method and system
CN107040483B (en) Automobile communication system and information sending method thereof
JP2004349961A (en) Repeating device and program
CN101430671A (en) Mobile terminal peripherals coexisting apparatus
KR101490964B1 (en) Ethernet controller
CN102546422B (en) Message forwarding method in exchange chip, exchange chip and network device
KR20160146048A (en) Operating method of a communication node in automotive network
CN112533173A (en) Method for ensuring data integrity to ensure operational safety and device for vehicle-to-outside information interaction
CN105843110A (en) Remote control system and method for automobile
US8605902B1 (en) Method and implementation for supporting switchable red side or black side control options for airborne radio communication radios
US20140095739A1 (en) Communication device, communication method and computer-readable recording medium
CN109703409A (en) A kind of new-energy automobile charging radio control technique