KR102651996B1 - Apparatus for monitoring automotive software, monitoring method using the same and BMS monitoring apparatus comprising the same - Google Patents

Apparatus for monitoring automotive software, monitoring method using the same and BMS monitoring apparatus comprising the same Download PDF

Info

Publication number
KR102651996B1
KR102651996B1 KR1020180108558A KR20180108558A KR102651996B1 KR 102651996 B1 KR102651996 B1 KR 102651996B1 KR 1020180108558 A KR1020180108558 A KR 1020180108558A KR 20180108558 A KR20180108558 A KR 20180108558A KR 102651996 B1 KR102651996 B1 KR 102651996B1
Authority
KR
South Korea
Prior art keywords
diagnostic
module
monitoring
count
action
Prior art date
Application number
KR1020180108558A
Other languages
Korean (ko)
Other versions
KR20200029939A (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 KR1020180108558A priority Critical patent/KR102651996B1/en
Publication of KR20200029939A publication Critical patent/KR20200029939A/en
Application granted granted Critical
Publication of KR102651996B1 publication Critical patent/KR102651996B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L3/00Electric devices on electrically-propelled vehicles for safety purposes; Monitoring operating variables, e.g. speed, deceleration or energy consumption
    • B60L3/0023Detecting, eliminating, remedying or compensating for drive train abnormalities, e.g. failures within the drive train
    • B60L3/0046Detecting, eliminating, remedying or compensating for drive train abnormalities, e.g. failures within the drive train relating to electric energy storage systems, e.g. batteries or capacitors
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60LPROPULSION OF ELECTRICALLY-PROPELLED VEHICLES; SUPPLYING ELECTRIC POWER FOR AUXILIARY EQUIPMENT OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRODYNAMIC BRAKE SYSTEMS FOR VEHICLES IN GENERAL; MAGNETIC SUSPENSION OR LEVITATION FOR VEHICLES; MONITORING OPERATING VARIABLES OF ELECTRICALLY-PROPELLED VEHICLES; ELECTRIC SAFETY DEVICES FOR ELECTRICALLY-PROPELLED VEHICLES
    • B60L58/00Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles
    • B60L58/10Methods or circuit arrangements for monitoring or controlling batteries or fuel cells, specially adapted for electric vehicles for monitoring or controlling batteries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/60Other road transportation technologies with climate change mitigation effect
    • Y02T10/70Energy storage systems for electromobility, e.g. batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Sustainable Energy (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Computing Systems (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Sustainable Development (AREA)
  • Mathematical Physics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)
  • Debugging And Monitoring (AREA)

Abstract

본 발명은 차량에 구비되는 전장용 소프트웨어를 모니터링 하는 과정에서 효과적으로 전장용 소프트웨어를 모니터링 할 수 있는 전장용 소프트웨어 모니터링 장치, 이를 이용하는 모니터링 방법 및 이를 포함하는 BMS 모니터링 장치에 관한 것이다. 본 발명의 일 실시예에 따른 BMS 모니터링 장치는, 차량에 구비되는 BMS를 모니터링 하는 장치로서, 상기 BMS의 전장용 소프트웨어의 진단 항목의 진단 결과를 기초로 상기 진단 항목에 대응하는 진단 코드에 설정되는 폴트 진단 카운트를 카운팅 하도록 구성된 진단 카운팅 모듈; 상기 BMS에 대한 진단 신호를 생성하고, 상기 진단 카운팅 모듈과 전기적으로 연결되어 상기 진단 카운팅 모듈로 상기 진단 신호를 전달하도록 구성된 센서; 상기 폴트 진단 카운트를 기초로 상기 진단 코드에 대응하는 액션 목록 중 상기 진단 항목에 대한 액션 목록이 정의된 플래그를 생성하도록 구성된 진단 액션 모듈; 및 상기 진단 항목을 기초로 상기 진단 카운팅 모듈 내에 설정되는 상기 진단 코드를 설정하고, 상기 진단 코드를 기초로 상기 진단 액션 모듈 내에 설정되는 상기 액션 목록을 설정하며, 상기 폴트 진단 카운트 및 상기 플래그를 기초로 상기 진단 카운팅 모듈 및 상기 진단 액션 모듈 중 적어도 하나의 정상 동작 여부를 모니터링 하도록 구성된 진단 모니터링 모듈을 포함한다.The present invention relates to an automotive software monitoring device that can effectively monitor automotive software in the process of monitoring automotive software installed in a vehicle, a monitoring method using the same, and a BMS monitoring device including the same. The BMS monitoring device according to an embodiment of the present invention is a device that monitors a BMS installed in a vehicle, and is set to a diagnostic code corresponding to the diagnostic item based on the diagnosis result of the diagnostic item of the electronic software of the BMS. a diagnostic counting module configured to count fault diagnostic counts; a sensor configured to generate a diagnostic signal for the BMS and to be electrically connected to the diagnostic counting module to transmit the diagnostic signal to the diagnostic counting module; a diagnostic action module configured to generate a flag defining an action list for the diagnostic item among the action list corresponding to the diagnostic code based on the fault diagnosis count; and setting the diagnostic code set in the diagnostic counting module based on the diagnostic item, setting the action list set in the diagnostic action module based on the diagnostic code, and setting the action list based on the fault diagnostic count and the flag. and a diagnostic monitoring module configured to monitor whether at least one of the diagnostic counting module and the diagnostic action module is operating normally.

Description

전장용 소프트웨어 모니터링 장치, 이를 이용하는 모니터링 방법 및 이를 포함하는 BMS 모니터링 장치{Apparatus for monitoring automotive software, monitoring method using the same and BMS monitoring apparatus comprising the same}Automotive software monitoring device, monitoring method using the same, and BMS monitoring device including the same {Apparatus for monitoring automotive software, monitoring method using the same and BMS monitoring apparatus comprising the same}

본 발명은 전장용 소프트웨어 모니터링 장치, 이를 이용하는 모니터링 방법 및 이를 포함하는 BMS 모니터링 장치에 관한 것으로서, 보다 상세하게는 차량에 구비되는 전장용 소프트웨어를 모니터링 하는 과정에서 효과적으로 전장용 소프트웨어를 모니터링 할 수 있는 전장용 소프트웨어 모니터링 장치, 이를 이용하는 모니터링 방법 및 이를 포함하는 BMS 모니터링 장치에 관한 것이다.The present invention relates to an electronic software monitoring device, a monitoring method using the same, and a BMS monitoring device including the same. More specifically, it relates to an electronic device that can effectively monitor electronic software in the process of monitoring electronic software installed in a vehicle. It relates to a software monitoring device, a monitoring method using the same, and a BMS monitoring device including the same.

최근, 노트북, 비디오 카메라, 휴대용 전화기 등과 같은 휴대용 전자 제품의 수요가 급격하게 증대되고, 전기 자동차, 에너지 저장용 축전지, 로봇, 위성 등의 개발이 본격화됨에 따라, 반복적인 충방전이 가능한 고성능 이차 전지에 대한 연구가 활발히 진행되고 있다.Recently, as the demand for portable electronic products such as laptops, video cameras, and portable phones has rapidly increased, and as the development of electric vehicles, energy storage batteries, robots, and satellites has begun, high-performance secondary batteries capable of repeated charging and discharging have been developed. Research is actively underway.

현재 상용화된 이차 전지로는 니켈 카드뮴 전지, 니켈 수소 전지, 니켈 아연 전지, 리튬 이차 전지 등이 있는데, 이 중에서 리튬 이차 전지는 니켈 계열의 이차 전지에 비해 메모리 효과가 거의 일어나지 않아 충방전이 자유롭고, 자가 방전율이 매우 낮으며 에너지 밀도가 높은 장점으로 각광을 받고 있다.Currently commercialized secondary batteries include nickel cadmium batteries, nickel hydrogen batteries, nickel zinc batteries, and lithium secondary batteries. Among these, lithium secondary batteries have little memory effect compared to nickel-based secondary batteries, so they can be freely charged and discharged. It is receiving attention for its extremely low self-discharge rate and high energy density.

이에 따라 모바일 기기, 전기차, 하이브리드 자동차, 전력 저장 장치, 무정전 전원 장치 등에 대한 기술 개발과 수요가 증가함에 따라 에너지원으로서의 이차 전지의 수요가 급격히 증가하고 있다. 특히 전기차나 하이브리드 자동차에 사용되는 이차 전지는 고출력, 대용량 이차 전지로서, 이에 대한 많은 연구가 진행되고 있다.Accordingly, as technology development and demand for mobile devices, electric vehicles, hybrid vehicles, power storage devices, and uninterruptible power devices increase, the demand for secondary batteries as an energy source is rapidly increasing. In particular, secondary batteries used in electric and hybrid vehicles are high-output, high-capacity secondary batteries, and much research is being conducted on them.

또한, 이차 전지에 대한 많은 수요와 함께 이차 전지와 관련된 주변 부품이나 장치에 대한 연구도 함께 이루어지고 있다. 즉, 복수의 이차 전지를 연결하여 하나의 모듈로 만든 배터리 모듈, 배터리 모듈의 충방전을 제어하고 각 이차 전지의 상태를 모니터링하는 BMS, 배터리 모듈과 BMS를 하나의 팩으로 만든 배터리 팩, 배터리 모듈을 모터와 같은 부하와 연결하는 스위치(Switch) 등 다양한 부품과 장치에 대한 연구가 진행되고 있다.In addition, along with the great demand for secondary batteries, research on peripheral parts and devices related to secondary batteries is also being conducted. That is, a battery module made by connecting multiple secondary batteries into one module, a BMS that controls the charging and discharging of the battery module and monitoring the status of each secondary battery, a battery pack, and a battery module made by combining the battery module and BMS into one pack. Research is being conducted on various parts and devices such as switches that connect a load such as a motor.

최근에는, 차량 전장용 소프트웨어의 다양화 및 고도화와 함께 자동차 전장품 시장도 급격하게 성장하고 있는 추세에 있다. 또한 차량 전장용 소프트웨어의 제조 효율 향상과 결함 방지를 위한 표준화 노력이 지속되고 있다. 특히, 많은 자동차 회사들이 ISO 26262 자동차 전기/전자 시스템의 안전인증 규격 및 AUTOSAR BSW 개발 플랫폼에 기초하여 각각 전장용 소프트웨어 개발에 나서고 있다.Recently, along with the diversification and advancement of vehicle electronic software, the automotive electronics market has also been growing rapidly. In addition, standardization efforts are continuing to improve manufacturing efficiency and prevent defects in vehicle electronic software. In particular, many automobile companies are developing automotive software based on the ISO 26262 automotive electrical/electronic system safety certification standard and the AUTOSAR BSW development platform.

한편, 전장용 소프트웨어는 그 특성상 오류 발생시 회복할 수 없는 피해를 야기할 수 있게 된다. 그리고 전장용 소프트웨어의 오류로 인한 각종 사고 및 사건들은 꾸준히 발생하고 있는데, 그에 따라 전장용 소프트웨어의 안전성에 대한 관심은 날로 증대되어 가고 있다. 또, 전장용 소프트웨어의 고도화 및 다양화에 따라 소프트웨어의 결함 또는 장애로 인한 피해는 점점 더 심각한 수준에 이르고 있는바, 소프트웨어 결함에 의한 사고는 고객의 안전과 자동차 회사의 이미지에 치명적 손상을 줄 수 있다. 따라서, 전장용 소프트웨어의 결함 가능성을 해당 소프트웨어의 수명 초기에 예측하고 이를 신속하게 수정할 수 있도록 하는 것이 중요하며, AUTOSAR BSW 개발 플랫폼 등에 기초하여 작성된 소프트웨어의 경우에도 이러한 결함 가능성의 예측 및 검증은 매우 중요한 이슈이다.Meanwhile, due to its nature, battlefield software can cause irreparable damage when an error occurs. And various accidents and incidents due to errors in battlefield software are continuously occurring, and as a result, interest in the safety of battlefield software is increasing day by day. In addition, as automotive software becomes more advanced and diversified, damage caused by software defects or failures is reaching an increasingly serious level. Accidents caused by software defects can cause fatal damage to the safety of customers and the image of automobile companies. there is. Therefore, it is important to predict the possibility of defects in battlefield software early in the life of the software and to be able to correct them quickly. Even in the case of software written based on the AUTOSAR BSW development platform, predicting and verifying the possibility of such defects is very important. It's an issue.

그런데, 전장용 소프트웨어를 비롯한 각종 소프트웨어의 결함을 분석하고 모니터링 하는 작업은 지금까지 통상적으로 사람의 손에 의해 수동으로 행하여져 왔다. 예를 들어, 전장용 소프트웨어의 경우, 주로 소프트웨어 전문가가 수동으로 각 소프트웨어 모듈에 대해 MISRA(Motors Industry Software Reliability Association) 지정의 코딩 룰 준수 여부를 확인하는 수준에 머물러 왔다. 그러나 이러한 수동으로 이루어지는 모니터링 방법은, 전장용 소프트웨어의 코드 구조의 복잡성이 날로 증가하고 있는 현재 상황에서, 분석 정확도가 낮고 분석의 안정성을 기대하기 어려운 문제가 있다. 또한, 이와 같이 수동으로 행하여진 모니터링 결과는 단순 목록 나열식으로만 제공될 뿐이어서, 실제 소프트웨어 개발자/보수자 등으로서는 대규모의 전장용 소프트웨어 중에 어느 부분의 결함 보수가 시급한지 식별하는 것이 어려운 문제가 있으며, 소프트웨어 개발/보수 부분에서의 한정된 자원의 효율적 배분(예컨대, 개발/보수 인력의 배분)에 어려움이 있어 왔다.However, the task of analyzing and monitoring defects in various software, including battlefield software, has been typically performed manually by human hands. For example, in the case of automotive software, software experts have mainly been at the level of manually checking whether each software module complies with the coding rules specified by the Motors Industry Software Reliability Association (MISRA). However, this manual monitoring method has the problem of low analysis accuracy and difficulty in expecting analysis stability in the current situation where the complexity of the code structure of battlefield software is increasing day by day. In addition, the manually performed monitoring results are only provided in a simple list format, making it difficult for actual software developers/maintainers to identify which part of the large-scale battlefield software requires urgent repair of defects. In addition, there have been difficulties in efficient distribution of limited resources in the software development/maintenance sector (e.g., distribution of development/maintenance personnel).

본 발명은 위와 같은 종래 기술의 배경하에 창안된 것으로서, 차량에 구비되는 전장용 소프트웨어를 모니터링 하는 과정에서 효과적으로 전장용 소프트웨어를 모니터링 할 수 있는 개선된 전장용 소프트웨어 모니터링 장치, 이를 이용하는 모니터링 방법 및 이를 포함하는 BMS 모니터링 장치에 관한 것이다.The present invention was created under the background of the above prior art, and includes an improved automotive software monitoring device that can effectively monitor automotive software in the process of monitoring automotive software installed in a vehicle, a monitoring method using the same, and the same. It relates to a BMS monitoring device.

본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있으며, 본 발명의 실시예에 의해 보다 분명하게 알게 될 것이다. 또한, 본 발명의 목적 및 장점들은 특허청구범위에 나타난 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.Other objects and advantages of the present invention can be understood from the following description and will be more clearly understood by practicing the present invention. In addition, it will be readily apparent that the objects and advantages of the present invention can be realized by means and combinations thereof indicated in the claims.

상기와 같은 목적을 달성하기 위한 본 발명의 일 실시예에 따른 BMS 모니터링 장치는, 차량에 구비되는 BMS를 모니터링 하는 장치로서, 상기 BMS의 전장용 소프트웨어의 진단 항목의 진단 결과를 기초로 상기 진단 항목에 대응하는 진단 코드에 설정되는 폴트 진단 카운트를 카운팅 하도록 구성된 진단 카운팅 모듈; 상기 BMS에 대한 진단 신호를 생성하고, 상기 진단 카운팅 모듈과 전기적으로 연결되어 상기 진단 카운팅 모듈로 상기 진단 신호를 전달하도록 구성된 센서; 상기 폴트 진단 카운트를 기초로 상기 진단 코드에 대응하는 액션 목록 중 상기 진단 항목에 대한 액션 목록이 정의된 플래그를 생성하도록 구성된 진단 액션 모듈; 및 상기 진단 항목을 기초로 상기 진단 카운팅 모듈 내에 설정되는 상기 진단 코드를 설정하고, 상기 진단 코드를 기초로 상기 진단 액션 모듈 내에 설정되는 상기 액션 목록을 설정하며, 상기 폴트 진단 카운트 및 상기 플래그를 기초로 상기 진단 카운팅 모듈 및 상기 진단 액션 모듈 중 적어도 하나의 정상 동작 여부를 모니터링 하도록 구성된 진단 모니터링 모듈을 포함한다.A BMS monitoring device according to an embodiment of the present invention for achieving the above object is a device that monitors a BMS installed in a vehicle, based on the diagnosis results of the diagnostic items of the electronic software of the BMS. a diagnostic counting module configured to count a fault diagnostic count set to a diagnostic code corresponding to; a sensor configured to generate a diagnostic signal for the BMS and to be electrically connected to the diagnostic counting module to transmit the diagnostic signal to the diagnostic counting module; a diagnostic action module configured to generate a flag defining an action list for the diagnostic item among the action list corresponding to the diagnostic code based on the fault diagnosis count; and setting the diagnostic code set in the diagnostic counting module based on the diagnostic item, setting the action list set in the diagnostic action module based on the diagnostic code, and setting the action list based on the fault diagnostic count and the flag. and a diagnostic monitoring module configured to monitor whether at least one of the diagnostic counting module and the diagnostic action module is operating normally.

또한, 상기 진단 모니터링 모듈은, 상기 진단 카운팅 모듈의 상기 폴트 진단 카운트를 카운팅 하는 진단 주기 및 상기 폴트 진단 카운트의 카운팅 최대값 중 적어도 하나를 설정하도록 구성될 수 있다.Additionally, the diagnostic monitoring module may be configured to set at least one of a diagnostic cycle for counting the fault diagnostic count of the diagnostic counting module and a maximum counting value of the fault diagnostic count.

또한, 상기 진단 액션 모듈은, 상기 진단 카운팅 모듈에서 카운팅 된 상기 폴트 진단 카운트가 상기 카운팅 최대값에 해당하는 경우, 상기 플래그를 생성하도록 구성될 수 있다.Additionally, the diagnostic action module may be configured to generate the flag when the fault diagnosis count counted by the diagnostic counting module corresponds to the counting maximum value.

또한, 상기 진단 모니터링 모듈은, 상기 폴트 진단 카운트의 증감을 기초로 상기 진단 카운팅 모듈의 정상 동작 여부를 모니터링 하도록 구성될 수 있다.Additionally, the diagnostic monitoring module may be configured to monitor whether the diagnostic counting module is operating normally based on an increase or decrease in the fault diagnostic count.

또한, 상기 진단 모니터링 모듈은, 상기 플래그가 상기 진단 항목에 대한 액션 목록을 포함하고 있는지 여부를 기초로 상기 진단 액션 모듈의 정상 동작 여부를 모니터링 하도록 구성될 수 있다.Additionally, the diagnostic monitoring module may be configured to monitor whether the diagnostic action module is operating normally based on whether the flag includes an action list for the diagnostic item.

또한, 상기와 같은 목적을 달성하기 위한 본 발명의 일 실시예에 따른 BMS는, 본 발명에 따른 BMS 모니터링 장치를 포함한다.In addition, the BMS according to an embodiment of the present invention for achieving the above object includes a BMS monitoring device according to the present invention.

또한, 상기와 같은 목적을 달성하기 위한 본 발명의 일 실시예에 따른 배터리 팩은, 본 발명에 따른 BMS 모니터링 장치를 포함한다.In addition, a battery pack according to an embodiment of the present invention for achieving the above object includes a BMS monitoring device according to the present invention.

또한, 상기와 같은 목적을 달성하기 위한 본 발명의 일 실시예에 따른 전장용 소프트웨어 모니터링 장치는, 차량에 구비되어 상기 차량의 진단 항목의 진단 결과를 기초로 상기 진단 항목에 대응하는 진단 코드에 설정되는 폴트 진단 카운트를 카운팅 하는 진단 카운팅 모듈 및 상기 폴트 진단 카운트를 기초로 상기 진단 코드에 대응하는 액션 목록 중 상기 진단 항목에 대한 액션 목록이 정의된 플래그를 생성하는 진단 액션 모듈을 구비하는 전장용 소프트웨어를 모니터링 하는 장치로서, 상기 차량에 대한 진단 신호를 생성하고, 상기 진단 카운팅 모듈과 전기적으로 연결되어 상기 진단 카운팅 모듈로 상기 진단 신호를 전달하도록 구성된 센서; 및 상기 진단 카운팅 모듈 내에 설정되는 상기 진단 코드를 설정하고, 상기 진단 액션 모듈 내에 설정되는 상기 액션 목록을 설정하며, 상기 폴트 진단 카운트 및 상기 플래그를 기초로 상기 진단 카운팅 모듈 및 상기 진단 액션 모듈 중 적어도 하나의 정상 동작 여부를 모니터링 하도록 구성된 프로세서를 포함한다.In addition, an automotive software monitoring device according to an embodiment of the present invention to achieve the above object is provided in a vehicle and sets a diagnostic code corresponding to the diagnostic item of the vehicle based on the diagnosis result of the diagnostic item. Automotive software having a diagnostic counting module that counts the fault diagnosis count and a diagnostic action module that generates a flag with a defined action list for the diagnostic item among the action list corresponding to the diagnostic code based on the fault diagnosis count. A device for monitoring, comprising: a sensor configured to generate a diagnostic signal for the vehicle and to be electrically connected to the diagnostic counting module to transmit the diagnostic signal to the diagnostic counting module; and setting the diagnostic code set in the diagnostic counting module, setting the action list set in the diagnostic action module, and determining at least one of the diagnostic counting module and the diagnostic action module based on the fault diagnostic count and the flag. It includes a processor configured to monitor whether one is operating normally.

또한, 상기 프로세서는, 상기 폴트 진단 카운트의 증감을 기초로 상기 진단 카운팅 모듈의 정상 동작 여부를 모니터링 하도록 구성될 수 있다.Additionally, the processor may be configured to monitor whether the diagnostic counting module is operating normally based on an increase or decrease in the fault diagnosis count.

또한, 상기 프로세서는, 상기 플래그가 상기 진단 항목에 대한 액션 목록을 포함하고 있는지 여부를 기초로 상기 진단 액션 모듈의 정상 동작 여부를 모니터링 하도록 구성될 수 있다.Additionally, the processor may be configured to monitor whether the diagnostic action module is operating normally based on whether the flag includes an action list for the diagnostic item.

또한, 상기와 같은 목적을 달성하기 위한 본 발명의 일 실시예에 따른 전장용 소프트웨어 모니터링 방법은, 차량에 구비되는 전장용 소프트웨어를 모니터링 하는 방법으로서, 상기 전장용 소프트웨어의 진단 항목의 진단 결과를 기초로 상기 진단 항목에 대응하는 진단 코드에 설정되는 폴트 진단 카운트를 카운팅 하는 단계; 상기 폴트 진단 카운트를 기초로 상기 진단 코드에 대응하는 액션 목록 중 상기 진단 항목에 대한 액션 목록이 정의된 플래그를 생성하는 단계; 및 상기 진단 항목을 기초로 상기 진단 코드를 설정하고, 상기 진단 코드를 기초로 상기 액션 목록을 설정하며, 상기 폴트 진단 카운트 및 상기 플래그를 기초로 상기 전장용 소프트웨어의 정상 동작 여부를 모니터링 하는 단계를 포함한다.In addition, the automotive software monitoring method according to an embodiment of the present invention to achieve the above object is a method of monitoring the automotive software installed in a vehicle, based on the diagnosis results of diagnostic items of the automotive software. counting a fault diagnosis count set to a diagnosis code corresponding to the diagnosis item; generating a flag defining an action list for the diagnosis item among the action list corresponding to the diagnosis code based on the fault diagnosis count; and setting the diagnostic code based on the diagnostic item, setting the action list based on the diagnostic code, and monitoring whether the electronic software is operating normally based on the fault diagnosis count and the flag. Includes.

본 발명의 일 측면에 의하면, 폴트 진단 카운트와 플래그를 확인함으로써, 전장용 소프트웨어의 정상 동작 여부를 효과적으로 모니터링 할 수 있는 효과가 있다.According to one aspect of the present invention, it is possible to effectively monitor whether the electronic software is operating normally by checking the fault diagnosis count and flag.

특히, 본 발명의 일 실시예에 의하면, BMS의 진단 항목을 기초로 전장용 소프트웨어를 진단함으로써, 전장용 소프트웨어의 오류로 인하여 발생할 수 있는 문제를 최소화 할 수 있는 개선된 전장용 소프트웨어 모니터링 장치, 이를 이용하는 모니터링 방법 및 이를 포함하는 BMS 모니터링 장치가 제공될 수 있다.In particular, according to an embodiment of the present invention, an improved automotive software monitoring device that can minimize problems that may occur due to errors in automotive software by diagnosing automotive software based on diagnostic items of the BMS, A monitoring method using the same and a BMS monitoring device including the same may be provided.

이외에도 본 발명은 다른 다양한 효과를 가질 수 있으며, 이러한 본 발명의 다른 효과들은 하기의 설명에 의해서 이해될 수 있고, 본 발명의 실시예에 의해 보다 분명하게 알 수 있다.In addition, the present invention can have various other effects, and these other effects of the present invention can be understood through the following description and can be more clearly seen through examples of the present invention.

본 명세서에 첨부되는 다음의 도면들은 본 발명의 바람직한 실시예를 예시하는 것이며, 후술하는 발명의 상세한 설명과 함께 본 발명의 기술사상을 더욱 이해시키는 역할을 하는 것이므로, 본 발명은 그러한 도면에 기재된 사항에만 한정되어 해석되어서는 아니 된다.
도 1은, 본 발명의 일 실시예에 따른 BMS 모니터링 장치가 차량의 일부 구성요소와 연결된 구성을 개략적으로 나타내는 도면이다.
도 2는, 본 발명의 일 실시예에 따른 프로세서의 일부 구성요소를 개략적으로 나타내는 블록도이다.
도 3은, 본 발명의 일 실시예에 따른 전장용 소프트웨어 모니터링 방법을 개략적으로 나타내는 순서도이다.
도 4는, 본 발명의 다른 실시예에 따른 전장용 소프트웨어 모니터링 방법을 개략적으로 나타내는 순서도이다.
The following drawings attached to this specification illustrate preferred embodiments of the present invention, and serve to further understand the technical idea of the present invention together with the detailed description of the invention described later. Therefore, the present invention includes the matters described in such drawings. It should not be interpreted as limited to only .
Figure 1 is a diagram schematically showing the configuration of a BMS monitoring device connected to some components of a vehicle according to an embodiment of the present invention.
Figure 2 is a block diagram schematically showing some components of a processor according to an embodiment of the present invention.
Figure 3 is a flowchart schematically showing a method for monitoring automotive software according to an embodiment of the present invention.
Figure 4 is a flowchart schematically showing a method for monitoring automotive software according to another embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 상세히 설명하기로 한다. 이에 앞서, 본 명세서 및 청구범위에 사용된 용어나 단어는 통상적이거나 사전적인 의미로 한정해서 해석되어서는 안 되며, 발명자는 그 자신의 발명을 가장 최선의 방법으로 설명하기 위해 용어의 개념을 적절하게 정의할 수 있다는 원칙에 입각하여 본 발명의 기술적 사상에 부합하는 의미와 개념으로 해석되어야만 한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the attached drawings. Prior to this, the terms or words used in this specification and claims should not be construed as limited to their usual or dictionary meanings, and the inventor should appropriately use the concept of terms to explain his or her invention in the best way. It must be interpreted as meaning and concept consistent with the technical idea of the present invention based on the principle of definability.

따라서, 본 명세서에 기재된 실시예와 도면에 도시된 구성은 본 발명의 가장 바람직한 일 실시예에 불과할 뿐이고 본 발명의 기술적 사상에 모두 대변하는 것은 아니므로, 본 출원시점에 있어서 이들을 대체할 수 있는 다양한 균등물과 변형예들이 있을 수 있음을 이해하여야 한다.Therefore, the embodiments described in this specification and the configurations shown in the drawings are only one of the most preferred embodiments of the present invention and do not entirely represent the technical idea of the present invention, so at the time of filing the present application, various options that can replace them are available. It should be understood that equivalents and variations may exist.

또한, 본 발명을 설명함에 있어 관련된 공지 구성 또는 기능에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판정되는 경우에는 그 상세한 설명은 생략한다.Additionally, when describing the present invention, if it is determined that a detailed description of a related known configuration or function may obscure the gist of the present invention, the detailed description will be omitted.

명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라, 다른 구성요소를 더 포함할 수 있다는 것을 의미한다. 또한, 명세서에 기재된 '프로세서'와 같은 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어, 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.Throughout the specification, when a part is said to “include” a certain element, this means that it does not exclude other elements, but may further include other elements, unless specifically stated to the contrary. Additionally, terms such as 'processor' used in the specification refer to a unit that processes at least one function or operation, and may be implemented as hardware, software, or a combination of hardware and software.

덧붙여, 명세서 전체에서, 어떤 부분이 다른 부분과 "연결"되어 있다고 할 때, 이는 "직접적으로 연결"되어 있는 경우뿐만 아니라, 그 중간에 다른 소자를 사이에 두고 "간접적으로 연결"되어 있는 경우도 포함한다.Additionally, throughout the specification, when a part is said to be "connected" to another part, this refers not only to the case where it is "directly connected" but also to the case where it is "indirectly connected" with another element in between. Includes.

본 명세서에서, 이차 전지는, 음극 단자와 양극 단자를 구비하며, 물리적으로 분리 가능한 하나의 독립된 셀을 의미한다. 일 예로, 파우치형 리튬 폴리머 셀 하나가 이차 전지로 간주될 수 있다. In this specification, a secondary battery refers to an independent cell that has a negative electrode terminal and a positive electrode terminal and is physically separable. As an example, one pouch-type lithium polymer cell may be considered a secondary battery.

본 발명의 일 실시예에 따른 BMS 모니터링 장치는, 차량에 구비되는 BMS를 모니터링하는 장치 일 수 있다. 예를 들어, 도 1의 구성에 도시된 바와 같이, BMS 모니터링 장치는, 양단이 차량 부하(50)와 연결되도록 구성된 배터리 팩에 구비될 수 있다. 또한, 본 발명의 일 실시예에 따른 BMS 모니터링 장치는, 전장용 소프트웨어 모니터링 장치를 포함할 수 있다. 예를 들어, 전장용 소프트웨어는, 차량의 BMS(Battery Management System)에 구비되며 BMS의 동작이 정의된 프로그램 코드일 수 있다.The BMS monitoring device according to an embodiment of the present invention may be a device that monitors a BMS installed in a vehicle. For example, as shown in the configuration of FIG. 1, the BMS monitoring device may be provided in a battery pack configured to have both ends connected to the vehicle load 50. Additionally, the BMS monitoring device according to an embodiment of the present invention may include a software monitoring device for electronic devices. For example, automotive software may be a program code that is provided in a vehicle's BMS (Battery Management System) and defines the operation of the BMS.

도 1은, 본 발명의 일 실시예에 따른 BMS 모니터링 장치가 차량의 일부 구성요소와 연결된 구성을 개략적으로 나타내는 도면이고, 도 2는, 본 발명의 일 실시예에 따른 프로세서의 일부 구성요소를 개략적으로 나타내는 블록도이다.Figure 1 is a diagram schematically showing a configuration in which a BMS monitoring device is connected to some components of a vehicle according to an embodiment of the present invention, and Figure 2 is a diagram schematically showing some components of a processor according to an embodiment of the present invention. It is a block diagram represented by .

도 1 및 도 2를 참조하면, 본 발명의 일 실시예에 따른 BMS 모니터링 장치는, 전장용 소프트웨어 모니터링 장치를 포함할 수 있다.Referring to Figures 1 and 2, the BMS monitoring device according to an embodiment of the present invention may include a software monitoring device for electronic devices.

본 발명의 일 실시예에 따른 전장용 소프트웨어 모니터링 장치는, 프로세서(200) 및 센서(100)를 포함할 수 있다.The automotive software monitoring device according to an embodiment of the present invention may include a processor 200 and a sensor 100.

본 발명의 일 실시예에 따른 프로세서(200)는, 진단 카운팅 모듈(210), 진단 액션 모듈(220) 및 진단 모니터링 모듈(230)을 포함할 수 있다.The processor 200 according to an embodiment of the present invention may include a diagnostic counting module 210, a diagnostic action module 220, and a diagnostic monitoring module 230.

상기 진단 카운팅 모듈(210)은, 전장용 소프트웨어의 진단 항목의 진단 결과를 기초로 진단 항목에 대응하는 진단 코드에 설정되는 폴트 진단 카운트를 카운팅 하도록 구성될 수 있다. 예를 들어, 진단 항목은, BMS의 전압, 전류, 온도, SOC(State Of Charge) 및 SOH(State Of Health) 등을 포함할 수 있다. 또한, 진단 코드는, 차량에 탑재되는 BMS 또는 ECU(Electric Control Unit)의 진단 항목에 대하여 프로그램 코드로 정의된 DTC(Diagnostic Trouble Code) 일 수 있다. 예를 들어, 진단 코드는, DTC A, DTC B 또는 DTC C 일 수 있다. 여기서, 과전압 진단 항목에 대한 진단 코드는, DTC A 일 수 있다.The diagnostic counting module 210 may be configured to count the fault diagnosis count set to the diagnostic code corresponding to the diagnostic item based on the diagnostic result of the diagnostic item of the automotive software. For example, diagnostic items may include voltage, current, temperature, SOC (State Of Charge), and SOH (State Of Health) of the BMS. Additionally, the diagnostic code may be a DTC (Diagnostic Trouble Code) defined as a program code for a diagnostic item of a BMS or ECU (Electric Control Unit) mounted on the vehicle. For example, the diagnosis code may be DTC A, DTC B, or DTC C. Here, the diagnosis code for the overvoltage diagnosis item may be DTC A.

또한, 폴트 진단 카운트는, 진단 항목에 대하여 폴트(fault) 상황이 진단되는 경우 1단계씩 증가하고, 진단 항목에 대하여 폴트 상황이 해결되는 경우 1단계씩 감소할 수 있다. Additionally, the fault diagnosis count may increase by one step when a fault situation is diagnosed for the diagnosis item, and may decrease by one step when the fault situation is resolved for the diagnosis item.

예를 들어, 본 발명의 일 실시예에 따른 진단 카운팅 모듈(210)은, 과전압 진단 항목의 진단 코드인 DTC A에 대하여, 과전압이 진단되는 경우, DTC A의 카운팅을 1로 카운팅 할 수 있다. 예를 들어, 폴트 진단 카운트는, FDC(Fault Detection Count)일 수 있다.For example, the diagnostic counting module 210 according to an embodiment of the present invention may count DTC A as 1 when overvoltage is diagnosed for DTC A, which is the diagnostic code of the overvoltage diagnosis item. For example, the fault diagnosis count may be FDC (Fault Detection Count).

바람직하게는, 전장용 소프트웨어는, 상기 진단 카운팅 모듈(210)을 포함할 수 있다. 상기 진단 카운팅 모듈(210)은, 차량에 구비되어 차량의 진단 항목의 진단 결과를 기초로 진단 항목에 대응하는 진단 코드에 설정되는 폴트 진단 카운트를 카운팅 할 수 있다. 예를 들어, 본 발명의 일 실시예에 따른 진단 카운팅 모듈(210)은 DEM(Diagnostic Event Manager)일 수 있다.Preferably, the automotive software may include the diagnostic counting module 210. The diagnostic counting module 210 is provided in the vehicle and can count the fault diagnosis count set to the diagnostic code corresponding to the diagnostic item based on the diagnosis result of the vehicle's diagnostic item. For example, the diagnostic counting module 210 according to an embodiment of the present invention may be a Diagnostic Event Manager (DEM).

상기 진단 액션 모듈(220)은, 폴트 진단 카운트를 기초로 진단 코드에 대응하는 액션 목록 중 진단 항목에 대한 액션 목록이 정의된 플래그를 생성하도록 구성될 수 있다. 예를 들어, 진단 코드에 대응하는 액션 목록은, 과전압 진단에 대한 BMS의 대응 목록일 수 있다. 예를 들어, 액션 목록은, 과전압 진단에 대하여 컨택터를 개방 상태로 전환시키는 액션에 대한 목록일 수 있다. 이를 테면, 액션 목록은, FID(Function Identifier Direction)일 수 있다.The diagnostic action module 220 may be configured to generate a flag defining an action list for a diagnostic item among the action list corresponding to the diagnostic code based on the fault diagnosis count. For example, the action list corresponding to the diagnosis code may be the BMS response list for overvoltage diagnosis. For example, the action list may be a list of actions that switch the contactor to an open state for overvoltage diagnosis. For example, the action list may be a Function Identifier Direction (FID).

예를 들어, 진단 액션 모듈(220)은, 과전압에 대한 폴트 진단 카운트를 기초로 과전압에 대하여 컨택터를 개방 상태로 전환시키는 액션이 정의된 플래그를 생성할 수 있다. 이 경우, 프로세서(200)는, 진단 액션 모듈(220)에 의해 생성된 플래그를 기초로 과전압에 대하여 컨택터를 개방 상태로 전환시킬 수 있다.For example, the diagnostic action module 220 may generate a flag in which an action for switching the contactor to an open state for overvoltage is defined based on the fault diagnosis count for overvoltage. In this case, the processor 200 may switch the contactor to an open state for overvoltage based on the flag generated by the diagnostic action module 220.

바람직하게는, 전장용 소프트웨어는, 상기 진단 액션 모듈(220)을 포함할 수 있다. 상기 진단 액션 모듈(220)은, 폴트 진단 카운트를 기초로 진단 코드에 대응하는 액션 목록 중 진단 항목에 대한 액션 목록이 정의된 플래그를 생성할 수 있다. 예를 들어, 본 발명의 일 실시예에 따른 진단 액션 모듈(220)은, FIM(Function Inhibition Manager)일 수 있다.Preferably, the automotive software may include the diagnostic action module 220. The diagnostic action module 220 may generate a flag defining an action list for a diagnostic item among the action list corresponding to the diagnostic code based on the fault diagnosis count. For example, the diagnostic action module 220 according to an embodiment of the present invention may be a Function Inhibition Manager (FIM).

상기 진단 모니터링 모듈(230)은, 진단 카운팅 모듈(210) 내에 설정되는 진단 코드를 설정할 수 있다. 예를 들어, 진단 모니터링 모듈(230)은, 진단 항목에 대한 진단 코드를 설정할 수 있다. 예를 들어, 진단 모니터링 모듈(230)은, 과전압 진단에 대하여 진단 코드 DTC A를 설정할 수 있다.The diagnostic monitoring module 230 can set a diagnostic code set in the diagnostic counting module 210. For example, the diagnostic monitoring module 230 may set a diagnostic code for a diagnostic item. For example, the diagnostic monitoring module 230 may set the diagnostic code DTC A for overvoltage diagnosis.

또한, 진단 모니터링 모듈(230)은, 진단 액션 모듈(220) 내에 설정되는 액션 목록을 설정할 수 있다. 예를 들어, 진단 모니터링 모듈(230)은, 진단 코드에 대한 액션 목록을 설정할 수 있다. 예를 들어, 진단 모니터링 모듈(230)은, 과전압 진단에 대하여 컨택터를 개방 상태로 전환시키는 액션 목록을 설정할 수 있다.Additionally, the diagnostic monitoring module 230 may set an action list set within the diagnostic action module 220. For example, the diagnostic monitoring module 230 may set an action list for diagnostic codes. For example, the diagnostic monitoring module 230 may set an action list that switches the contactor to an open state for overvoltage diagnosis.

또한, 진단 모니터링 모듈(230)은, 폴트 진단 카운트 및 플래그를 기초로 진단 카운팅 모듈(210) 및 진단 액션 모듈(220) 중 적어도 하나의 정상 동작 여부를 모니터링 할 수 있다. 예를 들어, 진단 모니터링 모듈(230)은, 폴트 진단 카운트를 기초로 진단 카운팅 모듈(210)의 정상 동작 여부를 모니터링 할 수 있다. 또한, 진단 모니터링 모듈(230)은, 플래그를 기초로 진단 액션 모듈(220)의 정상 동작 여부를 모니터링 할 수 있다.Additionally, the diagnostic monitoring module 230 may monitor whether at least one of the diagnostic counting module 210 and the diagnostic action module 220 is operating normally based on the fault diagnostic count and flag. For example, the diagnostic monitoring module 230 may monitor whether the diagnostic counting module 210 is operating normally based on the fault diagnostic count. Additionally, the diagnostic monitoring module 230 may monitor whether the diagnostic action module 220 is operating normally based on the flag.

바람직하게는, 본 발명의 일 실시예에 따른 프로세서(200)는, 진단 카운팅 모듈(210) 내에 설정되는 진단 코드를 설정하고, 진단 액션 모듈(220) 내에 설정되는 액션 목록을 설정하며, 폴트 진단 카운트 및 플래그를 기초로 진단 카운팅 모듈(210) 및 진단 액션 모듈(220) 중 적어도 하나의 정상 동작 여부를 모니터링 하도록 구성될 수 있다.Preferably, the processor 200 according to an embodiment of the present invention sets a diagnostic code set in the diagnostic counting module 210, sets an action list set in the diagnostic action module 220, and performs a fault diagnosis. It may be configured to monitor whether at least one of the diagnostic counting module 210 and the diagnostic action module 220 is operating normally based on counts and flags.

상기 센서(100)는, BMS에 대한 진단 신호를 생성하고, 진단 카운팅 모듈(210)과 전기적으로 연결되어 상기 진단 카운팅 모듈(210)로 상기 진단 신호를 전달하도록 구성될 수 있다. 또한, 센서(100)는, 차량에 대한 진단 신호를 생성하고, 상기 진단 카운팅 모듈(210)과 전기적으로 연결되어 상기 진단 카운팅 모듈(210)로 상기 진단 신호를 전달하도록 구성될 수 있다. 예를 들어, 센서(100)에 의해 생성되는 진단 신호는, 전압, 전류 및 온도 중 적어도 하나 이상을 포함할 수 있다.The sensor 100 may be configured to generate a diagnostic signal for the BMS and be electrically connected to the diagnostic counting module 210 to transmit the diagnostic signal to the diagnostic counting module 210. Additionally, the sensor 100 may be configured to generate a diagnostic signal for the vehicle and be electrically connected to the diagnostic counting module 210 to transmit the diagnostic signal to the diagnostic counting module 210 . For example, the diagnostic signal generated by the sensor 100 may include at least one of voltage, current, and temperature.

상기 센서(100)는, 배터리 팩에 구비된 셀 어셈블리(10)와 전기적으로 연결될 수 있다. 예를 들어, 도 1의 구성에 도시된 바와 같이, 센서(100)는, 전기적 신호를 주고 받을 수 있도록 셀 어셈블리(10)의 양단과 각각 전기적으로 연결될 수 있다. The sensor 100 may be electrically connected to the cell assembly 10 provided in the battery pack. For example, as shown in the configuration of FIG. 1, the sensor 100 may be electrically connected to both ends of the cell assembly 10 to exchange electrical signals.

또한, 센서(100)는, 셀 어셈블리(10)의 양단 전압을 측정하도록 구성될 수 있다. 보다 구체적으로, 센서(100)는, 셀 어셈블리(10)의 양단으로부터 수신한 전기적 신호를 기초로 셀 어셈블리(10)의 양단 전압을 측정할 수 있다. Additionally, the sensor 100 may be configured to measure the voltage at both ends of the cell assembly 10. More specifically, the sensor 100 may measure the voltage at both ends of the cell assembly 10 based on electrical signals received from both ends of the cell assembly 10.

바람직하게는, 센서(100)는, 전기적 신호를 주고 받을 수 있도록 프로세서(200)와 전기적으로 연결될 수 있다. 또한, 센서(100)는, 프로세서(200)의 통제 하에 시간 간격을 두고 셀 어셈블리(10)의 양극 단자와 셀 어셈블리(10)의 음극 단자 사이의 전위차를 측정하고 측정된 전압의 크기를 나타내는 신호를 프로세서(200)로 출력할 수 있다. 예를 들어, 센서(100)는, 당업계에서 일반적으로 사용되는 전압 측정 회로를 이용하여 구현될 수 있다. Preferably, the sensor 100 may be electrically connected to the processor 200 to exchange electrical signals. In addition, the sensor 100 measures the potential difference between the positive terminal of the cell assembly 10 and the negative terminal of the cell assembly 10 at time intervals under the control of the processor 200 and provides a signal indicating the magnitude of the measured voltage. can be output to the processor 200. For example, the sensor 100 may be implemented using a voltage measurement circuit commonly used in the industry.

예를 들어, 센서(100)는, 셀 어셈블리(10)의 양단 전압에 대한 진단 신호를 생성하고, 진단 카운팅 모듈(210)로 셀 어셈블리(10)의 양단 전압에 대한 진단 신호를 전달할 수 있다. 예를 들어, 도 1의 구성에 도시된 바와 같이, 센서(100)는, 셀 어셈블리(10)의 양단 전압을 측정하고, 셀 어셈블리(10)의 전압값에 대한 진단 신호를 진단 카운팅 모듈(210)로 전달할 수 있다. 예를 들어, 진단 카운팅 모듈(210)은, 센서(100)로부터 수신하는 진단 신호를 기초로 진단 항목을 진단할 수 있다. 예를 들어, 진단 카운팅 모듈(210)은, 과전압 임계값이 5v이고, 센서(100)로부터 셀 어셈블리(10)의 전압 5.8v에 해당하는 진단 신호를 수신하는 경우, 이를 기초로 셀 어셈블리(10) 양단 전압이 과전압에 해당하는 것으로 진단할 수 있다. 여기서, 진단 카운팅 모듈(210)은, 진단의 기초가 되는 진단 임계값을 미리 저장할 수 있다. 또는, 진단 카운팅 모듈(210)은, 상기 진단 임계값을 메모리 디바이스(300)로부터 수신할 수 있다.For example, the sensor 100 may generate a diagnostic signal for the voltage at both ends of the cell assembly 10 and transmit the diagnostic signal for the voltage at both ends of the cell assembly 10 to the diagnostic counting module 210 . For example, as shown in the configuration of FIG. 1, the sensor 100 measures the voltage across the cell assembly 10 and sends a diagnostic signal for the voltage value of the cell assembly 10 to the diagnostic counting module 210. ) can be transmitted. For example, the diagnostic counting module 210 may diagnose diagnostic items based on the diagnostic signal received from the sensor 100. For example, when the diagnostic counting module 210 has an overvoltage threshold of 5v and receives a diagnostic signal corresponding to a voltage of 5.8v of the cell assembly 10 from the sensor 100, the diagnostic counting module 210 counts the cell assembly 10 based on this. ) It can be diagnosed that the voltage at both ends corresponds to overvoltage. Here, the diagnostic counting module 210 may store in advance the diagnostic threshold value that is the basis for diagnosis. Alternatively, the diagnostic counting module 210 may receive the diagnostic threshold from the memory device 300.

