TWI824778B - System and method with safety of the intended functionality scene collection and self-update mechanism - Google Patents

System and method with safety of the intended functionality scene collection and self-update mechanism Download PDF

Info

Publication number
TWI824778B
TWI824778B TW111139312A TW111139312A TWI824778B TW I824778 B TWI824778 B TW I824778B TW 111139312 A TW111139312 A TW 111139312A TW 111139312 A TW111139312 A TW 111139312A TW I824778 B TWI824778 B TW I824778B
Authority
TW
Taiwan
Prior art keywords
self
driving
verification
dissociation
scene
Prior art date
Application number
TW111139312A
Other languages
Chinese (zh)
Other versions
TW202417292A (en
Inventor
陳建安
莊志偉
Original Assignee
財團法人車輛研究測試中心
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 財團法人車輛研究測試中心 filed Critical 財團法人車輛研究測試中心
Priority to TW111139312A priority Critical patent/TWI824778B/en
Application granted granted Critical
Publication of TWI824778B publication Critical patent/TWI824778B/en
Publication of TW202417292A publication Critical patent/TW202417292A/en

Links

Images

Landscapes

  • Percussion Or Vibration Massage (AREA)

Abstract

A method with a Safety Of The Intended Functionality (SOTIF) scene collection and a self-update mechanism is proposed. The method is applied to a vehicle and includes performing a state judging step, a scene collecting step, a modifying step, a verifying step and an updating step. The state judging step includes configuring an autonomous driving system to judge whether a sensing control data generated by a sensor and a controller belongs to one of an unexpected intervention data and an accident scene data to generate a state judgement result. The scene collecting step includes configuring the autonomous driving system to collect the sensing control data to establish a scene database according to the state judgement result. The modifying step includes configuring the autonomous driving system to modify an algorithm of the sensor and the controller according to the scene database. The verifying step includes configuring one of the autonomous driving system and a cloud platform to perform a parallel operation on the sensor and the controller modified in the modifying step to generate a verification output command and compare the verification output command with a driving intervention control command to generate a comparison result. The updating step includes configuring the one of the autonomous driving system and the cloud platform to update the algorithm of the sensor and the controller according to the comparison result, so that an updated output command generated by the updated algorithm corresponds to the driving intervention control command. Therefore, the method with SOTIF scene collection and self-update mechanism of the present disclosure can take the SOTIF scene into account and have the self-update mechanism.

Description

具預期功能安全場景蒐集及自我更新的系統及其方法System and method for collecting and self-updating expected functional safety scenarios

本發明是關於一種具場景蒐集及自我更新的系統及其方法,特別是關於一種具預期功能安全場景蒐集及自我更新的系統及其方法。 The present invention relates to a system and method with scene collection and self-updating, and in particular to a system and method with expected functional safety scene collection and self-updating.

一般自駕系統可分為自動駕駛系統(Autonomous Driving System;ADS)或先進駕駛輔助系統(Advanced Driver Assistance Systems;ADAS)。習知的自駕系統僅具線上更新模式,且演算法基於類神經網路技術,若非學習樣本會有誤判疑慮;採用駕駛為監控目標,可能造成錯誤趨勢的學習;無針對異常現象進一步解析辨別是感測器、控制器或人為誤作動的影響因素。由此可知,目前市場上缺乏一種適用於自駕系統且有考量到解離(intervention)、事故場景及具離線、線上更新機制的具預期功能安全場景蒐集及自我更新的系統及其方法,故相關業者均在尋求其解決之道。Generally, self-driving systems can be divided into automatic driving systems (Autonomous Driving System; ADS) or advanced driver assistance systems (Advanced Driver Assistance Systems; ADAS). The conventional self-driving system only has an online update mode, and the algorithm is based on neural network technology. If there are no learning samples, there will be misjudgments. Using driving as the monitoring target may lead to the learning of wrong trends. There is no further analysis and identification of abnormal phenomena. Influencing factors of sensors, controllers or human error. It can be seen from this that there is currently a lack of a system and method on the market that is suitable for self-driving systems and that takes into account dissociation (intervention), accident scenarios, and has offline and online update mechanisms with expected functional safety scene collection and self-update. Therefore, relevant industries are all looking for solutions.

因此,本發明的目的在於提供一種具預期功能安全場景蒐集及自我更新的系統及其方法,其透過車輛的自駕系統進行非預期解離時場景(人為解離/系統解離)或事故發生當下場景收集,以建立場景資料庫,然後進行比對、測試,區分功能安全或預期功能安全(Safety Of The Intended Functionality;SOTIF),提供功能異常點建議與場景、控制器及感測器資料紀錄,繼而搭配場景校驗步驟進行感測訊號與控制器反應確認,最終進行系統運作確認,確認校驗比對結果,以增加系統及方法的可靠度及應用層面,並提高市場性。此外,本發明可解決習知技術中多層校驗與網路訓練耗費時間長、有受駕駛惡意操作意圖導致的錯誤學習疑慮、感測器的功能侷限無法透過學習機制解決、無法離線更新以及線上學習更新相對複雜的問題。Therefore, the purpose of the present invention is to provide a system and method with expected functional safety scene collection and self-updating, which collects scenes during unexpected dissociation (artificial dissociation/system dissociation) or scenes at the time of an accident through the vehicle's self-driving system. To establish a scenario database, then conduct comparison and testing, distinguish functional safety or expected functional safety (Safety Of The Intended Functionality; SOTIF), provide functional abnormal point suggestions and scene, controller and sensor data records, and then match the scenario The calibration step confirms the sensing signal and controller response, and finally confirms the system operation and confirms the calibration comparison results to increase the reliability and application level of the system and method, and improve marketability. In addition, the present invention can solve the problem of long time-consuming multi-layer verification and network training in the conventional technology, the problem of erroneous learning caused by the malicious operation intention of the driver, the functional limitations of the sensor that cannot be solved through the learning mechanism, the inability to update offline and online. Learn to update relatively complex problems.

依據本發明的方法態樣的一實施方式提供一種具預期功能安全場景蒐集及自我更新的方法,應用於車輛,具預期功能安全場景蒐集及自我更新的方法包含狀態判斷步驟、場景收集步驟、修正步驟、校驗步驟以及更新步驟。狀態判斷步驟包含驅動自駕系統判斷感測器與控制器所產生的感測控制資料是否屬於非預期解離資料與事故場景資料的一者而產生狀態判斷結果。場景收集步驟包含驅動自駕系統依據狀態判斷結果收集感測控制資料而建立場景資料庫。修正步驟包含驅動自駕系統依據場景資料庫修正感測器與控制器的演算法。校驗步驟包含驅動自駕系統與雲端平台的一者針對修正後的感測器與控制器進行平行運算,以產生校驗輸出命令,並比對校驗輸出命令與駕駛解離控制命令而產生比對結果。更新步驟包含驅動自駕系統與雲端平台的此者依據比對結果更新感測器與控制器的演算法,藉以令更新後的感測器與控制器所產生的更新輸出命令對應駕駛解離控制命令。當狀態判斷步驟判斷感測控制資料屬於事故場景資料時,場景收集步驟所收集到的感測控制資料屬於預期功能安全(Safety Of The Intended Functionality;SOTIF)場景。An implementation method according to the method aspect of the present invention provides a method for collecting and self-updating scenarios with expected functional safety, which is applied to vehicles. The method for collecting and self-updating scenarios with expected functional safety includes a state judgment step, a scene collection step, and a correction step. steps, verification steps, and update steps. The state judgment step includes driving the self-driving system to determine whether the sensing control data generated by the sensor and the controller is one of unexpected dissociation data and accident scene data to generate a state judgment result. The scene collection step includes driving the self-driving system to collect sensing control data based on the status judgment results and establishing a scene database. The correction step includes an algorithm that drives the self-driving system to correct sensors and controllers based on the scene database. The verification step includes driving one of the self-driving system and the cloud platform to perform a parallel operation on the corrected sensor and controller to generate a verification output command, and compare the verification output command with the driving dissociation control command to generate a comparison. result. The update step includes driving the self-driving system and the cloud platform to update the algorithms of the sensors and controllers based on the comparison results, so that the updated output commands generated by the updated sensors and controllers correspond to the driving disengagement control commands. When the status judgment step determines that the sensing control data belongs to the accident scene data, the sensing control data collected by the scene collection step belongs to the expected functional safety (Safety Of The Intended Functionality; SOTIF) scene.

藉此,本發明的具預期功能安全場景蒐集及自我更新的方法有考量到事故的SOTIF場景並具離線或線上的自我更新。Thereby, the method of collecting and self-updating the expected functional safety scenarios of the present invention takes into account the SOTIF scenario of the accident and has offline or online self-updating.

前述實施方式之其他實施例如下:前述狀態判斷步驟包含事故狀態判斷步驟,此事故狀態判斷步驟包含驅動自駕系統判斷感測控制資料是否屬於事故作動資訊而產生事故狀態判斷結果,並依據事故狀態判斷結果執行事故確認步驟與解離確認步驟的一者。當事故狀態判斷結果為是時,自駕系統執行事故確認步驟;當事故狀態判斷結果為否時,自駕系統執行解離確認步驟。Other examples of the aforementioned embodiments are as follows: the aforementioned state determination step includes an accident state determination step. This accident state determination step includes driving the self-driving system to determine whether the sensing control data belongs to accident action information to generate an accident state determination result, and determine based on the accident state. As a result, one of the accident confirmation step and the dissociation confirmation step is executed. When the accident status judgment result is yes, the self-driving system executes the accident confirmation step; when the accident status judgment result is no, the self-driving system executes the dissociation confirmation step.

前述實施方式之其他實施例如下:前述事故確認步驟包含驅動自駕系統確認感測控制資料是否屬於事故場景資料而產生事故確認結果,當事故確認結果為是時,自駕系統執行場景收集步驟。解離確認步驟包含驅動自駕系統確認感測控制資料屬於人為解離資料或系統解離資料而產生解離確認結果,並依據解離確認結果執行人為非預期解離判斷步驟與系統非預期解離判斷步驟的一者。當解離確認結果為感測控制資料屬於人為解離資料時,自駕系統執行人為非預期解離判斷步驟;當解離確認結果為感測控制資料屬於系統解離資料時,自駕系統執行系統非預期解離判斷步驟。Other examples of the foregoing implementation are as follows: the foregoing accident confirmation step includes driving the self-driving system to confirm whether the sensing control data belongs to the accident scene data to generate an accident confirmation result. When the accident confirmation result is yes, the self-driving system executes the scene collection step. The dissociation confirmation step includes driving the self-driving system to confirm that the sensing control data belongs to artificial dissociation data or system dissociation data to generate a dissociation confirmation result, and execute one of the artificial unexpected dissociation judgment step and the system unexpected dissociation judgment step based on the dissociation confirmation result. When the dissociation confirmation result is that the sensing control data belongs to artificial dissociation data, the self-driving system executes the artificial unexpected dissociation judgment step; when the dissociation confirmation result is that the sensing control data belongs to system dissociation data, the self-driving system executes the system unexpected dissociation judgment step.

前述實施方式之其他實施例如下:前述人為非預期解離判斷步驟包含驅動自駕系統判斷感測控制資料是否屬於人為非預期解離資料而產生人為非預期解離判斷結果。系統非預期解離判斷步驟包含驅動自駕系統判斷感測控制資料是否屬於系統非預期解離資料而產生系統非預期解離判斷結果。當人為非預期解離判斷結果與系統非預期解離判斷結果的一者為是時,自駕系統執行場景收集步驟。Other examples of the aforementioned embodiments are as follows: the aforementioned artificial unexpected dissociation judgment step includes driving the self-driving system to judge whether the sensed control data belongs to artificial unexpected dissociation data and generate a human unexpected dissociation judgment result. The system unexpected dissociation judgment step includes driving the self-driving system to judge whether the sensed control data belongs to the system's unexpected dissociation data and generate a system unexpected dissociation judgment result. When one of the artificial unexpected dissociation judgment result and the system unexpected dissociation judgment result is yes, the self-driving system executes the scene collection step.

前述實施方式之其他實施例如下:前述事故作動資訊包含安全氣囊作動資訊、加速度感測器感測資訊及感測器失效資訊的至少一者。人為解離資料包含煞車作動資訊、油/電門啟動資訊、方向盤作動資訊及緊急按鈕作動資訊的至少一者。系統解離資料包含系統通知資訊、系統強制執行資訊及系統失效資訊的至少一者。非預期解離資料包含人為非預期解離資料及系統非預期解離資料。Other examples of the aforementioned implementation are as follows: the aforementioned accident activation information includes at least one of airbag activation information, acceleration sensor sensing information, and sensor failure information. The artificial dissociation data includes at least one of brake actuation information, gas/switch activation information, steering wheel actuation information and emergency button actuation information. The system dissociation data includes at least one of system notification information, system enforcement information, and system failure information. Unexpected dissociation data includes artificial unexpected dissociation data and system unexpected dissociation data.

前述實施方式之其他實施例如下:前述事故場景資料包含異常未作動資料與誤作動資料,其中異常未作動資料代表自駕系統在應作動但卻未作動的狀況下所產生的資料。誤作動資料代表自駕系統在不應作動但卻作動的狀況下所產生的資料。Other examples of the foregoing implementation are as follows: the foregoing accident scene data includes abnormal non-action data and mis-action data, where the abnormal non-action data represents data generated when the self-driving system should have acted but failed to act. Misoperation data represents data generated by the self-driving system when it should not operate but does.

前述實施方式之其他實施例如下:前述校驗步驟包含驅動自駕系統與雲端平台的此者執行線上校驗與離線校驗的一者,以產生校驗輸出命令及比對結果。線上校驗包含線上系統運作確認步驟,線上系統運作確認步驟包含驅動自駕系統與雲端平台的此者依據線上校驗比對結果確認是否執行更新步驟。離線校驗包含離線系統運作確認步驟,離線系統運作確認步驟包含驅動自駕系統依據離線校驗比對結果確認是否執行更新步驟。比對結果為線上校驗比對結果與離線校驗比對結果的一者,駕駛解離控制命令對應煞車作動資訊、油/電門啟動資訊、方向盤作動資訊及緊急按鈕作動資訊的至少一者。Other examples of the aforementioned implementation are as follows: the aforementioned verification step includes driving the self-driving system and the cloud platform to perform one of online verification and offline verification to generate verification output commands and comparison results. The online verification includes an online system operation confirmation step, which includes driving the self-driving system and the cloud platform to confirm whether to perform the update step based on the online verification comparison results. The offline verification includes the offline system operation confirmation step, and the offline system operation confirmation step includes the driver self-driving system confirming whether to perform the update step based on the offline verification comparison results. The comparison result is one of the online verification comparison result and the offline verification comparison result. The driving disengagement control command corresponds to at least one of brake actuation information, gas/switch start information, steering wheel actuation information and emergency button actuation information.

前述實施方式之其他實施例如下:在前述校驗步驟中,雲端平台儲存預設次數及另一場景資料庫,自駕系統與雲端平台的此者受驅動執行線上校驗,且線上校驗更包含線上修正步驟與線上運算步驟。其中線上修正步驟包含驅動自駕系統與雲端平台的此者依據場景資料庫與另一場景資料庫修正感測器與控制器的演算法,然後執行演算法而產生校驗輸出命令。線上運算步驟包含驅動自駕系統與雲端平台的此者針對經過線上修正步驟修正後的感測器與控制器進行平行運算而產生線上校驗比對結果,其中平行運算包含比對校驗輸出命令與駕駛解離控制命令。Other examples of the aforementioned implementation are as follows: In the aforementioned verification step, the cloud platform stores the preset number of times and another scene database, and the self-driving system and the cloud platform are driven to perform online verification, and the online verification further includes Online correction steps and online calculation steps. The online correction step includes driving the self-driving system and the cloud platform to correct the algorithm of the sensor and controller based on the scene database and another scene database, and then executing the algorithm to generate a verification output command. The online computing step includes driving the self-driving system and the cloud platform to perform parallel operations on the sensors and controllers corrected by the online correction step to generate online verification comparison results. The parallel operation includes comparing the verification output command and Driving disengagement control commands.

前述實施方式之其他實施例如下:當前述線上系統運作確認步驟的線上校驗比對結果為校驗輸出命令與駕駛解離控制命令相同且連續相同次數大於預設次數時,進行更新步驟。當線上系統運作確認步驟的線上校驗比對結果不為校驗輸出命令與駕駛解離控制命令相同且連續相同次數大於預設次數時,重複進行線上修正步驟、線上運算步驟及線上系統運作確認步驟。Other examples of the aforementioned implementation are as follows: when the online verification comparison result of the aforementioned online system operation confirmation step is that the verification output command is the same as the driving disengagement control command and the number of consecutive times is greater than the preset number, the update step is performed. When the online verification comparison result of the online system operation confirmation step is not the verification output command and the driving disengagement control command, and the number of consecutive times is greater than the preset number, repeat the online correction step, the online calculation step, and the online system operation confirmation step. .

前述實施方式之其他實施例如下:當前述線上系統運作確認步驟的線上校驗比對結果為校驗輸出命令與駕駛解離控制命令相異且連續相異次數大於預設次數時,重複進行線上修正步驟,然後進行更新步驟。當線上系統運作確認步驟的線上校驗比對結果不為校驗輸出命令與駕駛解離控制命令相異且連續相異次數大於預設次數時,重複進行線上修正步驟、線上運算步驟及線上系統運作確認步驟。Other examples of the aforementioned implementation are as follows: when the online verification comparison result of the aforementioned online system operation confirmation step is that the verification output command is different from the driving disengagement control command and the number of consecutive differences is greater than the preset number, the online correction is repeated. step, then proceed to the update step. When the online verification comparison result of the online system operation confirmation step is not that the verification output command is different from the driving disengagement control command and the number of consecutive differences is greater than the preset number, the online correction step, the online calculation step and the online system operation are repeated. Confirm steps.

前述實施方式之其他實施例如下:在前述校驗步驟中,自駕系統儲存預設次數並受驅動執行離線校驗,且離線校驗更包含離線運算步驟。離線運算步驟包含驅動自駕系統針對經過修正步驟修正後的感測器與控制器執行演算法而產生校驗輸出命令,然後進行平行運算而產生離線校驗比對結果,其中平行運算包含比對校驗輸出命令與駕駛解離控制命令。Other examples of the aforementioned implementation are as follows: in the aforementioned verification step, the self-driving system stores a preset number of times and is driven to perform offline verification, and the offline verification further includes an offline calculation step. The offline calculation step includes driving the self-driving system to execute the algorithm against the corrected sensors and controllers in the correction step to generate verification output commands, and then performing parallel operations to generate offline verification comparison results. The parallel operations include comparison and verification. Verify the output command and driving disengagement control command.

前述實施方式之其他實施例如下:當前述離線系統運作確認步驟的離線校驗比對結果為校驗輸出命令與駕駛解離控制命令相同且連續相同次數大於預設次數時,進行更新步驟。當離線系統運作確認步驟的離線校驗比對結果不為校驗輸出命令與駕駛解離控制命令相同且連續相同次數大於預設次數時,重複進行修正步驟與校驗步驟。Other examples of the aforementioned implementation are as follows: when the offline verification comparison result of the aforementioned offline system operation confirmation step is that the verification output command is the same as the driving disengagement control command and the number of consecutive times is greater than the preset number, the update step is performed. When the offline verification comparison result of the offline system operation confirmation step is not that the verification output command is the same as the driving disengagement control command and the number of consecutive times is greater than the preset number, the correction step and the verification step are repeated.

前述實施方式之其他實施例如下:當前述離線系統運作確認步驟的離線校驗比對結果為校驗輸出命令與駕駛解離控制命令相異且連續相異次數大於預設次數時,重複進行修正步驟,然後進行更新步驟。當離線系統運作確認步驟的離線校驗比對結果不為校驗輸出命令與駕駛解離控制命令相異且連續相異次數大於預設次數時,重複進行修正步驟與校驗步驟。Other examples of the aforementioned implementation are as follows: when the offline verification comparison result of the aforementioned offline system operation confirmation step is that the verification output command is different from the driving disengagement control command and the number of consecutive differences is greater than the preset number, the correction step is repeated. , and then perform the update step. When the offline verification comparison result of the offline system operation confirmation step is not that the verification output command is different from the driving disengagement control command and the number of consecutive differences is greater than the preset number, the correction step and the verification step are repeated.

依據本發明的結構態樣的一實施方式提供一種具預期功能安全場景蒐集及自我更新的系統,其應用於車輛,具預期功能安全場景蒐集及自我更新的系統包含自駕系統。自駕系統設置於車輛且包含感測器與控制器。自駕系統經配置以實施包含以下步驟的操作:狀態判斷步驟、場景收集步驟、修正步驟、校驗步驟以及更新步驟。其中狀態判斷步驟包含判斷感測器與控制器所產生的感測控制資料是否屬於非預期解離資料與事故場景資料的一者而產生狀態判斷結果。場景收集步驟包含依據狀態判斷結果收集感測控制資料而建立場景資料庫。修正步驟包含依據場景資料庫修正感測器與控制器的演算法。校驗步驟包含針對修正後的感測器與控制器進行平行運算,以產生校驗輸出命令,並比對校驗輸出命令與駕駛解離控制命令而產生比對結果。更新步驟包含依據比對結果更新感測器與控制器的演算法,藉以令更新後的感測器與控制器所產生的更新輸出命令對應駕駛解離控制命令。當狀態判斷步驟判斷感測控制資料屬於事故場景資料時,場景收集步驟所收集到的感測控制資料屬於預期功能安全(Safety Of The Intended Functionality;SOTIF)場景。An embodiment according to the structural aspect of the present invention provides a system with expected functional safety scene collection and self-updating, which is applied to a vehicle. The system with expected functional safety scene collection and self-updating includes a self-driving system. The self-driving system is installed in the vehicle and includes sensors and controllers. The self-driving system is configured to perform operations including the following steps: a status determination step, a scene collection step, a correction step, a verification step, and an update step. The state judgment step includes judging whether the sensing control data generated by the sensor and the controller is one of unexpected dissociation data and accident scene data to generate a state judgment result. The scene collection step includes collecting sensing control data based on the status judgment results and establishing a scene database. The correction step includes modifying the sensor and controller algorithms based on the scene database. The verification step includes performing parallel operations on the corrected sensor and controller to generate a verification output command, and comparing the verification output command with the driving disengagement control command to generate a comparison result. The updating step includes updating the algorithm of the sensor and the controller based on the comparison result, so that the updated output command generated by the updated sensor and controller corresponds to the driving disengagement control command. When the status judgment step determines that the sensing control data belongs to the accident scene data, the sensing control data collected by the scene collection step belongs to the expected functional safety (Safety Of The Intended Functionality; SOTIF) scene.

藉此,本發明的具預期功能安全場景蒐集及自我更新的系統在只有自駕系統(無雲端平台)的條件下,依然有考量到事故的SOTIF場景並具離線或線上的自我更新。In this way, the system of the present invention with expected functional safety scenario collection and self-updating can still take into account SOTIF scenarios of accidents and have offline or online self-updating under the condition that it only has a self-driving system (no cloud platform).

前述實施方式之其他實施例如下:前述事故場景資料包含異常未作動資料與誤作動資料,其中異常未作動資料代表自駕系統在應作動但卻未作動的狀況下所產生的資料。誤作動資料代表自駕系統在不應作動但卻作動的狀況下所產生的資料。Other examples of the foregoing implementation are as follows: the foregoing accident scene data includes abnormal non-action data and mis-action data, where the abnormal non-action data represents data generated when the self-driving system should have acted but failed to act. Misoperation data represents data generated by the self-driving system when it should not operate but does.

前述實施方式之其他實施例如下:前述駕駛解離控制命令對應煞車作動資訊、油/電門啟動資訊、方向盤作動資訊及緊急按鈕作動資訊的至少一者。Other examples of the aforementioned implementation are as follows: the aforementioned driving disengagement control command corresponds to at least one of brake actuation information, gas/switch activation information, steering wheel actuation information and emergency button actuation information.

依據本發明的結構態樣的另一實施方式提供一種具預期功能安全場景蒐集及自我更新的系統,其應用於車輛。具預期功能安全場景蒐集及自我更新的系統包含自駕系統以及雲端平台。自駕系統設置於車輛且包含感測器與控制器。雲端平台訊號連接自駕系統。自駕系統與雲端平台經配置以實施包含以下步驟的操作:狀態判斷步驟、場景收集步驟、修正步驟、校驗步驟及更新步驟。狀態判斷步驟包含驅動自駕系統判斷感測器與控制器所產生的感測控制資料是否屬於非預期解離資料與事故場景資料的一者而產生狀態判斷結果。場景收集步驟包含驅動自駕系統依據狀態判斷結果收集感測控制資料而建立場景資料庫。修正步驟包含驅動自駕系統依據場景資料庫修正感測器與控制器的演算法。校驗步驟包含驅動自駕系統與雲端平台的一者針對修正後的感測器與控制器進行平行運算,以產生校驗輸出命令,並比對校驗輸出命令與駕駛解離控制命令而產生比對結果。更新步驟包含驅動自駕系統與雲端平台的此者依據比對結果更新感測器與控制器的演算法,藉以令更新後的感測器與控制器所產生的更新輸出命令對應駕駛解離控制命令。當狀態判斷步驟判斷感測控制資料屬於事故場景資料時,場景收集步驟所收集到的感測控制資料屬於預期功能安全(Safety Of The Intended Functionality;SOTIF)場景。According to another structural aspect of the present invention, a system with expected functional safety scene collection and self-updating is provided, which is applied to a vehicle. Systems with expected functional safety scenario collection and self-updating include self-driving systems and cloud platforms. The self-driving system is installed in the vehicle and includes sensors and controllers. The cloud platform signal connects to the self-driving system. The self-driving system and the cloud platform are configured to perform operations including the following steps: a status determination step, a scene collection step, a correction step, a verification step, and an update step. The state judgment step includes driving the self-driving system to determine whether the sensing control data generated by the sensor and the controller is one of unexpected dissociation data and accident scene data to generate a state judgment result. The scene collection step includes driving the self-driving system to collect sensing control data based on the status judgment results and establishing a scene database. The correction step includes an algorithm that drives the self-driving system to correct sensors and controllers based on the scene database. The verification step includes driving one of the self-driving system and the cloud platform to perform a parallel operation on the corrected sensor and controller to generate a verification output command, and compare the verification output command with the driving dissociation control command to generate a comparison. result. The update step includes driving the self-driving system and the cloud platform to update the algorithms of the sensors and controllers based on the comparison results, so that the updated output commands generated by the updated sensors and controllers correspond to the driving disengagement control commands. When the status judgment step determines that the sensing control data belongs to the accident scene data, the sensing control data collected by the scene collection step belongs to the expected functional safety (Safety Of The Intended Functionality; SOTIF) scene.

藉此,本發明的具預期功能安全場景蒐集及自我更新的系統在同時有自駕系統及雲端平台的條件下,有考量到事故的SOTIF場景並具離線或線上的自我更新。In this way, the system of the present invention with expected functional safety scenario collection and self-updating, under the condition that it has both a self-driving system and a cloud platform, takes into account the SOTIF scenario of the accident and has offline or online self-updating.

前述實施方式之其他實施例如下:前述事故場景資料包含異常未作動資料與誤作動資料,其中異常未作動資料代表自駕系統在應作動但卻未作動的狀況下所產生的資料。誤作動資料代表自駕系統在不應作動但卻作動的狀況下所產生的資料。Other examples of the foregoing implementation are as follows: the foregoing accident scene data includes abnormal non-action data and mis-action data, where the abnormal non-action data represents data generated when the self-driving system should have acted but failed to act. Misoperation data represents data generated by the self-driving system when it should not operate but does.

前述實施方式之其他實施例如下:前述校驗步驟包含驅動自駕系統與雲端平台的此者執行線上校驗與離線校驗的一者,以產生校驗輸出命令及比對結果。線上校驗包含線上系統運作確認步驟,線上系統運作確認步驟包含驅動自駕系統與雲端平台的此者依據線上校驗比對結果確認是否執行更新步驟。離線校驗包含離線系統運作確認步驟,離線系統運作確認步驟包含驅動自駕系統依據離線校驗比對結果確認是否執行更新步驟。比對結果為線上校驗比對結果與離線校驗比對結果的一者。駕駛解離控制命令對應煞車作動資訊、油/電門啟動資訊、方向盤作動資訊及緊急按鈕作動資訊的至少一者。Other examples of the aforementioned implementation are as follows: the aforementioned verification step includes driving the self-driving system and the cloud platform to perform one of online verification and offline verification to generate verification output commands and comparison results. The online verification includes an online system operation confirmation step, which includes driving the self-driving system and the cloud platform to confirm whether to perform the update step based on the online verification comparison results. The offline verification includes the offline system operation confirmation step, and the offline system operation confirmation step includes the driver self-driving system confirming whether to perform the update step based on the offline verification comparison results. The comparison result is one of the online verification comparison result and the offline verification comparison result. The driving disengagement control command corresponds to at least one of brake actuation information, gas/switch start information, steering wheel actuation information and emergency button actuation information.

以下將參照圖式說明本發明的複數個實施例。為明確說明起見,許多實務上的細節將在以下敘述中一併說明。然而,應瞭解到,這些實務上的細節不應用以限制本發明。也就是說,在本發明部分實施例中,這些實務上的細節是非必要的。此外,為簡化圖式起見,一些習知慣用的結構與元件在圖式中將以簡單示意的方式繪示的;並且重複的元件將可能使用相同的編號表示的。Several embodiments of the present invention will be described below with reference to the drawings. For the sake of clarity, many practical details will be explained together in the following narrative. However, it will be understood that these practical details should not limit the invention. That is to say, in some embodiments of the present invention, these practical details are not necessary. In addition, for the sake of simplifying the drawings, some commonly used structures and components are shown in the drawings in a simple schematic manner; and repeated components may be represented by the same numbers.

此外,本文中當某一元件(或單元或模組等)「連接」於另一元件,可指所述元件是直接連接於另一元件,亦可指某一元件是間接連接於另一元件,意即,有其他元件介於所述元件及另一元件之間。而當有明示某一元件是「直接連接」於另一元件時,才表示沒有其他元件介於所述元件及另一元件之間。而第一、第二、第三等用語只是用來描述不同元件,而對元件本身並無限制,因此,第一元件亦可改稱為第二元件。且本文中的元件/單元/電路的組合非此領域中的一般周知、常規或習知的組合,不能以元件/單元/電路本身是否為習知,來判定其組合關係是否容易被技術領域中的通常知識者輕易完成。In addition, when a certain component (or unit or module, etc.) is "connected" to another component in this article, it may mean that the component is directly connected to the other component, or it may mean that one component is indirectly connected to the other component. , meaning that there are other elements between the said element and another element. When it is stated that an element is "directly connected" to another element, it means that no other elements are interposed between the element and the other element. Terms such as first, second, third, etc. are only used to describe different components without limiting the components themselves. Therefore, the first component can also be renamed the second component. Moreover, the combination of components/units/circuit in this article is not a combination that is generally known, conventional or customary in this field. Whether the component/unit/circuit itself is common knowledge cannot be used to determine whether its combination relationship is easily understood in the technical field. Easily accomplished by the average person with knowledge.

請參閱第1圖,第1圖係繪示本發明的第一實施例的具預期功能安全場景蒐集及自我更新的系統100的示意圖。如圖所示,具預期功能安全場景蒐集及自我更新的系統100應用於一車輛110,且包含自駕系統200及雲端平台300(後台)。其中自駕系統200設置於車輛110且包含感測器210與控制器220。自駕系統200可為自動駕駛系統(Autonomous Driving System;ADS)或先進駕駛輔助系統(Advanced Driver Assistance Systems;ADAS)。感測器210可為ADS或ADAS的各種感測裝置。雲端平台300訊號連接自駕系統200。首先,自駕系統200判斷感測器210與控制器220所產生的一感測控制資料是否屬於一非預期解離資料與一事故場景資料的一者而產生一狀態判斷結果。接著,自駕系統200依據狀態判斷結果收集感測控制資料而建立一場景資料庫。然後,自駕系統200依據場景資料庫修正感測器210與控制器220的一演算法。接著,自駕系統200與雲端平台300的一者針對修正後的感測器210與控制器220進行平行運算,以產生一校驗輸出命令,並比對校驗輸出命令與一駕駛解離控制命令而產生一比對結果。最後,自駕系統200與雲端平台300的此者依據比對結果更新感測器210與控制器220的演算法,藉以令更新後的感測器210與控制器220所產生的一更新輸出命令對應駕駛解離控制命令。當自駕系統200判斷感測控制資料屬於事故場景資料時,所收集到的感測控制資料屬於一預期功能安全(Safety Of The Intended Functionality;SOTIF)場景。感測控制資料為感測器210的感測資料與控制器220的控制資料的集合。Please refer to FIG. 1 , which is a schematic diagram of a system 100 with expected functional safety scenario collection and self-updating according to the first embodiment of the present invention. As shown in the figure, the system 100 with expected functional safety scenario collection and self-updating is applied to a vehicle 110 and includes a self-driving system 200 and a cloud platform 300 (backend). The self-driving system 200 is installed in the vehicle 110 and includes a sensor 210 and a controller 220 . The self-driving system 200 may be an automatic driving system (Autonomous Driving System; ADS) or an advanced driving assistance system (Advanced Driver Assistance Systems; ADAS). The sensor 210 may be various sensing devices of ADS or ADAS. The cloud platform 300 signals are connected to the self-driving system 200 . First, the self-driving system 200 determines whether a sensing control data generated by the sensor 210 and the controller 220 belongs to one of unexpected dissociation data and an accident scene data and generates a state judgment result. Next, the self-driving system 200 collects sensing control data based on the status judgment results and establishes a scene database. Then, the self-driving system 200 modifies an algorithm of the sensor 210 and the controller 220 according to the scene database. Then, one of the self-driving system 200 and the cloud platform 300 performs parallel operations on the corrected sensor 210 and the controller 220 to generate a verification output command, and compares the verification output command with a driving disengagement control command. Produce a comparison result. Finally, the self-driving system 200 and the cloud platform 300 update the algorithm of the sensor 210 and the controller 220 based on the comparison result, so that the updated sensor 210 corresponds to an update output command generated by the controller 220 Driving disengagement control commands. When the self-driving system 200 determines that the sensing control data belongs to the accident scene data, the collected sensing control data belongs to a Safety Of The Intended Functionality (SOTIF) scene. The sensing control data is a collection of sensing data of the sensor 210 and control data of the controller 220 .

自駕系統200更包含自駕處理器與自駕記憶體,自駕處理器訊號連接自駕記憶體、感測器210及控制器220。雲端平台300包含雲端處理器與雲端記憶體,雲端處理器訊號連接雲端記憶體。自駕處理器與雲端處理器的任一者可為處理器(Processor)、微處理器(Microprocessor)、電子控制單元(Electronic Control Unit;ECU)、電腦、行動裝置處理器或其他運算處理器,但本發明不以此為限。自駕處理器與雲端處理器的任一者可執行具預期功能安全場景蒐集及自我更新的方法。此外,自駕記憶體與雲端記憶體的任一者可為能儲存供自駕處理器與雲端處理器的任一者執行的資訊和指令的隨機存取記憶體(Random Access Memory;RAM)或其它型式的動態儲存裝置,但本發明不以此為限。The self-driving system 200 further includes a self-driving processor and a self-driving memory. The self-driving processor signals connect the self-driving memory, the sensor 210 and the controller 220 . The cloud platform 300 includes a cloud processor and a cloud memory, and the cloud processor signal is connected to the cloud memory. Either the self-driving processor or the cloud processor can be a processor (Processor), a microprocessor (Microprocessor), an Electronic Control Unit (ECU), a computer, a mobile device processor or other computing processor, but The present invention is not limited to this. Either the self-driving processor or the cloud processor can perform methods for collecting and self-updating expected functional safety scenarios. In addition, either the self-driving memory or the cloud memory may be a random access memory (RAM) or other type that can store information and instructions for execution by either the self-driving processor or the cloud processor. dynamic storage device, but the present invention is not limited to this.

請一併參閱第1圖與第2圖,其中第2圖係繪示本發明的第二實施例的具預期功能安全場景蒐集及自我更新的方法400的流程示意圖。如圖所示,具預期功能安全場景蒐集及自我更新的方法400應用於車輛110,且包含狀態判斷步驟S01、場景收集步驟S02、修正步驟S03、校驗步驟S04及更新步驟S05。狀態判斷步驟S01包含驅動自駕系統200判斷感測器210與控制器220所產生的感測控制資料是否屬於非預期解離資料與事故場景資料的者而產生狀態判斷結果。場景收集步驟S02包含驅動自駕系統200依據狀態判斷結果收集感測控制資料而建立場景資料庫。修正步驟S03包含驅動自駕系統200依據場景資料庫修正感測器210與控制器220的演算法。校驗步驟S04包含驅動自駕系統200與雲端平台300的一者針對修正後的感測器210與控制器220進行一平行運算,以產生校驗輸出命令,並比對校驗輸出命令與駕駛解離控制命令而產生比對結果。更新步驟S05包含驅動自駕系統200與雲端平台300的此者依據比對結果更新感測器210與控制器220的演算法,藉以令更新後的感測器210與控制器220所產生的更新輸出命令對應駕駛解離控制命令。當狀態判斷步驟S01判斷感測控制資料屬於事故場景資料時,場景收集步驟S02所收集到的感測控制資料屬於SOTIF場景。Please refer to Figure 1 and Figure 2 together. Figure 2 is a schematic flowchart illustrating a method 400 for collecting and self-updating safety scenarios with expected functions according to the second embodiment of the present invention. As shown in the figure, the method 400 with expected functional safety scenario collection and self-updating is applied to the vehicle 110 and includes a status determination step S01, a scenario collection step S02, a correction step S03, a verification step S04 and an update step S05. The state judgment step S01 includes driving the self-driving system 200 to determine whether the sensing control data generated by the sensor 210 and the controller 220 belongs to unexpected dissociation data and accident scene data to generate a state judgment result. The scene collection step S02 includes driving the self-driving system 200 to collect sensing control data according to the state judgment results and establish a scene database. The correction step S03 includes driving the self-driving system 200 to correct the algorithm of the sensor 210 and the controller 220 according to the scene database. The verification step S04 includes driving one of the self-driving system 200 and the cloud platform 300 to perform a parallel operation on the corrected sensor 210 and the controller 220 to generate a verification output command, and compare the verification output command with the driving dissociation Control commands to produce comparison results. The update step S05 includes driving the self-driving system 200 and the cloud platform 300 to update the algorithm of the sensor 210 and the controller 220 based on the comparison result, so that the updated sensor 210 and the controller 220 generate an updated output. The command corresponds to the driving disengagement control command. When the state determination step S01 determines that the sensing control data belongs to the accident scene data, the sensing control data collected in the scene collection step S02 belongs to the SOTIF scene.

藉此,本發明的具預期功能安全場景蒐集及自我更新的系統100及具預期功能安全場景蒐集及自我更新的方法400可透過自駕系統200進行非預期解離時場景或事故發生當下場景收集,以建立場景資料庫,然後進行比對、測試,區分功能安全或預期功能安全(SOTIF),提供功能異常點建議與場景、控制器220及感測器210資料紀錄,繼而搭配場景校驗步驟S04進行感測訊號與控制器220反應確認,最終進行系統運作確認,確認校驗比對結果,以增加系統及方法的可靠度及應用層面,並提高市場性。Thereby, the system 100 with expected functional safety scene collection and self-updating and the method 400 with expected functional safety scene collection and self-updating of the present invention can use the self-driving system 200 to collect the scene during unexpected dissociation or the scene at the time of the accident, so as to Establish a scenario database, then perform comparisons and tests to distinguish functional safety or expected functional safety (SOTIF), provide functional abnormal point suggestions and scenario, controller 220 and sensor 210 data records, and then proceed with the scenario verification step S04 The sensing signal and the response of the controller 220 are confirmed, and finally the system operation is confirmed, and the verification and comparison results are confirmed to increase the reliability and application level of the system and method, and improve the marketability.

請一併參閱第1圖、第2圖、第3圖及第4圖,其中第3圖係繪示本發明的第三實施例的具預期功能安全場景蒐集及自我更新的方法400a的流程示意圖;及第4圖係繪示第3圖的狀態判斷步驟S21與場景收集步驟S22的流程示意圖。具預期功能安全場景蒐集及自我更新的方法400a應用於車輛110,且包含狀態判斷步驟S21、場景收集步驟S22、修正步驟S23、校驗步驟S24及更新步驟S25。Please refer to Figures 1, 2, 3 and 4 together. Figure 3 is a schematic flow chart illustrating a method 400a for collecting and self-updating expected functional safety scenarios according to the third embodiment of the present invention. ; and Figure 4 is a schematic flowchart showing the state determination step S21 and the scene collection step S22 of Figure 3 . The method 400a for collecting and self-updating safety scenarios with expected functions is applied to the vehicle 110 and includes a status determination step S21, a scenario collection step S22, a modification step S23, a verification step S24 and an update step S25.

狀態判斷步驟S21包含事故狀態判斷步驟S212、事故確認步驟S214、解離確認步驟S216、人為非預期解離判斷步驟S2162及系統非預期解離判斷步驟S2164。其中事故狀態判斷步驟S212為「事故狀態判斷」,其包含驅動自駕系統200判斷感測控制資料是否屬於事故作動資訊而產生事故狀態判斷結果,並依據事故狀態判斷結果執行事故確認步驟S214與解離確認步驟S216的一者。當事故狀態判斷結果為是時,自駕系統200執行事故確認步驟S214;當事故狀態判斷結果為否時,自駕系統200執行解離確認步驟S216。在一實施例中,事故作動資訊可包含安全氣囊作動資訊、加速度感測器感測資訊及感測器失效資訊的至少一者,安全氣囊作動資訊代表車輛110的安全氣囊爆開所產生的資訊,加速度感測器感測資訊代表加速度感測器(G-sensor)作動(感測值超過一預設值)所產生的資訊,感測器失效資訊代表感測器210發生失效所產生的資訊,但本發明不以此為限。The state judgment step S21 includes an accident state judgment step S212, an accident confirmation step S214, a dissociation confirmation step S216, a man-made unexpected dissociation judgment step S2162, and a system unexpected dissociation judgment step S2164. The accident status judgment step S212 is "accident status judgment", which includes driving the self-driving system 200 to judge whether the sensed control data belongs to accident action information to generate an accident status judgment result, and executing the accident confirmation step S214 and dissociation confirmation based on the accident status judgment result. One of steps S216. When the accident status determination result is yes, the self-driving system 200 executes the accident confirmation step S214; when the accident status determination result is no, the self-driving system 200 executes the dissociation confirmation step S216. In one embodiment, the accident activation information may include at least one of airbag activation information, acceleration sensor sensing information, and sensor failure information. The airbag activation information represents information generated by the explosion of the airbag of the vehicle 110, The acceleration sensor sensing information represents the information generated by the acceleration sensor (G-sensor) operation (the sensing value exceeds a preset value), and the sensor failure information represents the information generated by the failure of the sensor 210. However, the present invention is not limited to this.

事故確認步驟S214為「事故確認」,其包含驅動自駕系統200確認感測控制資料是否屬於事故場景資料420而產生事故確認結果。當事故確認結果為是時,自駕系統200執行場景收集步驟S22;當事故確認結果為否時,自駕系統200停止本次場景蒐集及自我更新的作動。詳細地說,事故場景資料420包含異常未作動資料422與誤作動資料424。異常未作動資料422代表自駕系統200在應作動但卻未作動的狀況下所產生的資料。誤作動資料424代表自駕系統200在不應作動但卻作動的狀況下(如控制器220命令異常)所產生的資料。當事故確認結果為是時,感測控制資料屬於異常未作動資料422與誤作動資料424的其中一者,此種非預期事故存在危害風險,自駕系統200會執行場景收集步驟S22;反之,當事故確認結果為否時,感測控制資料不屬於異常未作動資料422與誤作動資料424(如控制器220命令正常,符合標準ISO26262),此種預期事故屬於正常狀態而不用處理,且自駕系統200停止本次場景蒐集及自我更新的作動。The accident confirmation step S214 is "accident confirmation", which includes driving the self-driving system 200 to confirm whether the sensing control data belongs to the accident scene data 420 to generate an accident confirmation result. When the accident confirmation result is yes, the self-driving system 200 executes scene collection step S22; when the accident confirmation result is no, the self-driving system 200 stops the current scene collection and self-updating actions. In detail, the accident scene data 420 includes abnormal non-action data 422 and malfunction data 424 . The abnormal non-actuation data 422 represents data generated when the self-driving system 200 should act but does not act. The misoperation data 424 represents data generated by the self-driving system 200 when it should not operate but does operate (such as an abnormal command from the controller 220 ). When the accident confirmation result is yes, the sensing control data belongs to one of the abnormal non-actuation data 422 and mis-action data 424. Such unexpected accidents have the risk of harm, and the self-driving system 200 will execute the scene collection step S22; otherwise, when When the accident confirmation result is no, the sensed control data does not belong to the abnormal non-actuated data 422 and mal-actuated data 424 (for example, the controller 220 command is normal and complies with the standard ISO26262). This kind of expected accident is a normal state and does not need to be processed, and the self-driving system 200 Stop this scene collection and self-updating action.

解離確認步驟S216為「解離確認」,其包含驅動自駕系統200確認感測控制資料屬於人為解離資料412或系統解離資料414而產生解離確認結果,並依據解離確認結果執行人為非預期解離判斷步驟S2162與系統非預期解離判斷步驟S2164的一者。當解離確認結果為感測控制資料屬於人為解離資料412時,自駕系統200執行人為非預期解離判斷步驟S2162;當解離確認結果為感測控制資料屬於系統解離資料414時,自駕系統200執行系統非預期解離判斷步驟S2164。詳細地說,人為解離資料412包含一煞車作動資訊、一油/電門啟動資訊、一方向盤作動資訊及一緊急按鈕作動資訊的至少一者。其中煞車作動資訊代表煞車有作動而產生的資訊;油/電門啟動資訊代表油門或電門有啟動而產生的資訊;方向盤作動資訊代表方向盤有作動(如轉動)而產生的資訊;緊急按鈕作動資訊代表緊急按鈕有作動而產生的資訊。系統解離資料414包含一系統通知資訊、一系統強制執行資訊及一系統失效資訊的至少一者,其中系統通知資訊代表自駕系統200發出的通知資訊;系統強制執行資訊代表自駕系統200因強制執行所產生的資訊;系統失效資訊代表感測控制資料超過自駕系統200的可控範圍所產生的資訊。此外,人為非預期解離判斷步驟S2162為「人為解離」,其包含驅動自駕系統200判斷感測控制資料是否屬於人為非預期解離資料而產生人為非預期解離判斷結果。系統非預期解離判斷步驟S2164為「系統解離」,其包含驅動自駕系統200判斷感測控制資料是否屬於系統非預期解離資料而產生系統非預期解離判斷結果。當人為非預期解離判斷結果與系統非預期解離判斷結果的一者為是時,自駕系統200執行場景收集步驟S22。非預期解離資料包含人為非預期解離資料及系統非預期解離資料。The dissociation confirmation step S216 is "dissociation confirmation", which includes driving the self-driving system 200 to confirm that the sensing control data belongs to the artificial dissociation data 412 or the system dissociation data 414 to generate a dissociation confirmation result, and execute the artificial unexpected dissociation judgment step S2162 based on the dissociation confirmation result. One of step S2164 for determining unexpected dissociation from the system. When the dissociation confirmation result is that the sensing control data belongs to the artificial dissociation data 412, the self-driving system 200 executes the artificial unexpected dissociation judgment step S2162; when the dissociation confirmation result is that the sensing control data belongs to the system dissociation data 414, the self-driving system 200 executes the system non-unexpected dissociation data 414. Expected dissociation judgment step S2164. Specifically, the artificial dissociation data 412 includes at least one of a brake actuation information, a gas/switch activation information, a steering wheel actuation information and an emergency button actuation information. Among them, the brake actuation information represents the information generated when the brake is activated; the gas/switch start information represents the information generated when the accelerator or switch is activated; the steering wheel actuation information represents the information generated when the steering wheel is activated (such as turning); the emergency button actuation information represents Information generated when the emergency button is activated. The system dissociation data 414 includes at least one of a system notification information, a system enforcement information and a system failure information, where the system notification information represents the notification information sent by the self-driving system 200; the system enforcement information represents the consequences of the self-driving system 200 due to enforcement. The information generated; the system failure information represents the information generated when the sensed control data exceeds the controllable range of the self-driving system 200 . In addition, the artificial unexpected dissociation determination step S2162 is "artificial dissociation", which includes driving the self-driving system 200 to determine whether the sensed control data belongs to artificial unexpected dissociation data and generate an artificial unexpected dissociation judgment result. The system unexpected dissociation judgment step S2164 is "system dissociation", which includes driving the self-driving system 200 to judge whether the sensed control data belongs to the system unexpected dissociation data and generate a system unexpected dissociation judgment result. When one of the artificial unexpected dissociation judgment result and the system unexpected dissociation judgment result is yes, the self-driving system 200 executes scene collection step S22. Unexpected dissociation data includes artificial unexpected dissociation data and system unexpected dissociation data.

在人為非預期解離判斷步驟S2162中,當人為非預期解離判斷結果為是(感測控制資料屬於人為非預期解離資料)時,自駕系統200判定駕駛強制介入(非正常解離)。舉例來說,當方向燈無作動,煞車無作動,但方向盤有轉動時,此種非預期解離存在危害風險,自駕系統200會執行場景收集步驟S22,並藉由後續的修正步驟S23、校驗步驟S24及更新步驟S25讓自駕系統200更新,以涵蓋此種具危害風險的場景。在此範例中,感測控制資料為方向燈無作動資訊、煞車無作動資訊及方向盤作動資訊;人為非預期解離資料為方向燈無作動資訊、煞車無作動資訊及方向盤作動資訊。In the artificial unexpected dissociation judgment step S2162, when the artificial unexpected dissociation judgment result is yes (the sensed control data belongs to artificial unexpected dissociation data), the self-driving system 200 determines that driving is forced to intervene (abnormal dissociation). For example, when the direction lights are not activated and the brakes are not activated, but the steering wheel is rotated, such unexpected dissociation may cause harm. The self-driving system 200 will execute the scene collection step S22 and perform the subsequent correction step S23 and verification. Step S24 and update step S25 allow the self-driving system 200 to be updated to cover such hazardous risk scenarios. In this example, the sensing control data is the direction light no-action information, the brake no-action information and the steering wheel action information; the artificial unexpected dissociation data is the direction light no-action information, the brake no-action information and the steering wheel action information.

在人為非預期解離判斷步驟S2162中,當人為非預期解離判斷結果為否(感測控制資料不屬於人為非預期解離資料)時,自駕系統200判定駕駛意圖介入(正常解離)。舉例來說,當方向燈有作動,煞車有作動,方向盤有轉動時,此種預期解離屬於正常狀態而不用處理,自駕系統200停止本次場景蒐集及自我更新的作動。在此範例中,感測控制資料為方向燈作動資訊、煞車作動資訊及方向盤作動資訊;人為非預期解離資料為方向燈無作動資訊、煞車無作動資訊及方向盤作動資訊。In the artificial unexpected dissociation judgment step S2162, when the artificial unexpected dissociation judgment result is no (the sensed control data does not belong to artificial unexpected dissociation data), the self-driving system 200 determines that driving intention is involved (normal dissociation). For example, when the direction lights are activated, the brakes are activated, and the steering wheel is rotated, this expected dissociation is a normal state and does not need to be processed, and the self-driving system 200 stops the current scene collection and self-updating operations. In this example, the sensing control data is the turn signal activation information, the brake activation information and the steering wheel movement information; the artificial unexpected dissociation data is the turn signal no action information, the brake no action information and the steering wheel action information.

在系統非預期解離判斷步驟S2164中,當系統非預期解離判斷結果為是(感測控制資料屬於系統非預期解離資料)時,自駕系統200判定系統異常介入(誤作動)。舉例來說,當自駕系統200發生誤作動時,此種非預期解離存在危害風險,自駕系統200會執行場景收集步驟S22,並藉由後續的修正步驟S23、校驗步驟S24及更新步驟S25讓自駕系統200更新,以涵蓋此種具危害風險的場景。在此範例中,感測控制資料為誤作動資訊;系統非預期解離資料為誤作動資訊。In the system unexpected dissociation determination step S2164, when the system unexpected dissociation determination result is yes (the sensed control data belongs to the system unexpected dissociation data), the self-driving system 200 determines that the system is abnormally involved (misoperation). For example, when the self-driving system 200 malfunctions, such unexpected dissociation may cause harm. The self-driving system 200 will execute the scene collection step S22, and perform the subsequent correction step S23, verification step S24 and update step S25. The self-driving system 200 has been updated to cover such dangerous and risky scenarios. In this example, the sensing control data is malfunction information; the system unexpected dissociation data is malfunction information.

在系統非預期解離判斷步驟S2164中,當系統非預期解離判斷結果為否(感測控制資料不屬於系統非預期解離資料)時,自駕系統200判定系統除能(超出運行設計域(Operational Design Domain;ODD)而提醒駕駛介入)。舉例來說,當自駕系統200發生除能作動時,此種預期解離屬於正常狀態而不用處理,自駕系統200停止本次場景蒐集及自我更新的作動。在此範例中,感測控制資料為除能作動資訊;系統非預期解離資料為誤作動資訊。In the system unexpected dissociation judgment step S2164, when the system unexpected dissociation judgment result is no (the sensed control data does not belong to the system unexpected dissociation data), the self-driving system 200 determines that the system is disabled (outside the Operational Design Domain). ; ODD) and remind the driver to intervene). For example, when the self-driving system 200 undergoes a deactivation action, this expected dissociation is a normal state and does not need to be processed, and the self-driving system 200 stops the current scene collection and self-updating actions. In this example, the sensing control data is disablement action information; the system unexpected dissociation data is false action information.

