KR20180078697A - Method for software testing of vehicle - Google Patents

Method for software testing of vehicle Download PDF

Info

Publication number
KR20180078697A
KR20180078697A KR1020160183714A KR20160183714A KR20180078697A KR 20180078697 A KR20180078697 A KR 20180078697A KR 1020160183714 A KR1020160183714 A KR 1020160183714A KR 20160183714 A KR20160183714 A KR 20160183714A KR 20180078697 A KR20180078697 A KR 20180078697A
Authority
KR
South Korea
Prior art keywords
software component
simulation
software
vehicle
present
Prior art date
Application number
KR1020160183714A
Other languages
Korean (ko)
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 KR1020160183714A priority Critical patent/KR20180078697A/en
Publication of KR20180078697A publication Critical patent/KR20180078697A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a method for testing software for a vehicle, which includes the following steps: executing a simulation by combining a source code of a software component with a simulation layer implemented in a computer device based on a software component description; executing a vehicle driving simulation based on the executed simulation; and determining and displaying whether or not the software component is erroneous based on the driving simulation execution result of the vehicle. Accordingly, the present invention can reproduce various test scenarios.

Description

차량용 소프트웨어 테스트 방법{METHOD FOR SOFTWARE TESTING OF VEHICLE}{METHOD FOR SOFTWARE TESTING OF VEHICLE}

본 발명은 차량용 소프트웨어 테스트 방법에 관한 것으로, 보다 자세하게는 차량 및 주변 환경을 가상화 하여 차량용 소프트웨어를 테스트하기 위한 차량용 소프트웨어 테스트 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention [0002] The present invention relates to a vehicle software testing method, and more particularly, to a vehicle software testing method for testing vehicle software by virtualizing a vehicle and an environment.

자동차 산업에서 점점 더 많은 자동차 전자 시스템(automotive electronic system)과 소프트웨어가 편리 성과 안전성과 같은 혁신적인 기능을 위해 사용되고 있다. In the automotive industry, more and more automotive electronic systems and software are being used for innovative functions such as convenience and safety.

1970년대 후반의 자동차는 점화 시기 제어 및 간단한 트립 컴퓨터(simple trip computer)와 같은 작은 소프트웨어를 사용했고, 그 후, 자동차 소프트웨어의 사용이 점차 증가했다. 결과적으로, 2009 년 고급 차량에는 ADAS(Advanced Driver Assistance Systems), ESC(Electronic Stability Control) 등이 포함되어 있으며 70 개 이상의 ECU(Electronic Control Unit)와 약 1 억 라인의 코드가 포함되어 있다. 프리미엄 카뿐만 아니라 이코노미 카도 많은 코드를 포함한다. Vehicles in the late 1970s used small software such as ignition timing control and a simple trip computer, and then the use of automotive software was increasing. As a result, 2009 high-end vehicles include Advanced Driver Assistance Systems (ADAS), Electronic Stability Control (ESC), and more than 70 ECUs (Electronic Control Units) and about 100 million lines of code. In addition to premium cars, the economy car also contains a lot of code.

기본적으로 승객 및 보행자의 안전과 직접적인 관련이 있는 조향, 제동, 엔진 제어와 같은 소프트웨어에 많은 기능이 의존하고 있고, 또한, 점점 더 많은 최신 기술이 이코노미 카에도 채택되고 있다. 간단히 말해서 오늘날 많은 자동차가 더 많은 소프트웨어를 사용하고 있는 것이다.Many functions depend on software such as steering, braking, and engine control, which are basically related to the safety of passengers and pedestrians, and more and more modern technologies are also being used in economy cars. In a nutshell, many cars today are using more software.

더불어, 자동차 소프트웨어를 테스트 할 필요성이 커지면서 다양한 종류의 자동차 소프트웨어에 대한 테스팅 기술 또한 꾸준히 연구되고 있다. In addition, with the growing need to test automotive software, testing techniques for various types of automotive software are also being studied.