바람직하게는, 본 발명의 일 실시예에 따른 상기 진단 모니터링 모듈(230)은, 진단 카운팅 모듈(210)의 폴트 진단 카운트를 카운팅 하는 진단 주기를 설정할 수 있다. 예를 들어, 진단 모니터링 모듈(230)은, 진단 카운팅 모듈(210)에서 과전압을 진단하는 경우, 폴트 진단 카운트를 카운팅 하는 진단 주기를 1일로 설정할 수 있다. 이 경우, 진단 카운팅 모듈(210)은, 1일이 경과하면 폴트 진단 카운트를 리셋 할 수 있다. 또한, 진단 모니터링 모듈(230)은, 진단 카운팅 모듈(210)의 과전압 진단에 대하여 폴트 진단 카운트를 카운팅 하는 진단 주기를 1분으로 설정할 수 있다. 이 경우, 진단 카운팅 모듈(210)은, 1분마다 과전압을 진단할 수 있다.Preferably, the diagnostic monitoring module 230 according to an embodiment of the present invention may set a diagnostic cycle for counting the fault diagnostic count of the diagnostic counting module 210. For example, when the diagnostic counting module 210 diagnoses an overvoltage, the diagnostic monitoring module 230 may set the diagnostic cycle for counting the fault diagnostic count to 1 day. In this case, the diagnostic counting module 210 may reset the fault diagnosis count when 1 day has elapsed. Additionally, the diagnostic monitoring module 230 may set the diagnostic cycle for counting the fault diagnostic count for overvoltage diagnosis of the diagnostic counting module 210 to 1 minute. In this case, the diagnostic counting module 210 can diagnose overvoltage every minute.