場景收集步驟S22為「場景收集與原因分析」,其包含驅動自駕系統200依據狀態判斷結果收集感測控制資料而建立場景資料庫。當狀態判斷步驟S21判斷感測控制資料屬於事故場景資料420時,場景收集步驟S22所收集到的感測控制資料屬於SOTIF場景426。此外,場景收集步驟S22會分析場景資料庫中各場景的原因(Sensor、HW、SW、人為),以供後續判斷。Sensor代表感測器210造成的原因;HW代表硬體造成的原因;SW代表軟體造成的原因。The scene collection step S22 is "scene collection and cause analysis", which includes driving the self-driving system 200 to collect sensing control data based on the status judgment results to establish a scene database. When the state determination step S21 determines that the sensing control data belongs to the accident scene data 420, the sensing control data collected in the scene collection step S22 belongs to the SOTIF scene 426. In addition, the scene collection step S22 will analyze the causes (Sensor, HW, SW, human) of each scene in the scene database for subsequent judgment. Sensor represents the cause caused by the sensor 210; HW represents the cause caused by the hardware; SW represents the cause caused by the software.

修正步驟S23包含驅動自駕系統200依據場景資料庫修正感測器210與控制器220的演算法。詳細地說,修正步驟S23包含改善項目回饋步驟S232與演算法修正步驟S234。其中改善項目回饋步驟S232為「感測器/控制器功能侷限(改善項目回饋)」,其包含將感測器210或控制器220的改善項目回饋資訊傳送給感測器210或控制器220的製造廠商(製造端),使製造廠商可依據改善項目回饋資訊進行修正。演算法修正步驟S234為「感測器/控制器演算法修正」,其包含依據場景資料庫以及改善項目回饋資訊修正感測器210與控制器220的演算法。改善項目回饋步驟S232與演算法修正步驟S234可改善感測器210或控制器220功能侷限的問題。The correction step S23 includes driving the self-driving system 200 to correct the algorithm of the sensor 210 and the controller 220 according to the scene database. Specifically, the modification step S23 includes an improvement item feedback step S232 and an algorithm modification step S234. The improvement project feedback step S232 is "sensor/controller function limitation (improvement project feedback)", which includes transmitting the improvement project feedback information of the sensor 210 or the controller 220 to the sensor 210 or the controller 220 The manufacturer (manufacturing side) allows the manufacturer to make corrections based on the feedback information from the improvement project. The algorithm modification step S234 is "sensor/controller algorithm modification", which includes the algorithm of modifying the sensor 210 and the controller 220 based on the scene database and improvement project feedback information. The improvement project feedback step S232 and the algorithm correction step S234 can improve the problem of functional limitations of the sensor 210 or the controller 220 .