더욱이, 차량의 전자제어유닛(ECU)에 탑재되는 소프트웨어는 차량의 주행 및 안전 관련 기능을 수행하고 있기 때문에, 차량용 소프트웨어의 오류 발생은 치명적인 사고를 유발할 수 있다. 차량용 소프트웨어 개발자들은 오류를 줄이기 위하여 실물 하드웨어 및 차량을 이용하여 소프트웨어를 테스트 한다. Further, since the software installed in the electronic control unit (ECU) of the vehicle car performs the functions related to the running and safety of the vehicle, the occurrence of errors in the vehicle software can cause a fatal accident. Automotive software developers use real hardware and vehicles to test software to reduce errors.

종래에는 자동차 소프트웨어를 테스트하기 위해 실물 하드웨어 및 차량을 이용하여 소프트웨어를 테스트 한다. 그러나, 이러한 방법은 소프트웨어를 테스트하는데 사용할 하드웨어나 차량이 충분히 완성되고 난 이후에만 이용 가능하다. 따라서, 소프트웨어의 오류를 조기에 발견할 수 없다는 문제점이 있다. Traditionally, software is tested using real hardware and vehicles to test automotive software. However, this method is only available after the hardware or vehicle used to test the software has been fully completed. Therefore, there is a problem that an error of the software can not be detected early.

또한, 이러한 방법을 통해서는 소프트웨어 구성 요소가 차량용 실행 파일에 맞게 빌드 되어 테스트 할 준비가 되어 있더라도 실제 테스트는 쉽지 않다. 예를 들어, 제동 제어 소프트웨어의 경우 도로 및 교통 상황에 관한 분기점이 있으므로 시스템의 여러 가지 상황을 테스트해야 하는데, 도로의 모양과 마찰은 거의 고정된 환경이고 테스터의 요구 사항에 따라 쉽게 변경할 수 없기 때문에 실제 환경에서 테스트 시나리오를 재현하는 것은 어려운 문제점이 있다.Also, through this method, the actual test is not easy, even if the software components are built for automotive executables and ready for testing. For example, in the case of braking control software, there are bifurcation points for roads and traffic conditions, so you have to test various aspects of the system, because the shape and friction of the road is almost a fixed environment and can not easily be changed It is difficult to reproduce a test scenario in a real environment.

따라서, 본 발명은 상기한 바와 같은 문제점을 해결하기 위한 것으로, 컴퓨터 장치를 통해 차량용 소프트웨어를 테스트 하도록 함으로써, 다양한 테스트 시나리오를 재현할 수 있도록 하는 차량용 소프트웨어 테스트 방법을 제공함에 있다.SUMMARY OF THE INVENTION Accordingly, the present invention has been made keeping in mind the above problems occurring in the prior art, and it is an object of the present invention to provide a vehicle software test method capable of reproducing various test scenarios by testing vehicle software through a computer device.

또한, 본 발명은 하드웨어나 차량이 완성되기 이전에 차량용 소프트웨어를 테스트 하도록 함으로써, 소프트웨어의 오류를 조기에 발견할 수 있도록 하는 차량용 소프트웨어 테스트 방법을 제공함에 있다.The present invention also provides a method of testing software for a vehicle, which makes it possible to detect software errors early, by testing the software for vehicles before the hardware or vehicle is completed.

본 발명에 따른 차량용 소프트웨어 테스트 방법은 소프트웨어 컴포넌트 디스크립션을 기반으로 컴퓨터 장치에 구현된 시뮬레이션 레이어에 소프트웨어 컴포넌트의 소스코드를 결합하여 시뮬레이션을 실행하는 단계; 상기 실행된 시뮬레이션을 기반으로 차량 주행 시뮬레이션을 실행하는 단계; 및 상기 실행된 차량 주행 시뮬레이션 결과를 기반으로 상기 소프트웨어 컴포넌트의 오류 여부를 판단 및 표시하는 단계를 포함한다.A method for testing software for a vehicle according to the present invention comprises the steps of: executing a simulation by combining a source code of a software component with a simulation layer implemented in a computer device based on a software component description; Executing a vehicle driving simulation based on the executed simulation; And determining and displaying whether or not the software component is erroneous based on the execution result of the running simulation of the vehicle.