또한, 진단 모니터링 모듈(230)은, 폴트 진단 카운트의 카운팅 최대값을 설정할 수 있다. 예를 들어, 진단 모니터링 모듈(230)은, 진단 카운팅 모듈(210)에서 과전압을 진단하는 경우, 폴트 진단 카운트의 카운팅 최대값을 3으로 설정할 수 있다. 이 경우, 진단 카운팅 모듈(210)은, 과전압이 3회 진단될 때까지 1부터 3까지 순차적으로 폴트 진단 카운트를 카운팅 할 수 있다.Additionally, the diagnostic monitoring module 230 may set the maximum counting value of the fault diagnosis count. For example, when the diagnostic counting module 210 diagnoses an overvoltage, the diagnostic monitoring module 230 may set the maximum counting value of the fault diagnosis count to 3. In this case, the diagnostic counting module 210 may sequentially count the fault diagnosis count from 1 to 3 until the overvoltage is diagnosed three times.

바람직하게는, 본 발명의 일 실시예에 따른 상기 진단 액션 모듈(220)은, 진단 카운팅 모듈(210)에서 카운팅 된 폴트 진단 카운트가 카운팅 최대값에 해당하는 경우, 플래그를 생성할 수 있다. 예를 들어, 진단 액션 모듈(220)은, 진단 카운팅 모듈(210)로부터 폴트 진단 카운트를 수신할 수 있다. 또한, 진단 액션 모듈(220)은, 진단 카운팅 모듈(210)로부터 폴트 진단 카운트가 카운팅 최대값에 해당하는 경우, 카운팅 최대값에 도달하였음을 알리는 신호를 수신할 수 있다. 또한, 진단 액션 모듈(220)은, 폴트 진단 카운트가 카운팅 최대값에 해당하는 경우, 이를 기초로 플래그를 생성할 수 있다. 여기서, 상기 플래그에는 진단 항목에 대한 진단 항목에 대한 액션 목록이 정의될 수 있다. 예를 들어, 진단 액션 모듈(220)은, 진단 카운팅 모듈(210)에서 과전압 진단에 의하여 폴트 진단 카운트가 3으로 카운팅 최대값에 해당하는 경우, 컨택터를 개방 상태로 전환시키는 액션 목록이 정의된 플래그를 생성할 수 있다.Preferably, the diagnostic action module 220 according to an embodiment of the present invention may generate a flag when the fault diagnosis count counted by the diagnostic counting module 210 corresponds to the counting maximum value. For example, the diagnostic action module 220 may receive a fault diagnostic count from the diagnostic counting module 210. Additionally, when the fault diagnosis count corresponds to the maximum counting value from the diagnosis counting module 210, the diagnostic action module 220 may receive a signal indicating that the maximum counting value has been reached. Additionally, when the fault diagnosis count corresponds to the maximum counting value, the diagnostic action module 220 may generate a flag based on this. Here, an action list for the diagnostic item may be defined in the flag. For example, the diagnostic action module 220 defines an action list that switches the contactor to the open state when the fault diagnosis count is 3, which corresponds to the maximum counting value, due to the overvoltage diagnosis in the diagnostic counting module 210. Flags can be created.