校驗步驟S24包含驅動自駕系統200與雲端平台300的一者針對修正後的感測器210與控制器220進行一平行運算,以產生校驗輸出命令,並比對校驗輸出命令與駕駛解離控制命令而產生比對結果。詳細地說,校驗步驟S24包含步驟S240,步驟S240為「線上場景下載」,其包含驅動自駕系統200與雲端平台300的此者確認是否執行線上場景下載的操作而產生一線上場景下載確認結果,然後驅動自駕系統200與雲端平台300的此者依據線上場景下載確認結果執行線上校驗S242與離線校驗S244的一者,以產生校驗輸出命令及比對結果。當線上場景下載確認結果為是時,自駕系統200與雲端平台300的此者執行線上校驗S242;反之,當線上場景下載確認結果為否時,自駕系統200與雲端平台300的此者執行離線校驗S244。The verification step S24 includes driving one of the self-driving system 200 and the cloud platform 300 to perform a parallel operation on the corrected sensor 210 and the controller 220 to generate a verification output command, and compare the verification output command with the driving dissociation Control commands to produce comparison results. In detail, the verification step S24 includes step S240. Step S240 is "online scene download", which includes driving the self-driving system 200 and the cloud platform 300 to confirm whether to perform the online scene download operation to generate an online scene download confirmation result. , and then drives the self-driving system 200 and the cloud platform 300 to perform one of the online verification S242 and the offline verification S244 according to the online scene download confirmation result to generate a verification output command and a comparison result. When the online scene download confirmation result is yes, the self-driving system 200 and the cloud platform 300 perform online verification S242; conversely, when the online scene download confirmation result is no, the self-driving system 200 and the cloud platform 300 perform offline verification Check S244.