본 발명에 의하면, 컴퓨터 장치를 통해 차량용 소프트웨어를 테스트 하도록 함으로써, 다양한 테스트 시나리오를 재현할 수 있도록 한다.According to the present invention, various test scenarios can be reproduced by allowing the vehicle software to be tested through a computer device.

또한, 본 발명에 의하면, 하드웨어나 차량이 완성되기 이전에 차량용 소프트웨어를 테스트 하도록 함으로써, 소프트웨어의 오류를 조기에 발견할 수 있도록 한다.Further, according to the present invention, it is possible to detect software errors early by allowing the vehicle software to be tested before the hardware or vehicle is completed.

도 1은 본 발명의 실시 예에 따른 시뮬레이션 레이어의 구조도,
도 2는 본 발명의 실시 예에 따른 차량용 소프트웨어 테스트 방법을 나타내는 순서도,
도 3는 본 발명의 일 실시 예에 따른 긴급 제동 시스템의 소프트웨어 컴포넌트 다이어그램,
도 4은 본 발명의 일 실시 예에 따른 긴급 제동 시스템의 시뮬레이션 영상을 나타내는 도면이다.
1 is a structural diagram of a simulation layer according to an embodiment of the present invention;
2 is a flowchart showing a method for testing software for a vehicle according to an embodiment of the present invention;
3 is a software component diagram of an emergency braking system according to an embodiment of the present invention,
4 is a view showing a simulation image of an emergency braking system according to an embodiment of the present invention.

본 발명에서 사용되는 기술적 용어는 단지 특정한 실시 예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아님을 유의해야 한다. 또한, 본 발명에서 사용되는 기술적 용어는 본 발명에서 특별히 다른 의미로 정의되지 않는 한, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 의미로 해석되어야 하며, 과도하게 포괄적인 의미로 해석되거나, 과도하게 축소된 의미로 해석되지 않아야 한다. 또한, 본 발명에서 사용되는 기술적인 용어가 본 발명의 사상을 정확하게 표현하지 못하는 잘못된 기술적 용어일 때에는, 당업자가 올바르게 이해할 수 있는 기술적 용어로 대체되어 이해되어야 할 것이다. 또한, 본 발명에서 사용되는 일반적인 용어는 사전에 정의되어 있는 바에 따라, 또는 전후 문맥상에 따라 해석되어야 하며, 과도하게 축소된 의미로 해석되지 않아야 한다.It is noted that the technical terms used in the present invention are used only to describe specific embodiments and are not intended to limit the present invention. In addition, the technical terms used in the present invention should be construed in a sense generally understood by a person having ordinary skill in the art to which the present invention belongs, unless otherwise defined in the present invention, Should not be construed to mean, or be interpreted in an excessively reduced sense. In addition, when a technical term used in the present invention is an erroneous technical term that does not accurately express the concept of the present invention, it should be understood that technical terms can be understood by those skilled in the art. In addition, the general terms used in the present invention should be interpreted according to a predefined or prior context, and should not be construed as being excessively reduced.

또한, 본 발명에서 사용되는 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한 복수의 표현을 포함한다. 본 발명에서, "구성된다" 또는 "포함한다" 등의 용어는 발명에 기재된 여러 구성 요소들, 또는 여러 단계를 반드시 모두 포함하는 것으로 해석되지 않아야 하며, 그 중 일부 구성 요소들 또는 일부 단계들은 포함되지 않을 수도 있고, 또는 추가적인 구성 요소 또는 단계들을 더 포함할 수 있는 것으로 해석되어야 한다.Furthermore, the singular expressions used in the present invention include plural expressions unless the context clearly dictates otherwise. In the present invention, terms such as "comprising" or "comprising" and the like should not be construed as encompassing various elements or various steps of the invention, Or may further include additional components or steps.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시 예를 상세히 설명하되, 도면 부호에 관계없이 동일하거나 유사한 구성 요소는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings, wherein like reference numerals refer to like or similar elements throughout the several views, and redundant description thereof will be omitted.

