TWI513613B - Handling and transmission of motor vehicles - Google Patents

Handling and transmission of motor vehicles Download PDF

Info

Publication number
TWI513613B
TWI513613B TW101148303A TW101148303A TWI513613B TW I513613 B TWI513613 B TW I513613B TW 101148303 A TW101148303 A TW 101148303A TW 101148303 A TW101148303 A TW 101148303A TW I513613 B TWI513613 B TW I513613B
Authority
TW
Taiwan
Prior art keywords
confirmation
column
command
control unit
diagnostic
Prior art date
Application number
TW101148303A
Other languages
Chinese (zh)
Other versions
TW201425108A (en
Inventor
Ching Huang Hung
Original Assignee
Chin Motor Technology Co Ltd I
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 Chin Motor Technology Co Ltd I filed Critical Chin Motor Technology Co Ltd I
Priority to TW101148303A priority Critical patent/TWI513613B/en
Publication of TW201425108A publication Critical patent/TW201425108A/en
Application granted granted Critical
Publication of TWI513613B publication Critical patent/TWI513613B/en

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

處理和傳送汽車通訊之方式Ways of handling and transmitting car communications

本發明係提供一種行車電腦通訊方法,主要原理為利用診斷命令儲存於行車電腦確認欄,再一次性以多通道方式提出行車電腦確認欄內之確認診斷指令至控制區域網路,最後依控制區域網路傳輸回覆資料時間及行為動作需求,重新提出所需診斷命令,以達成各行車電腦(Electronic Control Unit,ECU)動作控制。The invention provides a driving computer communication method, the main principle is that the diagnostic command is stored in the driving computer confirmation column, and the confirmation diagnosis instruction in the driving computer confirmation column is presented to the control area network in a multi-channel manner at one time, and finally according to the control area. The network transmits the data time and behavioral action requirements, and re-proposes the required diagnostic commands to achieve the action control of each Electronic Control Unit (ECU).

自1980年開始,各大汽車製造商開始配置全功能的控制/診斷系統;此類系統在車輛發生故障時,以儀錶板方式警示駕駛人,並且技術員在維修時可經由特定的方式讀取故障碼,以加快維修時間,使用適當的軟/硬體,可從車上的電腦能監控所有的感知器與動作器,記錄著它們是否正常運作。Since 1980, major automakers have begun to deploy full-featured control/diagnostic systems that alert the driver in the form of a dashboard when the vehicle fails, and the technician can read the fault in a specific way during maintenance. Codes to speed up repairs and use appropriate soft/hardware to monitor all sensors and actuators from the car's computer and record whether they are functioning properly.

傳統隨車診斷系統(On-Board Diagnosis System,OBD),使用車子內建之電腦系統,其可自動記錄發生故障的訊息,配合外接隨車診斷裝置,讀取故障碼,取得包含診斷廢氣排放系統及相關裝置狀態,以適時對症下藥,即時維修車子。The On-Board Diagnosis System (OBD) uses a built-in computer system that automatically records the faulty message, cooperates with an external on-board diagnostic device, reads the fault code, and obtains a diagnostic exhaust system. And the state of the relevant device, in a timely manner to prescribe the right medicine, and immediately repair the car.

若將車子發生的問題視為病狀,隨車診斷系統可提供故障碼給服務技師一個大致審視方向,找出故障原因,針對問題維修。設備供應商只要在符合環保規定的前提下,還是可以為隨車診斷裝置量身製作其他附加價值,提高市場競爭力。If the problem occurred in the car is regarded as a disease, the on-board diagnostic system can provide the fault code to the service technician to review the direction, find out the cause of the fault, and repair the problem. As long as the equipment supplier meets the environmental protection requirements, it can still make other added value for the on-board diagnostic device and improve the market competitiveness.

然而,現在的汽車與初期的汽車已大不一樣。它是一個大型及複雜的網路,由各式各樣的電子系統和零組件所組成。在1990至2000年代還被當作是進步性的功能,例如ABS、電子氣門正時系統、電子點火系統、氣囊、後座視訊娛樂系統等,已被當作是基本配置。也因為這些裝置,使汽車電子系統的複雜性大幅提升。近期的汽車所配置的電子零件數目,是十年前上一代車輛的兩倍以上,而且此種狀態正在加速增加中。其中控制區域網路(Control Area Network,CAN)使其隨車診斷系統命令、煞車、變速箱控制、引擎等,能夠有系統的互相傳達資訊,以確保車輛擁有最佳的性能,尤其重要。However, the current car is very different from the initial car. It is a large and complex network consisting of a wide variety of electronic systems and components. In the 1990s and 2000s, it was considered as a progressive function, such as ABS, electronic valve timing system, electronic ignition system, airbag, rear seat video entertainment system, etc., which has been regarded as the basic configuration. Because of these devices, the complexity of automotive electronic systems has increased dramatically. The number of electronic components in recent cars is more than twice that of the previous generation of vehicles a decade ago, and this state is accelerating. Among them, Control Area Network (CAN) makes it possible to systematically communicate information to ensure that the vehicle has the best performance, especially the control system command, brake, transmission control, engine, etc.

但是,現有隨車診斷系統(On-Board Diagnosis System,OBD)使用之傳遞方式多以單筆訊號傳輸,爾後再依需求再次提出診斷命令。此種方式不但缺乏規劃及效率不佳,且車輛各裝置回覆時間不一,取得裝置回覆前將浪費大量時間。However, the transmission method of the existing On-Board Diagnosis System (OBD) is mostly transmitted by a single signal, and then the diagnostic command is again requested according to the demand. This method not only lacks planning and inefficiency, but also has different response times for vehicles. It will waste a lot of time before the device is returned.

除了以上問題外,如何減少資料取得時間及相容現有設備等,也是一大問題。然,在車輛既有的規範下,對於車身元件各有其要求,如何縮減裝設難度及時間,也有其難處。In addition to the above problems, how to reduce data acquisition time and compatibility with existing equipment is also a big problem. However, under the existing specifications of the vehicle, there are various requirements for the body components, and how to reduce the difficulty and time of installation is also difficult.

為解決上述問題,本發明係提供一種處理和傳送汽車通訊之方式,其主要原理為利用診斷命令儲存於行車電腦確認欄,再一次性以多通道方式提出行車電腦確認欄內之確認診斷指令至控制區域網路,最後依控制區域網路傳輸回覆資料時間及 行為動作需求,重新提出所需診斷命令,以達成各行車電腦(Electronic Control Unit,ECU)動作控制。In order to solve the above problems, the present invention provides a method for processing and transmitting car communication. The main principle is to use the diagnostic command to store in the driving computer confirmation column, and then to submit the confirmation diagnosis instruction in the driving computer confirmation column to the multi-channel method at one time. Control the local area network, and finally transmit the reply time and time according to the control area network. Action action requirements, re-propose the required diagnostic commands to achieve the action control of each Electronic Computer (Electronic Control Unit, ECU).

因此,本發明之主要目的係在提供一種處理和傳送汽車通訊之方式,具有提高行車電腦控制類裝置效率之功效。Accordingly, the primary object of the present invention is to provide a means of processing and communicating automotive communications that has the effect of improving the efficiency of the driving computer control device.

本發明再一目的係在提供一種處理和傳送汽車通訊之方式,提供主動取得裝置最新狀態之效果。Still another object of the present invention is to provide a means of handling and communicating automotive communications, providing the effect of actively obtaining the latest state of the device.

本發明再一目的係在提供一種處理和傳送汽車通訊之方式,應用多通道方式傳遞診斷命令,使傳遞診斷命令等待時間縮短。Still another object of the present invention is to provide a method of processing and transmitting a vehicle communication, using a multi-channel mode to transmit a diagnostic command to shorten the waiting time for transmitting a diagnostic command.

本發明再一目的係在提供一種處理和傳送汽車通訊之方式,因使用標準隨車診斷系統方式架設,可無障礙於任一車種裝設。Still another object of the present invention is to provide a means of handling and communicating automotive communications that can be accessed in any vehicle type by using a standard on-board diagnostic system.

本發明再一目的係在提供一種處理和傳送汽車通訊之方式,藉由標準隨車診斷系統通訊方式,以診斷命令確認裝置狀態,可確保訊息之可靠度。Still another object of the present invention is to provide a method of processing and transmitting a vehicle communication, which can ensure the reliability of the message by confirming the state of the device with a diagnostic command by means of a standard on-board diagnostic system communication method.

為達到上述目的,本發明所使用的主要技術手段是採用以下技術方案來實現的。本發明為一種處理和傳送汽車通訊之方式,係以多通道傳送汽車診斷指令至控制區域網路(Control Area Network,CAN)達成確認汽車元件狀態,其係包括下列步驟:步驟1:一控制單元將一狀態需求表之行車電腦確認欄之該些確認診斷指令傳遞至控制區域網路;步驟2:該控制單 元依據控制區域網路傳回之診斷指令回覆紀錄於一狀態儲存區,並將取得回覆之確認診斷指令之需求確認欄取消標記;步驟3:該控制單元確認全部取得確認診斷指令之回覆後,讀取一行為動作紀錄表之該些動作診斷指令;步驟4:該控制單元將動作診斷指令對應行車電腦確認欄之需求確認欄標記,將對應之確認診斷指令傳遞至控制區域網路;或將該些動作診斷指令傳輸至外部設備。In order to achieve the above object, the main technical means used in the present invention is achieved by the following technical solutions. The invention relates to a method for processing and transmitting automobile communication, which is to confirm the state of an automobile component by transmitting a vehicle diagnostic command to a control area network (CAN) by multiple channels, which comprises the following steps: Step 1: A control unit Passing the confirmation diagnostic commands of the driving computer confirmation column of a status request table to the control area network; Step 2: the control list The replies are recorded in a state storage area according to the diagnostic command returned by the control area network, and the demand confirmation column of the acknowledgment diagnosis command for obtaining the reply is unmarked; Step 3: After the control unit confirms all the replies of the confirmation diagnosis command, Reading the action diagnosis command of a behavioral action record table; Step 4: the control unit marks the action diagnosis instruction corresponding to the demand confirmation column of the driving computer confirmation column, and transmits the corresponding confirmation diagnosis instruction to the control area network; or The motion diagnosis commands are transmitted to an external device.

本發明的目的及解決其技術問題還可採用以下技術措施步驟進一步實現。The object of the present invention and solving the technical problems thereof can be further achieved by the following technical measures.

前述的一種處理和傳送汽車通訊之方式,其中步驟1之後,該控制單元將對應於該些確認診斷指令之需求確認欄標記以確認已送出狀態。The foregoing method for processing and transmitting car communication, wherein after the step 1, the control unit marks the demand confirmation column corresponding to the confirmation diagnostic commands to confirm the sent status.

前述的一種處理和傳送汽車通訊之方式,其中步驟1之後該控制單元將對應於該些確認診斷指令之逾時檢查欄從逾時值依時間調整至限制值。The foregoing method for processing and transmitting car communication, wherein after the step 1, the control unit adjusts the timeout check column corresponding to the confirmation diagnostic commands from the time-out value to the limit value.

前述的一種處理和傳送汽車通訊之方式,當逾時檢查欄等於限制值時,該控制單元將確認診斷指令再次傳遞至控制區域網路,並將對應於該些確認診斷指令之逾時檢查欄設為逾時值。The foregoing method for processing and transmitting car communication, when the timeout check column is equal to the limit value, the control unit transmits the confirmation diagnosis command to the control area network again, and the timeout check column corresponding to the confirmation diagnosis instructions is Set to the timeout value.

前述的一種處理和傳送汽車通訊之方式,其中步驟2之後該控制單元將對應於該些確認診斷指令之回覆確認欄標記以確認已回覆狀態。The foregoing method for processing and transmitting car communication, wherein after the step 2, the control unit marks the reply confirmation column corresponding to the confirmation diagnostic commands to confirm the reply status.

前述的一種處理和傳送汽車通訊之方式,其中步驟4之後該控制單元將對應於該些確認診斷指令之回覆確認欄取消標記。The foregoing method for processing and transmitting car communication, wherein after the step 4, the control unit cancels the reply confirmation column corresponding to the confirmation diagnostic commands.

前述的一種處理和傳送汽車通訊之方式,其中步驟4之後該控制單元將對應於該些確認診斷指令之逾時檢查欄從逾時值依時間調整至限制值。The foregoing method for processing and transmitting car communication, wherein after the step 4, the control unit adjusts the timeout check column corresponding to the confirmation diagnostic commands from the timeout value to the limit value.

前述的一種處理和傳送汽車通訊之方式,當逾時檢查欄為限制值時,該控制單元將確認診斷指令再次傳遞至控制區域網路,並將對應於該些確認診斷指令之逾時檢查欄設為逾時值。The foregoing method for processing and transmitting car communication, when the timeout check column is a limit value, the control unit transmits the confirmation diagnosis command to the control area network again, and the timeout check column corresponding to the confirmation diagnosis instructions is Set to the timeout value.

相較於習知技術,本發明具有功效在於:(1)精準確認裝置狀態;(2)藉由多通道方式提出診斷命令減少診斷指令間之等待時間;(3)憑藉現有物理接口及傳輸指令,可簡單相容現有設備;(4)提高取得裝置狀態之效能。Compared with the prior art, the invention has the following effects: (1) accurately confirming the state of the device; (2) reducing the waiting time between the diagnostic commands by issuing a diagnostic command in a multi-channel manner; (3) relying on the existing physical interface and the transmission instruction , can be easily compatible with existing equipment; (4) improve the performance of the device state.

為了讓本發明之目的、特徵與功效更明顯易懂,以下特別列舉本發明之較佳實施型態:如第1至4圖所示,為本發明一種處理和傳送汽車通訊之方式之主要實施型態。請先參考第1圖所示,本發明包含基本四個步驟,其為步驟1(601)、步驟2(602)、步驟3(603)、 及(步驟4(604)或步驟4-1(6041))。In order to make the objects, features and functions of the present invention more comprehensible, the following is a particularly preferred embodiment of the present invention: as shown in Figures 1 to 4, a primary implementation of a method of handling and communicating automotive communications in accordance with the present invention. Type. Referring first to FIG. 1, the present invention includes four basic steps, which are step 1 (601), step 2 (602), and step 3 (603). And (step 4 (604) or step 4-1 (6041)).

如第1及3圖所示,步驟1(601)為一控制單元(10)將一狀態需求表(20)之行車電腦確認欄(21)之該些確認診斷指令(211)傳遞至控制區域網路(50)。再看第1及3圖所表,步驟2(602)為該控制單元(10)依據控制區域網路(50)傳回之診斷指令回覆(212)紀錄於一狀態儲存區(30),並將取得回覆之確認診斷指令(211)之需求確認欄(22)取消標記。As shown in Figures 1 and 3, step 1 (601) is a control unit (10) that passes the confirmation diagnostic commands (211) of the driving computer confirmation field (21) of a status request table (20) to the control area. Network (50). Referring again to the tables shown in Figures 1 and 3, step 2 (602) is recorded in a state storage area (30) by the control unit (10) according to the diagnostic command reply (212) returned by the control area network (50), and The demand confirmation column (22) of the confirmation diagnosis command (211) that has received the reply is unmarked.

具體而言,本發明中傳遞至控制區域網路(50)係以多通道方式提出,其概念為以多組資料通道同時對於不同行車電腦提出傳輸,以降低多筆傳輸工作,須以一次一個傳輸導致之瓶頸;該控制單元(10)為主動元件,其為可以執行複雜的電腦程式的邏輯機器,具有處理資料計算及比對等功能;該狀態需求表(20)可參閱第4圖所示,其可包含行車電腦確認欄(21)、需求確認欄(22)、逾時檢查欄(23)及回覆確認欄(24),其中需求確認欄(22)及回覆確認欄(24)可如第4圖表示,已填入1為標記,填入0為取消標記;該行車電腦確認欄(21)中包含確認診斷指令(211);又,該確認診斷指令(211)為符合隨車診斷系統(On-Board Diagnosis System,OBD)之指令,可以依工程模式與車輛系統互動。然,該狀態需求表(20)儲存於一種利用半導體技術做成的電子裝置,其用來儲存資料。電子電路的資料是以二進位的方式儲存,其可為揮發性記憶體或非揮發性記憶體。該控制單元(10)與該狀態需求表(20) 之載體以電性連結方式相互通訊。Specifically, the network (50) transmitted to the control area in the present invention is proposed in a multi-channel manner, and the concept is that multiple sets of data channels are simultaneously transmitted to different driving computers to reduce multiple transmissions, one at a time. The bottleneck caused by the transmission; the control unit (10) is an active component, which is a logical machine capable of executing a complicated computer program, and has functions of processing data calculation and comparison; the state requirement table (20) can be referred to FIG. The indication may include a driving computer confirmation column (21), a demand confirmation column (22), a timeout inspection column (23), and a reply confirmation column (24), wherein the demand confirmation column (22) and the reply confirmation column (24) may be As shown in Fig. 4, 1 is filled with the mark, and 0 is the cancel mark; the drive computer confirmation column (21) contains the confirmation diagnosis command (211); in addition, the confirmation diagnosis command (211) is in compliance with the vehicle. The command of the On-Board Diagnosis System (OBD) can interact with the vehicle system according to the engineering mode. However, the status requirement table (20) is stored in an electronic device made using semiconductor technology for storing data. The data of the electronic circuit is stored in binary mode, which can be volatile memory or non-volatile memory. The control unit (10) and the status requirement table (20) The carriers communicate with each other in an electrically connected manner.

再者,該控制區域網路(50)為控制區域網路(Control Area Network,CAN),其為1993年11月出版的國際標準ISO11898,本發明與該控制區域網路(50)之電性連接以最為常見之OBD-II相容診斷座為主,OBD-II相容診斷座是所有OBD-II規格的車輛統一使用的診斷接腳,其符合歐洲統一標準的ISO7637-1及美國統一標準的SAE J1962/SAE J1978/SAE J1979/SAE J2012等國際規格,依以上國際規範可無障礙用於任一車種裝設,且確保裝置訊息之可靠度。Furthermore, the control area network (50) is a Control Area Network (CAN), which is an international standard ISO 11898 published in November 1993, and the electrical system of the present invention and the control area network (50). The connection is based on the most common OBD-II compatible diagnostic seat. The OBD-II compatible diagnostic seat is a diagnostic pin for all OBD-II vehicles. It complies with the European standard ISO7637-1 and the US standard. International specifications such as SAE J1962/SAE J1978/SAE J1979/SAE J2012 can be used in any vehicle type according to the above international regulations, and ensure the reliability of the device information.

實際而論,為確保通訊取得狀態嚴謹度,與本發明步驟1(601)時,先行確認各行車電腦狀態時,狀態需求表(20)初始可將需求確認欄(22)填入標記,以利後續步驟2(602)時可確認無誤;亦可於步驟1之後(如第2a圖所示之步驟1-1(6011)),該控制單元(10)將對應於該些確認診斷指令(211)之需求確認欄(22)標記以確認已送出狀態,再由步驟2(602)取得回覆後取消標記。In actuality, in order to ensure the state of urgency of communication acquisition, and in step 1 (601) of the present invention, when the state of each driving computer is confirmed first, the status requirement table (20) can initially fill the requirement confirmation column (22) with the mark to The subsequent step 2 (602) can be confirmed as correct; after step 1 (as shown in step 1-1 (6011) of FIG. 2a), the control unit (10) will correspond to the confirmation diagnostic commands ( 211) The demand confirmation column (22) is marked to confirm the sent status, and the reply is obtained after the reply is obtained in step 2 (602).

較佳者,可參閱第2a圖所示,因應電子系統可能產生之訊號延遲及實體線路等問題,可於狀態需求表(20)中對應各確認診斷指令(211)給予逾時檢查欄(23)(如第4圖所示),依據各行車電腦特性給於逾時邏輯限制,如第2a圖所示之步驟1-2(6012),當確認診斷指令(211)提出後,將該逾時檢 查欄(23)從逾時值(例如第4圖中,代號7E0之行車電腦,逾時值為50ms)依時間調整至限制值(例如時間倒數到0ms)。如第2a圖所示之步驟1-2-1(6013),當逾時檢查欄(23)等於限制值時,該控制單元(10)將確認診斷指令(211)再次傳遞至控制區域網路(50),並將對應於該些確認診斷指令(211)之逾時檢查欄(23)設為逾時值;且,在步驟2(602)之後該控制單元(10)將對應於該些確認診斷指令(211)之回覆確認欄(24)標記以確認已回覆狀態(如第2a圖所示之步驟2-1(6021)),依以上可確保通訊之可靠性。Preferably, as shown in Figure 2a, in response to problems such as signal delays and physical lines that may occur in the electronic system, the time-out check column (23) may be given in each of the status confirmation tables (20). ) (as shown in Figure 4), the time-out logic limit is given according to the characteristics of each driving computer. For example, step 1-2 (6012) shown in Figure 2a, when the confirmation diagnostic command (211) is submitted, the Time check Check the column (23) from the timeout value (for example, in Figure 4, code 7E0 driving computer, the timeout value is 50ms) to adjust to the limit value (for example, the time countdown to 0ms). Step 1-2-1 (6013) shown in Figure 2a, when the timeout check field (23) is equal to the limit value, the control unit (10) passes the confirmation diagnostic command (211) to the control area network again. (50), and setting a timeout check column (23) corresponding to the confirmation diagnostic command (211) as a timeout value; and, after step 2 (602), the control unit (10) will correspond to the Confirm the reply confirmation column (24) of the diagnostic command (211) to confirm the reply status (such as step 2-1 (6021) shown in Figure 2a). The above can ensure the reliability of communication.