更新步驟S25包含驅動自駕系統200與雲端平台300的此者依據比對結果更新感測器210與控制器220的演算法,藉以令更新後的感測器210與控制器220所產生的更新輸出命令對應駕駛解離控制命令。The update step S25 includes driving the self-driving system 200 and the cloud platform 300 to update the algorithm of the sensor 210 and the controller 220 based on the comparison result, so that the updated sensor 210 and the controller 220 generate an updated output. The command corresponds to the driving disengagement control command.

藉此,本發明的具預期功能安全場景蒐集及自我更新的方法400a透過自駕系統200進行非預期解離時場景(人為解離/系統解離)或事故發生當下場景收集,以建立場景資料庫,然後進行比對、測試,區分功能安全或預期功能安全(SOTIF),提供功能異常點建議與場景、控制器220及感測器210資料紀錄,繼而搭配場景校驗步驟S24進行感測訊號與控制器220反應確認,最終進行系統運作確認,確認校驗比對結果,以增加系統及方法的可靠度及應用層面,並提高市場性。In this way, the method 400a of the present invention for collecting and self-updating expected functional safety scenarios uses the self-driving system 200 to collect scenes during unexpected dissociation (artificial dissociation/system dissociation) or scenes at the time of the accident to establish a scene database, and then perform Compare and test, distinguish functional safety or expected functional safety (SOTIF), provide functional abnormality point suggestions and scenario, controller 220 and sensor 210 data records, and then cooperate with the scenario verification step S24 to carry out sensing signals and controller 220 Response confirmation, and finally system operation confirmation, and verification and comparison results are confirmed to increase the reliability and application level of the system and methods, and improve marketability.