또한, 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 첨부된 도면은 본 발명의 사상을 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 발명의 사상이 제한되는 것으로 해석되어서는 아니 됨을 유의해야 한다.In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail. It is to be noted that the accompanying drawings are only for the purpose of facilitating understanding of the present invention, and should not be construed as limiting the scope of the present invention with reference to the accompanying drawings.

본 발명은 하드웨어나 차량이 완성되기 이전에 소프트웨어 컴포넌트의 소스코드를 기반으로 컴퓨터 장치를 이용하여 차량용 소프트웨어를 가상으로 실행하고, 그 실행을 통해 차량용 소프트웨어의 오류 여부를 테스트 하도록 하는 것이다.The present invention is to virtually execute vehicle software using a computer device based on the source code of the software component before the hardware or vehicle is completed, and to test whether the vehicle software is erroneous by executing the software.

이를 위해서는, 컴퓨터 장치에 시뮬레이션 레이어를 구현할 필요가 있다. 이하에서 도 1을 참조하여, 시뮬레이션 레이어에 대해 구체적으로 설명하도록 한다. To do this, it is necessary to implement a simulation layer on a computer device. Hereinafter, the simulation layer will be described in detail with reference to FIG.

도 1은 본 발명의 실시 예에 따른 시뮬레이션 레이어의 구조도이다.1 is a structural diagram of a simulation layer according to an embodiment of the present invention.

AUTOSAR 소프트웨어는 실제 응용 소프트웨어가 위치한 소프트웨어 컴포넌트와, 소프트웨어 컴포넌트가 작동하기 위한 통신 및 스케줄링 등을 담당하는 하위 계층(VFB/RTE)로 구분되는데, 본 발명에서는 소프트웨어 컴포넌트(103)와, AUTOSAR 소프트웨어의 설계 과정에서 발생하는 소프트웨어 컴포넌트 디스크립션(Software Component Description)(101)을 바탕으로 하여 컴퓨터 장치 상에 구현된 시뮬레이션 레이어(Simulated VFB)(105)로 구분된다.The AUTOSAR software is divided into a software component in which actual application software is located and a lower layer (VFB / RTE) that handles communication and scheduling for operating the software component. In the present invention, the software component 103 and the AUTOSAR software design And a simulation layer (Simulated VFB) 105 implemented on a computer device based on a software component description 101 generated in the process of FIG.

여기서, 소프트웨어 컴포넌트 디스크립션은 예를 들어, 각 소프트웨어 컴포넌트에 무슨 작업(Task)과 무슨 데이터 요소(변수)가 존재하는지 여부, 포트가 다른 컴포넌트가 아닌 하드웨어의 입출력에 직접 연결된다면 어느 입출력에 연결되는지 여부, 이벤트가 어떻게 발동되는지 여부, 타이밍 이벤트라면 얼마간의 간격으로 발생하는지 여부, 소프트웨어 컴포넌트의 포트가 어떻게 연결되어 각 소프트웨어 컴포넌트들과 어떻게 통신하는지 여부 등의 설정 정보를 포함할 수 있는 문서이다.Here, the software component description may include, for example, which task and what data element (variable) is present in each software component, whether the port is connected to input / output of the hardware, , How the event is to be triggered, whether it occurs at intervals of a timing event, and how the port of the software component communicates with each software component.

한편, 시뮬레이션 레이어에는 소프트웨어 컴포넌트의 연결 및 통신을 위한 포트 및 인터페이스(Interface and Port Connection), 소프트웨어 컴포넌트 간 상호작용 또는 시간 경과에 의한 이벤트 발생 및 핸들링(Event Handling), 소프트웨어 컴포넌트의 작동을 위한 타이밍 관리(Timing Management), 소프트웨어의 실행의 시작점(메인 함수) 및 작동 루프(Main Function & Loop) 등의 기능을 포함할 수 있다.Meanwhile, the simulation layer includes interfaces and port connections for connection and communication of software components, event generation and handling by interaction between software components or over time, timing management for operation of software components, (Timing Management), a starting point of execution of the software (main function), and an operation loop (Main Function & Loop).