如第1及3圖所示,步驟3(603)為該控制單元(10)確認全部取得確認診斷指令(211)之回覆後,讀取一行為動作紀錄表(40)之該些動作診斷指令(41)。As shown in FIGS. 1 and 3, in step 3 (603), after the control unit (10) confirms that all the confirmation diagnostic commands (211) have been replied, the action diagnosis command of the behavioral action record table (40) is read. (41).

詳而言之,該控制單元(10)確認行車電腦確認欄(21)之全部需求確認欄(22)皆已取消標記,既可確認已全部取得確認診斷指令(211)之回覆。該行為動作紀錄表(40)係為連續邏輯腳本(例如:當車輛時速超過每小時20公里就將車門鎖住、當車輛時速超過每小時100公里就將大燈開啟閃爍2次或當車輛於發動狀態之汽車排檔為停車檔就解除車門鎖定...等個人化邏輯),該動作診斷指令(41)實為將連續邏輯腳本轉譯成之車輛診斷命令;而該行為動作紀錄表(40)儲存於一種利用半導體技術做成的電子裝置,用來儲存資料。電子電路的資料是以二進位的方式儲存,其可為揮發性記憶體或非揮發性 記憶體。該控制單元(10)、該狀態需求表(20)之載體與該行為動作紀錄表(40)之載體以電性連結方式相互通訊。In detail, the control unit (10) confirms that all the demand confirmation fields (22) of the driving computer confirmation column (21) have been unmarked, and it is possible to confirm that all the confirmation diagnostic commands (211) have been obtained. The behavioral action record table (40) is a continuous logic script (for example: when the vehicle speed exceeds 20 kilometers per hour, the door is locked, and when the vehicle speed exceeds 100 kilometers per hour, the headlights are turned on and flashed twice or when the vehicle is The driving status command (41) is a vehicle diagnostic command that translates a continuous logic script into a vehicle diagnostic gear (the personalization logic is released in the parking state); and the behavioral action record table (40) Stored in an electronic device made using semiconductor technology to store data. Electronic circuit data is stored in binary mode, which can be volatile memory or non-volatile Memory. The control unit (10), the carrier of the status requirement table (20) and the carrier of the behavioral action record table (40) communicate with each other in an electrical connection manner.

如第1及4圖所示,步驟4(604)為該控制單元(10)將動作診斷指令(41)對應行車電腦確認欄(21)之需求確認欄(22)標記,將對應之確認診斷指令(211)傳遞至控制區域網路(50)。As shown in FIGS. 1 and 4, in step 4 (604), the control unit (10) marks the operation confirmation command (41) corresponding to the demand confirmation column (22) of the driving computer confirmation column (21), and confirms the corresponding diagnosis. The command (211) is passed to the control area network (50).

詳明而論,主要在步驟3(603)中取得該些動作診斷指令(41)之內容,再將對應行車電腦確認欄(21)之需求確認欄(22)標記,並於步驟4之後該控制單元(10)將對應於該些確認診斷指令(211)之回覆確認欄(24)取消標記(如第2b圖所示之步驟5(605))。In detail, the content of the motion diagnosis command (41) is obtained mainly in step 3 (603), and the demand confirmation column (22) of the corresponding driving computer confirmation column (21) is marked, and after step 4, the control is performed. The unit (10) unmarks the reply confirmation column (24) corresponding to the confirmation diagnostic command (211) (step 5 (605) shown in Fig. 2b).

除步驟4(604)之外,亦可於步驟3(603)之後接續步驟4-1(6041),如第3圖所示,將該些動作診斷指令(41)由該控制單元(10)以數位或類比方式傳輸至外部設備(60),該外部設備(60)可為串接於診斷插座之設備或是以電性連接行車電腦之轉接設備。In addition to step 4 (604), step 4-1 (6041) may be followed by step 3 (603). As shown in FIG. 3, the motion diagnosis command (41) is used by the control unit (10). The device is transmitted to the external device (60) in a digital or analog manner, and the external device (60) may be a device connected in series to the diagnostic socket or a switching device electrically connected to the driving computer.

較佳者,可參閱第2b圖所示,因應電子系統可能產生之訊號延遲及實體線路等問題,可於狀態需求表(20)中對應各確認診斷指令(211)給予逾時檢查欄(23)(如第4圖所示),依據各行車電腦特性給於逾時邏輯限制,當確認診斷指令(211)提出後,將該逾時檢查欄(23)從逾時值依時間調整 至限制值(如第2b圖所示之步驟6(606))。當逾時檢查欄(23)等於限制值時,該控制單元(10)將確認診斷指令(211)再次傳遞至控制區域網路(50),並將對應於該些確認診斷指令(211)之逾時檢查欄(23)設為逾時值(如第2b圖所示之步驟6-1(6061))。Preferably, as shown in Figure 2b, in response to problems such as signal delays and physical lines that may occur in the electronic system, the time-out check column (23) may be given in each of the status confirmation tables (20). ) (as shown in Figure 4), the time-out logic limit is given according to the characteristics of each driving computer. When the confirmation diagnosis command (211) is submitted, the time-out check field (23) is adjusted from the time-out value according to time. To the limit value (step 6 (606) as shown in Figure 2b). When the timeout check field (23) is equal to the limit value, the control unit (10) passes the confirmation diagnosis command (211) to the control area network (50) again, and corresponds to the confirmation diagnosis command (211). The timeout check field (23) is set to the timeout value (step 6-1 (6061) shown in Figure 2b).