請一併參閱第1圖、第2圖、第3圖、第4圖及第5圖,其中第5圖係繪示第3圖的線上校驗S242的流程示意圖。在校驗步驟S24中,雲端平台300儲存一預設次數及另一場景資料庫,自駕系統200與雲端平台300的此者受驅動執行線上校驗S242,線上校驗S242包含線上修正步驟S2422、線上運算步驟S2424及線上系統運作確認步驟S2426。其中線上修正步驟S2422包含確認是否由雲端平台300測試,若是,則自駕系統200與雲端平台300的此者為雲端平台300,若否,則自駕系統200與雲端平台300的此者為自駕系統200(自駕系統200會下載場景與感測控制資料而建立另一場景資料庫);以及驅動自駕系統200與雲端平台300的此者依據場景資料庫與此另一場景資料庫修正感測器210與控制器220的演算法,然後執行演算法而產生校驗輸出命令432。再者,線上運算步驟S2424包含驅動自駕系統200與雲端平台300的此者針對經過線上修正步驟S2422修正後的感測器210與控制器220進行平行運算而產生線上校驗比對結果436,其中平行運算包含比對校驗輸出命令432與駕駛解離控制命令434。線上系統運作確認步驟S2426包含驅動自駕系統200與雲端平台300的此者依據線上校驗比對結果436確認是否執行更新步驟S25。若是,則執行更新步驟S25;若否,則重複執行線上修正步驟S2422。場景資料庫與此另一場景資料庫包含場景資料。場景資料對應感測器210輸出紀錄與控制器220輸出紀錄。校驗輸出命令432對應感測器210輸出與控制器220輸出。駕駛解離控制命令434代表在使用修正後的感測器210與控制器220的條件下(對應外部修正的感測器210輸出與外部修正的控制器220輸出)駕駛者解離下的控制命令,其包含煞車、油門或轉向命令。Please refer to Figures 1, 2, 3, 4 and 5 together. Figure 5 is a schematic flow chart of the online verification S242 of Figure 3. In the verification step S24, the cloud platform 300 stores a preset number of times and another scene database, and the self-driving system 200 and the cloud platform 300 are driven to perform an online verification S242. The online verification S242 includes the online correction step S2422, Online calculation step S2424 and online system operation confirmation step S2426. The online correction step S2422 includes confirming whether it is tested by the cloud platform 300. If so, the one between the self-driving system 200 and the cloud platform 300 is the cloud platform 300. If not, the one between the self-driving system 200 and the cloud platform 300 is the self-driving system 200. (The self-driving system 200 will download the scene and sensing control data to establish another scene database); and the person who drives the self-driving system 200 and the cloud platform 300 corrects the sensor 210 and the sensor 210 according to the scene database and another scene database. The algorithm of the controller 220 then executes the algorithm to generate the verification output command 432 . Furthermore, the online computing step S2424 includes driving the self-driving system 200 and the cloud platform 300 to perform parallel computing on the sensor 210 and the controller 220 corrected by the online correction step S2422 to generate an online verification comparison result 436, where The parallel operation includes the comparison verification output command 432 and the driving disengagement control command 434 . The online system operation confirmation step S2426 includes the person driving the self-driving system 200 and the cloud platform 300 confirming whether to perform the update step S25 based on the online verification comparison result 436 . If yes, update step S25 is executed; if not, online correction step S2422 is repeatedly executed. The scene database contains scene data with another scene database. The scene data corresponds to the sensor 210 output record and the controller 220 output record. The verification output command 432 corresponds to the sensor 210 output and the controller 220 output. The driving disengagement control command 434 represents a control command under driver disengagement under the condition of using the corrected sensor 210 and the controller 220 (corresponding to the externally corrected sensor 210 output and the external corrected controller 220 output). Contains brake, accelerator or steering commands.

請一併參閱第1圖、第2圖、第3圖、第4圖、第5圖及第6圖,其中第6圖係繪示第3圖的線上校驗S242的第一範例的示意圖。線上校驗S242包含線上運算步驟S2424與線上系統運作確認步驟S2426a,其中線上運算步驟S2424與第3圖的線上運算步驟S2424相同,不再贅述。此外,線上系統運作確認步驟S2426a為「E=0,連續>N次,進行更新,進行煞車、油門或轉向命令下達」,其包含驅動自駕系統200與雲端平台300的此者依據線上校驗比對結果436確認是否執行更新步驟S25。詳細地說,當線上系統運作確認步驟S2426a的線上校驗比對結果436為校驗輸出命令432與駕駛解離控制命令434相同(E=0)且連續相同次數大於預設次數(N次)時,進行更新步驟S25(將原感測器210與控制器220輸出更新)。反之,當線上系統運作確認步驟S2426a的線上校驗比對結果436不為「校驗輸出命令432與駕駛解離控制命令434相同且連續相同次數大於預設次數」時,重複進行線上修正步驟S2422、線上運算步驟S2424及線上系統運作確認步驟S2426a。在一實施例中,N可等於3,但本發明不以此為限。Please refer to Figure 1, Figure 2, Figure 3, Figure 4, Figure 5 and Figure 6 together. Figure 6 is a schematic diagram showing a first example of the online verification S242 of Figure 3. The online verification S242 includes an online operation step S2424 and an online system operation confirmation step S2426a. The online operation step S2424 is the same as the online operation step S2424 in Figure 3 and will not be described again. In addition, the online system operation confirmation step S2426a is "E=0, continuous > N times, update, and issue braking, accelerator or steering commands", which includes driving the self-driving system 200 and the cloud platform 300 based on the online verification ratio. The result 436 is checked whether to execute the update step S25. Specifically, when the online verification comparison result 436 of the online system operation confirmation step S2426a is that the verification output command 432 is the same as the driving disengagement control command 434 (E=0) and the number of consecutive times is greater than the preset number of times (N times) , perform update step S25 (update the original sensor 210 and controller 220 outputs). On the contrary, when the online verification comparison result 436 of the online system operation confirmation step S2426a is not "the verification output command 432 is the same as the driving disengagement control command 434 and the number of consecutive times is greater than the preset number of times", the online correction step S2422, Online calculation step S2424 and online system operation confirmation step S2426a. In one embodiment, N may be equal to 3, but the present invention is not limited thereto.

舉例來說,在車輛110無事故的情況下,當車輛110運行在高速公路上,且遇前方有障礙車輛時,待更新的輸出(比對用,尚不是真正輸出至車輛110的命令)會對應煞停(經線上修正過的)或解離(離線自我修正),平行運算會比對待更新的輸出(即校驗輸出命令432)與最終車輛110的輸出命令(即駕駛解離控制命令434)。若一致(即線上校驗比對結果436為校驗輸出命令432與駕駛解離控制命令434相同),且累計到一定次數(即連續相同次數大於預設次數)時,進行更新步驟S25。For example, when the vehicle 110 has no accident, when the vehicle 110 is running on the highway and encounters an obstacle in front of the vehicle, the output to be updated (for comparison, it is not the actual command output to the vehicle 110) will correspond to Braking (online corrected) or disengaging (offline self-correcting), the parallel operation compares the output to be updated (i.e., the verification output command 432) with the final output command of the vehicle 110 (i.e., the driving disengagement control command 434). If they are consistent (that is, the online verification comparison result 436 is that the verification output command 432 and the driving disengagement control command 434 are the same), and the accumulation reaches a certain number of times (that is, the number of consecutive identical times is greater than the preset number), update step S25 is performed.

請一併參閱第1圖、第2圖、第3圖、第4圖、第5圖、第6圖及第7圖,其中第7圖係繪示第3圖的線上校驗S242的第二範例的示意圖。線上校驗S242包含線上運算步驟S2424與線上系統運作確認步驟S2426b,其中線上運算步驟S2424與第6圖的線上運算步驟S2424相同,不再贅述。此外,線上系統運作確認步驟S2426b為「E≠0,連續>M次或危害,進行再次修正」,其包含驅動自駕系統200與雲端平台300的此者依據線上校驗比對結果436確認是否執行更新步驟S25。詳細地說,當線上系統運作確認步驟S2426b的線上校驗比對結果436為校驗輸出命令432與駕駛解離控制命令434相異且連續相異次數大於預設次數(M次)時,重複進行線上修正步驟S2422,然後進行更新步驟S25。反之,當線上系統運作確認步驟S2426b的線上校驗比對結果436不為「校驗輸出命令432與駕駛解離控制命令434相異且連續相異次數大於預設次數」時,重複進行線上修正步驟S2422、線上運算步驟S2424及線上系統運作確認步驟S2426b。在一實施例中,M可等於1,但本發明不以此為限。Please refer to Figures 1, 2, 3, 4, 5, 6 and 7 together. Figure 7 shows the second step of the online verification S242 of Figure 3. Diagram of the example. The online verification S242 includes an online operation step S2424 and an online system operation confirmation step S2426b. The online operation step S2424 is the same as the online operation step S2424 in FIG. 6 and will not be described again. In addition, the online system operation confirmation step S2426b is "E≠0, continuous > M times or damage, correct again", which includes the driver of the self-driving system 200 and the cloud platform 300 confirming whether to execute based on the online verification comparison result 436 Update step S25. Specifically, when the online verification comparison result 436 of the online system operation confirmation step S2426b is that the verification output command 432 and the driving disengagement control command 434 are different and the number of consecutive differences is greater than the preset number (M times), the process is repeated. Online correction step S2422, and then update step S25. On the contrary, when the online verification comparison result 436 of the online system operation confirmation step S2426b is not "the verification output command 432 and the driving dissociation control command 434 are different and the number of consecutive differences is greater than the preset number of times," the online correction step is repeated. S2422, online calculation step S2424 and online system operation confirmation step S2426b. In one embodiment, M may be equal to 1, but the present invention is not limited thereto.

請一併參閱第1圖、第2圖、第3圖、第4圖、第8圖及第9圖,其中第8圖係繪示第3圖的離線校驗S244的第一範例的示意圖;及第9圖係繪示第3圖的離線校驗S244的第二範例的示意圖。在校驗步驟S24中,自駕系統200儲存一預設次數並受驅動執行離線校驗S244,且離線校驗S244包含離線運算步驟S2442與離線系統運作確認步驟S2444。其中離線運算步驟S2442為「平行架構的比對場景進行系統主動解離(駕駛接管/新增解離項目)」,其包含驅動自駕系統200針對經過修正步驟S23修正後的感測器210與控制器220執行演算法而產生校驗輸出命令432,然後進行平行運算而產生離線校驗比對結果438,其中平行運算包含比對校驗輸出命令432與駕駛解離控制命令434。離線系統運作確認步驟S2444包含驅動自駕系統200依據離線校驗比對結果438確認是否執行更新步驟S25。Please refer to Figure 1, Figure 2, Figure 3, Figure 4, Figure 8 and Figure 9 together. Figure 8 is a schematic diagram illustrating the first example of offline verification S244 in Figure 3; and FIG. 9 is a schematic diagram illustrating a second example of the offline verification S244 of FIG. 3 . In the verification step S24, the self-driving system 200 stores a preset number of times and is driven to perform the offline verification S244, and the offline verification S244 includes an offline calculation step S2442 and an offline system operation confirmation step S2444. The offline calculation step S2442 is "Active system dissociation (driving takeover/new dissociation item) in a parallel architecture comparison scenario", which includes driving the self-driving system 200 against the sensor 210 and controller 220 corrected in the correction step S23 The algorithm is executed to generate the verification output command 432, and then a parallel operation is performed to generate an offline verification comparison result 438, where the parallel operation includes the comparison verification output command 432 and the driving disengagement control command 434. The offline system operation confirmation step S2444 includes driving the self-driving system 200 to confirm whether to execute the update step S25 based on the offline verification comparison result 438 .

在第8圖的第一範例中,離線校驗S244包含離線運算步驟S2442與離線系統運作確認步驟S2444a,其中離線系統運作確認步驟S2444a為「解離訊號比對,連續正確>N次,進行更新。會拋出解離,請駕駛接管」,其包含驅動自駕系統200依據離線校驗比對結果438確認是否執行更新步驟S25。詳細地說,當離線系統運作確認步驟S2444a的離線校驗比對結果438為校驗輸出命令432與駕駛解離控制命令434相同且連續相同次數大於預設次數(N次)時,進行更新步驟S25。反之,當離線系統運作確認步驟S2444a的離線校驗比對結果438不為「校驗輸出命令432與駕駛解離控制命令434相同且連續相同次數大於預設次數」時,重複進行修正步驟S23與校驗步驟S24。In the first example in Figure 8, the offline verification S244 includes an offline operation step S2442 and an offline system operation confirmation step S2444a, where the offline system operation confirmation step S2444a is "dissociation signal comparison, continuous correct > N times, update." "Dissociation will be thrown, please drive to take over", which includes driving the self-driving system 200 to confirm whether to execute the update step S25 based on the offline verification comparison result 438. Specifically, when the offline verification comparison result 438 of the offline system operation confirmation step S2444a is that the verification output command 432 is the same as the driving disengagement control command 434 and the number of consecutive times is greater than the preset number (N times), the update step S25 is performed. . On the contrary, when the offline verification comparison result 438 of the offline system operation confirmation step S2444a is not "the verification output command 432 is the same as the driving disengagement control command 434 and the number of consecutive times is greater than the preset number of times", the correction step S23 and the calibration are repeated. Check step S24.