차량용 소프트웨어를 테스트 할 시, 테스트 하고자 하는 차량용 소프트웨어의 소스코드는 별도의 수정 없이 컴퓨터 장치에 구현된 시뮬레이션 계층과 그대로 결합되어 실행될 수 있다.When testing automotive software, the source code of the vehicle software to be tested can be executed as it is combined with the simulation layer implemented in the computer device without any modification.

도 2는 본 발명의 실시 예에 따른 차량용 소프트웨어 테스트 방법을 나타내는 순서도이다.2 is a flowchart showing a software test method for a vehicle according to an embodiment of the present invention.

먼저, 소프트웨어 컴포넌트 디스크립션을 기반으로 구현된 시뮬레이션 레이어에 소프트웨어 컴포넌트의 소스코드를 결합한다(201 단계).First, the source code of the software component is combined with the simulation layer implemented based on the software component description (step 201).

이러한 결합에 의해 실행 파일이 생성됨에 따라 시뮬레이션이 실행되면(203 단계), 시뮬레이션 된 소프트웨어 컴포넌트를 차량용 시뮬레이터와 연동한다(205 단계).When the simulation is executed as the execution file is generated by the combination (step 203), the simulated software component is linked with the vehicle simulator (step 205).

차량용 시뮬레이터와 연동한 이후, 차량 주행 시뮬레이션을 실행한다(207 단계).After interlocking with the vehicle simulator, the vehicle running simulation is executed (Step 207).

구체적으로, 상기 203 단계에서 실행된 시뮬레이션을 차량 주행의 시뮬레이션 형태로 변환하고, 그 변환된 결과를 가상으로 시각화하여 컴퓨터 장치에 디스플레이 하는 것이다.Specifically, the simulation executed in step 203 is converted into a simulated form of driving the vehicle, and the converted result is virtually visualized and displayed on the computer device.

여기서, 차량 주행 시뮬레이션은 테스트 목적에 따라 복수 개의 테스트 시나리오 중 어느 하나를 선택하여 실행될 수 있다.Here, the vehicle running simulation can be executed by selecting any one of a plurality of test scenarios according to the test purpose.

이후, 상기 207 단계에서 실행된 차량 주행 시뮬레이션에 대한 결과를 기반으로 소프트웨어 컴포넌트의 오류 여부를 판단하고, 이를 표시한다(209 단계). Thereafter, it is determined whether the software component is defective based on the result of the simulation of running the vehicle, which is performed in step 207, and the error is displayed (step 209).

이하에서는 일 실시 예로서, 도 3 내지 4를 기반으로 긴급 제동 시스템에 대한 시뮬레이션을 통해 차량용 소프트웨어의 오류 여부를 테스트 하는 경우에 대해 살펴보도록 한다. Hereinafter, as an embodiment, a description will be made of a case where an error of vehicle software is tested through simulation for an emergency braking system based on FIGS.

도 3는 본 발명의 일 실시 예에 따른 긴급 제동 시스템의 소프트웨어 컴포넌트 다이어그램이다.3 is a software component diagram of an emergency braking system according to an embodiment of the present invention.

도 3을 참조하면, 긴급 제동 시스템(300)의 소프트웨어 컴포넌트는 센서 소프트웨어 컴포넌트(301), 클러스터 소프트웨어 컴포넌트(303), 브레이크 소프트웨어 컴포넌트(305) 및 실외 조명 소프트웨어 컴포넌트(307)를 포함하여 구성된다.3, a software component of the emergency braking system 300 comprises a sensor software component 301, a cluster software component 303, a break software component 305, and an outdoor lighting software component 307.

이러한 각 소프트웨어 컴포넌트의 설정 정보는 소프트웨어 컴포넌트 디스크립션에 포함되는데, 이 소프트웨어 컴포넌트 디스크립션을 기반으로 시뮬레이션 레이어를 구현하여 각 소프트웨어 컴포넌트를 설정한다. The configuration information of each software component is included in the software component description, and a simulation layer is implemented based on the software component description to configure each software component.