以下就以本發明之一種處理和傳送汽車診斷通訊之方式之較佳實施型態為例,針對本發明的運作過程做一詳細的說明如下所示。In the following, a preferred embodiment of a method for processing and transmitting automotive diagnostic communication of the present invention is taken as an example, and a detailed description of the operation of the present invention is as follows.

先參考第2a及2b圖所示,依此本發明較佳實施型態之第二方法流程圖為說明主體。再依第3、4圖及第2a圖之步驟1(601)表示,具有執行連續邏輯腳本功能之本發明與控制區域網路(50)達成電性連接後,為確定連續邏輯腳本功能之可執行性,控制單元(10)將狀態需求表(20)提出至控制區域網路(50),以確認各行車電腦狀態。Referring first to Figures 2a and 2b, a second method flow diagram of a preferred embodiment of the present invention is illustrative of the subject. According to steps 1 and 4 of FIG. 3 and FIG. 2a, the invention having the function of executing the continuous logic script is electrically connected to the control area network (50), and the function of the continuous logic script is determined. Execution, the control unit (10) presents the status requirement table (20) to the control area network (50) to confirm the status of each driving computer.

為確保資訊之可靠度第2a圖之步驟1-1(6011)、步驟1-2(6012)及步驟1-3(6013),分別以記錄及時間確認方式確保步驟1(601)之完成。In order to ensure the reliability of the information, steps 1-1 (6011), 1-2 (6012) and steps 1-3 (6013) of Fig. 2a, the completion of step 1 (601) is ensured by recording and time confirmation, respectively.