在第9圖的第二範例中,離線校驗S244包含離線運算步驟S2442與離線系統運作確認步驟S2444b,其中離線系統運作確認步驟S2444b為「解離訊號比對,連續錯誤>M次,重新修正」,其包含驅動自駕系統200依據離線校驗比對結果438確認是否執行更新步驟S25。詳細地說,當離線系統運作確認步驟S2444b的離線校驗比對結果438為校驗輸出命令432與駕駛解離控制命令434相異且連續相異次數大於預設次數(M次)時,重複進行修正步驟S23,然後進行更新步驟S25。反之,當離線系統運作確認步驟S2444b的離線校驗比對結果438不為「校驗輸出命令432與駕駛解離控制命令434相異且連續相異次數大於預設次數」時,重複進行修正步驟S23與校驗步驟S24。In the second example in Figure 9, the offline verification S244 includes an offline calculation step S2442 and an offline system operation confirmation step S2444b, where the offline system operation confirmation step S2444b is "dissociation signal comparison, continuous errors >M times, re-correct" , which includes driving the self-driving system 200 to confirm whether to execute the update step S25 based on the offline verification comparison result 438 . Specifically, when the offline verification comparison result 438 of the offline system operation confirmation step S2444b is that the verification output command 432 and the driving disengagement control command 434 are different and the number of consecutive differences is greater than the preset number (M times), the process is repeated. Correct step S23, and then proceed to update step S25. On the contrary, when the offline verification comparison result 438 of the offline system operation confirmation step S2444b is not "the verification output command 432 and the driving dissociation control command 434 are different and the number of consecutive differences is greater than the preset number of times," the correction step S23 is repeated. and verification step S24.

由第3圖、第5圖、第6圖、第7圖、第8圖及第9圖可知,校驗步驟S24所產生的比對結果為線上校驗比對結果436與離線校驗比對結果438的一者。駕駛解離控制命令434對應一煞車作動資訊、一油/電門啟動資訊、一方向盤作動資訊及一緊急按鈕作動資訊的至少一者。It can be seen from Figures 3, 5, 6, 7, 8 and 9 that the comparison results generated in the verification step S24 are the online verification comparison result 436 and the offline verification comparison One of the results 438. The driving disengagement control command 434 corresponds to at least one of a brake actuation information, a gas/switch activation information, a steering wheel actuation information and an emergency button actuation information.

請一併參閱第1圖、第3圖、第4圖、第10圖及第11圖,其中第10圖係繪示第3圖的具預期功能安全場景蒐集及自我更新的方法400a應用於一事故狀態的流程示意圖;以及第11圖係繪示第4圖的狀態判斷步驟S21與場景收集步驟S22應用於一事故狀態的流程示意圖。具預期功能安全場景蒐集及自我更新的方法400a應用於車輛110及具預期功能安全場景蒐集及自我更新的系統100。具預期功能安全場景蒐集及自我更新的系統100包含自駕系統200及雲端平台300,自駕系統200為ADS。車輛110發生事故狀態(車輛110撞上分隔島,分隔島直接卡入引擎;自駕系統200應作動但卻未作動(應煞車但卻未煞車),並產生異常未作動資料422)。在事故狀態發生當下,具預期功能安全場景蒐集及自我更新的方法400a執行狀態判斷步驟S21的事故狀態判斷步驟S212、事故確認步驟S214、場景收集步驟S22、修正步驟S23、校驗步驟S24的步驟S240、線上校驗S242及更新步驟S25,如第10圖與第11圖的粗框及粗線所示。在狀態判斷步驟S21中,事故確認結果為是,感測控制資料屬於異常未作動資料422,此種非預期事故存在危害風險,自駕系統200會執行場景收集步驟S22,場景收集步驟S22所收集到的感測控制資料屬於SOTIF場景426。在步驟S240中,線上場景下載確認結果為是,雲端平台300執行線上校驗S242。Please refer to Figures 1, 3, 4, 10 and 11 together. Figure 10 illustrates the method 400a of Figure 3 for collecting and self-updating expected functional safety scenarios applied to a A schematic flow chart of an accident state; and Figure 11 is a schematic flow chart showing the state determination step S21 and scene collection step S22 of Figure 4 applied to an accident state. The method 400a with expected functional safety scenario collection and self-updating is applied to the vehicle 110 and the system 100 with expected functional safety scenario collection and self-updating. The system 100 with expected functional safety scenario collection and self-updating includes a self-driving system 200 and a cloud platform 300. The self-driving system 200 is an ADS. The vehicle 110 is in an accident state (the vehicle 110 hits the dividing island, and the dividing island directly jams into the engine; the self-driving system 200 should act but does not act (should brake but does not brake), and generates abnormal non-acting data 422). When the accident state occurs, the method 400a with expected functional safety scene collection and self-updating executes the state judgment step S21, the accident state judgment step S212, the accident confirmation step S214, the scene collection step S22, the correction step S23, and the verification step S24. S240, online verification S242 and update step S25 are shown in the thick boxes and lines in Figures 10 and 11. In the status judgment step S21, the accident confirmation result is yes, and the sensing control data belongs to the abnormal non-action data 422. This kind of unexpected accident has the risk of harm. The self-driving system 200 will execute the scene collection step S22. The scene collection step S22 collects The sensing control data belongs to SOTIF scenario 426. In step S240, the online scene download confirmation result is yes, and the cloud platform 300 performs online verification S242.

藉此,本發明的具預期功能安全場景蒐集及自我更新的系統100與具預期功能安全場景蒐集及自我更新的方法400a透過自駕系統200進行非預期解離時場景(人為解離/系統解離)或事故發生當下場景收集,以建立場景資料庫,然後進行比對、測試,區分功能安全或預期功能安全(SOTIF),提供功能異常點建議與場景、控制器220及感測器210資料紀錄,繼而搭配場景校驗步驟S24進行感測訊號與控制器220反應確認,最終進行系統運作確認,確認校驗比對結果,以增加系統及方法的可靠度及應用層面,並提高市場性。此外,本發明可解決習知技術中多層校驗與網路訓練耗費時間長、有受駕駛惡意操作意圖導致的錯誤學習疑慮、感測器210的功能侷限無法透過學習機制解決、無離線更新以及線上學習更新相對複雜的問題。Thereby, the system 100 with expected functional safety scene collection and self-updating and the method 400a with expected functional safety scene collection and self-updating of the present invention perform unexpected dissociation scenarios (artificial dissociation/system dissociation) or accidents through the self-driving system 200 Collect current scenarios to establish a scenario database, then conduct comparisons and tests to distinguish functional safety or expected functional safety (SOTIF), provide functional abnormal point suggestions and data records of scenarios, controllers 220 and sensors 210, and then match The scene verification step S24 confirms the sensing signal and the response of the controller 220, and finally confirms the system operation and confirms the verification comparison results to increase the reliability and application level of the system and method, and improve marketability. In addition, the present invention can solve the problem of long time-consuming multi-layer verification and network training in the conventional technology, the problem of erroneous learning caused by the driver's malicious operation intention, the functional limitations of the sensor 210 that cannot be solved through the learning mechanism, and the lack of offline updates. Online learning updates relatively complex issues.

可理解的是,本發明的具預期功能安全場景蒐集及自我更新的方法400、400a可透過電腦程式產品實現。上述實施例所說明的各實施步驟的次序可依實際需要而調動、結合或省略。上述實施例可利用電腦程式產品來實現,其可包含儲存有多個指令的機器可讀取媒體,這些指令可程式化(programming)電腦來進行上述實施例中的步驟。機器可讀取媒體可為但不限定於軟碟、光碟、唯讀光碟、磁光碟、唯讀記憶體、隨機存取記憶體、可抹除可程式唯讀記憶體(EPROM)、電子可抹除可程式唯讀記憶體(EEPROM)、光卡(optical card)或磁卡、快閃記憶體、或任何適於儲存電子指令的機器可讀取媒體。再者,本發明的實施例也可做為電腦程式產品來下載,其可藉由使用通訊連接(例如網路連線之類的連接)的資料訊號來從遠端電腦轉移本發明的電腦程式產品至請求電腦。It is understandable that the methods 400 and 400a of the present invention for collecting and self-updating safety scenarios with expected functions can be implemented through computer program products. The order of the implementation steps described in the above embodiments can be adjusted, combined or omitted according to actual needs. The above embodiments may be implemented using a computer program product, which may include a machine-readable medium storing a plurality of instructions that can program a computer to perform the steps in the above embodiments. Machine-readable media may be, but are not limited to, floppy disks, optical disks, CD-ROMs, magneto-optical disks, read-only memory, random access memory, erasable programmable read-only memory (EPROM), electronically erasable Except programmable read-only memory (EEPROM), optical or magnetic card, flash memory, or any machine-readable medium suitable for storing electronic instructions. Furthermore, embodiments of the present invention can also be downloaded as computer program products, which can transfer the computer program of the present invention from a remote computer by using data signals of a communication connection (such as a network connection or the like). Products to request computer.

由上述實施方式可知,本發明具有下列優點:其一,透過自駕系統進行非預期解離時場景(人為解離/系統解離)或事故發生當下場景收集,以建立場景資料庫,然後進行比對、測試,區分功能安全或預期功能安全(SOTIF),提供功能異常點建議與場景、控制器及感測器資料紀錄,繼而搭配場景校驗步驟進行感測訊號與控制器反應確認,最終進行系統運作確認,確認校驗比對結果,以增加系統及方法的可靠度及應用層面,並提高市場性。其二,以非預期的解離場景或事故場景為收集主體,只更新演算法,可快速有效率找出與對應潛在未知安全場景及操作上功能不足的場景,且不會受駕駛惡意操作意圖導致的錯誤學習。其三,若經校驗屬於感測器功能侷限,僅需更換感測器,並經平行運算即可解決,並具高安全性。其四,可由線上或離線機制經校驗加強後,提供更新;在尚未提供更新程式或未能更新時,會新增或調整警示提醒駕駛者需介入避免碰撞危害,可避免空窗期時引起相同的危害事件。其五,雲端平台僅需處理事件資料收集、篩選分類或提供演算法確認所需的資料回放功能,無須進行複雜的線上學習更新。It can be seen from the above embodiments that the present invention has the following advantages: First, through the self-driving system, the scene of unexpected dissociation (artificial dissociation/system dissociation) or the scene of the accident is collected to establish a scene database, and then perform comparison and testing. , distinguish functional safety or expected functional safety (SOTIF), provide functional abnormal point suggestions and scene, controller and sensor data records, and then use the scene verification step to confirm the sensing signal and controller response, and finally confirm the system operation , confirm the verification and comparison results to increase the reliability and application level of the system and methods, and improve marketability. Secondly, by taking unexpected dissociation scenes or accident scenes as the collection subject and only updating the algorithm, it can quickly and efficiently find and respond to potential unknown safety scenes and scenes with insufficient operational functions, and will not be caused by malicious driving intentions. Learning from mistakes. Thirdly, if it is verified that the function of the sensor is limited, it can be solved by simply replacing the sensor and performing parallel calculations with high security. Fourth, updates can be provided through online or offline mechanisms after verification and enhancement; when the update program has not yet been provided or cannot be updated, warnings will be added or adjusted to remind the driver to intervene to avoid collision hazards, thus avoiding the risk of accidents during the window period. the same hazardous events. Fifth, the cloud platform only needs to process event data collection, filtering and classification, or provide data playback functions required for algorithm confirmation, without the need for complex online learning updates.

雖然本發明已以實施方式揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明的精神和範圍內,當可作各種的更動與潤飾,因此本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Anyone skilled in the art can make various modifications and modifications without departing from the spirit and scope of the present invention. Therefore, the protection of the present invention is The scope shall be determined by the appended patent application scope.

100:具預期功能安全場景蒐集及自我更新的系統100: A system with expected functional safety scenario collection and self-updating

110:車輛110:Vehicle

200:自駕系統200:Self-driving system

210:感測器210: Sensor

220:控制器220:Controller

300:雲端平台300:Cloud platform

400,400a:具預期功能安全場景蒐集及自我更新的方法400,400a: Methods for collecting and self-updating safety scenarios with expected functions

412:人為解離資料412: Artificial dissociation data

414:系統解離資料414: System dissociation data

420:事故場景資料420: Accident scene information

422:異常未作動資料422: Abnormal no action data

424:誤作動資料424: Misoperation data

426:SOTIF場景426:SOTIF scene

432:校驗輸出命令432: Verify output command

434:駕駛解離控制命令434: Driving dissociation control command

436:線上校驗比對結果436: Online verification of comparison results

438:離線校驗比對結果438: Offline verification comparison results

S01,S21:狀態判斷步驟S01, S21: Status judgment steps

S02,S22:場景收集步驟S02, S22: Scene collection steps

S03,S23:修正步驟S03, S23: Correction steps

S04,S24:校驗步驟S04, S24: Verification steps

S05,S25:更新步驟S05, S25: Update steps

S212:事故狀態判斷步驟S212: Accident status judgment steps

S214:事故確認步驟S214: Accident confirmation steps

S216:解離確認步驟S216: Dissociation confirmation step

S2162:人為非預期解離判斷步驟S2162: Judgment steps for artificial unexpected dissociation

S2164:系統非預期解離判斷步驟S2164: System Unexpected Dissociation Judgment Steps

S232:改善項目回饋步驟S232: Improve project feedback steps

S234:演算法修正步驟S234: Algorithm correction steps

S240:步驟S240: Steps

S242:線上校驗S242: Online verification

S244:離線校驗S244: Offline verification

S2422:線上修正步驟S2422: Online correction steps

S2424:線上運算步驟S2424: Online operation steps

S2426,S2426a,S2426b:線上系統運作確認步驟S2426, S2426a, S2426b: Online system operation confirmation steps

S2442:離線運算步驟S2442: Offline operation steps

S2444,S2444a,S2444b:離線系統運作確認步驟S2444, S2444a, S2444b: Offline system operation confirmation steps