도 3은 긴급 제동 시스템에 대해 설명하기 위한 것으로, 그 구성요소를 센서 소프트웨어 컴포넌트(301), 클러스터 소프트웨어 컴포넌트(303), 브레이크 소프트웨어 컴포넌트(305) 및 실외 조명 소프트웨어 컴포넌트(307)로 한정하여 설명하였으나, 이는 일 실시 예일 뿐, 그 조합을 변경하거나 그 외 가속 소프트웨어 컴포넌트, 핸들 소프트웨어 컴포넌트 등의 액츄에이터 소프트웨어 컴포넌트 및 디스플레이 소프트웨어 컴포넌트 등 다양한 범위의 소프트웨어 컴포넌트를 포함하여 구성될 수도 있다.3 illustrates the emergency braking system in which the components are limited to the sensor software component 301, the cluster software component 303, the break software component 305, and the outdoor lighting software component 307 , Which is merely an embodiment, and may be configured to include a wide range of software components, such as an actuator software component, such as an acceleration software component, a handle software component, and a display software component,

도 4은 본 발명의 일 실시 예에 따른 긴급 제동 시스템의 시뮬레이션 영상을 나타내는 도면으로, 도로에서 주행하는 차량의 긴급 제동 시스템을 테스트한 것이다.FIG. 4 is a view showing a simulation image of an emergency braking system according to an embodiment of the present invention, in which an emergency braking system of a vehicle running on the road is tested.

제1 영상(401)은 차량이 시속 80km/h로 도로를 정상 주행하고 있는 상황에 대한 시뮬레이션 영상이고, 제2 영상(403)은 주행 중인 차량이나 장애물 등을 발견했을 경우에 브레이크를 활성화함에 따라 충돌을 피하는 상황에 대한 시뮬레이션 영상이다.The first image 401 is a simulation image of a situation in which the vehicle is traveling on a road at a speed of 80 km / h, and the second image 403 is a simulation image when a vehicle or an obstacle is detected This is a simulation image of a situation in which collision avoidance is avoided.

제1 영상(401) 및 제2 영상(403)은 차량 주행 시뮬레이션이 실행됨에 따라 컴퓨터 장치 상에 표현되는 영상으로, 주행 상태에 따른 조명, 속도 및 브레이크 등의 상태를 확인할 수 있다. The first image 401 and the second image 403 are images displayed on the computer device as the vehicle running simulation is executed, and can confirm the state of lighting, speed, and break according to the running state.

한편, 도로 상황에 따라 마찰을 변화시키면서 극한 상황에서 대한 시뮬레이션이 가능할 뿐만 아니라, 그 시뮬레이션 결과를 기반으로 긴급 제동 시스템에 대한 소프트웨어의 오류를 감지할 수도 있다. On the other hand, it is possible not only to simulate an extreme situation while changing the friction according to the road condition, but also to detect an error of the software for the emergency braking system based on the simulation result.

상술한 실시예에 설명된 특징, 구조, 효과 등은 본 발명의 적어도 하나의 실시예에 포함되며, 반드시 하나의 실시예에만 한정되는 것은 아니다. 나아가, 각 실시예에서 예시된 특징, 구조, 효과 등은 실시예들이 속하는 분야의 통상의 지식을 가지는 자에 의하여 다른 실시예들에 대해서도 조합 또는 변형되어 실시 가능하다.The features, structures, effects and the like described in the foregoing embodiments are included in at least one embodiment of the present invention and are not necessarily limited to one embodiment. Further, the features, structures, effects, and the like illustrated in the embodiments may be combined or modified in other embodiments by those skilled in the art to which the embodiments belong.