在步驟2(602)中將具有各行車電腦狀態之診斷指令回覆(212)儲存於狀態儲存區(30),以確保步驟3(603)中讀取之動作診斷指令(41)無衝突。且為了確保登記無誤,分別依步驟2(602)在取得回覆之診斷指令(211)之需求確認欄(22)取消標記及依步驟2-1(6021)在回覆確認欄(24)標記,達到雙重確認之可靠度(如第4圖之需求確認欄(22)及回覆確認欄(24),可看出兩欄之值互不相同)。In step 2 (602), a diagnostic command reply (212) having the status of each driving computer is stored in the status storage area (30) to ensure that there is no conflict in the action diagnostic command (41) read in step 3 (603). In order to ensure the registration is correct, in step 2 (602), in the request confirmation column (22) of the reply diagnosis command (211), the mark is canceled and the reply confirmation column (24) is marked in step 2-1 (6021). The reliability of the double confirmation (such as the demand confirmation column (22) and the reply confirmation column (24) in Figure 4, it can be seen that the values in the two columns are different from each other).

於第2b圖之步驟3(603)中讀取紀錄連續邏輯腳本之動作診斷指令(41),並可由儲存於狀態儲存區(30)之診斷指令回覆(212)確認連續邏輯腳本之可執行性。The action diagnostic command (41) for recording the continuous logic script is read in step 3 (603) of FIG. 2b, and the executable logic of the continuous logic script can be confirmed by the diagnostic command reply (212) stored in the state storage area (30). .