바람직하게는, 본 발명의 일 실시예에 따른 상기 진단 모니터링 모듈(230)은, 폴트 진단 카운트의 증감을 기초로 진단 카운팅 모듈(210)의 정상 동작 여부를 모니터링 할 수 있다. 예를 들어, 진단 모니터링 모듈(230)은, 진단 카운팅 모듈(210)이 진단 항목을 진단하는 경우 폴트 진단 카운트가 정상적으로 증감하는지 여부를 기초로 진단 카운팅 모듈(210)의 정상 동작 여부를 모니터링 할 수 있다. 예를 들어, 진단 모니터링 모듈(230)은, 진단 카운팅 모듈(210)이 과전압을 진단하는 경우, 폴트 진단 카운트가 증가하는지 여부를 기초로 진단 카운팅 모듈(210)의 정상 동작 여부를 모니터링 할 수 있다. 또한, 진단 모니터링 모듈(230)은, 진단 카운팅 모듈(210)이 과전압을 진단하지 않는 경우, 폴트 진단 카운트가 감소하는지 여부를 기초로 진단 카운팅 모듈(210)의 정상 동작 여부를 모니터링 할 수 있다.Preferably, the diagnostic monitoring module 230 according to an embodiment of the present invention may monitor whether the diagnostic counting module 210 is operating normally based on an increase or decrease in the fault diagnostic count. For example, the diagnostic monitoring module 230 may monitor whether the diagnostic counting module 210 is operating normally based on whether the fault diagnostic count increases or decreases normally when the diagnostic counting module 210 diagnoses a diagnostic item. there is. For example, when the diagnostic counting module 210 diagnoses overvoltage, the diagnostic monitoring module 230 may monitor whether the diagnostic counting module 210 is operating normally based on whether the fault diagnostic count increases. . Additionally, when the diagnostic counting module 210 does not diagnose overvoltage, the diagnostic monitoring module 230 may monitor whether the diagnostic counting module 210 is operating normally based on whether the fault diagnostic count decreases.