第1圖係繪示本發明的第一實施例的具預期功能安全場景蒐集及自我更新的系統的示意圖; 第2圖係繪示本發明的第二實施例的具預期功能安全場景蒐集及自我更新的方法的流程示意圖; 第3圖係繪示本發明的第三實施例的具預期功能安全場景蒐集及自我更新的方法的流程示意圖; 第4圖係繪示第3圖的狀態判斷步驟與場景收集步驟的流程示意圖; 第5圖係繪示第3圖的線上校驗的流程示意圖; 第6圖係繪示第3圖的線上校驗的第一範例的示意圖; 第7圖係繪示第3圖的線上校驗的第二範例的示意圖; 第8圖係繪示第3圖的離線校驗的第一範例的示意圖; 第9圖係繪示第3圖的離線校驗的第二範例的示意圖; 第10圖係繪示第3圖的具預期功能安全場景蒐集及自我更新的方法應用於一事故狀態的流程示意圖;以及 第11圖係繪示第4圖的狀態判斷步驟與場景收集步驟應用於一事故狀態的流程示意圖。 Figure 1 is a schematic diagram illustrating a system with expected functional safety scenario collection and self-updating according to the first embodiment of the present invention; Figure 2 is a schematic flowchart illustrating a method for collecting and self-updating safety scenarios with expected functions according to the second embodiment of the present invention; Figure 3 is a schematic flowchart illustrating a method for collecting and self-updating safety scenarios with expected functions according to the third embodiment of the present invention; Figure 4 is a flow chart illustrating the state judgment steps and scene collection steps of Figure 3; Figure 5 is a schematic flow chart showing the online verification of Figure 3; Figure 6 is a schematic diagram illustrating a first example of the online verification of Figure 3; Figure 7 is a schematic diagram illustrating a second example of the online verification of Figure 3; Figure 8 is a schematic diagram illustrating the first example of offline verification in Figure 3; Figure 9 is a schematic diagram illustrating a second example of offline verification in Figure 3; Figure 10 is a schematic process diagram illustrating the method of collecting and self-updating expected functional safety scenarios in Figure 3 when applied to an accident state; and Figure 11 is a schematic flowchart illustrating the state judgment step and scene collection step of Figure 4 when applied to an accident state.

400:具預期功能安全場景蒐集及自我更新的方法 400: Methods for collecting and self-updating safety scenarios with expected functions

S01:狀態判斷步驟 S01: Status judgment steps

S02:場景收集步驟 S02: Scene collection steps

S03:修正步驟 S03:Correction steps

S04:校驗步驟 S04: Verification steps

S05:更新步驟 S05:Update steps

Claims (19)

一種具預期功能安全場景蒐集及自我更新的方法,應用於一車輛,該具預期功能安全場景蒐集及自我更新的方法包含:一狀態判斷步驟,包含驅動一自駕系統判斷一感測器與一控制器所產生的一感測控制資料是否屬於一非預期解離(intervention)資料與一事故場景資料的一者而產生一狀態判斷結果;一場景收集步驟,包含驅動該自駕系統依據該狀態判斷結果收集該感測控制資料而建立一場景資料庫;一修正步驟,包含驅動該自駕系統依據該場景資料庫修正該感測器與該控制器的一演算法;一校驗步驟,包含驅動該自駕系統與一雲端平台的一者針對修正後的該感測器與該控制器進行一平行運算,以產生一校驗輸出命令,並比對該校驗輸出命令與一駕駛解離控制命令而產生一比對結果;以及一更新步驟,包含驅動該自駕系統與該雲端平台的該者依據該比對結果更新該感測器與該控制器的該演算法,藉以令更新後的該感測器與該控制器所產生的一更新輸出命令對應該駕駛解離控制命令;其中,當該狀態判斷步驟判斷該感測控制資料屬於該事故場景資料時,該場景收集步驟所收集到的該感測控制資料屬於一預期功能安全(Safety Of The Intended Functionality;SOTIF)場景。 A method for collecting and self-updating expected functional safety scenarios, applied to a vehicle. The method for collecting and self-updating expected functional safety scenarios includes: a state judgment step, including driving a self-driving system to judge a sensor and a control Whether a sensing control data generated by the device is one of unexpected dissociation (intervention) data and an accident scene data to generate a state judgment result; a scene collection step includes driving the self-driving system to collect according to the state judgment result The sensing control data creates a scene database; a correction step includes driving the self-driving system to correct an algorithm of the sensor and the controller according to the scene database; a verification step includes driving the self-driving system and a cloud platform to perform a parallel operation on the corrected sensor and the controller to generate a verification output command, and compare the verification output command with a driving disengagement control command to generate a comparison and an update step, including driving the self-driving system and the cloud platform to update the algorithm of the sensor and the controller based on the comparison result, so that the updated sensor and the An update output command generated by the controller corresponds to the driving disengagement control command; wherein, when the state judgment step determines that the sensing control data belongs to the accident scene data, the sensing control data collected by the scene collection step belongs to A safety of the intended function (Safety Of The Intended Functionality; SOTIF) scenario. 如請求項1所述的具預期功能安全場景蒐集及自我更新的方法,其中該狀態判斷步驟包含:一事故狀態判斷步驟,包含驅動該自駕系統判斷該感測控制資料是否屬於一事故作動資訊而產生一事故狀態判斷結果,並依據該事故狀態判斷結果執行一事故確認步驟與一解離確認步驟的一者;其中,當該事故狀態判斷結果為是時,該自駕系統執行該事故確認步驟;當該事故狀態判斷結果為否時,該自駕系統執行該解離確認步驟。 The method for collecting and self-updating expected functional safety scenarios as described in claim 1, wherein the status determination step includes: an accident status determination step, including driving the self-driving system to determine whether the sensing control data belongs to an accident action information; Generate an accident status judgment result, and execute one of an accident confirmation step and a dissociation confirmation step based on the accident status judgment result; wherein, when the accident status judgment result is yes, the self-driving system executes the accident confirmation step; when When the accident status judgment result is no, the self-driving system executes the dissociation confirmation step. 如請求項2所述的具預期功能安全場景蒐集及自我更新的方法,其中,該事故確認步驟包含驅動該自駕系統確認該感測控制資料是否屬於該事故場景資料而產生一事故確認結果,當該事故確認結果為是時,該自駕系統執行該場景收集步驟;及該解離確認步驟包含驅動該自駕系統確認該感測控制資料屬於一人為解離資料或一系統解離資料而產生一解離確認結果,並依據該解離確認結果執行一人為非預期解離判斷步驟與一系統非預期解離判斷步驟的一者;其中,當該解離確認結果為該感測控制資料屬於該人為解離資料時,該自駕系統執行該人為非預期解離判斷步驟;當該解離確認結果為該感測控制資料屬於該系統解離資料時,該自駕系統執行該系統非預期解離判斷步驟。 The method for collecting and self-updating scenarios with expected functional safety as described in claim 2, wherein the accident confirmation step includes driving the self-driving system to confirm whether the sensing control data belongs to the accident scene data to generate an accident confirmation result. When the accident confirmation result is yes, the self-driving system executes the scene collection step; and the dissociation confirmation step includes driving the self-driving system to confirm that the sensing control data belongs to a person's artificial dissociation data or a system dissociation data to generate a dissociation confirmation result, And based on the dissociation confirmation result, one of an artificial unexpected dissociation judgment step and a system unexpected dissociation judgment step is executed; wherein, when the dissociation confirmation result is that the sensing control data belongs to the artificial dissociation data, the self-driving system executes This is the artificial unexpected dissociation judgment step; when the dissociation confirmation result is that the sensing control data belongs to the system's dissociation data, the self-driving system executes the system's unexpected dissociation judgment step. 如請求項3所述的具預期功能安全場景蒐集及自我更新的方法,其中,該人為非預期解離判斷步驟包含驅動該自駕系統判斷該感測控制資料是否屬於一人為非預期解離資料而產生一人為非預期解離判斷結果;及該系統非預期解離判斷步驟包含驅動該自駕系統判斷該感測控制資料是否屬於一系統非預期解離資料而產生一系統非預期解離判斷結果;其中,當該人為非預期解離判斷結果與該系統非預期解離判斷結果的一者為是時,該自駕系統執行該場景收集步驟。 The method for collection and self-updating of expected functional safety scenarios as described in claim 3, wherein the step of determining artificial unintended dissociation includes driving the self-driving system to determine whether the sensing control data belongs to a person. is an unexpected dissociation judgment result; and the system's unexpected dissociation judgment step includes driving the autonomous system to judge whether the sensed control data belongs to a system's unexpected dissociation data to generate a system's unexpected dissociation judgment result; wherein, when the artificial When one of the expected dissociation judgment result and the system's unexpected dissociation judgment result is yes, the self-driving system executes the scene collection step. 如請求項4所述的具預期功能安全場景蒐集及自我更新的方法,其中,該事故作動資訊包含一安全氣囊作動資訊、一加速度感測器感測資訊及一感測器失效資訊的至少一者;該人為解離資料包含一煞車作動資訊、一油/電門啟動資訊、一方向盤作動資訊及一緊急按鈕作動資訊的至少一者;該系統解離資料包含一系統通知資訊、一系統強制執行資訊及一系統失效資訊的至少一者;及該非預期解離資料包含該人為非預期解離資料及該系統非預期解離資料。 The method for collecting and self-updating expected functional safety scenarios as described in claim 4, wherein the accident operation information includes at least one of an airbag operation information, an acceleration sensor sensing information and a sensor failure information. The artificial dissociation data includes at least one of a brake actuation information, a gas/switch activation information, a steering wheel actuation information and an emergency button actuation information; the system dissociation information includes a system notification information, a system enforcement information and at least one of a system failure information; and the unexpected dissociation data includes the artificial unexpected dissociation data and the system unexpected dissociation data. 如請求項1所述的具預期功能安全場景蒐集 及自我更新的方法,其中該事故場景資料包含:一異常未作動資料,其代表該自駕系統在應作動但卻未作動的狀況下所產生的資料;及一誤作動資料,其代表該自駕系統在不應作動但卻作動的狀況下所產生的資料。 Collection of expected functional safety scenarios as described in Request 1 And a self-updating method, in which the accident scene data includes: an abnormal non-action data, which represents the data generated when the self-driving system should act but does not act; and a mis-activation data, which represents the self-driving system Data generated when action occurs when it should not occur. 如請求項1所述的具預期功能安全場景蒐集及自我更新的方法,其中該校驗步驟包含:驅動該自駕系統與該雲端平台的該者執行一線上校驗與一離線校驗的一者,以產生該校驗輸出命令及該比對結果;其中,該線上校驗包含:一線上系統運作確認步驟,包含驅動該自駕系統與該雲端平台的該者依據一線上校驗比對結果確認是否執行該更新步驟;其中,該離線校驗包含:一離線系統運作確認步驟,包含驅動該自駕系統依據一離線校驗比對結果確認是否執行該更新步驟;其中,該比對結果為該線上校驗比對結果與該離線校驗比對結果的一者,該駕駛解離控制命令對應一煞車作動資訊、一油/電門啟動資訊、一方向盤作動資訊及一緊急按鈕作動資訊的至少一者。 The method for collecting and self-updating expected functional safety scenarios as described in claim 1, wherein the verification step includes: driving the self-driving system and the cloud platform to perform one of an online verification and an offline verification , to generate the verification output command and the comparison result; wherein, the online verification includes: a first-line system operation confirmation step, including driving the self-driving system and the cloud platform and confirming based on the first-line verification comparison result Whether to execute the update step; wherein, the offline verification includes: an offline system operation confirmation step, including driving the self-driving system to confirm whether to execute the update step based on an offline verification comparison result; wherein the comparison result is the online One of the verification comparison result and the offline verification comparison result, the driving disengagement control command corresponds to at least one of a brake actuation information, a gas/switch start information, a steering wheel actuation information and an emergency button actuation information. 如請求項7所述的具預期功能安全場景蒐集及自我更新的方法,其中在該校驗步驟中,該雲端平台儲 存一預設次數及另一場景資料庫,該自駕系統與該雲端平台的該者受驅動執行該線上校驗,且該線上校驗更包含:一線上修正步驟,包含驅動該自駕系統與該雲端平台的該者依據該場景資料庫與該另一場景資料庫修正該感測器與該控制器的該演算法,然後執行該演算法而產生該校驗輸出命令;及一線上運算步驟,包含驅動該自駕系統與該雲端平台的該者針對經過該線上修正步驟修正後的該感測器與該控制器進行該平行運算而產生該線上校驗比對結果,其中該平行運算包含比對該校驗輸出命令與該駕駛解離控制命令。 The method for collecting and self-updating expected functional safety scenarios as described in request item 7, wherein in the verification step, the cloud platform stores Saving a preset number of times and another scene database, the self-driving system and the cloud platform are driven to perform the online verification, and the online verification further includes: an online correction step, including driving the self-driving system and the The person on the cloud platform corrects the algorithm of the sensor and the controller based on the scene database and the other scene database, and then executes the algorithm to generate the verification output command; and an online operation step, The person who drives the self-driving system and the cloud platform performs the parallel operation on the sensor and the controller corrected by the online correction step to generate the online verification comparison result, wherein the parallel operation includes comparison The verification output command and the driving disengagement control command. 如請求項8所述的具預期功能安全場景蒐集及自我更新的方法,其中,當該線上系統運作確認步驟的該線上校驗比對結果為該校驗輸出命令與該駕駛解離控制命令相同且連續相同次數大於該預設次數時,進行該更新步驟;及當該線上系統運作確認步驟的該線上校驗比對結果不為該校驗輸出命令與該駕駛解離控制命令相同且連續相同次數大於該預設次數時,重複進行該線上修正步驟、該線上運算步驟及該線上系統運作確認步驟。 The method for collecting and self-updating expected functional safety scenarios as described in claim 8, wherein the online verification comparison result of the online system operation confirmation step is that the verification output command is the same as the driving disengagement control command and When the number of consecutive identical times is greater than the preset number of times, the update step is performed; and when the online verification comparison result of the online system operation confirmation step is not the same as the verification output command and the driving disengagement control command and the consecutive identical times are greater than The online correction step, the online calculation step and the online system operation confirmation step are repeated for the preset number of times. 如請求項8所述的具預期功能安全場景蒐集及自我更新的方法,其中,當該線上系統運作確認步驟的該線上校驗比對結果為該 校驗輸出命令與該駕駛解離控制命令相異且連續相異次數大於該預設次數時,重複進行該線上修正步驟,然後進行該更新步驟;及當該線上系統運作確認步驟的該線上校驗比對結果不為該校驗輸出命令與該駕駛解離控制命令相異且連續相異次數大於該預設次數時,重複進行該線上修正步驟、該線上運算步驟及該線上系統運作確認步驟。 The method for collecting and self-updating expected functional safety scenarios as described in claim 8, wherein the online verification comparison result of the online system operation confirmation step is: When the verification output command is different from the driving dissociation control command and the number of consecutive differences is greater than the preset number of times, repeat the online correction step, and then perform the update step; and when the online system operation confirmation step is performed, the online verification step When the comparison result is not different between the verification output command and the driving dissociation control command and the number of consecutive differences is greater than the preset number, the online correction step, the online calculation step and the online system operation confirmation step are repeated. 如請求項7所述的具預期功能安全場景蒐集及自我更新的方法,其中在該校驗步驟中,該自駕系統儲存一預設次數並受驅動執行該離線校驗,且該離線校驗更包含:一離線運算步驟,包含驅動該自駕系統針對經過該修正步驟修正後的該感測器與該控制器執行該演算法而產生該校驗輸出命令,然後進行該平行運算而產生該離線校驗比對結果,其中該平行運算包含比對該校驗輸出命令與該駕駛解離控制命令。 The method for collecting and self-updating expected functional safety scenarios as described in claim 7, wherein in the verification step, the self-driving system stores a preset number of times and is driven to perform the offline verification, and the offline verification is updated It includes: an offline operation step, including driving the self-driving system to execute the algorithm on the sensor and the controller corrected by the correction step to generate the calibration output command, and then performing the parallel operation to generate the offline calibration. Verify the comparison result, wherein the parallel operation includes comparing the verification output command and the driving disengagement control command. 如請求項11所述的具預期功能安全場景蒐集及自我更新的方法,其中,當該離線系統運作確認步驟的該離線校驗比對結果為該校驗輸出命令與該駕駛解離控制命令相同且連續相同次數大於該預設次數時,進行該更新步驟;及當該離線系統運作確認步驟的該離線校驗比對結果不為 該校驗輸出命令與該駕駛解離控制命令相同且連續相同次數大於該預設次數時,重複進行該修正步驟與該校驗步驟。 The method for collecting and self-updating expected functional safety scenarios as described in claim 11, wherein the offline verification comparison result of the offline system operation confirmation step is that the verification output command is the same as the driving disengagement control command and When the number of consecutive identical times is greater than the preset number of times, the update step is performed; and when the offline verification comparison result of the offline system operation confirmation step is not When the verification output command is the same as the driving disengagement control command and the number of consecutive times is greater than the preset number of times, the correction step and the verification step are repeated. 如請求項11所述的具預期功能安全場景蒐集及自我更新的方法,其中,當該離線系統運作確認步驟的該離線校驗比對結果為該校驗輸出命令與該駕駛解離控制命令相異且連續相異次數大於該預設次數時,重複進行該修正步驟,然後進行該更新步驟;及當該離線系統運作確認步驟的該離線校驗比對結果不為該校驗輸出命令與該駕駛解離控制命令相異且連續相異次數大於該預設次數時,重複進行該修正步驟與該校驗步驟。 The method for collecting and self-updating expected functional safety scenarios as described in claim 11, wherein the offline verification comparison result of the offline system operation confirmation step is that the verification output command is different from the driving disengagement control command. And when the number of consecutive differences is greater than the preset number, the correction step is repeated, and then the update step is performed; and when the offline verification comparison result of the offline system operation confirmation step is not the verification output command and the driver When the dissociation control commands are different and the number of consecutive differences is greater than the preset number, the correction step and the verification step are repeated. 一種具預期功能安全場景蒐集及自我更新的系統,應用於一車輛,該具預期功能安全場景蒐集及自我更新的系統包含:一自駕系統,設置於該車輛且包含一感測器與一控制器,該自駕系統經配置以實施包含以下步驟的操作:一狀態判斷步驟,包含判斷該感測器與該控制器所產生的一感測控制資料是否屬於一非預期解離資料與一事故場景資料的一者而產生一狀態判斷結果;一場景收集步驟,包含依據該狀態判斷結果收集該感測控制資料而建立一場景資料庫;一修正步驟,包含依據該場景資料庫修正該感測器與 該控制器的一演算法;一校驗步驟,包含針對修正後的該感測器與該控制器進行一平行運算,以產生一校驗輸出命令,並比對該校驗輸出命令與一駕駛解離控制命令而產生一比對結果;以及一更新步驟,包含依據該比對結果更新該感測器與該控制器的該演算法,藉以令更新後的該感測器與該控制器所產生的一更新輸出命令對應該駕駛解離控制命令;其中,當該狀態判斷步驟判斷該感測控制資料屬於該事故場景資料時,該場景收集步驟所收集到的該感測控制資料屬於一預期功能安全(Safety Of The Intended Functionality;SOTIF)場景。 A system with expected functional safety scene collection and self-updating, applied to a vehicle. The system with expected functional safety scene collection and self-updating includes: a self-driving system, which is installed in the vehicle and includes a sensor and a controller. , the self-driving system is configured to perform operations including the following steps: a state judgment step, including judging whether a sensing control data generated by the sensor and the controller belongs to an unexpected dissociation data and an accident scene data. One generates a status judgment result; a scene collection step includes collecting the sensing control data according to the status judgment result and establishing a scene database; a correction step including modifying the sensor and the scene database according to the scene database An algorithm of the controller; a verification step, including performing a parallel operation on the modified sensor and the controller to generate a verification output command, and comparing the verification output command with a driver dissociating the control command to generate a comparison result; and an update step, including updating the algorithm of the sensor and the controller based on the comparison result, so that the updated sensor and the controller generate An update output command corresponds to the driving disengagement control command; wherein, when the state judgment step determines that the sensing control data belongs to the accident scene data, the sensing control data collected by the scene collection step belongs to an expected functional safety (Safety Of The Intended Functionality; SOTIF) scene. 如請求項14所述的具預期功能安全場景蒐集及自我更新的系統,其中該事故場景資料包含:一異常未作動資料,其代表該自駕系統在應作動但卻未作動的狀況下所產生的資料;及一誤作動資料,其代表該自駕系統在不應作動但卻作動的狀況下所產生的資料。 A system with expected functional safety scene collection and self-updating as described in request 14, wherein the accident scene data includes: an abnormal non-action data, which represents the situation where the self-driving system should have acted but did not act. data; and a misoperation data, which represents data generated by the self-driving system when it should not operate but does. 如請求項14所述的具預期功能安全場景蒐集及自我更新的系統,其中該駕駛解離控制命令對應一煞車作動資訊、一油/電門啟動資訊、一方向盤作動資訊及一緊急按鈕作動資訊的至少一者。 A system with expected functional safety scene collection and self-updating as described in request 14, wherein the driving disengagement control command corresponds to at least one brake actuation information, one gas/switch activation information, one steering wheel actuation information and one emergency button actuation information. One. 一種具預期功能安全場景蒐集及自我更新的系統,應用於一車輛,該具預期功能安全場景蒐集及自我更新的系統包含:一自駕系統,設置於該車輛且包含一感測器與一控制器;以及一雲端平台,訊號連接該自駕系統;其中,該自駕系統與該雲端平台經配置以實施包含以下步驟的操作:一狀態判斷步驟,包含驅動該自駕系統判斷該感測器與該控制器所產生的一感測控制資料是否屬於一非預期解離資料與一事故場景資料的一者而產生一狀態判斷結果;一場景收集步驟,包含驅動該自駕系統依據該狀態判斷結果收集該感測控制資料而建立一場景資料庫;一修正步驟,包含驅動該自駕系統依據該場景資料庫修正該感測器與該控制器的一演算法;一校驗步驟,包含驅動該自駕系統與該雲端平台的一者針對修正後的該感測器與該控制器進行一平行運算,以產生一校驗輸出命令,並比對該校驗輸出命令與一駕駛解離控制命令而產生一比對結果;及一更新步驟,包含驅動該自駕系統與該雲端平台的該者依據該比對結果更新該感測器與該控制器的該演算法,藉以令更新後的該感測器與該控制器所產生的一更新輸出命令對應該駕駛解離控制命令; 其中,當該狀態判斷步驟判斷該感測控制資料屬於該事故場景資料時,該場景收集步驟所收集到的該感測控制資料屬於一預期功能安全(Safety Of The Intended Functionality;SOTIF)場景。 A system with expected functional safety scene collection and self-updating, applied to a vehicle. The system with expected functional safety scene collection and self-updating includes: a self-driving system, which is installed in the vehicle and includes a sensor and a controller. ; and a cloud platform with signals connected to the self-driving system; wherein the self-driving system and the cloud platform are configured to perform operations including the following steps: a status determination step, including driving the self-driving system to determine the sensor and the controller Whether the generated sensing control data belongs to one of unexpected dissociation data and an accident scene data generates a state judgment result; a scene collection step includes driving the self-driving system to collect the sensing control according to the state judgment result A scene database is created based on the data; a correction step includes driving the self-driving system to modify an algorithm of the sensor and the controller according to the scene database; a verification step includes driving the self-driving system and the cloud platform One of them performs a parallel operation on the modified sensor and the controller to generate a verification output command, and compares the verification output command with a driving disengagement control command to generate a comparison result; and An update step includes driving the self-driving system and the cloud platform to update the algorithm of the sensor and the controller based on the comparison result, so that the updated sensor and the controller generate An updated output command corresponds to the driving disengagement control command; Wherein, when the status determination step determines that the sensing control data belongs to the accident scene data, the sensing control data collected by the scene collection step belongs to a Safety Of The Intended Functionality (SOTIF) scene. 如請求項17所述的具預期功能安全場景蒐集及自我更新的系統,其中該事故場景資料包含:一異常未作動資料,其代表該自駕系統在應作動但卻未作動的狀況下所產生的資料;及一誤作動資料,其代表該自駕系統在不應作動但卻作動的狀況下所產生的資料。 A system with expected functional safety scene collection and self-updating as described in request 17, wherein the accident scene data includes: an abnormal non-action data, which represents the situation where the self-driving system should have acted but did not act. data; and a misoperation data, which represents data generated by the self-driving system when it should not operate but does. 如請求項17所述的具預期功能安全場景蒐集及自我更新的系統,其中該校驗步驟包含:驅動該自駕系統與該雲端平台的該者執行一線上校驗與一離線校驗的一者,以產生該校驗輸出命令及該比對結果;其中,該線上校驗包含:一線上系統運作確認步驟,包含驅動該自駕系統與該雲端平台的該者依據一線上校驗比對結果確認是否執行該更新步驟;其中,該離線校驗包含:一離線系統運作確認步驟,包含驅動該自駕系統依據一離線校驗比對結果確認是否執行該更新步驟;其中,該比對結果為該線上校驗比對結果與該離線校驗 比對結果的一者,該駕駛解離控制命令對應一煞車作動資訊、一油/電門啟動資訊、一方向盤作動資訊及一緊急按鈕作動資訊的至少一者。 The system with expected functional safety scenario collection and self-updating as described in claim 17, wherein the verification step includes: driving the self-driving system and the cloud platform to perform one of an online verification and an offline verification , to generate the verification output command and the comparison result; wherein, the online verification includes: a first-line system operation confirmation step, including driving the self-driving system and the cloud platform and confirming based on the first-line verification comparison result Whether to execute the update step; wherein, the offline verification includes: an offline system operation confirmation step, including driving the self-driving system to confirm whether to execute the update step based on an offline verification comparison result; wherein the comparison result is the online The verification comparison result is compared with the offline verification One of the comparison results is that the driving disengagement control command corresponds to at least one of a brake actuation information, a gas/switch activation information, a steering wheel actuation information and an emergency button actuation information.
TW111139312A 2022-10-17 2022-10-17 System and method with safety of the intended functionality scene collection and self-update mechanism TWI824778B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111139312A TWI824778B (en) 2022-10-17 2022-10-17 System and method with safety of the intended functionality scene collection and self-update mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111139312A TWI824778B (en) 2022-10-17 2022-10-17 System and method with safety of the intended functionality scene collection and self-update mechanism