從第2b圖之步驟4(604)將連續邏輯腳本產生之動作診斷指令(41)標示於需求確認欄(22)(如第4圖代號7E0及7E1行車電腦執行對應之確認診斷指令(211),而代號7E2行車電腦不執行);最後,將連續邏輯腳本產生之動作診斷指令(41)傳遞至控制區域網路(50);再由,步驟5(605)、步驟6(606)及步驟6-1(6061),分別以記錄及時間確認方式確保之連續邏輯腳本之可執行性。The action diagnosis command (41) generated by the continuous logic script is indicated in the demand confirmation column (22) from step 4 (604) of Fig. 2b (as shown in Fig. 4, code 7E0 and 7E1, the corresponding computer confirms the diagnostic command (211). And the code 7E2 driving computer is not executed); finally, the action diagnosis command (41) generated by the continuous logic script is transmitted to the control area network (50); and then, step 5 (605), step 6 (606) and steps 6-1 (6061), ensuring the enforceability of continuous logic scripts by recording and time confirmation, respectively.

因此本發明之功效有別於傳統車輛之行車電腦訊號通訊的相關裝置,此於控制行車電腦作動的相關裝置應用當中實屬首創,符合發明專利要件,爰依法俱文提出申請。Therefore, the effect of the present invention is different from that of the traditional vehicle driving computer signal communication device, which is the first in the application of the relevant device for controlling the driving computer, and meets the requirements of the invention patent, and submits an application according to law.