바람직하게는, 본 발명의 일 실시예에 따른 상기 진단 모니터링 모듈(230)은, 플래그가 진단 항목에 대한 액션 목록을 포함하고 있는지 여부를 기초로 진단 액션 모듈(220)의 정상 동작 여부를 모니터링 할 수 있다. 예를 들어, 진단 모니터링 모듈(230)은, 진단 액션 모듈(220)에 의해 생성된 플래그를 수신할 수 있다. 또한, 진단 모니터링 모듈(230)은, 플래그에 정의된 액션 목록이 진단 항목에 대응하는 액션 목록인지 여부를 기초로 진단 액션 모듈(220)의 정상 동작 여부를 모니터링 할 수 있다. 여기서, 진단 모니터링 모듈(230)은, 진단 항목과 액션 목록이 맵핑된 테이블을 미리 저장할 수 있다. 또한, 진단 모니터링 모듈(230)은, 메모리 디바이스(300)로부터 진단 항목과 액션 목록이 맵핑된 테이블을 수신할 수 있다.Preferably, the diagnostic monitoring module 230 according to an embodiment of the present invention monitors whether the diagnostic action module 220 is operating normally based on whether the flag includes an action list for the diagnostic item. You can. For example, the diagnostic monitoring module 230 may receive a flag generated by the diagnostic action module 220. Additionally, the diagnostic monitoring module 230 may monitor whether the diagnostic action module 220 is operating normally based on whether the action list defined in the flag is an action list corresponding to a diagnostic item. Here, the diagnostic monitoring module 230 may store a table in which diagnostic items and action lists are mapped in advance. Additionally, the diagnostic monitoring module 230 may receive a table in which diagnostic items and action lists are mapped from the memory device 300.