따라서 이러한 조합과 변형에 관계된 내용들은 본 발명의 범위에 포함되는 것으로 해석되어야 할 것이다. 또한, 이상에서 실시예들을 중심으로 설명하였으나 이는 단지 예시일 뿐 본 발명을 한정하는 것이 아니며, 본 발명이 속하는 분야의 통상의 지식을 가진 자라면 본 실시예의 본질적인 특성을 벗어나지 않는 범위에서 이상에 예시되지 않은 여러 가지의 변형과 응용이 가능함을 알 수 있을 것이다. 예를 들어, 실시 예들에 구체적으로 나타난 각 구성 요소는 변형하여 실시할 수 있는 것이다. 그리고 이러한 변형과 응용에 관계된 차이점들은 첨부한 청구 범위에서 규정하는 본 발명의 범위에 포함되는 것으로 해석되어야 할 것이다.Therefore, it should be understood that the present invention is not limited to these combinations and modifications. While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is clearly understood that the same is by way of illustration and example only and is not to be construed as limiting the scope of the present invention. It can be seen that various modifications and applications are possible. For example, each component specifically shown in the embodiments can be modified and implemented. It is to be understood that the present invention may be embodied in many other specific forms without departing from the spirit or essential characteristics thereof.

101: 소프트웨어 컴포넌트 디스크립션
103: 소프트웨어 컴포넌트
105: 시뮬레이션 레이어
300: 긴급 제동 시스템
301: 센서 소프트웨어 컴포넌트
303: 클러스터 소프트웨어 컴포넌트
305: 브레이크 소스트웨어 컴포넌트
307: 실외 조명 소프트웨어 컴포넌트
401: 제1 영상
403: 제2 영상
101: Software Component Description
103: Software component
105: Simulation layer
300: emergency braking system
301: Sensor software component
303: Cluster software component
305: Break source software component
307: Outdoor lighting software component
401: First image
403: Second image

Claims (5)

소프트웨어 컴포넌트 디스크립션을 기반으로 컴퓨터 장치에 구현된 시뮬레이션 레이어에 소프트웨어 컴포넌트의 소스코드를 결합하여 시뮬레이션을 실행하는 단계;
상기 실행된 시뮬레이션을 기반으로 차량 주행 시뮬레이션을 실행하는 단계; 및
상기 실행된 차량 주행 시뮬레이션 결과를 기반으로 상기 소프트웨어 컴포넌트의 오류 여부를 판단 및 표시하는 단계를 포함하는 것을 특징으로 하는 차량용 소프트웨어 테스트 방법.
Executing a simulation by combining source code of a software component with a simulation layer implemented in a computer device based on a software component description;
Executing a vehicle driving simulation based on the executed simulation; And
And determining and displaying whether or not the software component is erroneous based on the execution result of the vehicle running simulation.
제1항에 있어서,
상기 소프트웨어 컴포넌트 디스크립션은,
상기 소프트웨어 컴포넌트에 대한 연결 및 통신을 위한 포트 및 인터페이스, 상기 소프트웨어 컴포넌트의 작동을 위한 타이밍 관리, 소프트웨어 컴포넌트 간 상호작용, 시간 경과에 의한 이벤트 발생 및 핸들링, 상기 소프트웨어 컴포넌트의 실행 시점 및 작동 루프 중 적어도 하나의 설정 정보를 포함하는 것을 특징으로 하는 차량용 소프트웨어 테스트 방법.
The method according to claim 1,
The software component description comprises:
A port and an interface for connection and communication to the software component, timing management for operation of the software component, interaction between software components, event generation and handling over time, Wherein the setting information includes one setting information.
제1항에 있어서,
상기 소프트웨어 컴포넌트는,
센서(Sensor) 소프트웨어 컴포넌트, 액츄에이터(Actuator) 소프트웨어 컴포넌트 및 디스플레이(Display) 소프트웨어 컴포넌트를 포함하는 것을 특징으로 하는 차량용 소프트웨어 테스트 방법.
The method according to claim 1,
The software component comprising:
A sensor software component, an actuator software component, and a display software component.
제1항에 있어서,
상기 차량 주행 시뮬레이션을 실행하는 단계는.
상기 실행된 시뮬레이션을 차량 주행의 시뮬레이션 형태로 변환하는 단계; 및
상기 변환된 결과를 가상으로 시각화하여 상기 시뮬레이터에 표현하는 단계를 더 포함하는 것을 특징으로 하는 차량용 소프트웨어 테스트 방법.
The method according to claim 1,
The step of executing the vehicle running simulation includes:
Converting the executed simulation into a simulated form of running the vehicle; And
And visualizing the converted result as a virtual image and expressing the visualized result in the simulator.
제4항에 있어서,
상기 차량 주행 시뮬레이션은,
적어도 하나의 이상의 테스트 시나리오 중 선택된 어느 하나를 기반으로 실행되는 것을 특징으로 하는 차량용 소프트웨어 테스트 방법.