惟,需再次重申,以上所述者僅為本發明之較佳實施型態,舉凡應用本發明說明書、申請專利範圍或圖式所為之等效變化,仍屬本發明所保護之技術範疇,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。However, it should be reiterated that the above description is only a preferred embodiment of the present invention, and the equivalent changes of the specification, the patent scope or the drawings of the present invention are still within the technical scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

10‧‧‧控制單元10‧‧‧Control unit

601‧‧‧步驟1601‧‧‧Step 1

20‧‧‧狀態需求表20‧‧‧State Requirements Table

6011‧‧‧步驟1-16011‧‧‧Step 1-1

21‧‧‧行車電腦確認欄21‧‧‧ Driving computer confirmation column

6012‧‧‧步驟1-26012‧‧‧Step 1-2

211‧‧‧確認診斷指令211‧‧‧Confirm diagnostic instructions

6013‧‧‧步驟1-2-16013‧‧‧Step 1-2-1

212‧‧‧診斷指令回覆212‧‧‧Diagnostic Instructions Reply

602‧‧‧步驟2602‧‧‧Step 2

22‧‧‧需求確認欄22‧‧‧Requirement confirmation column

6021‧‧‧步驟2-16021‧‧‧Step 2-1

23‧‧‧逾時檢查欄23‧‧‧Overtime checklist

603‧‧‧步驟3603‧‧‧Step 3

24‧‧‧回覆確認欄24‧‧‧Reply confirmation column

604‧‧‧步驟4604‧‧‧Step 4