바람직하게는, 본 발명의 일 실시예에 따른 전장용 소프트웨어 모니터링 장치는, 도 1의 구성에 도시된 바와 같이, 메모리 디바이스(300)를 더 포함할 수 있다.Preferably, the automotive software monitoring device according to an embodiment of the present invention may further include a memory device 300, as shown in the configuration of FIG. 1.

상기 메모리 디바이스(300)는, 전기적 신호를 주고 받을 수 있도록 프로세서(200)와 전기적으로 연결될 수 있다. 또한, 메모리 디바이스(300)는, 전장용 소프트웨어 모니터링 장치의 동작에 필요한 정보를 미리 저장할 수 있다. 예를 들어, 메모리 디바이스(300)는, 진단의 기초가 되는 진단 임계값을 미리 저장할 수 있다. 또한, 메모리 디바이스(300)는, 진단 항목과 액션 목록이 맵핑된 테이블을 미리 저장할 수 있다.The memory device 300 may be electrically connected to the processor 200 to exchange electrical signals. Additionally, the memory device 300 may store information necessary for the operation of the automotive software monitoring device in advance. For example, the memory device 300 may previously store a diagnostic threshold that is the basis for diagnosis. Additionally, the memory device 300 may previously store a table in which diagnostic items and action lists are mapped.

한편, 프로세서(200)는, 상술한 바와 같은 동작을 수행하기 위해, 당업계에 알려진 프로세서(200), ASIC(Application-Specific Integrated Circuit), 다른 칩셋, 논리 회로, 레지스터, 통신 모뎀 및/또는 데이터 처리 장치 등을 선택적으로 포함하는 형태로 구현될 수 있다.Meanwhile, in order to perform the above-described operations, the processor 200 includes a processor 200, an application-specific integrated circuit (ASIC), other chipsets, logic circuits, registers, communication modems, and/or data known in the art. It may be implemented in a form that selectively includes a processing device, etc.

한편, 메모리 디바이스(300)는, 정보를 기록하고 소거할 수 있는 저장 매체라면 그 종류에 특별한 제한이 없다. 예를 들어, 메모리 디바이스(300)는, RAM, ROM, 레지스터, 하드디스크, 광기록 매체 또는 자기기록 매체일 수 있다. 메모리 디바이스(300)는, 또한 프로세서(200)에 의해 각각 접근이 가능하도록 예컨대 데이터 버스 등을 통해 프로세서(200)와 각각 전기적으로 연결될 수 있다. 메모리 디바이스(300)는, 또한 프로세서(200)가 각각 수행하는 각종 제어 로직을 포함하는 프로그램, 및/또는 제어 로직이 실행될 때 발생되는 데이터를 저장 및/또는 갱신 및/또는 소거 및/또는 전송할 수 있다. Meanwhile, the type of the memory device 300 is not particularly limited as long as it is a storage medium capable of recording and erasing information. For example, the memory device 300 may be RAM, ROM, register, hard disk, optical recording medium, or magnetic recording medium. The memory devices 300 may also be electrically connected to the processor 200 through, for example, a data bus so that each of the memory devices 300 can be accessed by the processor 200 . The memory device 300 can also store and/or update and/or erase and/or transmit programs including various control logics each performed by the processor 200 and/or data generated when the control logic is executed. there is.

본 발명에 따른 BMS 모니터링 장치는, BMS에 적용될 수 있다. 즉, 본 발명에 따른 BMS는, 상술한 본 발명에 따른 BMS 모니터링 장치를 포함할 수 있다. 이러한 구성에 있어서, 본 발명에 따른 BMS 모니터링 장치의 각 구성요소 중 적어도 일부는, 종래 BMS에 포함된 구성의 기능을 보완하거나 추가함으로써 구현될 수 있다. 예를 들어, 본 발명에 따른 BMS 모니터링 장치의 프로세서(200) 및 메모리 디바이스(300)는, BMS(Battery Management System)의 구성요소로서 구현될 수 있다. 또한, 바람직하게는, 본 발명에 따른 전장용 소프트웨어 모니터링 장치는, BMS에 적용될 수 있다.The BMS monitoring device according to the present invention can be applied to BMS. That is, the BMS according to the present invention may include the BMS monitoring device according to the present invention described above. In this configuration, at least some of the components of the BMS monitoring device according to the present invention can be implemented by supplementing or adding functions to the components included in the conventional BMS. For example, the processor 200 and the memory device 300 of the BMS monitoring device according to the present invention may be implemented as components of a Battery Management System (BMS). Also, preferably, the automotive software monitoring device according to the present invention can be applied to a BMS.

또한, 본 발명에 따른 BMS 모니터링 장치는, 배터리 팩에 구비될 수 있다. 즉, 본 발명에 따른 배터리 팩은, 상술한 본 발명에 따른 BMS 모니터링 장치를 포함할 수 있다. 여기서, 배터리 팩은, 하나 이상의 이차 전지, 상기 BMS 모니터링 장치, 전장품(BMS나 릴레이, 퓨즈 등 구비) 및 케이스 등을 포함할 수 있다. 또한, 바람직하게는, 본 발명에 따른 전장용 소프트웨어 모니터링 장치는, 배터리 팩에 구비될 수 있다.Additionally, the BMS monitoring device according to the present invention may be provided in a battery pack. That is, the battery pack according to the present invention may include the BMS monitoring device according to the present invention described above. Here, the battery pack may include one or more secondary batteries, the BMS monitoring device, electrical components (equipped with BMS, relays, fuses, etc.), and a case. Also, preferably, the automotive software monitoring device according to the present invention may be installed in a battery pack.

도 3은, 본 발명의 일 실시예에 따른 전장용 소프트웨어 모니터링 방법을 개략적으로 나타내는 순서도이다. 도 3에서, 각 단계의 수행 주체는, 앞서 설명한 본 발명에 따른 전장용 소프트웨어 모니터링 장치의 각 구성요소라 할 수 있다.Figure 3 is a flowchart schematically showing a method for monitoring automotive software according to an embodiment of the present invention. In Figure 3, the subject performing each step can be said to be each component of the battlefield software monitoring device according to the present invention described above.

도 3에 도시된 바와 같이, 본 발명에 따른 전장용 소프트웨어 모니터링 방법은, 폴트 진단 카운트 카운팅 단계(S100), 플래그 생성 단계(S110) 및 모니터링 단계(S120)를 포함한다.As shown in FIG. 3, the automotive software monitoring method according to the present invention includes a fault diagnosis count counting step (S100), a flag generation step (S110), and a monitoring step (S120).

상기 폴트 진단 카운트 카운팅 단계(S100)에서는, 전장용 소프트웨어의 진단 항목의 진단 결과를 기초로 진단 항목에 대응하는 진단 코드에 설정되는 폴트 진단 카운트를 카운팅 할 수 있다.In the fault diagnosis count counting step (S100), the fault diagnosis count set to the diagnosis code corresponding to the diagnosis item may be counted based on the diagnosis result of the diagnosis item of the automotive software.

이어서, 상기 플래그 생성 단계(S110)에서는, 폴트 진단 카운트를 기초로 진단 코드에 대응하는 액션 목록 중 진단 항목에 대한 액션 목록이 정의된 플래그를 생성할 수 있다.Subsequently, in the flag generation step (S110), a flag defining an action list for a diagnostic item among the action list corresponding to the diagnostic code may be generated based on the fault diagnosis count.

이어서, 상기 모니터링 단계(S120)에서는, 진단 카운팅 모듈 내에 설정되는 진단 코드를 설정하고, 진단 액션 모듈 내에 설정되는 액션 목록을 설정하며, 폴트 진단 카운트 및 플래그를 기초로 진단 카운팅 모듈 및 진단 액션 모듈 중 적어도 하나의 정상 동작 여부를 모니터링 할 수 있다.Next, in the monitoring step (S120), a diagnostic code set in the diagnostic counting module is set, an action list set in the diagnostic action module is set, and based on the fault diagnostic count and flag, one of the diagnostic counting module and the diagnostic action module is set. It is possible to monitor whether at least one is operating normally.

바람직하게는, 본 발명의 일 실시예에 따른 상기 모니터링 단계(S120)에서는, 상기 폴트 진단 카운트의 증감을 기초로 상기 진단 카운팅 모듈의 정상 동작 여부를 모니터링 할 수 있다.Preferably, in the monitoring step (S120) according to an embodiment of the present invention, it is possible to monitor whether the diagnostic counting module is operating normally based on an increase or decrease in the fault diagnosis count.

바람직하게는, 본 발명의 일 실시예에 따른 상기 모니터링 단계(S120)에서는, 상기 플래그가 상기 진단 항목에 대한 액션 목록을 포함하고 있는지 여부를 기초로 상기 진단 액션 모듈의 정상 동작 여부를 모니터링 할 수 있다.Preferably, in the monitoring step (S120) according to an embodiment of the present invention, it is possible to monitor whether the diagnostic action module is operating normally based on whether the flag includes an action list for the diagnostic item. there is.

도 4는, 본 발명의 다른 실시예에 따른 전장용 소프트웨어 모니터링 방법을 개략적으로 나타내는 순서도이다. 도 4에서, 각 단계의 수행 주체는, 앞서 설명한 본 발명에 따른 전장용 소프트웨어 모니터링 장치의 각 구성요소라 할 수 있다.Figure 4 is a flowchart schematically showing a method for monitoring automotive software according to another embodiment of the present invention. In Figure 4, the subject performing each step can be said to be each component of the battlefield software monitoring device according to the present invention described above.

단계 S200에서, 프로세서는, 진단 항목 및 진단 코드를 선정할 수 있다. 예를 들어, 프로세서는, 과전압 진단을 진단 항목으로 선정하고, 과전압 진단에 대하여 진단 코드를 DTC A로 선정할 수 있다.In step S200, the processor may select a diagnostic item and diagnostic code. For example, the processor may select overvoltage diagnosis as a diagnosis item and select DTC A as the diagnosis code for overvoltage diagnosis.

단계 S210에서, 프로세서는, 진단 코드 달성 여부를 판단할 수 있다. 예를 들어, 프로세서는, 센서로부터 수신한 진단 신호를 기초로 과전압 여부를 진단하고, 과전압이 진단되는 경우 진단 코드가 달성된 것으로 판단할 수 있다. 또한, 프로세서는, 센서로부터 수신한 진단 신호를 기초로 과전압 여부를 진단하고, 과전압이 진단되지 않는 경우 진단 코드가 달성되지 않은 것으로 판단할 수 있다. 단계 S210의 값이 "예"이면, 본 방법은 단계 S220으로 진행한다. 그렇지 않으면, 본 방법은 단계 S225로 진행한다.In step S210, the processor may determine whether the diagnostic code has been achieved. For example, the processor may diagnose whether overvoltage is present based on a diagnostic signal received from the sensor, and if overvoltage is diagnosed, determine that the diagnosis code has been achieved. Additionally, the processor may diagnose whether overvoltage is present based on the diagnostic signal received from the sensor, and if overvoltage is not diagnosed, it may be determined that the diagnostic code has not been achieved. If the value of step S210 is “Yes,” the method proceeds to step S220. Otherwise, the method proceeds to step S225.