5. The method of claim 4,
In the vehicle running simulation,
Wherein the at least one test scenario is executed based on any one of at least one or more test scenarios.


KR1020160183714A 2016-12-30 2016-12-30 Method for software testing of vehicle KR20180078697A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160183714A KR20180078697A (en) 2016-12-30 2016-12-30 Method for software testing of vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160183714A KR20180078697A (en) 2016-12-30 2016-12-30 Method for software testing of vehicle

Publications (1)

Publication Number Publication Date
KR20180078697A true KR20180078697A (en) 2018-07-10

Family

ID=62915774

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160183714A KR20180078697A (en) 2016-12-30 2016-12-30 Method for software testing of vehicle

Country Status (1)

Country Link
KR (1) KR20180078697A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021107183A1 (en) * 2019-11-27 2021-06-03 주식회사 알티스트 Autosar-based software design method and device for performing same
US20220222172A1 (en) * 2021-01-13 2022-07-14 Robert Bosch Gmbh Method for validating software functions in a driver assistance system for motor vehicles

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021107183A1 (en) * 2019-11-27 2021-06-03 주식회사 알티스트 Autosar-based software design method and device for performing same
US20220222172A1 (en) * 2021-01-13 2022-07-14 Robert Bosch Gmbh Method for validating software functions in a driver assistance system for motor vehicles
US11822469B2 (en) * 2021-01-13 2023-11-21 Robert Bosch Gmbh Method for validating software functions in a driver assistance system for motor vehicles

Similar Documents

Publication Publication Date Title
CN112613169B (en) Expected function safety analysis method for misoperation of automatic driving vehicle
JP2022511333A (en) Methods and systems for modifying control units of autonomous vehicles
Abdulkhaleq et al. Using STPA in compliance with ISO 26262 for developing a safe architecture for fully automated vehicles
US10919524B2 (en) Fault-tolerant computer system for assisted and autonomous driving
US20160012163A1 (en) Method and apparatus for driving simulation of vehicle
CN109918302B (en) Vehicle-mounted automatic testing method and device, vehicle-mounted multimedia system and automobile
Short et al. Assessment of high-integrity embedded automotive control systems using hardware in the loop simulation
KR101742536B1 (en) Running performance test server, test system having the same, testing method using the same
CN111199088B (en) Method and device for reproducing scene data
WO2022130019A1 (en) Vehicle operation safety model test system
US20210009145A1 (en) Automated factory testflow of processing unit with sensor integration for driving platform
US10866590B2 (en) Computer-assisted or autonomous driving safety-related decision making system and apparatus
WO2021002164A1 (en) Method and control system for operating ecus of vehicles in fails-safe mode
KR20180078697A (en) Method for software testing of vehicle
US20200241987A1 (en) Functional safety compliant self-testing
KR101690280B1 (en) Running performance test server, test system having the same, testing method using the same
JP5733429B2 (en) Information processing apparatus and information processing method
US20220358024A1 (en) Computer-implemented method for scenario-based testing and / or homologation of at least partially autonomous driving functions to be tested by means of key performance indicators (kpi)
JP5706463B2 (en) Hierarchical accumulation type validation system and method
Harris Embedded software for automotive applications
US11847012B2 (en) Method and apparatus to provide an improved fail-safe system for critical and non-critical workloads of a computer-assisted or autonomous driving vehicle
Santos et al. On the timing analysis at automotive real-time embedded systems
WO2023037576A1 (en) Vehicle control system and vehicle control method
US20230192087A1 (en) System and method for generating and simulating vehicle events and data
US9043084B2 (en) Method for configuring a control apparatus for a motor vehicle, computer program and control apparatus

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application