30‧‧‧狀態儲存區30‧‧‧State storage area

6041‧‧‧步驟4-16041‧‧‧Step 4-1

40‧‧‧行為動作紀錄表40‧‧‧ Behavioral Action Record

605‧‧‧步驟5605‧‧‧Step 5

41‧‧‧動作診斷指令41‧‧‧Action Diagnostic Instructions

606‧‧‧步驟6606‧‧‧Step 6

50‧‧‧控制區域網路50‧‧‧Control area network

6061‧‧‧步驟6-16061‧‧‧Step 6-1

60‧‧‧外部設備60‧‧‧External equipment

第1圖:為本發明最佳實施型態之第一方法流程圖。Figure 1 is a flow chart showing a first method of the preferred embodiment of the present invention.

第2a~2b圖:為本發明最佳實施型態之第二方法流程圖。2a-2b: A flow chart of a second method of the preferred embodiment of the present invention.

第3圖:為本發明最佳實施型態之方塊示意圖。Figure 3 is a block diagram showing the preferred embodiment of the present invention.

第4圖:為本發明最佳實施型態之狀態需求表示意圖。Fig. 4 is a schematic view showing the state demand table of the preferred embodiment of the present invention.

601‧‧‧步驟1601‧‧‧Step 1

602‧‧‧步驟2602‧‧‧Step 2

603‧‧‧步驟3603‧‧‧Step 3

604‧‧‧步驟4604‧‧‧Step 4

605‧‧‧步驟5605‧‧‧Step 5

Claims (8)

一種處理和傳送汽車通訊之方式,係以多通道傳送汽車診斷指令至控制區域網路(Control Area Network,CAN)達成確認汽車元件狀態,其係包括下列步驟:步驟1:一控制單元(10)將一狀態需求表(20)之行車電腦確認欄(21)之該些確認診斷指令(211)傳遞至控制區域網路(50);步驟2:該控制單元(10)依據控制區域網路(50)傳回之診斷指令回覆(212)紀錄於一狀態儲存區(30),並將取得回覆之確認診斷指令(211)之需求確認欄(22)取消標記;步驟3:該控制單元(10)確認全部取得確認診斷指令(211)之回覆後,讀取一行為動作紀錄表(40)之該些動作診斷指令(41);步驟4:該控制單元(10)將動作診斷指令(41)對應行車電腦確認欄(21)之需求確認欄(22)標記,將對應之確認診斷指令(211)傳遞至控制區域網路(50);或將該些動作診斷指令(41)傳輸至外部設備(60)。 A method for processing and transmitting car communication is to multi-channel transmit vehicle diagnostic command to a Control Area Network (CAN) to confirm the status of the automotive component, which includes the following steps: Step 1: A control unit (10) The confirmation diagnostic command (211) of the driving computer confirmation column (21) of a status requirement table (20) is transmitted to the control area network (50); step 2: the control unit (10) is based on the control area network ( 50) The returned diagnostic command reply (212) is recorded in a state storage area (30), and the demand confirmation column (22) of the reply confirmation diagnostic command (211) is cancelled. The step 3: the control unit (10) After confirming all the responses to the confirmation diagnosis command (211), the operation diagnosis command (41) of the behavioral action record table (40) is read; Step 4: The control unit (10) sets the action diagnosis command (41) Corresponding to the demand confirmation column (22) of the driving computer confirmation column (21), the corresponding confirmation diagnosis command (211) is transmitted to the control area network (50); or the operation diagnosis command (41) is transmitted to the external device. (60). 如申請專利範圍第1項所述之處理和傳送汽車通訊之方式,其中步驟1之後,該控制單元(10)將對應於該些確認診斷指令(211)之需求確認欄(22)標記以確認已送出狀態。 The method for processing and transmitting car communication as described in claim 1 of the patent application, wherein after the step 1, the control unit (10) marks the demand confirmation column (22) corresponding to the confirmation diagnostic commands (211) to confirm The status has been sent. 如申請專利範圍第1項所述之處理和傳送汽車通訊之方式,其中步驟1之後該控制單元(10)將對應於該些確認診斷指令(211)之逾時檢查欄(23)從逾時值依時間調整至限制值。 The method of processing and transmitting car communication as described in claim 1 of the patent application, wherein after the step 1, the control unit (10) takes the timeout check column (23) corresponding to the confirmation diagnostic command (211) from the timeout The value is adjusted to the limit value by time. 如申請專利範圍第3項所述之處理和傳送汽車通訊之方式,當逾時檢查 欄(23)等於限制值時,該控制單元(10)將確認診斷指令(211)再次傳遞至控制區域網路(50),並將對應於該些確認診斷指令(211)之逾時檢查欄(23)設為逾時值。 For the method of processing and transmitting car communication as described in item 3 of the patent application, when overtime inspection When the column (23) is equal to the limit value, the control unit (10) transmits the confirmation diagnosis command (211) to the control area network (50) again, and the timeout check column corresponding to the confirmation diagnosis command (211) (23) Set to the timeout value. 如申請專利範圍第1項所述之處理和傳送汽車通訊之方式,其中步驟2之後該控制單元(10)將對應於該些確認診斷指令(211)之回覆確認欄(24)標記以確認已回覆狀態。 The method for processing and transmitting car communication as described in claim 1 of the patent application, wherein after the step 2, the control unit (10) marks the reply confirmation column (24) corresponding to the confirmation diagnostic commands (211) to confirm that Reply status. 如申請專利範圍第5項所述之處理和傳送汽車通訊之方式,其中步驟4之後該控制單元(10)將對應於該些確認診斷指令(211)之回覆確認欄(24)取消標記。 The method of processing and transmitting car communication as described in claim 5, wherein after the step 4, the control unit (10) unmarks the reply confirmation column (24) corresponding to the confirmation diagnostic commands (211). 如申請專利範圍第1項所述之處理和傳送汽車通訊之方式,其中步驟5之後該控制單元(10)將對應於該些確認診斷指令(211)之逾時檢查欄(23)從逾時值依時間調整至限制值。 The method of processing and transmitting car communication as described in claim 1 of the patent application, wherein after the step 5, the control unit (10) takes the timeout check column (23) corresponding to the confirmation diagnostic command (211) from the timeout The value is adjusted to the limit value by time. 如申請專利範圍第7項所述之處理和傳送汽車通訊之方式,當逾時檢查欄(23)為限制值時,該控制單元(10)將確認診斷指令(211)再次傳遞至控制區域網路(50),並將對應於該些確認診斷指令(211)之逾時檢查欄(23)設為逾時值。The processing unit (10) transmits the confirmation diagnostic command (211) to the control area network again when the timeout check field (23) is a limit value, as described in the processing of the patent scope and the method of transmitting the vehicle communication. The road (50) sets the timeout check field (23) corresponding to the confirmation diagnostic command (211) to the timeout value.
TW101148303A 2012-12-19 2012-12-19 Handling and transmission of motor vehicles TWI513613B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101148303A TWI513613B (en) 2012-12-19 2012-12-19 Handling and transmission of motor vehicles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101148303A TWI513613B (en) 2012-12-19 2012-12-19 Handling and transmission of motor vehicles