Publications (2)

Publication Number Publication Date
TWI824778B true TWI824778B (en) 2023-12-01
TW202417292A TW202417292A (en) 2024-05-01

Family

ID=90053002

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111139312A TWI824778B (en) 2022-10-17 2022-10-17 System and method with safety of the intended functionality scene collection and self-update mechanism

Country Status (1)

Country Link
TW (1) TWI824778B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113111501A (en) * 2021-03-31 2021-07-13 中汽研(天津)汽车工程研究院有限公司 Functional safety and expected functional safety fusion analysis method
CN114021327A (en) * 2021-10-28 2022-02-08 同济大学 Quantitative evaluation method for performance of automatic driving automobile sensing system
CN114564003A (en) * 2022-02-14 2022-05-31 东风汽车集团股份有限公司 Automatic driving expected function safety perception performance limitation modification method and vehicle

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113111501A (en) * 2021-03-31 2021-07-13 中汽研(天津)汽车工程研究院有限公司 Functional safety and expected functional safety fusion analysis method
CN114021327A (en) * 2021-10-28 2022-02-08 同济大学 Quantitative evaluation method for performance of automatic driving automobile sensing system
CN114564003A (en) * 2022-02-14 2022-05-31 东风汽车集团股份有限公司 Automatic driving expected function safety perception performance limitation modification method and vehicle

Similar Documents

Publication Publication Date Title
CN110271559B (en) Improved control system and improved control method for autonomously controlling a motor vehicle
US20190312892A1 (en) Onboard cybersecurity diagnostic system for vehicle, electronic control unit, and operating method thereof
US20230339481A1 (en) Determination of reliability of vehicle control commands using a voting mechanism
US10023164B2 (en) Validating automotive safety functions
CN110785742A (en) Device and method for actuating a vehicle module as a function of a status signal
JP2008505012A (en) Redundant data bus system
KR101816238B1 (en) Diagnosing system and method for an safety status of vehicle using the acceleration data and the change of acceleration pedal location
JP2014518809A (en) Method for monitoring and controlling the pneumatic minimum ground clearance of a chassis device
Drolia et al. Autoplug: An automotive test-bed for electronic controller unit testing and verification
US11531330B2 (en) Blockchain-based failsafe mechanisms for autonomous systems
KR102586331B1 (en) System and method for checking lane keeping performance
Heckemann et al. Safe automotive software
KR20190119514A (en) On-board cybersecurity diagnostic system for vehicle, electronic control unit, and operating method thereof
US20210237763A1 (en) Operating method for an autonomously operatable device, and an autonomously operatable device
US7130768B2 (en) Method and device for fault diagnosis in control systems in an internal combustion engine in a motor vehicle
TWI824778B (en) System and method with safety of the intended functionality scene collection and self-update mechanism
US20220063601A1 (en) Measurement data evaluation for vehicle-dynamics systems having protection of the intended function
KR20180082886A (en) Processor for preventing accident of automatic driving system and method of the same
US7647145B2 (en) Method for error processing in electronic controllers
KR102266048B1 (en) Emergency Braking System having self test function
US20230192139A1 (en) Method and system for addressing failure in an autonomous agent
CN113359657A (en) ECU diagnosis configuration code checking method and system and electronic control unit
CN118051545A (en) System and method for secure scene collection and self-updating with expected functions
CN116686018A (en) System for detecting a condition of a vehicle component
US20170199834A1 (en) Vehicle subsystem communication arbitration