단계 S220에서, 프로세서는, 진단 코드가 달성되었음을 기초로 프리 패일(Pre-fail)을 설정할 수 있다. 예를 들어, 프로세서는, 과전압이 진단되는 경우 진단 코드가 달성되었음을 기초로 프리 패일(Pre-fail)을 설정할 수 있다. 이어서, 본 방법은 단계 S230으로 진행한다.At step S220, the processor may set pre-fail based on the diagnostic code being achieved. For example, the processor may set a pre-fail based on a diagnostic code being achieved if an overvoltage is diagnosed. Next, the method proceeds to step S230.

단계 S225에서, 프로세서는, 진단 코드가 달성되지 않았음을 기초로 프리 패스(Pre-pass)을 설정할 수 있다. 예를 들어, 프로세서는, 과전압이 진단되지 않은 경우 진단 코드가 달성되지 않았음을 기초로 프리 패스(Pre-pass)를 설정할 수 있다. 이어서, 본 방법은 단계 S235로 진행한다.At step S225, the processor may set a pre-pass based on the diagnostic code not being achieved. For example, the processor may set a pre-pass based on that a diagnostic code has not been achieved if an overvoltage has not been diagnosed. Next, the method proceeds to step S235.

단계 S230에서, 프로세서는, 폴트 진단 카운트 증가 여부를 판단할 수 있다. 예를 들어, 프로세서는, 프리 패일(Pre-fail)을 기초로 폴트 진단 카운트가 증가하도록 카운팅하고, 폴트 진단 카운트 증가 여부를 판단할 수 있다. 예를 들어, 폴트 진단 카운트는, 1 단위로 순차적으로 증가 할 수 있다. 단계 S230의 값이 "예"이면, 본 방법은 단계 S240으로 진행한다. 그렇지 않으면, 본 방법은 단계 S245로 진행한다.In step S230, the processor may determine whether to increase the fault diagnosis count. For example, the processor may count the fault diagnosis count to increase based on pre-fail and determine whether to increase the fault diagnosis count. For example, the fault diagnosis count may increase sequentially in increments of 1. If the value of step S230 is “Yes,” the method proceeds to step S240. Otherwise, the method proceeds to step S245.

단계 S235에서, 프로세서는, 폴트 진단 카운트 감소 여부를 판단할 수 있다. 예를 들어, 프로세서는, 프리 패스(Pre-pass)를 기초로 폴트 진단 카운트가 감소하도록 카운팅하고, 폴트 진단 카운트 감소 여부를 판단할 수 있다. 예를 들어, 폴트 진단 카운트는, 1 단위로 순차적으로 감소 할 수 있다. 단계 S235의 값이 "예"이면, 본 방법은 단계 S240으로 진행한다. 그렇지 않으면, 본 방법은 단계 S245로 진행한다.In step S235, the processor may determine whether to decrease the fault diagnosis count. For example, the processor may count the fault diagnosis count to decrease based on the pre-pass and determine whether the fault diagnosis count decreases. For example, the fault diagnosis count may be sequentially decreased by 1. If the value of step S235 is “Yes,” the method proceeds to step S240. Otherwise, the method proceeds to step S245.

단계 S240에서, 프로세서는, 진단 카운팅 모듈이 정상적으로 동작하는 것으로 판단할 수 있다. 단계 S240 후에, 본 방법은 단계 S250으로 진행한다.In step S240, the processor may determine that the diagnostic counting module is operating normally. After step S240, the method proceeds to step S250.

단계 S245에서, 프로세서는, 진단 카운팅 모듈이 정상적으로 동작하지 않는 것으로 판단할 수 있다. 단계 S245 후에, 본 방법은 종료할 수 있다. 예를 들어, 프로세서는, 진단 카운팅 모듈이 비정상 상태인 것으로 판단되면, 상위 제어 장치로 알람을 전달할 수 있다.In step S245, the processor may determine that the diagnostic counting module is not operating normally. After step S245, the method may end. For example, if the processor determines that the diagnostic counting module is in an abnormal state, it may transmit an alarm to the upper control device.

단계 S250에서, 프로세서는, 폴트 진단 카운트가 풀(full) 카운트에 해당하는지 여부를 판단할 수 있다. 예를 들어, 프로세서는, 폴트 진단 카운트의 카운팅 최대값이 3이고 폴트 진단 카운트가 3에 해당하는 경우, 폴트 진단 카운트가 풀 카운트에 해당하는 것으로 판단할 수 있다. 단계 S250의 값이 "예"이면, 본 방법은 단계 S260으로 진행한다. 그렇지 않으면, 본 방법은 단계 S210으로 진행한다.In step S250, the processor may determine whether the fault diagnosis count corresponds to a full count. For example, if the maximum counting value of the fault diagnosis count is 3 and the fault diagnosis count is 3, the processor may determine that the fault diagnosis count corresponds to the full count. If the value of step S250 is “Yes,” the method proceeds to step S260. Otherwise, the method proceeds to step S210.

단계 S260에서, 프로세서는, 플래그를 생성할 수 있다. 예를 들어, 프로세서는, 폴트 진단 카운트가 풀 카운트에 해당하였음을 기초로 플래그를 생성할 수 있다. 단계 S260 후에, 본 방법은 단계 S270으로 진행한다.In step S260, the processor may generate a flag. For example, the processor may generate a flag based on that the fault diagnosis count corresponds to the full count. After step S260, the method proceeds to step S270.

단계 S270에서, 프로세서는, 플래그에 액션 목록이 포함되었는지 여부를 판단할 수 있다. 예를 들어, 프로세서는, 플래그에 진단 항목에 대응하는 액션 목록이 포함되었는지 여부를 판단할 수 있다. 단계 S270의 값이 "예"이면, 본 방법은 단계 S280으로 진행한다. 그렇지 않으면, 본 방법은 단계 S285로 진행한다.In step S270, the processor may determine whether the flag includes an action list. For example, the processor may determine whether the flag includes an action list corresponding to the diagnostic item. If the value of step S270 is “Yes,” the method proceeds to step S280. Otherwise, the method proceeds to step S285.

단계 S280에서, 프로세서는, 진단 액션 모듈이 정상적으로 동작하는 것으로 판단할 수 있다. 단계 S280 후에, 본 방법은 종료할 수 있다.In step S280, the processor may determine that the diagnostic action module is operating normally. After step S280, the method may end.

단계 S285에서, 프로세서는, 진단 액션 모듈이 정상적으로 동작하지 않는 것으로 판단할 수 있다. 단계 S285 후에, 본 방법은 종료할 수 있다. 예를 들어, 프로세서는, 진단 액션 모듈이 비정상 상태인 것으로 판단되면, 상위 제어 장치로 알람을 전달할 수 있다.In step S285, the processor may determine that the diagnostic action module is not operating normally. After step S285, the method may end. For example, if the processor determines that the diagnostic action module is in an abnormal state, the processor may transmit an alarm to the upper control device.

또한, 상기 제어 로직이 소프트웨어로 구현될 때, 프로세서는 프로그램 모듈의 집합으로 구현될 수 있다. 이때, 프로그램 모듈은 메모리 장치에 저장되고 프로세서에 의해 실행될 수 있다.Additionally, when the control logic is implemented as software, the processor may be implemented as a set of program modules. At this time, the program module may be stored in the memory device and executed by the processor.

또한, 프로세서의 다양한 제어 로직들은 적어도 하나 이상이 조합되고, 조합된 제어 로직들은 컴퓨터가 읽을 수 있는 코드 체계로 작성되어 컴퓨터가 읽을 수 있는 접근이 가능한 것이라면 그 종류에 특별한 제한이 없다. 일 예시로서, 상기 기록 매체는, ROM, RAM, 레지스터, CD-ROM, 자기 테이프, 하드 디스크, 플로피디스크 및 광 데이터 기록장치를 포함하는 군에서 선택된 적어도 하나 이상을 포함한다. 또한, 상기 코드 체계는 네트워크로 연결된 컴퓨터에 분산되어 저장되고 실행될 수 있다. 또한, 상기 조합된 제어 로직들을 구현하기 위한 기능적인 프로그램, 코드 및 세그먼트들은 본 발명이 속하는 기술분야의 프로그래머들에 의해 용이하게 추론될 수 있다.In addition, at least one of the various control logics of the processor is combined, and the types of the combined control logic are not particularly limited as long as they are written in a computer-readable code system and can be accessed in a computer-readable manner. As an example, the recording medium includes at least one selected from the group including ROM, RAM, register, CD-ROM, magnetic tape, hard disk, floppy disk, and optical data recording device. Additionally, the code system can be distributed, stored and executed on computers connected to a network. Additionally, functional programs, codes, and segments for implementing the combined control logics can be easily deduced by programmers in the technical field to which the present invention pertains.

이상과 같이, 본 발명은 비록 한정된 실시예와 도면에 의해 설명되었으나, 본 발명은 이것에 의해 한정되지 않으며 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 의해 본 발명의 기술사상과 아래에 기재될 특허청구범위의 균등범위 내에서 다양한 수정 및 변형이 가능함은 물론이다.As described above, although the present invention has been described with limited examples and drawings, the present invention is not limited thereto, and the technical idea of the present invention and the following will be understood by those skilled in the art to which the present invention pertains. Of course, various modifications and variations are possible within the scope of equivalence of the patent claims to be described.

10: 셀 어셈블리
50: 차량 부하
100: 센서
200: 프로세서
210: 진단 카운팅 모듈
220: 진단 액션 모듈
230: 진단 모니터링 모듈
300: 메모리 디바이스
10: Cell assembly
50: Vehicle load
100: sensor
200: processor
210: Diagnostic counting module
220: Diagnostic action module
230: Diagnostic monitoring module
300: memory device

Claims (11)