Publications (2)

Publication Number Publication Date
TW201425108A TW201425108A (en) 2014-07-01
TWI513613B true TWI513613B (en) 2015-12-21

Family

ID=51725179

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101148303A TWI513613B (en) 2012-12-19 2012-12-19 Handling and transmission of motor vehicles

Country Status (1)

Country Link
TW (1) TWI513613B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997008915A1 (en) * 1995-08-23 1997-03-06 Lucas Industries Plc Data communications between remote sensors and central ecu in motor vehicles
TWM341625U (en) * 2008-03-12 2008-10-01 E Ton Power Tech Co Ltd Vehicle status detection and information notification system
TW201016512A (en) * 2008-10-31 2010-05-01 Inventec Appliances Corp Vehicle status monitoring system and vehicle status monitoring method
KR20100049895A (en) * 2008-11-04 2010-05-13 콘티넨탈 오토모티브 시스템 주식회사 Vehicle condition data storage system using proximity communications of terminal apparatus
TW201144110A (en) * 2010-06-15 2011-12-16 Univ Nat Chiao Tung Method and system for transmitting and receiving vehicle information
JP2011259396A (en) * 2010-06-11 2011-12-22 Honda Motor Co Ltd Communications network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997008915A1 (en) * 1995-08-23 1997-03-06 Lucas Industries Plc Data communications between remote sensors and central ecu in motor vehicles
TWM341625U (en) * 2008-03-12 2008-10-01 E Ton Power Tech Co Ltd Vehicle status detection and information notification system
TW201016512A (en) * 2008-10-31 2010-05-01 Inventec Appliances Corp Vehicle status monitoring system and vehicle status monitoring method
KR20100049895A (en) * 2008-11-04 2010-05-13 콘티넨탈 오토모티브 시스템 주식회사 Vehicle condition data storage system using proximity communications of terminal apparatus
JP2011259396A (en) * 2010-06-11 2011-12-22 Honda Motor Co Ltd Communications network
TW201144110A (en) * 2010-06-15 2011-12-16 Univ Nat Chiao Tung Method and system for transmitting and receiving vehicle information

Also Published As

Publication number Publication date
TW201425108A (en) 2014-07-01

Similar Documents

Publication Publication Date Title
US10055904B2 (en) Vehicle gateway network protection
CN102043680B (en) Method and system for refreshing ECU (Electronic Control Unit) embedded software and downloading program
US10594587B2 (en) Operation method of communication node for diagnosing vehicle network
CN103676926A (en) Security systems and methods with random and multiple change-response testing
CN103529821A (en) Configurable method and device for diagnostic protocol stack system based on CAN (controller area network) bus
EP2440994B1 (en) Vehicle communications interface and method of operation thereof
CN105659532A (en) Safety filter in a vehicle network
DE102019126804A1 (en) VEHICLE SOFTWARE EXAM
CN111130967A (en) Automobile diagnosis network topological structure
US10977875B2 (en) Systems and methods for vehicle diagnostic tester coordination
KR20220156057A (en) Devices and methods for managing electronic control units of a motor vehicle
US10277680B2 (en) Communication method of electronic module in vehicle, and vehicle including the electronic module
CN202110528U (en) ECU (electrical conversion unit) embedded type software refreshing and downloading programming system
TWI513613B (en) Handling and transmission of motor vehicles
US10909783B2 (en) Method of automatically generating vehicle test group identification information, program, electronic control unit, and vehicle
CN116594327A (en) Integrated electric drive system supporting SOA service
CN101419438B (en) Method for refreshing hybrid vehicle controller chip
Harris Embedded software for automotive applications
CN112262555B (en) Communication network segment for a land motor vehicle and associated land motor vehicle
CN115279627A (en) Software update device, software update method, and software update processing program
CN108016381B (en) Automobile electronic system and program updating method thereof
CN202306314U (en) Electronic parking brake simulation testing platform based on static environment
TW201618988A (en) Automobile network adaptor device and method thereof
CN111492431A (en) Implementing security measures in an application
KR101746716B1 (en) Crc code generator or checker having variable polynomial