차량에 구비되는 BMS를 모니터링 하는 장치에 있어서,
상기 BMS의 전장용 소프트웨어의 진단 항목의 진단 결과를 기초로 상기 진단 항목에 대응하는 진단 코드에 설정되는 폴트 진단 카운트를 증감시키도록 구성된 진단 카운팅 모듈;
상기 BMS에 대한 진단 신호를 생성하고, 상기 진단 카운팅 모듈과 전기적으로 연결되어 상기 진단 카운팅 모듈로 상기 진단 신호를 전달하도록 구성된 센서;
상기 폴트 진단 카운트를 기초로 상기 진단 코드에 대응하는 액션 목록 중 상기 진단 항목에 대한 액션 목록이 정의된 플래그를 생성하도록 구성된 진단 액션 모듈; 및
상기 진단 항목을 기초로 상기 진단 카운팅 모듈 내에 설정되는 상기 진단 코드를 설정하고, 상기 진단 코드를 기초로 상기 진단 액션 모듈 내에 설정되는 상기 액션 목록을 설정하며, 상기 폴트 진단 카운트 및 상기 플래그를 기초로 상기 진단 카운팅 모듈 및 상기 진단 액션 모듈의 정상 동작 여부를 모니터링 하도록 구성된 진단 모니터링 모듈을 포함하고,
상기 진단 모니터링 모듈은,
상기 설정된 진단 코드에 대한 상기 폴트 진단 카운트의 정상 증감 여부를 기초로 상기 진단 카운팅 모듈의 정상 동작 여부를 모니터링하고,
상기 진단 카운팅 모듈이 정상 상태로 판단된 경우, 상기 설정된 액션 목록이 상기 플래그에 포함되는지 여부를 기초로 상기 진단 액션 모듈의 정상 동작 여부를 모니터링하는 것을 특징으로 하는 BMS 모니터링 장치.
In a device for monitoring a BMS provided in a vehicle,
a diagnostic counting module configured to increase or decrease a fault diagnosis count set to a diagnostic code corresponding to the diagnostic item based on the diagnosis result of the diagnostic item of the electronic software of the BMS;
a sensor configured to generate a diagnostic signal for the BMS and to be electrically connected to the diagnostic counting module to transmit the diagnostic signal to the diagnostic counting module;
a diagnostic action module configured to generate a flag defining an action list for the diagnostic item among the action list corresponding to the diagnostic code based on the fault diagnosis count; and
Set the diagnostic code set in the diagnostic counting module based on the diagnostic item, set the action list set in the diagnostic action module based on the diagnostic code, and set the action list based on the fault diagnostic count and the flag. A diagnostic monitoring module configured to monitor whether the diagnostic counting module and the diagnostic action module are operating normally,
The diagnostic monitoring module is,
Monitoring whether the diagnostic counting module is operating normally based on whether the fault diagnosis count for the set diagnostic code is normally increased or decreased,
When the diagnostic counting module is determined to be in a normal state, the BMS monitoring device monitors whether the diagnostic action module is operating normally based on whether the set action list is included in the flag.
제1항에 있어서,
상기 진단 모니터링 모듈은, 상기 진단 카운팅 모듈의 상기 폴트 진단 카운트를 카운팅 하는 진단 주기 및 상기 폴트 진단 카운트의 카운팅 최대값 중 적어도 하나를 설정하도록 구성된 것을 특징으로 하는 BMS 모니터링 장치.
According to paragraph 1,
The diagnostic monitoring module is configured to set at least one of a diagnostic period for counting the fault diagnostic count of the diagnostic counting module and a maximum counting value of the fault diagnostic count.
제2항에 있어서,
상기 진단 액션 모듈은, 상기 진단 카운팅 모듈에서 카운팅 된 상기 폴트 진단 카운트가 상기 카운팅 최대값에 해당하는 경우, 상기 플래그를 생성하도록 구성된 것을 특징으로 하는 BMS 모니터링 장치.
According to paragraph 2,
The diagnostic action module is configured to generate the flag when the fault diagnosis count counted by the diagnostic counting module corresponds to the counting maximum value.
삭제delete 삭제delete 제1항 내지 제3항 중 어느 한 항에 따른 BMS 모니터링 장치를 포함하는 BMS.
A BMS comprising the BMS monitoring device according to any one of claims 1 to 3.
제1항 내지 제3항 중 어느 한 항에 따른 BMS 모니터링 장치를 포함하는 배터리 팩.
A battery pack including the BMS monitoring device according to any one of claims 1 to 3.
차량에 구비되어 상기 차량의 진단 항목의 진단 결과를 기초로 상기 진단 항목에 대응하는 진단 코드에 설정되는 폴트 진단 카운트를 증감시키는 진단 카운팅 모듈 및 상기 폴트 진단 카운트를 기초로 상기 진단 코드에 대응하는 액션 목록 중 상기 진단 항목에 대한 액션 목록이 정의된 플래그를 생성하는 진단 액션 모듈을 구비하는 전장용 소프트웨어를 모니터링 하는 장치에 있어서,
상기 차량에 대한 진단 신호를 생성하고, 상기 진단 카운팅 모듈과 전기적으로 연결되어 상기 진단 카운팅 모듈로 상기 진단 신호를 전달하도록 구성된 센서; 및
상기 진단 카운팅 모듈 내에 설정되는 상기 진단 코드를 설정하고, 상기 진단 액션 모듈 내에 설정되는 상기 액션 목록을 설정하며, 상기 폴트 진단 카운트 및 상기 플래그를 기초로 상기 진단 카운팅 모듈 및 상기 진단 액션 모듈의 정상 동작 여부를 모니터링 하도록 구성된 프로세서를 포함하고,
상기 프로세서는,
상기 설정된 진단 코드에 대한 상기 폴트 진단 카운트의 정상 증감 여부를 기초로 상기 진단 카운팅 모듈의 정상 동작 여부를 모니터링하고,
상기 진단 카운팅 모듈이 정상 상태로 판단된 경우, 상기 설정된 액션 목록이 상기 플래그에 포함되는지 여부를 기초로 상기 진단 액션 모듈의 정상 동작 여부를 모니터링하는 것을 특징으로 하는 전장용 소프트웨어 모니터링 장치.
A diagnostic counting module provided in the vehicle to increase or decrease a fault diagnosis count set to a diagnostic code corresponding to the diagnostic item based on the diagnosis result of the diagnostic item of the vehicle, and an action corresponding to the diagnostic code based on the fault diagnosis count. In a device for monitoring automotive software having a diagnostic action module that generates a flag with a defined action list for the diagnostic item in the list,
a sensor configured to generate a diagnostic signal for the vehicle, and to be electrically connected to the diagnostic counting module to transmit the diagnostic signal to the diagnostic counting module; and
Set the diagnostic code set in the diagnostic counting module, set the action list set in the diagnostic action module, and determine normal operation of the diagnostic counting module and the diagnostic action module based on the fault diagnostic count and the flag. A processor configured to monitor whether
The processor,
Monitoring whether the diagnostic counting module is operating normally based on whether the fault diagnosis count for the set diagnostic code is normally increased or decreased,
When the diagnostic counting module is determined to be in a normal state, the automotive software monitoring device monitors whether the diagnostic action module is operating normally based on whether the set action list is included in the flag.
삭제delete 삭제delete 차량에 구비되는 전장용 소프트웨어를 모니터링 하는 방법에 있어서,
상기 전장용 소프트웨어의 진단 항목의 진단 결과를 기초로 상기 진단 항목에 대응하는 진단 코드에 설정되는 폴트 진단 카운트를 증감시키는 단계;
상기 폴트 진단 카운트를 기초로 상기 진단 코드에 대응하는 액션 목록 중 상기 진단 항목에 대한 액션 목록이 정의된 플래그를 생성하는 단계;
상기 진단 항목을 기초로 상기 진단 코드를 설정하고, 상기 진단 코드를 기초로 상기 액션 목록을 설정하는 단계;
상기 설정된 진단 코드에 대한 상기 폴트 진단 카운트의 정상 증감 여부를 기초로 상기 전장용 소프트웨어의 폴트 진단에 대한 정상 동작 여부를 모니터링하는 단계; 및
상기 전장용 소프트웨어의 폴트 진단이 정상 상태로 판단된 경우, 상기 설정된 액션 목록이 상기 플래그에 포함되는지 여부를 기초로 상기 전장용 소프트웨어의 플래그 설정에 대한 정상 동작 여부를 모니터링 하는 단계를 포함하는 것을 특징으로 하는 전장용 소프트웨어 모니터링 방법.
In a method of monitoring electronic software provided in a vehicle,
increasing or decreasing a fault diagnosis count set to a diagnostic code corresponding to the diagnostic item based on a diagnosis result of the diagnostic item of the automotive software;
generating a flag defining an action list for the diagnosis item among the action list corresponding to the diagnosis code based on the fault diagnosis count;
setting the diagnosis code based on the diagnosis item and setting the action list based on the diagnosis code;
Monitoring whether the electronic software is operating normally for fault diagnosis based on whether the fault diagnosis count for the set diagnosis code normally increases or decreases; and
When the fault diagnosis of the automotive software is determined to be in a normal state, monitoring whether the automotive software is operating normally with respect to the flag setting based on whether the set action list is included in the flag. A battlefield software monitoring method.
KR1020180108558A 2018-09-11 2018-09-11 Apparatus for monitoring automotive software, monitoring method using the same and BMS monitoring apparatus comprising the same KR102651996B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180108558A KR102651996B1 (en) 2018-09-11 2018-09-11 Apparatus for monitoring automotive software, monitoring method using the same and BMS monitoring apparatus comprising the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180108558A KR102651996B1 (en) 2018-09-11 2018-09-11 Apparatus for monitoring automotive software, monitoring method using the same and BMS monitoring apparatus comprising the same

Publications (2)

Publication Number Publication Date
KR20200029939A KR20200029939A (en) 2020-03-19
KR102651996B1 true KR102651996B1 (en) 2024-03-26

Family

ID=69957255

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180108558A KR102651996B1 (en) 2018-09-11 2018-09-11 Apparatus for monitoring automotive software, monitoring method using the same and BMS monitoring apparatus comprising the same

Country Status (1)

Country Link
KR (1) KR102651996B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140268437A1 (en) * 2013-03-15 2014-09-18 Hubbell Incorporated Gfci self test software functional program for autonomous monitoring and fail safe power denial operations

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9970991B2 (en) * 2016-05-26 2018-05-15 Lg Chem, Ltd. Diagnostic system for a battery system
US10148100B2 (en) * 2016-06-27 2018-12-04 Lg Chem, Ltd. Diagnostic system for a battery system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140268437A1 (en) * 2013-03-15 2014-09-18 Hubbell Incorporated Gfci self test software functional program for autonomous monitoring and fail safe power denial operations

Also Published As

Publication number Publication date
KR20200029939A (en) 2020-03-19

Similar Documents

Publication Publication Date Title
KR102059076B1 (en) Apparatus of Analyzing Malfunction of Switch component and Method Thereof
EP2720056B1 (en) Isolation resistance measuring apparatus having fault self-diagnosing function and self-diagnosing method using the same
CN110537287B (en) Battery pack
CN110537288B (en) Battery pack
CN110582887B (en) Battery pack
KR20210050443A (en) Apparatus and method for diagnosing battery
KR20220036701A (en) Battery system diagnosis apparatus
KR102055850B1 (en) Apparatus and method for diagnosing fault of current sensor
JP7222488B2 (en) Switch diagnostic device and method
CN110679031B (en) Battery pack
KR102651996B1 (en) Apparatus for monitoring automotive software, monitoring method using the same and BMS monitoring apparatus comprising the same
CN110637390B (en) Battery pack
US20240027531A1 (en) Battery diagnosing system and method
US20220299558A1 (en) Apparatus and Method for Diagnosing Insulation Resistance Measurement Circuit
KR102643641B1 (en) Apparatus and method for diagnosing current sensor
KR20220159818A (en) Apparatus and method for monitoring battery
KR20210058717A (en) Diagnosing Apparatus for Malfunction of Switch means included in Multi Battery Pack and Method thereof
CN115047344A (en) Power battery pack heat estimation method and device
KR20210080070A (en) Apparatus and method for diagnosing parallel battery relay
CN113874741B (en) Apparatus and method for diagnosing failure, battery management system and electric drive mechanism
US20210086659A1 (en) Facilitating battery maintenance
KR20200058999A (en) Apparatus and method for diagnosing software compatibility of BMS
KR20240038886A (en) Battery diagnosis apparatus, battery diagnosis method, battery pack, and vehicle including the same
KR20240043846A (en) Battery diagnosis apparatus, battery diagnosis method, battery pack, and vehicle including the same
KR20240038887A (en) Battery diagnosis apparatus, battery diagnosis method, battery pack, and vehicle including the same

Legal Events

Date Code Title Description
N231 Notification of change of applicant
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant